diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..0c7dcba5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,11 @@ +node_modules +.env +coverage +coverage.json +typechain + +OldContracts + +#Hardhat files +cache +artifacts diff --git a/README.md b/README.md index fe3e52f8..177ecab5 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,23 @@ # Smart Contract Challenge +## Index + +The challenge +- [Challenge Itself](#a-challenge) +- [1) Setup a project and create a contract](#1-setup-a-project-and-create-a-contract) +- [2) Write tests](#2-write-tests) +- [3) Deploy your contract](#3-deploy-your-contract) +- [4) Interact with the contract](#4-interact-with-the-contract) + +The solution +- [Solution - Repricing Approach](#solution---repricing-approach) +- [0) Ropsten Verified Contracts](#0-ropsten-verified-contracts) +- [A) Solution Summary](#a-solution-summary) +- [B) Mockup and Project Theorical Context](#b-mockup-and-project-theorical-context-click-on-image-to-enlarge) +- [C) Contract Relationships Tree](#c-contract-relationships-tree-click-on-image-to-enlarge) +- [D) Usage and Deployment Instructions](#d-usage-and-deployment-instructions) +- [E) Security Measures Taken](#e-security-measures-taken) +- [F) Tests Results and Gas Consumption](#f-tests-results-and-gas-consumption) +- [G) Scripts](#g-scripts) ## A) Challenge @@ -53,3 +72,85 @@ Bonus: Create a script (or a Hardhat task) to query the total amount of ETH held in the contract. _You can use any library you prefer: Ethers.js, Web3.js, Web3.py, eth-brownie_ + +# Solution - Repricing Approach +## 0) Ropsten Verified Contracts +- DataStorage: https://ropsten.etherscan.io/address/0x5d8c2fd496A05bb68329Fe39E8A12B424D25E1b4 +- PoolBase: https://ropsten.etherscan.io/address/0x601a16CEBd0E607822995B2E8407891AE6BE4bAb +- TokenBalances: https://ropsten.etherscan.io/address/0x169105b18148b45acb1d4e0354f48a17fe560629 +- rwEthToken: https://ropsten.etherscan.io/address/0x0Ddf2C71Ca974A6c40A0Fb83f670029AA7D678ea +- PoolVault: https://ropsten.etherscan.io/address/0xeb69E5c8F8Bb00F683ffb9589466CD4D20325D60 +- PoolClient: https://ropsten.etherscan.io/address/0xdB0210D3FdAFCAA410811D9aa7034E64dde31DdF + +## A) Solution Summary +The pool is works with a token repricing rewards system where each rewards injection modifies the supply ***equilibrium*** of both locked ether and rewards ether. +The Pool Contract Network is made of several contracts (modular) in order to preserve the integrity of the whole pool making it easier to interact, manage and safeguard. The team will have to setup the pool variables on a separate contract from the one that will be used for proper staking and token-related transactions. +The Pool Contract Network: +- **DataStorage:** Storage for every mapping and state variable that needs to be tracked or modified of the pool. It can only be accesed through other pool contracts. +- **PoolBase:** Environment to set every pool setting and functioning variable. Only for the team. +- **TokenBalances:** Getter contract for variables of interest. +- **rwETHToken:** ERC-20 compliant protocol for the rewards token as well as the calculations of exchange rates. +- **PoolVault:** Sealed Vault where all the tokens are sent and stored. Anyone but other contracts from the pool can access it. +- **PoolClient:** Interface between the stakers and the pool. From where every user can deposit and withdraw their funds. + +## B) Mockup and Project Theorical Context (click on image to enlarge) +- The interest period can be modified just by injecting rewards in a different time-range. +- The amount to inject is calculated with a contract function that takes as input the fixed interest rate for the current interest period. [Here](#tool-interest-calculator-for-a-period-of-time-takes-apy-as-input) is a simple tool to get a fast calculus of the interests. +- At the beginning, a fee was meant to be charged for each transaction with the pool. That proposal is dismissed for the pool implementation. The fee can be implicit with the current interest rate of the pool. For example, if the market is offering an average of 5% yearly yield, while giving 4.9% p.y, you are implicitly charging a 0.1% yearly. + +![StakingPool](https://user-images.githubusercontent.com/97247251/161983422-de3255bb-6664-47e7-a9f8-a61e81b0a810.png) + + +## C) Contract Relationships Tree (click on image to enlarge) +- The displayed contracts within the mockup have been "exploded" into several modules of contracts for organization and operativeness. +- The state variables and mappings are stored in a separate module **"DataStorage"**. +- The user and the team will be only allowed to handle tokens via **"PoolClient"**. +- The team will setup the pool settings on the **PoolBase** contract.
+ +![Staking Pool Contracts Tree drawio](https://user-images.githubusercontent.com/97247251/161981129-2f708754-9ec8-456c-bd96-d0e17aec2162.png) + + +## D) Usage and Deployment Instructions +### 1) Deployment order and constuctor parameters () +- `DataStorage(), TokenBalances(_dataStorageAddress), rwETHToken(_dataStorageAddress), PoolVault(_dataStorageAddress), PoolClient(_dataStorageAddress), PoolBase(_dataStorageAddress)`. + +### 2) Setting up the Pool +- The Admin (deployer) can add local managers to assist with the task of managing de pool. The managers added will work only on the contract from where the `addPoolManager` function was called. This helps to constraint the range of application of the managers permissions. The `addPoolManager` is available on the `PoolBase` contract and all of their childs. +- Once every pool contract is deployed, only the Admin (Storage guardian) should call dataStorage: `setStorageLive()`. +- The team or manager needs to call from PoolBase: `setPoolMaxSize`, `setRewardsInterval`, `setRewardsInterest`, `setContributionLimit`, `setMinContribution`. Those functions can only be called if the investing pool is closed (deposits and withdrawals are halted). +- To set the pool as operational, the team or manager just needs to call `setPoolLive` from the PoolBase Contract. +- It is advised to setup also managing roles for the management of the PoolClient Contract by calling the `addPoolManager` function from the mentioned contract. + +### 2) Operating the Pool +- While being live, the users can deposit ether and getting rwEther back by calling `deposit` from the `PoolClient` contract. The amount of rwEther that they get back depends on the current locked ether and rwEther supplies (repricing). +- Once the rewarding time has passed, the team needs to `setPoolLive` as false and call `calculateRewards` from the `PoolClient` contract. Once the rewards are calculated, they can be get by calling `getRewardsToInject` (please note that the output of this function will be a WEI value, 18 decimals). +- Afterwards, the team needs to inject the exact same amount returned from before of ether in concept of rewards into the pool by calling `rewardsInjector` (remember that the role clearances of the `PoolBase` contract are not passed through the `PoolClient`; if it is desired to call this function by a team member, their role must be assigned within this contract). +- ***NOTE:*** When the team injects rewards the equilibrium between both ether and reward ether supplies is broken, this is when the repricing system starts to work. +- After the team injected the rewards and set the pool as live, the users can leave their tokens staking or withdraw their funds by calling `withdraw(rewards to cash out)` from the `PoolClient` contract. +- **IMPORTANT:** Users need to approve the PoolClient contract with the amount of tokens to cash out before trying to withdraw their funds. This action can be performed directly from the rwETHToken contract or from the frontend of the pool (trigger approval request before calling withdraw method). + +## E) Security Measures Taken +- Pool contract calls can only be performed between contracts of the pool. To perform this action, the `onlyByPoolContract` modifier of the DataStorage contract, while deploying, checks that the transaction origin is the same as the one of the guardian (deployer of DataStorage). It is extremely important that the deployments are made directly by the Guardian (deployer a.k.a admin) instead of using third party contracts that may result on storing a malicious contract (tx.origin is checked). It is a key factor to setup the storage live once every contract is deployed thus not checking anymore the tx.origin as a condition. +- Reentrancy mutex modifier has been applied into relevant functions. +- By using an ERC20 compliant model for the rwETH token, they can be transfered between accound freely. +- In addition to the latter, no internal mapping of "amount staked by user" is performed (allowing you to get some tokens by transfer and cashing out the rewards assigned to that amount of rwEther). It is checked the user balance of the reward tokens instead. +- The ether deposited as well as the rewards injected (more ether) are stored within a "vaulted contract" a.k.a PoolVault. No user or team member can access the funds of that contract directly. They can only be accesed by the PoolClient contract. +- While withdrawing, both payable(to).call and reentrancy mutex are combined to prevent attacks. To keep the rwEth balance, the tokens are burned. +- **IMPORTANT:** The withdrawer needs to provide allowance to the PoolClient contract for the amount of tokens to be withdrawn before calling `withdraw`. While having a frontend, that approval request can be triggered before calling the withdraw method. + +## F) Tests Results and Gas Consumption +- All tests were performed using the Hardhat Localhost Node. + + +![image](https://user-images.githubusercontent.com/97247251/162186241-d4c3dc5f-fb09-4122-8edd-98d8105c2c3d.png) + + +![image](https://user-images.githubusercontent.com/97247251/162186177-76a0bc28-f122-4c34-addc-0cacec8697e1.png) + + + +## G) Scripts +The project provides scripts to set quickly the pool variables and perform several actions. Also, it is provided a balance getter script that not only retrieves the pool balance but also checks that the balance is the same as the one stored in the contract mapping. + +## Tool: Interest Calculator for a Period of Time (takes APY as input) +https://github.com/lior-abadi/challenge/blob/main/Theory%20and%20Initial%20Mockups/Interest%20Calculator.xlsm diff --git a/Theory and Initial Mockups/Interest Calculator.xlsm b/Theory and Initial Mockups/Interest Calculator.xlsm new file mode 100644 index 00000000..8dd20cc5 Binary files /dev/null and b/Theory and Initial Mockups/Interest Calculator.xlsm differ diff --git a/Theory and Initial Mockups/Pool Calcs.docx b/Theory and Initial Mockups/Pool Calcs.docx new file mode 100644 index 00000000..f994a776 Binary files /dev/null and b/Theory and Initial Mockups/Pool Calcs.docx differ diff --git a/Theory and Initial Mockups/Staking Pool Contracts Tree.png b/Theory and Initial Mockups/Staking Pool Contracts Tree.png new file mode 100644 index 00000000..6bf1f7e9 Binary files /dev/null and b/Theory and Initial Mockups/Staking Pool Contracts Tree.png differ diff --git a/Theory and Initial Mockups/StakingPool.png b/Theory and Initial Mockups/StakingPool.png new file mode 100644 index 00000000..1f892b12 Binary files /dev/null and b/Theory and Initial Mockups/StakingPool.png differ diff --git a/bin/contracts/DataStorage-solc-output.json b/bin/contracts/DataStorage-solc-output.json new file mode 100644 index 00000000..9a3e110e --- /dev/null +++ b/bin/contracts/DataStorage-solc-output.json @@ -0,0 +1,9953 @@ +{ + "contracts": { + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/DataStorage.sol": { + "DataStorage": { + "abi": [ + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_lastGuardian", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "_newGuardian", + "type": "address" + } + ], + "name": "GuardChange", + "type": "event" + }, + { + "inputs": [], + "name": "confirmGuard", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_decrement", + "type": "uint256" + } + ], + "name": "decreaseUintStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "deleteAddressStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "deleteBoolStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "deleteUintStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getAddressStorage", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getBoolStorage", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getCurrentGuardian", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getStorageStatus", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getUintStorage", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_increment", + "type": "uint256" + } + ], + "name": "increaseUintStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_value", + "type": "address" + } + ], + "name": "setAddressStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bool", + "name": "_value", + "type": "bool" + } + ], + "name": "setBoolStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_newGuardian", + "type": "address" + } + ], + "name": "setNewGuardian", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "setStorageLive", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "setUintStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": { + "@_45": { + "entryPoint": null, + "id": 45, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_setDataStorageAddress_131": { + "entryPoint": 63, + "id": 131, + "parameterSlots": 0, + "returnSlots": 0 + }, + "abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_6a95f73d860151578963d1cbcefed857a2851abc7e709e9d1445f9ae56b69936__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + } + }, + "generatedSources": [ + { + "ast": { + "nodeType": "YulBlock", + "src": "0:803:2", + "statements": [ + { + "nodeType": "YulBlock", + "src": "6:3:2", + "statements": [] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "234:150:2", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "251:3:2" + }, + { + "hexValue": "636f6e74726163745f657869737473", + "kind": "string", + "nodeType": "YulLiteral", + "src": "256:17:2", + "type": "", + "value": "contract_exists" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "244:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "244:30:2" + }, + "nodeType": "YulExpressionStatement", + "src": "244:30:2" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "294:3:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "299:2:2", + "type": "", + "value": "15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "290:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "290:12:2" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "312:2:2", + "type": "", + "value": "96" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "316:6:2" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "308:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "308:15:2" + }, + { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "337:2:2", + "type": "", + "value": "96" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "341:1:2", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "333:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "333:10:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "345:1:2", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "329:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "329:18:2" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "325:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "325:23:2" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "304:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "304:45:2" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "283:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "283:67:2" + }, + "nodeType": "YulExpressionStatement", + "src": "283:67:2" + }, + { + "nodeType": "YulAssignment", + "src": "359:19:2", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "370:3:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "375:2:2", + "type": "", + "value": "35" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "366:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "366:12:2" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "359:3:2" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "210:3:2", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "215:6:2", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "226:3:2", + "type": "" + } + ], + "src": "14:370:2" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "682:119:2", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "699:3:2" + }, + { + "hexValue": "636f6e74726163745f61646472657373", + "kind": "string", + "nodeType": "YulLiteral", + "src": "704:18:2", + "type": "", + "value": "contract_address" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "692:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "692:31:2" + }, + "nodeType": "YulExpressionStatement", + "src": "692:31:2" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "743:3:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "748:2:2", + "type": "", + "value": "16" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "739:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "739:12:2" + }, + { + "hexValue": "4461746153746f72616765", + "kind": "string", + "nodeType": "YulLiteral", + "src": "753:13:2", + "type": "", + "value": "DataStorage" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "732:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "732:35:2" + }, + "nodeType": "YulExpressionStatement", + "src": "732:35:2" + }, + { + "nodeType": "YulAssignment", + "src": "776:19:2", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "787:3:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "792:2:2", + "type": "", + "value": "27" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "783:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "783:12:2" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "776:3:2" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_6a95f73d860151578963d1cbcefed857a2851abc7e709e9d1445f9ae56b69936__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "666:3:2", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "674:3:2", + "type": "" + } + ], + "src": "389:412:2" + } + ] + }, + "contents": "{\n { }\n function abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed(pos, value0) -> end\n {\n mstore(pos, \"contract_exists\")\n mstore(add(pos, 15), and(shl(96, value0), not(sub(shl(96, 1), 1))))\n end := add(pos, 35)\n }\n function abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_6a95f73d860151578963d1cbcefed857a2851abc7e709e9d1445f9ae56b69936__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"contract_address\")\n mstore(add(pos, 16), \"DataStorage\")\n end := add(pos, 27)\n }\n}", + "id": 2, + "language": "Yul", + "name": "#utility.yul" + } + ], + "linkReferences": {}, + "object": "60806040526004805460ff1916905534801561001a57600080fd5b5060048054610100600160a81b031916336101000217905561003a61003f565b610114565b6040516e636f6e74726163745f65786973747360881b60208201526001600160601b03193060601b16602f82015260009060430160405160208183030381529060405280519060200120905060006040516020016100c7906f636f6e74726163745f6164647265737360801b81526a4461746153746f7261676560a81b6010820152601b0190565b60408051601f19818403018152918152815160209283012060009485526001808452828620805460ff191690911790558452600290915290912080546001600160a01b0319163017905550565b610e70806101236000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806366b8083211610097578063afc3602b11610066578063afc3602b1461021b578063b240da3f14610249578063e732da721461025c578063e87f7c311461026f57600080fd5b806366b80832146101da5780637221263a146101e25780638a2c6738146101f5578063988c515b1461020857600080fd5b80632a90bbb2116100d35780632a90bbb214610164578063545e1b521461018d57806355d94655146101a45780635bcfee67146101c757600080fd5b80630bc169a5146101055780631d8895e014610134578063279181821461014957806328192c5514610151575b600080fd5b60045461010090046001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b610147610142366004610c54565b610282565b005b61014761038f565b61014761015f366004610c54565b610477565b610117610172366004610c76565b6000908152600260205260409020546001600160a01b031690565b60045460ff165b604051901515815260200161012b565b6101946101b2366004610c76565b60009081526001602052604090205460ff1690565b6101476101d5366004610c54565b610566565b610147610661565b6101476101f0366004610cab565b6106da565b610147610203366004610c76565b6107e5565b610147610216366004610cd7565b6108d3565b61023b610229366004610c76565b60009081526020819052604090205490565b60405190815260200161012b565b610147610257366004610c76565b6109d0565b61014761026a366004610c76565b610ac5565b61014761027d366004610d0c565b610bc0565b60045460ff1661030e5760045461010090046001600160a01b03163214806102e4575060016000336040516020016102ba9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b6103095760405162461bcd60e51b815260040161030090610d63565b60405180910390fd5b610368565b60016000336040516020016103239190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff166103685760405162461bcd60e51b815260040161030090610dc0565b60008281526020819052604081208054839290610386908490610e0b565b90915550505050565b6005546001600160a01b031633146103fc5760405162461bcd60e51b815260206004820152602a60248201527f4f6e6c792063616c6c61626c6520627920746865206e65772073746f726167656044820152691033bab0b93234b0b71760b11b6064820152608401610300565b60048054600580546001600160a01b03808216610100908102610100600160a81b0319861617958690556001600160a01b03199092169092556040519381900482168452909104169081907fcdf51e8aec8da23ef7cd2b923d5755a017ffc21e01d7ddcb89cb771a7c2b66f79060200160405180910390a250565b60045460ff166104fa5760045461010090046001600160a01b03163214806104d9575060016000336040516020016104af9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b6104f55760405162461bcd60e51b815260040161030090610d63565b610554565b600160003360405160200161050f9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff166105545760405162461bcd60e51b815260040161030090610dc0565b60009182526020829052604090912055565b60045460ff166105e95760045461010090046001600160a01b03163214806105c85750600160003360405160200161059e9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b6105e45760405162461bcd60e51b815260040161030090610d63565b610643565b60016000336040516020016105fe9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff166106435760405162461bcd60e51b815260040161030090610dc0565b60008281526020819052604081208054839290610386908490610e23565b60045461010090046001600160a01b031633146106cb5760405162461bcd60e51b815260206004820152602260248201527f4f6e6c792063616c6c61626c652062792063757272656e742067756172646961604482015261371760f11b6064820152608401610300565b6004805460ff19166001179055565b60045460ff1661075d5760045461010090046001600160a01b031632148061073c575060016000336040516020016107129190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b6107585760405162461bcd60e51b815260040161030090610d63565b6107b7565b60016000336040516020016107729190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff166107b75760405162461bcd60e51b815260040161030090610dc0565b60009182526002602052604090912080546001600160a01b0319166001600160a01b03909216919091179055565b60045460ff166108685760045461010090046001600160a01b03163214806108475750600160003360405160200161081d9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b6108635760405162461bcd60e51b815260040161030090610d63565b6108c2565b600160003360405160200161087d9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff166108c25760405162461bcd60e51b815260040161030090610dc0565b600090815260208190526040812055565b60045460ff166109565760045461010090046001600160a01b03163214806109355750600160003360405160200161090b9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b6109515760405162461bcd60e51b815260040161030090610d63565b6109b0565b600160003360405160200161096b9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff166109b05760405162461bcd60e51b815260040161030090610dc0565b600091825260016020526040909120805460ff1916911515919091179055565b60045460ff16610a535760045461010090046001600160a01b0316321480610a3257506001600033604051602001610a089190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b610a4e5760405162461bcd60e51b815260040161030090610d63565b610aad565b6001600033604051602001610a689190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff16610aad5760405162461bcd60e51b815260040161030090610dc0565b6000908152600160205260409020805460ff19169055565b60045460ff16610b485760045461010090046001600160a01b0316321480610b2757506001600033604051602001610afd9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b610b435760405162461bcd60e51b815260040161030090610d63565b610ba2565b6001600033604051602001610b5d9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff16610ba25760405162461bcd60e51b815260040161030090610dc0565b600090815260026020526040902080546001600160a01b0319169055565b60045461010090046001600160a01b03163314610c325760405162461bcd60e51b815260206004820152602a60248201527f4f6e6c792063616c6c61626c652062792063757272656e742073746f726167656044820152691033bab0b93234b0b71760b11b6064820152608401610300565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b60008060408385031215610c6757600080fd5b50508035926020909101359150565b600060208284031215610c8857600080fd5b5035919050565b80356001600160a01b0381168114610ca657600080fd5b919050565b60008060408385031215610cbe57600080fd5b82359150610cce60208401610c8f565b90509250929050565b60008060408385031215610cea57600080fd5b8235915060208301358015158114610d0157600080fd5b809150509250929050565b600060208284031215610d1e57600080fd5b610d2782610c8f565b9392505050565b6e636f6e74726163745f65786973747360881b815260609190911b6bffffffffffffffffffffffff1916600f82015260230190565b6020808252603d908201527f54686520636f6e7472616374206164647265737320697320696e76616c69642060408201527f6f72207468652063616c6c6572206973206e6f7420616c6c6f7765642e000000606082015260800190565b6020808252818101527f54686520636f6e7472616374206164647265737320697320696e76616c69642e604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115610e1e57610e1e610df5565b500190565b600082821015610e3557610e35610df5565b50039056fea26469706673582212209e8760b387dd9253def9d468c037bd9bbd5acee8f5ce023297eb95f714844eba64736f6c63430008090033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE CALLVALUE DUP1 ISZERO PUSH2 0x1A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 DUP1 SLOAD PUSH2 0x100 PUSH1 0x1 PUSH1 0xA8 SHL SUB NOT AND CALLER PUSH2 0x100 MUL OR SWAP1 SSTORE PUSH2 0x3A PUSH2 0x3F JUMP JUMPDEST PUSH2 0x114 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH15 0x636F6E74726163745F657869737473 PUSH1 0x88 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB NOT ADDRESS PUSH1 0x60 SHL AND PUSH1 0x2F DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x43 ADD PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xC7 SWAP1 PUSH16 0x636F6E74726163745F61646472657373 PUSH1 0x80 SHL DUP2 MSTORE PUSH11 0x4461746153746F72616765 PUSH1 0xA8 SHL PUSH1 0x10 DUP3 ADD MSTORE PUSH1 0x1B ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 PUSH1 0x0 SWAP5 DUP6 MSTORE PUSH1 0x1 DUP1 DUP5 MSTORE DUP3 DUP7 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SWAP2 OR SWAP1 SSTORE DUP5 MSTORE PUSH1 0x2 SWAP1 SWAP2 MSTORE SWAP1 SWAP2 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND ADDRESS OR SWAP1 SSTORE POP JUMP JUMPDEST PUSH2 0xE70 DUP1 PUSH2 0x123 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x100 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x66B80832 GT PUSH2 0x97 JUMPI DUP1 PUSH4 0xAFC3602B GT PUSH2 0x66 JUMPI DUP1 PUSH4 0xAFC3602B EQ PUSH2 0x21B JUMPI DUP1 PUSH4 0xB240DA3F EQ PUSH2 0x249 JUMPI DUP1 PUSH4 0xE732DA72 EQ PUSH2 0x25C JUMPI DUP1 PUSH4 0xE87F7C31 EQ PUSH2 0x26F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x66B80832 EQ PUSH2 0x1DA JUMPI DUP1 PUSH4 0x7221263A EQ PUSH2 0x1E2 JUMPI DUP1 PUSH4 0x8A2C6738 EQ PUSH2 0x1F5 JUMPI DUP1 PUSH4 0x988C515B EQ PUSH2 0x208 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x2A90BBB2 GT PUSH2 0xD3 JUMPI DUP1 PUSH4 0x2A90BBB2 EQ PUSH2 0x164 JUMPI DUP1 PUSH4 0x545E1B52 EQ PUSH2 0x18D JUMPI DUP1 PUSH4 0x55D94655 EQ PUSH2 0x1A4 JUMPI DUP1 PUSH4 0x5BCFEE67 EQ PUSH2 0x1C7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xBC169A5 EQ PUSH2 0x105 JUMPI DUP1 PUSH4 0x1D8895E0 EQ PUSH2 0x134 JUMPI DUP1 PUSH4 0x27918182 EQ PUSH2 0x149 JUMPI DUP1 PUSH4 0x28192C55 EQ PUSH2 0x151 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x4 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x147 PUSH2 0x142 CALLDATASIZE PUSH1 0x4 PUSH2 0xC54 JUMP JUMPDEST PUSH2 0x282 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x147 PUSH2 0x38F JUMP JUMPDEST PUSH2 0x147 PUSH2 0x15F CALLDATASIZE PUSH1 0x4 PUSH2 0xC54 JUMP JUMPDEST PUSH2 0x477 JUMP JUMPDEST PUSH2 0x117 PUSH2 0x172 CALLDATASIZE PUSH1 0x4 PUSH2 0xC76 JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x4 SLOAD PUSH1 0xFF AND JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x12B JUMP JUMPDEST PUSH2 0x194 PUSH2 0x1B2 CALLDATASIZE PUSH1 0x4 PUSH2 0xC76 JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH2 0x147 PUSH2 0x1D5 CALLDATASIZE PUSH1 0x4 PUSH2 0xC54 JUMP JUMPDEST PUSH2 0x566 JUMP JUMPDEST PUSH2 0x147 PUSH2 0x661 JUMP JUMPDEST PUSH2 0x147 PUSH2 0x1F0 CALLDATASIZE PUSH1 0x4 PUSH2 0xCAB JUMP JUMPDEST PUSH2 0x6DA JUMP JUMPDEST PUSH2 0x147 PUSH2 0x203 CALLDATASIZE PUSH1 0x4 PUSH2 0xC76 JUMP JUMPDEST PUSH2 0x7E5 JUMP JUMPDEST PUSH2 0x147 PUSH2 0x216 CALLDATASIZE PUSH1 0x4 PUSH2 0xCD7 JUMP JUMPDEST PUSH2 0x8D3 JUMP JUMPDEST PUSH2 0x23B PUSH2 0x229 CALLDATASIZE PUSH1 0x4 PUSH2 0xC76 JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x12B JUMP JUMPDEST PUSH2 0x147 PUSH2 0x257 CALLDATASIZE PUSH1 0x4 PUSH2 0xC76 JUMP JUMPDEST PUSH2 0x9D0 JUMP JUMPDEST PUSH2 0x147 PUSH2 0x26A CALLDATASIZE PUSH1 0x4 PUSH2 0xC76 JUMP JUMPDEST PUSH2 0xAC5 JUMP JUMPDEST PUSH2 0x147 PUSH2 0x27D CALLDATASIZE PUSH1 0x4 PUSH2 0xD0C JUMP JUMPDEST PUSH2 0xBC0 JUMP JUMPDEST PUSH1 0x4 SLOAD PUSH1 0xFF AND PUSH2 0x30E JUMPI PUSH1 0x4 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ORIGIN EQ DUP1 PUSH2 0x2E4 JUMPI POP PUSH1 0x1 PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x2BA SWAP2 SWAP1 PUSH2 0xD2E JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 DUP4 MSTORE SWAP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE ADD PUSH1 0x0 KECCAK256 SLOAD PUSH1 0xFF AND JUMPDEST PUSH2 0x309 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x300 SWAP1 PUSH2 0xD63 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x368 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x323 SWAP2 SWAP1 PUSH2 0xD2E JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 DUP4 MSTORE SWAP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE ADD PUSH1 0x0 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x368 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x300 SWAP1 PUSH2 0xDC0 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP3 SWAP1 PUSH2 0x386 SWAP1 DUP5 SWAP1 PUSH2 0xE0B JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x5 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x3FC JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2A PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4F6E6C792063616C6C61626C6520627920746865206E65772073746F72616765 PUSH1 0x44 DUP3 ADD MSTORE PUSH10 0x1033BAB0B93234B0B717 PUSH1 0xB1 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x300 JUMP JUMPDEST PUSH1 0x4 DUP1 SLOAD PUSH1 0x5 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP3 AND PUSH2 0x100 SWAP1 DUP2 MUL PUSH2 0x100 PUSH1 0x1 PUSH1 0xA8 SHL SUB NOT DUP7 AND OR SWAP6 DUP7 SWAP1 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT SWAP1 SWAP3 AND SWAP1 SWAP3 SSTORE PUSH1 0x40 MLOAD SWAP4 DUP2 SWAP1 DIV DUP3 AND DUP5 MSTORE SWAP1 SWAP2 DIV AND SWAP1 DUP2 SWAP1 PUSH32 0xCDF51E8AEC8DA23EF7CD2B923D5755A017FFC21E01D7DDCB89CB771A7C2B66F7 SWAP1 PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 POP JUMP JUMPDEST PUSH1 0x4 SLOAD PUSH1 0xFF AND PUSH2 0x4FA JUMPI PUSH1 0x4 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ORIGIN EQ DUP1 PUSH2 0x4D9 JUMPI POP PUSH1 0x1 PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x4AF SWAP2 SWAP1 PUSH2 0xD2E JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 DUP4 MSTORE SWAP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE ADD PUSH1 0x0 KECCAK256 SLOAD PUSH1 0xFF AND JUMPDEST PUSH2 0x4F5 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x300 SWAP1 PUSH2 0xD63 JUMP JUMPDEST PUSH2 0x554 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x50F SWAP2 SWAP1 PUSH2 0xD2E JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 DUP4 MSTORE SWAP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE ADD PUSH1 0x0 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x554 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x300 SWAP1 PUSH2 0xDC0 JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP3 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SSTORE JUMP JUMPDEST PUSH1 0x4 SLOAD PUSH1 0xFF AND PUSH2 0x5E9 JUMPI PUSH1 0x4 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ORIGIN EQ DUP1 PUSH2 0x5C8 JUMPI POP PUSH1 0x1 PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x59E SWAP2 SWAP1 PUSH2 0xD2E JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 DUP4 MSTORE SWAP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE ADD PUSH1 0x0 KECCAK256 SLOAD PUSH1 0xFF AND JUMPDEST PUSH2 0x5E4 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x300 SWAP1 PUSH2 0xD63 JUMP JUMPDEST PUSH2 0x643 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x5FE SWAP2 SWAP1 PUSH2 0xD2E JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 DUP4 MSTORE SWAP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE ADD PUSH1 0x0 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x643 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x300 SWAP1 PUSH2 0xDC0 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP3 SWAP1 PUSH2 0x386 SWAP1 DUP5 SWAP1 PUSH2 0xE23 JUMP JUMPDEST PUSH1 0x4 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x6CB JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x22 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4F6E6C792063616C6C61626C652062792063757272656E742067756172646961 PUSH1 0x44 DUP3 ADD MSTORE PUSH2 0x3717 PUSH1 0xF1 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x300 JUMP JUMPDEST PUSH1 0x4 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x4 SLOAD PUSH1 0xFF AND PUSH2 0x75D JUMPI PUSH1 0x4 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ORIGIN EQ DUP1 PUSH2 0x73C JUMPI POP PUSH1 0x1 PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x712 SWAP2 SWAP1 PUSH2 0xD2E JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 DUP4 MSTORE SWAP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE ADD PUSH1 0x0 KECCAK256 SLOAD PUSH1 0xFF AND JUMPDEST PUSH2 0x758 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x300 SWAP1 PUSH2 0xD63 JUMP JUMPDEST PUSH2 0x7B7 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x772 SWAP2 SWAP1 PUSH2 0xD2E JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 DUP4 MSTORE SWAP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE ADD PUSH1 0x0 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x7B7 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x300 SWAP1 PUSH2 0xDC0 JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x4 SLOAD PUSH1 0xFF AND PUSH2 0x868 JUMPI PUSH1 0x4 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ORIGIN EQ DUP1 PUSH2 0x847 JUMPI POP PUSH1 0x1 PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x81D SWAP2 SWAP1 PUSH2 0xD2E JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 DUP4 MSTORE SWAP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE ADD PUSH1 0x0 KECCAK256 SLOAD PUSH1 0xFF AND JUMPDEST PUSH2 0x863 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x300 SWAP1 PUSH2 0xD63 JUMP JUMPDEST PUSH2 0x8C2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x87D SWAP2 SWAP1 PUSH2 0xD2E JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 DUP4 MSTORE SWAP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE ADD PUSH1 0x0 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x8C2 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x300 SWAP1 PUSH2 0xDC0 JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 DUP2 KECCAK256 SSTORE JUMP JUMPDEST PUSH1 0x4 SLOAD PUSH1 0xFF AND PUSH2 0x956 JUMPI PUSH1 0x4 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ORIGIN EQ DUP1 PUSH2 0x935 JUMPI POP PUSH1 0x1 PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x90B SWAP2 SWAP1 PUSH2 0xD2E JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 DUP4 MSTORE SWAP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE ADD PUSH1 0x0 KECCAK256 SLOAD PUSH1 0xFF AND JUMPDEST PUSH2 0x951 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x300 SWAP1 PUSH2 0xD63 JUMP JUMPDEST PUSH2 0x9B0 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x96B SWAP2 SWAP1 PUSH2 0xD2E JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 DUP4 MSTORE SWAP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE ADD PUSH1 0x0 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x9B0 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x300 SWAP1 PUSH2 0xDC0 JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP2 ISZERO ISZERO SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x4 SLOAD PUSH1 0xFF AND PUSH2 0xA53 JUMPI PUSH1 0x4 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ORIGIN EQ DUP1 PUSH2 0xA32 JUMPI POP PUSH1 0x1 PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xA08 SWAP2 SWAP1 PUSH2 0xD2E JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 DUP4 MSTORE SWAP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE ADD PUSH1 0x0 KECCAK256 SLOAD PUSH1 0xFF AND JUMPDEST PUSH2 0xA4E JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x300 SWAP1 PUSH2 0xD63 JUMP JUMPDEST PUSH2 0xAAD JUMP JUMPDEST PUSH1 0x1 PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xA68 SWAP2 SWAP1 PUSH2 0xD2E JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 DUP4 MSTORE SWAP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE ADD PUSH1 0x0 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0xAAD JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x300 SWAP1 PUSH2 0xDC0 JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x4 SLOAD PUSH1 0xFF AND PUSH2 0xB48 JUMPI PUSH1 0x4 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ORIGIN EQ DUP1 PUSH2 0xB27 JUMPI POP PUSH1 0x1 PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xAFD SWAP2 SWAP1 PUSH2 0xD2E JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 DUP4 MSTORE SWAP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE ADD PUSH1 0x0 KECCAK256 SLOAD PUSH1 0xFF AND JUMPDEST PUSH2 0xB43 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x300 SWAP1 PUSH2 0xD63 JUMP JUMPDEST PUSH2 0xBA2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xB5D SWAP2 SWAP1 PUSH2 0xD2E JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 DUP4 MSTORE SWAP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE ADD PUSH1 0x0 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0xBA2 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x300 SWAP1 PUSH2 0xDC0 JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x4 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0xC32 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2A PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4F6E6C792063616C6C61626C652062792063757272656E742073746F72616765 PUSH1 0x44 DUP3 ADD MSTORE PUSH10 0x1033BAB0B93234B0B717 PUSH1 0xB1 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x300 JUMP JUMPDEST PUSH1 0x5 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xC67 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP DUP1 CALLDATALOAD SWAP3 PUSH1 0x20 SWAP1 SWAP2 ADD CALLDATALOAD SWAP2 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xC88 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0xCA6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xCBE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD SWAP2 POP PUSH2 0xCCE PUSH1 0x20 DUP5 ADD PUSH2 0xC8F JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xCEA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0xD01 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xD1E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xD27 DUP3 PUSH2 0xC8F JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH15 0x636F6E74726163745F657869737473 PUSH1 0x88 SHL DUP2 MSTORE PUSH1 0x60 SWAP2 SWAP1 SWAP2 SHL PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF NOT AND PUSH1 0xF DUP3 ADD MSTORE PUSH1 0x23 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x3D SWAP1 DUP3 ADD MSTORE PUSH32 0x54686520636F6E7472616374206164647265737320697320696E76616C696420 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6F72207468652063616C6C6572206973206E6F7420616C6C6F7765642E000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 DUP2 ADD MSTORE PUSH32 0x54686520636F6E7472616374206164647265737320697320696E76616C69642E PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0xE1E JUMPI PUSH2 0xE1E PUSH2 0xDF5 JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH2 0xE35 JUMPI PUSH2 0xE35 PUSH2 0xDF5 JUMP JUMPDEST POP SUB SWAP1 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 SWAP15 DUP8 PUSH1 0xB3 DUP8 0xDD SWAP3 MSTORE8 0xDE 0xF9 0xD4 PUSH9 0xC037BD9BBD5ACEE8F5 0xCE MUL ORIGIN SWAP8 0xEB SWAP6 0xF7 EQ DUP5 0x4E 0xBA PUSH5 0x736F6C6343 STOP ADDMOD MULMOD STOP CALLER ", + "sourceMap": "253:4446:0:-:0;;;558:24;;;-1:-1:-1;;558:24:0;;;770:96;;;;;;;;;-1:-1:-1;795:15:0;:28;;-1:-1:-1;;;;;;795:28:0;813:10;795:28;;;;;834:24;:22;:24::i;:::-;253:4446;;1761:359;1850:50;;-1:-1:-1;;;1850:50:0;;;244:30:2;-1:-1:-1;;;;;;1894:4:0;337:2:2;308:15;304:45;290:12;;;283:67;1814:23:0;;366:12:2;;1850:50:0;;;;;;;;;;;;1840:61;;;;;;1814:87;;1912:26;1951:51;;;;;;-1:-1:-1;;;692:31:2;;-1:-1:-1;;;748:2:2;739:12;;732:35;792:2;783:12;;389:412;1951:51:0;;;;-1:-1:-1;;1951:51:0;;;;;;;;;1941:62;;1951:51;1941:62;;;;2016:28;;;;2047:4;2016:28;;;;;;:35;;-1:-1:-1;;2016:35:0;;;;;;2062:34;;:14;:34;;;;;;:50;;-1:-1:-1;;;;;;2062:50:0;2107:4;2062:50;;;-1:-1:-1;1761:359:0:o;389:412:2:-;253:4446:0;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": { + "@confirmGuard_193": { + "entryPoint": 911, + "id": 193, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@decreaseUintStorage_294": { + "entryPoint": 1382, + "id": 294, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@deleteAddressStorage_365": { + "entryPoint": 2757, + "id": 365, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@deleteBoolStorage_352": { + "entryPoint": 2512, + "id": 352, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@deleteUintStorage_339": { + "entryPoint": 2021, + "id": 339, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@getAddressStorage_246": { + "entryPoint": null, + "id": 246, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@getBoolStorage_234": { + "entryPoint": null, + "id": 234, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@getCurrentGuardian_147": { + "entryPoint": null, + "id": 147, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getStorageStatus_139": { + "entryPoint": null, + "id": 139, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getUintStorage_222": { + "entryPoint": null, + "id": 222, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@increaseUintStorage_278": { + "entryPoint": 642, + "id": 278, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@setAddressStorage_326": { + "entryPoint": 1754, + "id": 326, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@setBoolStorage_310": { + "entryPoint": 2259, + "id": 310, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@setNewGuardian_165": { + "entryPoint": 3008, + "id": 165, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setStorageLive_210": { + "entryPoint": 1633, + "id": 210, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@setUintStorage_262": { + "entryPoint": 1143, + "id": 262, + "parameterSlots": 2, + "returnSlots": 0 + }, + "abi_decode_address": { + "entryPoint": 3215, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_decode_tuple_t_address": { + "entryPoint": 3340, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bytes32": { + "entryPoint": 3190, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bytes32t_address": { + "entryPoint": 3243, + "id": null, + "parameterSlots": 2, + "returnSlots": 2 + }, + "abi_decode_tuple_t_bytes32t_bool": { + "entryPoint": 3287, + "id": null, + "parameterSlots": 2, + "returnSlots": 2 + }, + "abi_decode_tuple_t_bytes32t_uint256": { + "entryPoint": 3156, + "id": null, + "parameterSlots": 2, + "returnSlots": 2 + }, + "abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 3374, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_address__to_t_address__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_132f2ac7f00684fc713b6089004d24ae5751920730e7d3972d55c75a1202629d__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 3427, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_52947e86c93a579273e5f21ebf440dc6320ec8caf45ae7affc09187f501ed96f__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 3520, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_ab6c1db99cfd8133b9dc0f0da44409600145c9b8c4f323bd12dd9bdb896d82ad__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_c295098e4653db03d2d22453c3eb7ae49307d50964fb5a9a1311d3fef2f9e749__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_c65e71e74392281dbebf504580fded1fa14ad5b4df41716468d2547c592bf689__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_add_t_uint256": { + "entryPoint": 3595, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_sub_t_uint256": { + "entryPoint": 3619, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "panic_error_0x11": { + "entryPoint": 3573, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + } + }, + "generatedSources": [ + { + "ast": { + "nodeType": "YulBlock", + "src": "0:4799:2", + "statements": [ + { + "nodeType": "YulBlock", + "src": "6:3:2", + "statements": [] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "115:102:2", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "125:26:2", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "137:9:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "148:2:2", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "133:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "133:18:2" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "125:4:2" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "167:9:2" + }, + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "182:6:2" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "198:3:2", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "203:1:2", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "194:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "194:11:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "207:1:2", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "190:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "190:19:2" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "178:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "178:32:2" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "160:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "160:51:2" + }, + "nodeType": "YulExpressionStatement", + "src": "160:51:2" + } + ] + }, + "name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "84:9:2", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "95:6:2", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "106:4:2", + "type": "" + } + ], + "src": "14:203:2" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "309:161:2", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "355:16:2", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "364:1:2", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "367:1:2", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "357:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "357:12:2" + }, + "nodeType": "YulExpressionStatement", + "src": "357:12:2" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "330:7:2" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "339:9:2" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "326:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "326:23:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "351:2:2", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "322:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "322:32:2" + }, + "nodeType": "YulIf", + "src": "319:52:2" + }, + { + "nodeType": "YulAssignment", + "src": "380:33:2", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "403:9:2" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "390:12:2" + }, + "nodeType": "YulFunctionCall", + "src": "390:23:2" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "380:6:2" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "422:42:2", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "449:9:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "460:2:2", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "445:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "445:18:2" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "432:12:2" + }, + "nodeType": "YulFunctionCall", + "src": "432:32:2" + }, + "variableNames": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "422:6:2" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bytes32t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "267:9:2", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "278:7:2", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "290:6:2", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "298:6:2", + "type": "" + } + ], + "src": "222:248:2" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "545:110:2", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "591:16:2", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "600:1:2", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "603:1:2", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "593:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "593:12:2" + }, + "nodeType": "YulExpressionStatement", + "src": "593:12:2" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "566:7:2" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "575:9:2" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "562:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "562:23:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "587:2:2", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "558:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "558:32:2" + }, + "nodeType": "YulIf", + "src": "555:52:2" + }, + { + "nodeType": "YulAssignment", + "src": "616:33:2", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "639:9:2" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "626:12:2" + }, + "nodeType": "YulFunctionCall", + "src": "626:23:2" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "616:6:2" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bytes32", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "511:9:2", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "522:7:2", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "534:6:2", + "type": "" + } + ], + "src": "475:180:2" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "755:92:2", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "765:26:2", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "777:9:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "788:2:2", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "773:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "773:18:2" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "765:4:2" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "807:9:2" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "832:6:2" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "825:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "825:14:2" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "818:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "818:22:2" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "800:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "800:41:2" + }, + "nodeType": "YulExpressionStatement", + "src": "800:41:2" + } + ] + }, + "name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "724:9:2", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "735:6:2", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "746:4:2", + "type": "" + } + ], + "src": "660:187:2" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "901:124:2", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "911:29:2", + "value": { + "arguments": [ + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "933:6:2" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "920:12:2" + }, + "nodeType": "YulFunctionCall", + "src": "920:20:2" + }, + "variableNames": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "911:5:2" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1003:16:2", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1012:1:2", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1015:1:2", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1005:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "1005:12:2" + }, + "nodeType": "YulExpressionStatement", + "src": "1005:12:2" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "962:5:2" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "973:5:2" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "988:3:2", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "993:1:2", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "984:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "984:11:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "997:1:2", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "980:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "980:19:2" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "969:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "969:31:2" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "959:2:2" + }, + "nodeType": "YulFunctionCall", + "src": "959:42:2" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "952:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "952:50:2" + }, + "nodeType": "YulIf", + "src": "949:70:2" + } + ] + }, + "name": "abi_decode_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "880:6:2", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "891:5:2", + "type": "" + } + ], + "src": "852:173:2" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1117:167:2", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1163:16:2", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1172:1:2", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1175:1:2", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1165:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "1165:12:2" + }, + "nodeType": "YulExpressionStatement", + "src": "1165:12:2" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "1138:7:2" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1147:9:2" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1134:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "1134:23:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1159:2:2", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "1130:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "1130:32:2" + }, + "nodeType": "YulIf", + "src": "1127:52:2" + }, + { + "nodeType": "YulAssignment", + "src": "1188:33:2", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1211:9:2" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1198:12:2" + }, + "nodeType": "YulFunctionCall", + "src": "1198:23:2" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1188:6:2" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "1230:48:2", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1263:9:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1274:2:2", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1259:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "1259:18:2" + } + ], + "functionName": { + "name": "abi_decode_address", + "nodeType": "YulIdentifier", + "src": "1240:18:2" + }, + "nodeType": "YulFunctionCall", + "src": "1240:38:2" + }, + "variableNames": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "1230:6:2" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bytes32t_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1075:9:2", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "1086:7:2", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1098:6:2", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "1106:6:2", + "type": "" + } + ], + "src": "1030:254:2" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1373:257:2", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1419:16:2", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1428:1:2", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1431:1:2", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1421:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "1421:12:2" + }, + "nodeType": "YulExpressionStatement", + "src": "1421:12:2" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "1394:7:2" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1403:9:2" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1390:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "1390:23:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1415:2:2", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "1386:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "1386:32:2" + }, + "nodeType": "YulIf", + "src": "1383:52:2" + }, + { + "nodeType": "YulAssignment", + "src": "1444:33:2", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1467:9:2" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1454:12:2" + }, + "nodeType": "YulFunctionCall", + "src": "1454:23:2" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1444:6:2" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "1486:45:2", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1516:9:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1527:2:2", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1512:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "1512:18:2" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1499:12:2" + }, + "nodeType": "YulFunctionCall", + "src": "1499:32:2" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "1490:5:2", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1584:16:2", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1593:1:2", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1596:1:2", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1586:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "1586:12:2" + }, + "nodeType": "YulExpressionStatement", + "src": "1586:12:2" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1553:5:2" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1574:5:2" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "1567:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "1567:13:2" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "1560:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "1560:21:2" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "1550:2:2" + }, + "nodeType": "YulFunctionCall", + "src": "1550:32:2" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "1543:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "1543:40:2" + }, + "nodeType": "YulIf", + "src": "1540:60:2" + }, + { + "nodeType": "YulAssignment", + "src": "1609:15:2", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1619:5:2" + }, + "variableNames": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "1609:6:2" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bytes32t_bool", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1331:9:2", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "1342:7:2", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1354:6:2", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "1362:6:2", + "type": "" + } + ], + "src": "1289:341:2" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1736:76:2", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "1746:26:2", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1758:9:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1769:2:2", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1754:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "1754:18:2" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "1746:4:2" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1788:9:2" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1799:6:2" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1781:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "1781:25:2" + }, + "nodeType": "YulExpressionStatement", + "src": "1781:25:2" + } + ] + }, + "name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1705:9:2", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1716:6:2", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "1727:4:2", + "type": "" + } + ], + "src": "1635:177:2" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1887:116:2", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1933:16:2", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1942:1:2", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1945:1:2", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1935:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "1935:12:2" + }, + "nodeType": "YulExpressionStatement", + "src": "1935:12:2" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "1908:7:2" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1917:9:2" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1904:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "1904:23:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1929:2:2", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "1900:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "1900:32:2" + }, + "nodeType": "YulIf", + "src": "1897:52:2" + }, + { + "nodeType": "YulAssignment", + "src": "1958:39:2", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1987:9:2" + } + ], + "functionName": { + "name": "abi_decode_address", + "nodeType": "YulIdentifier", + "src": "1968:18:2" + }, + "nodeType": "YulFunctionCall", + "src": "1968:29:2" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1958:6:2" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1853:9:2", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "1864:7:2", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1876:6:2", + "type": "" + } + ], + "src": "1817:186:2" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2228:158:2", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "2245:3:2" + }, + { + "hexValue": "636f6e74726163745f657869737473", + "kind": "string", + "nodeType": "YulLiteral", + "src": "2250:17:2", + "type": "", + "value": "contract_exists" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2238:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "2238:30:2" + }, + "nodeType": "YulExpressionStatement", + "src": "2238:30:2" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "2288:3:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2293:2:2", + "type": "", + "value": "15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2284:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "2284:12:2" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2306:2:2", + "type": "", + "value": "96" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "2310:6:2" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "2302:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "2302:15:2" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2323:26:2", + "type": "", + "value": "0xffffffffffffffffffffffff" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "2319:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "2319:31:2" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "2298:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "2298:53:2" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2277:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "2277:75:2" + }, + "nodeType": "YulExpressionStatement", + "src": "2277:75:2" + }, + { + "nodeType": "YulAssignment", + "src": "2361:19:2", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "2372:3:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2377:2:2", + "type": "", + "value": "35" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2368:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "2368:12:2" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "2361:3:2" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "2204:3:2", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "2209:6:2", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "2220:3:2", + "type": "" + } + ], + "src": "2008:378:2" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2565:251:2", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2582:9:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2593:2:2", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2575:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "2575:21:2" + }, + "nodeType": "YulExpressionStatement", + "src": "2575:21:2" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2616:9:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2627:2:2", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2612:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "2612:18:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2632:2:2", + "type": "", + "value": "61" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2605:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "2605:30:2" + }, + "nodeType": "YulExpressionStatement", + "src": "2605:30:2" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2655:9:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2666:2:2", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2651:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "2651:18:2" + }, + { + "hexValue": "54686520636f6e7472616374206164647265737320697320696e76616c696420", + "kind": "string", + "nodeType": "YulLiteral", + "src": "2671:34:2", + "type": "", + "value": "The contract address is invalid " + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2644:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "2644:62:2" + }, + "nodeType": "YulExpressionStatement", + "src": "2644:62:2" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2726:9:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2737:2:2", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2722:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "2722:18:2" + }, + { + "hexValue": "6f72207468652063616c6c6572206973206e6f7420616c6c6f7765642e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "2742:31:2", + "type": "", + "value": "or the caller is not allowed." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2715:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "2715:59:2" + }, + "nodeType": "YulExpressionStatement", + "src": "2715:59:2" + }, + { + "nodeType": "YulAssignment", + "src": "2783:27:2", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2795:9:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2806:3:2", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2791:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "2791:19:2" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "2783:4:2" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_132f2ac7f00684fc713b6089004d24ae5751920730e7d3972d55c75a1202629d__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "2542:9:2", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "2556:4:2", + "type": "" + } + ], + "src": "2391:425:2" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2995:182:2", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3012:9:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3023:2:2", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3005:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "3005:21:2" + }, + "nodeType": "YulExpressionStatement", + "src": "3005:21:2" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3046:9:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3057:2:2", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3042:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "3042:18:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3062:2:2", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3035:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "3035:30:2" + }, + "nodeType": "YulExpressionStatement", + "src": "3035:30:2" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3085:9:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3096:2:2", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3081:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "3081:18:2" + }, + { + "hexValue": "54686520636f6e7472616374206164647265737320697320696e76616c69642e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "3101:34:2", + "type": "", + "value": "The contract address is invalid." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3074:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "3074:62:2" + }, + "nodeType": "YulExpressionStatement", + "src": "3074:62:2" + }, + { + "nodeType": "YulAssignment", + "src": "3145:26:2", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3157:9:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3168:2:2", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3153:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "3153:18:2" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "3145:4:2" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_52947e86c93a579273e5f21ebf440dc6320ec8caf45ae7affc09187f501ed96f__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "2972:9:2", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "2986:4:2", + "type": "" + } + ], + "src": "2821:356:2" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3214:95:2", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3231:1:2", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3238:3:2", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3243:10:2", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "3234:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "3234:20:2" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3224:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "3224:31:2" + }, + "nodeType": "YulExpressionStatement", + "src": "3224:31:2" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3271:1:2", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3274:4:2", + "type": "", + "value": "0x11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3264:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "3264:15:2" + }, + "nodeType": "YulExpressionStatement", + "src": "3264:15:2" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3295:1:2", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3298:4:2", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "3288:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "3288:15:2" + }, + "nodeType": "YulExpressionStatement", + "src": "3288:15:2" + } + ] + }, + "name": "panic_error_0x11", + "nodeType": "YulFunctionDefinition", + "src": "3182:127:2" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3362:80:2", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "3389:22:2", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "3391:16:2" + }, + "nodeType": "YulFunctionCall", + "src": "3391:18:2" + }, + "nodeType": "YulExpressionStatement", + "src": "3391:18:2" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "3378:1:2" + }, + { + "arguments": [ + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "3385:1:2" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "3381:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "3381:6:2" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "3375:2:2" + }, + "nodeType": "YulFunctionCall", + "src": "3375:13:2" + }, + "nodeType": "YulIf", + "src": "3372:39:2" + }, + { + "nodeType": "YulAssignment", + "src": "3420:16:2", + "value": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "3431:1:2" + }, + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "3434:1:2" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3427:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "3427:9:2" + }, + "variableNames": [ + { + "name": "sum", + "nodeType": "YulIdentifier", + "src": "3420:3:2" + } + ] + } + ] + }, + "name": "checked_add_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "x", + "nodeType": "YulTypedName", + "src": "3345:1:2", + "type": "" + }, + { + "name": "y", + "nodeType": "YulTypedName", + "src": "3348:1:2", + "type": "" + } + ], + "returnVariables": [ + { + "name": "sum", + "nodeType": "YulTypedName", + "src": "3354:3:2", + "type": "" + } + ], + "src": "3314:128:2" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3621:232:2", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3638:9:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3649:2:2", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3631:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "3631:21:2" + }, + "nodeType": "YulExpressionStatement", + "src": "3631:21:2" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3672:9:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3683:2:2", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3668:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "3668:18:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3688:2:2", + "type": "", + "value": "42" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3661:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "3661:30:2" + }, + "nodeType": "YulExpressionStatement", + "src": "3661:30:2" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3711:9:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3722:2:2", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3707:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "3707:18:2" + }, + { + "hexValue": "4f6e6c792063616c6c61626c6520627920746865206e65772073746f72616765", + "kind": "string", + "nodeType": "YulLiteral", + "src": "3727:34:2", + "type": "", + "value": "Only callable by the new storage" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3700:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "3700:62:2" + }, + "nodeType": "YulExpressionStatement", + "src": "3700:62:2" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3782:9:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3793:2:2", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3778:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "3778:18:2" + }, + { + "hexValue": "20677561726469616e2e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "3798:12:2", + "type": "", + "value": " guardian." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3771:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "3771:40:2" + }, + "nodeType": "YulExpressionStatement", + "src": "3771:40:2" + }, + { + "nodeType": "YulAssignment", + "src": "3820:27:2", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3832:9:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3843:3:2", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3828:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "3828:19:2" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "3820:4:2" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_ab6c1db99cfd8133b9dc0f0da44409600145c9b8c4f323bd12dd9bdb896d82ad__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "3598:9:2", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "3612:4:2", + "type": "" + } + ], + "src": "3447:406:2" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3907:76:2", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "3929:22:2", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "3931:16:2" + }, + "nodeType": "YulFunctionCall", + "src": "3931:18:2" + }, + "nodeType": "YulExpressionStatement", + "src": "3931:18:2" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "3923:1:2" + }, + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "3926:1:2" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "3920:2:2" + }, + "nodeType": "YulFunctionCall", + "src": "3920:8:2" + }, + "nodeType": "YulIf", + "src": "3917:34:2" + }, + { + "nodeType": "YulAssignment", + "src": "3960:17:2", + "value": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "3972:1:2" + }, + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "3975:1:2" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "3968:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "3968:9:2" + }, + "variableNames": [ + { + "name": "diff", + "nodeType": "YulIdentifier", + "src": "3960:4:2" + } + ] + } + ] + }, + "name": "checked_sub_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "x", + "nodeType": "YulTypedName", + "src": "3889:1:2", + "type": "" + }, + { + "name": "y", + "nodeType": "YulTypedName", + "src": "3892:1:2", + "type": "" + } + ], + "returnVariables": [ + { + "name": "diff", + "nodeType": "YulTypedName", + "src": "3898:4:2", + "type": "" + } + ], + "src": "3858:125:2" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4162:224:2", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4179:9:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4190:2:2", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4172:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "4172:21:2" + }, + "nodeType": "YulExpressionStatement", + "src": "4172:21:2" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4213:9:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4224:2:2", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4209:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "4209:18:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4229:2:2", + "type": "", + "value": "34" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4202:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "4202:30:2" + }, + "nodeType": "YulExpressionStatement", + "src": "4202:30:2" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4252:9:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4263:2:2", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4248:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "4248:18:2" + }, + { + "hexValue": "4f6e6c792063616c6c61626c652062792063757272656e742067756172646961", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4268:34:2", + "type": "", + "value": "Only callable by current guardia" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4241:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "4241:62:2" + }, + "nodeType": "YulExpressionStatement", + "src": "4241:62:2" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4323:9:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4334:2:2", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4319:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "4319:18:2" + }, + { + "hexValue": "6e2e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4339:4:2", + "type": "", + "value": "n." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4312:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "4312:32:2" + }, + "nodeType": "YulExpressionStatement", + "src": "4312:32:2" + }, + { + "nodeType": "YulAssignment", + "src": "4353:27:2", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4365:9:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4376:3:2", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4361:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "4361:19:2" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "4353:4:2" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_c295098e4653db03d2d22453c3eb7ae49307d50964fb5a9a1311d3fef2f9e749__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "4139:9:2", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "4153:4:2", + "type": "" + } + ], + "src": "3988:398:2" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4565:232:2", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4582:9:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4593:2:2", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4575:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "4575:21:2" + }, + "nodeType": "YulExpressionStatement", + "src": "4575:21:2" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4616:9:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4627:2:2", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4612:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "4612:18:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4632:2:2", + "type": "", + "value": "42" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4605:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "4605:30:2" + }, + "nodeType": "YulExpressionStatement", + "src": "4605:30:2" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4655:9:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4666:2:2", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4651:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "4651:18:2" + }, + { + "hexValue": "4f6e6c792063616c6c61626c652062792063757272656e742073746f72616765", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4671:34:2", + "type": "", + "value": "Only callable by current storage" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4644:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "4644:62:2" + }, + "nodeType": "YulExpressionStatement", + "src": "4644:62:2" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4726:9:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4737:2:2", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4722:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "4722:18:2" + }, + { + "hexValue": "20677561726469616e2e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4742:12:2", + "type": "", + "value": " guardian." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4715:6:2" + }, + "nodeType": "YulFunctionCall", + "src": "4715:40:2" + }, + "nodeType": "YulExpressionStatement", + "src": "4715:40:2" + }, + { + "nodeType": "YulAssignment", + "src": "4764:27:2", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4776:9:2" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4787:3:2", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4772:3:2" + }, + "nodeType": "YulFunctionCall", + "src": "4772:19:2" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "4764:4:2" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_c65e71e74392281dbebf504580fded1fa14ad5b4df41716468d2547c592bf689__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "4542:9:2", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "4556:4:2", + "type": "" + } + ], + "src": "4391:406:2" + } + ] + }, + "contents": "{\n { }\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, sub(shl(160, 1), 1)))\n }\n function abi_decode_tuple_t_bytes32t_uint256(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n value0 := calldataload(headStart)\n value1 := calldataload(add(headStart, 32))\n }\n function abi_decode_tuple_t_bytes32(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := calldataload(headStart)\n }\n function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, iszero(iszero(value0)))\n }\n function abi_decode_address(offset) -> value\n {\n value := calldataload(offset)\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n }\n function abi_decode_tuple_t_bytes32t_address(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n value0 := calldataload(headStart)\n value1 := abi_decode_address(add(headStart, 32))\n }\n function abi_decode_tuple_t_bytes32t_bool(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n value0 := calldataload(headStart)\n let value := calldataload(add(headStart, 32))\n if iszero(eq(value, iszero(iszero(value)))) { revert(0, 0) }\n value1 := value\n }\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := abi_decode_address(headStart)\n }\n function abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed(pos, value0) -> end\n {\n mstore(pos, \"contract_exists\")\n mstore(add(pos, 15), and(shl(96, value0), not(0xffffffffffffffffffffffff)))\n end := add(pos, 35)\n }\n function abi_encode_tuple_t_stringliteral_132f2ac7f00684fc713b6089004d24ae5751920730e7d3972d55c75a1202629d__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 61)\n mstore(add(headStart, 64), \"The contract address is invalid \")\n mstore(add(headStart, 96), \"or the caller is not allowed.\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_52947e86c93a579273e5f21ebf440dc6320ec8caf45ae7affc09187f501ed96f__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 32)\n mstore(add(headStart, 64), \"The contract address is invalid.\")\n tail := add(headStart, 96)\n }\n function panic_error_0x11()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n function checked_add_t_uint256(x, y) -> sum\n {\n if gt(x, not(y)) { panic_error_0x11() }\n sum := add(x, y)\n }\n function abi_encode_tuple_t_stringliteral_ab6c1db99cfd8133b9dc0f0da44409600145c9b8c4f323bd12dd9bdb896d82ad__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 42)\n mstore(add(headStart, 64), \"Only callable by the new storage\")\n mstore(add(headStart, 96), \" guardian.\")\n tail := add(headStart, 128)\n }\n function checked_sub_t_uint256(x, y) -> diff\n {\n if lt(x, y) { panic_error_0x11() }\n diff := sub(x, y)\n }\n function abi_encode_tuple_t_stringliteral_c295098e4653db03d2d22453c3eb7ae49307d50964fb5a9a1311d3fef2f9e749__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 34)\n mstore(add(headStart, 64), \"Only callable by current guardia\")\n mstore(add(headStart, 96), \"n.\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_c65e71e74392281dbebf504580fded1fa14ad5b4df41716468d2547c592bf689__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 42)\n mstore(add(headStart, 64), \"Only callable by current storage\")\n mstore(add(headStart, 96), \" guardian.\")\n tail := add(headStart, 128)\n }\n}", + "id": 2, + "language": "Yul", + "name": "#utility.yul" + } + ], + "immutableReferences": {}, + "linkReferences": {}, + "object": "608060405234801561001057600080fd5b50600436106101005760003560e01c806366b8083211610097578063afc3602b11610066578063afc3602b1461021b578063b240da3f14610249578063e732da721461025c578063e87f7c311461026f57600080fd5b806366b80832146101da5780637221263a146101e25780638a2c6738146101f5578063988c515b1461020857600080fd5b80632a90bbb2116100d35780632a90bbb214610164578063545e1b521461018d57806355d94655146101a45780635bcfee67146101c757600080fd5b80630bc169a5146101055780631d8895e014610134578063279181821461014957806328192c5514610151575b600080fd5b60045461010090046001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b610147610142366004610c54565b610282565b005b61014761038f565b61014761015f366004610c54565b610477565b610117610172366004610c76565b6000908152600260205260409020546001600160a01b031690565b60045460ff165b604051901515815260200161012b565b6101946101b2366004610c76565b60009081526001602052604090205460ff1690565b6101476101d5366004610c54565b610566565b610147610661565b6101476101f0366004610cab565b6106da565b610147610203366004610c76565b6107e5565b610147610216366004610cd7565b6108d3565b61023b610229366004610c76565b60009081526020819052604090205490565b60405190815260200161012b565b610147610257366004610c76565b6109d0565b61014761026a366004610c76565b610ac5565b61014761027d366004610d0c565b610bc0565b60045460ff1661030e5760045461010090046001600160a01b03163214806102e4575060016000336040516020016102ba9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b6103095760405162461bcd60e51b815260040161030090610d63565b60405180910390fd5b610368565b60016000336040516020016103239190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff166103685760405162461bcd60e51b815260040161030090610dc0565b60008281526020819052604081208054839290610386908490610e0b565b90915550505050565b6005546001600160a01b031633146103fc5760405162461bcd60e51b815260206004820152602a60248201527f4f6e6c792063616c6c61626c6520627920746865206e65772073746f726167656044820152691033bab0b93234b0b71760b11b6064820152608401610300565b60048054600580546001600160a01b03808216610100908102610100600160a81b0319861617958690556001600160a01b03199092169092556040519381900482168452909104169081907fcdf51e8aec8da23ef7cd2b923d5755a017ffc21e01d7ddcb89cb771a7c2b66f79060200160405180910390a250565b60045460ff166104fa5760045461010090046001600160a01b03163214806104d9575060016000336040516020016104af9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b6104f55760405162461bcd60e51b815260040161030090610d63565b610554565b600160003360405160200161050f9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff166105545760405162461bcd60e51b815260040161030090610dc0565b60009182526020829052604090912055565b60045460ff166105e95760045461010090046001600160a01b03163214806105c85750600160003360405160200161059e9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b6105e45760405162461bcd60e51b815260040161030090610d63565b610643565b60016000336040516020016105fe9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff166106435760405162461bcd60e51b815260040161030090610dc0565b60008281526020819052604081208054839290610386908490610e23565b60045461010090046001600160a01b031633146106cb5760405162461bcd60e51b815260206004820152602260248201527f4f6e6c792063616c6c61626c652062792063757272656e742067756172646961604482015261371760f11b6064820152608401610300565b6004805460ff19166001179055565b60045460ff1661075d5760045461010090046001600160a01b031632148061073c575060016000336040516020016107129190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b6107585760405162461bcd60e51b815260040161030090610d63565b6107b7565b60016000336040516020016107729190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff166107b75760405162461bcd60e51b815260040161030090610dc0565b60009182526002602052604090912080546001600160a01b0319166001600160a01b03909216919091179055565b60045460ff166108685760045461010090046001600160a01b03163214806108475750600160003360405160200161081d9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b6108635760405162461bcd60e51b815260040161030090610d63565b6108c2565b600160003360405160200161087d9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff166108c25760405162461bcd60e51b815260040161030090610dc0565b600090815260208190526040812055565b60045460ff166109565760045461010090046001600160a01b03163214806109355750600160003360405160200161090b9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b6109515760405162461bcd60e51b815260040161030090610d63565b6109b0565b600160003360405160200161096b9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff166109b05760405162461bcd60e51b815260040161030090610dc0565b600091825260016020526040909120805460ff1916911515919091179055565b60045460ff16610a535760045461010090046001600160a01b0316321480610a3257506001600033604051602001610a089190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b610a4e5760405162461bcd60e51b815260040161030090610d63565b610aad565b6001600033604051602001610a689190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff16610aad5760405162461bcd60e51b815260040161030090610dc0565b6000908152600160205260409020805460ff19169055565b60045460ff16610b485760045461010090046001600160a01b0316321480610b2757506001600033604051602001610afd9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b610b435760405162461bcd60e51b815260040161030090610d63565b610ba2565b6001600033604051602001610b5d9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff16610ba25760405162461bcd60e51b815260040161030090610dc0565b600090815260026020526040902080546001600160a01b0319169055565b60045461010090046001600160a01b03163314610c325760405162461bcd60e51b815260206004820152602a60248201527f4f6e6c792063616c6c61626c652062792063757272656e742073746f726167656044820152691033bab0b93234b0b71760b11b6064820152608401610300565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b60008060408385031215610c6757600080fd5b50508035926020909101359150565b600060208284031215610c8857600080fd5b5035919050565b80356001600160a01b0381168114610ca657600080fd5b919050565b60008060408385031215610cbe57600080fd5b82359150610cce60208401610c8f565b90509250929050565b60008060408385031215610cea57600080fd5b8235915060208301358015158114610d0157600080fd5b809150509250929050565b600060208284031215610d1e57600080fd5b610d2782610c8f565b9392505050565b6e636f6e74726163745f65786973747360881b815260609190911b6bffffffffffffffffffffffff1916600f82015260230190565b6020808252603d908201527f54686520636f6e7472616374206164647265737320697320696e76616c69642060408201527f6f72207468652063616c6c6572206973206e6f7420616c6c6f7765642e000000606082015260800190565b6020808252818101527f54686520636f6e7472616374206164647265737320697320696e76616c69642e604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115610e1e57610e1e610df5565b500190565b600082821015610e3557610e35610df5565b50039056fea26469706673582212209e8760b387dd9253def9d468c037bd9bbd5acee8f5ce023297eb95f714844eba64736f6c63430008090033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x100 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x66B80832 GT PUSH2 0x97 JUMPI DUP1 PUSH4 0xAFC3602B GT PUSH2 0x66 JUMPI DUP1 PUSH4 0xAFC3602B EQ PUSH2 0x21B JUMPI DUP1 PUSH4 0xB240DA3F EQ PUSH2 0x249 JUMPI DUP1 PUSH4 0xE732DA72 EQ PUSH2 0x25C JUMPI DUP1 PUSH4 0xE87F7C31 EQ PUSH2 0x26F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x66B80832 EQ PUSH2 0x1DA JUMPI DUP1 PUSH4 0x7221263A EQ PUSH2 0x1E2 JUMPI DUP1 PUSH4 0x8A2C6738 EQ PUSH2 0x1F5 JUMPI DUP1 PUSH4 0x988C515B EQ PUSH2 0x208 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x2A90BBB2 GT PUSH2 0xD3 JUMPI DUP1 PUSH4 0x2A90BBB2 EQ PUSH2 0x164 JUMPI DUP1 PUSH4 0x545E1B52 EQ PUSH2 0x18D JUMPI DUP1 PUSH4 0x55D94655 EQ PUSH2 0x1A4 JUMPI DUP1 PUSH4 0x5BCFEE67 EQ PUSH2 0x1C7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xBC169A5 EQ PUSH2 0x105 JUMPI DUP1 PUSH4 0x1D8895E0 EQ PUSH2 0x134 JUMPI DUP1 PUSH4 0x27918182 EQ PUSH2 0x149 JUMPI DUP1 PUSH4 0x28192C55 EQ PUSH2 0x151 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x4 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x147 PUSH2 0x142 CALLDATASIZE PUSH1 0x4 PUSH2 0xC54 JUMP JUMPDEST PUSH2 0x282 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x147 PUSH2 0x38F JUMP JUMPDEST PUSH2 0x147 PUSH2 0x15F CALLDATASIZE PUSH1 0x4 PUSH2 0xC54 JUMP JUMPDEST PUSH2 0x477 JUMP JUMPDEST PUSH2 0x117 PUSH2 0x172 CALLDATASIZE PUSH1 0x4 PUSH2 0xC76 JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 JUMP JUMPDEST PUSH1 0x4 SLOAD PUSH1 0xFF AND JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x12B JUMP JUMPDEST PUSH2 0x194 PUSH2 0x1B2 CALLDATASIZE PUSH1 0x4 PUSH2 0xC76 JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH2 0x147 PUSH2 0x1D5 CALLDATASIZE PUSH1 0x4 PUSH2 0xC54 JUMP JUMPDEST PUSH2 0x566 JUMP JUMPDEST PUSH2 0x147 PUSH2 0x661 JUMP JUMPDEST PUSH2 0x147 PUSH2 0x1F0 CALLDATASIZE PUSH1 0x4 PUSH2 0xCAB JUMP JUMPDEST PUSH2 0x6DA JUMP JUMPDEST PUSH2 0x147 PUSH2 0x203 CALLDATASIZE PUSH1 0x4 PUSH2 0xC76 JUMP JUMPDEST PUSH2 0x7E5 JUMP JUMPDEST PUSH2 0x147 PUSH2 0x216 CALLDATASIZE PUSH1 0x4 PUSH2 0xCD7 JUMP JUMPDEST PUSH2 0x8D3 JUMP JUMPDEST PUSH2 0x23B PUSH2 0x229 CALLDATASIZE PUSH1 0x4 PUSH2 0xC76 JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x12B JUMP JUMPDEST PUSH2 0x147 PUSH2 0x257 CALLDATASIZE PUSH1 0x4 PUSH2 0xC76 JUMP JUMPDEST PUSH2 0x9D0 JUMP JUMPDEST PUSH2 0x147 PUSH2 0x26A CALLDATASIZE PUSH1 0x4 PUSH2 0xC76 JUMP JUMPDEST PUSH2 0xAC5 JUMP JUMPDEST PUSH2 0x147 PUSH2 0x27D CALLDATASIZE PUSH1 0x4 PUSH2 0xD0C JUMP JUMPDEST PUSH2 0xBC0 JUMP JUMPDEST PUSH1 0x4 SLOAD PUSH1 0xFF AND PUSH2 0x30E JUMPI PUSH1 0x4 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ORIGIN EQ DUP1 PUSH2 0x2E4 JUMPI POP PUSH1 0x1 PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x2BA SWAP2 SWAP1 PUSH2 0xD2E JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 DUP4 MSTORE SWAP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE ADD PUSH1 0x0 KECCAK256 SLOAD PUSH1 0xFF AND JUMPDEST PUSH2 0x309 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x300 SWAP1 PUSH2 0xD63 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x368 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x323 SWAP2 SWAP1 PUSH2 0xD2E JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 DUP4 MSTORE SWAP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE ADD PUSH1 0x0 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x368 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x300 SWAP1 PUSH2 0xDC0 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP3 SWAP1 PUSH2 0x386 SWAP1 DUP5 SWAP1 PUSH2 0xE0B JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x5 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x3FC JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2A PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4F6E6C792063616C6C61626C6520627920746865206E65772073746F72616765 PUSH1 0x44 DUP3 ADD MSTORE PUSH10 0x1033BAB0B93234B0B717 PUSH1 0xB1 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x300 JUMP JUMPDEST PUSH1 0x4 DUP1 SLOAD PUSH1 0x5 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP3 AND PUSH2 0x100 SWAP1 DUP2 MUL PUSH2 0x100 PUSH1 0x1 PUSH1 0xA8 SHL SUB NOT DUP7 AND OR SWAP6 DUP7 SWAP1 SSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT SWAP1 SWAP3 AND SWAP1 SWAP3 SSTORE PUSH1 0x40 MLOAD SWAP4 DUP2 SWAP1 DIV DUP3 AND DUP5 MSTORE SWAP1 SWAP2 DIV AND SWAP1 DUP2 SWAP1 PUSH32 0xCDF51E8AEC8DA23EF7CD2B923D5755A017FFC21E01D7DDCB89CB771A7C2B66F7 SWAP1 PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 POP JUMP JUMPDEST PUSH1 0x4 SLOAD PUSH1 0xFF AND PUSH2 0x4FA JUMPI PUSH1 0x4 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ORIGIN EQ DUP1 PUSH2 0x4D9 JUMPI POP PUSH1 0x1 PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x4AF SWAP2 SWAP1 PUSH2 0xD2E JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 DUP4 MSTORE SWAP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE ADD PUSH1 0x0 KECCAK256 SLOAD PUSH1 0xFF AND JUMPDEST PUSH2 0x4F5 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x300 SWAP1 PUSH2 0xD63 JUMP JUMPDEST PUSH2 0x554 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x50F SWAP2 SWAP1 PUSH2 0xD2E JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 DUP4 MSTORE SWAP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE ADD PUSH1 0x0 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x554 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x300 SWAP1 PUSH2 0xDC0 JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP3 SWAP1 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 SSTORE JUMP JUMPDEST PUSH1 0x4 SLOAD PUSH1 0xFF AND PUSH2 0x5E9 JUMPI PUSH1 0x4 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ORIGIN EQ DUP1 PUSH2 0x5C8 JUMPI POP PUSH1 0x1 PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x59E SWAP2 SWAP1 PUSH2 0xD2E JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 DUP4 MSTORE SWAP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE ADD PUSH1 0x0 KECCAK256 SLOAD PUSH1 0xFF AND JUMPDEST PUSH2 0x5E4 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x300 SWAP1 PUSH2 0xD63 JUMP JUMPDEST PUSH2 0x643 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x5FE SWAP2 SWAP1 PUSH2 0xD2E JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 DUP4 MSTORE SWAP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE ADD PUSH1 0x0 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x643 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x300 SWAP1 PUSH2 0xDC0 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP3 SWAP1 PUSH2 0x386 SWAP1 DUP5 SWAP1 PUSH2 0xE23 JUMP JUMPDEST PUSH1 0x4 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x6CB JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x22 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4F6E6C792063616C6C61626C652062792063757272656E742067756172646961 PUSH1 0x44 DUP3 ADD MSTORE PUSH2 0x3717 PUSH1 0xF1 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x300 JUMP JUMPDEST PUSH1 0x4 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x4 SLOAD PUSH1 0xFF AND PUSH2 0x75D JUMPI PUSH1 0x4 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ORIGIN EQ DUP1 PUSH2 0x73C JUMPI POP PUSH1 0x1 PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x712 SWAP2 SWAP1 PUSH2 0xD2E JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 DUP4 MSTORE SWAP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE ADD PUSH1 0x0 KECCAK256 SLOAD PUSH1 0xFF AND JUMPDEST PUSH2 0x758 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x300 SWAP1 PUSH2 0xD63 JUMP JUMPDEST PUSH2 0x7B7 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x772 SWAP2 SWAP1 PUSH2 0xD2E JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 DUP4 MSTORE SWAP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE ADD PUSH1 0x0 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x7B7 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x300 SWAP1 PUSH2 0xDC0 JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x4 SLOAD PUSH1 0xFF AND PUSH2 0x868 JUMPI PUSH1 0x4 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ORIGIN EQ DUP1 PUSH2 0x847 JUMPI POP PUSH1 0x1 PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x81D SWAP2 SWAP1 PUSH2 0xD2E JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 DUP4 MSTORE SWAP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE ADD PUSH1 0x0 KECCAK256 SLOAD PUSH1 0xFF AND JUMPDEST PUSH2 0x863 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x300 SWAP1 PUSH2 0xD63 JUMP JUMPDEST PUSH2 0x8C2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x87D SWAP2 SWAP1 PUSH2 0xD2E JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 DUP4 MSTORE SWAP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE ADD PUSH1 0x0 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x8C2 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x300 SWAP1 PUSH2 0xDC0 JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 DUP2 KECCAK256 SSTORE JUMP JUMPDEST PUSH1 0x4 SLOAD PUSH1 0xFF AND PUSH2 0x956 JUMPI PUSH1 0x4 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ORIGIN EQ DUP1 PUSH2 0x935 JUMPI POP PUSH1 0x1 PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x90B SWAP2 SWAP1 PUSH2 0xD2E JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 DUP4 MSTORE SWAP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE ADD PUSH1 0x0 KECCAK256 SLOAD PUSH1 0xFF AND JUMPDEST PUSH2 0x951 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x300 SWAP1 PUSH2 0xD63 JUMP JUMPDEST PUSH2 0x9B0 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x96B SWAP2 SWAP1 PUSH2 0xD2E JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 DUP4 MSTORE SWAP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE ADD PUSH1 0x0 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0x9B0 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x300 SWAP1 PUSH2 0xDC0 JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP2 ISZERO ISZERO SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x4 SLOAD PUSH1 0xFF AND PUSH2 0xA53 JUMPI PUSH1 0x4 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ORIGIN EQ DUP1 PUSH2 0xA32 JUMPI POP PUSH1 0x1 PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xA08 SWAP2 SWAP1 PUSH2 0xD2E JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 DUP4 MSTORE SWAP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE ADD PUSH1 0x0 KECCAK256 SLOAD PUSH1 0xFF AND JUMPDEST PUSH2 0xA4E JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x300 SWAP1 PUSH2 0xD63 JUMP JUMPDEST PUSH2 0xAAD JUMP JUMPDEST PUSH1 0x1 PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xA68 SWAP2 SWAP1 PUSH2 0xD2E JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 DUP4 MSTORE SWAP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE ADD PUSH1 0x0 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0xAAD JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x300 SWAP1 PUSH2 0xDC0 JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x4 SLOAD PUSH1 0xFF AND PUSH2 0xB48 JUMPI PUSH1 0x4 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND ORIGIN EQ DUP1 PUSH2 0xB27 JUMPI POP PUSH1 0x1 PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xAFD SWAP2 SWAP1 PUSH2 0xD2E JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 DUP4 MSTORE SWAP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE ADD PUSH1 0x0 KECCAK256 SLOAD PUSH1 0xFF AND JUMPDEST PUSH2 0xB43 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x300 SWAP1 PUSH2 0xD63 JUMP JUMPDEST PUSH2 0xBA2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xB5D SWAP2 SWAP1 PUSH2 0xD2E JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP2 DUP2 MSTORE DUP2 MLOAD PUSH1 0x20 SWAP3 DUP4 ADD KECCAK256 DUP4 MSTORE SWAP1 DUP3 ADD SWAP3 SWAP1 SWAP3 MSTORE ADD PUSH1 0x0 KECCAK256 SLOAD PUSH1 0xFF AND PUSH2 0xBA2 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x300 SWAP1 PUSH2 0xDC0 JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x2 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x4 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0xC32 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2A PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4F6E6C792063616C6C61626C652062792063757272656E742073746F72616765 PUSH1 0x44 DUP3 ADD MSTORE PUSH10 0x1033BAB0B93234B0B717 PUSH1 0xB1 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x300 JUMP JUMPDEST PUSH1 0x5 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP3 SWAP1 SWAP3 AND SWAP2 SWAP1 SWAP2 OR SWAP1 SSTORE JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xC67 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP DUP1 CALLDATALOAD SWAP3 PUSH1 0x20 SWAP1 SWAP2 ADD CALLDATALOAD SWAP2 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xC88 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0xCA6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xCBE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD SWAP2 POP PUSH2 0xCCE PUSH1 0x20 DUP5 ADD PUSH2 0xC8F JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0xCEA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0xD01 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xD1E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xD27 DUP3 PUSH2 0xC8F JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH15 0x636F6E74726163745F657869737473 PUSH1 0x88 SHL DUP2 MSTORE PUSH1 0x60 SWAP2 SWAP1 SWAP2 SHL PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF NOT AND PUSH1 0xF DUP3 ADD MSTORE PUSH1 0x23 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x3D SWAP1 DUP3 ADD MSTORE PUSH32 0x54686520636F6E7472616374206164647265737320697320696E76616C696420 PUSH1 0x40 DUP3 ADD MSTORE PUSH32 0x6F72207468652063616C6C6572206973206E6F7420616C6C6F7765642E000000 PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 DUP2 ADD MSTORE PUSH32 0x54686520636F6E7472616374206164647265737320697320696E76616C69642E PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0xE1E JUMPI PUSH2 0xE1E PUSH2 0xDF5 JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH2 0xE35 JUMPI PUSH2 0xE35 PUSH2 0xDF5 JUMP JUMPDEST POP SUB SWAP1 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 SWAP15 DUP8 PUSH1 0xB3 DUP8 0xDD SWAP3 MSTORE8 0xDE 0xF9 0xD4 PUSH9 0xC037BD9BBD5ACEE8F5 0xCE MUL ORIGIN SWAP8 0xEB SWAP6 0xF7 EQ DUP5 0x4E 0xBA PUSH5 0x736F6C6343 STOP ADDMOD MULMOD STOP CALLER ", + "sourceMap": "253:4446:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2232:101;2310:15;;;;;-1:-1:-1;;;;;2310:15:0;2232:101;;;-1:-1:-1;;;;;178:32:2;;;160:51;;148:2;133:18;2232:101:0;;;;;;;;3698:138;;;;;;:::i;:::-;;:::i;:::-;;2544:306;;;:::i;3566:124::-;;;;;;:::i;:::-;;:::i;3384:115::-;;;;;;:::i;:::-;3446:7;3472:19;;;:14;:19;;;;;;-1:-1:-1;;;;;3472:19:0;;3384:115;2128:92;2201:11;;;;2128:92;;;825:14:2;;818:22;800:41;;788:2;773:18;2128:92:0;660:187:2;3270:106:0;;;;;;:::i;:::-;3329:4;3352:16;;;:11;:16;;;;;;;;;3270:106;3848:138;;;;;;:::i;:::-;;:::i;2936:159::-;;;:::i;4137:130::-;;;;;;:::i;:::-;;:::i;4326:109::-;;;;;;:::i;:::-;;:::i;4004:121::-;;;;;;:::i;:::-;;:::i;3153:109::-;;;;;;:::i;:::-;3212:7;3238:16;;;;;;;;;;;;3153:109;;;;1781:25:2;;;1769:2;1754:18;3153:109:0;1635:177:2;4451:109:0;;;;;;:::i;:::-;;:::i;4572:115::-;;;;;;:::i;:::-;;:::i;2341:195::-;;;;;;:::i;:::-;;:::i;3698:138::-;1174:11;;;;1170:385;;1226:15;;;;;-1:-1:-1;;;;;1226:15:0;1213:9;:28;;:103;;;1245:11;:71;1303:10;1267:47;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1267:47:0;;;;;;;;;1257:58;;1267:47;1257:58;;;;1245:71;;;;;;;;;;-1:-1:-1;1245:71:0;;;;1213:103;1205:177;;;;-1:-1:-1;;;1205:177:0;;;;;;;:::i;:::-;;;;;;;;;1170:385;;;1431:11;:71;1489:10;1453:47;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1453:47:0;;;;;;;;;1443:58;;1453:47;1443:58;;;;1431:71;;;;;;;;;;-1:-1:-1;1431:71:0;;;;1423:116;;;;-1:-1:-1;;;1423:116:0;;;;;;;:::i;:::-;3798:11:::1;:16:::0;;;::::1;::::0;;;;;;:30;;3818:10;;3798:11;:30:::1;::::0;3818:10;;3798:30:::1;:::i;:::-;::::0;;;-1:-1:-1;;;;3698:138:0:o;2544:306::-;2610:11;;-1:-1:-1;;;;;2610:11:0;2596:10;:25;2588:80;;;;-1:-1:-1;;;2588:80:0;;3649:2:2;2588:80:0;;;3631:21:2;3688:2;3668:18;;;3661:30;3727:34;3707:18;;;3700:62;-1:-1:-1;;;3778:18:2;;;3771:40;3828:19;;2588:80:0;3447:406:2;2588:80:0;2701:15;;;2745:11;;;-1:-1:-1;;;;;2745:11:0;;;2701:15;2727:29;;;-1:-1:-1;;;;;;2727:29:0;;;;;;;-1:-1:-1;;;;;;2767:18:0;;;;;;2801:41;;2826:15;;;;;;160:51:2;;2701:15:0;;;;;;;2801:41;;148:2:2;133:18;2801:41:0;;;;;;;2577:273;2544:306::o;3566:124::-;1174:11;;;;1170:385;;1226:15;;;;;-1:-1:-1;;;;;1226:15:0;1213:9;:28;;:103;;;1245:11;:71;1303:10;1267:47;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1267:47:0;;;;;;;;;1257:58;;1267:47;1257:58;;;;1245:71;;;;;;;;;;-1:-1:-1;1245:71:0;;;;1213:103;1205:177;;;;-1:-1:-1;;;1205:177:0;;;;;;;:::i;:::-;1170:385;;;1431:11;:71;1489:10;1453:47;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1453:47:0;;;;;;;;;1443:58;;1453:47;1443:58;;;;1431:71;;;;;;;;;;-1:-1:-1;1431:71:0;;;;1423:116;;;;-1:-1:-1;;;1423:116:0;;;;;;;:::i;:::-;3657:11:::1;:16:::0;;;::::1;::::0;;;;;;;:25;3566:124::o;3848:138::-;1174:11;;;;1170:385;;1226:15;;;;;-1:-1:-1;;;;;1226:15:0;1213:9;:28;;:103;;;1245:11;:71;1303:10;1267:47;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1267:47:0;;;;;;;;;1257:58;;1267:47;1257:58;;;;1245:71;;;;;;;;;;-1:-1:-1;1245:71:0;;;;1213:103;1205:177;;;;-1:-1:-1;;;1205:177:0;;;;;;;:::i;:::-;1170:385;;;1431:11;:71;1489:10;1453:47;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1453:47:0;;;;;;;;;1443:58;;1453:47;1443:58;;;;1431:71;;;;;;;;;;-1:-1:-1;1431:71:0;;;;1423:116;;;;-1:-1:-1;;;1423:116:0;;;;;;;:::i;:::-;3948:11:::1;:16:::0;;;::::1;::::0;;;;;;:30;;3968:10;;3948:11;:30:::1;::::0;3968:10;;3948:30:::1;:::i;2936:159::-:0;3004:15;;;;;-1:-1:-1;;;;;3004:15:0;2990:10;:29;2982:76;;;;-1:-1:-1;;;2982:76:0;;4190:2:2;2982:76:0;;;4172:21:2;4229:2;4209:18;;;4202:30;4268:34;4248:18;;;4241:62;-1:-1:-1;;;4319:18:2;;;4312:32;4361:19;;2982:76:0;3988:398:2;2982:76:0;3069:11;:18;;-1:-1:-1;;3069:18:0;3083:4;3069:18;;;2936:159::o;4137:130::-;1174:11;;;;1170:385;;1226:15;;;;;-1:-1:-1;;;;;1226:15:0;1213:9;:28;;:103;;;1245:11;:71;1303:10;1267:47;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1267:47:0;;;;;;;;;1257:58;;1267:47;1257:58;;;;1245:71;;;;;;;;;;-1:-1:-1;1245:71:0;;;;1213:103;1205:177;;;;-1:-1:-1;;;1205:177:0;;;;;;;:::i;:::-;1170:385;;;1431:11;:71;1489:10;1453:47;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1453:47:0;;;;;;;;;1443:58;;1453:47;1443:58;;;;1431:71;;;;;;;;;;-1:-1:-1;1431:71:0;;;;1423:116;;;;-1:-1:-1;;;1423:116:0;;;;;;;:::i;:::-;4231:19:::1;::::0;;;:14:::1;:19;::::0;;;;;:28;;-1:-1:-1;;;;;;4231:28:0::1;-1:-1:-1::0;;;;;4231:28:0;;::::1;::::0;;;::::1;::::0;;4137:130::o;4326:109::-;1174:11;;;;1170:385;;1226:15;;;;;-1:-1:-1;;;;;1226:15:0;1213:9;:28;;:103;;;1245:11;:71;1303:10;1267:47;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1267:47:0;;;;;;;;;1257:58;;1267:47;1257:58;;;;1245:71;;;;;;;;;;-1:-1:-1;1245:71:0;;;;1213:103;1205:177;;;;-1:-1:-1;;;1205:177:0;;;;;;;:::i;:::-;1170:385;;;1431:11;:71;1489:10;1453:47;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1453:47:0;;;;;;;;;1443:58;;1453:47;1443:58;;;;1431:71;;;;;;;;;;-1:-1:-1;1431:71:0;;;;1423:116;;;;-1:-1:-1;;;1423:116:0;;;;;;;:::i;:::-;4411:11:::1;:16:::0;;;::::1;::::0;;;;;;4404:23;4326:109::o;4004:121::-;1174:11;;;;1170:385;;1226:15;;;;;-1:-1:-1;;;;;1226:15:0;1213:9;:28;;:103;;;1245:11;:71;1303:10;1267:47;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1267:47:0;;;;;;;;;1257:58;;1267:47;1257:58;;;;1245:71;;;;;;;;;;-1:-1:-1;1245:71:0;;;;1213:103;1205:177;;;;-1:-1:-1;;;1205:177:0;;;;;;;:::i;:::-;1170:385;;;1431:11;:71;1489:10;1453:47;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1453:47:0;;;;;;;;;1443:58;;1453:47;1443:58;;;;1431:71;;;;;;;;;;-1:-1:-1;1431:71:0;;;;1423:116;;;;-1:-1:-1;;;1423:116:0;;;;;;;:::i;:::-;4092:16:::1;::::0;;;:11:::1;:16;::::0;;;;;:25;;-1:-1:-1;;4092:25:0::1;::::0;::::1;;::::0;;;::::1;::::0;;4004:121::o;4451:109::-;1174:11;;;;1170:385;;1226:15;;;;;-1:-1:-1;;;;;1226:15:0;1213:9;:28;;:103;;;1245:11;:71;1303:10;1267:47;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1267:47:0;;;;;;;;;1257:58;;1267:47;1257:58;;;;1245:71;;;;;;;;;;-1:-1:-1;1245:71:0;;;;1213:103;1205:177;;;;-1:-1:-1;;;1205:177:0;;;;;;;:::i;:::-;1170:385;;;1431:11;:71;1489:10;1453:47;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1453:47:0;;;;;;;;;1443:58;;1453:47;1443:58;;;;1431:71;;;;;;;;;;-1:-1:-1;1431:71:0;;;;1423:116;;;;-1:-1:-1;;;1423:116:0;;;;;;;:::i;:::-;4536:16:::1;::::0;;;:11:::1;:16;::::0;;;;4529:23;;-1:-1:-1;;4529:23:0::1;::::0;;4451:109::o;4572:115::-;1174:11;;;;1170:385;;1226:15;;;;;-1:-1:-1;;;;;1226:15:0;1213:9;:28;;:103;;;1245:11;:71;1303:10;1267:47;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1267:47:0;;;;;;;;;1257:58;;1267:47;1257:58;;;;1245:71;;;;;;;;;;-1:-1:-1;1245:71:0;;;;1213:103;1205:177;;;;-1:-1:-1;;;1205:177:0;;;;;;;:::i;:::-;1170:385;;;1431:11;:71;1489:10;1453:47;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1453:47:0;;;;;;;;;1443:58;;1453:47;1443:58;;;;1431:71;;;;;;;;;;-1:-1:-1;1431:71:0;;;;1423:116;;;;-1:-1:-1;;;1423:116:0;;;;;;;:::i;:::-;4660:19:::1;::::0;;;:14:::1;:19;::::0;;;;4653:26;;-1:-1:-1;;;;;;4653:26:0::1;::::0;;4572:115::o;2341:195::-;2429:15;;;;;-1:-1:-1;;;;;2429:15:0;2415:10;:29;2407:84;;;;-1:-1:-1;;;2407:84:0;;4593:2:2;2407:84:0;;;4575:21:2;4632:2;4612:18;;;4605:30;4671:34;4651:18;;;4644:62;-1:-1:-1;;;4722:18:2;;;4715:40;4772:19;;2407:84:0;4391:406:2;2407:84:0;2502:11;:26;;-1:-1:-1;;;;;;2502:26:0;-1:-1:-1;;;;;2502:26:0;;;;;;;;;;2341:195::o;222:248:2:-;290:6;298;351:2;339:9;330:7;326:23;322:32;319:52;;;367:1;364;357:12;319:52;-1:-1:-1;;390:23:2;;;460:2;445:18;;;432:32;;-1:-1:-1;222:248:2:o;475:180::-;534:6;587:2;575:9;566:7;562:23;558:32;555:52;;;603:1;600;593:12;555:52;-1:-1:-1;626:23:2;;475:180;-1:-1:-1;475:180:2:o;852:173::-;920:20;;-1:-1:-1;;;;;969:31:2;;959:42;;949:70;;1015:1;1012;1005:12;949:70;852:173;;;:::o;1030:254::-;1098:6;1106;1159:2;1147:9;1138:7;1134:23;1130:32;1127:52;;;1175:1;1172;1165:12;1127:52;1211:9;1198:23;1188:33;;1240:38;1274:2;1263:9;1259:18;1240:38;:::i;:::-;1230:48;;1030:254;;;;;:::o;1289:341::-;1354:6;1362;1415:2;1403:9;1394:7;1390:23;1386:32;1383:52;;;1431:1;1428;1421:12;1383:52;1467:9;1454:23;1444:33;;1527:2;1516:9;1512:18;1499:32;1574:5;1567:13;1560:21;1553:5;1550:32;1540:60;;1596:1;1593;1586:12;1540:60;1619:5;1609:15;;;1289:341;;;;;:::o;1817:186::-;1876:6;1929:2;1917:9;1908:7;1904:23;1900:32;1897:52;;;1945:1;1942;1935:12;1897:52;1968:29;1987:9;1968:29;:::i;:::-;1958:39;1817:186;-1:-1:-1;;;1817:186:2:o;2008:378::-;-1:-1:-1;;;2238:30:2;;2306:2;2302:15;;;;-1:-1:-1;;2298:53:2;2293:2;2284:12;;2277:75;2377:2;2368:12;;2008:378::o;2391:425::-;2593:2;2575:21;;;2632:2;2612:18;;;2605:30;2671:34;2666:2;2651:18;;2644:62;2742:31;2737:2;2722:18;;2715:59;2806:3;2791:19;;2391:425::o;2821:356::-;3023:2;3005:21;;;3042:18;;;3035:30;3101:34;3096:2;3081:18;;3074:62;3168:2;3153:18;;2821:356::o;3182:127::-;3243:10;3238:3;3234:20;3231:1;3224:31;3274:4;3271:1;3264:15;3298:4;3295:1;3288:15;3314:128;3354:3;3385:1;3381:6;3378:1;3375:13;3372:39;;;3391:18;;:::i;:::-;-1:-1:-1;3427:9:2;;3314:128::o;3858:125::-;3898:4;3926:1;3923;3920:8;3917:34;;;3931:18;;:::i;:::-;-1:-1:-1;3968:9:2;;3858:125::o" + }, + "gasEstimates": { + "creation": { + "codeDepositCost": "739200", + "executionCost": "98215", + "totalCost": "837415" + }, + "external": { + "confirmGuard()": "52345", + "decreaseUintStorage(bytes32,uint256)": "31410", + "deleteAddressStorage(bytes32)": "31292", + "deleteBoolStorage(bytes32)": "31258", + "deleteUintStorage(bytes32)": "12069", + "getAddressStorage(bytes32)": "2489", + "getBoolStorage(bytes32)": "2517", + "getCurrentGuardian()": "2344", + "getStorageStatus()": "2338", + "getUintStorage(bytes32)": "2463", + "increaseUintStorage(bytes32,uint256)": "31370", + "setAddressStorage(bytes32,address)": "31417", + "setBoolStorage(bytes32,bool)": "31392", + "setNewGuardian(address)": "26810", + "setStorageLive()": "26542", + "setUintStorage(bytes32,uint256)": "29218" + }, + "internal": { + "_setDataStorageAddress()": "infinite" + } + }, + "methodIdentifiers": { + "confirmGuard()": "27918182", + "decreaseUintStorage(bytes32,uint256)": "5bcfee67", + "deleteAddressStorage(bytes32)": "e732da72", + "deleteBoolStorage(bytes32)": "b240da3f", + "deleteUintStorage(bytes32)": "8a2c6738", + "getAddressStorage(bytes32)": "2a90bbb2", + "getBoolStorage(bytes32)": "55d94655", + "getCurrentGuardian()": "0bc169a5", + "getStorageStatus()": "545e1b52", + "getUintStorage(bytes32)": "afc3602b", + "increaseUintStorage(bytes32,uint256)": "1d8895e0", + "setAddressStorage(bytes32,address)": "7221263a", + "setBoolStorage(bytes32,bool)": "988c515b", + "setNewGuardian(address)": "e87f7c31", + "setStorageLive()": "66b80832", + "setUintStorage(bytes32,uint256)": "28192c55" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_lastGuardian\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_newGuardian\",\"type\":\"address\"}],\"name\":\"GuardChange\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"confirmGuard\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_decrement\",\"type\":\"uint256\"}],\"name\":\"decreaseUintStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"deleteAddressStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"deleteBoolStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"deleteUintStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"getAddressStorage\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"getBoolStorage\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCurrentGuardian\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getStorageStatus\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"getUintStorage\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_increment\",\"type\":\"uint256\"}],\"name\":\"increaseUintStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_value\",\"type\":\"address\"}],\"name\":\"setAddressStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"_value\",\"type\":\"bool\"}],\"name\":\"setBoolStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newGuardian\",\"type\":\"address\"}],\"name\":\"setNewGuardian\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"setStorageLive\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"setUintStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"setStorageLive()\":{\"notice\":\"Irreversible. Once the storage hub is live, stays that way.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/DataStorage.sol\":\"DataStorage\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/DataStorage.sol\":{\"keccak256\":\"0x799078afa179cdf381dd8e7b8719d853c1c6923ce89b3a44476affe104d92a3c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840f177d2227aaa077d44cf9ed5f9bef39d9de7d57c7d64a73655b99e2612125\",\"dweb:/ipfs/QmaZZ59eXeMV2R6HZ5uHhVxnexHxCe9a4Q5ctvmViUaDhs\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol\":{\"keccak256\":\"0x7186846fb3a68ed840531cc667d084c22f736d7df0c985ed54d85c9ffd59c91f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6d3544aa6cf23f73e2388f515b0117f100d97d5608f5c7f9174431e0544f2993\",\"dweb:/ipfs/QmXR3togkFB77Mt2ew3xswxpFSTwhnJHicXQoaTqNi6ZUf\"]}},\"version\":1}", + "storageLayout": { + "storage": [ + { + "astId": 8, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/DataStorage.sol:DataStorage", + "label": "uintStorage", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_bytes32,t_uint256)" + }, + { + "astId": 12, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/DataStorage.sol:DataStorage", + "label": "boolStorage", + "offset": 0, + "slot": "1", + "type": "t_mapping(t_bytes32,t_bool)" + }, + { + "astId": 16, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/DataStorage.sol:DataStorage", + "label": "addressStorage", + "offset": 0, + "slot": "2", + "type": "t_mapping(t_bytes32,t_address)" + }, + { + "astId": 20, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/DataStorage.sol:DataStorage", + "label": "bytes32Storage", + "offset": 0, + "slot": "3", + "type": "t_mapping(t_bytes32,t_bytes32)" + }, + { + "astId": 23, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/DataStorage.sol:DataStorage", + "label": "storageLive", + "offset": 0, + "slot": "4", + "type": "t_bool" + }, + { + "astId": 25, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/DataStorage.sol:DataStorage", + "label": "currentGuardian", + "offset": 1, + "slot": "4", + "type": "t_address" + }, + { + "astId": 27, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/DataStorage.sol:DataStorage", + "label": "newGuardian", + "offset": 0, + "slot": "5", + "type": "t_address" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_address)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => address)", + "numberOfBytes": "32", + "value": "t_address" + }, + "t_mapping(t_bytes32,t_bool)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_bytes32,t_bytes32)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => bytes32)", + "numberOfBytes": "32", + "value": "t_bytes32" + }, + "t_mapping(t_bytes32,t_uint256)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } + }, + "userdoc": { + "kind": "user", + "methods": { + "setStorageLive()": { + "notice": "Irreversible. Once the storage hub is live, stays that way." + } + }, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol": { + "DataStorageInterface": { + "abi": [ + { + "inputs": [], + "name": "confirmGuard", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_decrement", + "type": "uint256" + } + ], + "name": "decreaseUintStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "deleteAddressStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "deleteBoolStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "deleteUintStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getAddressStorage", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getBoolStorage", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getCurrentGuardian", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getStorageStatus", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getUintStorage", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_increment", + "type": "uint256" + } + ], + "name": "increaseUintStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_value", + "type": "address" + } + ], + "name": "setAddressStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bool", + "name": "_value", + "type": "bool" + } + ], + "name": "setBoolStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_newGuardian", + "type": "address" + } + ], + "name": "setNewGuardian", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "setStorageLive", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "setUintStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "confirmGuard()": "27918182", + "decreaseUintStorage(bytes32,uint256)": "5bcfee67", + "deleteAddressStorage(bytes32)": "e732da72", + "deleteBoolStorage(bytes32)": "b240da3f", + "deleteUintStorage(bytes32)": "8a2c6738", + "getAddressStorage(bytes32)": "2a90bbb2", + "getBoolStorage(bytes32)": "55d94655", + "getCurrentGuardian()": "0bc169a5", + "getStorageStatus()": "545e1b52", + "getUintStorage(bytes32)": "afc3602b", + "increaseUintStorage(bytes32,uint256)": "1d8895e0", + "setAddressStorage(bytes32,address)": "7221263a", + "setBoolStorage(bytes32,bool)": "988c515b", + "setNewGuardian(address)": "e87f7c31", + "setStorageLive()": "66b80832", + "setUintStorage(bytes32,uint256)": "28192c55" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"confirmGuard\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_decrement\",\"type\":\"uint256\"}],\"name\":\"decreaseUintStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"deleteAddressStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"deleteBoolStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"deleteUintStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"getAddressStorage\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"getBoolStorage\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCurrentGuardian\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getStorageStatus\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"getUintStorage\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_increment\",\"type\":\"uint256\"}],\"name\":\"increaseUintStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_value\",\"type\":\"address\"}],\"name\":\"setAddressStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"_value\",\"type\":\"bool\"}],\"name\":\"setBoolStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newGuardian\",\"type\":\"address\"}],\"name\":\"setNewGuardian\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"setStorageLive\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"setUintStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol\":\"DataStorageInterface\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol\":{\"keccak256\":\"0x7186846fb3a68ed840531cc667d084c22f736d7df0c985ed54d85c9ffd59c91f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6d3544aa6cf23f73e2388f515b0117f100d97d5608f5c7f9174431e0544f2993\",\"dweb:/ipfs/QmXR3togkFB77Mt2ew3xswxpFSTwhnJHicXQoaTqNi6ZUf\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + } + }, + "sources": { + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/DataStorage.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/DataStorage.sol", + "exportedSymbols": { + "DataStorage": [ + 366 + ], + "DataStorageInterface": [ + 461 + ] + }, + "id": 367, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1, + "literals": [ + "solidity", + "0.8", + ".9" + ], + "nodeType": "PragmaDirective", + "src": "33:22:0" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol", + "file": "./interfaces/DataStorageInterface.sol", + "id": 2, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 367, + "sourceUnit": 462, + "src": "202:47:0", + "symbolAliases": [], + "unitAlias": "" + }, + { + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 3, + "name": "DataStorageInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 461, + "src": "277:20:0" + }, + "id": 4, + "nodeType": "InheritanceSpecifier", + "src": "277:20:0" + } + ], + "canonicalName": "DataStorage", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "id": 366, + "linearizedBaseContracts": [ + 366, + 461 + ], + "name": "DataStorage", + "nameLocation": "262:11:0", + "nodeType": "ContractDefinition", + "nodes": [ + { + "constant": false, + "id": 8, + "mutability": "mutable", + "name": "uintStorage", + "nameLocation": "342:11:0", + "nodeType": "VariableDeclaration", + "scope": 366, + "src": "306:47:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", + "typeString": "mapping(bytes32 => uint256)" + }, + "typeName": { + "id": 7, + "keyType": { + "id": 5, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "314:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "Mapping", + "src": "306:27:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", + "typeString": "mapping(bytes32 => uint256)" + }, + "valueType": { + "id": 6, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "325:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + }, + "visibility": "private" + }, + { + "constant": false, + "id": 12, + "mutability": "mutable", + "name": "boolStorage", + "nameLocation": "396:11:0", + "nodeType": "VariableDeclaration", + "scope": 366, + "src": "360:47:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", + "typeString": "mapping(bytes32 => bool)" + }, + "typeName": { + "id": 11, + "keyType": { + "id": 9, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "368:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "Mapping", + "src": "360:24:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", + "typeString": "mapping(bytes32 => bool)" + }, + "valueType": { + "id": 10, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "379:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + }, + "visibility": "private" + }, + { + "constant": false, + "id": 16, + "mutability": "mutable", + "name": "addressStorage", + "nameLocation": "450:14:0", + "nodeType": "VariableDeclaration", + "scope": 366, + "src": "414:50:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$", + "typeString": "mapping(bytes32 => address)" + }, + "typeName": { + "id": 15, + "keyType": { + "id": 13, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "422:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "Mapping", + "src": "414:27:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$", + "typeString": "mapping(bytes32 => address)" + }, + "valueType": { + "id": 14, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "433:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + }, + "visibility": "private" + }, + { + "constant": false, + "id": 20, + "mutability": "mutable", + "name": "bytes32Storage", + "nameLocation": "507:14:0", + "nodeType": "VariableDeclaration", + "scope": 366, + "src": "471:50:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_bytes32_$", + "typeString": "mapping(bytes32 => bytes32)" + }, + "typeName": { + "id": 19, + "keyType": { + "id": 17, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "479:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "Mapping", + "src": "471:27:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_bytes32_$", + "typeString": "mapping(bytes32 => bytes32)" + }, + "valueType": { + "id": 18, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "490:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + }, + "visibility": "private" + }, + { + "constant": false, + "id": 23, + "mutability": "mutable", + "name": "storageLive", + "nameLocation": "563:11:0", + "nodeType": "VariableDeclaration", + "scope": 366, + "src": "558:24:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 21, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "558:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": { + "hexValue": "66616c7365", + "id": 22, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "577:5:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 25, + "mutability": "mutable", + "name": "currentGuardian", + "nameLocation": "639:15:0", + "nodeType": "VariableDeclaration", + "scope": 366, + "src": "631:23:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 24, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "631:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 27, + "mutability": "mutable", + "name": "newGuardian", + "nameLocation": "669:11:0", + "nodeType": "VariableDeclaration", + "scope": 366, + "src": "661:19:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 26, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "661:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "anonymous": false, + "id": 33, + "name": "GuardChange", + "nameLocation": "695:11:0", + "nodeType": "EventDefinition", + "parameters": { + "id": 32, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 29, + "indexed": true, + "mutability": "mutable", + "name": "_lastGuardian", + "nameLocation": "723:13:0", + "nodeType": "VariableDeclaration", + "scope": 33, + "src": "707:29:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 28, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "707:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 31, + "indexed": false, + "mutability": "mutable", + "name": "_newGuardian", + "nameLocation": "746:12:0", + "nodeType": "VariableDeclaration", + "scope": 33, + "src": "738:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 30, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "738:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "706:53:0" + }, + "src": "689:71:0" + }, + { + "body": { + "id": 44, + "nodeType": "Block", + "src": "784:82:0", + "statements": [ + { + "expression": { + "id": 39, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 36, + "name": "currentGuardian", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 25, + "src": "795:15:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "expression": { + "id": 37, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "813:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 38, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "813:10:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "795:28:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40, + "nodeType": "ExpressionStatement", + "src": "795:28:0" + }, + { + "expression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 41, + "name": "_setDataStorageAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 131, + "src": "834:22:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", + "typeString": "function ()" + } + }, + "id": 42, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "834:24:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 43, + "nodeType": "ExpressionStatement", + "src": "834:24:0" + } + ] + }, + "id": 45, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 34, + "nodeType": "ParameterList", + "parameters": [], + "src": "781:2:0" + }, + "returnParameters": { + "id": 35, + "nodeType": "ParameterList", + "parameters": [], + "src": "784:0:0" + }, + "scope": 366, + "src": "770:96:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 87, + "nodeType": "Block", + "src": "1155:419:0", + "statements": [ + { + "condition": { + "id": 49, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "1173:12:0", + "subExpression": { + "id": 48, + "name": "storageLive", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 23, + "src": "1174:11:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": { + "id": 84, + "nodeType": "Block", + "src": "1404:151:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "baseExpression": { + "id": 71, + "name": "boolStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 12, + "src": "1431:11:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", + "typeString": "mapping(bytes32 => bool)" + } + }, + "id": 80, + "indexExpression": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f657869737473", + "id": 75, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1470:17:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + "value": "contract_exists" + }, + { + "expression": { + "id": 76, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1489:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 77, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "1489:10:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 73, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1453:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 74, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1453:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 78, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1453:47:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 72, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1443:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 79, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1443:58:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1431:71:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520636f6e7472616374206164647265737320697320696e76616c69642e", + "id": 81, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1504:34:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_52947e86c93a579273e5f21ebf440dc6320ec8caf45ae7affc09187f501ed96f", + "typeString": "literal_string \"The contract address is invalid.\"" + }, + "value": "The contract address is invalid." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_52947e86c93a579273e5f21ebf440dc6320ec8caf45ae7affc09187f501ed96f", + "typeString": "literal_string \"The contract address is invalid.\"" + } + ], + "id": 70, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "1423:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 82, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1423:116:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 83, + "nodeType": "ExpressionStatement", + "src": "1423:116:0" + } + ] + }, + "id": 85, + "nodeType": "IfStatement", + "src": "1170:385:0", + "trueBody": { + "id": 69, + "nodeType": "Block", + "src": "1186:212:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 65, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 54, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 51, + "name": "tx", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967270, + "src": "1213:2:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_transaction", + "typeString": "tx" + } + }, + "id": 52, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "origin", + "nodeType": "MemberAccess", + "src": "1213:9:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "id": 53, + "name": "currentGuardian", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 25, + "src": "1226:15:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "1213:28:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "BinaryOperation", + "operator": "||", + "rightExpression": { + "baseExpression": { + "id": 55, + "name": "boolStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 12, + "src": "1245:11:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", + "typeString": "mapping(bytes32 => bool)" + } + }, + "id": 64, + "indexExpression": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f657869737473", + "id": 59, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1284:17:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + "value": "contract_exists" + }, + { + "expression": { + "id": 60, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1303:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 61, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "1303:10:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 57, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1267:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 58, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1267:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 62, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1267:47:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 56, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1257:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 63, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1257:58:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1245:71:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "src": "1213:103:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520636f6e7472616374206164647265737320697320696e76616c6964206f72207468652063616c6c6572206973206e6f7420616c6c6f7765642e", + "id": 66, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1318:63:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_132f2ac7f00684fc713b6089004d24ae5751920730e7d3972d55c75a1202629d", + "typeString": "literal_string \"The contract address is invalid or the caller is not allowed.\"" + }, + "value": "The contract address is invalid or the caller is not allowed." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_132f2ac7f00684fc713b6089004d24ae5751920730e7d3972d55c75a1202629d", + "typeString": "literal_string \"The contract address is invalid or the caller is not allowed.\"" + } + ], + "id": 50, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "1205:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 67, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1205:177:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 68, + "nodeType": "ExpressionStatement", + "src": "1205:177:0" + } + ] + } + }, + { + "id": 86, + "nodeType": "PlaceholderStatement", + "src": "1565:1:0" + } + ] + }, + "documentation": { + "id": 46, + "nodeType": "StructuredDocumentation", + "src": "874:247:0", + "text": "@notice The guardian needs to store the other Pool contracts within the Bool State tracker before setting the DataStorage contract as live.\n @notice tx.origin is checked only in deployment and pool implementation status. Not operative." + }, + "id": 88, + "name": "onlyByPoolContract", + "nameLocation": "1136:18:0", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 47, + "nodeType": "ParameterList", + "parameters": [], + "src": "1155:0:0" + }, + "src": "1127:447:0", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 130, + "nodeType": "Block", + "src": "1803:317:0", + "statements": [ + { + "assignments": [ + 93 + ], + "declarations": [ + { + "constant": false, + "id": 93, + "mutability": "mutable", + "name": "contractBoolTag", + "nameLocation": "1822:15:0", + "nodeType": "VariableDeclaration", + "scope": 130, + "src": "1814:23:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 92, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1814:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 104, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f657869737473", + "id": 97, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1867:17:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + "value": "contract_exists" + }, + { + "arguments": [ + { + "id": 100, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "1894:4:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorage_$366", + "typeString": "contract DataStorage" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_DataStorage_$366", + "typeString": "contract DataStorage" + } + ], + "id": 99, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1886:7:0", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 98, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1886:7:0", + "typeDescriptions": {} + } + }, + "id": 101, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1886:13:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 95, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1850:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 96, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1850:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 102, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1850:50:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 94, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1840:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 103, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1840:61:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1814:87:0" + }, + { + "assignments": [ + 106 + ], + "declarations": [ + { + "constant": false, + "id": 106, + "mutability": "mutable", + "name": "contractAddressTag", + "nameLocation": "1920:18:0", + "nodeType": "VariableDeclaration", + "scope": 130, + "src": "1912:26:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 105, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1912:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 114, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f61646472657373", + "id": 110, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1968:18:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + "value": "contract_address" + }, + { + "hexValue": "4461746153746f72616765", + "id": 111, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1988:13:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_6a95f73d860151578963d1cbcefed857a2851abc7e709e9d1445f9ae56b69936", + "typeString": "literal_string \"DataStorage\"" + }, + "value": "DataStorage" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + { + "typeIdentifier": "t_stringliteral_6a95f73d860151578963d1cbcefed857a2851abc7e709e9d1445f9ae56b69936", + "typeString": "literal_string \"DataStorage\"" + } + ], + "expression": { + "id": 108, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1951:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 109, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1951:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 112, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1951:51:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 107, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1941:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 113, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1941:62:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1912:91:0" + }, + { + "expression": { + "id": 119, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 115, + "name": "boolStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 12, + "src": "2016:11:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", + "typeString": "mapping(bytes32 => bool)" + } + }, + "id": 117, + "indexExpression": { + "id": 116, + "name": "contractBoolTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 93, + "src": "2028:15:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "2016:28:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "74727565", + "id": 118, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2047:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "src": "2016:35:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 120, + "nodeType": "ExpressionStatement", + "src": "2016:35:0" + }, + { + "expression": { + "id": 128, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 121, + "name": "addressStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2062:14:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$", + "typeString": "mapping(bytes32 => address)" + } + }, + "id": 123, + "indexExpression": { + "id": 122, + "name": "contractAddressTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 106, + "src": "2077:18:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "2062:34:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "id": 126, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "2107:4:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorage_$366", + "typeString": "contract DataStorage" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_DataStorage_$366", + "typeString": "contract DataStorage" + } + ], + "id": 125, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2099:7:0", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 124, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2099:7:0", + "typeDescriptions": {} + } + }, + "id": 127, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2099:13:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "2062:50:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 129, + "nodeType": "ExpressionStatement", + "src": "2062:50:0" + } + ] + }, + "documentation": { + "id": 89, + "nodeType": "StructuredDocumentation", + "src": "1629:126:0", + "text": "@dev Store this contract address and existance on the main storage.\n @notice Called while deploying the contract. " + }, + "id": 131, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_setDataStorageAddress", + "nameLocation": "1770:22:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 90, + "nodeType": "ParameterList", + "parameters": [], + "src": "1792:2:0" + }, + "returnParameters": { + "id": 91, + "nodeType": "ParameterList", + "parameters": [], + "src": "1803:0:0" + }, + "scope": 366, + "src": "1761:359:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "private" + }, + { + "baseFunctions": [ + 373 + ], + "body": { + "id": 138, + "nodeType": "Block", + "src": "2183:37:0", + "statements": [ + { + "expression": { + "id": 136, + "name": "storageLive", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 23, + "src": "2201:11:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "functionReturnParameters": 135, + "id": 137, + "nodeType": "Return", + "src": "2194:18:0" + } + ] + }, + "functionSelector": "545e1b52", + "id": 139, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getStorageStatus", + "nameLocation": "2137:16:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 132, + "nodeType": "ParameterList", + "parameters": [], + "src": "2153:2:0" + }, + "returnParameters": { + "id": 135, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 134, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 139, + "src": "2178:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 133, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2178:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "2177:6:0" + }, + "scope": 366, + "src": "2128:92:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "baseFunctions": [ + 378 + ], + "body": { + "id": 146, + "nodeType": "Block", + "src": "2292:41:0", + "statements": [ + { + "expression": { + "id": 144, + "name": "currentGuardian", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 25, + "src": "2310:15:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "functionReturnParameters": 143, + "id": 145, + "nodeType": "Return", + "src": "2303:22:0" + } + ] + }, + "functionSelector": "0bc169a5", + "id": 147, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getCurrentGuardian", + "nameLocation": "2241:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 140, + "nodeType": "ParameterList", + "parameters": [], + "src": "2259:2:0" + }, + "returnParameters": { + "id": 143, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 142, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 147, + "src": "2284:7:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 141, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2284:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2283:9:0" + }, + "scope": 366, + "src": "2232:101:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "baseFunctions": [ + 383 + ], + "body": { + "id": 164, + "nodeType": "Block", + "src": "2396:140:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 156, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 153, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "2415:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 154, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "2415:10:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "id": 155, + "name": "currentGuardian", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 25, + "src": "2429:15:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "2415:29:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "4f6e6c792063616c6c61626c652062792063757272656e742073746f7261676520677561726469616e2e", + "id": 157, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2446:44:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c65e71e74392281dbebf504580fded1fa14ad5b4df41716468d2547c592bf689", + "typeString": "literal_string \"Only callable by current storage guardian.\"" + }, + "value": "Only callable by current storage guardian." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_c65e71e74392281dbebf504580fded1fa14ad5b4df41716468d2547c592bf689", + "typeString": "literal_string \"Only callable by current storage guardian.\"" + } + ], + "id": 152, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "2407:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 158, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2407:84:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 159, + "nodeType": "ExpressionStatement", + "src": "2407:84:0" + }, + { + "expression": { + "id": 162, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 160, + "name": "newGuardian", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 27, + "src": "2502:11:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 161, + "name": "_newGuardian", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 149, + "src": "2516:12:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "2502:26:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 163, + "nodeType": "ExpressionStatement", + "src": "2502:26:0" + } + ] + }, + "functionSelector": "e87f7c31", + "id": 165, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "setNewGuardian", + "nameLocation": "2350:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 150, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 149, + "mutability": "mutable", + "name": "_newGuardian", + "nameLocation": "2373:12:0", + "nodeType": "VariableDeclaration", + "scope": 165, + "src": "2365:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 148, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2365:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2364:22:0" + }, + "returnParameters": { + "id": 151, + "nodeType": "ParameterList", + "parameters": [], + "src": "2396:0:0" + }, + "scope": 366, + "src": "2341:195:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "baseFunctions": [ + 386 + ], + "body": { + "id": 192, + "nodeType": "Block", + "src": "2577:273:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 172, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 169, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "2596:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 170, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "2596:10:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "id": 171, + "name": "newGuardian", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 27, + "src": "2610:11:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "2596:25:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "4f6e6c792063616c6c61626c6520627920746865206e65772073746f7261676520677561726469616e2e", + "id": 173, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2623:44:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_ab6c1db99cfd8133b9dc0f0da44409600145c9b8c4f323bd12dd9bdb896d82ad", + "typeString": "literal_string \"Only callable by the new storage guardian.\"" + }, + "value": "Only callable by the new storage guardian." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_ab6c1db99cfd8133b9dc0f0da44409600145c9b8c4f323bd12dd9bdb896d82ad", + "typeString": "literal_string \"Only callable by the new storage guardian.\"" + } + ], + "id": 168, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "2588:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 174, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2588:80:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 175, + "nodeType": "ExpressionStatement", + "src": "2588:80:0" + }, + { + "assignments": [ + 177 + ], + "declarations": [ + { + "constant": false, + "id": 177, + "mutability": "mutable", + "name": "oldGuardian", + "nameLocation": "2687:11:0", + "nodeType": "VariableDeclaration", + "scope": 192, + "src": "2679:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 176, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2679:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "id": 179, + "initialValue": { + "id": 178, + "name": "currentGuardian", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 25, + "src": "2701:15:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2679:37:0" + }, + { + "expression": { + "id": 182, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 180, + "name": "currentGuardian", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 25, + "src": "2727:15:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 181, + "name": "newGuardian", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 27, + "src": "2745:11:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "2727:29:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 183, + "nodeType": "ExpressionStatement", + "src": "2727:29:0" + }, + { + "expression": { + "id": 185, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "delete", + "prefix": true, + "src": "2767:18:0", + "subExpression": { + "id": 184, + "name": "newGuardian", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 27, + "src": "2774:11:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 186, + "nodeType": "ExpressionStatement", + "src": "2767:18:0" + }, + { + "eventCall": { + "arguments": [ + { + "id": 188, + "name": "oldGuardian", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 177, + "src": "2813:11:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 189, + "name": "currentGuardian", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 25, + "src": "2826:15:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 187, + "name": "GuardChange", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 33, + "src": "2801:11:0", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$returns$__$", + "typeString": "function (address,address)" + } + }, + "id": 190, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2801:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 191, + "nodeType": "EmitStatement", + "src": "2796:46:0" + } + ] + }, + "functionSelector": "27918182", + "id": 193, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "confirmGuard", + "nameLocation": "2553:12:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 166, + "nodeType": "ParameterList", + "parameters": [], + "src": "2565:2:0" + }, + "returnParameters": { + "id": 167, + "nodeType": "ParameterList", + "parameters": [], + "src": "2577:0:0" + }, + "scope": 366, + "src": "2544:306:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "baseFunctions": [ + 389 + ], + "body": { + "id": 209, + "nodeType": "Block", + "src": "2971:124:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 201, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 198, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "2990:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 199, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "2990:10:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "id": 200, + "name": "currentGuardian", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 25, + "src": "3004:15:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "2990:29:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "4f6e6c792063616c6c61626c652062792063757272656e7420677561726469616e2e", + "id": 202, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3021:36:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c295098e4653db03d2d22453c3eb7ae49307d50964fb5a9a1311d3fef2f9e749", + "typeString": "literal_string \"Only callable by current guardian.\"" + }, + "value": "Only callable by current guardian." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_c295098e4653db03d2d22453c3eb7ae49307d50964fb5a9a1311d3fef2f9e749", + "typeString": "literal_string \"Only callable by current guardian.\"" + } + ], + "id": 197, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "2982:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 203, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2982:76:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 204, + "nodeType": "ExpressionStatement", + "src": "2982:76:0" + }, + { + "expression": { + "id": 207, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 205, + "name": "storageLive", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 23, + "src": "3069:11:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "74727565", + "id": 206, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3083:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "src": "3069:18:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 208, + "nodeType": "ExpressionStatement", + "src": "3069:18:0" + } + ] + }, + "documentation": { + "id": 194, + "nodeType": "StructuredDocumentation", + "src": "2859:71:0", + "text": "@notice Irreversible. Once the storage hub is live, stays that way." + }, + "functionSelector": "66b80832", + "id": 210, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "setStorageLive", + "nameLocation": "2945:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 195, + "nodeType": "ParameterList", + "parameters": [], + "src": "2959:2:0" + }, + "returnParameters": { + "id": 196, + "nodeType": "ParameterList", + "parameters": [], + "src": "2971:0:0" + }, + "scope": 366, + "src": "2936:159:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "baseFunctions": [ + 396 + ], + "body": { + "id": 221, + "nodeType": "Block", + "src": "3220:42:0", + "statements": [ + { + "expression": { + "baseExpression": { + "id": 217, + "name": "uintStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 8, + "src": "3238:11:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", + "typeString": "mapping(bytes32 => uint256)" + } + }, + "id": 219, + "indexExpression": { + "id": 218, + "name": "_id", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 212, + "src": "3250:3:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3238:16:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 216, + "id": 220, + "nodeType": "Return", + "src": "3231:23:0" + } + ] + }, + "functionSelector": "afc3602b", + "id": 222, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getUintStorage", + "nameLocation": "3162:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 213, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 212, + "mutability": "mutable", + "name": "_id", + "nameLocation": "3185:3:0", + "nodeType": "VariableDeclaration", + "scope": 222, + "src": "3177:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 211, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3177:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "3176:13:0" + }, + "returnParameters": { + "id": 216, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 215, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 222, + "src": "3212:7:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 214, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3212:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3211:9:0" + }, + "scope": 366, + "src": "3153:109:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "baseFunctions": [ + 403 + ], + "body": { + "id": 233, + "nodeType": "Block", + "src": "3334:42:0", + "statements": [ + { + "expression": { + "baseExpression": { + "id": 229, + "name": "boolStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 12, + "src": "3352:11:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", + "typeString": "mapping(bytes32 => bool)" + } + }, + "id": 231, + "indexExpression": { + "id": 230, + "name": "_id", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 224, + "src": "3364:3:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3352:16:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "functionReturnParameters": 228, + "id": 232, + "nodeType": "Return", + "src": "3345:23:0" + } + ] + }, + "functionSelector": "55d94655", + "id": 234, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getBoolStorage", + "nameLocation": "3279:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 225, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 224, + "mutability": "mutable", + "name": "_id", + "nameLocation": "3302:3:0", + "nodeType": "VariableDeclaration", + "scope": 234, + "src": "3294:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 223, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3294:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "3293:13:0" + }, + "returnParameters": { + "id": 228, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 227, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 234, + "src": "3329:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 226, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "3329:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "3328:6:0" + }, + "scope": 366, + "src": "3270:106:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "baseFunctions": [ + 410 + ], + "body": { + "id": 245, + "nodeType": "Block", + "src": "3454:45:0", + "statements": [ + { + "expression": { + "baseExpression": { + "id": 241, + "name": "addressStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "3472:14:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$", + "typeString": "mapping(bytes32 => address)" + } + }, + "id": 243, + "indexExpression": { + "id": 242, + "name": "_id", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 236, + "src": "3487:3:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3472:19:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "functionReturnParameters": 240, + "id": 244, + "nodeType": "Return", + "src": "3465:26:0" + } + ] + }, + "functionSelector": "2a90bbb2", + "id": 246, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getAddressStorage", + "nameLocation": "3393:17:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 237, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 236, + "mutability": "mutable", + "name": "_id", + "nameLocation": "3419:3:0", + "nodeType": "VariableDeclaration", + "scope": 246, + "src": "3411:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 235, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3411:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "3410:13:0" + }, + "returnParameters": { + "id": 240, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 239, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 246, + "src": "3446:7:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 238, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3446:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "3445:9:0" + }, + "scope": 366, + "src": "3384:115:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "baseFunctions": [ + 417 + ], + "body": { + "id": 261, + "nodeType": "Block", + "src": "3646:44:0", + "statements": [ + { + "expression": { + "id": 259, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 255, + "name": "uintStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 8, + "src": "3657:11:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", + "typeString": "mapping(bytes32 => uint256)" + } + }, + "id": 257, + "indexExpression": { + "id": 256, + "name": "_id", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 248, + "src": "3669:3:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "3657:16:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 258, + "name": "_value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 250, + "src": "3676:6:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "3657:25:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 260, + "nodeType": "ExpressionStatement", + "src": "3657:25:0" + } + ] + }, + "functionSelector": "28192c55", + "id": 262, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "id": 253, + "kind": "modifierInvocation", + "modifierName": { + "id": 252, + "name": "onlyByPoolContract", + "nodeType": "IdentifierPath", + "referencedDeclaration": 88, + "src": "3628:18:0" + }, + "nodeType": "ModifierInvocation", + "src": "3628:18:0" + } + ], + "name": "setUintStorage", + "nameLocation": "3575:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 251, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 248, + "mutability": "mutable", + "name": "_id", + "nameLocation": "3598:3:0", + "nodeType": "VariableDeclaration", + "scope": 262, + "src": "3590:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 247, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3590:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 250, + "mutability": "mutable", + "name": "_value", + "nameLocation": "3611:6:0", + "nodeType": "VariableDeclaration", + "scope": 262, + "src": "3603:14:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 249, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3603:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3589:29:0" + }, + "returnParameters": { + "id": 254, + "nodeType": "ParameterList", + "parameters": [], + "src": "3646:0:0" + }, + "scope": 366, + "src": "3566:124:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "baseFunctions": [ + 438 + ], + "body": { + "id": 277, + "nodeType": "Block", + "src": "3787:49:0", + "statements": [ + { + "expression": { + "id": 275, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 271, + "name": "uintStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 8, + "src": "3798:11:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", + "typeString": "mapping(bytes32 => uint256)" + } + }, + "id": 273, + "indexExpression": { + "id": 272, + "name": "_id", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 264, + "src": "3810:3:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "3798:16:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "id": 274, + "name": "_increment", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 266, + "src": "3818:10:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "3798:30:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 276, + "nodeType": "ExpressionStatement", + "src": "3798:30:0" + } + ] + }, + "functionSelector": "1d8895e0", + "id": 278, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "id": 269, + "kind": "modifierInvocation", + "modifierName": { + "id": 268, + "name": "onlyByPoolContract", + "nodeType": "IdentifierPath", + "referencedDeclaration": 88, + "src": "3769:18:0" + }, + "nodeType": "ModifierInvocation", + "src": "3769:18:0" + } + ], + "name": "increaseUintStorage", + "nameLocation": "3707:19:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 267, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 264, + "mutability": "mutable", + "name": "_id", + "nameLocation": "3735:3:0", + "nodeType": "VariableDeclaration", + "scope": 278, + "src": "3727:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 263, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3727:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 266, + "mutability": "mutable", + "name": "_increment", + "nameLocation": "3748:10:0", + "nodeType": "VariableDeclaration", + "scope": 278, + "src": "3740:18:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 265, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3740:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3726:33:0" + }, + "returnParameters": { + "id": 270, + "nodeType": "ParameterList", + "parameters": [], + "src": "3787:0:0" + }, + "scope": 366, + "src": "3698:138:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "baseFunctions": [ + 445 + ], + "body": { + "id": 293, + "nodeType": "Block", + "src": "3937:49:0", + "statements": [ + { + "expression": { + "id": 291, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 287, + "name": "uintStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 8, + "src": "3948:11:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", + "typeString": "mapping(bytes32 => uint256)" + } + }, + "id": 289, + "indexExpression": { + "id": 288, + "name": "_id", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 280, + "src": "3960:3:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "3948:16:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "-=", + "rightHandSide": { + "id": 290, + "name": "_decrement", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 282, + "src": "3968:10:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "3948:30:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 292, + "nodeType": "ExpressionStatement", + "src": "3948:30:0" + } + ] + }, + "functionSelector": "5bcfee67", + "id": 294, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "id": 285, + "kind": "modifierInvocation", + "modifierName": { + "id": 284, + "name": "onlyByPoolContract", + "nodeType": "IdentifierPath", + "referencedDeclaration": 88, + "src": "3919:18:0" + }, + "nodeType": "ModifierInvocation", + "src": "3919:18:0" + } + ], + "name": "decreaseUintStorage", + "nameLocation": "3857:19:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 283, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 280, + "mutability": "mutable", + "name": "_id", + "nameLocation": "3885:3:0", + "nodeType": "VariableDeclaration", + "scope": 294, + "src": "3877:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 279, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3877:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 282, + "mutability": "mutable", + "name": "_decrement", + "nameLocation": "3898:10:0", + "nodeType": "VariableDeclaration", + "scope": 294, + "src": "3890:18:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 281, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3890:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3876:33:0" + }, + "returnParameters": { + "id": 286, + "nodeType": "ParameterList", + "parameters": [], + "src": "3937:0:0" + }, + "scope": 366, + "src": "3848:138:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "baseFunctions": [ + 424 + ], + "body": { + "id": 309, + "nodeType": "Block", + "src": "4081:44:0", + "statements": [ + { + "expression": { + "id": 307, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 303, + "name": "boolStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 12, + "src": "4092:11:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", + "typeString": "mapping(bytes32 => bool)" + } + }, + "id": 305, + "indexExpression": { + "id": 304, + "name": "_id", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 296, + "src": "4104:3:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "4092:16:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 306, + "name": "_value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 298, + "src": "4111:6:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "src": "4092:25:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 308, + "nodeType": "ExpressionStatement", + "src": "4092:25:0" + } + ] + }, + "functionSelector": "988c515b", + "id": 310, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "id": 301, + "kind": "modifierInvocation", + "modifierName": { + "id": 300, + "name": "onlyByPoolContract", + "nodeType": "IdentifierPath", + "referencedDeclaration": 88, + "src": "4063:18:0" + }, + "nodeType": "ModifierInvocation", + "src": "4063:18:0" + } + ], + "name": "setBoolStorage", + "nameLocation": "4013:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 299, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 296, + "mutability": "mutable", + "name": "_id", + "nameLocation": "4036:3:0", + "nodeType": "VariableDeclaration", + "scope": 310, + "src": "4028:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 295, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4028:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 298, + "mutability": "mutable", + "name": "_value", + "nameLocation": "4046:6:0", + "nodeType": "VariableDeclaration", + "scope": 310, + "src": "4041:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 297, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "4041:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "4027:26:0" + }, + "returnParameters": { + "id": 302, + "nodeType": "ParameterList", + "parameters": [], + "src": "4081:0:0" + }, + "scope": 366, + "src": "4004:121:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "baseFunctions": [ + 431 + ], + "body": { + "id": 325, + "nodeType": "Block", + "src": "4220:47:0", + "statements": [ + { + "expression": { + "id": 323, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 319, + "name": "addressStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "4231:14:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$", + "typeString": "mapping(bytes32 => address)" + } + }, + "id": 321, + "indexExpression": { + "id": 320, + "name": "_id", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 312, + "src": "4246:3:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "4231:19:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 322, + "name": "_value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 314, + "src": "4253:6:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "4231:28:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 324, + "nodeType": "ExpressionStatement", + "src": "4231:28:0" + } + ] + }, + "functionSelector": "7221263a", + "id": 326, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "id": 317, + "kind": "modifierInvocation", + "modifierName": { + "id": 316, + "name": "onlyByPoolContract", + "nodeType": "IdentifierPath", + "referencedDeclaration": 88, + "src": "4202:18:0" + }, + "nodeType": "ModifierInvocation", + "src": "4202:18:0" + } + ], + "name": "setAddressStorage", + "nameLocation": "4146:17:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 315, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 312, + "mutability": "mutable", + "name": "_id", + "nameLocation": "4172:3:0", + "nodeType": "VariableDeclaration", + "scope": 326, + "src": "4164:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 311, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4164:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 314, + "mutability": "mutable", + "name": "_value", + "nameLocation": "4185:6:0", + "nodeType": "VariableDeclaration", + "scope": 326, + "src": "4177:14:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 313, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4177:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "4163:29:0" + }, + "returnParameters": { + "id": 318, + "nodeType": "ParameterList", + "parameters": [], + "src": "4220:0:0" + }, + "scope": 366, + "src": "4137:130:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "baseFunctions": [ + 450 + ], + "body": { + "id": 338, + "nodeType": "Block", + "src": "4393:42:0", + "statements": [ + { + "expression": { + "id": 336, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "delete", + "prefix": true, + "src": "4404:23:0", + "subExpression": { + "baseExpression": { + "id": 333, + "name": "uintStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 8, + "src": "4411:11:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", + "typeString": "mapping(bytes32 => uint256)" + } + }, + "id": 335, + "indexExpression": { + "id": 334, + "name": "_id", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 328, + "src": "4423:3:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "4411:16:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 337, + "nodeType": "ExpressionStatement", + "src": "4404:23:0" + } + ] + }, + "functionSelector": "8a2c6738", + "id": 339, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "id": 331, + "kind": "modifierInvocation", + "modifierName": { + "id": 330, + "name": "onlyByPoolContract", + "nodeType": "IdentifierPath", + "referencedDeclaration": 88, + "src": "4375:18:0" + }, + "nodeType": "ModifierInvocation", + "src": "4375:18:0" + } + ], + "name": "deleteUintStorage", + "nameLocation": "4335:17:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 329, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 328, + "mutability": "mutable", + "name": "_id", + "nameLocation": "4361:3:0", + "nodeType": "VariableDeclaration", + "scope": 339, + "src": "4353:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 327, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4353:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "4352:13:0" + }, + "returnParameters": { + "id": 332, + "nodeType": "ParameterList", + "parameters": [], + "src": "4393:0:0" + }, + "scope": 366, + "src": "4326:109:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "baseFunctions": [ + 455 + ], + "body": { + "id": 351, + "nodeType": "Block", + "src": "4518:42:0", + "statements": [ + { + "expression": { + "id": 349, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "delete", + "prefix": true, + "src": "4529:23:0", + "subExpression": { + "baseExpression": { + "id": 346, + "name": "boolStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 12, + "src": "4536:11:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", + "typeString": "mapping(bytes32 => bool)" + } + }, + "id": 348, + "indexExpression": { + "id": 347, + "name": "_id", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 341, + "src": "4548:3:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "4536:16:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 350, + "nodeType": "ExpressionStatement", + "src": "4529:23:0" + } + ] + }, + "functionSelector": "b240da3f", + "id": 352, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "id": 344, + "kind": "modifierInvocation", + "modifierName": { + "id": 343, + "name": "onlyByPoolContract", + "nodeType": "IdentifierPath", + "referencedDeclaration": 88, + "src": "4500:18:0" + }, + "nodeType": "ModifierInvocation", + "src": "4500:18:0" + } + ], + "name": "deleteBoolStorage", + "nameLocation": "4460:17:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 342, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 341, + "mutability": "mutable", + "name": "_id", + "nameLocation": "4486:3:0", + "nodeType": "VariableDeclaration", + "scope": 352, + "src": "4478:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 340, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4478:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "4477:13:0" + }, + "returnParameters": { + "id": 345, + "nodeType": "ParameterList", + "parameters": [], + "src": "4518:0:0" + }, + "scope": 366, + "src": "4451:109:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "baseFunctions": [ + 460 + ], + "body": { + "id": 364, + "nodeType": "Block", + "src": "4642:45:0", + "statements": [ + { + "expression": { + "id": 362, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "delete", + "prefix": true, + "src": "4653:26:0", + "subExpression": { + "baseExpression": { + "id": 359, + "name": "addressStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "4660:14:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$", + "typeString": "mapping(bytes32 => address)" + } + }, + "id": 361, + "indexExpression": { + "id": 360, + "name": "_id", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 354, + "src": "4675:3:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "4660:19:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 363, + "nodeType": "ExpressionStatement", + "src": "4653:26:0" + } + ] + }, + "functionSelector": "e732da72", + "id": 365, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "id": 357, + "kind": "modifierInvocation", + "modifierName": { + "id": 356, + "name": "onlyByPoolContract", + "nodeType": "IdentifierPath", + "referencedDeclaration": 88, + "src": "4624:18:0" + }, + "nodeType": "ModifierInvocation", + "src": "4624:18:0" + } + ], + "name": "deleteAddressStorage", + "nameLocation": "4581:20:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 355, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 354, + "mutability": "mutable", + "name": "_id", + "nameLocation": "4610:3:0", + "nodeType": "VariableDeclaration", + "scope": 365, + "src": "4602:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 353, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4602:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "4601:13:0" + }, + "returnParameters": { + "id": 358, + "nodeType": "ParameterList", + "parameters": [], + "src": "4642:0:0" + }, + "scope": 366, + "src": "4572:115:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + } + ], + "scope": 367, + "src": "253:4446:0", + "usedErrors": [] + } + ], + "src": "33:4666:0" + }, + "id": 0 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol", + "exportedSymbols": { + "DataStorageInterface": [ + 461 + ] + }, + "id": 462, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 368, + "literals": [ + "solidity", + "0.8", + ".9" + ], + "nodeType": "PragmaDirective", + "src": "33:22:1" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "DataStorageInterface", + "contractDependencies": [], + "contractKind": "interface", + "fullyImplemented": false, + "id": 461, + "linearizedBaseContracts": [ + 461 + ], + "name": "DataStorageInterface", + "nameLocation": "69:20:1", + "nodeType": "ContractDefinition", + "nodes": [ + { + "functionSelector": "545e1b52", + "id": 373, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getStorageStatus", + "nameLocation": "155:16:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 369, + "nodeType": "ParameterList", + "parameters": [], + "src": "171:2:1" + }, + "returnParameters": { + "id": 372, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 371, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 373, + "src": "196:4:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 370, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "196:4:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "195:6:1" + }, + "scope": 461, + "src": "146:56:1", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "0bc169a5", + "id": 378, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getCurrentGuardian", + "nameLocation": "217:18:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 374, + "nodeType": "ParameterList", + "parameters": [], + "src": "235:2:1" + }, + "returnParameters": { + "id": 377, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 376, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 378, + "src": "260:7:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 375, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "260:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "259:9:1" + }, + "scope": 461, + "src": "208:61:1", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "e87f7c31", + "id": 383, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setNewGuardian", + "nameLocation": "284:14:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 381, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 380, + "mutability": "mutable", + "name": "_newGuardian", + "nameLocation": "307:12:1", + "nodeType": "VariableDeclaration", + "scope": 383, + "src": "299:20:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 379, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "299:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "298:22:1" + }, + "returnParameters": { + "id": 382, + "nodeType": "ParameterList", + "parameters": [], + "src": "329:0:1" + }, + "scope": 461, + "src": "275:55:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "27918182", + "id": 386, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "confirmGuard", + "nameLocation": "345:12:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 384, + "nodeType": "ParameterList", + "parameters": [], + "src": "357:2:1" + }, + "returnParameters": { + "id": 385, + "nodeType": "ParameterList", + "parameters": [], + "src": "368:0:1" + }, + "scope": 461, + "src": "336:33:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "66b80832", + "id": 389, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setStorageLive", + "nameLocation": "384:14:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 387, + "nodeType": "ParameterList", + "parameters": [], + "src": "398:2:1" + }, + "returnParameters": { + "id": 388, + "nodeType": "ParameterList", + "parameters": [], + "src": "409:0:1" + }, + "scope": 461, + "src": "375:35:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "afc3602b", + "id": 396, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getUintStorage", + "nameLocation": "474:14:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 392, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 391, + "mutability": "mutable", + "name": "_id", + "nameLocation": "497:3:1", + "nodeType": "VariableDeclaration", + "scope": 396, + "src": "489:11:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 390, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "489:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "488:13:1" + }, + "returnParameters": { + "id": 395, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 394, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 396, + "src": "524:7:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 393, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "524:7:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "523:9:1" + }, + "scope": 461, + "src": "465:68:1", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "55d94655", + "id": 403, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getBoolStorage", + "nameLocation": "548:14:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 399, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 398, + "mutability": "mutable", + "name": "_id", + "nameLocation": "571:3:1", + "nodeType": "VariableDeclaration", + "scope": 403, + "src": "563:11:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 397, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "563:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "562:13:1" + }, + "returnParameters": { + "id": 402, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 401, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 403, + "src": "598:4:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 400, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "598:4:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "597:6:1" + }, + "scope": 461, + "src": "539:65:1", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "2a90bbb2", + "id": 410, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getAddressStorage", + "nameLocation": "619:17:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 406, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 405, + "mutability": "mutable", + "name": "_id", + "nameLocation": "645:3:1", + "nodeType": "VariableDeclaration", + "scope": 410, + "src": "637:11:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 404, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "637:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "636:13:1" + }, + "returnParameters": { + "id": 409, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 408, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 410, + "src": "672:7:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 407, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "672:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "671:9:1" + }, + "scope": 461, + "src": "610:71:1", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "28192c55", + "id": 417, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setUintStorage", + "nameLocation": "745:14:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 415, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 412, + "mutability": "mutable", + "name": "_id", + "nameLocation": "768:3:1", + "nodeType": "VariableDeclaration", + "scope": 417, + "src": "760:11:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 411, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "760:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 414, + "mutability": "mutable", + "name": "_value", + "nameLocation": "781:6:1", + "nodeType": "VariableDeclaration", + "scope": 417, + "src": "773:14:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 413, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "773:7:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "759:29:1" + }, + "returnParameters": { + "id": 416, + "nodeType": "ParameterList", + "parameters": [], + "src": "797:0:1" + }, + "scope": 461, + "src": "736:62:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "988c515b", + "id": 424, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setBoolStorage", + "nameLocation": "813:14:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 422, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 419, + "mutability": "mutable", + "name": "_id", + "nameLocation": "836:3:1", + "nodeType": "VariableDeclaration", + "scope": 424, + "src": "828:11:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 418, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "828:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 421, + "mutability": "mutable", + "name": "_value", + "nameLocation": "846:6:1", + "nodeType": "VariableDeclaration", + "scope": 424, + "src": "841:11:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 420, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "841:4:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "827:26:1" + }, + "returnParameters": { + "id": 423, + "nodeType": "ParameterList", + "parameters": [], + "src": "862:0:1" + }, + "scope": 461, + "src": "804:59:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "7221263a", + "id": 431, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setAddressStorage", + "nameLocation": "878:17:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 429, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 426, + "mutability": "mutable", + "name": "_id", + "nameLocation": "904:3:1", + "nodeType": "VariableDeclaration", + "scope": 431, + "src": "896:11:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 425, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "896:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 428, + "mutability": "mutable", + "name": "_value", + "nameLocation": "917:6:1", + "nodeType": "VariableDeclaration", + "scope": 431, + "src": "909:14:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 427, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "909:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "895:29:1" + }, + "returnParameters": { + "id": 430, + "nodeType": "ParameterList", + "parameters": [], + "src": "933:0:1" + }, + "scope": 461, + "src": "869:65:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "1d8895e0", + "id": 438, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "increaseUintStorage", + "nameLocation": "950:19:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 436, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 433, + "mutability": "mutable", + "name": "_id", + "nameLocation": "978:3:1", + "nodeType": "VariableDeclaration", + "scope": 438, + "src": "970:11:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 432, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "970:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 435, + "mutability": "mutable", + "name": "_increment", + "nameLocation": "991:10:1", + "nodeType": "VariableDeclaration", + "scope": 438, + "src": "983:18:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 434, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "983:7:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "969:33:1" + }, + "returnParameters": { + "id": 437, + "nodeType": "ParameterList", + "parameters": [], + "src": "1011:0:1" + }, + "scope": 461, + "src": "941:71:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "5bcfee67", + "id": 445, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "decreaseUintStorage", + "nameLocation": "1027:19:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 443, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 440, + "mutability": "mutable", + "name": "_id", + "nameLocation": "1055:3:1", + "nodeType": "VariableDeclaration", + "scope": 445, + "src": "1047:11:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 439, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1047:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 442, + "mutability": "mutable", + "name": "_decrement", + "nameLocation": "1068:10:1", + "nodeType": "VariableDeclaration", + "scope": 445, + "src": "1060:18:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 441, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1060:7:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1046:33:1" + }, + "returnParameters": { + "id": 444, + "nodeType": "ParameterList", + "parameters": [], + "src": "1088:0:1" + }, + "scope": 461, + "src": "1018:71:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "8a2c6738", + "id": 450, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "deleteUintStorage", + "nameLocation": "1162:17:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 448, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 447, + "mutability": "mutable", + "name": "_id", + "nameLocation": "1188:3:1", + "nodeType": "VariableDeclaration", + "scope": 450, + "src": "1180:11:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 446, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1180:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "1179:13:1" + }, + "returnParameters": { + "id": 449, + "nodeType": "ParameterList", + "parameters": [], + "src": "1201:0:1" + }, + "scope": 461, + "src": "1153:49:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "b240da3f", + "id": 455, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "deleteBoolStorage", + "nameLocation": "1217:17:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 453, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 452, + "mutability": "mutable", + "name": "_id", + "nameLocation": "1243:3:1", + "nodeType": "VariableDeclaration", + "scope": 455, + "src": "1235:11:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 451, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1235:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "1234:13:1" + }, + "returnParameters": { + "id": 454, + "nodeType": "ParameterList", + "parameters": [], + "src": "1256:0:1" + }, + "scope": 461, + "src": "1208:49:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "e732da72", + "id": 460, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "deleteAddressStorage", + "nameLocation": "1272:20:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 458, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 457, + "mutability": "mutable", + "name": "_id", + "nameLocation": "1301:3:1", + "nodeType": "VariableDeclaration", + "scope": 460, + "src": "1293:11:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 456, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1293:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "1292:13:1" + }, + "returnParameters": { + "id": 459, + "nodeType": "ParameterList", + "parameters": [], + "src": "1314:0:1" + }, + "scope": 461, + "src": "1263:52:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + } + ], + "scope": 462, + "src": "59:1261:1", + "usedErrors": [] + } + ], + "src": "33:1287:1" + }, + "id": 1 + } + } +} \ No newline at end of file diff --git a/bin/contracts/DataStorage.abi b/bin/contracts/DataStorage.abi new file mode 100644 index 00000000..46a64ac3 --- /dev/null +++ b/bin/contracts/DataStorage.abi @@ -0,0 +1 @@ +[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_lastGuardian","type":"address"},{"indexed":false,"internalType":"address","name":"_newGuardian","type":"address"}],"name":"GuardChange","type":"event"},{"inputs":[],"name":"confirmGuard","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_id","type":"bytes32"},{"internalType":"uint256","name":"_decrement","type":"uint256"}],"name":"decreaseUintStorage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_id","type":"bytes32"}],"name":"deleteAddressStorage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_id","type":"bytes32"}],"name":"deleteBoolStorage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_id","type":"bytes32"}],"name":"deleteUintStorage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_id","type":"bytes32"}],"name":"getAddressStorage","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_id","type":"bytes32"}],"name":"getBoolStorage","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentGuardian","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getStorageStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_id","type":"bytes32"}],"name":"getUintStorage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_id","type":"bytes32"},{"internalType":"uint256","name":"_increment","type":"uint256"}],"name":"increaseUintStorage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_id","type":"bytes32"},{"internalType":"address","name":"_value","type":"address"}],"name":"setAddressStorage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_id","type":"bytes32"},{"internalType":"bool","name":"_value","type":"bool"}],"name":"setBoolStorage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newGuardian","type":"address"}],"name":"setNewGuardian","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStorageLive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_id","type":"bytes32"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"setUintStorage","outputs":[],"stateMutability":"nonpayable","type":"function"}] \ No newline at end of file diff --git a/bin/contracts/DataStorage.bin b/bin/contracts/DataStorage.bin new file mode 100644 index 00000000..97028efc --- /dev/null +++ b/bin/contracts/DataStorage.bin @@ -0,0 +1 @@ +60806040526004805460ff1916905534801561001a57600080fd5b5060048054610100600160a81b031916336101000217905561003a61003f565b610114565b6040516e636f6e74726163745f65786973747360881b60208201526001600160601b03193060601b16602f82015260009060430160405160208183030381529060405280519060200120905060006040516020016100c7906f636f6e74726163745f6164647265737360801b81526a4461746153746f7261676560a81b6010820152601b0190565b60408051601f19818403018152918152815160209283012060009485526001808452828620805460ff191690911790558452600290915290912080546001600160a01b0319163017905550565b610e70806101236000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806366b8083211610097578063afc3602b11610066578063afc3602b1461021b578063b240da3f14610249578063e732da721461025c578063e87f7c311461026f57600080fd5b806366b80832146101da5780637221263a146101e25780638a2c6738146101f5578063988c515b1461020857600080fd5b80632a90bbb2116100d35780632a90bbb214610164578063545e1b521461018d57806355d94655146101a45780635bcfee67146101c757600080fd5b80630bc169a5146101055780631d8895e014610134578063279181821461014957806328192c5514610151575b600080fd5b60045461010090046001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b610147610142366004610c54565b610282565b005b61014761038f565b61014761015f366004610c54565b610477565b610117610172366004610c76565b6000908152600260205260409020546001600160a01b031690565b60045460ff165b604051901515815260200161012b565b6101946101b2366004610c76565b60009081526001602052604090205460ff1690565b6101476101d5366004610c54565b610566565b610147610661565b6101476101f0366004610cab565b6106da565b610147610203366004610c76565b6107e5565b610147610216366004610cd7565b6108d3565b61023b610229366004610c76565b60009081526020819052604090205490565b60405190815260200161012b565b610147610257366004610c76565b6109d0565b61014761026a366004610c76565b610ac5565b61014761027d366004610d0c565b610bc0565b60045460ff1661030e5760045461010090046001600160a01b03163214806102e4575060016000336040516020016102ba9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b6103095760405162461bcd60e51b815260040161030090610d63565b60405180910390fd5b610368565b60016000336040516020016103239190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff166103685760405162461bcd60e51b815260040161030090610dc0565b60008281526020819052604081208054839290610386908490610e0b565b90915550505050565b6005546001600160a01b031633146103fc5760405162461bcd60e51b815260206004820152602a60248201527f4f6e6c792063616c6c61626c6520627920746865206e65772073746f726167656044820152691033bab0b93234b0b71760b11b6064820152608401610300565b60048054600580546001600160a01b03808216610100908102610100600160a81b0319861617958690556001600160a01b03199092169092556040519381900482168452909104169081907fcdf51e8aec8da23ef7cd2b923d5755a017ffc21e01d7ddcb89cb771a7c2b66f79060200160405180910390a250565b60045460ff166104fa5760045461010090046001600160a01b03163214806104d9575060016000336040516020016104af9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b6104f55760405162461bcd60e51b815260040161030090610d63565b610554565b600160003360405160200161050f9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff166105545760405162461bcd60e51b815260040161030090610dc0565b60009182526020829052604090912055565b60045460ff166105e95760045461010090046001600160a01b03163214806105c85750600160003360405160200161059e9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b6105e45760405162461bcd60e51b815260040161030090610d63565b610643565b60016000336040516020016105fe9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff166106435760405162461bcd60e51b815260040161030090610dc0565b60008281526020819052604081208054839290610386908490610e23565b60045461010090046001600160a01b031633146106cb5760405162461bcd60e51b815260206004820152602260248201527f4f6e6c792063616c6c61626c652062792063757272656e742067756172646961604482015261371760f11b6064820152608401610300565b6004805460ff19166001179055565b60045460ff1661075d5760045461010090046001600160a01b031632148061073c575060016000336040516020016107129190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b6107585760405162461bcd60e51b815260040161030090610d63565b6107b7565b60016000336040516020016107729190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff166107b75760405162461bcd60e51b815260040161030090610dc0565b60009182526002602052604090912080546001600160a01b0319166001600160a01b03909216919091179055565b60045460ff166108685760045461010090046001600160a01b03163214806108475750600160003360405160200161081d9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b6108635760405162461bcd60e51b815260040161030090610d63565b6108c2565b600160003360405160200161087d9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff166108c25760405162461bcd60e51b815260040161030090610dc0565b600090815260208190526040812055565b60045460ff166109565760045461010090046001600160a01b03163214806109355750600160003360405160200161090b9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b6109515760405162461bcd60e51b815260040161030090610d63565b6109b0565b600160003360405160200161096b9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff166109b05760405162461bcd60e51b815260040161030090610dc0565b600091825260016020526040909120805460ff1916911515919091179055565b60045460ff16610a535760045461010090046001600160a01b0316321480610a3257506001600033604051602001610a089190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b610a4e5760405162461bcd60e51b815260040161030090610d63565b610aad565b6001600033604051602001610a689190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff16610aad5760405162461bcd60e51b815260040161030090610dc0565b6000908152600160205260409020805460ff19169055565b60045460ff16610b485760045461010090046001600160a01b0316321480610b2757506001600033604051602001610afd9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b610b435760405162461bcd60e51b815260040161030090610d63565b610ba2565b6001600033604051602001610b5d9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff16610ba25760405162461bcd60e51b815260040161030090610dc0565b600090815260026020526040902080546001600160a01b0319169055565b60045461010090046001600160a01b03163314610c325760405162461bcd60e51b815260206004820152602a60248201527f4f6e6c792063616c6c61626c652062792063757272656e742073746f726167656044820152691033bab0b93234b0b71760b11b6064820152608401610300565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b60008060408385031215610c6757600080fd5b50508035926020909101359150565b600060208284031215610c8857600080fd5b5035919050565b80356001600160a01b0381168114610ca657600080fd5b919050565b60008060408385031215610cbe57600080fd5b82359150610cce60208401610c8f565b90509250929050565b60008060408385031215610cea57600080fd5b8235915060208301358015158114610d0157600080fd5b809150509250929050565b600060208284031215610d1e57600080fd5b610d2782610c8f565b9392505050565b6e636f6e74726163745f65786973747360881b815260609190911b6bffffffffffffffffffffffff1916600f82015260230190565b6020808252603d908201527f54686520636f6e7472616374206164647265737320697320696e76616c69642060408201527f6f72207468652063616c6c6572206973206e6f7420616c6c6f7765642e000000606082015260800190565b6020808252818101527f54686520636f6e7472616374206164647265737320697320696e76616c69642e604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115610e1e57610e1e610df5565b500190565b600082821015610e3557610e35610df5565b50039056fea26469706673582212209e8760b387dd9253def9d468c037bd9bbd5acee8f5ce023297eb95f714844eba64736f6c63430008090033 \ No newline at end of file diff --git a/bin/contracts/DataStorage.json b/bin/contracts/DataStorage.json new file mode 100644 index 00000000..18a60a42 --- /dev/null +++ b/bin/contracts/DataStorage.json @@ -0,0 +1,4700 @@ +{ + "contractName": "DataStorage", + "abi": [ + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_lastGuardian", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "_newGuardian", + "type": "address" + } + ], + "name": "GuardChange", + "type": "event" + }, + { + "inputs": [], + "name": "confirmGuard", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_decrement", + "type": "uint256" + } + ], + "name": "decreaseUintStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "deleteAddressStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "deleteBoolStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "deleteUintStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getAddressStorage", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getBoolStorage", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getCurrentGuardian", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getStorageStatus", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getUintStorage", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_increment", + "type": "uint256" + } + ], + "name": "increaseUintStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_value", + "type": "address" + } + ], + "name": "setAddressStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bool", + "name": "_value", + "type": "bool" + } + ], + "name": "setBoolStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_newGuardian", + "type": "address" + } + ], + "name": "setNewGuardian", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "setStorageLive", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "setUintStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_lastGuardian\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_newGuardian\",\"type\":\"address\"}],\"name\":\"GuardChange\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"confirmGuard\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_decrement\",\"type\":\"uint256\"}],\"name\":\"decreaseUintStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"deleteAddressStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"deleteBoolStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"deleteUintStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"getAddressStorage\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"getBoolStorage\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCurrentGuardian\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getStorageStatus\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"getUintStorage\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_increment\",\"type\":\"uint256\"}],\"name\":\"increaseUintStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_value\",\"type\":\"address\"}],\"name\":\"setAddressStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"_value\",\"type\":\"bool\"}],\"name\":\"setBoolStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newGuardian\",\"type\":\"address\"}],\"name\":\"setNewGuardian\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"setStorageLive\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"setUintStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"setStorageLive()\":{\"notice\":\"Irreversible. Once the storage hub is live, stays that way.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/DataStorage.sol\":\"DataStorage\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/DataStorage.sol\":{\"keccak256\":\"0x799078afa179cdf381dd8e7b8719d853c1c6923ce89b3a44476affe104d92a3c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://840f177d2227aaa077d44cf9ed5f9bef39d9de7d57c7d64a73655b99e2612125\",\"dweb:/ipfs/QmaZZ59eXeMV2R6HZ5uHhVxnexHxCe9a4Q5ctvmViUaDhs\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol\":{\"keccak256\":\"0x7186846fb3a68ed840531cc667d084c22f736d7df0c985ed54d85c9ffd59c91f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6d3544aa6cf23f73e2388f515b0117f100d97d5608f5c7f9174431e0544f2993\",\"dweb:/ipfs/QmXR3togkFB77Mt2ew3xswxpFSTwhnJHicXQoaTqNi6ZUf\"]}},\"version\":1}", + "bytecode": "60806040526004805460ff1916905534801561001a57600080fd5b5060048054610100600160a81b031916336101000217905561003a61003f565b610114565b6040516e636f6e74726163745f65786973747360881b60208201526001600160601b03193060601b16602f82015260009060430160405160208183030381529060405280519060200120905060006040516020016100c7906f636f6e74726163745f6164647265737360801b81526a4461746153746f7261676560a81b6010820152601b0190565b60408051601f19818403018152918152815160209283012060009485526001808452828620805460ff191690911790558452600290915290912080546001600160a01b0319163017905550565b610e70806101236000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806366b8083211610097578063afc3602b11610066578063afc3602b1461021b578063b240da3f14610249578063e732da721461025c578063e87f7c311461026f57600080fd5b806366b80832146101da5780637221263a146101e25780638a2c6738146101f5578063988c515b1461020857600080fd5b80632a90bbb2116100d35780632a90bbb214610164578063545e1b521461018d57806355d94655146101a45780635bcfee67146101c757600080fd5b80630bc169a5146101055780631d8895e014610134578063279181821461014957806328192c5514610151575b600080fd5b60045461010090046001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b610147610142366004610c54565b610282565b005b61014761038f565b61014761015f366004610c54565b610477565b610117610172366004610c76565b6000908152600260205260409020546001600160a01b031690565b60045460ff165b604051901515815260200161012b565b6101946101b2366004610c76565b60009081526001602052604090205460ff1690565b6101476101d5366004610c54565b610566565b610147610661565b6101476101f0366004610cab565b6106da565b610147610203366004610c76565b6107e5565b610147610216366004610cd7565b6108d3565b61023b610229366004610c76565b60009081526020819052604090205490565b60405190815260200161012b565b610147610257366004610c76565b6109d0565b61014761026a366004610c76565b610ac5565b61014761027d366004610d0c565b610bc0565b60045460ff1661030e5760045461010090046001600160a01b03163214806102e4575060016000336040516020016102ba9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b6103095760405162461bcd60e51b815260040161030090610d63565b60405180910390fd5b610368565b60016000336040516020016103239190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff166103685760405162461bcd60e51b815260040161030090610dc0565b60008281526020819052604081208054839290610386908490610e0b565b90915550505050565b6005546001600160a01b031633146103fc5760405162461bcd60e51b815260206004820152602a60248201527f4f6e6c792063616c6c61626c6520627920746865206e65772073746f726167656044820152691033bab0b93234b0b71760b11b6064820152608401610300565b60048054600580546001600160a01b03808216610100908102610100600160a81b0319861617958690556001600160a01b03199092169092556040519381900482168452909104169081907fcdf51e8aec8da23ef7cd2b923d5755a017ffc21e01d7ddcb89cb771a7c2b66f79060200160405180910390a250565b60045460ff166104fa5760045461010090046001600160a01b03163214806104d9575060016000336040516020016104af9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b6104f55760405162461bcd60e51b815260040161030090610d63565b610554565b600160003360405160200161050f9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff166105545760405162461bcd60e51b815260040161030090610dc0565b60009182526020829052604090912055565b60045460ff166105e95760045461010090046001600160a01b03163214806105c85750600160003360405160200161059e9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b6105e45760405162461bcd60e51b815260040161030090610d63565b610643565b60016000336040516020016105fe9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff166106435760405162461bcd60e51b815260040161030090610dc0565b60008281526020819052604081208054839290610386908490610e23565b60045461010090046001600160a01b031633146106cb5760405162461bcd60e51b815260206004820152602260248201527f4f6e6c792063616c6c61626c652062792063757272656e742067756172646961604482015261371760f11b6064820152608401610300565b6004805460ff19166001179055565b60045460ff1661075d5760045461010090046001600160a01b031632148061073c575060016000336040516020016107129190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b6107585760405162461bcd60e51b815260040161030090610d63565b6107b7565b60016000336040516020016107729190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff166107b75760405162461bcd60e51b815260040161030090610dc0565b60009182526002602052604090912080546001600160a01b0319166001600160a01b03909216919091179055565b60045460ff166108685760045461010090046001600160a01b03163214806108475750600160003360405160200161081d9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b6108635760405162461bcd60e51b815260040161030090610d63565b6108c2565b600160003360405160200161087d9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff166108c25760405162461bcd60e51b815260040161030090610dc0565b600090815260208190526040812055565b60045460ff166109565760045461010090046001600160a01b03163214806109355750600160003360405160200161090b9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b6109515760405162461bcd60e51b815260040161030090610d63565b6109b0565b600160003360405160200161096b9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff166109b05760405162461bcd60e51b815260040161030090610dc0565b600091825260016020526040909120805460ff1916911515919091179055565b60045460ff16610a535760045461010090046001600160a01b0316321480610a3257506001600033604051602001610a089190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b610a4e5760405162461bcd60e51b815260040161030090610d63565b610aad565b6001600033604051602001610a689190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff16610aad5760405162461bcd60e51b815260040161030090610dc0565b6000908152600160205260409020805460ff19169055565b60045460ff16610b485760045461010090046001600160a01b0316321480610b2757506001600033604051602001610afd9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b610b435760405162461bcd60e51b815260040161030090610d63565b610ba2565b6001600033604051602001610b5d9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff16610ba25760405162461bcd60e51b815260040161030090610dc0565b600090815260026020526040902080546001600160a01b0319169055565b60045461010090046001600160a01b03163314610c325760405162461bcd60e51b815260206004820152602a60248201527f4f6e6c792063616c6c61626c652062792063757272656e742073746f726167656044820152691033bab0b93234b0b71760b11b6064820152608401610300565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b60008060408385031215610c6757600080fd5b50508035926020909101359150565b600060208284031215610c8857600080fd5b5035919050565b80356001600160a01b0381168114610ca657600080fd5b919050565b60008060408385031215610cbe57600080fd5b82359150610cce60208401610c8f565b90509250929050565b60008060408385031215610cea57600080fd5b8235915060208301358015158114610d0157600080fd5b809150509250929050565b600060208284031215610d1e57600080fd5b610d2782610c8f565b9392505050565b6e636f6e74726163745f65786973747360881b815260609190911b6bffffffffffffffffffffffff1916600f82015260230190565b6020808252603d908201527f54686520636f6e7472616374206164647265737320697320696e76616c69642060408201527f6f72207468652063616c6c6572206973206e6f7420616c6c6f7765642e000000606082015260800190565b6020808252818101527f54686520636f6e7472616374206164647265737320697320696e76616c69642e604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115610e1e57610e1e610df5565b500190565b600082821015610e3557610e35610df5565b50039056fea26469706673582212209e8760b387dd9253def9d468c037bd9bbd5acee8f5ce023297eb95f714844eba64736f6c63430008090033", + "deployedBytecode": "608060405234801561001057600080fd5b50600436106101005760003560e01c806366b8083211610097578063afc3602b11610066578063afc3602b1461021b578063b240da3f14610249578063e732da721461025c578063e87f7c311461026f57600080fd5b806366b80832146101da5780637221263a146101e25780638a2c6738146101f5578063988c515b1461020857600080fd5b80632a90bbb2116100d35780632a90bbb214610164578063545e1b521461018d57806355d94655146101a45780635bcfee67146101c757600080fd5b80630bc169a5146101055780631d8895e014610134578063279181821461014957806328192c5514610151575b600080fd5b60045461010090046001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b610147610142366004610c54565b610282565b005b61014761038f565b61014761015f366004610c54565b610477565b610117610172366004610c76565b6000908152600260205260409020546001600160a01b031690565b60045460ff165b604051901515815260200161012b565b6101946101b2366004610c76565b60009081526001602052604090205460ff1690565b6101476101d5366004610c54565b610566565b610147610661565b6101476101f0366004610cab565b6106da565b610147610203366004610c76565b6107e5565b610147610216366004610cd7565b6108d3565b61023b610229366004610c76565b60009081526020819052604090205490565b60405190815260200161012b565b610147610257366004610c76565b6109d0565b61014761026a366004610c76565b610ac5565b61014761027d366004610d0c565b610bc0565b60045460ff1661030e5760045461010090046001600160a01b03163214806102e4575060016000336040516020016102ba9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b6103095760405162461bcd60e51b815260040161030090610d63565b60405180910390fd5b610368565b60016000336040516020016103239190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff166103685760405162461bcd60e51b815260040161030090610dc0565b60008281526020819052604081208054839290610386908490610e0b565b90915550505050565b6005546001600160a01b031633146103fc5760405162461bcd60e51b815260206004820152602a60248201527f4f6e6c792063616c6c61626c6520627920746865206e65772073746f726167656044820152691033bab0b93234b0b71760b11b6064820152608401610300565b60048054600580546001600160a01b03808216610100908102610100600160a81b0319861617958690556001600160a01b03199092169092556040519381900482168452909104169081907fcdf51e8aec8da23ef7cd2b923d5755a017ffc21e01d7ddcb89cb771a7c2b66f79060200160405180910390a250565b60045460ff166104fa5760045461010090046001600160a01b03163214806104d9575060016000336040516020016104af9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b6104f55760405162461bcd60e51b815260040161030090610d63565b610554565b600160003360405160200161050f9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff166105545760405162461bcd60e51b815260040161030090610dc0565b60009182526020829052604090912055565b60045460ff166105e95760045461010090046001600160a01b03163214806105c85750600160003360405160200161059e9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b6105e45760405162461bcd60e51b815260040161030090610d63565b610643565b60016000336040516020016105fe9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff166106435760405162461bcd60e51b815260040161030090610dc0565b60008281526020819052604081208054839290610386908490610e23565b60045461010090046001600160a01b031633146106cb5760405162461bcd60e51b815260206004820152602260248201527f4f6e6c792063616c6c61626c652062792063757272656e742067756172646961604482015261371760f11b6064820152608401610300565b6004805460ff19166001179055565b60045460ff1661075d5760045461010090046001600160a01b031632148061073c575060016000336040516020016107129190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b6107585760405162461bcd60e51b815260040161030090610d63565b6107b7565b60016000336040516020016107729190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff166107b75760405162461bcd60e51b815260040161030090610dc0565b60009182526002602052604090912080546001600160a01b0319166001600160a01b03909216919091179055565b60045460ff166108685760045461010090046001600160a01b03163214806108475750600160003360405160200161081d9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b6108635760405162461bcd60e51b815260040161030090610d63565b6108c2565b600160003360405160200161087d9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff166108c25760405162461bcd60e51b815260040161030090610dc0565b600090815260208190526040812055565b60045460ff166109565760045461010090046001600160a01b03163214806109355750600160003360405160200161090b9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b6109515760405162461bcd60e51b815260040161030090610d63565b6109b0565b600160003360405160200161096b9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff166109b05760405162461bcd60e51b815260040161030090610dc0565b600091825260016020526040909120805460ff1916911515919091179055565b60045460ff16610a535760045461010090046001600160a01b0316321480610a3257506001600033604051602001610a089190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b610a4e5760405162461bcd60e51b815260040161030090610d63565b610aad565b6001600033604051602001610a689190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff16610aad5760405162461bcd60e51b815260040161030090610dc0565b6000908152600160205260409020805460ff19169055565b60045460ff16610b485760045461010090046001600160a01b0316321480610b2757506001600033604051602001610afd9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff165b610b435760405162461bcd60e51b815260040161030090610d63565b610ba2565b6001600033604051602001610b5d9190610d2e565b60408051601f198184030181529181528151602092830120835290820192909252016000205460ff16610ba25760405162461bcd60e51b815260040161030090610dc0565b600090815260026020526040902080546001600160a01b0319169055565b60045461010090046001600160a01b03163314610c325760405162461bcd60e51b815260206004820152602a60248201527f4f6e6c792063616c6c61626c652062792063757272656e742073746f726167656044820152691033bab0b93234b0b71760b11b6064820152608401610300565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b60008060408385031215610c6757600080fd5b50508035926020909101359150565b600060208284031215610c8857600080fd5b5035919050565b80356001600160a01b0381168114610ca657600080fd5b919050565b60008060408385031215610cbe57600080fd5b82359150610cce60208401610c8f565b90509250929050565b60008060408385031215610cea57600080fd5b8235915060208301358015158114610d0157600080fd5b809150509250929050565b600060208284031215610d1e57600080fd5b610d2782610c8f565b9392505050565b6e636f6e74726163745f65786973747360881b815260609190911b6bffffffffffffffffffffffff1916600f82015260230190565b6020808252603d908201527f54686520636f6e7472616374206164647265737320697320696e76616c69642060408201527f6f72207468652063616c6c6572206973206e6f7420616c6c6f7765642e000000606082015260800190565b6020808252818101527f54686520636f6e7472616374206164647265737320697320696e76616c69642e604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115610e1e57610e1e610df5565b500190565b600082821015610e3557610e35610df5565b50039056fea26469706673582212209e8760b387dd9253def9d468c037bd9bbd5acee8f5ce023297eb95f714844eba64736f6c63430008090033", + "sourceMap": "253:4446:0:-:0;;;558:24;;;-1:-1:-1;;558:24:0;;;770:96;;;;;;;;;-1:-1:-1;795:15:0;:28;;-1:-1:-1;;;;;;795:28:0;813:10;795:28;;;;;834:24;:22;:24::i;:::-;253:4446;;1761:359;1850:50;;-1:-1:-1;;;1850:50:0;;;244:30:2;-1:-1:-1;;;;;;1894:4:0;337:2:2;308:15;304:45;290:12;;;283:67;1814:23:0;;366:12:2;;1850:50:0;;;;;;;;;;;;1840:61;;;;;;1814:87;;1912:26;1951:51;;;;;;-1:-1:-1;;;692:31:2;;-1:-1:-1;;;748:2:2;739:12;;732:35;792:2;783:12;;389:412;1951:51:0;;;;-1:-1:-1;;1951:51:0;;;;;;;;;1941:62;;1951:51;1941:62;;;;2016:28;;;;2047:4;2016:28;;;;;;:35;;-1:-1:-1;;2016:35:0;;;;;;2062:34;;:14;:34;;;;;;:50;;-1:-1:-1;;;;;;2062:50:0;2107:4;2062:50;;;-1:-1:-1;1761:359:0:o;389:412:2:-;253:4446:0;;;;;;", + "deployedSourceMap": "253:4446:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2232:101;2310:15;;;;;-1:-1:-1;;;;;2310:15:0;2232:101;;;-1:-1:-1;;;;;178:32:2;;;160:51;;148:2;133:18;2232:101:0;;;;;;;;3698:138;;;;;;:::i;:::-;;:::i;:::-;;2544:306;;;:::i;3566:124::-;;;;;;:::i;:::-;;:::i;3384:115::-;;;;;;:::i;:::-;3446:7;3472:19;;;:14;:19;;;;;;-1:-1:-1;;;;;3472:19:0;;3384:115;2128:92;2201:11;;;;2128:92;;;825:14:2;;818:22;800:41;;788:2;773:18;2128:92:0;660:187:2;3270:106:0;;;;;;:::i;:::-;3329:4;3352:16;;;:11;:16;;;;;;;;;3270:106;3848:138;;;;;;:::i;:::-;;:::i;2936:159::-;;;:::i;4137:130::-;;;;;;:::i;:::-;;:::i;4326:109::-;;;;;;:::i;:::-;;:::i;4004:121::-;;;;;;:::i;:::-;;:::i;3153:109::-;;;;;;:::i;:::-;3212:7;3238:16;;;;;;;;;;;;3153:109;;;;1781:25:2;;;1769:2;1754:18;3153:109:0;1635:177:2;4451:109:0;;;;;;:::i;:::-;;:::i;4572:115::-;;;;;;:::i;:::-;;:::i;2341:195::-;;;;;;:::i;:::-;;:::i;3698:138::-;1174:11;;;;1170:385;;1226:15;;;;;-1:-1:-1;;;;;1226:15:0;1213:9;:28;;:103;;;1245:11;:71;1303:10;1267:47;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1267:47:0;;;;;;;;;1257:58;;1267:47;1257:58;;;;1245:71;;;;;;;;;;-1:-1:-1;1245:71:0;;;;1213:103;1205:177;;;;-1:-1:-1;;;1205:177:0;;;;;;;:::i;:::-;;;;;;;;;1170:385;;;1431:11;:71;1489:10;1453:47;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1453:47:0;;;;;;;;;1443:58;;1453:47;1443:58;;;;1431:71;;;;;;;;;;-1:-1:-1;1431:71:0;;;;1423:116;;;;-1:-1:-1;;;1423:116:0;;;;;;;:::i;:::-;3798:11:::1;:16:::0;;;::::1;::::0;;;;;;:30;;3818:10;;3798:11;:30:::1;::::0;3818:10;;3798:30:::1;:::i;:::-;::::0;;;-1:-1:-1;;;;3698:138:0:o;2544:306::-;2610:11;;-1:-1:-1;;;;;2610:11:0;2596:10;:25;2588:80;;;;-1:-1:-1;;;2588:80:0;;3649:2:2;2588:80:0;;;3631:21:2;3688:2;3668:18;;;3661:30;3727:34;3707:18;;;3700:62;-1:-1:-1;;;3778:18:2;;;3771:40;3828:19;;2588:80:0;3447:406:2;2588:80:0;2701:15;;;2745:11;;;-1:-1:-1;;;;;2745:11:0;;;2701:15;2727:29;;;-1:-1:-1;;;;;;2727:29:0;;;;;;;-1:-1:-1;;;;;;2767:18:0;;;;;;2801:41;;2826:15;;;;;;160:51:2;;2701:15:0;;;;;;;2801:41;;148:2:2;133:18;2801:41:0;;;;;;;2577:273;2544:306::o;3566:124::-;1174:11;;;;1170:385;;1226:15;;;;;-1:-1:-1;;;;;1226:15:0;1213:9;:28;;:103;;;1245:11;:71;1303:10;1267:47;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1267:47:0;;;;;;;;;1257:58;;1267:47;1257:58;;;;1245:71;;;;;;;;;;-1:-1:-1;1245:71:0;;;;1213:103;1205:177;;;;-1:-1:-1;;;1205:177:0;;;;;;;:::i;:::-;1170:385;;;1431:11;:71;1489:10;1453:47;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1453:47:0;;;;;;;;;1443:58;;1453:47;1443:58;;;;1431:71;;;;;;;;;;-1:-1:-1;1431:71:0;;;;1423:116;;;;-1:-1:-1;;;1423:116:0;;;;;;;:::i;:::-;3657:11:::1;:16:::0;;;::::1;::::0;;;;;;;:25;3566:124::o;3848:138::-;1174:11;;;;1170:385;;1226:15;;;;;-1:-1:-1;;;;;1226:15:0;1213:9;:28;;:103;;;1245:11;:71;1303:10;1267:47;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1267:47:0;;;;;;;;;1257:58;;1267:47;1257:58;;;;1245:71;;;;;;;;;;-1:-1:-1;1245:71:0;;;;1213:103;1205:177;;;;-1:-1:-1;;;1205:177:0;;;;;;;:::i;:::-;1170:385;;;1431:11;:71;1489:10;1453:47;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1453:47:0;;;;;;;;;1443:58;;1453:47;1443:58;;;;1431:71;;;;;;;;;;-1:-1:-1;1431:71:0;;;;1423:116;;;;-1:-1:-1;;;1423:116:0;;;;;;;:::i;:::-;3948:11:::1;:16:::0;;;::::1;::::0;;;;;;:30;;3968:10;;3948:11;:30:::1;::::0;3968:10;;3948:30:::1;:::i;2936:159::-:0;3004:15;;;;;-1:-1:-1;;;;;3004:15:0;2990:10;:29;2982:76;;;;-1:-1:-1;;;2982:76:0;;4190:2:2;2982:76:0;;;4172:21:2;4229:2;4209:18;;;4202:30;4268:34;4248:18;;;4241:62;-1:-1:-1;;;4319:18:2;;;4312:32;4361:19;;2982:76:0;3988:398:2;2982:76:0;3069:11;:18;;-1:-1:-1;;3069:18:0;3083:4;3069:18;;;2936:159::o;4137:130::-;1174:11;;;;1170:385;;1226:15;;;;;-1:-1:-1;;;;;1226:15:0;1213:9;:28;;:103;;;1245:11;:71;1303:10;1267:47;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1267:47:0;;;;;;;;;1257:58;;1267:47;1257:58;;;;1245:71;;;;;;;;;;-1:-1:-1;1245:71:0;;;;1213:103;1205:177;;;;-1:-1:-1;;;1205:177:0;;;;;;;:::i;:::-;1170:385;;;1431:11;:71;1489:10;1453:47;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1453:47:0;;;;;;;;;1443:58;;1453:47;1443:58;;;;1431:71;;;;;;;;;;-1:-1:-1;1431:71:0;;;;1423:116;;;;-1:-1:-1;;;1423:116:0;;;;;;;:::i;:::-;4231:19:::1;::::0;;;:14:::1;:19;::::0;;;;;:28;;-1:-1:-1;;;;;;4231:28:0::1;-1:-1:-1::0;;;;;4231:28:0;;::::1;::::0;;;::::1;::::0;;4137:130::o;4326:109::-;1174:11;;;;1170:385;;1226:15;;;;;-1:-1:-1;;;;;1226:15:0;1213:9;:28;;:103;;;1245:11;:71;1303:10;1267:47;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1267:47:0;;;;;;;;;1257:58;;1267:47;1257:58;;;;1245:71;;;;;;;;;;-1:-1:-1;1245:71:0;;;;1213:103;1205:177;;;;-1:-1:-1;;;1205:177:0;;;;;;;:::i;:::-;1170:385;;;1431:11;:71;1489:10;1453:47;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1453:47:0;;;;;;;;;1443:58;;1453:47;1443:58;;;;1431:71;;;;;;;;;;-1:-1:-1;1431:71:0;;;;1423:116;;;;-1:-1:-1;;;1423:116:0;;;;;;;:::i;:::-;4411:11:::1;:16:::0;;;::::1;::::0;;;;;;4404:23;4326:109::o;4004:121::-;1174:11;;;;1170:385;;1226:15;;;;;-1:-1:-1;;;;;1226:15:0;1213:9;:28;;:103;;;1245:11;:71;1303:10;1267:47;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1267:47:0;;;;;;;;;1257:58;;1267:47;1257:58;;;;1245:71;;;;;;;;;;-1:-1:-1;1245:71:0;;;;1213:103;1205:177;;;;-1:-1:-1;;;1205:177:0;;;;;;;:::i;:::-;1170:385;;;1431:11;:71;1489:10;1453:47;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1453:47:0;;;;;;;;;1443:58;;1453:47;1443:58;;;;1431:71;;;;;;;;;;-1:-1:-1;1431:71:0;;;;1423:116;;;;-1:-1:-1;;;1423:116:0;;;;;;;:::i;:::-;4092:16:::1;::::0;;;:11:::1;:16;::::0;;;;;:25;;-1:-1:-1;;4092:25:0::1;::::0;::::1;;::::0;;;::::1;::::0;;4004:121::o;4451:109::-;1174:11;;;;1170:385;;1226:15;;;;;-1:-1:-1;;;;;1226:15:0;1213:9;:28;;:103;;;1245:11;:71;1303:10;1267:47;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1267:47:0;;;;;;;;;1257:58;;1267:47;1257:58;;;;1245:71;;;;;;;;;;-1:-1:-1;1245:71:0;;;;1213:103;1205:177;;;;-1:-1:-1;;;1205:177:0;;;;;;;:::i;:::-;1170:385;;;1431:11;:71;1489:10;1453:47;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1453:47:0;;;;;;;;;1443:58;;1453:47;1443:58;;;;1431:71;;;;;;;;;;-1:-1:-1;1431:71:0;;;;1423:116;;;;-1:-1:-1;;;1423:116:0;;;;;;;:::i;:::-;4536:16:::1;::::0;;;:11:::1;:16;::::0;;;;4529:23;;-1:-1:-1;;4529:23:0::1;::::0;;4451:109::o;4572:115::-;1174:11;;;;1170:385;;1226:15;;;;;-1:-1:-1;;;;;1226:15:0;1213:9;:28;;:103;;;1245:11;:71;1303:10;1267:47;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1267:47:0;;;;;;;;;1257:58;;1267:47;1257:58;;;;1245:71;;;;;;;;;;-1:-1:-1;1245:71:0;;;;1213:103;1205:177;;;;-1:-1:-1;;;1205:177:0;;;;;;;:::i;:::-;1170:385;;;1431:11;:71;1489:10;1453:47;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1453:47:0;;;;;;;;;1443:58;;1453:47;1443:58;;;;1431:71;;;;;;;;;;-1:-1:-1;1431:71:0;;;;1423:116;;;;-1:-1:-1;;;1423:116:0;;;;;;;:::i;:::-;4660:19:::1;::::0;;;:14:::1;:19;::::0;;;;4653:26;;-1:-1:-1;;;;;;4653:26:0::1;::::0;;4572:115::o;2341:195::-;2429:15;;;;;-1:-1:-1;;;;;2429:15:0;2415:10;:29;2407:84;;;;-1:-1:-1;;;2407:84:0;;4593:2:2;2407:84:0;;;4575:21:2;4632:2;4612:18;;;4605:30;4671:34;4651:18;;;4644:62;-1:-1:-1;;;4722:18:2;;;4715:40;4772:19;;2407:84:0;4391:406:2;2407:84:0;2502:11;:26;;-1:-1:-1;;;;;;2502:26:0;-1:-1:-1;;;;;2502:26:0;;;;;;;;;;2341:195::o;222:248:2:-;290:6;298;351:2;339:9;330:7;326:23;322:32;319:52;;;367:1;364;357:12;319:52;-1:-1:-1;;390:23:2;;;460:2;445:18;;;432:32;;-1:-1:-1;222:248:2:o;475:180::-;534:6;587:2;575:9;566:7;562:23;558:32;555:52;;;603:1;600;593:12;555:52;-1:-1:-1;626:23:2;;475:180;-1:-1:-1;475:180:2:o;852:173::-;920:20;;-1:-1:-1;;;;;969:31:2;;959:42;;949:70;;1015:1;1012;1005:12;949:70;852:173;;;:::o;1030:254::-;1098:6;1106;1159:2;1147:9;1138:7;1134:23;1130:32;1127:52;;;1175:1;1172;1165:12;1127:52;1211:9;1198:23;1188:33;;1240:38;1274:2;1263:9;1259:18;1240:38;:::i;:::-;1230:48;;1030:254;;;;;:::o;1289:341::-;1354:6;1362;1415:2;1403:9;1394:7;1390:23;1386:32;1383:52;;;1431:1;1428;1421:12;1383:52;1467:9;1454:23;1444:33;;1527:2;1516:9;1512:18;1499:32;1574:5;1567:13;1560:21;1553:5;1550:32;1540:60;;1596:1;1593;1586:12;1540:60;1619:5;1609:15;;;1289:341;;;;;:::o;1817:186::-;1876:6;1929:2;1917:9;1908:7;1904:23;1900:32;1897:52;;;1945:1;1942;1935:12;1897:52;1968:29;1987:9;1968:29;:::i;:::-;1958:39;1817:186;-1:-1:-1;;;1817:186:2:o;2008:378::-;-1:-1:-1;;;2238:30:2;;2306:2;2302:15;;;;-1:-1:-1;;2298:53:2;2293:2;2284:12;;2277:75;2377:2;2368:12;;2008:378::o;2391:425::-;2593:2;2575:21;;;2632:2;2612:18;;;2605:30;2671:34;2666:2;2651:18;;2644:62;2742:31;2737:2;2722:18;;2715:59;2806:3;2791:19;;2391:425::o;2821:356::-;3023:2;3005:21;;;3042:18;;;3035:30;3101:34;3096:2;3081:18;;3074:62;3168:2;3153:18;;2821:356::o;3182:127::-;3243:10;3238:3;3234:20;3231:1;3224:31;3274:4;3271:1;3264:15;3298:4;3295:1;3288:15;3314:128;3354:3;3385:1;3381:6;3378:1;3375:13;3372:39;;;3391:18;;:::i;:::-;-1:-1:-1;3427:9:2;;3314:128::o;3858:125::-;3898:4;3926:1;3923;3920:8;3917:34;;;3931:18;;:::i;:::-;-1:-1:-1;3968:9:2;;3858:125::o", + "sourcePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/DataStorage.sol", + "compiler": { + "name": "solc", + "version": "0.8.9+commit.e5eed63a" + }, + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/DataStorage.sol", + "exportedSymbols": { + "DataStorage": [ + 366 + ], + "DataStorageInterface": [ + 461 + ] + }, + "id": 367, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1, + "literals": [ + "solidity", + "0.8", + ".9" + ], + "nodeType": "PragmaDirective", + "src": "33:22:0" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol", + "file": "./interfaces/DataStorageInterface.sol", + "id": 2, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 367, + "sourceUnit": 462, + "src": "202:47:0", + "symbolAliases": [], + "unitAlias": "" + }, + { + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 3, + "name": "DataStorageInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 461, + "src": "277:20:0" + }, + "id": 4, + "nodeType": "InheritanceSpecifier", + "src": "277:20:0" + } + ], + "canonicalName": "DataStorage", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "id": 366, + "linearizedBaseContracts": [ + 366, + 461 + ], + "name": "DataStorage", + "nameLocation": "262:11:0", + "nodeType": "ContractDefinition", + "nodes": [ + { + "constant": false, + "id": 8, + "mutability": "mutable", + "name": "uintStorage", + "nameLocation": "342:11:0", + "nodeType": "VariableDeclaration", + "scope": 366, + "src": "306:47:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", + "typeString": "mapping(bytes32 => uint256)" + }, + "typeName": { + "id": 7, + "keyType": { + "id": 5, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "314:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "Mapping", + "src": "306:27:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", + "typeString": "mapping(bytes32 => uint256)" + }, + "valueType": { + "id": 6, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "325:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + }, + "visibility": "private" + }, + { + "constant": false, + "id": 12, + "mutability": "mutable", + "name": "boolStorage", + "nameLocation": "396:11:0", + "nodeType": "VariableDeclaration", + "scope": 366, + "src": "360:47:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", + "typeString": "mapping(bytes32 => bool)" + }, + "typeName": { + "id": 11, + "keyType": { + "id": 9, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "368:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "Mapping", + "src": "360:24:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", + "typeString": "mapping(bytes32 => bool)" + }, + "valueType": { + "id": 10, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "379:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + }, + "visibility": "private" + }, + { + "constant": false, + "id": 16, + "mutability": "mutable", + "name": "addressStorage", + "nameLocation": "450:14:0", + "nodeType": "VariableDeclaration", + "scope": 366, + "src": "414:50:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$", + "typeString": "mapping(bytes32 => address)" + }, + "typeName": { + "id": 15, + "keyType": { + "id": 13, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "422:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "Mapping", + "src": "414:27:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$", + "typeString": "mapping(bytes32 => address)" + }, + "valueType": { + "id": 14, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "433:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + }, + "visibility": "private" + }, + { + "constant": false, + "id": 20, + "mutability": "mutable", + "name": "bytes32Storage", + "nameLocation": "507:14:0", + "nodeType": "VariableDeclaration", + "scope": 366, + "src": "471:50:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_bytes32_$", + "typeString": "mapping(bytes32 => bytes32)" + }, + "typeName": { + "id": 19, + "keyType": { + "id": 17, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "479:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "Mapping", + "src": "471:27:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_bytes32_$", + "typeString": "mapping(bytes32 => bytes32)" + }, + "valueType": { + "id": 18, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "490:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + }, + "visibility": "private" + }, + { + "constant": false, + "id": 23, + "mutability": "mutable", + "name": "storageLive", + "nameLocation": "563:11:0", + "nodeType": "VariableDeclaration", + "scope": 366, + "src": "558:24:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 21, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "558:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "value": { + "hexValue": "66616c7365", + "id": 22, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "577:5:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 25, + "mutability": "mutable", + "name": "currentGuardian", + "nameLocation": "639:15:0", + "nodeType": "VariableDeclaration", + "scope": 366, + "src": "631:23:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 24, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "631:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 27, + "mutability": "mutable", + "name": "newGuardian", + "nameLocation": "669:11:0", + "nodeType": "VariableDeclaration", + "scope": 366, + "src": "661:19:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 26, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "661:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "anonymous": false, + "id": 33, + "name": "GuardChange", + "nameLocation": "695:11:0", + "nodeType": "EventDefinition", + "parameters": { + "id": 32, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 29, + "indexed": true, + "mutability": "mutable", + "name": "_lastGuardian", + "nameLocation": "723:13:0", + "nodeType": "VariableDeclaration", + "scope": 33, + "src": "707:29:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 28, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "707:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 31, + "indexed": false, + "mutability": "mutable", + "name": "_newGuardian", + "nameLocation": "746:12:0", + "nodeType": "VariableDeclaration", + "scope": 33, + "src": "738:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 30, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "738:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "706:53:0" + }, + "src": "689:71:0" + }, + { + "body": { + "id": 44, + "nodeType": "Block", + "src": "784:82:0", + "statements": [ + { + "expression": { + "id": 39, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 36, + "name": "currentGuardian", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 25, + "src": "795:15:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "expression": { + "id": 37, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "813:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 38, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "813:10:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "795:28:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 40, + "nodeType": "ExpressionStatement", + "src": "795:28:0" + }, + { + "expression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 41, + "name": "_setDataStorageAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 131, + "src": "834:22:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", + "typeString": "function ()" + } + }, + "id": 42, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "834:24:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 43, + "nodeType": "ExpressionStatement", + "src": "834:24:0" + } + ] + }, + "id": 45, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 34, + "nodeType": "ParameterList", + "parameters": [], + "src": "781:2:0" + }, + "returnParameters": { + "id": 35, + "nodeType": "ParameterList", + "parameters": [], + "src": "784:0:0" + }, + "scope": 366, + "src": "770:96:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 87, + "nodeType": "Block", + "src": "1155:419:0", + "statements": [ + { + "condition": { + "id": 49, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "1173:12:0", + "subExpression": { + "id": 48, + "name": "storageLive", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 23, + "src": "1174:11:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": { + "id": 84, + "nodeType": "Block", + "src": "1404:151:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "baseExpression": { + "id": 71, + "name": "boolStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 12, + "src": "1431:11:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", + "typeString": "mapping(bytes32 => bool)" + } + }, + "id": 80, + "indexExpression": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f657869737473", + "id": 75, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1470:17:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + "value": "contract_exists" + }, + { + "expression": { + "id": 76, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1489:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 77, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "1489:10:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 73, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1453:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 74, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1453:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 78, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1453:47:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 72, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1443:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 79, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1443:58:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1431:71:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520636f6e7472616374206164647265737320697320696e76616c69642e", + "id": 81, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1504:34:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_52947e86c93a579273e5f21ebf440dc6320ec8caf45ae7affc09187f501ed96f", + "typeString": "literal_string \"The contract address is invalid.\"" + }, + "value": "The contract address is invalid." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_52947e86c93a579273e5f21ebf440dc6320ec8caf45ae7affc09187f501ed96f", + "typeString": "literal_string \"The contract address is invalid.\"" + } + ], + "id": 70, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "1423:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 82, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1423:116:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 83, + "nodeType": "ExpressionStatement", + "src": "1423:116:0" + } + ] + }, + "id": 85, + "nodeType": "IfStatement", + "src": "1170:385:0", + "trueBody": { + "id": 69, + "nodeType": "Block", + "src": "1186:212:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 65, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 54, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 51, + "name": "tx", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967270, + "src": "1213:2:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_transaction", + "typeString": "tx" + } + }, + "id": 52, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "origin", + "nodeType": "MemberAccess", + "src": "1213:9:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "id": 53, + "name": "currentGuardian", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 25, + "src": "1226:15:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "1213:28:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "BinaryOperation", + "operator": "||", + "rightExpression": { + "baseExpression": { + "id": 55, + "name": "boolStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 12, + "src": "1245:11:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", + "typeString": "mapping(bytes32 => bool)" + } + }, + "id": 64, + "indexExpression": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f657869737473", + "id": 59, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1284:17:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + "value": "contract_exists" + }, + { + "expression": { + "id": 60, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1303:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 61, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "1303:10:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 57, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1267:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 58, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1267:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 62, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1267:47:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 56, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1257:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 63, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1257:58:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1245:71:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "src": "1213:103:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520636f6e7472616374206164647265737320697320696e76616c6964206f72207468652063616c6c6572206973206e6f7420616c6c6f7765642e", + "id": 66, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1318:63:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_132f2ac7f00684fc713b6089004d24ae5751920730e7d3972d55c75a1202629d", + "typeString": "literal_string \"The contract address is invalid or the caller is not allowed.\"" + }, + "value": "The contract address is invalid or the caller is not allowed." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_132f2ac7f00684fc713b6089004d24ae5751920730e7d3972d55c75a1202629d", + "typeString": "literal_string \"The contract address is invalid or the caller is not allowed.\"" + } + ], + "id": 50, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "1205:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 67, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1205:177:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 68, + "nodeType": "ExpressionStatement", + "src": "1205:177:0" + } + ] + } + }, + { + "id": 86, + "nodeType": "PlaceholderStatement", + "src": "1565:1:0" + } + ] + }, + "documentation": { + "id": 46, + "nodeType": "StructuredDocumentation", + "src": "874:247:0", + "text": "@notice The guardian needs to store the other Pool contracts within the Bool State tracker before setting the DataStorage contract as live.\n @notice tx.origin is checked only in deployment and pool implementation status. Not operative." + }, + "id": 88, + "name": "onlyByPoolContract", + "nameLocation": "1136:18:0", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 47, + "nodeType": "ParameterList", + "parameters": [], + "src": "1155:0:0" + }, + "src": "1127:447:0", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 130, + "nodeType": "Block", + "src": "1803:317:0", + "statements": [ + { + "assignments": [ + 93 + ], + "declarations": [ + { + "constant": false, + "id": 93, + "mutability": "mutable", + "name": "contractBoolTag", + "nameLocation": "1822:15:0", + "nodeType": "VariableDeclaration", + "scope": 130, + "src": "1814:23:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 92, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1814:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 104, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f657869737473", + "id": 97, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1867:17:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + "value": "contract_exists" + }, + { + "arguments": [ + { + "id": 100, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "1894:4:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorage_$366", + "typeString": "contract DataStorage" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_DataStorage_$366", + "typeString": "contract DataStorage" + } + ], + "id": 99, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1886:7:0", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 98, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1886:7:0", + "typeDescriptions": {} + } + }, + "id": 101, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1886:13:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 95, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1850:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 96, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1850:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 102, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1850:50:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 94, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1840:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 103, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1840:61:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1814:87:0" + }, + { + "assignments": [ + 106 + ], + "declarations": [ + { + "constant": false, + "id": 106, + "mutability": "mutable", + "name": "contractAddressTag", + "nameLocation": "1920:18:0", + "nodeType": "VariableDeclaration", + "scope": 130, + "src": "1912:26:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 105, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1912:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 114, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f61646472657373", + "id": 110, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1968:18:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + "value": "contract_address" + }, + { + "hexValue": "4461746153746f72616765", + "id": 111, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1988:13:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_6a95f73d860151578963d1cbcefed857a2851abc7e709e9d1445f9ae56b69936", + "typeString": "literal_string \"DataStorage\"" + }, + "value": "DataStorage" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + { + "typeIdentifier": "t_stringliteral_6a95f73d860151578963d1cbcefed857a2851abc7e709e9d1445f9ae56b69936", + "typeString": "literal_string \"DataStorage\"" + } + ], + "expression": { + "id": 108, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1951:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 109, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1951:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 112, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1951:51:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 107, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1941:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 113, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1941:62:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1912:91:0" + }, + { + "expression": { + "id": 119, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 115, + "name": "boolStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 12, + "src": "2016:11:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", + "typeString": "mapping(bytes32 => bool)" + } + }, + "id": 117, + "indexExpression": { + "id": 116, + "name": "contractBoolTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 93, + "src": "2028:15:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "2016:28:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "74727565", + "id": 118, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2047:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "src": "2016:35:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 120, + "nodeType": "ExpressionStatement", + "src": "2016:35:0" + }, + { + "expression": { + "id": 128, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 121, + "name": "addressStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "2062:14:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$", + "typeString": "mapping(bytes32 => address)" + } + }, + "id": 123, + "indexExpression": { + "id": 122, + "name": "contractAddressTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 106, + "src": "2077:18:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "2062:34:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "id": 126, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "2107:4:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorage_$366", + "typeString": "contract DataStorage" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_DataStorage_$366", + "typeString": "contract DataStorage" + } + ], + "id": 125, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2099:7:0", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 124, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2099:7:0", + "typeDescriptions": {} + } + }, + "id": 127, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2099:13:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "2062:50:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 129, + "nodeType": "ExpressionStatement", + "src": "2062:50:0" + } + ] + }, + "documentation": { + "id": 89, + "nodeType": "StructuredDocumentation", + "src": "1629:126:0", + "text": "@dev Store this contract address and existance on the main storage.\n @notice Called while deploying the contract. " + }, + "id": 131, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_setDataStorageAddress", + "nameLocation": "1770:22:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 90, + "nodeType": "ParameterList", + "parameters": [], + "src": "1792:2:0" + }, + "returnParameters": { + "id": 91, + "nodeType": "ParameterList", + "parameters": [], + "src": "1803:0:0" + }, + "scope": 366, + "src": "1761:359:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "private" + }, + { + "baseFunctions": [ + 373 + ], + "body": { + "id": 138, + "nodeType": "Block", + "src": "2183:37:0", + "statements": [ + { + "expression": { + "id": 136, + "name": "storageLive", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 23, + "src": "2201:11:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "functionReturnParameters": 135, + "id": 137, + "nodeType": "Return", + "src": "2194:18:0" + } + ] + }, + "functionSelector": "545e1b52", + "id": 139, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getStorageStatus", + "nameLocation": "2137:16:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 132, + "nodeType": "ParameterList", + "parameters": [], + "src": "2153:2:0" + }, + "returnParameters": { + "id": 135, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 134, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 139, + "src": "2178:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 133, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2178:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "2177:6:0" + }, + "scope": 366, + "src": "2128:92:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "baseFunctions": [ + 378 + ], + "body": { + "id": 146, + "nodeType": "Block", + "src": "2292:41:0", + "statements": [ + { + "expression": { + "id": 144, + "name": "currentGuardian", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 25, + "src": "2310:15:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "functionReturnParameters": 143, + "id": 145, + "nodeType": "Return", + "src": "2303:22:0" + } + ] + }, + "functionSelector": "0bc169a5", + "id": 147, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getCurrentGuardian", + "nameLocation": "2241:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 140, + "nodeType": "ParameterList", + "parameters": [], + "src": "2259:2:0" + }, + "returnParameters": { + "id": 143, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 142, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 147, + "src": "2284:7:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 141, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2284:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2283:9:0" + }, + "scope": 366, + "src": "2232:101:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "baseFunctions": [ + 383 + ], + "body": { + "id": 164, + "nodeType": "Block", + "src": "2396:140:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 156, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 153, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "2415:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 154, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "2415:10:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "id": 155, + "name": "currentGuardian", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 25, + "src": "2429:15:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "2415:29:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "4f6e6c792063616c6c61626c652062792063757272656e742073746f7261676520677561726469616e2e", + "id": 157, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2446:44:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c65e71e74392281dbebf504580fded1fa14ad5b4df41716468d2547c592bf689", + "typeString": "literal_string \"Only callable by current storage guardian.\"" + }, + "value": "Only callable by current storage guardian." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_c65e71e74392281dbebf504580fded1fa14ad5b4df41716468d2547c592bf689", + "typeString": "literal_string \"Only callable by current storage guardian.\"" + } + ], + "id": 152, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "2407:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 158, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2407:84:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 159, + "nodeType": "ExpressionStatement", + "src": "2407:84:0" + }, + { + "expression": { + "id": 162, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 160, + "name": "newGuardian", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 27, + "src": "2502:11:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 161, + "name": "_newGuardian", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 149, + "src": "2516:12:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "2502:26:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 163, + "nodeType": "ExpressionStatement", + "src": "2502:26:0" + } + ] + }, + "functionSelector": "e87f7c31", + "id": 165, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "setNewGuardian", + "nameLocation": "2350:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 150, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 149, + "mutability": "mutable", + "name": "_newGuardian", + "nameLocation": "2373:12:0", + "nodeType": "VariableDeclaration", + "scope": 165, + "src": "2365:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 148, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2365:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2364:22:0" + }, + "returnParameters": { + "id": 151, + "nodeType": "ParameterList", + "parameters": [], + "src": "2396:0:0" + }, + "scope": 366, + "src": "2341:195:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "baseFunctions": [ + 386 + ], + "body": { + "id": 192, + "nodeType": "Block", + "src": "2577:273:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 172, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 169, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "2596:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 170, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "2596:10:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "id": 171, + "name": "newGuardian", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 27, + "src": "2610:11:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "2596:25:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "4f6e6c792063616c6c61626c6520627920746865206e65772073746f7261676520677561726469616e2e", + "id": 173, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2623:44:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_ab6c1db99cfd8133b9dc0f0da44409600145c9b8c4f323bd12dd9bdb896d82ad", + "typeString": "literal_string \"Only callable by the new storage guardian.\"" + }, + "value": "Only callable by the new storage guardian." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_ab6c1db99cfd8133b9dc0f0da44409600145c9b8c4f323bd12dd9bdb896d82ad", + "typeString": "literal_string \"Only callable by the new storage guardian.\"" + } + ], + "id": 168, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "2588:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 174, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2588:80:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 175, + "nodeType": "ExpressionStatement", + "src": "2588:80:0" + }, + { + "assignments": [ + 177 + ], + "declarations": [ + { + "constant": false, + "id": 177, + "mutability": "mutable", + "name": "oldGuardian", + "nameLocation": "2687:11:0", + "nodeType": "VariableDeclaration", + "scope": 192, + "src": "2679:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 176, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2679:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "id": 179, + "initialValue": { + "id": 178, + "name": "currentGuardian", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 25, + "src": "2701:15:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2679:37:0" + }, + { + "expression": { + "id": 182, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 180, + "name": "currentGuardian", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 25, + "src": "2727:15:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 181, + "name": "newGuardian", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 27, + "src": "2745:11:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "2727:29:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 183, + "nodeType": "ExpressionStatement", + "src": "2727:29:0" + }, + { + "expression": { + "id": 185, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "delete", + "prefix": true, + "src": "2767:18:0", + "subExpression": { + "id": 184, + "name": "newGuardian", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 27, + "src": "2774:11:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 186, + "nodeType": "ExpressionStatement", + "src": "2767:18:0" + }, + { + "eventCall": { + "arguments": [ + { + "id": 188, + "name": "oldGuardian", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 177, + "src": "2813:11:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 189, + "name": "currentGuardian", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 25, + "src": "2826:15:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 187, + "name": "GuardChange", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 33, + "src": "2801:11:0", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$returns$__$", + "typeString": "function (address,address)" + } + }, + "id": 190, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2801:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 191, + "nodeType": "EmitStatement", + "src": "2796:46:0" + } + ] + }, + "functionSelector": "27918182", + "id": 193, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "confirmGuard", + "nameLocation": "2553:12:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 166, + "nodeType": "ParameterList", + "parameters": [], + "src": "2565:2:0" + }, + "returnParameters": { + "id": 167, + "nodeType": "ParameterList", + "parameters": [], + "src": "2577:0:0" + }, + "scope": 366, + "src": "2544:306:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "baseFunctions": [ + 389 + ], + "body": { + "id": 209, + "nodeType": "Block", + "src": "2971:124:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 201, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 198, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "2990:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 199, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "2990:10:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "id": 200, + "name": "currentGuardian", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 25, + "src": "3004:15:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "2990:29:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "4f6e6c792063616c6c61626c652062792063757272656e7420677561726469616e2e", + "id": 202, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3021:36:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c295098e4653db03d2d22453c3eb7ae49307d50964fb5a9a1311d3fef2f9e749", + "typeString": "literal_string \"Only callable by current guardian.\"" + }, + "value": "Only callable by current guardian." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_c295098e4653db03d2d22453c3eb7ae49307d50964fb5a9a1311d3fef2f9e749", + "typeString": "literal_string \"Only callable by current guardian.\"" + } + ], + "id": 197, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "2982:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 203, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2982:76:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 204, + "nodeType": "ExpressionStatement", + "src": "2982:76:0" + }, + { + "expression": { + "id": 207, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 205, + "name": "storageLive", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 23, + "src": "3069:11:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "74727565", + "id": 206, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3083:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "src": "3069:18:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 208, + "nodeType": "ExpressionStatement", + "src": "3069:18:0" + } + ] + }, + "documentation": { + "id": 194, + "nodeType": "StructuredDocumentation", + "src": "2859:71:0", + "text": "@notice Irreversible. Once the storage hub is live, stays that way." + }, + "functionSelector": "66b80832", + "id": 210, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "setStorageLive", + "nameLocation": "2945:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 195, + "nodeType": "ParameterList", + "parameters": [], + "src": "2959:2:0" + }, + "returnParameters": { + "id": 196, + "nodeType": "ParameterList", + "parameters": [], + "src": "2971:0:0" + }, + "scope": 366, + "src": "2936:159:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "baseFunctions": [ + 396 + ], + "body": { + "id": 221, + "nodeType": "Block", + "src": "3220:42:0", + "statements": [ + { + "expression": { + "baseExpression": { + "id": 217, + "name": "uintStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 8, + "src": "3238:11:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", + "typeString": "mapping(bytes32 => uint256)" + } + }, + "id": 219, + "indexExpression": { + "id": 218, + "name": "_id", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 212, + "src": "3250:3:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3238:16:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 216, + "id": 220, + "nodeType": "Return", + "src": "3231:23:0" + } + ] + }, + "functionSelector": "afc3602b", + "id": 222, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getUintStorage", + "nameLocation": "3162:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 213, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 212, + "mutability": "mutable", + "name": "_id", + "nameLocation": "3185:3:0", + "nodeType": "VariableDeclaration", + "scope": 222, + "src": "3177:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 211, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3177:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "3176:13:0" + }, + "returnParameters": { + "id": 216, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 215, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 222, + "src": "3212:7:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 214, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3212:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3211:9:0" + }, + "scope": 366, + "src": "3153:109:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "baseFunctions": [ + 403 + ], + "body": { + "id": 233, + "nodeType": "Block", + "src": "3334:42:0", + "statements": [ + { + "expression": { + "baseExpression": { + "id": 229, + "name": "boolStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 12, + "src": "3352:11:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", + "typeString": "mapping(bytes32 => bool)" + } + }, + "id": 231, + "indexExpression": { + "id": 230, + "name": "_id", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 224, + "src": "3364:3:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3352:16:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "functionReturnParameters": 228, + "id": 232, + "nodeType": "Return", + "src": "3345:23:0" + } + ] + }, + "functionSelector": "55d94655", + "id": 234, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getBoolStorage", + "nameLocation": "3279:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 225, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 224, + "mutability": "mutable", + "name": "_id", + "nameLocation": "3302:3:0", + "nodeType": "VariableDeclaration", + "scope": 234, + "src": "3294:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 223, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3294:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "3293:13:0" + }, + "returnParameters": { + "id": 228, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 227, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 234, + "src": "3329:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 226, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "3329:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "3328:6:0" + }, + "scope": 366, + "src": "3270:106:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "baseFunctions": [ + 410 + ], + "body": { + "id": 245, + "nodeType": "Block", + "src": "3454:45:0", + "statements": [ + { + "expression": { + "baseExpression": { + "id": 241, + "name": "addressStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "3472:14:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$", + "typeString": "mapping(bytes32 => address)" + } + }, + "id": 243, + "indexExpression": { + "id": 242, + "name": "_id", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 236, + "src": "3487:3:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3472:19:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "functionReturnParameters": 240, + "id": 244, + "nodeType": "Return", + "src": "3465:26:0" + } + ] + }, + "functionSelector": "2a90bbb2", + "id": 246, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getAddressStorage", + "nameLocation": "3393:17:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 237, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 236, + "mutability": "mutable", + "name": "_id", + "nameLocation": "3419:3:0", + "nodeType": "VariableDeclaration", + "scope": 246, + "src": "3411:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 235, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3411:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "3410:13:0" + }, + "returnParameters": { + "id": 240, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 239, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 246, + "src": "3446:7:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 238, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3446:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "3445:9:0" + }, + "scope": 366, + "src": "3384:115:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "baseFunctions": [ + 417 + ], + "body": { + "id": 261, + "nodeType": "Block", + "src": "3646:44:0", + "statements": [ + { + "expression": { + "id": 259, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 255, + "name": "uintStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 8, + "src": "3657:11:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", + "typeString": "mapping(bytes32 => uint256)" + } + }, + "id": 257, + "indexExpression": { + "id": 256, + "name": "_id", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 248, + "src": "3669:3:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "3657:16:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 258, + "name": "_value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 250, + "src": "3676:6:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "3657:25:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 260, + "nodeType": "ExpressionStatement", + "src": "3657:25:0" + } + ] + }, + "functionSelector": "28192c55", + "id": 262, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "id": 253, + "kind": "modifierInvocation", + "modifierName": { + "id": 252, + "name": "onlyByPoolContract", + "nodeType": "IdentifierPath", + "referencedDeclaration": 88, + "src": "3628:18:0" + }, + "nodeType": "ModifierInvocation", + "src": "3628:18:0" + } + ], + "name": "setUintStorage", + "nameLocation": "3575:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 251, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 248, + "mutability": "mutable", + "name": "_id", + "nameLocation": "3598:3:0", + "nodeType": "VariableDeclaration", + "scope": 262, + "src": "3590:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 247, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3590:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 250, + "mutability": "mutable", + "name": "_value", + "nameLocation": "3611:6:0", + "nodeType": "VariableDeclaration", + "scope": 262, + "src": "3603:14:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 249, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3603:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3589:29:0" + }, + "returnParameters": { + "id": 254, + "nodeType": "ParameterList", + "parameters": [], + "src": "3646:0:0" + }, + "scope": 366, + "src": "3566:124:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "baseFunctions": [ + 438 + ], + "body": { + "id": 277, + "nodeType": "Block", + "src": "3787:49:0", + "statements": [ + { + "expression": { + "id": 275, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 271, + "name": "uintStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 8, + "src": "3798:11:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", + "typeString": "mapping(bytes32 => uint256)" + } + }, + "id": 273, + "indexExpression": { + "id": 272, + "name": "_id", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 264, + "src": "3810:3:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "3798:16:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "id": 274, + "name": "_increment", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 266, + "src": "3818:10:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "3798:30:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 276, + "nodeType": "ExpressionStatement", + "src": "3798:30:0" + } + ] + }, + "functionSelector": "1d8895e0", + "id": 278, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "id": 269, + "kind": "modifierInvocation", + "modifierName": { + "id": 268, + "name": "onlyByPoolContract", + "nodeType": "IdentifierPath", + "referencedDeclaration": 88, + "src": "3769:18:0" + }, + "nodeType": "ModifierInvocation", + "src": "3769:18:0" + } + ], + "name": "increaseUintStorage", + "nameLocation": "3707:19:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 267, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 264, + "mutability": "mutable", + "name": "_id", + "nameLocation": "3735:3:0", + "nodeType": "VariableDeclaration", + "scope": 278, + "src": "3727:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 263, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3727:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 266, + "mutability": "mutable", + "name": "_increment", + "nameLocation": "3748:10:0", + "nodeType": "VariableDeclaration", + "scope": 278, + "src": "3740:18:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 265, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3740:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3726:33:0" + }, + "returnParameters": { + "id": 270, + "nodeType": "ParameterList", + "parameters": [], + "src": "3787:0:0" + }, + "scope": 366, + "src": "3698:138:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "baseFunctions": [ + 445 + ], + "body": { + "id": 293, + "nodeType": "Block", + "src": "3937:49:0", + "statements": [ + { + "expression": { + "id": 291, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 287, + "name": "uintStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 8, + "src": "3948:11:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", + "typeString": "mapping(bytes32 => uint256)" + } + }, + "id": 289, + "indexExpression": { + "id": 288, + "name": "_id", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 280, + "src": "3960:3:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "3948:16:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "-=", + "rightHandSide": { + "id": 290, + "name": "_decrement", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 282, + "src": "3968:10:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "3948:30:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 292, + "nodeType": "ExpressionStatement", + "src": "3948:30:0" + } + ] + }, + "functionSelector": "5bcfee67", + "id": 294, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "id": 285, + "kind": "modifierInvocation", + "modifierName": { + "id": 284, + "name": "onlyByPoolContract", + "nodeType": "IdentifierPath", + "referencedDeclaration": 88, + "src": "3919:18:0" + }, + "nodeType": "ModifierInvocation", + "src": "3919:18:0" + } + ], + "name": "decreaseUintStorage", + "nameLocation": "3857:19:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 283, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 280, + "mutability": "mutable", + "name": "_id", + "nameLocation": "3885:3:0", + "nodeType": "VariableDeclaration", + "scope": 294, + "src": "3877:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 279, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3877:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 282, + "mutability": "mutable", + "name": "_decrement", + "nameLocation": "3898:10:0", + "nodeType": "VariableDeclaration", + "scope": 294, + "src": "3890:18:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 281, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3890:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3876:33:0" + }, + "returnParameters": { + "id": 286, + "nodeType": "ParameterList", + "parameters": [], + "src": "3937:0:0" + }, + "scope": 366, + "src": "3848:138:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "baseFunctions": [ + 424 + ], + "body": { + "id": 309, + "nodeType": "Block", + "src": "4081:44:0", + "statements": [ + { + "expression": { + "id": 307, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 303, + "name": "boolStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 12, + "src": "4092:11:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", + "typeString": "mapping(bytes32 => bool)" + } + }, + "id": 305, + "indexExpression": { + "id": 304, + "name": "_id", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 296, + "src": "4104:3:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "4092:16:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 306, + "name": "_value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 298, + "src": "4111:6:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "src": "4092:25:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 308, + "nodeType": "ExpressionStatement", + "src": "4092:25:0" + } + ] + }, + "functionSelector": "988c515b", + "id": 310, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "id": 301, + "kind": "modifierInvocation", + "modifierName": { + "id": 300, + "name": "onlyByPoolContract", + "nodeType": "IdentifierPath", + "referencedDeclaration": 88, + "src": "4063:18:0" + }, + "nodeType": "ModifierInvocation", + "src": "4063:18:0" + } + ], + "name": "setBoolStorage", + "nameLocation": "4013:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 299, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 296, + "mutability": "mutable", + "name": "_id", + "nameLocation": "4036:3:0", + "nodeType": "VariableDeclaration", + "scope": 310, + "src": "4028:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 295, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4028:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 298, + "mutability": "mutable", + "name": "_value", + "nameLocation": "4046:6:0", + "nodeType": "VariableDeclaration", + "scope": 310, + "src": "4041:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 297, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "4041:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "4027:26:0" + }, + "returnParameters": { + "id": 302, + "nodeType": "ParameterList", + "parameters": [], + "src": "4081:0:0" + }, + "scope": 366, + "src": "4004:121:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "baseFunctions": [ + 431 + ], + "body": { + "id": 325, + "nodeType": "Block", + "src": "4220:47:0", + "statements": [ + { + "expression": { + "id": 323, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 319, + "name": "addressStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "4231:14:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$", + "typeString": "mapping(bytes32 => address)" + } + }, + "id": 321, + "indexExpression": { + "id": 320, + "name": "_id", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 312, + "src": "4246:3:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "4231:19:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 322, + "name": "_value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 314, + "src": "4253:6:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "4231:28:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "id": 324, + "nodeType": "ExpressionStatement", + "src": "4231:28:0" + } + ] + }, + "functionSelector": "7221263a", + "id": 326, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "id": 317, + "kind": "modifierInvocation", + "modifierName": { + "id": 316, + "name": "onlyByPoolContract", + "nodeType": "IdentifierPath", + "referencedDeclaration": 88, + "src": "4202:18:0" + }, + "nodeType": "ModifierInvocation", + "src": "4202:18:0" + } + ], + "name": "setAddressStorage", + "nameLocation": "4146:17:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 315, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 312, + "mutability": "mutable", + "name": "_id", + "nameLocation": "4172:3:0", + "nodeType": "VariableDeclaration", + "scope": 326, + "src": "4164:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 311, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4164:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 314, + "mutability": "mutable", + "name": "_value", + "nameLocation": "4185:6:0", + "nodeType": "VariableDeclaration", + "scope": 326, + "src": "4177:14:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 313, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4177:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "4163:29:0" + }, + "returnParameters": { + "id": 318, + "nodeType": "ParameterList", + "parameters": [], + "src": "4220:0:0" + }, + "scope": 366, + "src": "4137:130:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "baseFunctions": [ + 450 + ], + "body": { + "id": 338, + "nodeType": "Block", + "src": "4393:42:0", + "statements": [ + { + "expression": { + "id": 336, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "delete", + "prefix": true, + "src": "4404:23:0", + "subExpression": { + "baseExpression": { + "id": 333, + "name": "uintStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 8, + "src": "4411:11:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", + "typeString": "mapping(bytes32 => uint256)" + } + }, + "id": 335, + "indexExpression": { + "id": 334, + "name": "_id", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 328, + "src": "4423:3:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "4411:16:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 337, + "nodeType": "ExpressionStatement", + "src": "4404:23:0" + } + ] + }, + "functionSelector": "8a2c6738", + "id": 339, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "id": 331, + "kind": "modifierInvocation", + "modifierName": { + "id": 330, + "name": "onlyByPoolContract", + "nodeType": "IdentifierPath", + "referencedDeclaration": 88, + "src": "4375:18:0" + }, + "nodeType": "ModifierInvocation", + "src": "4375:18:0" + } + ], + "name": "deleteUintStorage", + "nameLocation": "4335:17:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 329, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 328, + "mutability": "mutable", + "name": "_id", + "nameLocation": "4361:3:0", + "nodeType": "VariableDeclaration", + "scope": 339, + "src": "4353:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 327, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4353:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "4352:13:0" + }, + "returnParameters": { + "id": 332, + "nodeType": "ParameterList", + "parameters": [], + "src": "4393:0:0" + }, + "scope": 366, + "src": "4326:109:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "baseFunctions": [ + 455 + ], + "body": { + "id": 351, + "nodeType": "Block", + "src": "4518:42:0", + "statements": [ + { + "expression": { + "id": 349, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "delete", + "prefix": true, + "src": "4529:23:0", + "subExpression": { + "baseExpression": { + "id": 346, + "name": "boolStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 12, + "src": "4536:11:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_bool_$", + "typeString": "mapping(bytes32 => bool)" + } + }, + "id": 348, + "indexExpression": { + "id": 347, + "name": "_id", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 341, + "src": "4548:3:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "4536:16:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 350, + "nodeType": "ExpressionStatement", + "src": "4529:23:0" + } + ] + }, + "functionSelector": "b240da3f", + "id": 352, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "id": 344, + "kind": "modifierInvocation", + "modifierName": { + "id": 343, + "name": "onlyByPoolContract", + "nodeType": "IdentifierPath", + "referencedDeclaration": 88, + "src": "4500:18:0" + }, + "nodeType": "ModifierInvocation", + "src": "4500:18:0" + } + ], + "name": "deleteBoolStorage", + "nameLocation": "4460:17:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 342, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 341, + "mutability": "mutable", + "name": "_id", + "nameLocation": "4486:3:0", + "nodeType": "VariableDeclaration", + "scope": 352, + "src": "4478:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 340, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4478:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "4477:13:0" + }, + "returnParameters": { + "id": 345, + "nodeType": "ParameterList", + "parameters": [], + "src": "4518:0:0" + }, + "scope": 366, + "src": "4451:109:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "baseFunctions": [ + 460 + ], + "body": { + "id": 364, + "nodeType": "Block", + "src": "4642:45:0", + "statements": [ + { + "expression": { + "id": 362, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "delete", + "prefix": true, + "src": "4653:26:0", + "subExpression": { + "baseExpression": { + "id": 359, + "name": "addressStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 16, + "src": "4660:14:0", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_address_$", + "typeString": "mapping(bytes32 => address)" + } + }, + "id": 361, + "indexExpression": { + "id": 360, + "name": "_id", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 354, + "src": "4675:3:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "4660:19:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 363, + "nodeType": "ExpressionStatement", + "src": "4653:26:0" + } + ] + }, + "functionSelector": "e732da72", + "id": 365, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "id": 357, + "kind": "modifierInvocation", + "modifierName": { + "id": 356, + "name": "onlyByPoolContract", + "nodeType": "IdentifierPath", + "referencedDeclaration": 88, + "src": "4624:18:0" + }, + "nodeType": "ModifierInvocation", + "src": "4624:18:0" + } + ], + "name": "deleteAddressStorage", + "nameLocation": "4581:20:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 355, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 354, + "mutability": "mutable", + "name": "_id", + "nameLocation": "4610:3:0", + "nodeType": "VariableDeclaration", + "scope": 365, + "src": "4602:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 353, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4602:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "4601:13:0" + }, + "returnParameters": { + "id": 358, + "nodeType": "ParameterList", + "parameters": [], + "src": "4642:0:0" + }, + "scope": 366, + "src": "4572:115:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + } + ], + "scope": 367, + "src": "253:4446:0", + "usedErrors": [] + } + ], + "src": "33:4666:0" + }, + "functionHashes": { + "confirmGuard()": "27918182", + "decreaseUintStorage(bytes32,uint256)": "5bcfee67", + "deleteAddressStorage(bytes32)": "e732da72", + "deleteBoolStorage(bytes32)": "b240da3f", + "deleteUintStorage(bytes32)": "8a2c6738", + "getAddressStorage(bytes32)": "2a90bbb2", + "getBoolStorage(bytes32)": "55d94655", + "getCurrentGuardian()": "0bc169a5", + "getStorageStatus()": "545e1b52", + "getUintStorage(bytes32)": "afc3602b", + "increaseUintStorage(bytes32,uint256)": "1d8895e0", + "setAddressStorage(bytes32,address)": "7221263a", + "setBoolStorage(bytes32,bool)": "988c515b", + "setNewGuardian(address)": "e87f7c31", + "setStorageLive()": "66b80832", + "setUintStorage(bytes32,uint256)": "28192c55" + }, + "gasEstimates": { + "creation": { + "codeDepositCost": "739200", + "executionCost": "98215", + "totalCost": "837415" + }, + "external": { + "confirmGuard()": "52345", + "decreaseUintStorage(bytes32,uint256)": "31410", + "deleteAddressStorage(bytes32)": "31292", + "deleteBoolStorage(bytes32)": "31258", + "deleteUintStorage(bytes32)": "12069", + "getAddressStorage(bytes32)": "2489", + "getBoolStorage(bytes32)": "2517", + "getCurrentGuardian()": "2344", + "getStorageStatus()": "2338", + "getUintStorage(bytes32)": "2463", + "increaseUintStorage(bytes32,uint256)": "31370", + "setAddressStorage(bytes32,address)": "31417", + "setBoolStorage(bytes32,bool)": "31392", + "setNewGuardian(address)": "26810", + "setStorageLive()": "26542", + "setUintStorage(bytes32,uint256)": "29218" + }, + "internal": { + "_setDataStorageAddress()": "infinite" + } + } +} \ No newline at end of file diff --git a/bin/contracts/PoolBase-solc-output.json b/bin/contracts/PoolBase-solc-output.json new file mode 100644 index 00000000..873f32d6 --- /dev/null +++ b/bin/contracts/PoolBase-solc-output.json @@ -0,0 +1,27429 @@ +{ + "contracts": { + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol": { + "PoolBase": { + "abi": [ + { + "inputs": [ + { + "internalType": "contract DataStorageInterface", + "name": "_dataStorageAddress", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_removedManager", + "type": "address" + } + ], + "name": "ManagerRemoved", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_newManager", + "type": "address" + } + ], + "name": "NewManagerAdded", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "POOL_MANAGER", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "addPoolManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "getContributionLimit", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getMinContribution", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolBaseAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolFees", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolMaxSize", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolState", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardsInterest", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardsInterval", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "removePoolManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newContrLimit", + "type": "uint256" + } + ], + "name": "setContributionLimit", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newMinContr", + "type": "uint256" + } + ], + "name": "setMinContribution", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_poolFees", + "type": "uint256" + } + ], + "name": "setPoolFees", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bool", + "name": "_live", + "type": "bool" + } + ], + "name": "setPoolLive", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_maxSize", + "type": "uint256" + } + ], + "name": "setPoolMaxSize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_rewardsInterest", + "type": "uint256" + } + ], + "name": "setRewardsInterest", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_daysToRewards", + "type": "uint256" + } + ], + "name": "setRewardsInterval", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "devdoc": { + "kind": "dev", + "methods": { + "getRoleAdmin(bytes32)": { + "details": "Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}." + }, + "grantRole(bytes32,address)": { + "details": "Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role." + }, + "hasRole(bytes32,address)": { + "details": "Returns `true` if `account` has been granted `role`." + }, + "renounceRole(bytes32,address)": { + "details": "Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`." + }, + "revokeRole(bytes32,address)": { + "details": "Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role." + }, + "setContributionLimit(uint256)": { + "details": "Set the max. contribution allowed for each user.", + "params": { + "_newContrLimit": "is a WEI value." + } + }, + "setMinContribution(uint256)": { + "details": "Set the min. contribution allowed for each user.", + "params": { + "_newMinContr": "is a WEI value." + } + }, + "setPoolFees(uint256)": { + "details": "Set the pool fees fraction that the pool charges for each deposit.", + "params": { + "_poolFees": "within the storage has 6 decimals." + } + }, + "setPoolLive(bool)": { + "details": "Toggles the Pool Investing Switch. " + }, + "setPoolMaxSize(uint256)": { + "details": "Sets the Pool Maximium size expressed on ether.", + "params": { + "_maxSize": "is a WEI value (or BigInt / BigNumber)." + } + }, + "setRewardsInterest(uint256)": { + "details": "Set the interest per effective period.", + "params": { + "_rewardsInterest": "within the storage has 6 decimals." + } + }, + "setRewardsInterval(uint256)": { + "details": "Set the interval in days of the rewards period." + }, + "supportsInterface(bytes4)": { + "details": "See {IERC165-supportsInterface}." + } + }, + "title": "This contract handles the modifiers and environmental parameters that control the pool. ", + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": { + "@_1149": { + "entryPoint": null, + "id": 1149, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_55": { + "entryPoint": null, + "id": 55, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@_grantRole_1025": { + "entryPoint": 531, + "id": 1025, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@_msgSender_1182": { + "entryPoint": null, + "id": 1182, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@_setPoolBaseAddress_162": { + "entryPoint": 173, + "id": 162, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_setupRole_965": { + "entryPoint": 157, + "id": 965, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@hasRole_830": { + "entryPoint": null, + "id": 830, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_contract$_DataStorageInterface_$748_fromMemory": { + "entryPoint": 691, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + } + }, + "generatedSources": [ + { + "ast": { + "nodeType": "YulBlock", + "src": "0:1665:9", + "statements": [ + { + "nodeType": "YulBlock", + "src": "6:3:9", + "statements": [] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "123:209:9", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "169:16:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "178:1:9", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "181:1:9", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "171:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "171:12:9" + }, + "nodeType": "YulExpressionStatement", + "src": "171:12:9" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "144:7:9" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "153:9:9" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "140:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "140:23:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "165:2:9", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "136:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "136:32:9" + }, + "nodeType": "YulIf", + "src": "133:52:9" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "194:29:9", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "213:9:9" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "207:5:9" + }, + "nodeType": "YulFunctionCall", + "src": "207:16:9" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "198:5:9", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "286:16:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "295:1:9", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "298:1:9", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "288:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "288:12:9" + }, + "nodeType": "YulExpressionStatement", + "src": "288:12:9" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "245:5:9" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "256:5:9" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "271:3:9", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "276:1:9", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "267:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "267:11:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "280:1:9", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "263:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "263:19:9" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "252:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "252:31:9" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "242:2:9" + }, + "nodeType": "YulFunctionCall", + "src": "242:42:9" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "235:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "235:50:9" + }, + "nodeType": "YulIf", + "src": "232:70:9" + }, + { + "nodeType": "YulAssignment", + "src": "311:15:9", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "321:5:9" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "311:6:9" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_contract$_DataStorageInterface_$748_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "89:9:9", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "100:7:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "112:6:9", + "type": "" + } + ], + "src": "14:318:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "557:150:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "574:3:9" + }, + { + "hexValue": "636f6e74726163745f657869737473", + "kind": "string", + "nodeType": "YulLiteral", + "src": "579:17:9", + "type": "", + "value": "contract_exists" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "567:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "567:30:9" + }, + "nodeType": "YulExpressionStatement", + "src": "567:30:9" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "617:3:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "622:2:9", + "type": "", + "value": "15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "613:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "613:12:9" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "635:2:9", + "type": "", + "value": "96" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "639:6:9" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "631:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "631:15:9" + }, + { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "660:2:9", + "type": "", + "value": "96" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "664:1:9", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "656:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "656:10:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "668:1:9", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "652:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "652:18:9" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "648:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "648:23:9" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "627:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "627:45:9" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "606:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "606:67:9" + }, + "nodeType": "YulExpressionStatement", + "src": "606:67:9" + }, + { + "nodeType": "YulAssignment", + "src": "682:19:9", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "693:3:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "698:2:9", + "type": "", + "value": "35" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "689:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "689:12:9" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "682:3:9" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "533:3:9", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "538:6:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "549:3:9", + "type": "" + } + ], + "src": "337:370:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "835:135:9", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "845:26:9", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "857:9:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "868:2:9", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "853:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "853:18:9" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "845:4:9" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "887:9:9" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "898:6:9" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "880:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "880:25:9" + }, + "nodeType": "YulExpressionStatement", + "src": "880:25:9" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "925:9:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "936:2:9", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "921:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "921:18:9" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "955:6:9" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "948:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "948:14:9" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "941:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "941:22:9" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "914:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "914:50:9" + }, + "nodeType": "YulExpressionStatement", + "src": "914:50:9" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "796:9:9", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "807:6:9", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "815:6:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "826:4:9", + "type": "" + } + ], + "src": "712:258:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1268:116:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "1285:3:9" + }, + { + "hexValue": "636f6e74726163745f61646472657373", + "kind": "string", + "nodeType": "YulLiteral", + "src": "1290:18:9", + "type": "", + "value": "contract_address" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1278:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "1278:31:9" + }, + "nodeType": "YulExpressionStatement", + "src": "1278:31:9" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "1329:3:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1334:2:9", + "type": "", + "value": "16" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1325:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "1325:12:9" + }, + { + "hexValue": "506f6f6c42617365", + "kind": "string", + "nodeType": "YulLiteral", + "src": "1339:10:9", + "type": "", + "value": "PoolBase" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1318:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "1318:32:9" + }, + "nodeType": "YulExpressionStatement", + "src": "1318:32:9" + }, + { + "nodeType": "YulAssignment", + "src": "1359:19:9", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "1370:3:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1375:2:9", + "type": "", + "value": "24" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1366:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "1366:12:9" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "1359:3:9" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "1252:3:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "1260:3:9", + "type": "" + } + ], + "src": "975:409:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1518:145:9", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "1528:26:9", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1540:9:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1551:2:9", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1536:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "1536:18:9" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "1528:4:9" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1570:9:9" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1581:6:9" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1563:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "1563:25:9" + }, + "nodeType": "YulExpressionStatement", + "src": "1563:25:9" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1608:9:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1619:2:9", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1604:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "1604:18:9" + }, + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "1628:6:9" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1644:3:9", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1649:1:9", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "1640:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "1640:11:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1653:1:9", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1636:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "1636:19:9" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "1624:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "1624:32:9" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1597:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "1597:60:9" + }, + "nodeType": "YulExpressionStatement", + "src": "1597:60:9" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1479:9:9", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "1490:6:9", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1498:6:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "1509:4:9", + "type": "" + } + ], + "src": "1389:274:9" + } + ] + }, + "contents": "{\n { }\n function abi_decode_tuple_t_contract$_DataStorageInterface_$748_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := mload(headStart)\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n value0 := value\n }\n function abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed(pos, value0) -> end\n {\n mstore(pos, \"contract_exists\")\n mstore(add(pos, 15), and(shl(96, value0), not(sub(shl(96, 1), 1))))\n end := add(pos, 35)\n }\n function abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), iszero(iszero(value1)))\n }\n function abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"contract_address\")\n mstore(add(pos, 16), \"PoolBase\")\n end := add(pos, 24)\n }\n function abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), and(value1, sub(shl(160, 1), 1)))\n }\n}", + "id": 9, + "language": "Yul", + "name": "#utility.yul" + } + ], + "linkReferences": {}, + "object": "60806040523480156200001157600080fd5b506040516200196e3803806200196e8339810160408190526200003491620002b3565b60018055600280546001600160a01b0319166001600160a01b038316179055620000606000336200009d565b6200008c7f41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842336200009d565b62000096620000ad565b50620002e5565b620000a9828262000213565b5050565b6002546040516e636f6e74726163745f65786973747360881b60208201526001600160601b03193060601b16602f8201526001600160a01b039091169063988c515b9060430160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b168252600482015260016024820152604401600060405180830381600087803b1580156200014757600080fd5b505af11580156200015c573d6000803e3d6000fd5b50506002546040516f636f6e74726163745f6164647265737360801b602082015267506f6f6c4261736560c01b60308201526001600160a01b039091169250637221263a915060380160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b1682526004820152306024820152604401600060405180830381600087803b158015620001f857600080fd5b505af11580156200020d573d6000803e3d6000fd5b50505050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620000a9576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556200026f3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600060208284031215620002c657600080fd5b81516001600160a01b0381168114620002de57600080fd5b9392505050565b61167980620002f56000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c806362308e85116100de57806391d1485411610097578063bf4c003611610071578063bf4c003614610309578063d1d8d0601461031c578063d547741f14610324578063fa1e19e51461033757600080fd5b806391d14854146102db578063a217fddf146102ee578063a4975516146102f657600080fd5b806362308e85146102705780636cff74731461028557806372d099a01461028d5780637521796f146102a05780638ae68134146102a85780638dd225d5146102c857600080fd5b80632f2ff15d116101305780632f2ff15d1461020957806336568abe1461021c57806345077e711461022f578063473b0d4614610242578063497d02411461025557806353710f491461025d57600080fd5b806301ffc9a714610178578063095df57f146101a057806312646987146101b6578063217ac237146101cb578063248a9ca3146101d357806329ca15bc146101f6575b600080fd5b61018b610186366004611348565b61033f565b60405190151581526020015b60405180910390f35b6101a8610376565b604051908152602001610197565b6101c96101c4366004611372565b610433565b005b61018b6105ba565b6101a86101e1366004611372565b60009081526020819052604090206001015490565b6101c96102043660046113a3565b61065f565b6101c96102173660046113c0565b6106bb565b6101c961022a3660046113c0565b6106e6565b6101c961023d3660046113a3565b610764565b6101c9610250366004611372565b6107c0565b6101a86108c4565b6101c961026b366004611372565b6108ea565b6101a860008051602061162483398151915281565b6101a86109ec565b6101c961029b366004611372565b610a14565b6101a8610b1a565b6102b0610b4b565b6040516001600160a01b039091168152602001610197565b6101c96102d6366004611372565b610c24565b61018b6102e93660046113c0565b610e3e565b6101a8600081565b6101c96103043660046113fe565b610e67565b6101c9610317366004611372565b610ee1565b6101a8610fee565b6101c96103323660046113c0565b61100f565b6101a8611035565b60006001600160e01b03198216637965db0b60e01b148061037057506301ffc9a760e01b6001600160e01b03198316145b92915050565b60008060405160200161039a906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b1580156103f557600080fd5b505afa158015610409573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061042d919061141b565b91505090565b60008051602061162483398151915261044c813361105f565b6002546040516001600160a01b03909116906355d946559061047090602001611434565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b81526004016104a491815260200190565b60206040518083038186803b1580156104bc57600080fd5b505afa1580156104d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f4919061144a565b1561051a5760405162461bcd60e51b815260040161051190611467565b60405180910390fd5b6040516a706f6f6c4d617853697a6560a81b6020820152600090602b015b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018690529092506001600160a01b0316906328192c55906044015b600060405180830381600087803b15801561059d57600080fd5b505af11580156105b1573d6000803e3d6000fd5b50505050505050565b6000806040516020016105cc90611434565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561062757600080fd5b505afa15801561063b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061042d919061144a565b600061066b813361105f565b6106836000805160206116248339815191528361100f565b6040516001600160a01b038316907fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd3190600090a25050565b6000828152602081905260409020600101546106d7813361105f565b6106e183836110c3565b505050565b6001600160a01b03811633146107565760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610511565b6107608282611147565b5050565b6000610770813361105f565b610788600080516020611624833981519152836106bb565b6040516001600160a01b038316907fd873e3f571dc25e020cefdeb7255b3874ead3aade1f94a5fb4a5da831fd670cd90600090a25050565b6000805160206116248339815191526107d9813361105f565b6002546040516001600160a01b03909116906355d94655906107fd90602001611434565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161083191815260200190565b60206040518083038186803b15801561084957600080fd5b505afa15801561085d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610881919061144a565b1561089e5760405162461bcd60e51b815260040161051190611467565b6040516e36b4b721b7b73a3934b13aba34b7b760891b6020820152600090602f01610538565b60008060405160200161039a906c64617973546f5265776172647360981b8152600d0190565b600080516020611624833981519152610903813361105f565b6002546040516001600160a01b03909116906355d946559061092790602001611434565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161095b91815260200190565b60206040518083038186803b15801561097357600080fd5b505afa158015610987573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ab919061144a565b156109c85760405162461bcd60e51b815260040161051190611467565b6040516c64617973546f5265776172647360981b6020820152600090602d01610538565b60008060405160200161039a906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b600080516020611624833981519152610a2d813361105f565b6002546040516001600160a01b03909116906355d9465590610a5190602001611434565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610a8591815260200190565b60206040518083038186803b158015610a9d57600080fd5b505afa158015610ab1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad5919061144a565b15610af25760405162461bcd60e51b815260040161051190611467565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b6020820152600090603101610538565b60008060405160200161039a90771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b600080604051602001610b85906f636f6e74726163745f6164647265737360801b815267506f6f6c4261736560c01b601082015260180190565b60408051808303601f190181529082905280516020909101206002546315485dd960e11b8352600483018290529092506000916001600160a01b0390911690632a90bbb29060240160206040518083038186803b158015610be557600080fd5b505afa158015610bf9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1d919061149e565b9392505050565b600080516020611624833981519152610c3d813361105f565b6002546040516001600160a01b03909116906355d9465590610c6190602001611434565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610c9591815260200190565b60206040518083038186803b158015610cad57600080fd5b505afa158015610cc1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce5919061144a565b15610d025760405162461bcd60e51b815260040161051190611467565b60405167706f6f6c4665657360c01b60208201526000906028016040516020818303038152906040528051906020012090506000604051602001610d57906a1c1bdbdb1199595cd4d95d60aa1b8152600b0190565b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301859052602483018790529092506001600160a01b0316906328192c5590604401600060405180830381600087803b158015610dbb57600080fd5b505af1158015610dcf573d6000803e3d6000fd5b505060025460405163988c515b60e01b815260048101859052600160248201526001600160a01b03909116925063988c515b9150604401600060405180830381600087803b158015610e2057600080fd5b505af1158015610e34573d6000803e3d6000fd5b5050505050505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020611624833981519152610e80813361105f565b6000604051602001610e9190611434565b60408051808303601f1901815290829052805160209091012060025463988c515b60e01b83526004830182905285151560248401529092506001600160a01b03169063988c515b90604401610583565b600080516020611624833981519152610efa813361105f565b6002546040516001600160a01b03909116906355d9465590610f1e90602001611434565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610f5291815260200190565b60206040518083038186803b158015610f6a57600080fd5b505afa158015610f7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa2919061144a565b15610fbf5760405162461bcd60e51b815260040161051190611467565b604051771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b6020820152600090603801610538565b60008060405160200161039a9067706f6f6c4665657360c01b815260080190565b60008281526020819052604090206001015461102b813361105f565b6106e18383611147565b60008060405160200161039a907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b6110698282610e3e565b61076057611081816001600160a01b031660146111ac565b61108c8360206111ac565b60405160200161109d9291906114eb565b60408051601f198184030181529082905262461bcd60e51b825261051191600401611560565b6110cd8282610e3e565b610760576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556111033390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6111518282610e3e565b15610760576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b606060006111bb8360026115a9565b6111c69060026115c8565b67ffffffffffffffff8111156111de576111de6115e0565b6040519080825280601f01601f191660200182016040528015611208576020820181803683370190505b509050600360fc1b81600081518110611223576112236115f6565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611252576112526115f6565b60200101906001600160f81b031916908160001a90535060006112768460026115a9565b6112819060016115c8565b90505b60018111156112f9576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106112b5576112b56115f6565b1a60f81b8282815181106112cb576112cb6115f6565b60200101906001600160f81b031916908160001a90535060049490941c936112f28161160c565b9050611284565b508315610c1d5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610511565b60006020828403121561135a57600080fd5b81356001600160e01b031981168114610c1d57600080fd5b60006020828403121561138457600080fd5b5035919050565b6001600160a01b03811681146113a057600080fd5b50565b6000602082840312156113b557600080fd5b8135610c1d8161138b565b600080604083850312156113d357600080fd5b8235915060208301356113e58161138b565b809150509250929050565b80151581146113a057600080fd5b60006020828403121561141057600080fd5b8135610c1d816113f0565b60006020828403121561142d57600080fd5b5051919050565b696973506f6f6c4c69766560b01b8152600a0190565b60006020828403121561145c57600080fd5b8151610c1d816113f0565b6020808252601d908201527f54686520706f6f6c2069732063757272656e746c7920636c6f7365642e000000604082015260600190565b6000602082840312156114b057600080fd5b8151610c1d8161138b565b60005b838110156114d65781810151838201526020016114be565b838111156114e5576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516115238160178501602088016114bb565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516115548160288401602088016114bb565b01602801949350505050565b602081526000825180602084015261157f8160408501602087016114bb565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156115c3576115c3611593565b500290565b600082198211156115db576115db611593565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008161161b5761161b611593565b50600019019056fe41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842a2646970667358221220de7843e4bed15ddac8d85fa1ad35c800b5116d1700f6ec172ab17b776534046d64736f6c63430008090033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH3 0x11 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH3 0x196E CODESIZE SUB DUP1 PUSH3 0x196E DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH3 0x34 SWAP2 PUSH3 0x2B3 JUMP JUMPDEST PUSH1 0x1 DUP1 SSTORE PUSH1 0x2 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND OR SWAP1 SSTORE PUSH3 0x60 PUSH1 0x0 CALLER PUSH3 0x9D JUMP JUMPDEST PUSH3 0x8C PUSH32 0x41A01EC0A13B563FA452569E3FBB116366D217C2769AA1561822E65A617E3842 CALLER PUSH3 0x9D JUMP JUMPDEST PUSH3 0x96 PUSH3 0xAD JUMP JUMPDEST POP PUSH3 0x2E5 JUMP JUMPDEST PUSH3 0xA9 DUP3 DUP3 PUSH3 0x213 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH15 0x636F6E74726163745F657869737473 PUSH1 0x88 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB NOT ADDRESS PUSH1 0x60 SHL AND PUSH1 0x2F DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x988C515B SWAP1 PUSH1 0x43 ADD PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT PUSH1 0xE0 DUP5 SWAP1 SHL AND DUP3 MSTORE PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x147 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH3 0x15C JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH16 0x636F6E74726163745F61646472657373 PUSH1 0x80 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH8 0x506F6F6C42617365 PUSH1 0xC0 SHL PUSH1 0x30 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP3 POP PUSH4 0x7221263A SWAP2 POP PUSH1 0x38 ADD PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT PUSH1 0xE0 DUP5 SWAP1 SHL AND DUP3 MSTORE PUSH1 0x4 DUP3 ADD MSTORE ADDRESS PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x1F8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH3 0x20D JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH3 0xA9 JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH3 0x26F CALLER SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH3 0x2C6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH3 0x2DE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0x1679 DUP1 PUSH3 0x2F5 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x173 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x62308E85 GT PUSH2 0xDE JUMPI DUP1 PUSH4 0x91D14854 GT PUSH2 0x97 JUMPI DUP1 PUSH4 0xBF4C0036 GT PUSH2 0x71 JUMPI DUP1 PUSH4 0xBF4C0036 EQ PUSH2 0x309 JUMPI DUP1 PUSH4 0xD1D8D060 EQ PUSH2 0x31C JUMPI DUP1 PUSH4 0xD547741F EQ PUSH2 0x324 JUMPI DUP1 PUSH4 0xFA1E19E5 EQ PUSH2 0x337 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x91D14854 EQ PUSH2 0x2DB JUMPI DUP1 PUSH4 0xA217FDDF EQ PUSH2 0x2EE JUMPI DUP1 PUSH4 0xA4975516 EQ PUSH2 0x2F6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x62308E85 EQ PUSH2 0x270 JUMPI DUP1 PUSH4 0x6CFF7473 EQ PUSH2 0x285 JUMPI DUP1 PUSH4 0x72D099A0 EQ PUSH2 0x28D JUMPI DUP1 PUSH4 0x7521796F EQ PUSH2 0x2A0 JUMPI DUP1 PUSH4 0x8AE68134 EQ PUSH2 0x2A8 JUMPI DUP1 PUSH4 0x8DD225D5 EQ PUSH2 0x2C8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x2F2FF15D GT PUSH2 0x130 JUMPI DUP1 PUSH4 0x2F2FF15D EQ PUSH2 0x209 JUMPI DUP1 PUSH4 0x36568ABE EQ PUSH2 0x21C JUMPI DUP1 PUSH4 0x45077E71 EQ PUSH2 0x22F JUMPI DUP1 PUSH4 0x473B0D46 EQ PUSH2 0x242 JUMPI DUP1 PUSH4 0x497D0241 EQ PUSH2 0x255 JUMPI DUP1 PUSH4 0x53710F49 EQ PUSH2 0x25D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x178 JUMPI DUP1 PUSH4 0x95DF57F EQ PUSH2 0x1A0 JUMPI DUP1 PUSH4 0x12646987 EQ PUSH2 0x1B6 JUMPI DUP1 PUSH4 0x217AC237 EQ PUSH2 0x1CB JUMPI DUP1 PUSH4 0x248A9CA3 EQ PUSH2 0x1D3 JUMPI DUP1 PUSH4 0x29CA15BC EQ PUSH2 0x1F6 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x18B PUSH2 0x186 CALLDATASIZE PUSH1 0x4 PUSH2 0x1348 JUMP JUMPDEST PUSH2 0x33F JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1A8 PUSH2 0x376 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x197 JUMP JUMPDEST PUSH2 0x1C9 PUSH2 0x1C4 CALLDATASIZE PUSH1 0x4 PUSH2 0x1372 JUMP JUMPDEST PUSH2 0x433 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x18B PUSH2 0x5BA JUMP JUMPDEST PUSH2 0x1A8 PUSH2 0x1E1 CALLDATASIZE PUSH1 0x4 PUSH2 0x1372 JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x1C9 PUSH2 0x204 CALLDATASIZE PUSH1 0x4 PUSH2 0x13A3 JUMP JUMPDEST PUSH2 0x65F JUMP JUMPDEST PUSH2 0x1C9 PUSH2 0x217 CALLDATASIZE PUSH1 0x4 PUSH2 0x13C0 JUMP JUMPDEST PUSH2 0x6BB JUMP JUMPDEST PUSH2 0x1C9 PUSH2 0x22A CALLDATASIZE PUSH1 0x4 PUSH2 0x13C0 JUMP JUMPDEST PUSH2 0x6E6 JUMP JUMPDEST PUSH2 0x1C9 PUSH2 0x23D CALLDATASIZE PUSH1 0x4 PUSH2 0x13A3 JUMP JUMPDEST PUSH2 0x764 JUMP JUMPDEST PUSH2 0x1C9 PUSH2 0x250 CALLDATASIZE PUSH1 0x4 PUSH2 0x1372 JUMP JUMPDEST PUSH2 0x7C0 JUMP JUMPDEST PUSH2 0x1A8 PUSH2 0x8C4 JUMP JUMPDEST PUSH2 0x1C9 PUSH2 0x26B CALLDATASIZE PUSH1 0x4 PUSH2 0x1372 JUMP JUMPDEST PUSH2 0x8EA JUMP JUMPDEST PUSH2 0x1A8 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1624 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 JUMP JUMPDEST PUSH2 0x1A8 PUSH2 0x9EC JUMP JUMPDEST PUSH2 0x1C9 PUSH2 0x29B CALLDATASIZE PUSH1 0x4 PUSH2 0x1372 JUMP JUMPDEST PUSH2 0xA14 JUMP JUMPDEST PUSH2 0x1A8 PUSH2 0xB1A JUMP JUMPDEST PUSH2 0x2B0 PUSH2 0xB4B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x197 JUMP JUMPDEST PUSH2 0x1C9 PUSH2 0x2D6 CALLDATASIZE PUSH1 0x4 PUSH2 0x1372 JUMP JUMPDEST PUSH2 0xC24 JUMP JUMPDEST PUSH2 0x18B PUSH2 0x2E9 CALLDATASIZE PUSH1 0x4 PUSH2 0x13C0 JUMP JUMPDEST PUSH2 0xE3E JUMP JUMPDEST PUSH2 0x1A8 PUSH1 0x0 DUP2 JUMP JUMPDEST PUSH2 0x1C9 PUSH2 0x304 CALLDATASIZE PUSH1 0x4 PUSH2 0x13FE JUMP JUMPDEST PUSH2 0xE67 JUMP JUMPDEST PUSH2 0x1C9 PUSH2 0x317 CALLDATASIZE PUSH1 0x4 PUSH2 0x1372 JUMP JUMPDEST PUSH2 0xEE1 JUMP JUMPDEST PUSH2 0x1A8 PUSH2 0xFEE JUMP JUMPDEST PUSH2 0x1C9 PUSH2 0x332 CALLDATASIZE PUSH1 0x4 PUSH2 0x13C0 JUMP JUMPDEST PUSH2 0x100F JUMP JUMPDEST PUSH2 0x1A8 PUSH2 0x1035 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH4 0x7965DB0B PUSH1 0xE0 SHL EQ DUP1 PUSH2 0x370 JUMPI POP PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP4 AND EQ JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x39A SWAP1 PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL DUP2 MSTORE PUSH1 0xB ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x3F5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x409 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x42D SWAP2 SWAP1 PUSH2 0x141B JUMP JUMPDEST SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1624 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x44C DUP2 CALLER PUSH2 0x105F JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x470 SWAP1 PUSH1 0x20 ADD PUSH2 0x1434 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x4A4 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x4BC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x4D0 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x4F4 SWAP2 SWAP1 PUSH2 0x144A JUMP JUMPDEST ISZERO PUSH2 0x51A JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x511 SWAP1 PUSH2 0x1467 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2B ADD JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP7 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x59D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x5B1 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x5CC SWAP1 PUSH2 0x1434 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x55D94655 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x627 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x63B JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x42D SWAP2 SWAP1 PUSH2 0x144A JUMP JUMPDEST PUSH1 0x0 PUSH2 0x66B DUP2 CALLER PUSH2 0x105F JUMP JUMPDEST PUSH2 0x683 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1624 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0x100F JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xEF69F7D97228658C92417BE1B16B19058315DE71FECB435D07B7D23728B6BD31 SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0x6D7 DUP2 CALLER PUSH2 0x105F JUMP JUMPDEST PUSH2 0x6E1 DUP4 DUP4 PUSH2 0x10C3 JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND CALLER EQ PUSH2 0x756 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416363657373436F6E74726F6C3A2063616E206F6E6C792072656E6F756E6365 PUSH1 0x44 DUP3 ADD MSTORE PUSH15 0x103937B632B9903337B91039B2B633 PUSH1 0x89 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x511 JUMP JUMPDEST PUSH2 0x760 DUP3 DUP3 PUSH2 0x1147 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x770 DUP2 CALLER PUSH2 0x105F JUMP JUMPDEST PUSH2 0x788 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1624 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0x6BB JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xD873E3F571DC25E020CEFDEB7255B3874EAD3AADE1F94A5FB4A5DA831FD670CD SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1624 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x7D9 DUP2 CALLER PUSH2 0x105F JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x7FD SWAP1 PUSH1 0x20 ADD PUSH2 0x1434 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x831 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x849 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x85D JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x881 SWAP2 SWAP1 PUSH2 0x144A JUMP JUMPDEST ISZERO PUSH2 0x89E JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x511 SWAP1 PUSH2 0x1467 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2F ADD PUSH2 0x538 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x39A SWAP1 PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL DUP2 MSTORE PUSH1 0xD ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1624 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x903 DUP2 CALLER PUSH2 0x105F JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x927 SWAP1 PUSH1 0x20 ADD PUSH2 0x1434 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x95B SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x973 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x987 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x9AB SWAP2 SWAP1 PUSH2 0x144A JUMP JUMPDEST ISZERO PUSH2 0x9C8 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x511 SWAP1 PUSH2 0x1467 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2D ADD PUSH2 0x538 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x39A SWAP1 PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL DUP2 MSTORE PUSH1 0xF ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1624 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xA2D DUP2 CALLER PUSH2 0x105F JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xA51 SWAP1 PUSH1 0x20 ADD PUSH2 0x1434 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xA85 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xA9D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xAB1 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xAD5 SWAP2 SWAP1 PUSH2 0x144A JUMP JUMPDEST ISZERO PUSH2 0xAF2 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x511 SWAP1 PUSH2 0x1467 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x31 ADD PUSH2 0x538 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x39A SWAP1 PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL DUP2 MSTORE PUSH1 0x18 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xB85 SWAP1 PUSH16 0x636F6E74726163745F61646472657373 PUSH1 0x80 SHL DUP2 MSTORE PUSH8 0x506F6F6C42617365 PUSH1 0xC0 SHL PUSH1 0x10 DUP3 ADD MSTORE PUSH1 0x18 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x15485DD9 PUSH1 0xE1 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x0 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x2A90BBB2 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xBE5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xBF9 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xC1D SWAP2 SWAP1 PUSH2 0x149E JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1624 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xC3D DUP2 CALLER PUSH2 0x105F JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xC61 SWAP1 PUSH1 0x20 ADD PUSH2 0x1434 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xC95 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xCAD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xCC1 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xCE5 SWAP2 SWAP1 PUSH2 0x144A JUMP JUMPDEST ISZERO PUSH2 0xD02 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x511 SWAP1 PUSH2 0x1467 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH8 0x706F6F6C46656573 PUSH1 0xC0 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x28 ADD PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xD57 SWAP1 PUSH11 0x1C1BDBDB1199595CD4D95D PUSH1 0xAA SHL DUP2 MSTORE PUSH1 0xB ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP6 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP8 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xDBB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xDCF JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0x988C515B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP6 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP3 POP PUSH4 0x988C515B SWAP2 POP PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xE20 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xE34 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP3 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 SWAP1 SWAP4 AND DUP5 MSTORE SWAP2 SWAP1 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1624 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xE80 DUP2 CALLER PUSH2 0x105F JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xE91 SWAP1 PUSH2 0x1434 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x988C515B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE DUP6 ISZERO ISZERO PUSH1 0x24 DUP5 ADD MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x988C515B SWAP1 PUSH1 0x44 ADD PUSH2 0x583 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1624 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xEFA DUP2 CALLER PUSH2 0x105F JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xF1E SWAP1 PUSH1 0x20 ADD PUSH2 0x1434 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF52 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xF6A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xF7E JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xFA2 SWAP2 SWAP1 PUSH2 0x144A JUMP JUMPDEST ISZERO PUSH2 0xFBF JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x511 SWAP1 PUSH2 0x1467 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x38 ADD PUSH2 0x538 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x39A SWAP1 PUSH8 0x706F6F6C46656573 PUSH1 0xC0 SHL DUP2 MSTORE PUSH1 0x8 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0x102B DUP2 CALLER PUSH2 0x105F JUMP JUMPDEST PUSH2 0x6E1 DUP4 DUP4 PUSH2 0x1147 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x39A SWAP1 PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL DUP2 MSTORE PUSH1 0x11 ADD SWAP1 JUMP JUMPDEST PUSH2 0x1069 DUP3 DUP3 PUSH2 0xE3E JUMP JUMPDEST PUSH2 0x760 JUMPI PUSH2 0x1081 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x14 PUSH2 0x11AC JUMP JUMPDEST PUSH2 0x108C DUP4 PUSH1 0x20 PUSH2 0x11AC JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x109D SWAP3 SWAP2 SWAP1 PUSH2 0x14EB JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE PUSH3 0x461BCD PUSH1 0xE5 SHL DUP3 MSTORE PUSH2 0x511 SWAP2 PUSH1 0x4 ADD PUSH2 0x1560 JUMP JUMPDEST PUSH2 0x10CD DUP3 DUP3 PUSH2 0xE3E JUMP JUMPDEST PUSH2 0x760 JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH2 0x1103 CALLER SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH2 0x1151 DUP3 DUP3 PUSH2 0xE3E JUMP JUMPDEST ISZERO PUSH2 0x760 JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP1 DUP6 MSTORE SWAP3 MSTORE DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE MLOAD CALLER SWAP3 DUP6 SWAP2 PUSH32 0xF6391F5C32D9C69D2A47EA670B442974B53935D1EDC7FD64EB21E047A839171B SWAP2 SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH2 0x11BB DUP4 PUSH1 0x2 PUSH2 0x15A9 JUMP JUMPDEST PUSH2 0x11C6 SWAP1 PUSH1 0x2 PUSH2 0x15C8 JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x11DE JUMPI PUSH2 0x11DE PUSH2 0x15E0 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x1208 JUMPI PUSH1 0x20 DUP3 ADD DUP2 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x3 PUSH1 0xFC SHL DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x1223 JUMPI PUSH2 0x1223 PUSH2 0x15F6 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0xF PUSH1 0xFB SHL DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x1252 JUMPI PUSH2 0x1252 PUSH2 0x15F6 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x0 PUSH2 0x1276 DUP5 PUSH1 0x2 PUSH2 0x15A9 JUMP JUMPDEST PUSH2 0x1281 SWAP1 PUSH1 0x1 PUSH2 0x15C8 JUMP JUMPDEST SWAP1 POP JUMPDEST PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x12F9 JUMPI PUSH16 0x181899199A1A9B1B9C1CB0B131B232B3 PUSH1 0x81 SHL DUP6 PUSH1 0xF AND PUSH1 0x10 DUP2 LT PUSH2 0x12B5 JUMPI PUSH2 0x12B5 PUSH2 0x15F6 JUMP JUMPDEST BYTE PUSH1 0xF8 SHL DUP3 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x12CB JUMPI PUSH2 0x12CB PUSH2 0x15F6 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x4 SWAP5 SWAP1 SWAP5 SHR SWAP4 PUSH2 0x12F2 DUP2 PUSH2 0x160C JUMP JUMPDEST SWAP1 POP PUSH2 0x1284 JUMP JUMPDEST POP DUP4 ISZERO PUSH2 0xC1D JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x537472696E67733A20686578206C656E67746820696E73756666696369656E74 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x511 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x135A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND DUP2 EQ PUSH2 0xC1D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1384 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x13A0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x13B5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0xC1D DUP2 PUSH2 0x138B JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x13D3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x13E5 DUP2 PUSH2 0x138B JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0x13A0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1410 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0xC1D DUP2 PUSH2 0x13F0 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x142D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH10 0x6973506F6F6C4C697665 PUSH1 0xB0 SHL DUP2 MSTORE PUSH1 0xA ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x145C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0xC1D DUP2 PUSH2 0x13F0 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1D SWAP1 DUP3 ADD MSTORE PUSH32 0x54686520706F6F6C2069732063757272656E746C7920636C6F7365642E000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x14B0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0xC1D DUP2 PUSH2 0x138B JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x14D6 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x14BE JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x14E5 JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH32 0x416363657373436F6E74726F6C3A206163636F756E7420000000000000000000 DUP2 MSTORE PUSH1 0x0 DUP4 MLOAD PUSH2 0x1523 DUP2 PUSH1 0x17 DUP6 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x14BB JUMP JUMPDEST PUSH17 0x1034B99036B4B9B9B4B733903937B6329 PUSH1 0x7D SHL PUSH1 0x17 SWAP2 DUP5 ADD SWAP2 DUP3 ADD MSTORE DUP4 MLOAD PUSH2 0x1554 DUP2 PUSH1 0x28 DUP5 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x14BB JUMP JUMPDEST ADD PUSH1 0x28 ADD SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 DUP3 MLOAD DUP1 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x157F DUP2 PUSH1 0x40 DUP6 ADD PUSH1 0x20 DUP8 ADD PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP2 SWAP1 SWAP2 ADD PUSH1 0x40 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x0 NOT DIV DUP4 GT DUP3 ISZERO ISZERO AND ISZERO PUSH2 0x15C3 JUMPI PUSH2 0x15C3 PUSH2 0x1593 JUMP JUMPDEST POP MUL SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x15DB JUMPI PUSH2 0x15DB PUSH2 0x1593 JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH2 0x161B JUMPI PUSH2 0x161B PUSH2 0x1593 JUMP JUMPDEST POP PUSH1 0x0 NOT ADD SWAP1 JUMP INVALID COINBASE LOG0 0x1E 0xC0 LOG1 EXTCODESIZE JUMP EXTCODEHASH LOG4 MSTORE JUMP SWAP15 EXTCODEHASH 0xBB GT PUSH4 0x66D217C2 PUSH23 0x9AA1561822E65A617E3842A2646970667358221220DE78 NUMBER 0xE4 0xBE 0xD1 0x5D 0xDA 0xC8 0xD8 0x5F LOG1 0xAD CALLDATALOAD 0xC8 STOP 0xB5 GT PUSH14 0x1700F6EC172AB17B776534046D64 PUSH20 0x6F6C634300080900330000000000000000000000 ", + "sourceMap": "627:8190:0:-:0;;;1209:259;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1701:1:4;1806:22;;1273:11:0;:55;;-1:-1:-1;;;;;;1273:55:0;-1:-1:-1;;;;;1273:55:0;;;;;1339:42;-1:-1:-1;1370:10:0;1339;:42::i;:::-;1392:36;726:25;1417:10;1392;:36::i;:::-;1439:21;:19;:21::i;:::-;1209:259;627:8190;;6257:110:2;6335:25;6346:4;6352:7;6335:10;:25::i;:::-;6257:110;;:::o;2543:269:0:-;2593:11;;2630:50;;-1:-1:-1;;;2630:50:0;;;567:30:9;-1:-1:-1;;;;;;2674:4:0;660:2:9;631:15;627:45;613:12;;;606:67;-1:-1:-1;;;;;2593:11:0;;;;:26;;689:12:9;;2630:50:0;;;-1:-1:-1;;2630:50:0;;;;;;;;;;2620:61;;2630:50;2620:61;;;;-1:-1:-1;;;;;;2593:95:0;;;;;;;;;;880:25:9;2683:4:0;921:18:9;;;914:50;853:18;;2593:95:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2699:11:0;;2739:48;;-1:-1:-1;;;2739:48:0;;;1278:31:9;-1:-1:-1;;;1325:12:9;;;1318:32;-1:-1:-1;;;;;2699:11:0;;;;-1:-1:-1;2699:29:0;;-1:-1:-1;1366:12:9;;2739:48:0;;;-1:-1:-1;;2739:48:0;;;;;;;;;;2729:59;;2739:48;2729:59;;;;-1:-1:-1;;;;;;2699:105:0;;;;;;;;;;1563:25:9;2798:4:0;1604:18:9;;;1597:60;1536:18;;2699:105:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2543:269::o;6861:233:2:-;2995:4;3018:12;;;;;;;;;;;-1:-1:-1;;;;;3018:29:2;;;;;;;;;;;;6939:149;;6982:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6982:29:2;;;;;;;;;:36;;-1:-1:-1;;6982:36:2;7014:4;6982:36;;;7064:12;719:10:5;;640:96;7064:12:2;-1:-1:-1;;;;;7037:40:2;7055:7;-1:-1:-1;;;;;7037:40:2;7049:4;7037:40;;;;;;;;;;6861:233;;:::o;14:318:9:-;112:6;165:2;153:9;144:7;140:23;136:32;133:52;;;181:1;178;171:12;133:52;207:16;;-1:-1:-1;;;;;252:31:9;;242:42;;232:70;;298:1;295;288:12;232:70;321:5;14:318;-1:-1:-1;;;14:318:9:o;1389:274::-;627:8190:0;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": { + "@DEFAULT_ADMIN_ROLE_776": { + "entryPoint": null, + "id": 776, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@POOL_MANAGER_14": { + "entryPoint": null, + "id": 14, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_checkRole_873": { + "entryPoint": 4191, + "id": 873, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@_grantRole_1025": { + "entryPoint": 4291, + "id": 1025, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@_msgSender_1182": { + "entryPoint": null, + "id": 1182, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@_revokeRole_1056": { + "entryPoint": 4423, + "id": 1056, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@addPoolManager_107": { + "entryPoint": 1892, + "id": 107, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@getContributionLimit_607": { + "entryPoint": 4149, + "id": 607, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getMinContribution_627": { + "entryPoint": 2540, + "id": 627, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getPoolBaseAddress_507": { + "entryPoint": 2891, + "id": 507, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getPoolFees_647": { + "entryPoint": 4078, + "id": 647, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getPoolMaxSize_547": { + "entryPoint": 886, + "id": 547, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getPoolState_527": { + "entryPoint": 1466, + "id": 527, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getRewardsInterest_587": { + "entryPoint": 2842, + "id": 587, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getRewardsInterval_567": { + "entryPoint": 2244, + "id": 567, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getRoleAdmin_888": { + "entryPoint": null, + "id": 888, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@grantRole_908": { + "entryPoint": 1723, + "id": 908, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@hasRole_830": { + "entryPoint": 3646, + "id": 830, + "parameterSlots": 2, + "returnSlots": 1 + }, + "@removePoolManager_125": { + "entryPoint": 1631, + "id": 125, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@renounceRole_951": { + "entryPoint": 1766, + "id": 951, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@revokeRole_928": { + "entryPoint": 4111, + "id": 928, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@setContributionLimit_348": { + "entryPoint": 2580, + "id": 348, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setMinContribution_388": { + "entryPoint": 1984, + "id": 388, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setPoolFees_444": { + "entryPoint": 3108, + "id": 444, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setPoolLive_188": { + "entryPoint": 3687, + "id": 188, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setPoolMaxSize_228": { + "entryPoint": 1075, + "id": 228, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setRewardsInterest_308": { + "entryPoint": 3809, + "id": 308, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setRewardsInterval_268": { + "entryPoint": 2282, + "id": 268, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@supportsInterface_1418": { + "entryPoint": null, + "id": 1418, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@supportsInterface_811": { + "entryPoint": 831, + "id": 811, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@toHexString_1394": { + "entryPoint": 4524, + "id": 1394, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_address": { + "entryPoint": 5027, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_address_fromMemory": { + "entryPoint": 5278, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bool": { + "entryPoint": 5118, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bool_fromMemory": { + "entryPoint": 5194, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bytes32": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bytes32t_address": { + "entryPoint": 5056, + "id": null, + "parameterSlots": 2, + "returnSlots": 2 + }, + "abi_decode_tuple_t_bytes4": { + "entryPoint": 4936, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_uint256": { + "entryPoint": 4978, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_uint256_fromMemory": { + "entryPoint": 5147, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_0f5404ed03256cc6395ed559bf52ccb5ab11bf8dddbd240da7e6d5ad4ab04dd7__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 5172, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_8f6e48ebe95c46ad356449234d760f7838119a9ccd28d70c8f8be00c200e3039__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874_t_string_memory_ptr_t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 5355, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_address__to_t_address__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_uint256__to_t_bytes32_t_uint256__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 5472, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_04fc88320d7c9f639317c75102c103ff0044d3075a5c627e24e76e5bbb2733c2__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 5223, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_add_t_uint256": { + "entryPoint": 5576, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_mul_t_uint256": { + "entryPoint": 5545, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "copy_memory_to_memory": { + "entryPoint": 5307, + "id": null, + "parameterSlots": 3, + "returnSlots": 0 + }, + "decrement_t_uint256": { + "entryPoint": 5644, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "panic_error_0x11": { + "entryPoint": 5523, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x32": { + "entryPoint": 5622, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x41": { + "entryPoint": 5600, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "validator_revert_address": { + "entryPoint": 5003, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "validator_revert_bool": { + "entryPoint": 5104, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + } + }, + "generatedSources": [ + { + "ast": { + "nodeType": "YulBlock", + "src": "0:9714:9", + "statements": [ + { + "nodeType": "YulBlock", + "src": "6:3:9", + "statements": [] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "83:217:9", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "129:16:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "138:1:9", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "141:1:9", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "131:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "131:12:9" + }, + "nodeType": "YulExpressionStatement", + "src": "131:12:9" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "104:7:9" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "113:9:9" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "100:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "100:23:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "125:2:9", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "96:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "96:32:9" + }, + "nodeType": "YulIf", + "src": "93:52:9" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "154:36:9", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "180:9:9" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "167:12:9" + }, + "nodeType": "YulFunctionCall", + "src": "167:23:9" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "158:5:9", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "254:16:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "263:1:9", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "266:1:9", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "256:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "256:12:9" + }, + "nodeType": "YulExpressionStatement", + "src": "256:12:9" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "212:5:9" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "223:5:9" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "234:3:9", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "239:10:9", + "type": "", + "value": "0xffffffff" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "230:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "230:20:9" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "219:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "219:32:9" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "209:2:9" + }, + "nodeType": "YulFunctionCall", + "src": "209:43:9" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "202:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "202:51:9" + }, + "nodeType": "YulIf", + "src": "199:71:9" + }, + { + "nodeType": "YulAssignment", + "src": "279:15:9", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "289:5:9" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "279:6:9" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bytes4", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "49:9:9", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "60:7:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "72:6:9", + "type": "" + } + ], + "src": "14:286:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "400:92:9", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "410:26:9", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "422:9:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "433:2:9", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "418:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "418:18:9" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "410:4:9" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "452:9:9" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "477:6:9" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "470:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "470:14:9" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "463:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "463:22:9" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "445:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "445:41:9" + }, + "nodeType": "YulExpressionStatement", + "src": "445:41:9" + } + ] + }, + "name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "369:9:9", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "380:6:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "391:4:9", + "type": "" + } + ], + "src": "305:187:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "598:76:9", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "608:26:9", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "620:9:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "631:2:9", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "616:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "616:18:9" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "608:4:9" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "650:9:9" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "661:6:9" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "643:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "643:25:9" + }, + "nodeType": "YulExpressionStatement", + "src": "643:25:9" + } + ] + }, + "name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "567:9:9", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "578:6:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "589:4:9", + "type": "" + } + ], + "src": "497:177:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "749:110:9", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "795:16:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "804:1:9", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "807:1:9", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "797:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "797:12:9" + }, + "nodeType": "YulExpressionStatement", + "src": "797:12:9" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "770:7:9" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "779:9:9" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "766:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "766:23:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "791:2:9", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "762:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "762:32:9" + }, + "nodeType": "YulIf", + "src": "759:52:9" + }, + { + "nodeType": "YulAssignment", + "src": "820:33:9", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "843:9:9" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "830:12:9" + }, + "nodeType": "YulFunctionCall", + "src": "830:23:9" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "820:6:9" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "715:9:9", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "726:7:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "738:6:9", + "type": "" + } + ], + "src": "679:180:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "934:110:9", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "980:16:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "989:1:9", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "992:1:9", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "982:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "982:12:9" + }, + "nodeType": "YulExpressionStatement", + "src": "982:12:9" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "955:7:9" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "964:9:9" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "951:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "951:23:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "976:2:9", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "947:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "947:32:9" + }, + "nodeType": "YulIf", + "src": "944:52:9" + }, + { + "nodeType": "YulAssignment", + "src": "1005:33:9", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1028:9:9" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1015:12:9" + }, + "nodeType": "YulFunctionCall", + "src": "1015:23:9" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1005:6:9" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bytes32", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "900:9:9", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "911:7:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "923:6:9", + "type": "" + } + ], + "src": "864:180:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1150:76:9", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "1160:26:9", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1172:9:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1183:2:9", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1168:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "1168:18:9" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "1160:4:9" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1202:9:9" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1213:6:9" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1195:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "1195:25:9" + }, + "nodeType": "YulExpressionStatement", + "src": "1195:25:9" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1119:9:9", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1130:6:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "1141:4:9", + "type": "" + } + ], + "src": "1049:177:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1276:86:9", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1340:16:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1349:1:9", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1352:1:9", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1342:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "1342:12:9" + }, + "nodeType": "YulExpressionStatement", + "src": "1342:12:9" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1299:5:9" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1310:5:9" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1325:3:9", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1330:1:9", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "1321:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "1321:11:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1334:1:9", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1317:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "1317:19:9" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "1306:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "1306:31:9" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "1296:2:9" + }, + "nodeType": "YulFunctionCall", + "src": "1296:42:9" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "1289:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "1289:50:9" + }, + "nodeType": "YulIf", + "src": "1286:70:9" + } + ] + }, + "name": "validator_revert_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "1265:5:9", + "type": "" + } + ], + "src": "1231:131:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1437:177:9", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1483:16:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1492:1:9", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1495:1:9", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1485:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "1485:12:9" + }, + "nodeType": "YulExpressionStatement", + "src": "1485:12:9" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "1458:7:9" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1467:9:9" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1454:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "1454:23:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1479:2:9", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "1450:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "1450:32:9" + }, + "nodeType": "YulIf", + "src": "1447:52:9" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "1508:36:9", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1534:9:9" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1521:12:9" + }, + "nodeType": "YulFunctionCall", + "src": "1521:23:9" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "1512:5:9", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1578:5:9" + } + ], + "functionName": { + "name": "validator_revert_address", + "nodeType": "YulIdentifier", + "src": "1553:24:9" + }, + "nodeType": "YulFunctionCall", + "src": "1553:31:9" + }, + "nodeType": "YulExpressionStatement", + "src": "1553:31:9" + }, + { + "nodeType": "YulAssignment", + "src": "1593:15:9", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1603:5:9" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1593:6:9" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1403:9:9", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "1414:7:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1426:6:9", + "type": "" + } + ], + "src": "1367:247:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1706:228:9", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1752:16:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1761:1:9", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1764:1:9", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1754:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "1754:12:9" + }, + "nodeType": "YulExpressionStatement", + "src": "1754:12:9" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "1727:7:9" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1736:9:9" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1723:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "1723:23:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1748:2:9", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "1719:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "1719:32:9" + }, + "nodeType": "YulIf", + "src": "1716:52:9" + }, + { + "nodeType": "YulAssignment", + "src": "1777:33:9", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1800:9:9" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1787:12:9" + }, + "nodeType": "YulFunctionCall", + "src": "1787:23:9" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1777:6:9" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "1819:45:9", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1849:9:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1860:2:9", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1845:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "1845:18:9" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1832:12:9" + }, + "nodeType": "YulFunctionCall", + "src": "1832:32:9" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "1823:5:9", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1898:5:9" + } + ], + "functionName": { + "name": "validator_revert_address", + "nodeType": "YulIdentifier", + "src": "1873:24:9" + }, + "nodeType": "YulFunctionCall", + "src": "1873:31:9" + }, + "nodeType": "YulExpressionStatement", + "src": "1873:31:9" + }, + { + "nodeType": "YulAssignment", + "src": "1913:15:9", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1923:5:9" + }, + "variableNames": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "1913:6:9" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bytes32t_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1664:9:9", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "1675:7:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1687:6:9", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "1695:6:9", + "type": "" + } + ], + "src": "1619:315:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2040:102:9", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "2050:26:9", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2062:9:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2073:2:9", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2058:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "2058:18:9" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "2050:4:9" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2092:9:9" + }, + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "2107:6:9" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2123:3:9", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2128:1:9", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "2119:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "2119:11:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2132:1:9", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "2115:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "2115:19:9" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "2103:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "2103:32:9" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2085:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "2085:51:9" + }, + "nodeType": "YulExpressionStatement", + "src": "2085:51:9" + } + ] + }, + "name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "2009:9:9", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "2020:6:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "2031:4:9", + "type": "" + } + ], + "src": "1939:203:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2189:76:9", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "2243:16:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2252:1:9", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2255:1:9", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "2245:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "2245:12:9" + }, + "nodeType": "YulExpressionStatement", + "src": "2245:12:9" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "2212:5:9" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "2233:5:9" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "2226:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "2226:13:9" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "2219:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "2219:21:9" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "2209:2:9" + }, + "nodeType": "YulFunctionCall", + "src": "2209:32:9" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "2202:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "2202:40:9" + }, + "nodeType": "YulIf", + "src": "2199:60:9" + } + ] + }, + "name": "validator_revert_bool", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "2178:5:9", + "type": "" + } + ], + "src": "2147:118:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2337:174:9", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "2383:16:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2392:1:9", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2395:1:9", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "2385:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "2385:12:9" + }, + "nodeType": "YulExpressionStatement", + "src": "2385:12:9" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "2358:7:9" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2367:9:9" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "2354:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "2354:23:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2379:2:9", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "2350:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "2350:32:9" + }, + "nodeType": "YulIf", + "src": "2347:52:9" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "2408:36:9", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2434:9:9" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "2421:12:9" + }, + "nodeType": "YulFunctionCall", + "src": "2421:23:9" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "2412:5:9", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "2475:5:9" + } + ], + "functionName": { + "name": "validator_revert_bool", + "nodeType": "YulIdentifier", + "src": "2453:21:9" + }, + "nodeType": "YulFunctionCall", + "src": "2453:28:9" + }, + "nodeType": "YulExpressionStatement", + "src": "2453:28:9" + }, + { + "nodeType": "YulAssignment", + "src": "2490:15:9", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "2500:5:9" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "2490:6:9" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bool", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "2303:9:9", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "2314:7:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "2326:6:9", + "type": "" + } + ], + "src": "2270:241:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2708:70:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "2725:3:9" + }, + { + "hexValue": "706f6f6c4d617853697a65", + "kind": "string", + "nodeType": "YulLiteral", + "src": "2730:13:9", + "type": "", + "value": "poolMaxSize" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2718:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "2718:26:9" + }, + "nodeType": "YulExpressionStatement", + "src": "2718:26:9" + }, + { + "nodeType": "YulAssignment", + "src": "2753:19:9", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "2764:3:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2769:2:9", + "type": "", + "value": "11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2760:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "2760:12:9" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "2753:3:9" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "2692:3:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "2700:3:9", + "type": "" + } + ], + "src": "2516:262:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2864:103:9", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "2910:16:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2919:1:9", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2922:1:9", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "2912:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "2912:12:9" + }, + "nodeType": "YulExpressionStatement", + "src": "2912:12:9" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "2885:7:9" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2894:9:9" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "2881:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "2881:23:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2906:2:9", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "2877:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "2877:32:9" + }, + "nodeType": "YulIf", + "src": "2874:52:9" + }, + { + "nodeType": "YulAssignment", + "src": "2935:26:9", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2951:9:9" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "2945:5:9" + }, + "nodeType": "YulFunctionCall", + "src": "2945:16:9" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "2935:6:9" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_uint256_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "2830:9:9", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "2841:7:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "2853:6:9", + "type": "" + } + ], + "src": "2783:184:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3164:69:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "3181:3:9" + }, + { + "hexValue": "6973506f6f6c4c697665", + "kind": "string", + "nodeType": "YulLiteral", + "src": "3186:12:9", + "type": "", + "value": "isPoolLive" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3174:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "3174:25:9" + }, + "nodeType": "YulExpressionStatement", + "src": "3174:25:9" + }, + { + "nodeType": "YulAssignment", + "src": "3208:19:9", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "3219:3:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3224:2:9", + "type": "", + "value": "10" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3215:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "3215:12:9" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "3208:3:9" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "3148:3:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "3156:3:9", + "type": "" + } + ], + "src": "2972:261:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3316:167:9", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "3362:16:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3371:1:9", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3374:1:9", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "3364:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "3364:12:9" + }, + "nodeType": "YulExpressionStatement", + "src": "3364:12:9" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "3337:7:9" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3346:9:9" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "3333:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "3333:23:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3358:2:9", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "3329:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "3329:32:9" + }, + "nodeType": "YulIf", + "src": "3326:52:9" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "3387:29:9", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3406:9:9" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "3400:5:9" + }, + "nodeType": "YulFunctionCall", + "src": "3400:16:9" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "3391:5:9", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "3447:5:9" + } + ], + "functionName": { + "name": "validator_revert_bool", + "nodeType": "YulIdentifier", + "src": "3425:21:9" + }, + "nodeType": "YulFunctionCall", + "src": "3425:28:9" + }, + "nodeType": "YulExpressionStatement", + "src": "3425:28:9" + }, + { + "nodeType": "YulAssignment", + "src": "3462:15:9", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "3472:5:9" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "3462:6:9" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bool_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "3282:9:9", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "3293:7:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "3305:6:9", + "type": "" + } + ], + "src": "3238:245:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3662:179:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3679:9:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3690:2:9", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3672:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "3672:21:9" + }, + "nodeType": "YulExpressionStatement", + "src": "3672:21:9" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3713:9:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3724:2:9", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3709:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "3709:18:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3729:2:9", + "type": "", + "value": "29" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3702:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "3702:30:9" + }, + "nodeType": "YulExpressionStatement", + "src": "3702:30:9" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3752:9:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3763:2:9", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3748:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "3748:18:9" + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "3768:31:9", + "type": "", + "value": "The pool is currently closed." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3741:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "3741:59:9" + }, + "nodeType": "YulExpressionStatement", + "src": "3741:59:9" + }, + { + "nodeType": "YulAssignment", + "src": "3809:26:9", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3821:9:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3832:2:9", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3817:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "3817:18:9" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "3809:4:9" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "3639:9:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "3653:4:9", + "type": "" + } + ], + "src": "3488:353:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3975:119:9", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "3985:26:9", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3997:9:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4008:2:9", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3993:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "3993:18:9" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "3985:4:9" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4027:9:9" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "4038:6:9" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4020:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "4020:25:9" + }, + "nodeType": "YulExpressionStatement", + "src": "4020:25:9" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4065:9:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4076:2:9", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4061:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "4061:18:9" + }, + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "4081:6:9" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4054:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "4054:34:9" + }, + "nodeType": "YulExpressionStatement", + "src": "4054:34:9" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_uint256__to_t_bytes32_t_uint256__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "3936:9:9", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "3947:6:9", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "3955:6:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "3966:4:9", + "type": "" + } + ], + "src": "3846:248:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4273:237:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4290:9:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4301:2:9", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4283:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "4283:21:9" + }, + "nodeType": "YulExpressionStatement", + "src": "4283:21:9" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4324:9:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4335:2:9", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4320:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "4320:18:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4340:2:9", + "type": "", + "value": "47" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4313:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "4313:30:9" + }, + "nodeType": "YulExpressionStatement", + "src": "4313:30:9" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4363:9:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4374:2:9", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4359:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "4359:18:9" + }, + { + "hexValue": "416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e6365", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4379:34:9", + "type": "", + "value": "AccessControl: can only renounce" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4352:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "4352:62:9" + }, + "nodeType": "YulExpressionStatement", + "src": "4352:62:9" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4434:9:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4445:2:9", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4430:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "4430:18:9" + }, + { + "hexValue": "20726f6c657320666f722073656c66", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4450:17:9", + "type": "", + "value": " roles for self" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4423:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "4423:45:9" + }, + "nodeType": "YulExpressionStatement", + "src": "4423:45:9" + }, + { + "nodeType": "YulAssignment", + "src": "4477:27:9", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4489:9:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4500:3:9", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4485:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "4485:19:9" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "4477:4:9" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "4250:9:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "4264:4:9", + "type": "" + } + ], + "src": "4099:411:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4707:74:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "4724:3:9" + }, + { + "hexValue": "6d696e436f6e747269627574696f6e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4729:17:9", + "type": "", + "value": "minContribution" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4717:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "4717:30:9" + }, + "nodeType": "YulExpressionStatement", + "src": "4717:30:9" + }, + { + "nodeType": "YulAssignment", + "src": "4756:19:9", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "4767:3:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4772:2:9", + "type": "", + "value": "15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4763:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "4763:12:9" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "4756:3:9" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "4691:3:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "4699:3:9", + "type": "" + } + ], + "src": "4515:266:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4978:72:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "4995:3:9" + }, + { + "hexValue": "64617973546f52657761726473", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5000:15:9", + "type": "", + "value": "daysToRewards" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4988:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "4988:28:9" + }, + "nodeType": "YulExpressionStatement", + "src": "4988:28:9" + }, + { + "nodeType": "YulAssignment", + "src": "5025:19:9", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5036:3:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5041:2:9", + "type": "", + "value": "13" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5032:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "5032:12:9" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "5025:3:9" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "4962:3:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "4970:3:9", + "type": "" + } + ], + "src": "4786:264:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5247:76:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5264:3:9" + }, + { + "hexValue": "636f6e747269627574696f6e4c696d6974", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5269:19:9", + "type": "", + "value": "contributionLimit" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5257:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "5257:32:9" + }, + "nodeType": "YulExpressionStatement", + "src": "5257:32:9" + }, + { + "nodeType": "YulAssignment", + "src": "5298:19:9", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5309:3:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5314:2:9", + "type": "", + "value": "17" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5305:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "5305:12:9" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "5298:3:9" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "5231:3:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "5239:3:9", + "type": "" + } + ], + "src": "5055:268:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5520:83:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5537:3:9" + }, + { + "hexValue": "72657761726473496e746572657374506572506572696f64", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5542:26:9", + "type": "", + "value": "rewardsInterestPerPeriod" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5530:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "5530:39:9" + }, + "nodeType": "YulExpressionStatement", + "src": "5530:39:9" + }, + { + "nodeType": "YulAssignment", + "src": "5578:19:9", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5589:3:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5594:2:9", + "type": "", + "value": "24" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5585:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "5585:12:9" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "5578:3:9" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "5504:3:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "5512:3:9", + "type": "" + } + ], + "src": "5328:275:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5901:116:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5918:3:9" + }, + { + "hexValue": "636f6e74726163745f61646472657373", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5923:18:9", + "type": "", + "value": "contract_address" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5911:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "5911:31:9" + }, + "nodeType": "YulExpressionStatement", + "src": "5911:31:9" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5962:3:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5967:2:9", + "type": "", + "value": "16" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5958:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "5958:12:9" + }, + { + "hexValue": "506f6f6c42617365", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5972:10:9", + "type": "", + "value": "PoolBase" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5951:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "5951:32:9" + }, + "nodeType": "YulExpressionStatement", + "src": "5951:32:9" + }, + { + "nodeType": "YulAssignment", + "src": "5992:19:9", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "6003:3:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6008:2:9", + "type": "", + "value": "24" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5999:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "5999:12:9" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "5992:3:9" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "5885:3:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "5893:3:9", + "type": "" + } + ], + "src": "5608:409:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6103:170:9", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "6149:16:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6158:1:9", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6161:1:9", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "6151:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "6151:12:9" + }, + "nodeType": "YulExpressionStatement", + "src": "6151:12:9" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "6124:7:9" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6133:9:9" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "6120:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "6120:23:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6145:2:9", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "6116:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "6116:32:9" + }, + "nodeType": "YulIf", + "src": "6113:52:9" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "6174:29:9", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6193:9:9" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "6187:5:9" + }, + "nodeType": "YulFunctionCall", + "src": "6187:16:9" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "6178:5:9", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "6237:5:9" + } + ], + "functionName": { + "name": "validator_revert_address", + "nodeType": "YulIdentifier", + "src": "6212:24:9" + }, + "nodeType": "YulFunctionCall", + "src": "6212:31:9" + }, + "nodeType": "YulExpressionStatement", + "src": "6212:31:9" + }, + { + "nodeType": "YulAssignment", + "src": "6252:15:9", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "6262:5:9" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "6252:6:9" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_address_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "6069:9:9", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "6080:7:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "6092:6:9", + "type": "" + } + ], + "src": "6022:251:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6470:66:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "6487:3:9" + }, + { + "hexValue": "706f6f6c46656573", + "kind": "string", + "nodeType": "YulLiteral", + "src": "6492:10:9", + "type": "", + "value": "poolFees" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6480:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "6480:23:9" + }, + "nodeType": "YulExpressionStatement", + "src": "6480:23:9" + }, + { + "nodeType": "YulAssignment", + "src": "6512:18:9", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "6523:3:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6528:1:9", + "type": "", + "value": "8" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6519:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "6519:11:9" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "6512:3:9" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_0f5404ed03256cc6395ed559bf52ccb5ab11bf8dddbd240da7e6d5ad4ab04dd7__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "6454:3:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "6462:3:9", + "type": "" + } + ], + "src": "6278:258:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6733:70:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "6750:3:9" + }, + { + "hexValue": "706f6f6c46656573536574", + "kind": "string", + "nodeType": "YulLiteral", + "src": "6755:13:9", + "type": "", + "value": "poolFeesSet" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6743:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "6743:26:9" + }, + "nodeType": "YulExpressionStatement", + "src": "6743:26:9" + }, + { + "nodeType": "YulAssignment", + "src": "6778:19:9", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "6789:3:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6794:2:9", + "type": "", + "value": "11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6785:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "6785:12:9" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "6778:3:9" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_8f6e48ebe95c46ad356449234d760f7838119a9ccd28d70c8f8be00c200e3039__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "6717:3:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "6725:3:9", + "type": "" + } + ], + "src": "6541:262:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6931:135:9", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "6941:26:9", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6953:9:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6964:2:9", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6949:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "6949:18:9" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "6941:4:9" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6983:9:9" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "6994:6:9" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6976:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "6976:25:9" + }, + "nodeType": "YulExpressionStatement", + "src": "6976:25:9" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7021:9:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7032:2:9", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7017:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "7017:18:9" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "7051:6:9" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "7044:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "7044:14:9" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "7037:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "7037:22:9" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7010:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "7010:50:9" + }, + "nodeType": "YulExpressionStatement", + "src": "7010:50:9" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "6892:9:9", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "6903:6:9", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "6911:6:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "6922:4:9", + "type": "" + } + ], + "src": "6808:258:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7124:205:9", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "7134:10:9", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7143:1:9", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "i", + "nodeType": "YulTypedName", + "src": "7138:1:9", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7203:63:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nodeType": "YulIdentifier", + "src": "7228:3:9" + }, + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "7233:1:9" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7224:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "7224:11:9" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "src", + "nodeType": "YulIdentifier", + "src": "7247:3:9" + }, + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "7252:1:9" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7243:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "7243:11:9" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "7237:5:9" + }, + "nodeType": "YulFunctionCall", + "src": "7237:18:9" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7217:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "7217:39:9" + }, + "nodeType": "YulExpressionStatement", + "src": "7217:39:9" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "7164:1:9" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "7167:6:9" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "7161:2:9" + }, + "nodeType": "YulFunctionCall", + "src": "7161:13:9" + }, + "nodeType": "YulForLoop", + "post": { + "nodeType": "YulBlock", + "src": "7175:19:9", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "7177:15:9", + "value": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "7186:1:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7189:2:9", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7182:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "7182:10:9" + }, + "variableNames": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "7177:1:9" + } + ] + } + ] + }, + "pre": { + "nodeType": "YulBlock", + "src": "7157:3:9", + "statements": [] + }, + "src": "7153:113:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7292:31:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nodeType": "YulIdentifier", + "src": "7305:3:9" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "7310:6:9" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7301:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "7301:16:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7319:1:9", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7294:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "7294:27:9" + }, + "nodeType": "YulExpressionStatement", + "src": "7294:27:9" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "7281:1:9" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "7284:6:9" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "7278:2:9" + }, + "nodeType": "YulFunctionCall", + "src": "7278:13:9" + }, + "nodeType": "YulIf", + "src": "7275:48:9" + } + ] + }, + "name": "copy_memory_to_memory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "src", + "nodeType": "YulTypedName", + "src": "7102:3:9", + "type": "" + }, + { + "name": "dst", + "nodeType": "YulTypedName", + "src": "7107:3:9", + "type": "" + }, + { + "name": "length", + "nodeType": "YulTypedName", + "src": "7112:6:9", + "type": "" + } + ], + "src": "7071:258:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7723:397:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7740:3:9" + }, + { + "hexValue": "416363657373436f6e74726f6c3a206163636f756e7420", + "kind": "string", + "nodeType": "YulLiteral", + "src": "7745:25:9", + "type": "", + "value": "AccessControl: account " + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7733:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "7733:38:9" + }, + "nodeType": "YulExpressionStatement", + "src": "7733:38:9" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "7780:27:9", + "value": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "7800:6:9" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "7794:5:9" + }, + "nodeType": "YulFunctionCall", + "src": "7794:13:9" + }, + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "7784:6:9", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "7842:6:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7850:4:9", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7838:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "7838:17:9" + }, + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7861:3:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7866:2:9", + "type": "", + "value": "23" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7857:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "7857:12:9" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "7871:6:9" + } + ], + "functionName": { + "name": "copy_memory_to_memory", + "nodeType": "YulIdentifier", + "src": "7816:21:9" + }, + "nodeType": "YulFunctionCall", + "src": "7816:62:9" + }, + "nodeType": "YulExpressionStatement", + "src": "7816:62:9" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "7887:26:9", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7901:3:9" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "7906:6:9" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7897:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "7897:16:9" + }, + "variables": [ + { + "name": "_1", + "nodeType": "YulTypedName", + "src": "7891:2:9", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "7933:2:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7937:2:9", + "type": "", + "value": "23" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7929:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "7929:11:9" + }, + { + "hexValue": "206973206d697373696e6720726f6c6520", + "kind": "string", + "nodeType": "YulLiteral", + "src": "7942:19:9", + "type": "", + "value": " is missing role " + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7922:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "7922:40:9" + }, + "nodeType": "YulExpressionStatement", + "src": "7922:40:9" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "7971:29:9", + "value": { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "7993:6:9" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "7987:5:9" + }, + "nodeType": "YulFunctionCall", + "src": "7987:13:9" + }, + "variables": [ + { + "name": "length_1", + "nodeType": "YulTypedName", + "src": "7975:8:9", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "8035:6:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8043:4:9", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8031:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "8031:17:9" + }, + { + "arguments": [ + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "8054:2:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8058:2:9", + "type": "", + "value": "40" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8050:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "8050:11:9" + }, + { + "name": "length_1", + "nodeType": "YulIdentifier", + "src": "8063:8:9" + } + ], + "functionName": { + "name": "copy_memory_to_memory", + "nodeType": "YulIdentifier", + "src": "8009:21:9" + }, + "nodeType": "YulFunctionCall", + "src": "8009:63:9" + }, + "nodeType": "YulExpressionStatement", + "src": "8009:63:9" + }, + { + "nodeType": "YulAssignment", + "src": "8081:33:9", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "8096:2:9" + }, + { + "name": "length_1", + "nodeType": "YulIdentifier", + "src": "8100:8:9" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8092:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "8092:17:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8111:2:9", + "type": "", + "value": "40" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8088:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "8088:26:9" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "8081:3:9" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874_t_string_memory_ptr_t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "7691:3:9", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "7696:6:9", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "7704:6:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "7715:3:9", + "type": "" + } + ], + "src": "7334:786:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8246:262:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8263:9:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8274:2:9", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8256:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "8256:21:9" + }, + "nodeType": "YulExpressionStatement", + "src": "8256:21:9" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "8286:27:9", + "value": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "8306:6:9" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "8300:5:9" + }, + "nodeType": "YulFunctionCall", + "src": "8300:13:9" + }, + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "8290:6:9", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8333:9:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8344:2:9", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8329:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "8329:18:9" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "8349:6:9" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8322:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "8322:34:9" + }, + "nodeType": "YulExpressionStatement", + "src": "8322:34:9" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "8391:6:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8399:2:9", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8387:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "8387:15:9" + }, + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8408:9:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8419:2:9", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8404:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "8404:18:9" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "8424:6:9" + } + ], + "functionName": { + "name": "copy_memory_to_memory", + "nodeType": "YulIdentifier", + "src": "8365:21:9" + }, + "nodeType": "YulFunctionCall", + "src": "8365:66:9" + }, + "nodeType": "YulExpressionStatement", + "src": "8365:66:9" + }, + { + "nodeType": "YulAssignment", + "src": "8440:62:9", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8456:9:9" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "8475:6:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8483:2:9", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8471:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "8471:15:9" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8492:2:9", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "8488:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "8488:7:9" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "8467:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "8467:29:9" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8452:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "8452:45:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8499:2:9", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8448:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "8448:54:9" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "8440:4:9" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "8215:9:9", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "8226:6:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "8237:4:9", + "type": "" + } + ], + "src": "8125:383:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8545:95:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8562:1:9", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8569:3:9", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8574:10:9", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "8565:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "8565:20:9" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8555:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "8555:31:9" + }, + "nodeType": "YulExpressionStatement", + "src": "8555:31:9" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8602:1:9", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8605:4:9", + "type": "", + "value": "0x11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8595:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "8595:15:9" + }, + "nodeType": "YulExpressionStatement", + "src": "8595:15:9" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8626:1:9", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8629:4:9", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "8619:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "8619:15:9" + }, + "nodeType": "YulExpressionStatement", + "src": "8619:15:9" + } + ] + }, + "name": "panic_error_0x11", + "nodeType": "YulFunctionDefinition", + "src": "8513:127:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8697:116:9", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "8756:22:9", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "8758:16:9" + }, + "nodeType": "YulFunctionCall", + "src": "8758:18:9" + }, + "nodeType": "YulExpressionStatement", + "src": "8758:18:9" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "8728:1:9" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "8721:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "8721:9:9" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "8714:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "8714:17:9" + }, + { + "arguments": [ + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "8736:1:9" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8747:1:9", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "8743:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "8743:6:9" + }, + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "8751:1:9" + } + ], + "functionName": { + "name": "div", + "nodeType": "YulIdentifier", + "src": "8739:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "8739:14:9" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "8733:2:9" + }, + "nodeType": "YulFunctionCall", + "src": "8733:21:9" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "8710:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "8710:45:9" + }, + "nodeType": "YulIf", + "src": "8707:71:9" + }, + { + "nodeType": "YulAssignment", + "src": "8787:20:9", + "value": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "8802:1:9" + }, + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "8805:1:9" + } + ], + "functionName": { + "name": "mul", + "nodeType": "YulIdentifier", + "src": "8798:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "8798:9:9" + }, + "variableNames": [ + { + "name": "product", + "nodeType": "YulIdentifier", + "src": "8787:7:9" + } + ] + } + ] + }, + "name": "checked_mul_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "x", + "nodeType": "YulTypedName", + "src": "8676:1:9", + "type": "" + }, + { + "name": "y", + "nodeType": "YulTypedName", + "src": "8679:1:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "product", + "nodeType": "YulTypedName", + "src": "8685:7:9", + "type": "" + } + ], + "src": "8645:168:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8866:80:9", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "8893:22:9", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "8895:16:9" + }, + "nodeType": "YulFunctionCall", + "src": "8895:18:9" + }, + "nodeType": "YulExpressionStatement", + "src": "8895:18:9" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "8882:1:9" + }, + { + "arguments": [ + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "8889:1:9" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "8885:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "8885:6:9" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "8879:2:9" + }, + "nodeType": "YulFunctionCall", + "src": "8879:13:9" + }, + "nodeType": "YulIf", + "src": "8876:39:9" + }, + { + "nodeType": "YulAssignment", + "src": "8924:16:9", + "value": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "8935:1:9" + }, + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "8938:1:9" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8931:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "8931:9:9" + }, + "variableNames": [ + { + "name": "sum", + "nodeType": "YulIdentifier", + "src": "8924:3:9" + } + ] + } + ] + }, + "name": "checked_add_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "x", + "nodeType": "YulTypedName", + "src": "8849:1:9", + "type": "" + }, + { + "name": "y", + "nodeType": "YulTypedName", + "src": "8852:1:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "sum", + "nodeType": "YulTypedName", + "src": "8858:3:9", + "type": "" + } + ], + "src": "8818:128:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8983:95:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9000:1:9", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9007:3:9", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9012:10:9", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "9003:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "9003:20:9" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8993:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "8993:31:9" + }, + "nodeType": "YulExpressionStatement", + "src": "8993:31:9" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9040:1:9", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9043:4:9", + "type": "", + "value": "0x41" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9033:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "9033:15:9" + }, + "nodeType": "YulExpressionStatement", + "src": "9033:15:9" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9064:1:9", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9067:4:9", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "9057:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "9057:15:9" + }, + "nodeType": "YulExpressionStatement", + "src": "9057:15:9" + } + ] + }, + "name": "panic_error_0x41", + "nodeType": "YulFunctionDefinition", + "src": "8951:127:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "9115:95:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9132:1:9", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9139:3:9", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9144:10:9", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "9135:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "9135:20:9" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9125:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "9125:31:9" + }, + "nodeType": "YulExpressionStatement", + "src": "9125:31:9" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9172:1:9", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9175:4:9", + "type": "", + "value": "0x32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9165:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "9165:15:9" + }, + "nodeType": "YulExpressionStatement", + "src": "9165:15:9" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9196:1:9", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9199:4:9", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "9189:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "9189:15:9" + }, + "nodeType": "YulExpressionStatement", + "src": "9189:15:9" + } + ] + }, + "name": "panic_error_0x32", + "nodeType": "YulFunctionDefinition", + "src": "9083:127:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "9262:89:9", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "9289:22:9", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "9291:16:9" + }, + "nodeType": "YulFunctionCall", + "src": "9291:18:9" + }, + "nodeType": "YulExpressionStatement", + "src": "9291:18:9" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "9282:5:9" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "9275:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "9275:13:9" + }, + "nodeType": "YulIf", + "src": "9272:39:9" + }, + { + "nodeType": "YulAssignment", + "src": "9320:25:9", + "value": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "9331:5:9" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9342:1:9", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "9338:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "9338:6:9" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9327:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "9327:18:9" + }, + "variableNames": [ + { + "name": "ret", + "nodeType": "YulIdentifier", + "src": "9320:3:9" + } + ] + } + ] + }, + "name": "decrement_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "9244:5:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "ret", + "nodeType": "YulTypedName", + "src": "9254:3:9", + "type": "" + } + ], + "src": "9215:136:9" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "9530:182:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9547:9:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9558:2:9", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9540:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "9540:21:9" + }, + "nodeType": "YulExpressionStatement", + "src": "9540:21:9" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9581:9:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9592:2:9", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9577:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "9577:18:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9597:2:9", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9570:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "9570:30:9" + }, + "nodeType": "YulExpressionStatement", + "src": "9570:30:9" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9620:9:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9631:2:9", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9616:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "9616:18:9" + }, + { + "hexValue": "537472696e67733a20686578206c656e67746820696e73756666696369656e74", + "kind": "string", + "nodeType": "YulLiteral", + "src": "9636:34:9", + "type": "", + "value": "Strings: hex length insufficient" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9609:6:9" + }, + "nodeType": "YulFunctionCall", + "src": "9609:62:9" + }, + "nodeType": "YulExpressionStatement", + "src": "9609:62:9" + }, + { + "nodeType": "YulAssignment", + "src": "9680:26:9", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9692:9:9" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9703:2:9", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9688:3:9" + }, + "nodeType": "YulFunctionCall", + "src": "9688:18:9" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "9680:4:9" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_04fc88320d7c9f639317c75102c103ff0044d3075a5c627e24e76e5bbb2733c2__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "9507:9:9", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "9521:4:9", + "type": "" + } + ], + "src": "9356:356:9" + } + ] + }, + "contents": "{\n { }\n function abi_decode_tuple_t_bytes4(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n if iszero(eq(value, and(value, shl(224, 0xffffffff)))) { revert(0, 0) }\n value0 := value\n }\n function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, iszero(iszero(value0)))\n }\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := calldataload(headStart)\n }\n function abi_decode_tuple_t_bytes32(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := calldataload(headStart)\n }\n function abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function validator_revert_address(value)\n {\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n }\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_address(value)\n value0 := value\n }\n function abi_decode_tuple_t_bytes32t_address(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n value0 := calldataload(headStart)\n let value := calldataload(add(headStart, 32))\n validator_revert_address(value)\n value1 := value\n }\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, sub(shl(160, 1), 1)))\n }\n function validator_revert_bool(value)\n {\n if iszero(eq(value, iszero(iszero(value)))) { revert(0, 0) }\n }\n function abi_decode_tuple_t_bool(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_bool(value)\n value0 := value\n }\n function abi_encode_tuple_packed_t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"poolMaxSize\")\n end := add(pos, 11)\n }\n function abi_decode_tuple_t_uint256_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := mload(headStart)\n }\n function abi_encode_tuple_packed_t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"isPoolLive\")\n end := add(pos, 10)\n }\n function abi_decode_tuple_t_bool_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := mload(headStart)\n validator_revert_bool(value)\n value0 := value\n }\n function abi_encode_tuple_t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 29)\n mstore(add(headStart, 64), \"The pool is currently closed.\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_bytes32_t_uint256__to_t_bytes32_t_uint256__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), value1)\n }\n function abi_encode_tuple_t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 47)\n mstore(add(headStart, 64), \"AccessControl: can only renounce\")\n mstore(add(headStart, 96), \" roles for self\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_packed_t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"minContribution\")\n end := add(pos, 15)\n }\n function abi_encode_tuple_packed_t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"daysToRewards\")\n end := add(pos, 13)\n }\n function abi_encode_tuple_packed_t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"contributionLimit\")\n end := add(pos, 17)\n }\n function abi_encode_tuple_packed_t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"rewardsInterestPerPeriod\")\n end := add(pos, 24)\n }\n function abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"contract_address\")\n mstore(add(pos, 16), \"PoolBase\")\n end := add(pos, 24)\n }\n function abi_decode_tuple_t_address_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := mload(headStart)\n validator_revert_address(value)\n value0 := value\n }\n function abi_encode_tuple_packed_t_stringliteral_0f5404ed03256cc6395ed559bf52ccb5ab11bf8dddbd240da7e6d5ad4ab04dd7__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"poolFees\")\n end := add(pos, 8)\n }\n function abi_encode_tuple_packed_t_stringliteral_8f6e48ebe95c46ad356449234d760f7838119a9ccd28d70c8f8be00c200e3039__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"poolFeesSet\")\n end := add(pos, 11)\n }\n function abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), iszero(iszero(value1)))\n }\n function copy_memory_to_memory(src, dst, length)\n {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n if gt(i, length) { mstore(add(dst, length), 0) }\n }\n function abi_encode_tuple_packed_t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874_t_string_memory_ptr_t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos, value1, value0) -> end\n {\n mstore(pos, \"AccessControl: account \")\n let length := mload(value0)\n copy_memory_to_memory(add(value0, 0x20), add(pos, 23), length)\n let _1 := add(pos, length)\n mstore(add(_1, 23), \" is missing role \")\n let length_1 := mload(value1)\n copy_memory_to_memory(add(value1, 0x20), add(_1, 40), length_1)\n end := add(add(_1, length_1), 40)\n }\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n mstore(headStart, 32)\n let length := mload(value0)\n mstore(add(headStart, 32), length)\n copy_memory_to_memory(add(value0, 32), add(headStart, 64), length)\n tail := add(add(headStart, and(add(length, 31), not(31))), 64)\n }\n function panic_error_0x11()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n function checked_mul_t_uint256(x, y) -> product\n {\n if and(iszero(iszero(x)), gt(y, div(not(0), x))) { panic_error_0x11() }\n product := mul(x, y)\n }\n function checked_add_t_uint256(x, y) -> sum\n {\n if gt(x, not(y)) { panic_error_0x11() }\n sum := add(x, y)\n }\n function panic_error_0x41()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n function panic_error_0x32()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x32)\n revert(0, 0x24)\n }\n function decrement_t_uint256(value) -> ret\n {\n if iszero(value) { panic_error_0x11() }\n ret := add(value, not(0))\n }\n function abi_encode_tuple_t_stringliteral_04fc88320d7c9f639317c75102c103ff0044d3075a5c627e24e76e5bbb2733c2__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 32)\n mstore(add(headStart, 64), \"Strings: hex length insufficient\")\n tail := add(headStart, 96)\n }\n}", + "id": 9, + "language": "Yul", + "name": "#utility.yul" + } + ], + "immutableReferences": {}, + "linkReferences": {}, + "object": "608060405234801561001057600080fd5b50600436106101735760003560e01c806362308e85116100de57806391d1485411610097578063bf4c003611610071578063bf4c003614610309578063d1d8d0601461031c578063d547741f14610324578063fa1e19e51461033757600080fd5b806391d14854146102db578063a217fddf146102ee578063a4975516146102f657600080fd5b806362308e85146102705780636cff74731461028557806372d099a01461028d5780637521796f146102a05780638ae68134146102a85780638dd225d5146102c857600080fd5b80632f2ff15d116101305780632f2ff15d1461020957806336568abe1461021c57806345077e711461022f578063473b0d4614610242578063497d02411461025557806353710f491461025d57600080fd5b806301ffc9a714610178578063095df57f146101a057806312646987146101b6578063217ac237146101cb578063248a9ca3146101d357806329ca15bc146101f6575b600080fd5b61018b610186366004611348565b61033f565b60405190151581526020015b60405180910390f35b6101a8610376565b604051908152602001610197565b6101c96101c4366004611372565b610433565b005b61018b6105ba565b6101a86101e1366004611372565b60009081526020819052604090206001015490565b6101c96102043660046113a3565b61065f565b6101c96102173660046113c0565b6106bb565b6101c961022a3660046113c0565b6106e6565b6101c961023d3660046113a3565b610764565b6101c9610250366004611372565b6107c0565b6101a86108c4565b6101c961026b366004611372565b6108ea565b6101a860008051602061162483398151915281565b6101a86109ec565b6101c961029b366004611372565b610a14565b6101a8610b1a565b6102b0610b4b565b6040516001600160a01b039091168152602001610197565b6101c96102d6366004611372565b610c24565b61018b6102e93660046113c0565b610e3e565b6101a8600081565b6101c96103043660046113fe565b610e67565b6101c9610317366004611372565b610ee1565b6101a8610fee565b6101c96103323660046113c0565b61100f565b6101a8611035565b60006001600160e01b03198216637965db0b60e01b148061037057506301ffc9a760e01b6001600160e01b03198316145b92915050565b60008060405160200161039a906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b1580156103f557600080fd5b505afa158015610409573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061042d919061141b565b91505090565b60008051602061162483398151915261044c813361105f565b6002546040516001600160a01b03909116906355d946559061047090602001611434565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b81526004016104a491815260200190565b60206040518083038186803b1580156104bc57600080fd5b505afa1580156104d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f4919061144a565b1561051a5760405162461bcd60e51b815260040161051190611467565b60405180910390fd5b6040516a706f6f6c4d617853697a6560a81b6020820152600090602b015b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018690529092506001600160a01b0316906328192c55906044015b600060405180830381600087803b15801561059d57600080fd5b505af11580156105b1573d6000803e3d6000fd5b50505050505050565b6000806040516020016105cc90611434565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561062757600080fd5b505afa15801561063b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061042d919061144a565b600061066b813361105f565b6106836000805160206116248339815191528361100f565b6040516001600160a01b038316907fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd3190600090a25050565b6000828152602081905260409020600101546106d7813361105f565b6106e183836110c3565b505050565b6001600160a01b03811633146107565760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610511565b6107608282611147565b5050565b6000610770813361105f565b610788600080516020611624833981519152836106bb565b6040516001600160a01b038316907fd873e3f571dc25e020cefdeb7255b3874ead3aade1f94a5fb4a5da831fd670cd90600090a25050565b6000805160206116248339815191526107d9813361105f565b6002546040516001600160a01b03909116906355d94655906107fd90602001611434565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161083191815260200190565b60206040518083038186803b15801561084957600080fd5b505afa15801561085d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610881919061144a565b1561089e5760405162461bcd60e51b815260040161051190611467565b6040516e36b4b721b7b73a3934b13aba34b7b760891b6020820152600090602f01610538565b60008060405160200161039a906c64617973546f5265776172647360981b8152600d0190565b600080516020611624833981519152610903813361105f565b6002546040516001600160a01b03909116906355d946559061092790602001611434565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161095b91815260200190565b60206040518083038186803b15801561097357600080fd5b505afa158015610987573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ab919061144a565b156109c85760405162461bcd60e51b815260040161051190611467565b6040516c64617973546f5265776172647360981b6020820152600090602d01610538565b60008060405160200161039a906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b600080516020611624833981519152610a2d813361105f565b6002546040516001600160a01b03909116906355d9465590610a5190602001611434565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610a8591815260200190565b60206040518083038186803b158015610a9d57600080fd5b505afa158015610ab1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad5919061144a565b15610af25760405162461bcd60e51b815260040161051190611467565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b6020820152600090603101610538565b60008060405160200161039a90771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b600080604051602001610b85906f636f6e74726163745f6164647265737360801b815267506f6f6c4261736560c01b601082015260180190565b60408051808303601f190181529082905280516020909101206002546315485dd960e11b8352600483018290529092506000916001600160a01b0390911690632a90bbb29060240160206040518083038186803b158015610be557600080fd5b505afa158015610bf9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1d919061149e565b9392505050565b600080516020611624833981519152610c3d813361105f565b6002546040516001600160a01b03909116906355d9465590610c6190602001611434565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610c9591815260200190565b60206040518083038186803b158015610cad57600080fd5b505afa158015610cc1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce5919061144a565b15610d025760405162461bcd60e51b815260040161051190611467565b60405167706f6f6c4665657360c01b60208201526000906028016040516020818303038152906040528051906020012090506000604051602001610d57906a1c1bdbdb1199595cd4d95d60aa1b8152600b0190565b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301859052602483018790529092506001600160a01b0316906328192c5590604401600060405180830381600087803b158015610dbb57600080fd5b505af1158015610dcf573d6000803e3d6000fd5b505060025460405163988c515b60e01b815260048101859052600160248201526001600160a01b03909116925063988c515b9150604401600060405180830381600087803b158015610e2057600080fd5b505af1158015610e34573d6000803e3d6000fd5b5050505050505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020611624833981519152610e80813361105f565b6000604051602001610e9190611434565b60408051808303601f1901815290829052805160209091012060025463988c515b60e01b83526004830182905285151560248401529092506001600160a01b03169063988c515b90604401610583565b600080516020611624833981519152610efa813361105f565b6002546040516001600160a01b03909116906355d9465590610f1e90602001611434565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610f5291815260200190565b60206040518083038186803b158015610f6a57600080fd5b505afa158015610f7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa2919061144a565b15610fbf5760405162461bcd60e51b815260040161051190611467565b604051771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b6020820152600090603801610538565b60008060405160200161039a9067706f6f6c4665657360c01b815260080190565b60008281526020819052604090206001015461102b813361105f565b6106e18383611147565b60008060405160200161039a907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b6110698282610e3e565b61076057611081816001600160a01b031660146111ac565b61108c8360206111ac565b60405160200161109d9291906114eb565b60408051601f198184030181529082905262461bcd60e51b825261051191600401611560565b6110cd8282610e3e565b610760576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556111033390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6111518282610e3e565b15610760576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b606060006111bb8360026115a9565b6111c69060026115c8565b67ffffffffffffffff8111156111de576111de6115e0565b6040519080825280601f01601f191660200182016040528015611208576020820181803683370190505b509050600360fc1b81600081518110611223576112236115f6565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611252576112526115f6565b60200101906001600160f81b031916908160001a90535060006112768460026115a9565b6112819060016115c8565b90505b60018111156112f9576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106112b5576112b56115f6565b1a60f81b8282815181106112cb576112cb6115f6565b60200101906001600160f81b031916908160001a90535060049490941c936112f28161160c565b9050611284565b508315610c1d5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610511565b60006020828403121561135a57600080fd5b81356001600160e01b031981168114610c1d57600080fd5b60006020828403121561138457600080fd5b5035919050565b6001600160a01b03811681146113a057600080fd5b50565b6000602082840312156113b557600080fd5b8135610c1d8161138b565b600080604083850312156113d357600080fd5b8235915060208301356113e58161138b565b809150509250929050565b80151581146113a057600080fd5b60006020828403121561141057600080fd5b8135610c1d816113f0565b60006020828403121561142d57600080fd5b5051919050565b696973506f6f6c4c69766560b01b8152600a0190565b60006020828403121561145c57600080fd5b8151610c1d816113f0565b6020808252601d908201527f54686520706f6f6c2069732063757272656e746c7920636c6f7365642e000000604082015260600190565b6000602082840312156114b057600080fd5b8151610c1d8161138b565b60005b838110156114d65781810151838201526020016114be565b838111156114e5576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516115238160178501602088016114bb565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516115548160288401602088016114bb565b01602801949350505050565b602081526000825180602084015261157f8160408501602087016114bb565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156115c3576115c3611593565b500290565b600082198211156115db576115db611593565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008161161b5761161b611593565b50600019019056fe41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842a2646970667358221220de7843e4bed15ddac8d85fa1ad35c800b5116d1700f6ec172ab17b776534046d64736f6c63430008090033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x173 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x62308E85 GT PUSH2 0xDE JUMPI DUP1 PUSH4 0x91D14854 GT PUSH2 0x97 JUMPI DUP1 PUSH4 0xBF4C0036 GT PUSH2 0x71 JUMPI DUP1 PUSH4 0xBF4C0036 EQ PUSH2 0x309 JUMPI DUP1 PUSH4 0xD1D8D060 EQ PUSH2 0x31C JUMPI DUP1 PUSH4 0xD547741F EQ PUSH2 0x324 JUMPI DUP1 PUSH4 0xFA1E19E5 EQ PUSH2 0x337 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x91D14854 EQ PUSH2 0x2DB JUMPI DUP1 PUSH4 0xA217FDDF EQ PUSH2 0x2EE JUMPI DUP1 PUSH4 0xA4975516 EQ PUSH2 0x2F6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x62308E85 EQ PUSH2 0x270 JUMPI DUP1 PUSH4 0x6CFF7473 EQ PUSH2 0x285 JUMPI DUP1 PUSH4 0x72D099A0 EQ PUSH2 0x28D JUMPI DUP1 PUSH4 0x7521796F EQ PUSH2 0x2A0 JUMPI DUP1 PUSH4 0x8AE68134 EQ PUSH2 0x2A8 JUMPI DUP1 PUSH4 0x8DD225D5 EQ PUSH2 0x2C8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x2F2FF15D GT PUSH2 0x130 JUMPI DUP1 PUSH4 0x2F2FF15D EQ PUSH2 0x209 JUMPI DUP1 PUSH4 0x36568ABE EQ PUSH2 0x21C JUMPI DUP1 PUSH4 0x45077E71 EQ PUSH2 0x22F JUMPI DUP1 PUSH4 0x473B0D46 EQ PUSH2 0x242 JUMPI DUP1 PUSH4 0x497D0241 EQ PUSH2 0x255 JUMPI DUP1 PUSH4 0x53710F49 EQ PUSH2 0x25D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x178 JUMPI DUP1 PUSH4 0x95DF57F EQ PUSH2 0x1A0 JUMPI DUP1 PUSH4 0x12646987 EQ PUSH2 0x1B6 JUMPI DUP1 PUSH4 0x217AC237 EQ PUSH2 0x1CB JUMPI DUP1 PUSH4 0x248A9CA3 EQ PUSH2 0x1D3 JUMPI DUP1 PUSH4 0x29CA15BC EQ PUSH2 0x1F6 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x18B PUSH2 0x186 CALLDATASIZE PUSH1 0x4 PUSH2 0x1348 JUMP JUMPDEST PUSH2 0x33F JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1A8 PUSH2 0x376 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x197 JUMP JUMPDEST PUSH2 0x1C9 PUSH2 0x1C4 CALLDATASIZE PUSH1 0x4 PUSH2 0x1372 JUMP JUMPDEST PUSH2 0x433 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x18B PUSH2 0x5BA JUMP JUMPDEST PUSH2 0x1A8 PUSH2 0x1E1 CALLDATASIZE PUSH1 0x4 PUSH2 0x1372 JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x1C9 PUSH2 0x204 CALLDATASIZE PUSH1 0x4 PUSH2 0x13A3 JUMP JUMPDEST PUSH2 0x65F JUMP JUMPDEST PUSH2 0x1C9 PUSH2 0x217 CALLDATASIZE PUSH1 0x4 PUSH2 0x13C0 JUMP JUMPDEST PUSH2 0x6BB JUMP JUMPDEST PUSH2 0x1C9 PUSH2 0x22A CALLDATASIZE PUSH1 0x4 PUSH2 0x13C0 JUMP JUMPDEST PUSH2 0x6E6 JUMP JUMPDEST PUSH2 0x1C9 PUSH2 0x23D CALLDATASIZE PUSH1 0x4 PUSH2 0x13A3 JUMP JUMPDEST PUSH2 0x764 JUMP JUMPDEST PUSH2 0x1C9 PUSH2 0x250 CALLDATASIZE PUSH1 0x4 PUSH2 0x1372 JUMP JUMPDEST PUSH2 0x7C0 JUMP JUMPDEST PUSH2 0x1A8 PUSH2 0x8C4 JUMP JUMPDEST PUSH2 0x1C9 PUSH2 0x26B CALLDATASIZE PUSH1 0x4 PUSH2 0x1372 JUMP JUMPDEST PUSH2 0x8EA JUMP JUMPDEST PUSH2 0x1A8 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1624 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 JUMP JUMPDEST PUSH2 0x1A8 PUSH2 0x9EC JUMP JUMPDEST PUSH2 0x1C9 PUSH2 0x29B CALLDATASIZE PUSH1 0x4 PUSH2 0x1372 JUMP JUMPDEST PUSH2 0xA14 JUMP JUMPDEST PUSH2 0x1A8 PUSH2 0xB1A JUMP JUMPDEST PUSH2 0x2B0 PUSH2 0xB4B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x197 JUMP JUMPDEST PUSH2 0x1C9 PUSH2 0x2D6 CALLDATASIZE PUSH1 0x4 PUSH2 0x1372 JUMP JUMPDEST PUSH2 0xC24 JUMP JUMPDEST PUSH2 0x18B PUSH2 0x2E9 CALLDATASIZE PUSH1 0x4 PUSH2 0x13C0 JUMP JUMPDEST PUSH2 0xE3E JUMP JUMPDEST PUSH2 0x1A8 PUSH1 0x0 DUP2 JUMP JUMPDEST PUSH2 0x1C9 PUSH2 0x304 CALLDATASIZE PUSH1 0x4 PUSH2 0x13FE JUMP JUMPDEST PUSH2 0xE67 JUMP JUMPDEST PUSH2 0x1C9 PUSH2 0x317 CALLDATASIZE PUSH1 0x4 PUSH2 0x1372 JUMP JUMPDEST PUSH2 0xEE1 JUMP JUMPDEST PUSH2 0x1A8 PUSH2 0xFEE JUMP JUMPDEST PUSH2 0x1C9 PUSH2 0x332 CALLDATASIZE PUSH1 0x4 PUSH2 0x13C0 JUMP JUMPDEST PUSH2 0x100F JUMP JUMPDEST PUSH2 0x1A8 PUSH2 0x1035 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH4 0x7965DB0B PUSH1 0xE0 SHL EQ DUP1 PUSH2 0x370 JUMPI POP PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP4 AND EQ JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x39A SWAP1 PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL DUP2 MSTORE PUSH1 0xB ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x3F5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x409 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x42D SWAP2 SWAP1 PUSH2 0x141B JUMP JUMPDEST SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1624 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x44C DUP2 CALLER PUSH2 0x105F JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x470 SWAP1 PUSH1 0x20 ADD PUSH2 0x1434 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x4A4 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x4BC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x4D0 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x4F4 SWAP2 SWAP1 PUSH2 0x144A JUMP JUMPDEST ISZERO PUSH2 0x51A JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x511 SWAP1 PUSH2 0x1467 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2B ADD JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP7 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x59D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x5B1 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x5CC SWAP1 PUSH2 0x1434 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x55D94655 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x627 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x63B JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x42D SWAP2 SWAP1 PUSH2 0x144A JUMP JUMPDEST PUSH1 0x0 PUSH2 0x66B DUP2 CALLER PUSH2 0x105F JUMP JUMPDEST PUSH2 0x683 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1624 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0x100F JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xEF69F7D97228658C92417BE1B16B19058315DE71FECB435D07B7D23728B6BD31 SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0x6D7 DUP2 CALLER PUSH2 0x105F JUMP JUMPDEST PUSH2 0x6E1 DUP4 DUP4 PUSH2 0x10C3 JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND CALLER EQ PUSH2 0x756 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416363657373436F6E74726F6C3A2063616E206F6E6C792072656E6F756E6365 PUSH1 0x44 DUP3 ADD MSTORE PUSH15 0x103937B632B9903337B91039B2B633 PUSH1 0x89 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x511 JUMP JUMPDEST PUSH2 0x760 DUP3 DUP3 PUSH2 0x1147 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x770 DUP2 CALLER PUSH2 0x105F JUMP JUMPDEST PUSH2 0x788 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1624 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0x6BB JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xD873E3F571DC25E020CEFDEB7255B3874EAD3AADE1F94A5FB4A5DA831FD670CD SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1624 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x7D9 DUP2 CALLER PUSH2 0x105F JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x7FD SWAP1 PUSH1 0x20 ADD PUSH2 0x1434 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x831 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x849 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x85D JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x881 SWAP2 SWAP1 PUSH2 0x144A JUMP JUMPDEST ISZERO PUSH2 0x89E JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x511 SWAP1 PUSH2 0x1467 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2F ADD PUSH2 0x538 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x39A SWAP1 PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL DUP2 MSTORE PUSH1 0xD ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1624 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x903 DUP2 CALLER PUSH2 0x105F JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x927 SWAP1 PUSH1 0x20 ADD PUSH2 0x1434 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x95B SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x973 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x987 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x9AB SWAP2 SWAP1 PUSH2 0x144A JUMP JUMPDEST ISZERO PUSH2 0x9C8 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x511 SWAP1 PUSH2 0x1467 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2D ADD PUSH2 0x538 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x39A SWAP1 PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL DUP2 MSTORE PUSH1 0xF ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1624 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xA2D DUP2 CALLER PUSH2 0x105F JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xA51 SWAP1 PUSH1 0x20 ADD PUSH2 0x1434 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xA85 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xA9D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xAB1 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xAD5 SWAP2 SWAP1 PUSH2 0x144A JUMP JUMPDEST ISZERO PUSH2 0xAF2 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x511 SWAP1 PUSH2 0x1467 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x31 ADD PUSH2 0x538 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x39A SWAP1 PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL DUP2 MSTORE PUSH1 0x18 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xB85 SWAP1 PUSH16 0x636F6E74726163745F61646472657373 PUSH1 0x80 SHL DUP2 MSTORE PUSH8 0x506F6F6C42617365 PUSH1 0xC0 SHL PUSH1 0x10 DUP3 ADD MSTORE PUSH1 0x18 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x15485DD9 PUSH1 0xE1 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x0 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x2A90BBB2 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xBE5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xBF9 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xC1D SWAP2 SWAP1 PUSH2 0x149E JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1624 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xC3D DUP2 CALLER PUSH2 0x105F JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xC61 SWAP1 PUSH1 0x20 ADD PUSH2 0x1434 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xC95 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xCAD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xCC1 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xCE5 SWAP2 SWAP1 PUSH2 0x144A JUMP JUMPDEST ISZERO PUSH2 0xD02 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x511 SWAP1 PUSH2 0x1467 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH8 0x706F6F6C46656573 PUSH1 0xC0 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x28 ADD PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xD57 SWAP1 PUSH11 0x1C1BDBDB1199595CD4D95D PUSH1 0xAA SHL DUP2 MSTORE PUSH1 0xB ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP6 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP8 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xDBB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xDCF JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0x988C515B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP6 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP3 POP PUSH4 0x988C515B SWAP2 POP PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xE20 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xE34 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP3 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 SWAP1 SWAP4 AND DUP5 MSTORE SWAP2 SWAP1 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1624 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xE80 DUP2 CALLER PUSH2 0x105F JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xE91 SWAP1 PUSH2 0x1434 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x988C515B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE DUP6 ISZERO ISZERO PUSH1 0x24 DUP5 ADD MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x988C515B SWAP1 PUSH1 0x44 ADD PUSH2 0x583 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1624 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xEFA DUP2 CALLER PUSH2 0x105F JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xF1E SWAP1 PUSH1 0x20 ADD PUSH2 0x1434 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF52 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xF6A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xF7E JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xFA2 SWAP2 SWAP1 PUSH2 0x144A JUMP JUMPDEST ISZERO PUSH2 0xFBF JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x511 SWAP1 PUSH2 0x1467 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x38 ADD PUSH2 0x538 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x39A SWAP1 PUSH8 0x706F6F6C46656573 PUSH1 0xC0 SHL DUP2 MSTORE PUSH1 0x8 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0x102B DUP2 CALLER PUSH2 0x105F JUMP JUMPDEST PUSH2 0x6E1 DUP4 DUP4 PUSH2 0x1147 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x39A SWAP1 PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL DUP2 MSTORE PUSH1 0x11 ADD SWAP1 JUMP JUMPDEST PUSH2 0x1069 DUP3 DUP3 PUSH2 0xE3E JUMP JUMPDEST PUSH2 0x760 JUMPI PUSH2 0x1081 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x14 PUSH2 0x11AC JUMP JUMPDEST PUSH2 0x108C DUP4 PUSH1 0x20 PUSH2 0x11AC JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x109D SWAP3 SWAP2 SWAP1 PUSH2 0x14EB JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE PUSH3 0x461BCD PUSH1 0xE5 SHL DUP3 MSTORE PUSH2 0x511 SWAP2 PUSH1 0x4 ADD PUSH2 0x1560 JUMP JUMPDEST PUSH2 0x10CD DUP3 DUP3 PUSH2 0xE3E JUMP JUMPDEST PUSH2 0x760 JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH2 0x1103 CALLER SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH2 0x1151 DUP3 DUP3 PUSH2 0xE3E JUMP JUMPDEST ISZERO PUSH2 0x760 JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP1 DUP6 MSTORE SWAP3 MSTORE DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE MLOAD CALLER SWAP3 DUP6 SWAP2 PUSH32 0xF6391F5C32D9C69D2A47EA670B442974B53935D1EDC7FD64EB21E047A839171B SWAP2 SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH2 0x11BB DUP4 PUSH1 0x2 PUSH2 0x15A9 JUMP JUMPDEST PUSH2 0x11C6 SWAP1 PUSH1 0x2 PUSH2 0x15C8 JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x11DE JUMPI PUSH2 0x11DE PUSH2 0x15E0 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x1208 JUMPI PUSH1 0x20 DUP3 ADD DUP2 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x3 PUSH1 0xFC SHL DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x1223 JUMPI PUSH2 0x1223 PUSH2 0x15F6 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0xF PUSH1 0xFB SHL DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x1252 JUMPI PUSH2 0x1252 PUSH2 0x15F6 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x0 PUSH2 0x1276 DUP5 PUSH1 0x2 PUSH2 0x15A9 JUMP JUMPDEST PUSH2 0x1281 SWAP1 PUSH1 0x1 PUSH2 0x15C8 JUMP JUMPDEST SWAP1 POP JUMPDEST PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x12F9 JUMPI PUSH16 0x181899199A1A9B1B9C1CB0B131B232B3 PUSH1 0x81 SHL DUP6 PUSH1 0xF AND PUSH1 0x10 DUP2 LT PUSH2 0x12B5 JUMPI PUSH2 0x12B5 PUSH2 0x15F6 JUMP JUMPDEST BYTE PUSH1 0xF8 SHL DUP3 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x12CB JUMPI PUSH2 0x12CB PUSH2 0x15F6 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x4 SWAP5 SWAP1 SWAP5 SHR SWAP4 PUSH2 0x12F2 DUP2 PUSH2 0x160C JUMP JUMPDEST SWAP1 POP PUSH2 0x1284 JUMP JUMPDEST POP DUP4 ISZERO PUSH2 0xC1D JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x537472696E67733A20686578206C656E67746820696E73756666696369656E74 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x511 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x135A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND DUP2 EQ PUSH2 0xC1D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1384 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x13A0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x13B5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0xC1D DUP2 PUSH2 0x138B JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x13D3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x13E5 DUP2 PUSH2 0x138B JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0x13A0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1410 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0xC1D DUP2 PUSH2 0x13F0 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x142D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH10 0x6973506F6F6C4C697665 PUSH1 0xB0 SHL DUP2 MSTORE PUSH1 0xA ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x145C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0xC1D DUP2 PUSH2 0x13F0 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1D SWAP1 DUP3 ADD MSTORE PUSH32 0x54686520706F6F6C2069732063757272656E746C7920636C6F7365642E000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x14B0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0xC1D DUP2 PUSH2 0x138B JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x14D6 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x14BE JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x14E5 JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH32 0x416363657373436F6E74726F6C3A206163636F756E7420000000000000000000 DUP2 MSTORE PUSH1 0x0 DUP4 MLOAD PUSH2 0x1523 DUP2 PUSH1 0x17 DUP6 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x14BB JUMP JUMPDEST PUSH17 0x1034B99036B4B9B9B4B733903937B6329 PUSH1 0x7D SHL PUSH1 0x17 SWAP2 DUP5 ADD SWAP2 DUP3 ADD MSTORE DUP4 MLOAD PUSH2 0x1554 DUP2 PUSH1 0x28 DUP5 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x14BB JUMP JUMPDEST ADD PUSH1 0x28 ADD SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 DUP3 MLOAD DUP1 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x157F DUP2 PUSH1 0x40 DUP6 ADD PUSH1 0x20 DUP8 ADD PUSH2 0x14BB JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP2 SWAP1 SWAP2 ADD PUSH1 0x40 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x0 NOT DIV DUP4 GT DUP3 ISZERO ISZERO AND ISZERO PUSH2 0x15C3 JUMPI PUSH2 0x15C3 PUSH2 0x1593 JUMP JUMPDEST POP MUL SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x15DB JUMPI PUSH2 0x15DB PUSH2 0x1593 JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH2 0x161B JUMPI PUSH2 0x161B PUSH2 0x1593 JUMP JUMPDEST POP PUSH1 0x0 NOT ADD SWAP1 JUMP INVALID COINBASE LOG0 0x1E 0xC0 LOG1 EXTCODESIZE JUMP EXTCODEHASH LOG4 MSTORE JUMP SWAP15 EXTCODEHASH 0xBB GT PUSH4 0x66D217C2 PUSH23 0x9AA1561822E65A617E3842A2646970667358221220DE78 NUMBER 0xE4 0xBE 0xD1 0x5D 0xDA 0xC8 0xD8 0x5F LOG1 0xAD CALLDATALOAD 0xC8 STOP 0xB5 GT PUSH14 0x1700F6EC172AB17B776534046D64 PUSH20 0x6F6C634300080900330000000000000000000000 ", + "sourceMap": "627:8190:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2620:202:2;;;;;;:::i;:::-;;:::i;:::-;;;470:14:9;;463:22;445:41;;433:2;418:18;2620:202:2;;;;;;;;7555:205:0;;;:::i;:::-;;;643:25:9;;;631:2;616:18;7555:205:0;497:177:9;3302:341:0;;;;;;:::i;:::-;;:::i;:::-;;7363:184;;;:::i;4008:129:2:-;;;;;;:::i;:::-;4082:7;4108:12;;;;;;;;;;:22;;;;4008:129;2182:175:0;;;;;;:::i;:::-;;:::i;4387:145:2:-;;;;;;:::i;:::-;;:::i;5404:214::-;;;;;;:::i;:::-;;:::i;2002:172:0:-;;;;;;:::i;:::-;;:::i;5243:350::-;;;;;;:::i;:::-;;:::i;7768:195::-;;;:::i;3717:351::-;;;;;;:::i;:::-;;:::i;687:64::-;;-1:-1:-1;;;;;;;;;;;687:64:0;;8406:199;;;:::i;4765:362::-;;;;;;:::i;:::-;;:::i;7971:212::-;;;:::i;7083:268::-;;;:::i;:::-;;;-1:-1:-1;;;;;2103:32:9;;;2085:51;;2073:2;2058:18;7083:268:0;1939:203:9;6117:478:0;;;;;;:::i;:::-;;:::i;2909:145:2:-;;;;;;:::i;:::-;;:::i;2027:49::-;;2072:4;2027:49;;2969:198:0;;;;;;:::i;:::-;;:::i;4275:372::-;;;;;;:::i;:::-;;:::i;8617:185::-;;;:::i;4766:147:2:-;;;;;;:::i;:::-;;:::i;8191:207:0:-;;;:::i;2620:202:2:-;2705:4;-1:-1:-1;;;;;;2728:47:2;;-1:-1:-1;;;2728:47:2;;:87;;-1:-1:-1;;;;;;;;;;937:40:7;;;2779:36:2;2721:94;2620:202;-1:-1:-1;;2620:202:2:o;7555:205:0:-;7601:4;7617:22;7652:31;;;;;;-1:-1:-1;;;2718:26:9;;2769:2;2760:12;;2516:262;7652:31:0;;;;;;;-1:-1:-1;;7652:31:0;;;;;;;7642:42;;7652:31;7642:42;;;;7702:11;;-1:-1:-1;;;7702:42:0;;;;;643:25:9;;;7642:42:0;;-1:-1:-1;;;;;;7702:11:0;;:26;;616:18:9;;7702:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7695:49;;;7555:205;:::o;3302:341::-;-1:-1:-1;;;;;;;;;;;2505:30:2;726:25:0;719:10:5;2505::2;:30::i;:::-;3391:11:0::1;::::0;3428:30:::1;::::0;-1:-1:-1;;;;;3391:11:0;;::::1;::::0;:26:::1;::::0;3428:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;3418:41;;;;;;3391:69;;;;;;;;;;;;;643:25:9::0;;631:2;616:18;;497:177;3391:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3390:70;3382:112;;;;-1:-1:-1::0;;;3382:112:0::1;;;;;;;:::i;:::-;;;;;;;;;3540:31;::::0;-1:-1:-1;;;3540:31:0::1;::::0;::::1;2718:26:9::0;3505:22:0::1;::::0;2760:12:9;;3540:31:0::1;;::::0;;;;::::1;-1:-1:-1::0;;3540:31:0;;;;;;;3530:42;;3540:31:::1;3530:42:::0;;::::1;::::0;3583:11:::1;::::0;-1:-1:-1;;;3583:52:0;;::::1;::::0;::::1;4020:25:9::0;;;4061:18;;;4054:34;;;3530:42:0;;-1:-1:-1;;;;;;3583:11:0::1;::::0;:26:::1;::::0;3993:18:9;;3583:52:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;3371:272;3302:341:::0;;:::o;7363:184::-;7407:4;7423:17;7453:30;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;7453:30:0;;;;;;;7443:41;;7453:30;7443:41;;;;7502:11;;-1:-1:-1;;;7502:37:0;;;;;643:25:9;;;7443:41:0;;-1:-1:-1;;;;;;7502:11:0;;:26;;616:18:9;;7502:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;2182:175::-;2072:4:2;2505:30;2072:4;719:10:5;2505::2;:30::i;:::-;2275:34:0::1;-1:-1:-1::0;;;;;;;;;;;2300:8:0::1;2275:10;:34::i;:::-;2325:24;::::0;-1:-1:-1;;;;;2325:24:0;::::1;::::0;::::1;::::0;;;::::1;2182:175:::0;;:::o;4387:145:2:-;4082:7;4108:12;;;;;;;;;;:22;;;2505:30;2516:4;719:10:5;2505::2;:30::i;:::-;4500:25:::1;4511:4;4517:7;4500:10;:25::i;:::-;4387:145:::0;;;:::o;5404:214::-;-1:-1:-1;;;;;5499:23:2;;719:10:5;5499:23:2;5491:83;;;;-1:-1:-1;;;5491:83:2;;4301:2:9;5491:83:2;;;4283:21:9;4340:2;4320:18;;;4313:30;4379:34;4359:18;;;4352:62;-1:-1:-1;;;4430:18:9;;;4423:45;4485:19;;5491:83:2;4099:411:9;5491:83:2;5585:26;5597:4;5603:7;5585:11;:26::i;:::-;5404:214;;:::o;2002:172:0:-;2072:4:2;2505:30;2072:4;719:10:5;2505::2;:30::i;:::-;2092:33:0::1;-1:-1:-1::0;;;;;;;;;;;2116:8:0::1;2092:9;:33::i;:::-;2141:25;::::0;-1:-1:-1;;;;;2141:25:0;::::1;::::0;::::1;::::0;;;::::1;2002:172:::0;;:::o;5243:350::-;-1:-1:-1;;;;;;;;;;;2505:30:2;726:25:0;719:10:5;2505::2;:30::i;:::-;5339:11:0::1;::::0;5376:30:::1;::::0;-1:-1:-1;;;;;5339:11:0;;::::1;::::0;:26:::1;::::0;5376:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;5366:41;;;;;;5339:69;;;;;;;;;;;;;643:25:9::0;;631:2;616:18;;497:177;5339:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5338:70;5330:112;;;;-1:-1:-1::0;;;5330:112:0::1;;;;;;;:::i;:::-;5485:35;::::0;-1:-1:-1;;;5485:35:0::1;::::0;::::1;4717:30:9::0;5453:19:0::1;::::0;4763:12:9;;5485:35:0::1;4515:266:9::0;7768:195:0;7818:4;7834:18;7865:33;;;;;;-1:-1:-1;;;4988:28:9;;5041:2;5032:12;;4786:264;3717:351:0;-1:-1:-1;;;;;;;;;;;2505:30:2;726:25:0;719:10:5;2505::2;:30::i;:::-;3816:11:0::1;::::0;3853:30:::1;::::0;-1:-1:-1;;;;;3816:11:0;;::::1;::::0;:26:::1;::::0;3853:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;3843:41;;;;;;3816:69;;;;;;;;;;;;;643:25:9::0;;631:2;616:18;;497:177;3816:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3815:70;3807:112;;;;-1:-1:-1::0;;;3807:112:0::1;;;;;;;:::i;:::-;3961:33;::::0;-1:-1:-1;;;3961:33:0::1;::::0;::::1;4988:28:9::0;3930:18:0::1;::::0;5032:12:9;;3961:33:0::1;4786:264:9::0;8406:199:0;8456:4;8472:19;8504:35;;;;;;-1:-1:-1;;;4717:30:9;;4772:2;4763:12;;4515:266;4765:362:0;-1:-1:-1;;;;;;;;;;;2505:30:2;726:25:0;719:10:5;2505::2;:30::i;:::-;4865:11:0::1;::::0;4902:30:::1;::::0;-1:-1:-1;;;;;4865:11:0;;::::1;::::0;:26:::1;::::0;4902:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;4892:41;;;;;;4865:69;;;;;;;;;;;;;643:25:9::0;;631:2;616:18;;497:177;4865:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4864:70;4856:112;;;;-1:-1:-1::0;;;4856:112:0::1;;;;;;;:::i;:::-;5013:37;::::0;-1:-1:-1;;;5013:37:0::1;::::0;::::1;5257:32:9::0;4979:21:0::1;::::0;5305:12:9;;5013:37:0::1;5055:268:9::0;7971:212:0;8021:4;8037:21;8071:44;;;;;;-1:-1:-1;;;5530:39:9;;5594:2;5585:12;;5328:275;7083:268:0;7133:7;7152:18;7183:48;;;;;;-1:-1:-1;;;5911:31:9;;-1:-1:-1;;;5967:2:9;5958:12;;5951:32;6008:2;5999:12;;5608:409;7183:48:0;;;;;;;-1:-1:-1;;7183:48:0;;;;;;;7173:59;;7183:48;7173:59;;;;7269:11;;-1:-1:-1;;;7269:41:0;;;;;643:25:9;;;7173:59:0;;-1:-1:-1;7243:23:0;;-1:-1:-1;;;;;7269:11:0;;;;:29;;616:18:9;;7269:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7243:67;7083:268;-1:-1:-1;;;7083:268:0:o;6117:478::-;-1:-1:-1;;;;;;;;;;;2505:30:2;726:25:0;719:10:5;2505::2;:30::i;:::-;6204:11:0::1;::::0;6241:30:::1;::::0;-1:-1:-1;;;;;6204:11:0;;::::1;::::0;:26:::1;::::0;6241:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;6231:41;;;;;;6204:69;;;;;;;;;;;;;643:25:9::0;;631:2;616:18;;497:177;6204:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6203:70;6195:112;;;;-1:-1:-1::0;;;6195:112:0::1;;;;;;;:::i;:::-;6350:28;::::0;-1:-1:-1;;;6350:28:0::1;::::0;::::1;6480:23:9::0;6318:19:0::1;::::0;6519:11:9;;6350:28:0::1;;;;;;;;;;;;6340:39;;;;;;6318:61;;6390:22;6425:31;;;;;;-1:-1:-1::0;;;6743:26:9;;6794:2;6785:12;;6541:262;6425:31:0::1;;::::0;;;;::::1;-1:-1:-1::0;;6425:31:0;;;;;;;6415:42;;6425:31:::1;6415:42:::0;;::::1;::::0;6478:11:::1;::::0;-1:-1:-1;;;6478:50:0;;::::1;::::0;::::1;4020:25:9::0;;;4061:18;;;4054:34;;;6415:42:0;;-1:-1:-1;;;;;;6478:11:0::1;::::0;:26:::1;::::0;3993:18:9;;6478:50:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;6539:11:0::1;::::0;:48:::1;::::0;-1:-1:-1;;;6539:48:0;;::::1;::::0;::::1;6976:25:9::0;;;6539:11:0;7017:18:9;;;7010:50;-1:-1:-1;;;;;6539:11:0;;::::1;::::0;-1:-1:-1;6539:26:0::1;::::0;-1:-1:-1;6949:18:9;;6539:48:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;6184:411;;6117:478:::0;;:::o;2909:145:2:-;2995:4;3018:12;;;;;;;;;;;-1:-1:-1;;;;;3018:29:2;;;;;;;;;;;;;;;2909:145::o;2969:198:0:-;-1:-1:-1;;;;;;;;;;;2505:30:2;726:25:0;719:10:5;2505::2;:30::i;:::-;3043:17:0::1;3073:30;;;;;;;:::i;:::-;;::::0;;;;::::1;-1:-1:-1::0;;3073:30:0;;;;;;;3063:41;;3073:30:::1;3063:41:::0;;::::1;::::0;3115:11:::1;::::0;-1:-1:-1;;;3115:44:0;;::::1;::::0;::::1;6976:25:9::0;;;7044:14;;7037:22;7017:18;;;7010:50;3063:41:0;;-1:-1:-1;;;;;;3115:11:0::1;::::0;:26:::1;::::0;6949:18:9;;3115:44:0::1;6808:258:9::0;4275:372:0;-1:-1:-1;;;;;;;;;;;2505:30:2;726:25:0;719:10:5;2505::2;:30::i;:::-;4376:11:0::1;::::0;4413:30:::1;::::0;-1:-1:-1;;;;;4376:11:0;;::::1;::::0;:26:::1;::::0;4413:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;4403:41;;;;;;4376:69;;;;;;;;;;;;;643:25:9::0;;631:2;616:18;;497:177;4376:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4375:70;4367:112;;;;-1:-1:-1::0;;;4367:112:0::1;;;;;;;:::i;:::-;4524:44;::::0;-1:-1:-1;;;4524:44:0::1;::::0;::::1;5530:39:9::0;4490:21:0::1;::::0;5585:12:9;;4524:44:0::1;5328:275:9::0;8617:185:0;8660:4;8676:19;8708:28;;;;;;-1:-1:-1;;;6480:23:9;;6528:1;6519:11;;6278:258;4766:147:2;4082:7;4108:12;;;;;;;;;;:22;;;2505:30;2516:4;719:10:5;2505::2;:30::i;:::-;4880:26:::1;4892:4;4898:7;4880:11;:26::i;8191:207:0:-:0;8243:4;8259:21;8293:37;;;;;;-1:-1:-1;;;5257:32:9;;5314:2;5305:12;;5055:268;3335:492:2;3423:22;3431:4;3437:7;3423;:22::i;:::-;3418:403;;3606:41;3634:7;-1:-1:-1;;;;;3606:41:2;3644:2;3606:19;:41::i;:::-;3718:38;3746:4;3753:2;3718:19;:38::i;:::-;3513:265;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3513:265:2;;;;;;;;;;-1:-1:-1;;;3461:349:2;;;;;;;:::i;6861:233::-;6944:22;6952:4;6958:7;6944;:22::i;:::-;6939:149;;6982:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6982:29:2;;;;;;;;;:36;;-1:-1:-1;;6982:36:2;7014:4;6982:36;;;7064:12;719:10:5;;640:96;7064:12:2;-1:-1:-1;;;;;7037:40:2;7055:7;-1:-1:-1;;;;;7037:40:2;7049:4;7037:40;;;;;;;;;;6861:233;;:::o;7219:234::-;7302:22;7310:4;7316:7;7302;:22::i;:::-;7298:149;;;7372:5;7340:12;;;;;;;;;;;-1:-1:-1;;;;;7340:29:2;;;;;;;;;;:37;;-1:-1:-1;;7340:37:2;;;7396:40;719:10:5;;7340:12:2;;7396:40;;7372:5;7396:40;7219:234;;:::o;1588:441:6:-;1663:13;1688:19;1720:10;1724:6;1720:1;:10;:::i;:::-;:14;;1733:1;1720:14;:::i;:::-;1710:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1710:25:6;;1688:47;;-1:-1:-1;;;1745:6:6;1752:1;1745:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1745:15:6;;;;;;;;;-1:-1:-1;;;1770:6:6;1777:1;1770:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1770:15:6;;;;;;;;-1:-1:-1;1800:9:6;1812:10;1816:6;1812:1;:10;:::i;:::-;:14;;1825:1;1812:14;:::i;:::-;1800:26;;1795:132;1832:1;1828;:5;1795:132;;;-1:-1:-1;;;1879:5:6;1887:3;1879:11;1866:25;;;;;;;:::i;:::-;;;;1854:6;1861:1;1854:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;1854:37:6;;;;;;;;-1:-1:-1;1915:1:6;1905:11;;;;;1835:3;;;:::i;:::-;;;1795:132;;;-1:-1:-1;1944:10:6;;1936:55;;;;-1:-1:-1;;;1936:55:6;;9558:2:9;1936:55:6;;;9540:21:9;;;9577:18;;;9570:30;9636:34;9616:18;;;9609:62;9688:18;;1936:55:6;9356:356:9;14:286;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:9;;209:43;;199:71;;266:1;263;256:12;679:180;738:6;791:2;779:9;770:7;766:23;762:32;759:52;;;807:1;804;797:12;759:52;-1:-1:-1;830:23:9;;679:180;-1:-1:-1;679:180:9:o;1231:131::-;-1:-1:-1;;;;;1306:31:9;;1296:42;;1286:70;;1352:1;1349;1342:12;1286:70;1231:131;:::o;1367:247::-;1426:6;1479:2;1467:9;1458:7;1454:23;1450:32;1447:52;;;1495:1;1492;1485:12;1447:52;1534:9;1521:23;1553:31;1578:5;1553:31;:::i;1619:315::-;1687:6;1695;1748:2;1736:9;1727:7;1723:23;1719:32;1716:52;;;1764:1;1761;1754:12;1716:52;1800:9;1787:23;1777:33;;1860:2;1849:9;1845:18;1832:32;1873:31;1898:5;1873:31;:::i;:::-;1923:5;1913:15;;;1619:315;;;;;:::o;2147:118::-;2233:5;2226:13;2219:21;2212:5;2209:32;2199:60;;2255:1;2252;2245:12;2270:241;2326:6;2379:2;2367:9;2358:7;2354:23;2350:32;2347:52;;;2395:1;2392;2385:12;2347:52;2434:9;2421:23;2453:28;2475:5;2453:28;:::i;2783:184::-;2853:6;2906:2;2894:9;2885:7;2881:23;2877:32;2874:52;;;2922:1;2919;2912:12;2874:52;-1:-1:-1;2945:16:9;;2783:184;-1:-1:-1;2783:184:9:o;2972:261::-;-1:-1:-1;;;3174:25:9;;3224:2;3215:12;;2972:261::o;3238:245::-;3305:6;3358:2;3346:9;3337:7;3333:23;3329:32;3326:52;;;3374:1;3371;3364:12;3326:52;3406:9;3400:16;3425:28;3447:5;3425:28;:::i;3488:353::-;3690:2;3672:21;;;3729:2;3709:18;;;3702:30;3768:31;3763:2;3748:18;;3741:59;3832:2;3817:18;;3488:353::o;6022:251::-;6092:6;6145:2;6133:9;6124:7;6120:23;6116:32;6113:52;;;6161:1;6158;6151:12;6113:52;6193:9;6187:16;6212:31;6237:5;6212:31;:::i;7071:258::-;7143:1;7153:113;7167:6;7164:1;7161:13;7153:113;;;7243:11;;;7237:18;7224:11;;;7217:39;7189:2;7182:10;7153:113;;;7284:6;7281:1;7278:13;7275:48;;;7319:1;7310:6;7305:3;7301:16;7294:27;7275:48;;7071:258;;;:::o;7334:786::-;7745:25;7740:3;7733:38;7715:3;7800:6;7794:13;7816:62;7871:6;7866:2;7861:3;7857:12;7850:4;7842:6;7838:17;7816:62;:::i;:::-;-1:-1:-1;;;7937:2:9;7897:16;;;7929:11;;;7922:40;7987:13;;8009:63;7987:13;8058:2;8050:11;;8043:4;8031:17;;8009:63;:::i;:::-;8092:17;8111:2;8088:26;;7334:786;-1:-1:-1;;;;7334:786:9:o;8125:383::-;8274:2;8263:9;8256:21;8237:4;8306:6;8300:13;8349:6;8344:2;8333:9;8329:18;8322:34;8365:66;8424:6;8419:2;8408:9;8404:18;8399:2;8391:6;8387:15;8365:66;:::i;:::-;8492:2;8471:15;-1:-1:-1;;8467:29:9;8452:45;;;;8499:2;8448:54;;8125:383;-1:-1:-1;;8125:383:9:o;8513:127::-;8574:10;8569:3;8565:20;8562:1;8555:31;8605:4;8602:1;8595:15;8629:4;8626:1;8619:15;8645:168;8685:7;8751:1;8747;8743:6;8739:14;8736:1;8733:21;8728:1;8721:9;8714:17;8710:45;8707:71;;;8758:18;;:::i;:::-;-1:-1:-1;8798:9:9;;8645:168::o;8818:128::-;8858:3;8889:1;8885:6;8882:1;8879:13;8876:39;;;8895:18;;:::i;:::-;-1:-1:-1;8931:9:9;;8818:128::o;8951:127::-;9012:10;9007:3;9003:20;9000:1;8993:31;9043:4;9040:1;9033:15;9067:4;9064:1;9057:15;9083:127;9144:10;9139:3;9135:20;9132:1;9125:31;9175:4;9172:1;9165:15;9199:4;9196:1;9189:15;9215:136;9254:3;9282:5;9272:39;;9291:18;;:::i;:::-;-1:-1:-1;;;9327:18:9;;9215:136::o" + }, + "gasEstimates": { + "creation": { + "codeDepositCost": "1150600", + "executionCost": "infinite", + "totalCost": "infinite" + }, + "external": { + "DEFAULT_ADMIN_ROLE()": "262", + "POOL_MANAGER()": "infinite", + "addPoolManager(address)": "infinite", + "getContributionLimit()": "infinite", + "getMinContribution()": "infinite", + "getPoolBaseAddress()": "infinite", + "getPoolFees()": "infinite", + "getPoolMaxSize()": "infinite", + "getPoolState()": "infinite", + "getRewardsInterest()": "infinite", + "getRewardsInterval()": "infinite", + "getRoleAdmin(bytes32)": "2559", + "grantRole(bytes32,address)": "infinite", + "hasRole(bytes32,address)": "2695", + "removePoolManager(address)": "infinite", + "renounceRole(bytes32,address)": "29039", + "revokeRole(bytes32,address)": "infinite", + "setContributionLimit(uint256)": "infinite", + "setMinContribution(uint256)": "infinite", + "setPoolFees(uint256)": "infinite", + "setPoolLive(bool)": "infinite", + "setPoolMaxSize(uint256)": "infinite", + "setRewardsInterest(uint256)": "infinite", + "setRewardsInterval(uint256)": "infinite", + "supportsInterface(bytes4)": "450" + }, + "internal": { + "_setPoolBaseAddress()": "infinite", + "getContractAddress(string memory)": "infinite" + } + }, + "methodIdentifiers": { + "DEFAULT_ADMIN_ROLE()": "a217fddf", + "POOL_MANAGER()": "62308e85", + "addPoolManager(address)": "45077e71", + "getContributionLimit()": "fa1e19e5", + "getMinContribution()": "6cff7473", + "getPoolBaseAddress()": "8ae68134", + "getPoolFees()": "d1d8d060", + "getPoolMaxSize()": "095df57f", + "getPoolState()": "217ac237", + "getRewardsInterest()": "7521796f", + "getRewardsInterval()": "497d0241", + "getRoleAdmin(bytes32)": "248a9ca3", + "grantRole(bytes32,address)": "2f2ff15d", + "hasRole(bytes32,address)": "91d14854", + "removePoolManager(address)": "29ca15bc", + "renounceRole(bytes32,address)": "36568abe", + "revokeRole(bytes32,address)": "d547741f", + "setContributionLimit(uint256)": "72d099a0", + "setMinContribution(uint256)": "473b0d46", + "setPoolFees(uint256)": "8dd225d5", + "setPoolLive(bool)": "a4975516", + "setPoolMaxSize(uint256)": "12646987", + "setRewardsInterest(uint256)": "bf4c0036", + "setRewardsInterval(uint256)": "53710f49", + "supportsInterface(bytes4)": "01ffc9a7" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract DataStorageInterface\",\"name\":\"_dataStorageAddress\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_removedManager\",\"type\":\"address\"}],\"name\":\"ManagerRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_newManager\",\"type\":\"address\"}],\"name\":\"NewManagerAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"POOL_MANAGER\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"addPoolManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getContributionLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMinContribution\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolBaseAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolMaxSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolState\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsInterest\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsInterval\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"removePoolManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newContrLimit\",\"type\":\"uint256\"}],\"name\":\"setContributionLimit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newMinContr\",\"type\":\"uint256\"}],\"name\":\"setMinContribution\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_poolFees\",\"type\":\"uint256\"}],\"name\":\"setPoolFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_live\",\"type\":\"bool\"}],\"name\":\"setPoolLive\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxSize\",\"type\":\"uint256\"}],\"name\":\"setPoolMaxSize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_rewardsInterest\",\"type\":\"uint256\"}],\"name\":\"setRewardsInterest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_daysToRewards\",\"type\":\"uint256\"}],\"name\":\"setRewardsInterval\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role.\"},\"setContributionLimit(uint256)\":{\"details\":\"Set the max. contribution allowed for each user.\",\"params\":{\"_newContrLimit\":\"is a WEI value.\"}},\"setMinContribution(uint256)\":{\"details\":\"Set the min. contribution allowed for each user.\",\"params\":{\"_newMinContr\":\"is a WEI value.\"}},\"setPoolFees(uint256)\":{\"details\":\"Set the pool fees fraction that the pool charges for each deposit.\",\"params\":{\"_poolFees\":\"within the storage has 6 decimals.\"}},\"setPoolLive(bool)\":{\"details\":\"Toggles the Pool Investing Switch. \"},\"setPoolMaxSize(uint256)\":{\"details\":\"Sets the Pool Maximium size expressed on ether.\",\"params\":{\"_maxSize\":\"is a WEI value (or BigInt / BigNumber).\"}},\"setRewardsInterest(uint256)\":{\"details\":\"Set the interest per effective period.\",\"params\":{\"_rewardsInterest\":\"within the storage has 6 decimals.\"}},\"setRewardsInterval(uint256)\":{\"details\":\"Set the interval in days of the rewards period.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"}},\"title\":\"This contract handles the modifiers and environmental parameters that control the pool. \",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"constructor\":{\"notice\":\"This contract will be deployed by the same address of the initial guardian. Afterwards Guardian may not be the same as the adminif the guardian renounces to their guard.\"},\"setPoolFees(uint256)\":{\"notice\":\"E.G. If 0.001235 fees fraction are desired, 0.001235 * (10**6) = 1235.Also it sets the state variable \\\"poolFeesSet\\\" as true.If the poolFees are higher than the Interest Per period, it means tha the user will have to wait more than one period to recover that fee. Management & Operation choices...\"},\"setPoolLive(bool)\":{\"notice\":\"While live, anyone can invest but any state variable can be modified nor deleted.\"},\"setRewardsInterest(uint256)\":{\"notice\":\"E.G. If 0.001134 rate is desired, 0.001134 * (10**6) = 1134.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol\":\"PoolBase\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol\":{\"keccak256\":\"0xe27d66fc1d900f4fed3d06a7c68445f7420f8e712a9f18374fff3b717e861334\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c06f66c76833eb1d64e7099350c4339aaa619f6c44e6928498c2a9f8b4d53b60\",\"dweb:/ipfs/QmWJ9cWgiqGjDC33u5doPQpXejNZibUGoXCZDSCGwU8y4E\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol\":{\"keccak256\":\"0xf4a98c1519c0382a5c40cb047b7c1a33713d46062b68907c38eba7e24ce87773\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5921b6865f1504704ffbb252f719db25619236bed2ae94b18df01e1333bb4161\",\"dweb:/ipfs/QmR5TQmepq7zVfLD4WPUnVgHRRwYXDghwdrDqzgCWBmVvP\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0x4a1a0ba12bf1a33f10d9fe226278cf59675c0b929d29e4da99658a079b27fb84\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bda1319db846d6d6f92d8a57a9bdee8bde1dc39aa7546165791692c24dd6f30a\",\"dweb:/ipfs/Qma5oZ7DmbdAjd8mpiW7mx896PDtwsQtCQ2hj9Upf7b7JK\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol\":{\"keccak256\":\"0x0e9621f60b2faabe65549f7ed0f24e8853a45c1b7990d47e8160e523683f3935\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://287a2f8d5814dd0f05f22b740f18ca8321acc21c9bd03a6cb2203ea626e2f3f2\",\"dweb:/ipfs/QmZRQv9iuwU817VuqkA2WweiaibKii69x9QxYBBEfbNEud\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}", + "storageLayout": { + "storage": [ + { + "astId": 773, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol:PoolBase", + "label": "_roles", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_bytes32,t_struct(RoleData)768_storage)" + }, + { + "astId": 1141, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol:PoolBase", + "label": "_status", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 26, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol:PoolBase", + "label": "dataStorage", + "offset": 0, + "slot": "2", + "type": "t_contract(DataStorageInterface)748" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_contract(DataStorageInterface)748": { + "encoding": "inplace", + "label": "contract DataStorageInterface", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_bool)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_bytes32,t_struct(RoleData)768_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => struct AccessControl.RoleData)", + "numberOfBytes": "32", + "value": "t_struct(RoleData)768_storage" + }, + "t_struct(RoleData)768_storage": { + "encoding": "inplace", + "label": "struct AccessControl.RoleData", + "members": [ + { + "astId": 765, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol:PoolBase", + "label": "members", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 767, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol:PoolBase", + "label": "adminRole", + "offset": 0, + "slot": "1", + "type": "t_bytes32" + } + ], + "numberOfBytes": "64" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } + }, + "userdoc": { + "kind": "user", + "methods": { + "constructor": { + "notice": "This contract will be deployed by the same address of the initial guardian. Afterwards Guardian may not be the same as the adminif the guardian renounces to their guard." + }, + "setPoolFees(uint256)": { + "notice": "E.G. If 0.001235 fees fraction are desired, 0.001235 * (10**6) = 1235.Also it sets the state variable \"poolFeesSet\" as true.If the poolFees are higher than the Interest Per period, it means tha the user will have to wait more than one period to recover that fee. Management & Operation choices..." + }, + "setPoolLive(bool)": { + "notice": "While live, anyone can invest but any state variable can be modified nor deleted." + }, + "setRewardsInterest(uint256)": { + "notice": "E.G. If 0.001134 rate is desired, 0.001134 * (10**6) = 1134." + } + }, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol": { + "DataStorageInterface": { + "abi": [ + { + "inputs": [], + "name": "confirmGuard", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_decrement", + "type": "uint256" + } + ], + "name": "decreaseUintStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "deleteAddressStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "deleteBoolStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "deleteUintStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getAddressStorage", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getBoolStorage", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getCurrentGuardian", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getDataStorageAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getStorageStatus", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getUintStorage", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_increment", + "type": "uint256" + } + ], + "name": "increaseUintStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_value", + "type": "address" + } + ], + "name": "setAddressStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bool", + "name": "_value", + "type": "bool" + } + ], + "name": "setBoolStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_newGuardian", + "type": "address" + } + ], + "name": "setNewGuardian", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "setStorageLive", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "setUintStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "confirmGuard()": "27918182", + "decreaseUintStorage(bytes32,uint256)": "5bcfee67", + "deleteAddressStorage(bytes32)": "e732da72", + "deleteBoolStorage(bytes32)": "b240da3f", + "deleteUintStorage(bytes32)": "8a2c6738", + "getAddressStorage(bytes32)": "2a90bbb2", + "getBoolStorage(bytes32)": "55d94655", + "getCurrentGuardian()": "0bc169a5", + "getDataStorageAddress()": "638f8360", + "getStorageStatus()": "545e1b52", + "getUintStorage(bytes32)": "afc3602b", + "increaseUintStorage(bytes32,uint256)": "1d8895e0", + "setAddressStorage(bytes32,address)": "7221263a", + "setBoolStorage(bytes32,bool)": "988c515b", + "setNewGuardian(address)": "e87f7c31", + "setStorageLive()": "66b80832", + "setUintStorage(bytes32,uint256)": "28192c55" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"confirmGuard\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_decrement\",\"type\":\"uint256\"}],\"name\":\"decreaseUintStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"deleteAddressStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"deleteBoolStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"deleteUintStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"getAddressStorage\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"getBoolStorage\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCurrentGuardian\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDataStorageAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getStorageStatus\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"getUintStorage\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_increment\",\"type\":\"uint256\"}],\"name\":\"increaseUintStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_value\",\"type\":\"address\"}],\"name\":\"setAddressStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"_value\",\"type\":\"bool\"}],\"name\":\"setBoolStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newGuardian\",\"type\":\"address\"}],\"name\":\"setNewGuardian\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"setStorageLive\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"setUintStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol\":\"DataStorageInterface\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol\":{\"keccak256\":\"0xf4a98c1519c0382a5c40cb047b7c1a33713d46062b68907c38eba7e24ce87773\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5921b6865f1504704ffbb252f719db25619236bed2ae94b18df01e1333bb4161\",\"dweb:/ipfs/QmR5TQmepq7zVfLD4WPUnVgHRRwYXDghwdrDqzgCWBmVvP\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol": { + "AccessControl": { + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "devdoc": { + "details": "Contract module that allows children to implement role-based access control mechanisms. This is a lightweight version that doesn't allow enumerating role members except through off-chain means by accessing the contract event logs. Some applications may benefit from on-chain enumerability, for those cases see {AccessControlEnumerable}. Roles are referred to by their `bytes32` identifier. These should be exposed in the external API and be unique. The best way to achieve this is by using `public constant` hash digests: ``` bytes32 public constant MY_ROLE = keccak256(\"MY_ROLE\"); ``` Roles can be used to represent a set of permissions. To restrict access to a function call, use {hasRole}: ``` function foo() public { require(hasRole(MY_ROLE, msg.sender)); ... } ``` Roles can be granted and revoked dynamically via the {grantRole} and {revokeRole} functions. Each role has an associated admin role, and only accounts that have a role's admin role can call {grantRole} and {revokeRole}. By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means that only accounts with this role will be able to grant or revoke other roles. More complex role relationships can be created by using {_setRoleAdmin}. WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to grant and revoke this role. Extra precautions should be taken to secure accounts that have been granted it.", + "kind": "dev", + "methods": { + "getRoleAdmin(bytes32)": { + "details": "Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}." + }, + "grantRole(bytes32,address)": { + "details": "Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role." + }, + "hasRole(bytes32,address)": { + "details": "Returns `true` if `account` has been granted `role`." + }, + "renounceRole(bytes32,address)": { + "details": "Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`." + }, + "revokeRole(bytes32,address)": { + "details": "Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role." + }, + "supportsInterface(bytes4)": { + "details": "See {IERC165-supportsInterface}." + } + }, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "DEFAULT_ADMIN_ROLE()": "a217fddf", + "getRoleAdmin(bytes32)": "248a9ca3", + "grantRole(bytes32,address)": "2f2ff15d", + "hasRole(bytes32,address)": "91d14854", + "renounceRole(bytes32,address)": "36568abe", + "revokeRole(bytes32,address)": "d547741f", + "supportsInterface(bytes4)": "01ffc9a7" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Contract module that allows children to implement role-based access control mechanisms. This is a lightweight version that doesn't allow enumerating role members except through off-chain means by accessing the contract event logs. Some applications may benefit from on-chain enumerability, for those cases see {AccessControlEnumerable}. Roles are referred to by their `bytes32` identifier. These should be exposed in the external API and be unique. The best way to achieve this is by using `public constant` hash digests: ``` bytes32 public constant MY_ROLE = keccak256(\\\"MY_ROLE\\\"); ``` Roles can be used to represent a set of permissions. To restrict access to a function call, use {hasRole}: ``` function foo() public { require(hasRole(MY_ROLE, msg.sender)); ... } ``` Roles can be granted and revoked dynamically via the {grantRole} and {revokeRole} functions. Each role has an associated admin role, and only accounts that have a role's admin role can call {grantRole} and {revokeRole}. By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means that only accounts with this role will be able to grant or revoke other roles. More complex role relationships can be created by using {_setRoleAdmin}. WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to grant and revoke this role. Extra precautions should be taken to secure accounts that have been granted it.\",\"kind\":\"dev\",\"methods\":{\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol\":\"AccessControl\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0x4a1a0ba12bf1a33f10d9fe226278cf59675c0b929d29e4da99658a079b27fb84\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bda1319db846d6d6f92d8a57a9bdee8bde1dc39aa7546165791692c24dd6f30a\",\"dweb:/ipfs/Qma5oZ7DmbdAjd8mpiW7mx896PDtwsQtCQ2hj9Upf7b7JK\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}", + "storageLayout": { + "storage": [ + { + "astId": 773, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol:AccessControl", + "label": "_roles", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_bytes32,t_struct(RoleData)768_storage)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_bool)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_bytes32,t_struct(RoleData)768_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => struct AccessControl.RoleData)", + "numberOfBytes": "32", + "value": "t_struct(RoleData)768_storage" + }, + "t_struct(RoleData)768_storage": { + "encoding": "inplace", + "label": "struct AccessControl.RoleData", + "members": [ + { + "astId": 765, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol:AccessControl", + "label": "members", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 767, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol:AccessControl", + "label": "adminRole", + "offset": 0, + "slot": "1", + "type": "t_bytes32" + } + ], + "numberOfBytes": "64" + } + } + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol": { + "IAccessControl": { + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "devdoc": { + "details": "External interface of AccessControl declared to support ERC165 detection.", + "events": { + "RoleAdminChanged(bytes32,bytes32,bytes32)": { + "details": "Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite {RoleAdminChanged} not being emitted signaling this. _Available since v3.1._" + }, + "RoleGranted(bytes32,address,address)": { + "details": "Emitted when `account` is granted `role`. `sender` is the account that originated the contract call, an admin role bearer except when using {AccessControl-_setupRole}." + }, + "RoleRevoked(bytes32,address,address)": { + "details": "Emitted when `account` is revoked `role`. `sender` is the account that originated the contract call: - if using `revokeRole`, it is the admin role bearer - if using `renounceRole`, it is the role bearer (i.e. `account`)" + } + }, + "kind": "dev", + "methods": { + "getRoleAdmin(bytes32)": { + "details": "Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {AccessControl-_setRoleAdmin}." + }, + "grantRole(bytes32,address)": { + "details": "Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role." + }, + "hasRole(bytes32,address)": { + "details": "Returns `true` if `account` has been granted `role`." + }, + "renounceRole(bytes32,address)": { + "details": "Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`." + }, + "revokeRole(bytes32,address)": { + "details": "Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role." + } + }, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "getRoleAdmin(bytes32)": "248a9ca3", + "grantRole(bytes32,address)": "2f2ff15d", + "hasRole(bytes32,address)": "91d14854", + "renounceRole(bytes32,address)": "36568abe", + "revokeRole(bytes32,address)": "d547741f" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"External interface of AccessControl declared to support ERC165 detection.\",\"events\":{\"RoleAdminChanged(bytes32,bytes32,bytes32)\":{\"details\":\"Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite {RoleAdminChanged} not being emitted signaling this. _Available since v3.1._\"},\"RoleGranted(bytes32,address,address)\":{\"details\":\"Emitted when `account` is granted `role`. `sender` is the account that originated the contract call, an admin role bearer except when using {AccessControl-_setupRole}.\"},\"RoleRevoked(bytes32,address,address)\":{\"details\":\"Emitted when `account` is revoked `role`. `sender` is the account that originated the contract call: - if using `revokeRole`, it is the admin role bearer - if using `renounceRole`, it is the role bearer (i.e. `account`)\"}},\"kind\":\"dev\",\"methods\":{\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {AccessControl-_setRoleAdmin}.\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":\"IAccessControl\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol": { + "ReentrancyGuard": { + "abi": [], + "devdoc": { + "details": "Contract module that helps prevent reentrant calls to a function. Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier available, which can be applied to functions to make sure there are no nested (reentrant) calls to them. Note that because there is a single `nonReentrant` guard, functions marked as `nonReentrant` may not call one another. This can be worked around by making those functions `private`, and then adding `external` `nonReentrant` entry points to them. TIP: If you would like to learn more about reentrancy and alternative ways to protect against it, check out our blog post https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].", + "kind": "dev", + "methods": {}, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": {} + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Contract module that helps prevent reentrant calls to a function. Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier available, which can be applied to functions to make sure there are no nested (reentrant) calls to them. Note that because there is a single `nonReentrant` guard, functions marked as `nonReentrant` may not call one another. This can be worked around by making those functions `private`, and then adding `external` `nonReentrant` entry points to them. TIP: If you would like to learn more about reentrancy and alternative ways to protect against it, check out our blog post https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol\":\"ReentrancyGuard\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol\":{\"keccak256\":\"0x0e9621f60b2faabe65549f7ed0f24e8853a45c1b7990d47e8160e523683f3935\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://287a2f8d5814dd0f05f22b740f18ca8321acc21c9bd03a6cb2203ea626e2f3f2\",\"dweb:/ipfs/QmZRQv9iuwU817VuqkA2WweiaibKii69x9QxYBBEfbNEud\"]}},\"version\":1}", + "storageLayout": { + "storage": [ + { + "astId": 1141, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol:ReentrancyGuard", + "label": "_status", + "offset": 0, + "slot": "0", + "type": "t_uint256" + } + ], + "types": { + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol": { + "Context": { + "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 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": {} + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"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\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol\":\"Context\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol": { + "Strings": { + "abi": [], + "devdoc": { + "details": "String operations.", + "kind": "dev", + "methods": {}, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202f9345af5ae9c45c24126d0cdf967b54d208ff8960058323c80bace4d36c3bae64736f6c63430008090033", + "opcodes": "PUSH1 0x56 PUSH1 0x37 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x2A JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST ADDRESS PUSH1 0x0 MSTORE PUSH1 0x73 DUP2 MSTORE8 DUP3 DUP2 RETURN INVALID PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x2F SWAP4 GASLIMIT 0xAF GAS 0xE9 0xC4 0x5C 0x24 SLT PUSH14 0xCDF967B54D208FF8960058323C8 SIGNEXTEND 0xAC 0xE4 0xD3 PUSH13 0x3BAE64736F6C63430008090033 ", + "sourceMap": "146:1885:6:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;146:1885:6;;;;;;;;;;;;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202f9345af5ae9c45c24126d0cdf967b54d208ff8960058323c80bace4d36c3bae64736f6c63430008090033", + "opcodes": "PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x2F SWAP4 GASLIMIT 0xAF GAS 0xE9 0xC4 0x5C 0x24 SLT PUSH14 0xCDF967B54D208FF8960058323C8 SIGNEXTEND 0xAC 0xE4 0xD3 PUSH13 0x3BAE64736F6C63430008090033 ", + "sourceMap": "146:1885:6:-:0;;;;;;;;" + }, + "gasEstimates": { + "creation": { + "codeDepositCost": "17200", + "executionCost": "103", + "totalCost": "17303" + }, + "internal": { + "toHexString(uint256)": "infinite", + "toHexString(uint256,uint256)": "infinite", + "toString(uint256)": "infinite" + } + }, + "methodIdentifiers": {} + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"String operations.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol\":\"Strings\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol": { + "ERC165": { + "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 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "supportsInterface(bytes4)": "01ffc9a7" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"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\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":\"ERC165\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol": { + "IERC165": { + "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 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "supportsInterface(bytes4)": "01ffc9a7" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"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\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":\"IERC165\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + } + }, + "sources": { + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol", + "exportedSymbols": { + "AccessControl": [ + 1057 + ], + "Context": [ + 1192 + ], + "DataStorageInterface": [ + 748 + ], + "ERC165": [ + 1419 + ], + "IAccessControl": [ + 1130 + ], + "IERC165": [ + 1431 + ], + "PoolBase": [ + 648 + ], + "ReentrancyGuard": [ + 1170 + ], + "Strings": [ + 1395 + ] + }, + "id": 649, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1, + "literals": [ + "solidity", + "0.8", + ".9" + ], + "nodeType": "PragmaDirective", + "src": "33:22:0" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol", + "file": "./interfaces/DataStorageInterface.sol", + "id": 2, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 649, + "sourceUnit": 749, + "src": "201:47:0", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol", + "file": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol", + "id": 3, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 649, + "sourceUnit": 1058, + "src": "250:132:0", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol", + "file": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol", + "id": 4, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 649, + "sourceUnit": 1171, + "src": "384:136:0", + "symbolAliases": [], + "unitAlias": "" + }, + { + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 6, + "name": "AccessControl", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1057, + "src": "648:13:0" + }, + "id": 7, + "nodeType": "InheritanceSpecifier", + "src": "648:13:0" + }, + { + "baseName": { + "id": 8, + "name": "ReentrancyGuard", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1170, + "src": "663:15:0" + }, + "id": 9, + "nodeType": "InheritanceSpecifier", + "src": "663:15:0" + } + ], + "canonicalName": "PoolBase", + "contractDependencies": [], + "contractKind": "contract", + "documentation": { + "id": 5, + "nodeType": "StructuredDocumentation", + "src": "524:101:0", + "text": "@title This contract handles the modifiers and environmental parameters that control the pool. " + }, + "fullyImplemented": true, + "id": 648, + "linearizedBaseContracts": [ + 648, + 1170, + 1057, + 1419, + 1431, + 1130, + 1192 + ], + "name": "PoolBase", + "nameLocation": "636:8:0", + "nodeType": "ContractDefinition", + "nodes": [ + { + "constant": true, + "functionSelector": "62308e85", + "id": 14, + "mutability": "constant", + "name": "POOL_MANAGER", + "nameLocation": "711:12:0", + "nodeType": "VariableDeclaration", + "scope": 648, + "src": "687:64:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 10, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "687:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": { + "arguments": [ + { + "hexValue": "504f4f4c5f4d414e41474552", + "id": 12, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "736:14:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842", + "typeString": "literal_string \"POOL_MANAGER\"" + }, + "value": "POOL_MANAGER" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842", + "typeString": "literal_string \"POOL_MANAGER\"" + } + ], + "id": 11, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "726:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 13, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "726:25:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "public" + }, + { + "anonymous": false, + "id": 18, + "name": "NewManagerAdded", + "nameLocation": "785:15:0", + "nodeType": "EventDefinition", + "parameters": { + "id": 17, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 16, + "indexed": true, + "mutability": "mutable", + "name": "_newManager", + "nameLocation": "817:11:0", + "nodeType": "VariableDeclaration", + "scope": 18, + "src": "801:27:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 15, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "801:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "800:29:0" + }, + "src": "779:51:0" + }, + { + "anonymous": false, + "id": 22, + "name": "ManagerRemoved", + "nameLocation": "842:14:0", + "nodeType": "EventDefinition", + "parameters": { + "id": 21, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 20, + "indexed": true, + "mutability": "mutable", + "name": "_removedManager", + "nameLocation": "873:15:0", + "nodeType": "VariableDeclaration", + "scope": 22, + "src": "857:31:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 19, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "857:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "856:33:0" + }, + "src": "836:54:0" + }, + { + "constant": false, + "documentation": { + "id": 23, + "nodeType": "StructuredDocumentation", + "src": "898:55:0", + "text": "@notice Getting access to the DataStorage Contract." + }, + "id": 26, + "mutability": "mutable", + "name": "dataStorage", + "nameLocation": "980:11:0", + "nodeType": "VariableDeclaration", + "scope": 648, + "src": "959:32:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + }, + "typeName": { + "id": 25, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 24, + "name": "DataStorageInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 748, + "src": "959:20:0" + }, + "referencedDeclaration": 748, + "src": "959:20:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "visibility": "internal" + }, + { + "body": { + "id": 54, + "nodeType": "Block", + "src": "1262:206:0", + "statements": [ + { + "expression": { + "id": 37, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 33, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "1273:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "id": 35, + "name": "_dataStorageAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 30, + "src": "1308:19:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + ], + "id": 34, + "name": "DataStorageInterface", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 748, + "src": "1287:20:0", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_DataStorageInterface_$748_$", + "typeString": "type(contract DataStorageInterface)" + } + }, + "id": 36, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1287:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "src": "1273:55:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 38, + "nodeType": "ExpressionStatement", + "src": "1273:55:0" + }, + { + "expression": { + "arguments": [ + { + "id": 40, + "name": "DEFAULT_ADMIN_ROLE", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 776, + "src": "1350:18:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "expression": { + "id": 41, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1370:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 42, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "1370:10:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 39, + "name": "_setupRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 965, + "src": "1339:10:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 43, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1339:42:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 44, + "nodeType": "ExpressionStatement", + "src": "1339:42:0" + }, + { + "expression": { + "arguments": [ + { + "id": 46, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "1403:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "expression": { + "id": 47, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1417:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 48, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "1417:10:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 45, + "name": "_setupRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 965, + "src": "1392:10:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 49, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1392:36:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 50, + "nodeType": "ExpressionStatement", + "src": "1392:36:0" + }, + { + "expression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 51, + "name": "_setPoolBaseAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 162, + "src": "1439:19:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", + "typeString": "function ()" + } + }, + "id": 52, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1439:21:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 53, + "nodeType": "ExpressionStatement", + "src": "1439:21:0" + } + ] + }, + "documentation": { + "id": 27, + "nodeType": "StructuredDocumentation", + "src": "1004:199:0", + "text": "@notice This contract will be deployed by the same address of the initial guardian. Afterwards Guardian may not be the same as the admin\n @notice if the guardian renounces to their guard." + }, + "id": 55, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 31, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 30, + "mutability": "mutable", + "name": "_dataStorageAddress", + "nameLocation": "1242:19:0", + "nodeType": "VariableDeclaration", + "scope": 55, + "src": "1221:40:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + }, + "typeName": { + "id": 29, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 28, + "name": "DataStorageInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 748, + "src": "1221:20:0" + }, + "referencedDeclaration": 748, + "src": "1221:20:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "visibility": "internal" + } + ], + "src": "1220:42:0" + }, + "returnParameters": { + "id": 32, + "nodeType": "ParameterList", + "parameters": [], + "src": "1262:0:0" + }, + "scope": 648, + "src": "1209:259:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 69, + "nodeType": "Block", + "src": "1642:124:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 64, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 59, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1661:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 60, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "1661:10:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 61, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "1675:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 62, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getCurrentGuardian", + "nodeType": "MemberAccess", + "referencedDeclaration": 660, + "src": "1675:30:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", + "typeString": "function () view external returns (address)" + } + }, + "id": 63, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1675:32:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "1661:46:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "4f6e6c792063616c6c61626c652062792063757272656e7420677561726469616e2e", + "id": 65, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1709:36:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c295098e4653db03d2d22453c3eb7ae49307d50964fb5a9a1311d3fef2f9e749", + "typeString": "literal_string \"Only callable by current guardian.\"" + }, + "value": "Only callable by current guardian." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_c295098e4653db03d2d22453c3eb7ae49307d50964fb5a9a1311d3fef2f9e749", + "typeString": "literal_string \"Only callable by current guardian.\"" + } + ], + "id": 58, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "1653:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 66, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1653:93:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 67, + "nodeType": "ExpressionStatement", + "src": "1653:93:0" + }, + { + "id": 68, + "nodeType": "PlaceholderStatement", + "src": "1757:1:0" + } + ] + }, + "documentation": { + "id": 56, + "nodeType": "StructuredDocumentation", + "src": "1519:86:0", + "text": "@notice Besides the access control contract, the following modifiers will be used." + }, + "id": 70, + "name": "onlyCurrentGuardian", + "nameLocation": "1620:19:0", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 57, + "nodeType": "ParameterList", + "parameters": [], + "src": "1639:2:0" + }, + "src": "1611:155:0", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 88, + "nodeType": "Block", + "src": "1801:155:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f657869737473", + "id": 78, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1874:17:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + "value": "contract_exists" + }, + { + "expression": { + "id": 79, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1893:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 80, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "1893:10:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 76, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1857:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 77, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1857:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 81, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1857:47:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 75, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1847:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 82, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1847:58:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 73, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "1820:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 74, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 685, + "src": "1820:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 83, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1820:86:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "496e76616c696420436f6e747261637420416464726573732e", + "id": 84, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1908:27:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_d36e2fdd2f4d349fc44a9cc6ea1a2b4f2a7eb320cfe91d40a3a9a6af97aada24", + "typeString": "literal_string \"Invalid Contract Address.\"" + }, + "value": "Invalid Contract Address." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_d36e2fdd2f4d349fc44a9cc6ea1a2b4f2a7eb320cfe91d40a3a9a6af97aada24", + "typeString": "literal_string \"Invalid Contract Address.\"" + } + ], + "id": 72, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "1812:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 85, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1812:124:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 86, + "nodeType": "ExpressionStatement", + "src": "1812:124:0" + }, + { + "id": 87, + "nodeType": "PlaceholderStatement", + "src": "1947:1:0" + } + ] + }, + "id": 89, + "name": "onlyPoolContract", + "nameLocation": "1783:16:0", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 71, + "nodeType": "ParameterList", + "parameters": [], + "src": "1799:2:0" + }, + "src": "1774:182:0", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 106, + "nodeType": "Block", + "src": "2081:93:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 98, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "2102:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 99, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 91, + "src": "2116:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 97, + "name": "grantRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 908, + "src": "2092:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 100, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2092:33:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 101, + "nodeType": "ExpressionStatement", + "src": "2092:33:0" + }, + { + "eventCall": { + "arguments": [ + { + "id": 103, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 91, + "src": "2157:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 102, + "name": "NewManagerAdded", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 18, + "src": "2141:15:0", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 104, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2141:25:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 105, + "nodeType": "EmitStatement", + "src": "2136:30:0" + } + ] + }, + "functionSelector": "45077e71", + "id": 107, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 94, + "name": "DEFAULT_ADMIN_ROLE", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 776, + "src": "2061:18:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 95, + "kind": "modifierInvocation", + "modifierName": { + "id": 93, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 789, + "src": "2052:8:0" + }, + "nodeType": "ModifierInvocation", + "src": "2052:28:0" + } + ], + "name": "addPoolManager", + "nameLocation": "2011:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 92, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 91, + "mutability": "mutable", + "name": "_address", + "nameLocation": "2035:8:0", + "nodeType": "VariableDeclaration", + "scope": 107, + "src": "2027:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 90, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2027:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2026:18:0" + }, + "returnParameters": { + "id": 96, + "nodeType": "ParameterList", + "parameters": [], + "src": "2081:0:0" + }, + "scope": 648, + "src": "2002:172:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 124, + "nodeType": "Block", + "src": "2264:93:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 116, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "2286:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 117, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 109, + "src": "2300:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 115, + "name": "revokeRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 928, + "src": "2275:10:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 118, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2275:34:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 119, + "nodeType": "ExpressionStatement", + "src": "2275:34:0" + }, + { + "eventCall": { + "arguments": [ + { + "id": 121, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 109, + "src": "2340:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 120, + "name": "ManagerRemoved", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 22, + "src": "2325:14:0", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 122, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2325:24:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 123, + "nodeType": "EmitStatement", + "src": "2320:29:0" + } + ] + }, + "functionSelector": "29ca15bc", + "id": 125, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 112, + "name": "DEFAULT_ADMIN_ROLE", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 776, + "src": "2244:18:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 113, + "kind": "modifierInvocation", + "modifierName": { + "id": 111, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 789, + "src": "2235:8:0" + }, + "nodeType": "ModifierInvocation", + "src": "2235:28:0" + } + ], + "name": "removePoolManager", + "nameLocation": "2191:17:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 110, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 109, + "mutability": "mutable", + "name": "_address", + "nameLocation": "2218:8:0", + "nodeType": "VariableDeclaration", + "scope": 125, + "src": "2210:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 108, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2210:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2209:18:0" + }, + "returnParameters": { + "id": 114, + "nodeType": "ParameterList", + "parameters": [], + "src": "2264:0:0" + }, + "scope": 648, + "src": "2182:175:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 161, + "nodeType": "Block", + "src": "2582:230:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f657869737473", + "id": 135, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2647:17:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + "value": "contract_exists" + }, + { + "arguments": [ + { + "id": 138, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "2674:4:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolBase_$648", + "typeString": "contract PoolBase" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_PoolBase_$648", + "typeString": "contract PoolBase" + } + ], + "id": 137, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2666:7:0", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 136, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2666:7:0", + "typeDescriptions": {} + } + }, + "id": 139, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2666:13:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 133, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "2630:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 134, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "2630:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 140, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2630:50:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 132, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "2620:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 141, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2620:61:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "hexValue": "74727565", + "id": 142, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2683:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "expression": { + "id": 129, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "2593:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 131, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 711, + "src": "2593:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_bool_$returns$__$", + "typeString": "function (bytes32,bool) external" + } + }, + "id": 143, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2593:95:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 144, + "nodeType": "ExpressionStatement", + "src": "2593:95:0" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f61646472657373", + "id": 151, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2756:18:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + "value": "contract_address" + }, + { + "hexValue": "506f6f6c42617365", + "id": 152, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2776:10:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27", + "typeString": "literal_string \"PoolBase\"" + }, + "value": "PoolBase" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + { + "typeIdentifier": "t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27", + "typeString": "literal_string \"PoolBase\"" + } + ], + "expression": { + "id": 149, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "2739:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 150, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "2739:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 153, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2739:48:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 148, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "2729:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 154, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2729:59:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "arguments": [ + { + "id": 157, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "2798:4:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolBase_$648", + "typeString": "contract PoolBase" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_PoolBase_$648", + "typeString": "contract PoolBase" + } + ], + "id": 156, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2790:7:0", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 155, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2790:7:0", + "typeDescriptions": {} + } + }, + "id": 158, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2790:13:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 145, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "2699:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 147, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setAddressStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 718, + "src": "2699:29:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address) external" + } + }, + "id": 159, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2699:105:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 160, + "nodeType": "ExpressionStatement", + "src": "2699:105:0" + } + ] + }, + "documentation": { + "id": 126, + "nodeType": "StructuredDocumentation", + "src": "2411:126:0", + "text": "@dev Store this contract address and existance on the main storage.\n @notice Called while deploying the contract. " + }, + "id": 162, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_setPoolBaseAddress", + "nameLocation": "2552:19:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 127, + "nodeType": "ParameterList", + "parameters": [], + "src": "2571:2:0" + }, + "returnParameters": { + "id": 128, + "nodeType": "ParameterList", + "parameters": [], + "src": "2582:0:0" + }, + "scope": 648, + "src": "2543:269:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "private" + }, + { + "body": { + "id": 187, + "nodeType": "Block", + "src": "3032:135:0", + "statements": [ + { + "assignments": [ + 172 + ], + "declarations": [ + { + "constant": false, + "id": 172, + "mutability": "mutable", + "name": "statusTag", + "nameLocation": "3051:9:0", + "nodeType": "VariableDeclaration", + "scope": 187, + "src": "3043:17:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 171, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3043:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 179, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 176, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3090:12:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 174, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3073:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 175, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3073:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 177, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3073:30:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 173, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "3063:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 178, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3063:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3043:61:0" + }, + { + "expression": { + "arguments": [ + { + "id": 183, + "name": "statusTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 172, + "src": "3142:9:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 184, + "name": "_live", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 165, + "src": "3153:5:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "expression": { + "id": 180, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "3115:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 182, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 711, + "src": "3115:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_bool_$returns$__$", + "typeString": "function (bytes32,bool) external" + } + }, + "id": 185, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3115:44:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 186, + "nodeType": "ExpressionStatement", + "src": "3115:44:0" + } + ] + }, + "documentation": { + "id": 163, + "nodeType": "StructuredDocumentation", + "src": "2820:143:0", + "text": "@dev Toggles the Pool Investing Switch. \n @notice While live, anyone can invest but any state variable can be modified nor deleted." + }, + "functionSelector": "a4975516", + "id": 188, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 168, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "3018:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 169, + "kind": "modifierInvocation", + "modifierName": { + "id": 167, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 789, + "src": "3009:8:0" + }, + "nodeType": "ModifierInvocation", + "src": "3009:22:0" + } + ], + "name": "setPoolLive", + "nameLocation": "2978:11:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 166, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 165, + "mutability": "mutable", + "name": "_live", + "nameLocation": "2995:5:0", + "nodeType": "VariableDeclaration", + "scope": 188, + "src": "2990:10:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 164, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2990:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "2989:12:0" + }, + "returnParameters": { + "id": 170, + "nodeType": "ParameterList", + "parameters": [], + "src": "3032:0:0" + }, + "scope": 648, + "src": "2969:198:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 227, + "nodeType": "Block", + "src": "3371:272:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 207, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "3390:70:0", + "subExpression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 203, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3445:12:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 201, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3428:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 202, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3428:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 204, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3428:30:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 200, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "3418:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 205, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3418:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 198, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "3391:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 199, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 685, + "src": "3391:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 206, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3391:69:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "id": 208, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3462:31:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + }, + "value": "The pool is currently closed." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + } + ], + "id": 197, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "3382:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 209, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3382:112:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 210, + "nodeType": "ExpressionStatement", + "src": "3382:112:0" + }, + { + "assignments": [ + 212 + ], + "declarations": [ + { + "constant": false, + "id": 212, + "mutability": "mutable", + "name": "poolMaxSizeTag", + "nameLocation": "3513:14:0", + "nodeType": "VariableDeclaration", + "scope": 227, + "src": "3505:22:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 211, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3505:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 219, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "706f6f6c4d617853697a65", + "id": 216, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3557:13:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42", + "typeString": "literal_string \"poolMaxSize\"" + }, + "value": "poolMaxSize" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42", + "typeString": "literal_string \"poolMaxSize\"" + } + ], + "expression": { + "id": 214, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3540:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 215, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3540:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 217, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3540:31:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 213, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "3530:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 218, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3530:42:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3505:67:0" + }, + { + "expression": { + "arguments": [ + { + "id": 223, + "name": "poolMaxSizeTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 212, + "src": "3610:14:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 224, + "name": "_maxSize", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 191, + "src": "3626:8:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 220, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "3583:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 222, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 704, + "src": "3583:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 225, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3583:52:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 226, + "nodeType": "ExpressionStatement", + "src": "3583:52:0" + } + ] + }, + "documentation": { + "id": 189, + "nodeType": "StructuredDocumentation", + "src": "3175:121:0", + "text": "@dev Sets the Pool Maximium size expressed on ether.\n @param _maxSize is a WEI value (or BigInt / BigNumber)." + }, + "functionSelector": "12646987", + "id": 228, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 194, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "3357:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 195, + "kind": "modifierInvocation", + "modifierName": { + "id": 193, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 789, + "src": "3348:8:0" + }, + "nodeType": "ModifierInvocation", + "src": "3348:22:0" + } + ], + "name": "setPoolMaxSize", + "nameLocation": "3311:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 192, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 191, + "mutability": "mutable", + "name": "_maxSize", + "nameLocation": "3331:8:0", + "nodeType": "VariableDeclaration", + "scope": 228, + "src": "3326:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 190, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3326:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3325:15:0" + }, + "returnParameters": { + "id": 196, + "nodeType": "ParameterList", + "parameters": [], + "src": "3371:0:0" + }, + "scope": 648, + "src": "3302:341:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 267, + "nodeType": "Block", + "src": "3796:272:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 247, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "3815:70:0", + "subExpression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 243, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3870:12:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 241, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3853:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 242, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3853:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 244, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3853:30:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 240, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "3843:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 245, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3843:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 238, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "3816:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 239, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 685, + "src": "3816:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 246, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3816:69:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "id": 248, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3887:31:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + }, + "value": "The pool is currently closed." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + } + ], + "id": 237, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "3807:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 249, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3807:112:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 250, + "nodeType": "ExpressionStatement", + "src": "3807:112:0" + }, + { + "assignments": [ + 252 + ], + "declarations": [ + { + "constant": false, + "id": 252, + "mutability": "mutable", + "name": "daysRewTag", + "nameLocation": "3938:10:0", + "nodeType": "VariableDeclaration", + "scope": 267, + "src": "3930:18:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 251, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3930:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 259, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "64617973546f52657761726473", + "id": 256, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3978:15:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d", + "typeString": "literal_string \"daysToRewards\"" + }, + "value": "daysToRewards" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d", + "typeString": "literal_string \"daysToRewards\"" + } + ], + "expression": { + "id": 254, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3961:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 255, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3961:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 257, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3961:33:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 253, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "3951:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 258, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3951:44:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3930:65:0" + }, + { + "expression": { + "arguments": [ + { + "id": 263, + "name": "daysRewTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 252, + "src": "4033:10:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 264, + "name": "_daysToRewards", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 231, + "src": "4045:14:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 260, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "4006:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 262, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 704, + "src": "4006:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 265, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4006:54:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 266, + "nodeType": "ExpressionStatement", + "src": "4006:54:0" + } + ] + }, + "documentation": { + "id": 229, + "nodeType": "StructuredDocumentation", + "src": "3655:56:0", + "text": "@dev Set the interval in days of the rewards period." + }, + "functionSelector": "53710f49", + "id": 268, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 234, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "3782:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 235, + "kind": "modifierInvocation", + "modifierName": { + "id": 233, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 789, + "src": "3773:8:0" + }, + "nodeType": "ModifierInvocation", + "src": "3773:22:0" + } + ], + "name": "setRewardsInterval", + "nameLocation": "3726:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 232, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 231, + "mutability": "mutable", + "name": "_daysToRewards", + "nameLocation": "3750:14:0", + "nodeType": "VariableDeclaration", + "scope": 268, + "src": "3745:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 230, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3745:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3744:21:0" + }, + "returnParameters": { + "id": 236, + "nodeType": "ParameterList", + "parameters": [], + "src": "3796:0:0" + }, + "scope": 648, + "src": "3717:351:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 307, + "nodeType": "Block", + "src": "4356:291:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 287, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "4375:70:0", + "subExpression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 283, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4430:12:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 281, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "4413:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 282, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "4413:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 284, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4413:30:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 280, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "4403:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 285, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4403:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 278, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "4376:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 279, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 685, + "src": "4376:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 286, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4376:69:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "id": 288, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4447:31:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + }, + "value": "The pool is currently closed." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + } + ], + "id": 277, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "4367:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 289, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4367:112:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 290, + "nodeType": "ExpressionStatement", + "src": "4367:112:0" + }, + { + "assignments": [ + 292 + ], + "declarations": [ + { + "constant": false, + "id": 292, + "mutability": "mutable", + "name": "rewardsIntTag", + "nameLocation": "4498:13:0", + "nodeType": "VariableDeclaration", + "scope": 307, + "src": "4490:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 291, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4490:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 299, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "72657761726473496e746572657374506572506572696f64", + "id": 296, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4541:26:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c", + "typeString": "literal_string \"rewardsInterestPerPeriod\"" + }, + "value": "rewardsInterestPerPeriod" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c", + "typeString": "literal_string \"rewardsInterestPerPeriod\"" + } + ], + "expression": { + "id": 294, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "4524:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 295, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "4524:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 297, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4524:44:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 293, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "4514:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 298, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4514:55:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4490:79:0" + }, + { + "expression": { + "arguments": [ + { + "id": 303, + "name": "rewardsIntTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 292, + "src": "4607:13:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 304, + "name": "_rewardsInterest", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 271, + "src": "4622:16:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 300, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "4580:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 302, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 704, + "src": "4580:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 305, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4580:59:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 306, + "nodeType": "ExpressionStatement", + "src": "4580:59:0" + } + ] + }, + "documentation": { + "id": 269, + "nodeType": "StructuredDocumentation", + "src": "4076:193:0", + "text": "@dev Set the interest per effective period.\n @param _rewardsInterest within the storage has 6 decimals.\n @notice E.G. If 0.001134 rate is desired, 0.001134 * (10**6) = 1134." + }, + "functionSelector": "bf4c0036", + "id": 308, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 274, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "4342:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 275, + "kind": "modifierInvocation", + "modifierName": { + "id": 273, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 789, + "src": "4333:8:0" + }, + "nodeType": "ModifierInvocation", + "src": "4333:22:0" + } + ], + "name": "setRewardsInterest", + "nameLocation": "4284:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 272, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 271, + "mutability": "mutable", + "name": "_rewardsInterest", + "nameLocation": "4308:16:0", + "nodeType": "VariableDeclaration", + "scope": 308, + "src": "4303:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 270, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "4303:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "4302:23:0" + }, + "returnParameters": { + "id": 276, + "nodeType": "ParameterList", + "parameters": [], + "src": "4356:0:0" + }, + "scope": 648, + "src": "4275:372:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 347, + "nodeType": "Block", + "src": "4845:282:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 327, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "4864:70:0", + "subExpression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 323, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4919:12:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 321, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "4902:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 322, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "4902:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 324, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4902:30:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 320, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "4892:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 325, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4892:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 318, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "4865:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 319, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 685, + "src": "4865:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 326, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4865:69:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "id": 328, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4936:31:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + }, + "value": "The pool is currently closed." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + } + ], + "id": 317, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "4856:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 329, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4856:112:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 330, + "nodeType": "ExpressionStatement", + "src": "4856:112:0" + }, + { + "assignments": [ + 332 + ], + "declarations": [ + { + "constant": false, + "id": 332, + "mutability": "mutable", + "name": "contrLimitTag", + "nameLocation": "4987:13:0", + "nodeType": "VariableDeclaration", + "scope": 347, + "src": "4979:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 331, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4979:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 339, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e747269627574696f6e4c696d6974", + "id": 336, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5030:19:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044", + "typeString": "literal_string \"contributionLimit\"" + }, + "value": "contributionLimit" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044", + "typeString": "literal_string \"contributionLimit\"" + } + ], + "expression": { + "id": 334, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "5013:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 335, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5013:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 337, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5013:37:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 333, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "5003:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 338, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5003:48:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4979:72:0" + }, + { + "expression": { + "arguments": [ + { + "id": 343, + "name": "contrLimitTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 332, + "src": "5089:13:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 344, + "name": "_newContrLimit", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 311, + "src": "5104:14:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 340, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "5062:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 342, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 704, + "src": "5062:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 345, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5062:57:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 346, + "nodeType": "ExpressionStatement", + "src": "5062:57:0" + } + ] + }, + "documentation": { + "id": 309, + "nodeType": "StructuredDocumentation", + "src": "4655:104:0", + "text": "@dev Set the max. contribution allowed for each user.\n @param _newContrLimit is a WEI value." + }, + "functionSelector": "72d099a0", + "id": 348, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 314, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "4832:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 315, + "kind": "modifierInvocation", + "modifierName": { + "id": 313, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 789, + "src": "4823:8:0" + }, + "nodeType": "ModifierInvocation", + "src": "4823:22:0" + } + ], + "name": "setContributionLimit", + "nameLocation": "4774:20:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 312, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 311, + "mutability": "mutable", + "name": "_newContrLimit", + "nameLocation": "4800:14:0", + "nodeType": "VariableDeclaration", + "scope": 348, + "src": "4795:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 310, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "4795:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "4794:21:0" + }, + "returnParameters": { + "id": 316, + "nodeType": "ParameterList", + "parameters": [], + "src": "4845:0:0" + }, + "scope": 648, + "src": "4765:362:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 387, + "nodeType": "Block", + "src": "5319:274:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 367, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "5338:70:0", + "subExpression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 363, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5393:12:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 361, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "5376:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 362, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5376:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 364, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5376:30:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 360, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "5366:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 365, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5366:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 358, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "5339:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 359, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 685, + "src": "5339:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 366, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5339:69:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "id": 368, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5410:31:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + }, + "value": "The pool is currently closed." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + } + ], + "id": 357, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "5330:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 369, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5330:112:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 370, + "nodeType": "ExpressionStatement", + "src": "5330:112:0" + }, + { + "assignments": [ + 372 + ], + "declarations": [ + { + "constant": false, + "id": 372, + "mutability": "mutable", + "name": "minContrTag", + "nameLocation": "5461:11:0", + "nodeType": "VariableDeclaration", + "scope": 387, + "src": "5453:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 371, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "5453:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 379, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6d696e436f6e747269627574696f6e", + "id": 376, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5502:17:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36", + "typeString": "literal_string \"minContribution\"" + }, + "value": "minContribution" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36", + "typeString": "literal_string \"minContribution\"" + } + ], + "expression": { + "id": 374, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "5485:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 375, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5485:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 377, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5485:35:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 373, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "5475:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 378, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5475:46:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5453:68:0" + }, + { + "expression": { + "arguments": [ + { + "id": 383, + "name": "minContrTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 372, + "src": "5559:11:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 384, + "name": "_newMinContr", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 351, + "src": "5572:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 380, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "5532:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 382, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 704, + "src": "5532:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 385, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5532:53:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 386, + "nodeType": "ExpressionStatement", + "src": "5532:53:0" + } + ] + }, + "documentation": { + "id": 349, + "nodeType": "StructuredDocumentation", + "src": "5135:102:0", + "text": "@dev Set the min. contribution allowed for each user.\n @param _newMinContr is a WEI value." + }, + "functionSelector": "473b0d46", + "id": 388, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 354, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "5306:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 355, + "kind": "modifierInvocation", + "modifierName": { + "id": 353, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 789, + "src": "5297:8:0" + }, + "nodeType": "ModifierInvocation", + "src": "5297:22:0" + } + ], + "name": "setMinContribution", + "nameLocation": "5252:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 352, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 351, + "mutability": "mutable", + "name": "_newMinContr", + "nameLocation": "5276:12:0", + "nodeType": "VariableDeclaration", + "scope": 388, + "src": "5271:17:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 350, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "5271:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "5270:19:0" + }, + "returnParameters": { + "id": 356, + "nodeType": "ParameterList", + "parameters": [], + "src": "5319:0:0" + }, + "scope": 648, + "src": "5243:350:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 443, + "nodeType": "Block", + "src": "6184:411:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 407, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "6203:70:0", + "subExpression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 403, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6258:12:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 401, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "6241:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 402, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "6241:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 404, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6241:30:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 400, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "6231:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 405, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6231:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 398, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "6204:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 399, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 685, + "src": "6204:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 406, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6204:69:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "id": 408, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6275:31:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + }, + "value": "The pool is currently closed." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + } + ], + "id": 397, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "6195:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 409, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6195:112:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 410, + "nodeType": "ExpressionStatement", + "src": "6195:112:0" + }, + { + "assignments": [ + 412 + ], + "declarations": [ + { + "constant": false, + "id": 412, + "mutability": "mutable", + "name": "poolFeesTag", + "nameLocation": "6326:11:0", + "nodeType": "VariableDeclaration", + "scope": 443, + "src": "6318:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 411, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6318:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 419, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "706f6f6c46656573", + "id": 416, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6367:10:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_0f5404ed03256cc6395ed559bf52ccb5ab11bf8dddbd240da7e6d5ad4ab04dd7", + "typeString": "literal_string \"poolFees\"" + }, + "value": "poolFees" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_0f5404ed03256cc6395ed559bf52ccb5ab11bf8dddbd240da7e6d5ad4ab04dd7", + "typeString": "literal_string \"poolFees\"" + } + ], + "expression": { + "id": 414, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "6350:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 415, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "6350:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 417, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6350:28:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 413, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "6340:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 418, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6340:39:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6318:61:0" + }, + { + "assignments": [ + 421 + ], + "declarations": [ + { + "constant": false, + "id": 421, + "mutability": "mutable", + "name": "poolFeesSetTag", + "nameLocation": "6398:14:0", + "nodeType": "VariableDeclaration", + "scope": 443, + "src": "6390:22:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 420, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6390:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 428, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "706f6f6c46656573536574", + "id": 425, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6442:13:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_8f6e48ebe95c46ad356449234d760f7838119a9ccd28d70c8f8be00c200e3039", + "typeString": "literal_string \"poolFeesSet\"" + }, + "value": "poolFeesSet" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_8f6e48ebe95c46ad356449234d760f7838119a9ccd28d70c8f8be00c200e3039", + "typeString": "literal_string \"poolFeesSet\"" + } + ], + "expression": { + "id": 423, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "6425:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 424, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "6425:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 426, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6425:31:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 422, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "6415:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 427, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6415:42:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6390:67:0" + }, + { + "expression": { + "arguments": [ + { + "id": 432, + "name": "poolFeesTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 412, + "src": "6505:11:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 433, + "name": "_poolFees", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 391, + "src": "6518:9:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 429, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "6478:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 431, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 704, + "src": "6478:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 434, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6478:50:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 435, + "nodeType": "ExpressionStatement", + "src": "6478:50:0" + }, + { + "expression": { + "arguments": [ + { + "id": 439, + "name": "poolFeesSetTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 421, + "src": "6566:14:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "hexValue": "74727565", + "id": 440, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6582:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "expression": { + "id": 436, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "6539:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 438, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 711, + "src": "6539:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_bool_$returns$__$", + "typeString": "function (bytes32,bool) external" + } + }, + "id": 441, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6539:48:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 442, + "nodeType": "ExpressionStatement", + "src": "6539:48:0" + } + ] + }, + "documentation": { + "id": 389, + "nodeType": "StructuredDocumentation", + "src": "5607:504:0", + "text": "@dev Set the pool fees fraction that the pool charges for each deposit.\n @param _poolFees within the storage has 6 decimals.\n @notice E.G. If 0.001235 fees fraction are desired, 0.001235 * (10**6) = 1235.\n @notice Also it sets the state variable \"poolFeesSet\" as true.\n @notice If the poolFees are higher than the Interest Per period, it means tha the user will have to \n @notice wait more than one period to recover that fee. Management & Operation choices..." + }, + "functionSelector": "8dd225d5", + "id": 444, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 394, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "6170:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 395, + "kind": "modifierInvocation", + "modifierName": { + "id": 393, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 789, + "src": "6161:8:0" + }, + "nodeType": "ModifierInvocation", + "src": "6161:22:0" + } + ], + "name": "setPoolFees", + "nameLocation": "6126:11:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 392, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 391, + "mutability": "mutable", + "name": "_poolFees", + "nameLocation": "6143:9:0", + "nodeType": "VariableDeclaration", + "scope": 444, + "src": "6138:14:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 390, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "6138:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "6137:16:0" + }, + "returnParameters": { + "id": 396, + "nodeType": "ParameterList", + "parameters": [], + "src": "6184:0:0" + }, + "scope": 648, + "src": "6117:478:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 481, + "nodeType": "Block", + "src": "6780:295:0", + "statements": [ + { + "assignments": [ + 453 + ], + "declarations": [ + { + "constant": false, + "id": 453, + "mutability": "mutable", + "name": "addressTag", + "nameLocation": "6799:10:0", + "nodeType": "VariableDeclaration", + "scope": 481, + "src": "6791:18:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 452, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6791:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 461, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f61646472657373", + "id": 457, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6839:18:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + "value": "contract_address" + }, + { + "id": 458, + "name": "_contractName", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 447, + "src": "6859:13:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 455, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "6822:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 456, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "6822:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 459, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6822:51:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 454, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "6812:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 460, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6812:62:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6791:83:0" + }, + { + "assignments": [ + 463 + ], + "declarations": [ + { + "constant": false, + "id": 463, + "mutability": "mutable", + "name": "contractAddress", + "nameLocation": "6893:15:0", + "nodeType": "VariableDeclaration", + "scope": 481, + "src": "6885:23:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 462, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6885:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "id": 468, + "initialValue": { + "arguments": [ + { + "id": 466, + "name": "addressTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 453, + "src": "6941:10:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 464, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "6911:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 465, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getAddressStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 692, + "src": "6911:29:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_address_$", + "typeString": "function (bytes32) view external returns (address)" + } + }, + "id": 467, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6911:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6885:67:0" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 475, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 470, + "name": "contractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 463, + "src": "6971:15:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "arguments": [ + { + "hexValue": "307830", + "id": 473, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6998:3:0", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0x0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 472, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "6990:7:0", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 471, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6990:7:0", + "typeDescriptions": {} + } + }, + "id": 474, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6990:12:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "6971:31:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "436f6e74726163742061646472657373206e6f7420666f756e642e", + "id": 476, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7004:29:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_308638a0d46b73b9203c635ec2b36574c482f0f0b0c13080ce12f9b33ca2d5c6", + "typeString": "literal_string \"Contract address not found.\"" + }, + "value": "Contract address not found." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_308638a0d46b73b9203c635ec2b36574c482f0f0b0c13080ce12f9b33ca2d5c6", + "typeString": "literal_string \"Contract address not found.\"" + } + ], + "id": 469, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "6963:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 477, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6963:71:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 478, + "nodeType": "ExpressionStatement", + "src": "6963:71:0" + }, + { + "expression": { + "id": 479, + "name": "contractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 463, + "src": "7052:15:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "functionReturnParameters": 451, + "id": 480, + "nodeType": "Return", + "src": "7045:22:0" + } + ] + }, + "documentation": { + "id": 445, + "nodeType": "StructuredDocumentation", + "src": "6645:42:0", + "text": "@dev Getters for each pool variable." + }, + "id": 482, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getContractAddress", + "nameLocation": "6702:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 448, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 447, + "mutability": "mutable", + "name": "_contractName", + "nameLocation": "6735:13:0", + "nodeType": "VariableDeclaration", + "scope": 482, + "src": "6721:27:0", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 446, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "6721:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "6720:29:0" + }, + "returnParameters": { + "id": 451, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 450, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 482, + "src": "6772:7:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 449, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6772:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "6771:9:0" + }, + "scope": 648, + "src": "6693:382:0", + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 506, + "nodeType": "Block", + "src": "7141:210:0", + "statements": [ + { + "assignments": [ + 488 + ], + "declarations": [ + { + "constant": false, + "id": 488, + "mutability": "mutable", + "name": "addressTag", + "nameLocation": "7160:10:0", + "nodeType": "VariableDeclaration", + "scope": 506, + "src": "7152:18:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 487, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "7152:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 496, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f61646472657373", + "id": 492, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7200:18:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + "value": "contract_address" + }, + { + "hexValue": "506f6f6c42617365", + "id": 493, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7220:10:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27", + "typeString": "literal_string \"PoolBase\"" + }, + "value": "PoolBase" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + { + "typeIdentifier": "t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27", + "typeString": "literal_string \"PoolBase\"" + } + ], + "expression": { + "id": 490, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "7183:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 491, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "7183:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 494, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7183:48:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 489, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "7173:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 495, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7173:59:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7152:80:0" + }, + { + "assignments": [ + 498 + ], + "declarations": [ + { + "constant": false, + "id": 498, + "mutability": "mutable", + "name": "contractAddress", + "nameLocation": "7251:15:0", + "nodeType": "VariableDeclaration", + "scope": 506, + "src": "7243:23:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 497, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "7243:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "id": 503, + "initialValue": { + "arguments": [ + { + "id": 501, + "name": "addressTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 488, + "src": "7299:10:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 499, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "7269:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 500, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getAddressStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 692, + "src": "7269:29:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_address_$", + "typeString": "function (bytes32) view external returns (address)" + } + }, + "id": 502, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7269:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7243:67:0" + }, + { + "expression": { + "id": 504, + "name": "contractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 498, + "src": "7328:15:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "functionReturnParameters": 486, + "id": 505, + "nodeType": "Return", + "src": "7321:22:0" + } + ] + }, + "functionSelector": "8ae68134", + "id": 507, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getPoolBaseAddress", + "nameLocation": "7092:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 483, + "nodeType": "ParameterList", + "parameters": [], + "src": "7110:2:0" + }, + "returnParameters": { + "id": 486, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 485, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 507, + "src": "7133:7:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 484, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "7133:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "7132:9:0" + }, + "scope": 648, + "src": "7083:268:0", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 526, + "nodeType": "Block", + "src": "7412:135:0", + "statements": [ + { + "assignments": [ + 513 + ], + "declarations": [ + { + "constant": false, + "id": 513, + "mutability": "mutable", + "name": "statusTag", + "nameLocation": "7431:9:0", + "nodeType": "VariableDeclaration", + "scope": 526, + "src": "7423:17:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 512, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "7423:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 520, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 517, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7470:12:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 515, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "7453:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 516, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "7453:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 518, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7453:30:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 514, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "7443:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 519, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7443:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7423:61:0" + }, + { + "expression": { + "arguments": [ + { + "id": 523, + "name": "statusTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 513, + "src": "7529:9:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 521, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "7502:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 522, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 685, + "src": "7502:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 524, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7502:37:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "functionReturnParameters": 511, + "id": 525, + "nodeType": "Return", + "src": "7495:44:0" + } + ] + }, + "functionSelector": "217ac237", + "id": 527, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getPoolState", + "nameLocation": "7372:12:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 508, + "nodeType": "ParameterList", + "parameters": [], + "src": "7384:2:0" + }, + "returnParameters": { + "id": 511, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 510, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 527, + "src": "7407:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 509, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "7407:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "7406:6:0" + }, + "scope": 648, + "src": "7363:184:0", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 546, + "nodeType": "Block", + "src": "7606:154:0", + "statements": [ + { + "assignments": [ + 533 + ], + "declarations": [ + { + "constant": false, + "id": 533, + "mutability": "mutable", + "name": "poolMaxSizeTag", + "nameLocation": "7625:14:0", + "nodeType": "VariableDeclaration", + "scope": 546, + "src": "7617:22:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 532, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "7617:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 540, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "706f6f6c4d617853697a65", + "id": 537, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7669:13:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42", + "typeString": "literal_string \"poolMaxSize\"" + }, + "value": "poolMaxSize" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42", + "typeString": "literal_string \"poolMaxSize\"" + } + ], + "expression": { + "id": 535, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "7652:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 536, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "7652:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 538, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7652:31:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 534, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "7642:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 539, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7642:42:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7617:67:0" + }, + { + "expression": { + "arguments": [ + { + "id": 543, + "name": "poolMaxSizeTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 533, + "src": "7729:14:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 541, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "7702:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 542, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 678, + "src": "7702:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 544, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7702:42:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 531, + "id": 545, + "nodeType": "Return", + "src": "7695:49:0" + } + ] + }, + "functionSelector": "095df57f", + "id": 547, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getPoolMaxSize", + "nameLocation": "7564:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 528, + "nodeType": "ParameterList", + "parameters": [], + "src": "7578:2:0" + }, + "returnParameters": { + "id": 531, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 530, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 547, + "src": "7601:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 529, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7601:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "7600:6:0" + }, + "scope": 648, + "src": "7555:205:0", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 566, + "nodeType": "Block", + "src": "7823:140:0", + "statements": [ + { + "assignments": [ + 553 + ], + "declarations": [ + { + "constant": false, + "id": 553, + "mutability": "mutable", + "name": "daysRewTag", + "nameLocation": "7842:10:0", + "nodeType": "VariableDeclaration", + "scope": 566, + "src": "7834:18:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 552, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "7834:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 560, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "64617973546f52657761726473", + "id": 557, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7882:15:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d", + "typeString": "literal_string \"daysToRewards\"" + }, + "value": "daysToRewards" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d", + "typeString": "literal_string \"daysToRewards\"" + } + ], + "expression": { + "id": 555, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "7865:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 556, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "7865:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 558, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7865:33:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 554, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "7855:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 559, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7855:44:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7834:65:0" + }, + { + "expression": { + "arguments": [ + { + "id": 563, + "name": "daysRewTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 553, + "src": "7944:10:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 561, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "7917:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 562, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 678, + "src": "7917:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 564, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7917:38:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 551, + "id": 565, + "nodeType": "Return", + "src": "7910:45:0" + } + ] + }, + "functionSelector": "497d0241", + "id": 567, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getRewardsInterval", + "nameLocation": "7777:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 548, + "nodeType": "ParameterList", + "parameters": [], + "src": "7795:2:0" + }, + "returnParameters": { + "id": 551, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 550, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 567, + "src": "7818:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 549, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7818:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "7817:6:0" + }, + "scope": 648, + "src": "7768:195:0", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 586, + "nodeType": "Block", + "src": "8026:157:0", + "statements": [ + { + "assignments": [ + 573 + ], + "declarations": [ + { + "constant": false, + "id": 573, + "mutability": "mutable", + "name": "rewardsIntTag", + "nameLocation": "8045:13:0", + "nodeType": "VariableDeclaration", + "scope": 586, + "src": "8037:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 572, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "8037:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 580, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "72657761726473496e746572657374506572506572696f64", + "id": 577, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8088:26:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c", + "typeString": "literal_string \"rewardsInterestPerPeriod\"" + }, + "value": "rewardsInterestPerPeriod" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c", + "typeString": "literal_string \"rewardsInterestPerPeriod\"" + } + ], + "expression": { + "id": 575, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "8071:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 576, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "8071:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 578, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8071:44:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 574, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "8061:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 579, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8061:55:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8037:79:0" + }, + { + "expression": { + "arguments": [ + { + "id": 583, + "name": "rewardsIntTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 573, + "src": "8161:13:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 581, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "8134:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 582, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 678, + "src": "8134:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 584, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8134:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 571, + "id": 585, + "nodeType": "Return", + "src": "8127:48:0" + } + ] + }, + "functionSelector": "7521796f", + "id": 587, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getRewardsInterest", + "nameLocation": "7980:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 568, + "nodeType": "ParameterList", + "parameters": [], + "src": "7998:2:0" + }, + "returnParameters": { + "id": 571, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 570, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 587, + "src": "8021:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 569, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8021:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "8020:6:0" + }, + "scope": 648, + "src": "7971:212:0", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 606, + "nodeType": "Block", + "src": "8248:150:0", + "statements": [ + { + "assignments": [ + 593 + ], + "declarations": [ + { + "constant": false, + "id": 593, + "mutability": "mutable", + "name": "contrLimitTag", + "nameLocation": "8267:13:0", + "nodeType": "VariableDeclaration", + "scope": 606, + "src": "8259:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 592, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "8259:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 600, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e747269627574696f6e4c696d6974", + "id": 597, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8310:19:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044", + "typeString": "literal_string \"contributionLimit\"" + }, + "value": "contributionLimit" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044", + "typeString": "literal_string \"contributionLimit\"" + } + ], + "expression": { + "id": 595, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "8293:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 596, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "8293:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 598, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8293:37:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 594, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "8283:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 599, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8283:48:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8259:72:0" + }, + { + "expression": { + "arguments": [ + { + "id": 603, + "name": "contrLimitTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 593, + "src": "8376:13:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 601, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "8349:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 602, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 678, + "src": "8349:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 604, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8349:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 591, + "id": 605, + "nodeType": "Return", + "src": "8342:48:0" + } + ] + }, + "functionSelector": "fa1e19e5", + "id": 607, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getContributionLimit", + "nameLocation": "8200:20:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 588, + "nodeType": "ParameterList", + "parameters": [], + "src": "8220:2:0" + }, + "returnParameters": { + "id": 591, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 590, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 607, + "src": "8243:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 589, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8243:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "8242:6:0" + }, + "scope": 648, + "src": "8191:207:0", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 626, + "nodeType": "Block", + "src": "8461:144:0", + "statements": [ + { + "assignments": [ + 613 + ], + "declarations": [ + { + "constant": false, + "id": 613, + "mutability": "mutable", + "name": "minContrTag", + "nameLocation": "8480:11:0", + "nodeType": "VariableDeclaration", + "scope": 626, + "src": "8472:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 612, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "8472:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 620, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6d696e436f6e747269627574696f6e", + "id": 617, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8521:17:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36", + "typeString": "literal_string \"minContribution\"" + }, + "value": "minContribution" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36", + "typeString": "literal_string \"minContribution\"" + } + ], + "expression": { + "id": 615, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "8504:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 616, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "8504:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 618, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8504:35:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 614, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "8494:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 619, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8494:46:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8472:68:0" + }, + { + "expression": { + "arguments": [ + { + "id": 623, + "name": "minContrTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 613, + "src": "8585:11:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 621, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "8558:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 622, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 678, + "src": "8558:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 624, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8558:39:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 611, + "id": 625, + "nodeType": "Return", + "src": "8551:46:0" + } + ] + }, + "functionSelector": "6cff7473", + "id": 627, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getMinContribution", + "nameLocation": "8415:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 608, + "nodeType": "ParameterList", + "parameters": [], + "src": "8433:2:0" + }, + "returnParameters": { + "id": 611, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 610, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 627, + "src": "8456:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 609, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8456:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "8455:6:0" + }, + "scope": 648, + "src": "8406:199:0", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 646, + "nodeType": "Block", + "src": "8665:137:0", + "statements": [ + { + "assignments": [ + 633 + ], + "declarations": [ + { + "constant": false, + "id": 633, + "mutability": "mutable", + "name": "poolFeesTag", + "nameLocation": "8684:11:0", + "nodeType": "VariableDeclaration", + "scope": 646, + "src": "8676:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 632, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "8676:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 640, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "706f6f6c46656573", + "id": 637, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8725:10:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_0f5404ed03256cc6395ed559bf52ccb5ab11bf8dddbd240da7e6d5ad4ab04dd7", + "typeString": "literal_string \"poolFees\"" + }, + "value": "poolFees" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_0f5404ed03256cc6395ed559bf52ccb5ab11bf8dddbd240da7e6d5ad4ab04dd7", + "typeString": "literal_string \"poolFees\"" + } + ], + "expression": { + "id": 635, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "8708:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 636, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "8708:16:0", + "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, + "names": [], + "nodeType": "FunctionCall", + "src": "8708:28:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 634, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "8698:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 639, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8698:39:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8676:61:0" + }, + { + "expression": { + "arguments": [ + { + "id": 643, + "name": "poolFeesTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 633, + "src": "8782:11:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 641, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "8755:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 642, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 678, + "src": "8755:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 644, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8755:39:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 631, + "id": 645, + "nodeType": "Return", + "src": "8748:46:0" + } + ] + }, + "functionSelector": "d1d8d060", + "id": 647, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getPoolFees", + "nameLocation": "8626:11:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 628, + "nodeType": "ParameterList", + "parameters": [], + "src": "8637:2:0" + }, + "returnParameters": { + "id": 631, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 630, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 647, + "src": "8660:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 629, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8660:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "8659:6:0" + }, + "scope": 648, + "src": "8617:185:0", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + } + ], + "scope": 649, + "src": "627:8190:0", + "usedErrors": [] + } + ], + "src": "33:8784:0" + }, + "id": 0 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol", + "exportedSymbols": { + "DataStorageInterface": [ + 748 + ] + }, + "id": 749, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 650, + "literals": [ + "solidity", + "0.8", + ".9" + ], + "nodeType": "PragmaDirective", + "src": "33:22:1" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "DataStorageInterface", + "contractDependencies": [], + "contractKind": "interface", + "fullyImplemented": false, + "id": 748, + "linearizedBaseContracts": [ + 748 + ], + "name": "DataStorageInterface", + "nameLocation": "69:20:1", + "nodeType": "ContractDefinition", + "nodes": [ + { + "functionSelector": "545e1b52", + "id": 655, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getStorageStatus", + "nameLocation": "155:16:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 651, + "nodeType": "ParameterList", + "parameters": [], + "src": "171:2:1" + }, + "returnParameters": { + "id": 654, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 653, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 655, + "src": "196:4:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 652, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "196:4:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "195:6:1" + }, + "scope": 748, + "src": "146:56:1", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "0bc169a5", + "id": 660, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getCurrentGuardian", + "nameLocation": "217:18:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 656, + "nodeType": "ParameterList", + "parameters": [], + "src": "235:2:1" + }, + "returnParameters": { + "id": 659, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 658, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 660, + "src": "260:7:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 657, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "260:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "259:9:1" + }, + "scope": 748, + "src": "208:61:1", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "e87f7c31", + "id": 665, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setNewGuardian", + "nameLocation": "284:14:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 663, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 662, + "mutability": "mutable", + "name": "_newGuardian", + "nameLocation": "307:12:1", + "nodeType": "VariableDeclaration", + "scope": 665, + "src": "299:20:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 661, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "299:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "298:22:1" + }, + "returnParameters": { + "id": 664, + "nodeType": "ParameterList", + "parameters": [], + "src": "329:0:1" + }, + "scope": 748, + "src": "275:55:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "27918182", + "id": 668, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "confirmGuard", + "nameLocation": "345:12:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 666, + "nodeType": "ParameterList", + "parameters": [], + "src": "357:2:1" + }, + "returnParameters": { + "id": 667, + "nodeType": "ParameterList", + "parameters": [], + "src": "368:0:1" + }, + "scope": 748, + "src": "336:33:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "66b80832", + "id": 671, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setStorageLive", + "nameLocation": "384:14:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 669, + "nodeType": "ParameterList", + "parameters": [], + "src": "398:2:1" + }, + "returnParameters": { + "id": 670, + "nodeType": "ParameterList", + "parameters": [], + "src": "409:0:1" + }, + "scope": 748, + "src": "375:35:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "afc3602b", + "id": 678, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getUintStorage", + "nameLocation": "474:14:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 674, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 673, + "mutability": "mutable", + "name": "_id", + "nameLocation": "497:3:1", + "nodeType": "VariableDeclaration", + "scope": 678, + "src": "489:11:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 672, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "489:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "488:13:1" + }, + "returnParameters": { + "id": 677, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 676, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 678, + "src": "524:7:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 675, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "524:7:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "523:9:1" + }, + "scope": 748, + "src": "465:68:1", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "55d94655", + "id": 685, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getBoolStorage", + "nameLocation": "548:14:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 681, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 680, + "mutability": "mutable", + "name": "_id", + "nameLocation": "571:3:1", + "nodeType": "VariableDeclaration", + "scope": 685, + "src": "563:11:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 679, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "563:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "562:13:1" + }, + "returnParameters": { + "id": 684, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 683, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 685, + "src": "598:4:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 682, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "598:4:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "597:6:1" + }, + "scope": 748, + "src": "539:65:1", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "2a90bbb2", + "id": 692, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getAddressStorage", + "nameLocation": "619:17:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 688, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 687, + "mutability": "mutable", + "name": "_id", + "nameLocation": "645:3:1", + "nodeType": "VariableDeclaration", + "scope": 692, + "src": "637:11:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 686, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "637:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "636:13:1" + }, + "returnParameters": { + "id": 691, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 690, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 692, + "src": "672:7:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 689, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "672:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "671:9:1" + }, + "scope": 748, + "src": "610:71:1", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "638f8360", + "id": 697, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getDataStorageAddress", + "nameLocation": "696:21:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 693, + "nodeType": "ParameterList", + "parameters": [], + "src": "717:2:1" + }, + "returnParameters": { + "id": 696, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 695, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 697, + "src": "742:7:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 694, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "742:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "741:9:1" + }, + "scope": 748, + "src": "687:64:1", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "28192c55", + "id": 704, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setUintStorage", + "nameLocation": "815:14:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 702, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 699, + "mutability": "mutable", + "name": "_id", + "nameLocation": "838:3:1", + "nodeType": "VariableDeclaration", + "scope": 704, + "src": "830:11:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 698, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "830:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 701, + "mutability": "mutable", + "name": "_value", + "nameLocation": "851:6:1", + "nodeType": "VariableDeclaration", + "scope": 704, + "src": "843:14:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 700, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "843:7:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "829:29:1" + }, + "returnParameters": { + "id": 703, + "nodeType": "ParameterList", + "parameters": [], + "src": "867:0:1" + }, + "scope": 748, + "src": "806:62:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "988c515b", + "id": 711, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setBoolStorage", + "nameLocation": "883:14:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 709, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 706, + "mutability": "mutable", + "name": "_id", + "nameLocation": "906:3:1", + "nodeType": "VariableDeclaration", + "scope": 711, + "src": "898:11:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 705, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "898:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 708, + "mutability": "mutable", + "name": "_value", + "nameLocation": "916:6:1", + "nodeType": "VariableDeclaration", + "scope": 711, + "src": "911:11:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 707, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "911:4:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "897:26:1" + }, + "returnParameters": { + "id": 710, + "nodeType": "ParameterList", + "parameters": [], + "src": "932:0:1" + }, + "scope": 748, + "src": "874:59:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "7221263a", + "id": 718, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setAddressStorage", + "nameLocation": "948:17:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 716, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 713, + "mutability": "mutable", + "name": "_id", + "nameLocation": "974:3:1", + "nodeType": "VariableDeclaration", + "scope": 718, + "src": "966:11:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 712, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "966:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 715, + "mutability": "mutable", + "name": "_value", + "nameLocation": "987:6:1", + "nodeType": "VariableDeclaration", + "scope": 718, + "src": "979:14:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 714, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "979:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "965:29:1" + }, + "returnParameters": { + "id": 717, + "nodeType": "ParameterList", + "parameters": [], + "src": "1003:0:1" + }, + "scope": 748, + "src": "939:65:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "1d8895e0", + "id": 725, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "increaseUintStorage", + "nameLocation": "1020:19:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 723, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 720, + "mutability": "mutable", + "name": "_id", + "nameLocation": "1048:3:1", + "nodeType": "VariableDeclaration", + "scope": 725, + "src": "1040:11:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 719, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1040:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 722, + "mutability": "mutable", + "name": "_increment", + "nameLocation": "1061:10:1", + "nodeType": "VariableDeclaration", + "scope": 725, + "src": "1053:18:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 721, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1053:7:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1039:33:1" + }, + "returnParameters": { + "id": 724, + "nodeType": "ParameterList", + "parameters": [], + "src": "1081:0:1" + }, + "scope": 748, + "src": "1011:71:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "5bcfee67", + "id": 732, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "decreaseUintStorage", + "nameLocation": "1097:19:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 730, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 727, + "mutability": "mutable", + "name": "_id", + "nameLocation": "1125:3:1", + "nodeType": "VariableDeclaration", + "scope": 732, + "src": "1117:11:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 726, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1117:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 729, + "mutability": "mutable", + "name": "_decrement", + "nameLocation": "1138:10:1", + "nodeType": "VariableDeclaration", + "scope": 732, + "src": "1130:18:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 728, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1130:7:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1116:33:1" + }, + "returnParameters": { + "id": 731, + "nodeType": "ParameterList", + "parameters": [], + "src": "1158:0:1" + }, + "scope": 748, + "src": "1088:71:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "8a2c6738", + "id": 737, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "deleteUintStorage", + "nameLocation": "1232:17:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 735, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 734, + "mutability": "mutable", + "name": "_id", + "nameLocation": "1258:3:1", + "nodeType": "VariableDeclaration", + "scope": 737, + "src": "1250:11:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 733, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1250:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "1249:13:1" + }, + "returnParameters": { + "id": 736, + "nodeType": "ParameterList", + "parameters": [], + "src": "1271:0:1" + }, + "scope": 748, + "src": "1223:49:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "b240da3f", + "id": 742, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "deleteBoolStorage", + "nameLocation": "1287:17:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 740, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 739, + "mutability": "mutable", + "name": "_id", + "nameLocation": "1313:3:1", + "nodeType": "VariableDeclaration", + "scope": 742, + "src": "1305:11:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 738, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1305:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "1304:13:1" + }, + "returnParameters": { + "id": 741, + "nodeType": "ParameterList", + "parameters": [], + "src": "1326:0:1" + }, + "scope": 748, + "src": "1278:49:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "e732da72", + "id": 747, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "deleteAddressStorage", + "nameLocation": "1342:20:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 745, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 744, + "mutability": "mutable", + "name": "_id", + "nameLocation": "1371:3:1", + "nodeType": "VariableDeclaration", + "scope": 747, + "src": "1363:11:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 743, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1363:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "1362:13:1" + }, + "returnParameters": { + "id": 746, + "nodeType": "ParameterList", + "parameters": [], + "src": "1384:0:1" + }, + "scope": 748, + "src": "1333:52:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + } + ], + "scope": 749, + "src": "59:1331:1", + "usedErrors": [] + } + ], + "src": "33:1357:1" + }, + "id": 1 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol", + "exportedSymbols": { + "AccessControl": [ + 1057 + ], + "Context": [ + 1192 + ], + "ERC165": [ + 1419 + ], + "IAccessControl": [ + 1130 + ], + "IERC165": [ + 1431 + ], + "Strings": [ + 1395 + ] + }, + "id": 1058, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 750, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "108:23:2" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol", + "file": "./IAccessControl.sol", + "id": 751, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1058, + "sourceUnit": 1131, + "src": "133:30:2", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol", + "file": "../utils/Context.sol", + "id": 752, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1058, + "sourceUnit": 1193, + "src": "164:30:2", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol", + "file": "../utils/Strings.sol", + "id": 753, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1058, + "sourceUnit": 1396, + "src": "195:30:2", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol", + "file": "../utils/introspection/ERC165.sol", + "id": 754, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1058, + "sourceUnit": 1420, + "src": "226:43:2", + "symbolAliases": [], + "unitAlias": "" + }, + { + "abstract": true, + "baseContracts": [ + { + "baseName": { + "id": 756, + "name": "Context", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1192, + "src": "1841:7:2" + }, + "id": 757, + "nodeType": "InheritanceSpecifier", + "src": "1841:7:2" + }, + { + "baseName": { + "id": 758, + "name": "IAccessControl", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1130, + "src": "1850:14:2" + }, + "id": 759, + "nodeType": "InheritanceSpecifier", + "src": "1850:14:2" + }, + { + "baseName": { + "id": 760, + "name": "ERC165", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1419, + "src": "1866:6:2" + }, + "id": 761, + "nodeType": "InheritanceSpecifier", + "src": "1866:6:2" + } + ], + "canonicalName": "AccessControl", + "contractDependencies": [], + "contractKind": "contract", + "documentation": { + "id": 755, + "nodeType": "StructuredDocumentation", + "src": "271:1534:2", + "text": " @dev Contract module that allows children to implement role-based access\n control mechanisms. This is a lightweight version that doesn't allow enumerating role\n members except through off-chain means by accessing the contract event logs. Some\n applications may benefit from on-chain enumerability, for those cases see\n {AccessControlEnumerable}.\n Roles are referred to by their `bytes32` identifier. These should be exposed\n in the external API and be unique. The best way to achieve this is by\n using `public constant` hash digests:\n ```\n bytes32 public constant MY_ROLE = keccak256(\"MY_ROLE\");\n ```\n Roles can be used to represent a set of permissions. To restrict access to a\n function call, use {hasRole}:\n ```\n function foo() public {\n require(hasRole(MY_ROLE, msg.sender));\n ...\n }\n ```\n Roles can be granted and revoked dynamically via the {grantRole} and\n {revokeRole} functions. Each role has an associated admin role, and only\n accounts that have a role's admin role can call {grantRole} and {revokeRole}.\n By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means\n that only accounts with this role will be able to grant or revoke other\n roles. More complex role relationships can be created by using\n {_setRoleAdmin}.\n WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to\n grant and revoke this role. Extra precautions should be taken to secure\n accounts that have been granted it." + }, + "fullyImplemented": true, + "id": 1057, + "linearizedBaseContracts": [ + 1057, + 1419, + 1431, + 1130, + 1192 + ], + "name": "AccessControl", + "nameLocation": "1824:13:2", + "nodeType": "ContractDefinition", + "nodes": [ + { + "canonicalName": "AccessControl.RoleData", + "id": 768, + "members": [ + { + "constant": false, + "id": 765, + "mutability": "mutable", + "name": "members", + "nameLocation": "1930:7:2", + "nodeType": "VariableDeclaration", + "scope": 768, + "src": "1905:32:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + }, + "typeName": { + "id": 764, + "keyType": { + "id": 762, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1913:7:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Mapping", + "src": "1905:24:2", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + }, + "valueType": { + "id": 763, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "1924:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 767, + "mutability": "mutable", + "name": "adminRole", + "nameLocation": "1955:9:2", + "nodeType": "VariableDeclaration", + "scope": 768, + "src": "1947:17:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 766, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1947:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "name": "RoleData", + "nameLocation": "1886:8:2", + "nodeType": "StructDefinition", + "scope": 1057, + "src": "1879:92:2", + "visibility": "public" + }, + { + "constant": false, + "id": 773, + "mutability": "mutable", + "name": "_roles", + "nameLocation": "2014:6:2", + "nodeType": "VariableDeclaration", + "scope": 1057, + "src": "1977:43:2", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$768_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData)" + }, + "typeName": { + "id": 772, + "keyType": { + "id": 769, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1985:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "Mapping", + "src": "1977:28:2", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$768_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData)" + }, + "valueType": { + "id": 771, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 770, + "name": "RoleData", + "nodeType": "IdentifierPath", + "referencedDeclaration": 768, + "src": "1996:8:2" + }, + "referencedDeclaration": 768, + "src": "1996:8:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_RoleData_$768_storage_ptr", + "typeString": "struct AccessControl.RoleData" + } + } + }, + "visibility": "private" + }, + { + "constant": true, + "functionSelector": "a217fddf", + "id": 776, + "mutability": "constant", + "name": "DEFAULT_ADMIN_ROLE", + "nameLocation": "2051:18:2", + "nodeType": "VariableDeclaration", + "scope": 1057, + "src": "2027:49:2", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 774, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2027:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": { + "hexValue": "30783030", + "id": 775, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2072:4:2", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0x00" + }, + "visibility": "public" + }, + { + "body": { + "id": 788, + "nodeType": "Block", + "src": "2495:58:2", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 782, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 779, + "src": "2516:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 783, + "name": "_msgSender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1182, + "src": "2522:10:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", + "typeString": "function () view returns (address)" + } + }, + "id": 784, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2522:12:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 781, + "name": "_checkRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 873, + "src": "2505:10:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address) view" + } + }, + "id": 785, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2505:30:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 786, + "nodeType": "ExpressionStatement", + "src": "2505:30:2" + }, + { + "id": 787, + "nodeType": "PlaceholderStatement", + "src": "2545:1:2" + } + ] + }, + "documentation": { + "id": 777, + "nodeType": "StructuredDocumentation", + "src": "2083:375:2", + "text": " @dev Modifier that checks that an account has a specific role. Reverts\n with a standardized message including the required role.\n The format of the revert reason is given by the following regular expression:\n /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/\n _Available since v4.1._" + }, + "id": 789, + "name": "onlyRole", + "nameLocation": "2472:8:2", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 780, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 779, + "mutability": "mutable", + "name": "role", + "nameLocation": "2489:4:2", + "nodeType": "VariableDeclaration", + "scope": 789, + "src": "2481:12:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 778, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2481:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "2480:14:2" + }, + "src": "2463:90:2", + "virtual": false, + "visibility": "internal" + }, + { + "baseFunctions": [ + 1418 + ], + "body": { + "id": 810, + "nodeType": "Block", + "src": "2711:111:2", + "statements": [ + { + "expression": { + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 808, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + "id": 803, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 798, + "name": "interfaceId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 792, + "src": "2728:11:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "expression": { + "arguments": [ + { + "id": 800, + "name": "IAccessControl", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1130, + "src": "2748:14:2", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_IAccessControl_$1130_$", + "typeString": "type(contract IAccessControl)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_type$_t_contract$_IAccessControl_$1130_$", + "typeString": "type(contract IAccessControl)" + } + ], + "id": 799, + "name": "type", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967269, + "src": "2743:4:2", + "typeDescriptions": { + "typeIdentifier": "t_function_metatype_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 801, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2743:20:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_magic_meta_type_t_contract$_IAccessControl_$1130", + "typeString": "type(contract IAccessControl)" + } + }, + "id": 802, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "interfaceId", + "nodeType": "MemberAccess", + "src": "2743:32:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "src": "2728:47:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "BinaryOperation", + "operator": "||", + "rightExpression": { + "arguments": [ + { + "id": 806, + "name": "interfaceId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 792, + "src": "2803:11:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + ], + "expression": { + "id": 804, + "name": "super", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967271, + "src": "2779:5:2", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_super$_AccessControl_$1057_$", + "typeString": "type(contract super AccessControl)" + } + }, + "id": 805, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "supportsInterface", + "nodeType": "MemberAccess", + "referencedDeclaration": 1418, + "src": "2779:23:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes4_$returns$_t_bool_$", + "typeString": "function (bytes4) view returns (bool)" + } + }, + "id": 807, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2779:36:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "src": "2728:87:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "functionReturnParameters": 797, + "id": 809, + "nodeType": "Return", + "src": "2721:94:2" + } + ] + }, + "documentation": { + "id": 790, + "nodeType": "StructuredDocumentation", + "src": "2559:56:2", + "text": " @dev See {IERC165-supportsInterface}." + }, + "functionSelector": "01ffc9a7", + "id": 811, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "supportsInterface", + "nameLocation": "2629:17:2", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 794, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "2687:8:2" + }, + "parameters": { + "id": 793, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 792, + "mutability": "mutable", + "name": "interfaceId", + "nameLocation": "2654:11:2", + "nodeType": "VariableDeclaration", + "scope": 811, + "src": "2647:18:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + "typeName": { + "id": 791, + "name": "bytes4", + "nodeType": "ElementaryTypeName", + "src": "2647:6:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "visibility": "internal" + } + ], + "src": "2646:20:2" + }, + "returnParameters": { + "id": 797, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 796, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 811, + "src": "2705:4:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 795, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2705:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "2704:6:2" + }, + "scope": 1057, + "src": "2620:202:2", + "stateMutability": "view", + "virtual": true, + "visibility": "public" + }, + { + "baseFunctions": [ + 1097 + ], + "body": { + "id": 829, + "nodeType": "Block", + "src": "3001:53:2", + "statements": [ + { + "expression": { + "baseExpression": { + "expression": { + "baseExpression": { + "id": 822, + "name": "_roles", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 773, + "src": "3018:6:2", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$768_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" + } + }, + "id": 824, + "indexExpression": { + "id": 823, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 814, + "src": "3025:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3018:12:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_RoleData_$768_storage", + "typeString": "struct AccessControl.RoleData storage ref" + } + }, + "id": 825, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "members", + "nodeType": "MemberAccess", + "referencedDeclaration": 765, + "src": "3018:20:2", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 827, + "indexExpression": { + "id": 826, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 816, + "src": "3039:7:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3018:29:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "functionReturnParameters": 821, + "id": 828, + "nodeType": "Return", + "src": "3011:36:2" + } + ] + }, + "documentation": { + "id": 812, + "nodeType": "StructuredDocumentation", + "src": "2828:76:2", + "text": " @dev Returns `true` if `account` has been granted `role`." + }, + "functionSelector": "91d14854", + "id": 830, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "hasRole", + "nameLocation": "2918:7:2", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 818, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "2977:8:2" + }, + "parameters": { + "id": 817, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 814, + "mutability": "mutable", + "name": "role", + "nameLocation": "2934:4:2", + "nodeType": "VariableDeclaration", + "scope": 830, + "src": "2926:12:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 813, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2926:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 816, + "mutability": "mutable", + "name": "account", + "nameLocation": "2948:7:2", + "nodeType": "VariableDeclaration", + "scope": 830, + "src": "2940:15:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 815, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2940:7:2", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2925:31:2" + }, + "returnParameters": { + "id": 821, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 820, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 830, + "src": "2995:4:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 819, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2995:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "2994:6:2" + }, + "scope": 1057, + "src": "2909:145:2", + "stateMutability": "view", + "virtual": true, + "visibility": "public" + }, + { + "body": { + "id": 872, + "nodeType": "Block", + "src": "3408:419:2", + "statements": [ + { + "condition": { + "id": 842, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "3422:23:2", + "subExpression": { + "arguments": [ + { + "id": 839, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 833, + "src": "3431:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 840, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 835, + "src": "3437:7:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 838, + "name": "hasRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 830, + "src": "3423:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$", + "typeString": "function (bytes32,address) view returns (bool)" + } + }, + "id": 841, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3423:22:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 871, + "nodeType": "IfStatement", + "src": "3418:403:2", + "trueBody": { + "id": 870, + "nodeType": "Block", + "src": "3447:374:2", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "416363657373436f6e74726f6c3a206163636f756e7420", + "id": 848, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3555:25:2", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874", + "typeString": "literal_string \"AccessControl: account \"" + }, + "value": "AccessControl: account " + }, + { + "arguments": [ + { + "arguments": [ + { + "id": 853, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 835, + "src": "3634:7:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 852, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3626:7:2", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint160_$", + "typeString": "type(uint160)" + }, + "typeName": { + "id": 851, + "name": "uint160", + "nodeType": "ElementaryTypeName", + "src": "3626:7:2", + "typeDescriptions": {} + } + }, + "id": 854, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3626:16:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint160", + "typeString": "uint160" + } + }, + { + "hexValue": "3230", + "id": 855, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3644:2:2", + "typeDescriptions": { + "typeIdentifier": "t_rational_20_by_1", + "typeString": "int_const 20" + }, + "value": "20" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint160", + "typeString": "uint160" + }, + { + "typeIdentifier": "t_rational_20_by_1", + "typeString": "int_const 20" + } + ], + "expression": { + "id": 849, + "name": "Strings", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1395, + "src": "3606:7:2", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Strings_$1395_$", + "typeString": "type(library Strings)" + } + }, + "id": 850, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "toHexString", + "nodeType": "MemberAccess", + "referencedDeclaration": 1394, + "src": "3606:19:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_string_memory_ptr_$", + "typeString": "function (uint256,uint256) pure returns (string memory)" + } + }, + "id": 856, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3606:41:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + { + "hexValue": "206973206d697373696e6720726f6c6520", + "id": 857, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3673:19:2", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69", + "typeString": "literal_string \" is missing role \"" + }, + "value": " is missing role " + }, + { + "arguments": [ + { + "arguments": [ + { + "id": 862, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 833, + "src": "3746:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "id": 861, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3738:7:2", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint256_$", + "typeString": "type(uint256)" + }, + "typeName": { + "id": 860, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3738:7:2", + "typeDescriptions": {} + } + }, + "id": 863, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3738:13:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "hexValue": "3332", + "id": 864, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3753:2:2", + "typeDescriptions": { + "typeIdentifier": "t_rational_32_by_1", + "typeString": "int_const 32" + }, + "value": "32" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_rational_32_by_1", + "typeString": "int_const 32" + } + ], + "expression": { + "id": 858, + "name": "Strings", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1395, + "src": "3718:7:2", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Strings_$1395_$", + "typeString": "type(library Strings)" + } + }, + "id": 859, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "toHexString", + "nodeType": "MemberAccess", + "referencedDeclaration": 1394, + "src": "3718:19:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_string_memory_ptr_$", + "typeString": "function (uint256,uint256) pure returns (string memory)" + } + }, + "id": 865, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3718:38:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874", + "typeString": "literal_string \"AccessControl: account \"" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + }, + { + "typeIdentifier": "t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69", + "typeString": "literal_string \" is missing role \"" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 846, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3513:3:2", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 847, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3513:16:2", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 866, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3513:265:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 845, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3485:6:2", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_string_storage_ptr_$", + "typeString": "type(string storage pointer)" + }, + "typeName": { + "id": 844, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "3485:6:2", + "typeDescriptions": {} + } + }, + "id": 867, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3485:311:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "id": 843, + "name": "revert", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967277, + 4294967277 + ], + "referencedDeclaration": 4294967277, + "src": "3461:6:2", + "typeDescriptions": { + "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", + "typeString": "function (string memory) pure" + } + }, + "id": 868, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3461:349:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 869, + "nodeType": "ExpressionStatement", + "src": "3461:349:2" + } + ] + } + } + ] + }, + "documentation": { + "id": 831, + "nodeType": "StructuredDocumentation", + "src": "3060:270:2", + "text": " @dev Revert with a standard message if `account` is missing `role`.\n The format of the revert reason is given by the following regular expression:\n /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/" + }, + "id": 873, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_checkRole", + "nameLocation": "3344:10:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 836, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 833, + "mutability": "mutable", + "name": "role", + "nameLocation": "3363:4:2", + "nodeType": "VariableDeclaration", + "scope": 873, + "src": "3355:12:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 832, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3355:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 835, + "mutability": "mutable", + "name": "account", + "nameLocation": "3377:7:2", + "nodeType": "VariableDeclaration", + "scope": 873, + "src": "3369:15:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 834, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3369:7:2", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "3354:31:2" + }, + "returnParameters": { + "id": 837, + "nodeType": "ParameterList", + "parameters": [], + "src": "3408:0:2" + }, + "scope": 1057, + "src": "3335:492:2", + "stateMutability": "view", + "virtual": true, + "visibility": "internal" + }, + { + "baseFunctions": [ + 1105 + ], + "body": { + "id": 887, + "nodeType": "Block", + "src": "4091:46:2", + "statements": [ + { + "expression": { + "expression": { + "baseExpression": { + "id": 882, + "name": "_roles", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 773, + "src": "4108:6:2", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$768_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" + } + }, + "id": 884, + "indexExpression": { + "id": 883, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 876, + "src": "4115:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4108:12:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_RoleData_$768_storage", + "typeString": "struct AccessControl.RoleData storage ref" + } + }, + "id": 885, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "adminRole", + "nodeType": "MemberAccess", + "referencedDeclaration": 767, + "src": "4108:22:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "functionReturnParameters": 881, + "id": 886, + "nodeType": "Return", + "src": "4101:29:2" + } + ] + }, + "documentation": { + "id": 874, + "nodeType": "StructuredDocumentation", + "src": "3833:170:2", + "text": " @dev Returns the admin role that controls `role`. See {grantRole} and\n {revokeRole}.\n To change a role's admin, use {_setRoleAdmin}." + }, + "functionSelector": "248a9ca3", + "id": 888, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getRoleAdmin", + "nameLocation": "4017:12:2", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 878, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "4064:8:2" + }, + "parameters": { + "id": 877, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 876, + "mutability": "mutable", + "name": "role", + "nameLocation": "4038:4:2", + "nodeType": "VariableDeclaration", + "scope": 888, + "src": "4030:12:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 875, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4030:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "4029:14:2" + }, + "returnParameters": { + "id": 881, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 880, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 888, + "src": "4082:7:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 879, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4082:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "4081:9:2" + }, + "scope": 1057, + "src": "4008:129:2", + "stateMutability": "view", + "virtual": true, + "visibility": "public" + }, + { + "baseFunctions": [ + 1113 + ], + "body": { + "id": 907, + "nodeType": "Block", + "src": "4490:42:2", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 903, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 891, + "src": "4511:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 904, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 893, + "src": "4517:7:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 902, + "name": "_grantRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1025, + "src": "4500:10:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 905, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4500:25:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 906, + "nodeType": "ExpressionStatement", + "src": "4500:25:2" + } + ] + }, + "documentation": { + "id": 889, + "nodeType": "StructuredDocumentation", + "src": "4143:239:2", + "text": " @dev Grants `role` to `account`.\n If `account` had not been already granted `role`, emits a {RoleGranted}\n event.\n Requirements:\n - the caller must have ``role``'s admin role." + }, + "functionSelector": "2f2ff15d", + "id": 908, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "arguments": [ + { + "id": 898, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 891, + "src": "4483:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "id": 897, + "name": "getRoleAdmin", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 888, + "src": "4470:12:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_bytes32_$", + "typeString": "function (bytes32) view returns (bytes32)" + } + }, + "id": 899, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4470:18:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 900, + "kind": "modifierInvocation", + "modifierName": { + "id": 896, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 789, + "src": "4461:8:2" + }, + "nodeType": "ModifierInvocation", + "src": "4461:28:2" + } + ], + "name": "grantRole", + "nameLocation": "4396:9:2", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 895, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "4452:8:2" + }, + "parameters": { + "id": 894, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 891, + "mutability": "mutable", + "name": "role", + "nameLocation": "4414:4:2", + "nodeType": "VariableDeclaration", + "scope": 908, + "src": "4406:12:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 890, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4406:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 893, + "mutability": "mutable", + "name": "account", + "nameLocation": "4428:7:2", + "nodeType": "VariableDeclaration", + "scope": 908, + "src": "4420:15:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 892, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4420:7:2", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "4405:31:2" + }, + "returnParameters": { + "id": 901, + "nodeType": "ParameterList", + "parameters": [], + "src": "4490:0:2" + }, + "scope": 1057, + "src": "4387:145:2", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + }, + { + "baseFunctions": [ + 1121 + ], + "body": { + "id": 927, + "nodeType": "Block", + "src": "4870:43:2", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 923, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 911, + "src": "4892:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 924, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 913, + "src": "4898:7:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 922, + "name": "_revokeRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1056, + "src": "4880:11:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 925, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4880:26:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 926, + "nodeType": "ExpressionStatement", + "src": "4880:26:2" + } + ] + }, + "documentation": { + "id": 909, + "nodeType": "StructuredDocumentation", + "src": "4538:223:2", + "text": " @dev Revokes `role` from `account`.\n If `account` had been granted `role`, emits a {RoleRevoked} event.\n Requirements:\n - the caller must have ``role``'s admin role." + }, + "functionSelector": "d547741f", + "id": 928, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "arguments": [ + { + "id": 918, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 911, + "src": "4863:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "id": 917, + "name": "getRoleAdmin", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 888, + "src": "4850:12:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_bytes32_$", + "typeString": "function (bytes32) view returns (bytes32)" + } + }, + "id": 919, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4850:18:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 920, + "kind": "modifierInvocation", + "modifierName": { + "id": 916, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 789, + "src": "4841:8:2" + }, + "nodeType": "ModifierInvocation", + "src": "4841:28:2" + } + ], + "name": "revokeRole", + "nameLocation": "4775:10:2", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 915, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "4832:8:2" + }, + "parameters": { + "id": 914, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 911, + "mutability": "mutable", + "name": "role", + "nameLocation": "4794:4:2", + "nodeType": "VariableDeclaration", + "scope": 928, + "src": "4786:12:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 910, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4786:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 913, + "mutability": "mutable", + "name": "account", + "nameLocation": "4808:7:2", + "nodeType": "VariableDeclaration", + "scope": 928, + "src": "4800:15:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 912, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4800:7:2", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "4785:31:2" + }, + "returnParameters": { + "id": 921, + "nodeType": "ParameterList", + "parameters": [], + "src": "4870:0:2" + }, + "scope": 1057, + "src": "4766:147:2", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + }, + { + "baseFunctions": [ + 1129 + ], + "body": { + "id": 950, + "nodeType": "Block", + "src": "5481:137:2", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 941, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 938, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 933, + "src": "5499:7:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 939, + "name": "_msgSender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1182, + "src": "5510:10:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", + "typeString": "function () view returns (address)" + } + }, + "id": 940, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5510:12:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "5499:23:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66", + "id": 942, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5524:49:2", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b", + "typeString": "literal_string \"AccessControl: can only renounce roles for self\"" + }, + "value": "AccessControl: can only renounce roles for self" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b", + "typeString": "literal_string \"AccessControl: can only renounce roles for self\"" + } + ], + "id": 937, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "5491:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 943, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5491:83:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 944, + "nodeType": "ExpressionStatement", + "src": "5491:83:2" + }, + { + "expression": { + "arguments": [ + { + "id": 946, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 931, + "src": "5597:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 947, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 933, + "src": "5603:7:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 945, + "name": "_revokeRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1056, + "src": "5585:11:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 948, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5585:26:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 949, + "nodeType": "ExpressionStatement", + "src": "5585:26:2" + } + ] + }, + "documentation": { + "id": 929, + "nodeType": "StructuredDocumentation", + "src": "4919:480:2", + "text": " @dev Revokes `role` from the calling account.\n Roles are often managed via {grantRole} and {revokeRole}: this function's\n purpose is to provide a mechanism for accounts to lose their privileges\n if they are compromised (such as when a trusted device is misplaced).\n If the calling account had been revoked `role`, emits a {RoleRevoked}\n event.\n Requirements:\n - the caller must be `account`." + }, + "functionSelector": "36568abe", + "id": 951, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "renounceRole", + "nameLocation": "5413:12:2", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 935, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "5472:8:2" + }, + "parameters": { + "id": 934, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 931, + "mutability": "mutable", + "name": "role", + "nameLocation": "5434:4:2", + "nodeType": "VariableDeclaration", + "scope": 951, + "src": "5426:12:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 930, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "5426:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 933, + "mutability": "mutable", + "name": "account", + "nameLocation": "5448:7:2", + "nodeType": "VariableDeclaration", + "scope": 951, + "src": "5440:15:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 932, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5440:7:2", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "5425:31:2" + }, + "returnParameters": { + "id": 936, + "nodeType": "ParameterList", + "parameters": [], + "src": "5481:0:2" + }, + "scope": 1057, + "src": "5404:214:2", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + }, + { + "body": { + "id": 964, + "nodeType": "Block", + "src": "6325:42:2", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 960, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 954, + "src": "6346:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 961, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 956, + "src": "6352:7:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 959, + "name": "_grantRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1025, + "src": "6335:10:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 962, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6335:25:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 963, + "nodeType": "ExpressionStatement", + "src": "6335:25:2" + } + ] + }, + "documentation": { + "id": 952, + "nodeType": "StructuredDocumentation", + "src": "5624:628:2", + "text": " @dev Grants `role` to `account`.\n If `account` had not been already granted `role`, emits a {RoleGranted}\n event. Note that unlike {grantRole}, this function doesn't perform any\n checks on the calling account.\n [WARNING]\n ====\n This function should only be called from the constructor when setting\n up the initial roles for the system.\n Using this function in any other way is effectively circumventing the admin\n system imposed by {AccessControl}.\n ====\n NOTE: This function is deprecated in favor of {_grantRole}." + }, + "id": 965, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_setupRole", + "nameLocation": "6266:10:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 957, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 954, + "mutability": "mutable", + "name": "role", + "nameLocation": "6285:4:2", + "nodeType": "VariableDeclaration", + "scope": 965, + "src": "6277:12:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 953, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6277:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 956, + "mutability": "mutable", + "name": "account", + "nameLocation": "6299:7:2", + "nodeType": "VariableDeclaration", + "scope": 965, + "src": "6291:15:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 955, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6291:7:2", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "6276:31:2" + }, + "returnParameters": { + "id": 958, + "nodeType": "ParameterList", + "parameters": [], + "src": "6325:0:2" + }, + "scope": 1057, + "src": "6257:110:2", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + }, + { + "body": { + "id": 992, + "nodeType": "Block", + "src": "6565:174:2", + "statements": [ + { + "assignments": [ + 974 + ], + "declarations": [ + { + "constant": false, + "id": 974, + "mutability": "mutable", + "name": "previousAdminRole", + "nameLocation": "6583:17:2", + "nodeType": "VariableDeclaration", + "scope": 992, + "src": "6575:25:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 973, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6575:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 978, + "initialValue": { + "arguments": [ + { + "id": 976, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 968, + "src": "6616:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "id": 975, + "name": "getRoleAdmin", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 888, + "src": "6603:12:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_bytes32_$", + "typeString": "function (bytes32) view returns (bytes32)" + } + }, + "id": 977, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6603:18:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6575:46:2" + }, + { + "expression": { + "id": 984, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "expression": { + "baseExpression": { + "id": 979, + "name": "_roles", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 773, + "src": "6631:6:2", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$768_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" + } + }, + "id": 981, + "indexExpression": { + "id": 980, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 968, + "src": "6638:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6631:12:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_RoleData_$768_storage", + "typeString": "struct AccessControl.RoleData storage ref" + } + }, + "id": 982, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "adminRole", + "nodeType": "MemberAccess", + "referencedDeclaration": 767, + "src": "6631:22:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 983, + "name": "adminRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 970, + "src": "6656:9:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "src": "6631:34:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "id": 985, + "nodeType": "ExpressionStatement", + "src": "6631:34:2" + }, + { + "eventCall": { + "arguments": [ + { + "id": 987, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 968, + "src": "6697:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 988, + "name": "previousAdminRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 974, + "src": "6703:17:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 989, + "name": "adminRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 970, + "src": "6722:9:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "id": 986, + "name": "RoleAdminChanged", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1069, + "src": "6680:16:2", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_bytes32_$_t_bytes32_$returns$__$", + "typeString": "function (bytes32,bytes32,bytes32)" + } + }, + "id": 990, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6680:52:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 991, + "nodeType": "EmitStatement", + "src": "6675:57:2" + } + ] + }, + "documentation": { + "id": 966, + "nodeType": "StructuredDocumentation", + "src": "6373:114:2", + "text": " @dev Sets `adminRole` as ``role``'s admin role.\n Emits a {RoleAdminChanged} event." + }, + "id": 993, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_setRoleAdmin", + "nameLocation": "6501:13:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 971, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 968, + "mutability": "mutable", + "name": "role", + "nameLocation": "6523:4:2", + "nodeType": "VariableDeclaration", + "scope": 993, + "src": "6515:12:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 967, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6515:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 970, + "mutability": "mutable", + "name": "adminRole", + "nameLocation": "6537:9:2", + "nodeType": "VariableDeclaration", + "scope": 993, + "src": "6529:17:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 969, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6529:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "6514:33:2" + }, + "returnParameters": { + "id": 972, + "nodeType": "ParameterList", + "parameters": [], + "src": "6565:0:2" + }, + "scope": 1057, + "src": "6492:247:2", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + }, + { + "body": { + "id": 1024, + "nodeType": "Block", + "src": "6929:165:2", + "statements": [ + { + "condition": { + "id": 1005, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "6943:23:2", + "subExpression": { + "arguments": [ + { + "id": 1002, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 996, + "src": "6952:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1003, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 998, + "src": "6958:7:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1001, + "name": "hasRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 830, + "src": "6944:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$", + "typeString": "function (bytes32,address) view returns (bool)" + } + }, + "id": 1004, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6944:22:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1023, + "nodeType": "IfStatement", + "src": "6939:149:2", + "trueBody": { + "id": 1022, + "nodeType": "Block", + "src": "6968:120:2", + "statements": [ + { + "expression": { + "id": 1013, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "expression": { + "baseExpression": { + "id": 1006, + "name": "_roles", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 773, + "src": "6982:6:2", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$768_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" + } + }, + "id": 1008, + "indexExpression": { + "id": 1007, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 996, + "src": "6989:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6982:12:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_RoleData_$768_storage", + "typeString": "struct AccessControl.RoleData storage ref" + } + }, + "id": 1009, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "members", + "nodeType": "MemberAccess", + "referencedDeclaration": 765, + "src": "6982:20:2", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 1011, + "indexExpression": { + "id": 1010, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 998, + "src": "7003:7:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "6982:29:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "74727565", + "id": 1012, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7014:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "src": "6982:36:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1014, + "nodeType": "ExpressionStatement", + "src": "6982:36:2" + }, + { + "eventCall": { + "arguments": [ + { + "id": 1016, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 996, + "src": "7049:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1017, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 998, + "src": "7055:7:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 1018, + "name": "_msgSender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1182, + "src": "7064:10:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", + "typeString": "function () view returns (address)" + } + }, + "id": 1019, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7064:12:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1015, + "name": "RoleGranted", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1078, + "src": "7037:11:2", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_address_$returns$__$", + "typeString": "function (bytes32,address,address)" + } + }, + "id": 1020, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7037:40:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1021, + "nodeType": "EmitStatement", + "src": "7032:45:2" + } + ] + } + } + ] + }, + "documentation": { + "id": 994, + "nodeType": "StructuredDocumentation", + "src": "6745:111:2", + "text": " @dev Grants `role` to `account`.\n Internal function without access restriction." + }, + "id": 1025, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_grantRole", + "nameLocation": "6870:10:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 999, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 996, + "mutability": "mutable", + "name": "role", + "nameLocation": "6889:4:2", + "nodeType": "VariableDeclaration", + "scope": 1025, + "src": "6881:12:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 995, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6881:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 998, + "mutability": "mutable", + "name": "account", + "nameLocation": "6903:7:2", + "nodeType": "VariableDeclaration", + "scope": 1025, + "src": "6895:15:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 997, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6895:7:2", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "6880:31:2" + }, + "returnParameters": { + "id": 1000, + "nodeType": "ParameterList", + "parameters": [], + "src": "6929:0:2" + }, + "scope": 1057, + "src": "6861:233:2", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + }, + { + "body": { + "id": 1055, + "nodeType": "Block", + "src": "7288:165:2", + "statements": [ + { + "condition": { + "arguments": [ + { + "id": 1034, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1028, + "src": "7310:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1035, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1030, + "src": "7316:7:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1033, + "name": "hasRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 830, + "src": "7302:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$", + "typeString": "function (bytes32,address) view returns (bool)" + } + }, + "id": 1036, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7302:22:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1054, + "nodeType": "IfStatement", + "src": "7298:149:2", + "trueBody": { + "id": 1053, + "nodeType": "Block", + "src": "7326:121:2", + "statements": [ + { + "expression": { + "id": 1044, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "expression": { + "baseExpression": { + "id": 1037, + "name": "_roles", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 773, + "src": "7340:6:2", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$768_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" + } + }, + "id": 1039, + "indexExpression": { + "id": 1038, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1028, + "src": "7347:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7340:12:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_RoleData_$768_storage", + "typeString": "struct AccessControl.RoleData storage ref" + } + }, + "id": 1040, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "members", + "nodeType": "MemberAccess", + "referencedDeclaration": 765, + "src": "7340:20:2", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 1042, + "indexExpression": { + "id": 1041, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1030, + "src": "7361:7:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7340:29:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "66616c7365", + "id": 1043, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7372:5:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "src": "7340:37:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1045, + "nodeType": "ExpressionStatement", + "src": "7340:37:2" + }, + { + "eventCall": { + "arguments": [ + { + "id": 1047, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1028, + "src": "7408:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1048, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1030, + "src": "7414:7:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 1049, + "name": "_msgSender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1182, + "src": "7423:10:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", + "typeString": "function () view returns (address)" + } + }, + "id": 1050, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7423:12:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1046, + "name": "RoleRevoked", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1087, + "src": "7396:11:2", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_address_$returns$__$", + "typeString": "function (bytes32,address,address)" + } + }, + "id": 1051, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7396:40:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1052, + "nodeType": "EmitStatement", + "src": "7391:45:2" + } + ] + } + } + ] + }, + "documentation": { + "id": 1026, + "nodeType": "StructuredDocumentation", + "src": "7100:114:2", + "text": " @dev Revokes `role` from `account`.\n Internal function without access restriction." + }, + "id": 1056, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_revokeRole", + "nameLocation": "7228:11:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1031, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1028, + "mutability": "mutable", + "name": "role", + "nameLocation": "7248:4:2", + "nodeType": "VariableDeclaration", + "scope": 1056, + "src": "7240:12:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1027, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "7240:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1030, + "mutability": "mutable", + "name": "account", + "nameLocation": "7262:7:2", + "nodeType": "VariableDeclaration", + "scope": 1056, + "src": "7254:15:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1029, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "7254:7:2", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "7239:31:2" + }, + "returnParameters": { + "id": 1032, + "nodeType": "ParameterList", + "parameters": [], + "src": "7288:0:2" + }, + "scope": 1057, + "src": "7219:234:2", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "scope": 1058, + "src": "1806:5649:2", + "usedErrors": [] + } + ], + "src": "108:7348:2" + }, + "id": 2 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol", + "exportedSymbols": { + "IAccessControl": [ + 1130 + ] + }, + "id": 1131, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1059, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "94:23:3" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "IAccessControl", + "contractDependencies": [], + "contractKind": "interface", + "documentation": { + "id": 1060, + "nodeType": "StructuredDocumentation", + "src": "119:89:3", + "text": " @dev External interface of AccessControl declared to support ERC165 detection." + }, + "fullyImplemented": false, + "id": 1130, + "linearizedBaseContracts": [ + 1130 + ], + "name": "IAccessControl", + "nameLocation": "219:14:3", + "nodeType": "ContractDefinition", + "nodes": [ + { + "anonymous": false, + "documentation": { + "id": 1061, + "nodeType": "StructuredDocumentation", + "src": "240:292:3", + "text": " @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`\n `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite\n {RoleAdminChanged} not being emitted signaling this.\n _Available since v3.1._" + }, + "id": 1069, + "name": "RoleAdminChanged", + "nameLocation": "543:16:3", + "nodeType": "EventDefinition", + "parameters": { + "id": 1068, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1063, + "indexed": true, + "mutability": "mutable", + "name": "role", + "nameLocation": "576:4:3", + "nodeType": "VariableDeclaration", + "scope": 1069, + "src": "560:20:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1062, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "560:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1065, + "indexed": true, + "mutability": "mutable", + "name": "previousAdminRole", + "nameLocation": "598:17:3", + "nodeType": "VariableDeclaration", + "scope": 1069, + "src": "582:33:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1064, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "582:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1067, + "indexed": true, + "mutability": "mutable", + "name": "newAdminRole", + "nameLocation": "633:12:3", + "nodeType": "VariableDeclaration", + "scope": 1069, + "src": "617:28:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1066, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "617:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "559:87:3" + }, + "src": "537:110:3" + }, + { + "anonymous": false, + "documentation": { + "id": 1070, + "nodeType": "StructuredDocumentation", + "src": "653:212:3", + "text": " @dev Emitted when `account` is granted `role`.\n `sender` is the account that originated the contract call, an admin role\n bearer except when using {AccessControl-_setupRole}." + }, + "id": 1078, + "name": "RoleGranted", + "nameLocation": "876:11:3", + "nodeType": "EventDefinition", + "parameters": { + "id": 1077, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1072, + "indexed": true, + "mutability": "mutable", + "name": "role", + "nameLocation": "904:4:3", + "nodeType": "VariableDeclaration", + "scope": 1078, + "src": "888:20:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1071, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "888:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1074, + "indexed": true, + "mutability": "mutable", + "name": "account", + "nameLocation": "926:7:3", + "nodeType": "VariableDeclaration", + "scope": 1078, + "src": "910:23:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1073, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "910:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1076, + "indexed": true, + "mutability": "mutable", + "name": "sender", + "nameLocation": "951:6:3", + "nodeType": "VariableDeclaration", + "scope": 1078, + "src": "935:22:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1075, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "935:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "887:71:3" + }, + "src": "870:89:3" + }, + { + "anonymous": false, + "documentation": { + "id": 1079, + "nodeType": "StructuredDocumentation", + "src": "965:275:3", + "text": " @dev Emitted when `account` is revoked `role`.\n `sender` is the account that originated the contract call:\n - if using `revokeRole`, it is the admin role bearer\n - if using `renounceRole`, it is the role bearer (i.e. `account`)" + }, + "id": 1087, + "name": "RoleRevoked", + "nameLocation": "1251:11:3", + "nodeType": "EventDefinition", + "parameters": { + "id": 1086, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1081, + "indexed": true, + "mutability": "mutable", + "name": "role", + "nameLocation": "1279:4:3", + "nodeType": "VariableDeclaration", + "scope": 1087, + "src": "1263:20:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1080, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1263:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1083, + "indexed": true, + "mutability": "mutable", + "name": "account", + "nameLocation": "1301:7:3", + "nodeType": "VariableDeclaration", + "scope": 1087, + "src": "1285:23:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1082, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1285:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1085, + "indexed": true, + "mutability": "mutable", + "name": "sender", + "nameLocation": "1326:6:3", + "nodeType": "VariableDeclaration", + "scope": 1087, + "src": "1310:22:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1084, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1310:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "1262:71:3" + }, + "src": "1245:89:3" + }, + { + "documentation": { + "id": 1088, + "nodeType": "StructuredDocumentation", + "src": "1340:76:3", + "text": " @dev Returns `true` if `account` has been granted `role`." + }, + "functionSelector": "91d14854", + "id": 1097, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "hasRole", + "nameLocation": "1430:7:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1093, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1090, + "mutability": "mutable", + "name": "role", + "nameLocation": "1446:4:3", + "nodeType": "VariableDeclaration", + "scope": 1097, + "src": "1438:12:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1089, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1438:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1092, + "mutability": "mutable", + "name": "account", + "nameLocation": "1460:7:3", + "nodeType": "VariableDeclaration", + "scope": 1097, + "src": "1452:15:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1091, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1452:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "1437:31:3" + }, + "returnParameters": { + "id": 1096, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1095, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1097, + "src": "1492:4:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1094, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "1492:4:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "1491:6:3" + }, + "scope": 1130, + "src": "1421:77:3", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 1098, + "nodeType": "StructuredDocumentation", + "src": "1504:184:3", + "text": " @dev Returns the admin role that controls `role`. See {grantRole} and\n {revokeRole}.\n To change a role's admin, use {AccessControl-_setRoleAdmin}." + }, + "functionSelector": "248a9ca3", + "id": 1105, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getRoleAdmin", + "nameLocation": "1702:12:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1101, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1100, + "mutability": "mutable", + "name": "role", + "nameLocation": "1723:4:3", + "nodeType": "VariableDeclaration", + "scope": 1105, + "src": "1715:12:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1099, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1715:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "1714:14:3" + }, + "returnParameters": { + "id": 1104, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1103, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1105, + "src": "1752:7:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1102, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1752:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "1751:9:3" + }, + "scope": 1130, + "src": "1693:68:3", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 1106, + "nodeType": "StructuredDocumentation", + "src": "1767:239:3", + "text": " @dev Grants `role` to `account`.\n If `account` had not been already granted `role`, emits a {RoleGranted}\n event.\n Requirements:\n - the caller must have ``role``'s admin role." + }, + "functionSelector": "2f2ff15d", + "id": 1113, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "grantRole", + "nameLocation": "2020:9:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1111, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1108, + "mutability": "mutable", + "name": "role", + "nameLocation": "2038:4:3", + "nodeType": "VariableDeclaration", + "scope": 1113, + "src": "2030:12:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1107, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2030:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1110, + "mutability": "mutable", + "name": "account", + "nameLocation": "2052:7:3", + "nodeType": "VariableDeclaration", + "scope": 1113, + "src": "2044:15:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1109, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2044:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2029:31:3" + }, + "returnParameters": { + "id": 1112, + "nodeType": "ParameterList", + "parameters": [], + "src": "2069:0:3" + }, + "scope": 1130, + "src": "2011:59:3", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 1114, + "nodeType": "StructuredDocumentation", + "src": "2076:223:3", + "text": " @dev Revokes `role` from `account`.\n If `account` had been granted `role`, emits a {RoleRevoked} event.\n Requirements:\n - the caller must have ``role``'s admin role." + }, + "functionSelector": "d547741f", + "id": 1121, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "revokeRole", + "nameLocation": "2313:10:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1119, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1116, + "mutability": "mutable", + "name": "role", + "nameLocation": "2332:4:3", + "nodeType": "VariableDeclaration", + "scope": 1121, + "src": "2324:12:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1115, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2324:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1118, + "mutability": "mutable", + "name": "account", + "nameLocation": "2346:7:3", + "nodeType": "VariableDeclaration", + "scope": 1121, + "src": "2338:15:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1117, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2338:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2323:31:3" + }, + "returnParameters": { + "id": 1120, + "nodeType": "ParameterList", + "parameters": [], + "src": "2363:0:3" + }, + "scope": 1130, + "src": "2304:60:3", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 1122, + "nodeType": "StructuredDocumentation", + "src": "2370:480:3", + "text": " @dev Revokes `role` from the calling account.\n Roles are often managed via {grantRole} and {revokeRole}: this function's\n purpose is to provide a mechanism for accounts to lose their privileges\n if they are compromised (such as when a trusted device is misplaced).\n If the calling account had been granted `role`, emits a {RoleRevoked}\n event.\n Requirements:\n - the caller must be `account`." + }, + "functionSelector": "36568abe", + "id": 1129, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "renounceRole", + "nameLocation": "2864:12:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1127, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1124, + "mutability": "mutable", + "name": "role", + "nameLocation": "2885:4:3", + "nodeType": "VariableDeclaration", + "scope": 1129, + "src": "2877:12:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1123, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2877:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1126, + "mutability": "mutable", + "name": "account", + "nameLocation": "2899:7:3", + "nodeType": "VariableDeclaration", + "scope": 1129, + "src": "2891:15:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1125, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2891:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2876:31:3" + }, + "returnParameters": { + "id": 1128, + "nodeType": "ParameterList", + "parameters": [], + "src": "2916:0:3" + }, + "scope": 1130, + "src": "2855:62:3", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + } + ], + "scope": 1131, + "src": "209:2710:3", + "usedErrors": [] + } + ], + "src": "94:2826:3" + }, + "id": 3 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol", + "exportedSymbols": { + "ReentrancyGuard": [ + 1170 + ] + }, + "id": 1171, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1132, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "97:23:4" + }, + { + "abstract": true, + "baseContracts": [], + "canonicalName": "ReentrancyGuard", + "contractDependencies": [], + "contractKind": "contract", + "documentation": { + "id": 1133, + "nodeType": "StructuredDocumentation", + "src": "122:750:4", + "text": " @dev Contract module that helps prevent reentrant calls to a function.\n Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\n available, which can be applied to functions to make sure there are no nested\n (reentrant) calls to them.\n Note that because there is a single `nonReentrant` guard, functions marked as\n `nonReentrant` may not call one another. This can be worked around by making\n those functions `private`, and then adding `external` `nonReentrant` entry\n points to them.\n TIP: If you would like to learn more about reentrancy and alternative ways\n to protect against it, check out our blog post\n https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]." + }, + "fullyImplemented": true, + "id": 1170, + "linearizedBaseContracts": [ + 1170 + ], + "name": "ReentrancyGuard", + "nameLocation": "891:15:4", + "nodeType": "ContractDefinition", + "nodes": [ + { + "constant": true, + "id": 1136, + "mutability": "constant", + "name": "_NOT_ENTERED", + "nameLocation": "1686:12:4", + "nodeType": "VariableDeclaration", + "scope": 1170, + "src": "1661:41:4", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1134, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1661:7:4", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": { + "hexValue": "31", + "id": 1135, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1701:1:4", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "visibility": "private" + }, + { + "constant": true, + "id": 1139, + "mutability": "constant", + "name": "_ENTERED", + "nameLocation": "1733:8:4", + "nodeType": "VariableDeclaration", + "scope": 1170, + "src": "1708:37:4", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1137, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1708:7:4", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": { + "hexValue": "32", + "id": 1138, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1744:1:4", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "visibility": "private" + }, + { + "constant": false, + "id": 1141, + "mutability": "mutable", + "name": "_status", + "nameLocation": "1768:7:4", + "nodeType": "VariableDeclaration", + "scope": 1170, + "src": "1752:23:4", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1140, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1752:7:4", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "private" + }, + { + "body": { + "id": 1148, + "nodeType": "Block", + "src": "1796:39:4", + "statements": [ + { + "expression": { + "id": 1146, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1144, + "name": "_status", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1141, + "src": "1806:7:4", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 1145, + "name": "_NOT_ENTERED", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1136, + "src": "1816:12:4", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1806:22:4", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1147, + "nodeType": "ExpressionStatement", + "src": "1806:22:4" + } + ] + }, + "id": 1149, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1142, + "nodeType": "ParameterList", + "parameters": [], + "src": "1793:2:4" + }, + "returnParameters": { + "id": 1143, + "nodeType": "ParameterList", + "parameters": [], + "src": "1796:0:4" + }, + "scope": 1170, + "src": "1782:53:4", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 1168, + "nodeType": "Block", + "src": "2236:421:4", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1155, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1153, + "name": "_status", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1141, + "src": "2325:7:4", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "id": 1154, + "name": "_ENTERED", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1139, + "src": "2336:8:4", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2325:19:4", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "5265656e7472616e637947756172643a207265656e7472616e742063616c6c", + "id": 1156, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2346:33:4", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_ebf73bba305590e4764d5cb53b69bffd6d4d092d1a67551cb346f8cfcdab8619", + "typeString": "literal_string \"ReentrancyGuard: reentrant call\"" + }, + "value": "ReentrancyGuard: reentrant call" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_ebf73bba305590e4764d5cb53b69bffd6d4d092d1a67551cb346f8cfcdab8619", + "typeString": "literal_string \"ReentrancyGuard: reentrant call\"" + } + ], + "id": 1152, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "2317:7:4", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 1157, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2317:63:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1158, + "nodeType": "ExpressionStatement", + "src": "2317:63:4" + }, + { + "expression": { + "id": 1161, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1159, + "name": "_status", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1141, + "src": "2455:7:4", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 1160, + "name": "_ENTERED", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1139, + "src": "2465:8:4", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2455:18:4", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1162, + "nodeType": "ExpressionStatement", + "src": "2455:18:4" + }, + { + "id": 1163, + "nodeType": "PlaceholderStatement", + "src": "2484:1:4" + }, + { + "expression": { + "id": 1166, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1164, + "name": "_status", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1141, + "src": "2628:7:4", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 1165, + "name": "_NOT_ENTERED", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1136, + "src": "2638:12:4", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2628:22:4", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1167, + "nodeType": "ExpressionStatement", + "src": "2628:22:4" + } + ] + }, + "documentation": { + "id": 1150, + "nodeType": "StructuredDocumentation", + "src": "1841:366:4", + "text": " @dev Prevents a contract from calling itself, directly or indirectly.\n Calling a `nonReentrant` function from another `nonReentrant`\n function is not supported. It is possible to prevent this from happening\n by making the `nonReentrant` function external, and making it call a\n `private` function that does the actual work." + }, + "id": 1169, + "name": "nonReentrant", + "nameLocation": "2221:12:4", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 1151, + "nodeType": "ParameterList", + "parameters": [], + "src": "2233:2:4" + }, + "src": "2212:445:4", + "virtual": false, + "visibility": "internal" + } + ], + "scope": 1171, + "src": "873:1786:4", + "usedErrors": [] + } + ], + "src": "97:2563:4" + }, + "id": 4 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol", + "exportedSymbols": { + "Context": [ + 1192 + ] + }, + "id": 1193, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1172, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "86:23:5" + }, + { + "abstract": true, + "baseContracts": [], + "canonicalName": "Context", + "contractDependencies": [], + "contractKind": "contract", + "documentation": { + "id": 1173, + "nodeType": "StructuredDocumentation", + "src": "111:496:5", + "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, + "id": 1192, + "linearizedBaseContracts": [ + 1192 + ], + "name": "Context", + "nameLocation": "626:7:5", + "nodeType": "ContractDefinition", + "nodes": [ + { + "body": { + "id": 1181, + "nodeType": "Block", + "src": "702:34:5", + "statements": [ + { + "expression": { + "expression": { + "id": 1178, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "719:3:5", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1179, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "719:10:5", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "functionReturnParameters": 1177, + "id": 1180, + "nodeType": "Return", + "src": "712:17:5" + } + ] + }, + "id": 1182, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_msgSender", + "nameLocation": "649:10:5", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1174, + "nodeType": "ParameterList", + "parameters": [], + "src": "659:2:5" + }, + "returnParameters": { + "id": 1177, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1176, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1182, + "src": "693:7:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1175, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "693:7:5", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "692:9:5" + }, + "scope": 1192, + "src": "640:96:5", + "stateMutability": "view", + "virtual": true, + "visibility": "internal" + }, + { + "body": { + "id": 1190, + "nodeType": "Block", + "src": "809:32:5", + "statements": [ + { + "expression": { + "expression": { + "id": 1187, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "826:3:5", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1188, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "data", + "nodeType": "MemberAccess", + "src": "826:8:5", + "typeDescriptions": { + "typeIdentifier": "t_bytes_calldata_ptr", + "typeString": "bytes calldata" + } + }, + "functionReturnParameters": 1186, + "id": 1189, + "nodeType": "Return", + "src": "819:15:5" + } + ] + }, + "id": 1191, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_msgData", + "nameLocation": "751:8:5", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1183, + "nodeType": "ParameterList", + "parameters": [], + "src": "759:2:5" + }, + "returnParameters": { + "id": 1186, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1185, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1191, + "src": "793:14:5", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_bytes_calldata_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 1184, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "793:5:5", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "792:16:5" + }, + "scope": 1192, + "src": "742:99:5", + "stateMutability": "view", + "virtual": true, + "visibility": "internal" + } + ], + "scope": 1193, + "src": "608:235:5", + "usedErrors": [] + } + ], + "src": "86:758:5" + }, + "id": 5 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol", + "exportedSymbols": { + "Strings": [ + 1395 + ] + }, + "id": 1396, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1194, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "86:23:6" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "Strings", + "contractDependencies": [], + "contractKind": "library", + "documentation": { + "id": 1195, + "nodeType": "StructuredDocumentation", + "src": "111:34:6", + "text": " @dev String operations." + }, + "fullyImplemented": true, + "id": 1395, + "linearizedBaseContracts": [ + 1395 + ], + "name": "Strings", + "nameLocation": "154:7:6", + "nodeType": "ContractDefinition", + "nodes": [ + { + "constant": true, + "id": 1198, + "mutability": "constant", + "name": "_HEX_SYMBOLS", + "nameLocation": "193:12:6", + "nodeType": "VariableDeclaration", + "scope": 1395, + "src": "168:58:6", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + }, + "typeName": { + "id": 1196, + "name": "bytes16", + "nodeType": "ElementaryTypeName", + "src": "168:7:6", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + } + }, + "value": { + "hexValue": "30313233343536373839616263646566", + "id": 1197, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "208:18:6", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_cb29997ed99ead0db59ce4d12b7d3723198c827273e5796737c926d78019c39f", + "typeString": "literal_string \"0123456789abcdef\"" + }, + "value": "0123456789abcdef" + }, + "visibility": "private" + }, + { + "body": { + "id": 1276, + "nodeType": "Block", + "src": "399:632:6", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1208, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1206, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1201, + "src": "601:5:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 1207, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "610:1:6", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "601:10:6", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1212, + "nodeType": "IfStatement", + "src": "597:51:6", + "trueBody": { + "id": 1211, + "nodeType": "Block", + "src": "613:35:6", + "statements": [ + { + "expression": { + "hexValue": "30", + "id": 1209, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "634:3:6", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "typeString": "literal_string \"0\"" + }, + "value": "0" + }, + "functionReturnParameters": 1205, + "id": 1210, + "nodeType": "Return", + "src": "627:10:6" + } + ] + } + }, + { + "assignments": [ + 1214 + ], + "declarations": [ + { + "constant": false, + "id": 1214, + "mutability": "mutable", + "name": "temp", + "nameLocation": "665:4:6", + "nodeType": "VariableDeclaration", + "scope": 1276, + "src": "657:12:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1213, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "657:7:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1216, + "initialValue": { + "id": 1215, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1201, + "src": "672:5:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "657:20:6" + }, + { + "assignments": [ + 1218 + ], + "declarations": [ + { + "constant": false, + "id": 1218, + "mutability": "mutable", + "name": "digits", + "nameLocation": "695:6:6", + "nodeType": "VariableDeclaration", + "scope": 1276, + "src": "687:14:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1217, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "687:7:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1219, + "nodeType": "VariableDeclarationStatement", + "src": "687:14:6" + }, + { + "body": { + "id": 1230, + "nodeType": "Block", + "src": "729:57:6", + "statements": [ + { + "expression": { + "id": 1224, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "743:8:6", + "subExpression": { + "id": 1223, + "name": "digits", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1218, + "src": "743:6:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1225, + "nodeType": "ExpressionStatement", + "src": "743:8:6" + }, + { + "expression": { + "id": 1228, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1226, + "name": "temp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1214, + "src": "765:4:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "/=", + "rightHandSide": { + "hexValue": "3130", + "id": 1227, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "773:2:6", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "value": "10" + }, + "src": "765:10:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1229, + "nodeType": "ExpressionStatement", + "src": "765:10:6" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1222, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1220, + "name": "temp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1214, + "src": "718:4:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "hexValue": "30", + "id": 1221, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "726:1:6", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "718:9:6", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1231, + "nodeType": "WhileStatement", + "src": "711:75:6" + }, + { + "assignments": [ + 1233 + ], + "declarations": [ + { + "constant": false, + "id": 1233, + "mutability": "mutable", + "name": "buffer", + "nameLocation": "808:6:6", + "nodeType": "VariableDeclaration", + "scope": 1276, + "src": "795:19:6", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 1232, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "795:5:6", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 1238, + "initialValue": { + "arguments": [ + { + "id": 1236, + "name": "digits", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1218, + "src": "827:6:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1235, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "817:9:6", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (uint256) pure returns (bytes memory)" + }, + "typeName": { + "id": 1234, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "821:5:6", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + } + }, + "id": 1237, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "817:17:6", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "795:39:6" + }, + { + "body": { + "id": 1269, + "nodeType": "Block", + "src": "863:131:6", + "statements": [ + { + "expression": { + "id": 1244, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1242, + "name": "digits", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1218, + "src": "877:6:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "-=", + "rightHandSide": { + "hexValue": "31", + "id": 1243, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "887:1:6", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "877:11:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1245, + "nodeType": "ExpressionStatement", + "src": "877:11:6" + }, + { + "expression": { + "id": 1263, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 1246, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1233, + "src": "902:6:6", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 1248, + "indexExpression": { + "id": 1247, + "name": "digits", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1218, + "src": "909:6:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "902:14:6", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1260, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "3438", + "id": 1253, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "932:2:6", + "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": 1258, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1256, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1201, + "src": "945:5:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "%", + "rightExpression": { + "hexValue": "3130", + "id": 1257, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "953:2:6", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "value": "10" + }, + "src": "945:10:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1255, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "937:7:6", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint256_$", + "typeString": "type(uint256)" + }, + "typeName": { + "id": 1254, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "937:7:6", + "typeDescriptions": {} + } + }, + "id": 1259, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "937:19:6", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "932:24:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1252, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "926:5:6", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint8_$", + "typeString": "type(uint8)" + }, + "typeName": { + "id": 1251, + "name": "uint8", + "nodeType": "ElementaryTypeName", + "src": "926:5:6", + "typeDescriptions": {} + } + }, + "id": 1261, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "926:31:6", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + ], + "id": 1250, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "919:6:6", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes1_$", + "typeString": "type(bytes1)" + }, + "typeName": { + "id": 1249, + "name": "bytes1", + "nodeType": "ElementaryTypeName", + "src": "919:6:6", + "typeDescriptions": {} + } + }, + "id": 1262, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "919:39:6", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "src": "902:56:6", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "id": 1264, + "nodeType": "ExpressionStatement", + "src": "902:56:6" + }, + { + "expression": { + "id": 1267, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1265, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1201, + "src": "972:5:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "/=", + "rightHandSide": { + "hexValue": "3130", + "id": 1266, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "981:2:6", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "value": "10" + }, + "src": "972:11:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1268, + "nodeType": "ExpressionStatement", + "src": "972:11:6" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1241, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1239, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1201, + "src": "851:5:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "hexValue": "30", + "id": 1240, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "860:1:6", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "851:10:6", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1270, + "nodeType": "WhileStatement", + "src": "844:150:6" + }, + { + "expression": { + "arguments": [ + { + "id": 1273, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1233, + "src": "1017:6:6", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1272, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1010:6:6", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_string_storage_ptr_$", + "typeString": "type(string storage pointer)" + }, + "typeName": { + "id": 1271, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1010:6:6", + "typeDescriptions": {} + } + }, + "id": 1274, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1010:14:6", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "functionReturnParameters": 1205, + "id": 1275, + "nodeType": "Return", + "src": "1003:21:6" + } + ] + }, + "documentation": { + "id": 1199, + "nodeType": "StructuredDocumentation", + "src": "233:90:6", + "text": " @dev Converts a `uint256` to its ASCII `string` decimal representation." + }, + "id": 1277, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "toString", + "nameLocation": "337:8:6", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1202, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1201, + "mutability": "mutable", + "name": "value", + "nameLocation": "354:5:6", + "nodeType": "VariableDeclaration", + "scope": 1277, + "src": "346:13:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1200, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "346:7:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "345:15:6" + }, + "returnParameters": { + "id": 1205, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1204, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1277, + "src": "384:13:6", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 1203, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "384:6:6", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "383:15:6" + }, + "scope": 1395, + "src": "328:703:6", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 1317, + "nodeType": "Block", + "src": "1210:255:6", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1287, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1285, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1280, + "src": "1224:5:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 1286, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1233:1:6", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "1224:10:6", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1291, + "nodeType": "IfStatement", + "src": "1220:54:6", + "trueBody": { + "id": 1290, + "nodeType": "Block", + "src": "1236:38:6", + "statements": [ + { + "expression": { + "hexValue": "30783030", + "id": 1288, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1257:6:6", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_27489e20a0060b723a1748bdff5e44570ee9fae64141728105692eac6031e8a4", + "typeString": "literal_string \"0x00\"" + }, + "value": "0x00" + }, + "functionReturnParameters": 1284, + "id": 1289, + "nodeType": "Return", + "src": "1250:13:6" + } + ] + } + }, + { + "assignments": [ + 1293 + ], + "declarations": [ + { + "constant": false, + "id": 1293, + "mutability": "mutable", + "name": "temp", + "nameLocation": "1291:4:6", + "nodeType": "VariableDeclaration", + "scope": 1317, + "src": "1283:12:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1292, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1283:7:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1295, + "initialValue": { + "id": 1294, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1280, + "src": "1298:5:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1283:20:6" + }, + { + "assignments": [ + 1297 + ], + "declarations": [ + { + "constant": false, + "id": 1297, + "mutability": "mutable", + "name": "length", + "nameLocation": "1321:6:6", + "nodeType": "VariableDeclaration", + "scope": 1317, + "src": "1313:14:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1296, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1313:7:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1299, + "initialValue": { + "hexValue": "30", + "id": 1298, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1330:1:6", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "1313:18:6" + }, + { + "body": { + "id": 1310, + "nodeType": "Block", + "src": "1359:57:6", + "statements": [ + { + "expression": { + "id": 1304, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "1373:8:6", + "subExpression": { + "id": 1303, + "name": "length", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1297, + "src": "1373:6:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1305, + "nodeType": "ExpressionStatement", + "src": "1373:8:6" + }, + { + "expression": { + "id": 1308, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1306, + "name": "temp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1293, + "src": "1395:4:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": ">>=", + "rightHandSide": { + "hexValue": "38", + "id": 1307, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1404:1:6", + "typeDescriptions": { + "typeIdentifier": "t_rational_8_by_1", + "typeString": "int_const 8" + }, + "value": "8" + }, + "src": "1395:10:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1309, + "nodeType": "ExpressionStatement", + "src": "1395:10:6" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1302, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1300, + "name": "temp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1293, + "src": "1348:4:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "hexValue": "30", + "id": 1301, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1356:1:6", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "1348:9:6", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1311, + "nodeType": "WhileStatement", + "src": "1341:75:6" + }, + { + "expression": { + "arguments": [ + { + "id": 1313, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1280, + "src": "1444:5:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "id": 1314, + "name": "length", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1297, + "src": "1451:6:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1312, + "name": "toHexString", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 1318, + 1394 + ], + "referencedDeclaration": 1394, + "src": "1432:11:6", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_string_memory_ptr_$", + "typeString": "function (uint256,uint256) pure returns (string memory)" + } + }, + "id": 1315, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1432:26:6", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "functionReturnParameters": 1284, + "id": 1316, + "nodeType": "Return", + "src": "1425:33:6" + } + ] + }, + "documentation": { + "id": 1278, + "nodeType": "StructuredDocumentation", + "src": "1037:94:6", + "text": " @dev Converts a `uint256` to its ASCII `string` hexadecimal representation." + }, + "id": 1318, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "toHexString", + "nameLocation": "1145:11:6", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1281, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1280, + "mutability": "mutable", + "name": "value", + "nameLocation": "1165:5:6", + "nodeType": "VariableDeclaration", + "scope": 1318, + "src": "1157:13:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1279, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1157:7:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1156:15:6" + }, + "returnParameters": { + "id": 1284, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1283, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1318, + "src": "1195:13:6", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 1282, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1195:6:6", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "1194:15:6" + }, + "scope": 1395, + "src": "1136:329:6", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 1393, + "nodeType": "Block", + "src": "1678:351:6", + "statements": [ + { + "assignments": [ + 1329 + ], + "declarations": [ + { + "constant": false, + "id": 1329, + "mutability": "mutable", + "name": "buffer", + "nameLocation": "1701:6:6", + "nodeType": "VariableDeclaration", + "scope": 1393, + "src": "1688:19:6", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 1328, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1688:5:6", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 1338, + "initialValue": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1336, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1334, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "32", + "id": 1332, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1720:1:6", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 1333, + "name": "length", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1323, + "src": "1724:6:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1720:10:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "32", + "id": 1335, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1733:1:6", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "src": "1720:14:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1331, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "1710:9:6", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (uint256) pure returns (bytes memory)" + }, + "typeName": { + "id": 1330, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1714:5:6", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + } + }, + "id": 1337, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1710:25:6", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1688:47:6" + }, + { + "expression": { + "id": 1343, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 1339, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1329, + "src": "1745:6:6", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 1341, + "indexExpression": { + "hexValue": "30", + "id": 1340, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1752:1:6", + "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:6", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "30", + "id": 1342, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1757:3:6", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "typeString": "literal_string \"0\"" + }, + "value": "0" + }, + "src": "1745:15:6", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "id": 1344, + "nodeType": "ExpressionStatement", + "src": "1745:15:6" + }, + { + "expression": { + "id": 1349, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 1345, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1329, + "src": "1770:6:6", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 1347, + "indexExpression": { + "hexValue": "31", + "id": 1346, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1777:1:6", + "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:6", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "78", + "id": 1348, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1782:3:6", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7521d1cadbcfa91eec65aa16715b94ffc1c9654ba57ea2ef1a2127bca1127a83", + "typeString": "literal_string \"x\"" + }, + "value": "x" + }, + "src": "1770:15:6", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "id": 1350, + "nodeType": "ExpressionStatement", + "src": "1770:15:6" + }, + { + "body": { + "id": 1379, + "nodeType": "Block", + "src": "1840:87:6", + "statements": [ + { + "expression": { + "id": 1373, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 1365, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1329, + "src": "1854:6:6", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 1367, + "indexExpression": { + "id": 1366, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1352, + "src": "1861:1:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "1854:9:6", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "baseExpression": { + "id": 1368, + "name": "_HEX_SYMBOLS", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1198, + "src": "1866:12:6", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + } + }, + "id": 1372, + "indexExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1371, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1369, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1321, + "src": "1879:5:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "&", + "rightExpression": { + "hexValue": "307866", + "id": 1370, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1887:3:6", + "typeDescriptions": { + "typeIdentifier": "t_rational_15_by_1", + "typeString": "int_const 15" + }, + "value": "0xf" + }, + "src": "1879:11:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1866:25:6", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "src": "1854:37:6", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "id": 1374, + "nodeType": "ExpressionStatement", + "src": "1854:37:6" + }, + { + "expression": { + "id": 1377, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1375, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1321, + "src": "1905:5:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": ">>=", + "rightHandSide": { + "hexValue": "34", + "id": 1376, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1915:1:6", + "typeDescriptions": { + "typeIdentifier": "t_rational_4_by_1", + "typeString": "int_const 4" + }, + "value": "4" + }, + "src": "1905:11:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1378, + "nodeType": "ExpressionStatement", + "src": "1905:11:6" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1361, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1359, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1352, + "src": "1828:1:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "hexValue": "31", + "id": 1360, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1832:1:6", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "1828:5:6", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1380, + "initializationExpression": { + "assignments": [ + 1352 + ], + "declarations": [ + { + "constant": false, + "id": 1352, + "mutability": "mutable", + "name": "i", + "nameLocation": "1808:1:6", + "nodeType": "VariableDeclaration", + "scope": 1380, + "src": "1800:9:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1351, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1800:7:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1358, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1357, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1355, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "32", + "id": 1353, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1812:1:6", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 1354, + "name": "length", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1323, + "src": "1816:6:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1812:10:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "31", + "id": 1356, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1825:1:6", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "1812:14:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1800:26:6" + }, + "loopExpression": { + "expression": { + "id": 1363, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "--", + "prefix": true, + "src": "1835:3:6", + "subExpression": { + "id": 1362, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1352, + "src": "1837:1:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1364, + "nodeType": "ExpressionStatement", + "src": "1835:3:6" + }, + "nodeType": "ForStatement", + "src": "1795:132:6" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1384, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1382, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1321, + "src": "1944:5:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 1383, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1953:1:6", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "1944:10:6", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "537472696e67733a20686578206c656e67746820696e73756666696369656e74", + "id": 1385, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1956:34:6", + "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": 1381, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "1936:7:6", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 1386, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1936:55:6", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1387, + "nodeType": "ExpressionStatement", + "src": "1936:55:6" + }, + { + "expression": { + "arguments": [ + { + "id": 1390, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1329, + "src": "2015:6:6", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1389, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2008:6:6", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_string_storage_ptr_$", + "typeString": "type(string storage pointer)" + }, + "typeName": { + "id": 1388, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "2008:6:6", + "typeDescriptions": {} + } + }, + "id": 1391, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2008:14:6", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "functionReturnParameters": 1327, + "id": 1392, + "nodeType": "Return", + "src": "2001:21:6" + } + ] + }, + "documentation": { + "id": 1319, + "nodeType": "StructuredDocumentation", + "src": "1471:112:6", + "text": " @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length." + }, + "id": 1394, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "toHexString", + "nameLocation": "1597:11:6", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1324, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1321, + "mutability": "mutable", + "name": "value", + "nameLocation": "1617:5:6", + "nodeType": "VariableDeclaration", + "scope": 1394, + "src": "1609:13:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1320, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1609:7:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1323, + "mutability": "mutable", + "name": "length", + "nameLocation": "1632:6:6", + "nodeType": "VariableDeclaration", + "scope": 1394, + "src": "1624:14:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1322, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1624:7:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1608:31:6" + }, + "returnParameters": { + "id": 1327, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1326, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1394, + "src": "1663:13:6", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 1325, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1663:6:6", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "1662:15:6" + }, + "scope": 1395, + "src": "1588:441:6", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + } + ], + "scope": 1396, + "src": "146:1885:6", + "usedErrors": [] + } + ], + "src": "86:1946:6" + }, + "id": 6 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol", + "exportedSymbols": { + "ERC165": [ + 1419 + ], + "IERC165": [ + 1431 + ] + }, + "id": 1420, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1397, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "99:23:7" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol", + "file": "./IERC165.sol", + "id": 1398, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1420, + "sourceUnit": 1432, + "src": "124:23:7", + "symbolAliases": [], + "unitAlias": "" + }, + { + "abstract": true, + "baseContracts": [ + { + "baseName": { + "id": 1400, + "name": "IERC165", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1431, + "src": "754:7:7" + }, + "id": 1401, + "nodeType": "InheritanceSpecifier", + "src": "754:7:7" + } + ], + "canonicalName": "ERC165", + "contractDependencies": [], + "contractKind": "contract", + "documentation": { + "id": 1399, + "nodeType": "StructuredDocumentation", + "src": "149:576:7", + "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, + "id": 1419, + "linearizedBaseContracts": [ + 1419, + 1431 + ], + "name": "ERC165", + "nameLocation": "744:6:7", + "nodeType": "ContractDefinition", + "nodes": [ + { + "baseFunctions": [ + 1430 + ], + "body": { + "id": 1417, + "nodeType": "Block", + "src": "920:64:7", + "statements": [ + { + "expression": { + "commonType": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + "id": 1415, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1410, + "name": "interfaceId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1404, + "src": "937:11:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "expression": { + "arguments": [ + { + "id": 1412, + "name": "IERC165", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1431, + "src": "957:7:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_IERC165_$1431_$", + "typeString": "type(contract IERC165)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_type$_t_contract$_IERC165_$1431_$", + "typeString": "type(contract IERC165)" + } + ], + "id": 1411, + "name": "type", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967269, + "src": "952:4:7", + "typeDescriptions": { + "typeIdentifier": "t_function_metatype_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 1413, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "952:13:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_magic_meta_type_t_contract$_IERC165_$1431", + "typeString": "type(contract IERC165)" + } + }, + "id": 1414, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "interfaceId", + "nodeType": "MemberAccess", + "src": "952:25:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "src": "937:40:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "functionReturnParameters": 1409, + "id": 1416, + "nodeType": "Return", + "src": "930:47:7" + } + ] + }, + "documentation": { + "id": 1402, + "nodeType": "StructuredDocumentation", + "src": "768:56:7", + "text": " @dev See {IERC165-supportsInterface}." + }, + "functionSelector": "01ffc9a7", + "id": 1418, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "supportsInterface", + "nameLocation": "838:17:7", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 1406, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "896:8:7" + }, + "parameters": { + "id": 1405, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1404, + "mutability": "mutable", + "name": "interfaceId", + "nameLocation": "863:11:7", + "nodeType": "VariableDeclaration", + "scope": 1418, + "src": "856:18:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + "typeName": { + "id": 1403, + "name": "bytes4", + "nodeType": "ElementaryTypeName", + "src": "856:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "visibility": "internal" + } + ], + "src": "855:20:7" + }, + "returnParameters": { + "id": 1409, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1408, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1418, + "src": "914:4:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1407, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "914:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "913:6:7" + }, + "scope": 1419, + "src": "829:155:7", + "stateMutability": "view", + "virtual": true, + "visibility": "public" + } + ], + "scope": 1420, + "src": "726:260:7", + "usedErrors": [] + } + ], + "src": "99:888:7" + }, + "id": 7 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol", + "exportedSymbols": { + "IERC165": [ + 1431 + ] + }, + "id": 1432, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1421, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "100:23:8" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "IERC165", + "contractDependencies": [], + "contractKind": "interface", + "documentation": { + "id": 1422, + "nodeType": "StructuredDocumentation", + "src": "125:279:8", + "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, + "id": 1431, + "linearizedBaseContracts": [ + 1431 + ], + "name": "IERC165", + "nameLocation": "415:7:8", + "nodeType": "ContractDefinition", + "nodes": [ + { + "documentation": { + "id": 1423, + "nodeType": "StructuredDocumentation", + "src": "429:340:8", + "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", + "id": 1430, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "supportsInterface", + "nameLocation": "783:17:8", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1426, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1425, + "mutability": "mutable", + "name": "interfaceId", + "nameLocation": "808:11:8", + "nodeType": "VariableDeclaration", + "scope": 1430, + "src": "801:18:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + "typeName": { + "id": 1424, + "name": "bytes4", + "nodeType": "ElementaryTypeName", + "src": "801:6:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "visibility": "internal" + } + ], + "src": "800:20:8" + }, + "returnParameters": { + "id": 1429, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1428, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1430, + "src": "844:4:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1427, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "844:4:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "843:6:8" + }, + "scope": 1431, + "src": "774:76:8", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + } + ], + "scope": 1432, + "src": "405:447:8", + "usedErrors": [] + } + ], + "src": "100:753:8" + }, + "id": 8 + } + } +} \ No newline at end of file diff --git a/bin/contracts/PoolBase.abi b/bin/contracts/PoolBase.abi new file mode 100644 index 00000000..a0f29d25 --- /dev/null +++ b/bin/contracts/PoolBase.abi @@ -0,0 +1 @@ +[{"inputs":[{"internalType":"contract DataStorageInterface","name":"_dataStorageAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_removedManager","type":"address"}],"name":"ManagerRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_newManager","type":"address"}],"name":"NewManagerAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"POOL_MANAGER","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"addPoolManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getContributionLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMinContribution","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPoolBaseAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPoolFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPoolMaxSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPoolState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewardsInterest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewardsInterval","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"removePoolManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newContrLimit","type":"uint256"}],"name":"setContributionLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMinContr","type":"uint256"}],"name":"setMinContribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_poolFees","type":"uint256"}],"name":"setPoolFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_live","type":"bool"}],"name":"setPoolLive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSize","type":"uint256"}],"name":"setPoolMaxSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardsInterest","type":"uint256"}],"name":"setRewardsInterest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_daysToRewards","type":"uint256"}],"name":"setRewardsInterval","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}] \ No newline at end of file diff --git a/bin/contracts/PoolBase.bin b/bin/contracts/PoolBase.bin new file mode 100644 index 00000000..9afd60c7 --- /dev/null +++ b/bin/contracts/PoolBase.bin @@ -0,0 +1 @@ +60806040523480156200001157600080fd5b506040516200196e3803806200196e8339810160408190526200003491620002b3565b60018055600280546001600160a01b0319166001600160a01b038316179055620000606000336200009d565b6200008c7f41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842336200009d565b62000096620000ad565b50620002e5565b620000a9828262000213565b5050565b6002546040516e636f6e74726163745f65786973747360881b60208201526001600160601b03193060601b16602f8201526001600160a01b039091169063988c515b9060430160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b168252600482015260016024820152604401600060405180830381600087803b1580156200014757600080fd5b505af11580156200015c573d6000803e3d6000fd5b50506002546040516f636f6e74726163745f6164647265737360801b602082015267506f6f6c4261736560c01b60308201526001600160a01b039091169250637221263a915060380160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b1682526004820152306024820152604401600060405180830381600087803b158015620001f857600080fd5b505af11580156200020d573d6000803e3d6000fd5b50505050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620000a9576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556200026f3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600060208284031215620002c657600080fd5b81516001600160a01b0381168114620002de57600080fd5b9392505050565b61167980620002f56000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c806362308e85116100de57806391d1485411610097578063bf4c003611610071578063bf4c003614610309578063d1d8d0601461031c578063d547741f14610324578063fa1e19e51461033757600080fd5b806391d14854146102db578063a217fddf146102ee578063a4975516146102f657600080fd5b806362308e85146102705780636cff74731461028557806372d099a01461028d5780637521796f146102a05780638ae68134146102a85780638dd225d5146102c857600080fd5b80632f2ff15d116101305780632f2ff15d1461020957806336568abe1461021c57806345077e711461022f578063473b0d4614610242578063497d02411461025557806353710f491461025d57600080fd5b806301ffc9a714610178578063095df57f146101a057806312646987146101b6578063217ac237146101cb578063248a9ca3146101d357806329ca15bc146101f6575b600080fd5b61018b610186366004611348565b61033f565b60405190151581526020015b60405180910390f35b6101a8610376565b604051908152602001610197565b6101c96101c4366004611372565b610433565b005b61018b6105ba565b6101a86101e1366004611372565b60009081526020819052604090206001015490565b6101c96102043660046113a3565b61065f565b6101c96102173660046113c0565b6106bb565b6101c961022a3660046113c0565b6106e6565b6101c961023d3660046113a3565b610764565b6101c9610250366004611372565b6107c0565b6101a86108c4565b6101c961026b366004611372565b6108ea565b6101a860008051602061162483398151915281565b6101a86109ec565b6101c961029b366004611372565b610a14565b6101a8610b1a565b6102b0610b4b565b6040516001600160a01b039091168152602001610197565b6101c96102d6366004611372565b610c24565b61018b6102e93660046113c0565b610e3e565b6101a8600081565b6101c96103043660046113fe565b610e67565b6101c9610317366004611372565b610ee1565b6101a8610fee565b6101c96103323660046113c0565b61100f565b6101a8611035565b60006001600160e01b03198216637965db0b60e01b148061037057506301ffc9a760e01b6001600160e01b03198316145b92915050565b60008060405160200161039a906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b1580156103f557600080fd5b505afa158015610409573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061042d919061141b565b91505090565b60008051602061162483398151915261044c813361105f565b6002546040516001600160a01b03909116906355d946559061047090602001611434565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b81526004016104a491815260200190565b60206040518083038186803b1580156104bc57600080fd5b505afa1580156104d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f4919061144a565b1561051a5760405162461bcd60e51b815260040161051190611467565b60405180910390fd5b6040516a706f6f6c4d617853697a6560a81b6020820152600090602b015b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018690529092506001600160a01b0316906328192c55906044015b600060405180830381600087803b15801561059d57600080fd5b505af11580156105b1573d6000803e3d6000fd5b50505050505050565b6000806040516020016105cc90611434565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561062757600080fd5b505afa15801561063b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061042d919061144a565b600061066b813361105f565b6106836000805160206116248339815191528361100f565b6040516001600160a01b038316907fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd3190600090a25050565b6000828152602081905260409020600101546106d7813361105f565b6106e183836110c3565b505050565b6001600160a01b03811633146107565760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610511565b6107608282611147565b5050565b6000610770813361105f565b610788600080516020611624833981519152836106bb565b6040516001600160a01b038316907fd873e3f571dc25e020cefdeb7255b3874ead3aade1f94a5fb4a5da831fd670cd90600090a25050565b6000805160206116248339815191526107d9813361105f565b6002546040516001600160a01b03909116906355d94655906107fd90602001611434565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161083191815260200190565b60206040518083038186803b15801561084957600080fd5b505afa15801561085d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610881919061144a565b1561089e5760405162461bcd60e51b815260040161051190611467565b6040516e36b4b721b7b73a3934b13aba34b7b760891b6020820152600090602f01610538565b60008060405160200161039a906c64617973546f5265776172647360981b8152600d0190565b600080516020611624833981519152610903813361105f565b6002546040516001600160a01b03909116906355d946559061092790602001611434565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161095b91815260200190565b60206040518083038186803b15801561097357600080fd5b505afa158015610987573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ab919061144a565b156109c85760405162461bcd60e51b815260040161051190611467565b6040516c64617973546f5265776172647360981b6020820152600090602d01610538565b60008060405160200161039a906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b600080516020611624833981519152610a2d813361105f565b6002546040516001600160a01b03909116906355d9465590610a5190602001611434565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610a8591815260200190565b60206040518083038186803b158015610a9d57600080fd5b505afa158015610ab1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad5919061144a565b15610af25760405162461bcd60e51b815260040161051190611467565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b6020820152600090603101610538565b60008060405160200161039a90771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b600080604051602001610b85906f636f6e74726163745f6164647265737360801b815267506f6f6c4261736560c01b601082015260180190565b60408051808303601f190181529082905280516020909101206002546315485dd960e11b8352600483018290529092506000916001600160a01b0390911690632a90bbb29060240160206040518083038186803b158015610be557600080fd5b505afa158015610bf9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1d919061149e565b9392505050565b600080516020611624833981519152610c3d813361105f565b6002546040516001600160a01b03909116906355d9465590610c6190602001611434565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610c9591815260200190565b60206040518083038186803b158015610cad57600080fd5b505afa158015610cc1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce5919061144a565b15610d025760405162461bcd60e51b815260040161051190611467565b60405167706f6f6c4665657360c01b60208201526000906028016040516020818303038152906040528051906020012090506000604051602001610d57906a1c1bdbdb1199595cd4d95d60aa1b8152600b0190565b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301859052602483018790529092506001600160a01b0316906328192c5590604401600060405180830381600087803b158015610dbb57600080fd5b505af1158015610dcf573d6000803e3d6000fd5b505060025460405163988c515b60e01b815260048101859052600160248201526001600160a01b03909116925063988c515b9150604401600060405180830381600087803b158015610e2057600080fd5b505af1158015610e34573d6000803e3d6000fd5b5050505050505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020611624833981519152610e80813361105f565b6000604051602001610e9190611434565b60408051808303601f1901815290829052805160209091012060025463988c515b60e01b83526004830182905285151560248401529092506001600160a01b03169063988c515b90604401610583565b600080516020611624833981519152610efa813361105f565b6002546040516001600160a01b03909116906355d9465590610f1e90602001611434565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610f5291815260200190565b60206040518083038186803b158015610f6a57600080fd5b505afa158015610f7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa2919061144a565b15610fbf5760405162461bcd60e51b815260040161051190611467565b604051771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b6020820152600090603801610538565b60008060405160200161039a9067706f6f6c4665657360c01b815260080190565b60008281526020819052604090206001015461102b813361105f565b6106e18383611147565b60008060405160200161039a907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b6110698282610e3e565b61076057611081816001600160a01b031660146111ac565b61108c8360206111ac565b60405160200161109d9291906114eb565b60408051601f198184030181529082905262461bcd60e51b825261051191600401611560565b6110cd8282610e3e565b610760576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556111033390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6111518282610e3e565b15610760576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b606060006111bb8360026115a9565b6111c69060026115c8565b67ffffffffffffffff8111156111de576111de6115e0565b6040519080825280601f01601f191660200182016040528015611208576020820181803683370190505b509050600360fc1b81600081518110611223576112236115f6565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611252576112526115f6565b60200101906001600160f81b031916908160001a90535060006112768460026115a9565b6112819060016115c8565b90505b60018111156112f9576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106112b5576112b56115f6565b1a60f81b8282815181106112cb576112cb6115f6565b60200101906001600160f81b031916908160001a90535060049490941c936112f28161160c565b9050611284565b508315610c1d5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610511565b60006020828403121561135a57600080fd5b81356001600160e01b031981168114610c1d57600080fd5b60006020828403121561138457600080fd5b5035919050565b6001600160a01b03811681146113a057600080fd5b50565b6000602082840312156113b557600080fd5b8135610c1d8161138b565b600080604083850312156113d357600080fd5b8235915060208301356113e58161138b565b809150509250929050565b80151581146113a057600080fd5b60006020828403121561141057600080fd5b8135610c1d816113f0565b60006020828403121561142d57600080fd5b5051919050565b696973506f6f6c4c69766560b01b8152600a0190565b60006020828403121561145c57600080fd5b8151610c1d816113f0565b6020808252601d908201527f54686520706f6f6c2069732063757272656e746c7920636c6f7365642e000000604082015260600190565b6000602082840312156114b057600080fd5b8151610c1d8161138b565b60005b838110156114d65781810151838201526020016114be565b838111156114e5576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516115238160178501602088016114bb565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516115548160288401602088016114bb565b01602801949350505050565b602081526000825180602084015261157f8160408501602087016114bb565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156115c3576115c3611593565b500290565b600082198211156115db576115db611593565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008161161b5761161b611593565b50600019019056fe41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842a2646970667358221220de7843e4bed15ddac8d85fa1ad35c800b5116d1700f6ec172ab17b776534046d64736f6c63430008090033 \ No newline at end of file diff --git a/bin/contracts/PoolBase.json b/bin/contracts/PoolBase.json new file mode 100644 index 00000000..1ccd07e2 --- /dev/null +++ b/bin/contracts/PoolBase.json @@ -0,0 +1,9266 @@ +{ + "contractName": "PoolBase", + "abi": [ + { + "inputs": [ + { + "internalType": "contract DataStorageInterface", + "name": "_dataStorageAddress", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_removedManager", + "type": "address" + } + ], + "name": "ManagerRemoved", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_newManager", + "type": "address" + } + ], + "name": "NewManagerAdded", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "POOL_MANAGER", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "addPoolManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "getContributionLimit", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getMinContribution", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolBaseAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolFees", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolMaxSize", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolState", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardsInterest", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardsInterval", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "removePoolManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newContrLimit", + "type": "uint256" + } + ], + "name": "setContributionLimit", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newMinContr", + "type": "uint256" + } + ], + "name": "setMinContribution", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_poolFees", + "type": "uint256" + } + ], + "name": "setPoolFees", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bool", + "name": "_live", + "type": "bool" + } + ], + "name": "setPoolLive", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_maxSize", + "type": "uint256" + } + ], + "name": "setPoolMaxSize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_rewardsInterest", + "type": "uint256" + } + ], + "name": "setRewardsInterest", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_daysToRewards", + "type": "uint256" + } + ], + "name": "setRewardsInterval", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract DataStorageInterface\",\"name\":\"_dataStorageAddress\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_removedManager\",\"type\":\"address\"}],\"name\":\"ManagerRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_newManager\",\"type\":\"address\"}],\"name\":\"NewManagerAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"POOL_MANAGER\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"addPoolManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getContributionLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMinContribution\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolBaseAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolMaxSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolState\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsInterest\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsInterval\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"removePoolManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newContrLimit\",\"type\":\"uint256\"}],\"name\":\"setContributionLimit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newMinContr\",\"type\":\"uint256\"}],\"name\":\"setMinContribution\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_poolFees\",\"type\":\"uint256\"}],\"name\":\"setPoolFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_live\",\"type\":\"bool\"}],\"name\":\"setPoolLive\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxSize\",\"type\":\"uint256\"}],\"name\":\"setPoolMaxSize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_rewardsInterest\",\"type\":\"uint256\"}],\"name\":\"setRewardsInterest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_daysToRewards\",\"type\":\"uint256\"}],\"name\":\"setRewardsInterval\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role.\"},\"setContributionLimit(uint256)\":{\"details\":\"Set the max. contribution allowed for each user.\",\"params\":{\"_newContrLimit\":\"is a WEI value.\"}},\"setMinContribution(uint256)\":{\"details\":\"Set the min. contribution allowed for each user.\",\"params\":{\"_newMinContr\":\"is a WEI value.\"}},\"setPoolFees(uint256)\":{\"details\":\"Set the pool fees fraction that the pool charges for each deposit.\",\"params\":{\"_poolFees\":\"within the storage has 6 decimals.\"}},\"setPoolLive(bool)\":{\"details\":\"Toggles the Pool Investing Switch. \"},\"setPoolMaxSize(uint256)\":{\"details\":\"Sets the Pool Maximium size expressed on ether.\",\"params\":{\"_maxSize\":\"is a WEI value (or BigInt / BigNumber).\"}},\"setRewardsInterest(uint256)\":{\"details\":\"Set the interest per effective period.\",\"params\":{\"_rewardsInterest\":\"within the storage has 6 decimals.\"}},\"setRewardsInterval(uint256)\":{\"details\":\"Set the interval in days of the rewards period.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"}},\"title\":\"This contract handles the modifiers and environmental parameters that control the pool. \",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"constructor\":{\"notice\":\"This contract will be deployed by the same address of the initial guardian. Afterwards Guardian may not be the same as the adminif the guardian renounces to their guard.\"},\"setPoolFees(uint256)\":{\"notice\":\"E.G. If 0.001235 fees fraction are desired, 0.001235 * (10**6) = 1235.Also it sets the state variable \\\"poolFeesSet\\\" as true.If the poolFees are higher than the Interest Per period, it means tha the user will have to wait more than one period to recover that fee. Management & Operation choices...\"},\"setPoolLive(bool)\":{\"notice\":\"While live, anyone can invest but any state variable can be modified nor deleted.\"},\"setRewardsInterest(uint256)\":{\"notice\":\"E.G. If 0.001134 rate is desired, 0.001134 * (10**6) = 1134.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol\":\"PoolBase\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol\":{\"keccak256\":\"0xe27d66fc1d900f4fed3d06a7c68445f7420f8e712a9f18374fff3b717e861334\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c06f66c76833eb1d64e7099350c4339aaa619f6c44e6928498c2a9f8b4d53b60\",\"dweb:/ipfs/QmWJ9cWgiqGjDC33u5doPQpXejNZibUGoXCZDSCGwU8y4E\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol\":{\"keccak256\":\"0xf4a98c1519c0382a5c40cb047b7c1a33713d46062b68907c38eba7e24ce87773\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5921b6865f1504704ffbb252f719db25619236bed2ae94b18df01e1333bb4161\",\"dweb:/ipfs/QmR5TQmepq7zVfLD4WPUnVgHRRwYXDghwdrDqzgCWBmVvP\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0x4a1a0ba12bf1a33f10d9fe226278cf59675c0b929d29e4da99658a079b27fb84\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bda1319db846d6d6f92d8a57a9bdee8bde1dc39aa7546165791692c24dd6f30a\",\"dweb:/ipfs/Qma5oZ7DmbdAjd8mpiW7mx896PDtwsQtCQ2hj9Upf7b7JK\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol\":{\"keccak256\":\"0x0e9621f60b2faabe65549f7ed0f24e8853a45c1b7990d47e8160e523683f3935\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://287a2f8d5814dd0f05f22b740f18ca8321acc21c9bd03a6cb2203ea626e2f3f2\",\"dweb:/ipfs/QmZRQv9iuwU817VuqkA2WweiaibKii69x9QxYBBEfbNEud\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}", + "bytecode": "60806040523480156200001157600080fd5b506040516200196e3803806200196e8339810160408190526200003491620002b3565b60018055600280546001600160a01b0319166001600160a01b038316179055620000606000336200009d565b6200008c7f41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842336200009d565b62000096620000ad565b50620002e5565b620000a9828262000213565b5050565b6002546040516e636f6e74726163745f65786973747360881b60208201526001600160601b03193060601b16602f8201526001600160a01b039091169063988c515b9060430160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b168252600482015260016024820152604401600060405180830381600087803b1580156200014757600080fd5b505af11580156200015c573d6000803e3d6000fd5b50506002546040516f636f6e74726163745f6164647265737360801b602082015267506f6f6c4261736560c01b60308201526001600160a01b039091169250637221263a915060380160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b1682526004820152306024820152604401600060405180830381600087803b158015620001f857600080fd5b505af11580156200020d573d6000803e3d6000fd5b50505050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620000a9576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556200026f3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600060208284031215620002c657600080fd5b81516001600160a01b0381168114620002de57600080fd5b9392505050565b61167980620002f56000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c806362308e85116100de57806391d1485411610097578063bf4c003611610071578063bf4c003614610309578063d1d8d0601461031c578063d547741f14610324578063fa1e19e51461033757600080fd5b806391d14854146102db578063a217fddf146102ee578063a4975516146102f657600080fd5b806362308e85146102705780636cff74731461028557806372d099a01461028d5780637521796f146102a05780638ae68134146102a85780638dd225d5146102c857600080fd5b80632f2ff15d116101305780632f2ff15d1461020957806336568abe1461021c57806345077e711461022f578063473b0d4614610242578063497d02411461025557806353710f491461025d57600080fd5b806301ffc9a714610178578063095df57f146101a057806312646987146101b6578063217ac237146101cb578063248a9ca3146101d357806329ca15bc146101f6575b600080fd5b61018b610186366004611348565b61033f565b60405190151581526020015b60405180910390f35b6101a8610376565b604051908152602001610197565b6101c96101c4366004611372565b610433565b005b61018b6105ba565b6101a86101e1366004611372565b60009081526020819052604090206001015490565b6101c96102043660046113a3565b61065f565b6101c96102173660046113c0565b6106bb565b6101c961022a3660046113c0565b6106e6565b6101c961023d3660046113a3565b610764565b6101c9610250366004611372565b6107c0565b6101a86108c4565b6101c961026b366004611372565b6108ea565b6101a860008051602061162483398151915281565b6101a86109ec565b6101c961029b366004611372565b610a14565b6101a8610b1a565b6102b0610b4b565b6040516001600160a01b039091168152602001610197565b6101c96102d6366004611372565b610c24565b61018b6102e93660046113c0565b610e3e565b6101a8600081565b6101c96103043660046113fe565b610e67565b6101c9610317366004611372565b610ee1565b6101a8610fee565b6101c96103323660046113c0565b61100f565b6101a8611035565b60006001600160e01b03198216637965db0b60e01b148061037057506301ffc9a760e01b6001600160e01b03198316145b92915050565b60008060405160200161039a906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b1580156103f557600080fd5b505afa158015610409573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061042d919061141b565b91505090565b60008051602061162483398151915261044c813361105f565b6002546040516001600160a01b03909116906355d946559061047090602001611434565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b81526004016104a491815260200190565b60206040518083038186803b1580156104bc57600080fd5b505afa1580156104d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f4919061144a565b1561051a5760405162461bcd60e51b815260040161051190611467565b60405180910390fd5b6040516a706f6f6c4d617853697a6560a81b6020820152600090602b015b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018690529092506001600160a01b0316906328192c55906044015b600060405180830381600087803b15801561059d57600080fd5b505af11580156105b1573d6000803e3d6000fd5b50505050505050565b6000806040516020016105cc90611434565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561062757600080fd5b505afa15801561063b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061042d919061144a565b600061066b813361105f565b6106836000805160206116248339815191528361100f565b6040516001600160a01b038316907fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd3190600090a25050565b6000828152602081905260409020600101546106d7813361105f565b6106e183836110c3565b505050565b6001600160a01b03811633146107565760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610511565b6107608282611147565b5050565b6000610770813361105f565b610788600080516020611624833981519152836106bb565b6040516001600160a01b038316907fd873e3f571dc25e020cefdeb7255b3874ead3aade1f94a5fb4a5da831fd670cd90600090a25050565b6000805160206116248339815191526107d9813361105f565b6002546040516001600160a01b03909116906355d94655906107fd90602001611434565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161083191815260200190565b60206040518083038186803b15801561084957600080fd5b505afa15801561085d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610881919061144a565b1561089e5760405162461bcd60e51b815260040161051190611467565b6040516e36b4b721b7b73a3934b13aba34b7b760891b6020820152600090602f01610538565b60008060405160200161039a906c64617973546f5265776172647360981b8152600d0190565b600080516020611624833981519152610903813361105f565b6002546040516001600160a01b03909116906355d946559061092790602001611434565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161095b91815260200190565b60206040518083038186803b15801561097357600080fd5b505afa158015610987573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ab919061144a565b156109c85760405162461bcd60e51b815260040161051190611467565b6040516c64617973546f5265776172647360981b6020820152600090602d01610538565b60008060405160200161039a906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b600080516020611624833981519152610a2d813361105f565b6002546040516001600160a01b03909116906355d9465590610a5190602001611434565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610a8591815260200190565b60206040518083038186803b158015610a9d57600080fd5b505afa158015610ab1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad5919061144a565b15610af25760405162461bcd60e51b815260040161051190611467565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b6020820152600090603101610538565b60008060405160200161039a90771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b600080604051602001610b85906f636f6e74726163745f6164647265737360801b815267506f6f6c4261736560c01b601082015260180190565b60408051808303601f190181529082905280516020909101206002546315485dd960e11b8352600483018290529092506000916001600160a01b0390911690632a90bbb29060240160206040518083038186803b158015610be557600080fd5b505afa158015610bf9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1d919061149e565b9392505050565b600080516020611624833981519152610c3d813361105f565b6002546040516001600160a01b03909116906355d9465590610c6190602001611434565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610c9591815260200190565b60206040518083038186803b158015610cad57600080fd5b505afa158015610cc1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce5919061144a565b15610d025760405162461bcd60e51b815260040161051190611467565b60405167706f6f6c4665657360c01b60208201526000906028016040516020818303038152906040528051906020012090506000604051602001610d57906a1c1bdbdb1199595cd4d95d60aa1b8152600b0190565b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301859052602483018790529092506001600160a01b0316906328192c5590604401600060405180830381600087803b158015610dbb57600080fd5b505af1158015610dcf573d6000803e3d6000fd5b505060025460405163988c515b60e01b815260048101859052600160248201526001600160a01b03909116925063988c515b9150604401600060405180830381600087803b158015610e2057600080fd5b505af1158015610e34573d6000803e3d6000fd5b5050505050505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020611624833981519152610e80813361105f565b6000604051602001610e9190611434565b60408051808303601f1901815290829052805160209091012060025463988c515b60e01b83526004830182905285151560248401529092506001600160a01b03169063988c515b90604401610583565b600080516020611624833981519152610efa813361105f565b6002546040516001600160a01b03909116906355d9465590610f1e90602001611434565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610f5291815260200190565b60206040518083038186803b158015610f6a57600080fd5b505afa158015610f7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa2919061144a565b15610fbf5760405162461bcd60e51b815260040161051190611467565b604051771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b6020820152600090603801610538565b60008060405160200161039a9067706f6f6c4665657360c01b815260080190565b60008281526020819052604090206001015461102b813361105f565b6106e18383611147565b60008060405160200161039a907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b6110698282610e3e565b61076057611081816001600160a01b031660146111ac565b61108c8360206111ac565b60405160200161109d9291906114eb565b60408051601f198184030181529082905262461bcd60e51b825261051191600401611560565b6110cd8282610e3e565b610760576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556111033390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6111518282610e3e565b15610760576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b606060006111bb8360026115a9565b6111c69060026115c8565b67ffffffffffffffff8111156111de576111de6115e0565b6040519080825280601f01601f191660200182016040528015611208576020820181803683370190505b509050600360fc1b81600081518110611223576112236115f6565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611252576112526115f6565b60200101906001600160f81b031916908160001a90535060006112768460026115a9565b6112819060016115c8565b90505b60018111156112f9576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106112b5576112b56115f6565b1a60f81b8282815181106112cb576112cb6115f6565b60200101906001600160f81b031916908160001a90535060049490941c936112f28161160c565b9050611284565b508315610c1d5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610511565b60006020828403121561135a57600080fd5b81356001600160e01b031981168114610c1d57600080fd5b60006020828403121561138457600080fd5b5035919050565b6001600160a01b03811681146113a057600080fd5b50565b6000602082840312156113b557600080fd5b8135610c1d8161138b565b600080604083850312156113d357600080fd5b8235915060208301356113e58161138b565b809150509250929050565b80151581146113a057600080fd5b60006020828403121561141057600080fd5b8135610c1d816113f0565b60006020828403121561142d57600080fd5b5051919050565b696973506f6f6c4c69766560b01b8152600a0190565b60006020828403121561145c57600080fd5b8151610c1d816113f0565b6020808252601d908201527f54686520706f6f6c2069732063757272656e746c7920636c6f7365642e000000604082015260600190565b6000602082840312156114b057600080fd5b8151610c1d8161138b565b60005b838110156114d65781810151838201526020016114be565b838111156114e5576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516115238160178501602088016114bb565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516115548160288401602088016114bb565b01602801949350505050565b602081526000825180602084015261157f8160408501602087016114bb565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156115c3576115c3611593565b500290565b600082198211156115db576115db611593565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008161161b5761161b611593565b50600019019056fe41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842a2646970667358221220de7843e4bed15ddac8d85fa1ad35c800b5116d1700f6ec172ab17b776534046d64736f6c63430008090033", + "deployedBytecode": "608060405234801561001057600080fd5b50600436106101735760003560e01c806362308e85116100de57806391d1485411610097578063bf4c003611610071578063bf4c003614610309578063d1d8d0601461031c578063d547741f14610324578063fa1e19e51461033757600080fd5b806391d14854146102db578063a217fddf146102ee578063a4975516146102f657600080fd5b806362308e85146102705780636cff74731461028557806372d099a01461028d5780637521796f146102a05780638ae68134146102a85780638dd225d5146102c857600080fd5b80632f2ff15d116101305780632f2ff15d1461020957806336568abe1461021c57806345077e711461022f578063473b0d4614610242578063497d02411461025557806353710f491461025d57600080fd5b806301ffc9a714610178578063095df57f146101a057806312646987146101b6578063217ac237146101cb578063248a9ca3146101d357806329ca15bc146101f6575b600080fd5b61018b610186366004611348565b61033f565b60405190151581526020015b60405180910390f35b6101a8610376565b604051908152602001610197565b6101c96101c4366004611372565b610433565b005b61018b6105ba565b6101a86101e1366004611372565b60009081526020819052604090206001015490565b6101c96102043660046113a3565b61065f565b6101c96102173660046113c0565b6106bb565b6101c961022a3660046113c0565b6106e6565b6101c961023d3660046113a3565b610764565b6101c9610250366004611372565b6107c0565b6101a86108c4565b6101c961026b366004611372565b6108ea565b6101a860008051602061162483398151915281565b6101a86109ec565b6101c961029b366004611372565b610a14565b6101a8610b1a565b6102b0610b4b565b6040516001600160a01b039091168152602001610197565b6101c96102d6366004611372565b610c24565b61018b6102e93660046113c0565b610e3e565b6101a8600081565b6101c96103043660046113fe565b610e67565b6101c9610317366004611372565b610ee1565b6101a8610fee565b6101c96103323660046113c0565b61100f565b6101a8611035565b60006001600160e01b03198216637965db0b60e01b148061037057506301ffc9a760e01b6001600160e01b03198316145b92915050565b60008060405160200161039a906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b1580156103f557600080fd5b505afa158015610409573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061042d919061141b565b91505090565b60008051602061162483398151915261044c813361105f565b6002546040516001600160a01b03909116906355d946559061047090602001611434565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b81526004016104a491815260200190565b60206040518083038186803b1580156104bc57600080fd5b505afa1580156104d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f4919061144a565b1561051a5760405162461bcd60e51b815260040161051190611467565b60405180910390fd5b6040516a706f6f6c4d617853697a6560a81b6020820152600090602b015b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018690529092506001600160a01b0316906328192c55906044015b600060405180830381600087803b15801561059d57600080fd5b505af11580156105b1573d6000803e3d6000fd5b50505050505050565b6000806040516020016105cc90611434565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561062757600080fd5b505afa15801561063b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061042d919061144a565b600061066b813361105f565b6106836000805160206116248339815191528361100f565b6040516001600160a01b038316907fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd3190600090a25050565b6000828152602081905260409020600101546106d7813361105f565b6106e183836110c3565b505050565b6001600160a01b03811633146107565760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610511565b6107608282611147565b5050565b6000610770813361105f565b610788600080516020611624833981519152836106bb565b6040516001600160a01b038316907fd873e3f571dc25e020cefdeb7255b3874ead3aade1f94a5fb4a5da831fd670cd90600090a25050565b6000805160206116248339815191526107d9813361105f565b6002546040516001600160a01b03909116906355d94655906107fd90602001611434565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161083191815260200190565b60206040518083038186803b15801561084957600080fd5b505afa15801561085d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610881919061144a565b1561089e5760405162461bcd60e51b815260040161051190611467565b6040516e36b4b721b7b73a3934b13aba34b7b760891b6020820152600090602f01610538565b60008060405160200161039a906c64617973546f5265776172647360981b8152600d0190565b600080516020611624833981519152610903813361105f565b6002546040516001600160a01b03909116906355d946559061092790602001611434565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161095b91815260200190565b60206040518083038186803b15801561097357600080fd5b505afa158015610987573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ab919061144a565b156109c85760405162461bcd60e51b815260040161051190611467565b6040516c64617973546f5265776172647360981b6020820152600090602d01610538565b60008060405160200161039a906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b600080516020611624833981519152610a2d813361105f565b6002546040516001600160a01b03909116906355d9465590610a5190602001611434565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610a8591815260200190565b60206040518083038186803b158015610a9d57600080fd5b505afa158015610ab1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad5919061144a565b15610af25760405162461bcd60e51b815260040161051190611467565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b6020820152600090603101610538565b60008060405160200161039a90771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b600080604051602001610b85906f636f6e74726163745f6164647265737360801b815267506f6f6c4261736560c01b601082015260180190565b60408051808303601f190181529082905280516020909101206002546315485dd960e11b8352600483018290529092506000916001600160a01b0390911690632a90bbb29060240160206040518083038186803b158015610be557600080fd5b505afa158015610bf9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1d919061149e565b9392505050565b600080516020611624833981519152610c3d813361105f565b6002546040516001600160a01b03909116906355d9465590610c6190602001611434565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610c9591815260200190565b60206040518083038186803b158015610cad57600080fd5b505afa158015610cc1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce5919061144a565b15610d025760405162461bcd60e51b815260040161051190611467565b60405167706f6f6c4665657360c01b60208201526000906028016040516020818303038152906040528051906020012090506000604051602001610d57906a1c1bdbdb1199595cd4d95d60aa1b8152600b0190565b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301859052602483018790529092506001600160a01b0316906328192c5590604401600060405180830381600087803b158015610dbb57600080fd5b505af1158015610dcf573d6000803e3d6000fd5b505060025460405163988c515b60e01b815260048101859052600160248201526001600160a01b03909116925063988c515b9150604401600060405180830381600087803b158015610e2057600080fd5b505af1158015610e34573d6000803e3d6000fd5b5050505050505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020611624833981519152610e80813361105f565b6000604051602001610e9190611434565b60408051808303601f1901815290829052805160209091012060025463988c515b60e01b83526004830182905285151560248401529092506001600160a01b03169063988c515b90604401610583565b600080516020611624833981519152610efa813361105f565b6002546040516001600160a01b03909116906355d9465590610f1e90602001611434565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610f5291815260200190565b60206040518083038186803b158015610f6a57600080fd5b505afa158015610f7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa2919061144a565b15610fbf5760405162461bcd60e51b815260040161051190611467565b604051771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b6020820152600090603801610538565b60008060405160200161039a9067706f6f6c4665657360c01b815260080190565b60008281526020819052604090206001015461102b813361105f565b6106e18383611147565b60008060405160200161039a907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b6110698282610e3e565b61076057611081816001600160a01b031660146111ac565b61108c8360206111ac565b60405160200161109d9291906114eb565b60408051601f198184030181529082905262461bcd60e51b825261051191600401611560565b6110cd8282610e3e565b610760576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556111033390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6111518282610e3e565b15610760576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b606060006111bb8360026115a9565b6111c69060026115c8565b67ffffffffffffffff8111156111de576111de6115e0565b6040519080825280601f01601f191660200182016040528015611208576020820181803683370190505b509050600360fc1b81600081518110611223576112236115f6565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611252576112526115f6565b60200101906001600160f81b031916908160001a90535060006112768460026115a9565b6112819060016115c8565b90505b60018111156112f9576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106112b5576112b56115f6565b1a60f81b8282815181106112cb576112cb6115f6565b60200101906001600160f81b031916908160001a90535060049490941c936112f28161160c565b9050611284565b508315610c1d5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610511565b60006020828403121561135a57600080fd5b81356001600160e01b031981168114610c1d57600080fd5b60006020828403121561138457600080fd5b5035919050565b6001600160a01b03811681146113a057600080fd5b50565b6000602082840312156113b557600080fd5b8135610c1d8161138b565b600080604083850312156113d357600080fd5b8235915060208301356113e58161138b565b809150509250929050565b80151581146113a057600080fd5b60006020828403121561141057600080fd5b8135610c1d816113f0565b60006020828403121561142d57600080fd5b5051919050565b696973506f6f6c4c69766560b01b8152600a0190565b60006020828403121561145c57600080fd5b8151610c1d816113f0565b6020808252601d908201527f54686520706f6f6c2069732063757272656e746c7920636c6f7365642e000000604082015260600190565b6000602082840312156114b057600080fd5b8151610c1d8161138b565b60005b838110156114d65781810151838201526020016114be565b838111156114e5576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516115238160178501602088016114bb565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516115548160288401602088016114bb565b01602801949350505050565b602081526000825180602084015261157f8160408501602087016114bb565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156115c3576115c3611593565b500290565b600082198211156115db576115db611593565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008161161b5761161b611593565b50600019019056fe41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842a2646970667358221220de7843e4bed15ddac8d85fa1ad35c800b5116d1700f6ec172ab17b776534046d64736f6c63430008090033", + "sourceMap": "627:8190:0:-:0;;;1209:259;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1701:1:4;1806:22;;1273:11:0;:55;;-1:-1:-1;;;;;;1273:55:0;-1:-1:-1;;;;;1273:55:0;;;;;1339:42;-1:-1:-1;1370:10:0;1339;:42::i;:::-;1392:36;726:25;1417:10;1392;:36::i;:::-;1439:21;:19;:21::i;:::-;1209:259;627:8190;;6257:110:2;6335:25;6346:4;6352:7;6335:10;:25::i;:::-;6257:110;;:::o;2543:269:0:-;2593:11;;2630:50;;-1:-1:-1;;;2630:50:0;;;567:30:9;-1:-1:-1;;;;;;2674:4:0;660:2:9;631:15;627:45;613:12;;;606:67;-1:-1:-1;;;;;2593:11:0;;;;:26;;689:12:9;;2630:50:0;;;-1:-1:-1;;2630:50:0;;;;;;;;;;2620:61;;2630:50;2620:61;;;;-1:-1:-1;;;;;;2593:95:0;;;;;;;;;;880:25:9;2683:4:0;921:18:9;;;914:50;853:18;;2593:95:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2699:11:0;;2739:48;;-1:-1:-1;;;2739:48:0;;;1278:31:9;-1:-1:-1;;;1325:12:9;;;1318:32;-1:-1:-1;;;;;2699:11:0;;;;-1:-1:-1;2699:29:0;;-1:-1:-1;1366:12:9;;2739:48:0;;;-1:-1:-1;;2739:48:0;;;;;;;;;;2729:59;;2739:48;2729:59;;;;-1:-1:-1;;;;;;2699:105:0;;;;;;;;;;1563:25:9;2798:4:0;1604:18:9;;;1597:60;1536:18;;2699:105:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2543:269::o;6861:233:2:-;2995:4;3018:12;;;;;;;;;;;-1:-1:-1;;;;;3018:29:2;;;;;;;;;;;;6939:149;;6982:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6982:29:2;;;;;;;;;:36;;-1:-1:-1;;6982:36:2;7014:4;6982:36;;;7064:12;719:10:5;;640:96;7064:12:2;-1:-1:-1;;;;;7037:40:2;7055:7;-1:-1:-1;;;;;7037:40:2;7049:4;7037:40;;;;;;;;;;6861:233;;:::o;14:318:9:-;112:6;165:2;153:9;144:7;140:23;136:32;133:52;;;181:1;178;171:12;133:52;207:16;;-1:-1:-1;;;;;252:31:9;;242:42;;232:70;;298:1;295;288:12;232:70;321:5;14:318;-1:-1:-1;;;14:318:9:o;1389:274::-;627:8190:0;;;;;;", + "deployedSourceMap": "627:8190:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2620:202:2;;;;;;:::i;:::-;;:::i;:::-;;;470:14:9;;463:22;445:41;;433:2;418:18;2620:202:2;;;;;;;;7555:205:0;;;:::i;:::-;;;643:25:9;;;631:2;616:18;7555:205:0;497:177:9;3302:341:0;;;;;;:::i;:::-;;:::i;:::-;;7363:184;;;:::i;4008:129:2:-;;;;;;:::i;:::-;4082:7;4108:12;;;;;;;;;;:22;;;;4008:129;2182:175:0;;;;;;:::i;:::-;;:::i;4387:145:2:-;;;;;;:::i;:::-;;:::i;5404:214::-;;;;;;:::i;:::-;;:::i;2002:172:0:-;;;;;;:::i;:::-;;:::i;5243:350::-;;;;;;:::i;:::-;;:::i;7768:195::-;;;:::i;3717:351::-;;;;;;:::i;:::-;;:::i;687:64::-;;-1:-1:-1;;;;;;;;;;;687:64:0;;8406:199;;;:::i;4765:362::-;;;;;;:::i;:::-;;:::i;7971:212::-;;;:::i;7083:268::-;;;:::i;:::-;;;-1:-1:-1;;;;;2103:32:9;;;2085:51;;2073:2;2058:18;7083:268:0;1939:203:9;6117:478:0;;;;;;:::i;:::-;;:::i;2909:145:2:-;;;;;;:::i;:::-;;:::i;2027:49::-;;2072:4;2027:49;;2969:198:0;;;;;;:::i;:::-;;:::i;4275:372::-;;;;;;:::i;:::-;;:::i;8617:185::-;;;:::i;4766:147:2:-;;;;;;:::i;:::-;;:::i;8191:207:0:-;;;:::i;2620:202:2:-;2705:4;-1:-1:-1;;;;;;2728:47:2;;-1:-1:-1;;;2728:47:2;;:87;;-1:-1:-1;;;;;;;;;;937:40:7;;;2779:36:2;2721:94;2620:202;-1:-1:-1;;2620:202:2:o;7555:205:0:-;7601:4;7617:22;7652:31;;;;;;-1:-1:-1;;;2718:26:9;;2769:2;2760:12;;2516:262;7652:31:0;;;;;;;-1:-1:-1;;7652:31:0;;;;;;;7642:42;;7652:31;7642:42;;;;7702:11;;-1:-1:-1;;;7702:42:0;;;;;643:25:9;;;7642:42:0;;-1:-1:-1;;;;;;7702:11:0;;:26;;616:18:9;;7702:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7695:49;;;7555:205;:::o;3302:341::-;-1:-1:-1;;;;;;;;;;;2505:30:2;726:25:0;719:10:5;2505::2;:30::i;:::-;3391:11:0::1;::::0;3428:30:::1;::::0;-1:-1:-1;;;;;3391:11:0;;::::1;::::0;:26:::1;::::0;3428:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;3418:41;;;;;;3391:69;;;;;;;;;;;;;643:25:9::0;;631:2;616:18;;497:177;3391:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3390:70;3382:112;;;;-1:-1:-1::0;;;3382:112:0::1;;;;;;;:::i;:::-;;;;;;;;;3540:31;::::0;-1:-1:-1;;;3540:31:0::1;::::0;::::1;2718:26:9::0;3505:22:0::1;::::0;2760:12:9;;3540:31:0::1;;::::0;;;;::::1;-1:-1:-1::0;;3540:31:0;;;;;;;3530:42;;3540:31:::1;3530:42:::0;;::::1;::::0;3583:11:::1;::::0;-1:-1:-1;;;3583:52:0;;::::1;::::0;::::1;4020:25:9::0;;;4061:18;;;4054:34;;;3530:42:0;;-1:-1:-1;;;;;;3583:11:0::1;::::0;:26:::1;::::0;3993:18:9;;3583:52:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;3371:272;3302:341:::0;;:::o;7363:184::-;7407:4;7423:17;7453:30;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;7453:30:0;;;;;;;7443:41;;7453:30;7443:41;;;;7502:11;;-1:-1:-1;;;7502:37:0;;;;;643:25:9;;;7443:41:0;;-1:-1:-1;;;;;;7502:11:0;;:26;;616:18:9;;7502:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;2182:175::-;2072:4:2;2505:30;2072:4;719:10:5;2505::2;:30::i;:::-;2275:34:0::1;-1:-1:-1::0;;;;;;;;;;;2300:8:0::1;2275:10;:34::i;:::-;2325:24;::::0;-1:-1:-1;;;;;2325:24:0;::::1;::::0;::::1;::::0;;;::::1;2182:175:::0;;:::o;4387:145:2:-;4082:7;4108:12;;;;;;;;;;:22;;;2505:30;2516:4;719:10:5;2505::2;:30::i;:::-;4500:25:::1;4511:4;4517:7;4500:10;:25::i;:::-;4387:145:::0;;;:::o;5404:214::-;-1:-1:-1;;;;;5499:23:2;;719:10:5;5499:23:2;5491:83;;;;-1:-1:-1;;;5491:83:2;;4301:2:9;5491:83:2;;;4283:21:9;4340:2;4320:18;;;4313:30;4379:34;4359:18;;;4352:62;-1:-1:-1;;;4430:18:9;;;4423:45;4485:19;;5491:83:2;4099:411:9;5491:83:2;5585:26;5597:4;5603:7;5585:11;:26::i;:::-;5404:214;;:::o;2002:172:0:-;2072:4:2;2505:30;2072:4;719:10:5;2505::2;:30::i;:::-;2092:33:0::1;-1:-1:-1::0;;;;;;;;;;;2116:8:0::1;2092:9;:33::i;:::-;2141:25;::::0;-1:-1:-1;;;;;2141:25:0;::::1;::::0;::::1;::::0;;;::::1;2002:172:::0;;:::o;5243:350::-;-1:-1:-1;;;;;;;;;;;2505:30:2;726:25:0;719:10:5;2505::2;:30::i;:::-;5339:11:0::1;::::0;5376:30:::1;::::0;-1:-1:-1;;;;;5339:11:0;;::::1;::::0;:26:::1;::::0;5376:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;5366:41;;;;;;5339:69;;;;;;;;;;;;;643:25:9::0;;631:2;616:18;;497:177;5339:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5338:70;5330:112;;;;-1:-1:-1::0;;;5330:112:0::1;;;;;;;:::i;:::-;5485:35;::::0;-1:-1:-1;;;5485:35:0::1;::::0;::::1;4717:30:9::0;5453:19:0::1;::::0;4763:12:9;;5485:35:0::1;4515:266:9::0;7768:195:0;7818:4;7834:18;7865:33;;;;;;-1:-1:-1;;;4988:28:9;;5041:2;5032:12;;4786:264;3717:351:0;-1:-1:-1;;;;;;;;;;;2505:30:2;726:25:0;719:10:5;2505::2;:30::i;:::-;3816:11:0::1;::::0;3853:30:::1;::::0;-1:-1:-1;;;;;3816:11:0;;::::1;::::0;:26:::1;::::0;3853:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;3843:41;;;;;;3816:69;;;;;;;;;;;;;643:25:9::0;;631:2;616:18;;497:177;3816:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3815:70;3807:112;;;;-1:-1:-1::0;;;3807:112:0::1;;;;;;;:::i;:::-;3961:33;::::0;-1:-1:-1;;;3961:33:0::1;::::0;::::1;4988:28:9::0;3930:18:0::1;::::0;5032:12:9;;3961:33:0::1;4786:264:9::0;8406:199:0;8456:4;8472:19;8504:35;;;;;;-1:-1:-1;;;4717:30:9;;4772:2;4763:12;;4515:266;4765:362:0;-1:-1:-1;;;;;;;;;;;2505:30:2;726:25:0;719:10:5;2505::2;:30::i;:::-;4865:11:0::1;::::0;4902:30:::1;::::0;-1:-1:-1;;;;;4865:11:0;;::::1;::::0;:26:::1;::::0;4902:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;4892:41;;;;;;4865:69;;;;;;;;;;;;;643:25:9::0;;631:2;616:18;;497:177;4865:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4864:70;4856:112;;;;-1:-1:-1::0;;;4856:112:0::1;;;;;;;:::i;:::-;5013:37;::::0;-1:-1:-1;;;5013:37:0::1;::::0;::::1;5257:32:9::0;4979:21:0::1;::::0;5305:12:9;;5013:37:0::1;5055:268:9::0;7971:212:0;8021:4;8037:21;8071:44;;;;;;-1:-1:-1;;;5530:39:9;;5594:2;5585:12;;5328:275;7083:268:0;7133:7;7152:18;7183:48;;;;;;-1:-1:-1;;;5911:31:9;;-1:-1:-1;;;5967:2:9;5958:12;;5951:32;6008:2;5999:12;;5608:409;7183:48:0;;;;;;;-1:-1:-1;;7183:48:0;;;;;;;7173:59;;7183:48;7173:59;;;;7269:11;;-1:-1:-1;;;7269:41:0;;;;;643:25:9;;;7173:59:0;;-1:-1:-1;7243:23:0;;-1:-1:-1;;;;;7269:11:0;;;;:29;;616:18:9;;7269:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7243:67;7083:268;-1:-1:-1;;;7083:268:0:o;6117:478::-;-1:-1:-1;;;;;;;;;;;2505:30:2;726:25:0;719:10:5;2505::2;:30::i;:::-;6204:11:0::1;::::0;6241:30:::1;::::0;-1:-1:-1;;;;;6204:11:0;;::::1;::::0;:26:::1;::::0;6241:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;6231:41;;;;;;6204:69;;;;;;;;;;;;;643:25:9::0;;631:2;616:18;;497:177;6204:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6203:70;6195:112;;;;-1:-1:-1::0;;;6195:112:0::1;;;;;;;:::i;:::-;6350:28;::::0;-1:-1:-1;;;6350:28:0::1;::::0;::::1;6480:23:9::0;6318:19:0::1;::::0;6519:11:9;;6350:28:0::1;;;;;;;;;;;;6340:39;;;;;;6318:61;;6390:22;6425:31;;;;;;-1:-1:-1::0;;;6743:26:9;;6794:2;6785:12;;6541:262;6425:31:0::1;;::::0;;;;::::1;-1:-1:-1::0;;6425:31:0;;;;;;;6415:42;;6425:31:::1;6415:42:::0;;::::1;::::0;6478:11:::1;::::0;-1:-1:-1;;;6478:50:0;;::::1;::::0;::::1;4020:25:9::0;;;4061:18;;;4054:34;;;6415:42:0;;-1:-1:-1;;;;;;6478:11:0::1;::::0;:26:::1;::::0;3993:18:9;;6478:50:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;6539:11:0::1;::::0;:48:::1;::::0;-1:-1:-1;;;6539:48:0;;::::1;::::0;::::1;6976:25:9::0;;;6539:11:0;7017:18:9;;;7010:50;-1:-1:-1;;;;;6539:11:0;;::::1;::::0;-1:-1:-1;6539:26:0::1;::::0;-1:-1:-1;6949:18:9;;6539:48:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;6184:411;;6117:478:::0;;:::o;2909:145:2:-;2995:4;3018:12;;;;;;;;;;;-1:-1:-1;;;;;3018:29:2;;;;;;;;;;;;;;;2909:145::o;2969:198:0:-;-1:-1:-1;;;;;;;;;;;2505:30:2;726:25:0;719:10:5;2505::2;:30::i;:::-;3043:17:0::1;3073:30;;;;;;;:::i;:::-;;::::0;;;;::::1;-1:-1:-1::0;;3073:30:0;;;;;;;3063:41;;3073:30:::1;3063:41:::0;;::::1;::::0;3115:11:::1;::::0;-1:-1:-1;;;3115:44:0;;::::1;::::0;::::1;6976:25:9::0;;;7044:14;;7037:22;7017:18;;;7010:50;3063:41:0;;-1:-1:-1;;;;;;3115:11:0::1;::::0;:26:::1;::::0;6949:18:9;;3115:44:0::1;6808:258:9::0;4275:372:0;-1:-1:-1;;;;;;;;;;;2505:30:2;726:25:0;719:10:5;2505::2;:30::i;:::-;4376:11:0::1;::::0;4413:30:::1;::::0;-1:-1:-1;;;;;4376:11:0;;::::1;::::0;:26:::1;::::0;4413:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;4403:41;;;;;;4376:69;;;;;;;;;;;;;643:25:9::0;;631:2;616:18;;497:177;4376:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4375:70;4367:112;;;;-1:-1:-1::0;;;4367:112:0::1;;;;;;;:::i;:::-;4524:44;::::0;-1:-1:-1;;;4524:44:0::1;::::0;::::1;5530:39:9::0;4490:21:0::1;::::0;5585:12:9;;4524:44:0::1;5328:275:9::0;8617:185:0;8660:4;8676:19;8708:28;;;;;;-1:-1:-1;;;6480:23:9;;6528:1;6519:11;;6278:258;4766:147:2;4082:7;4108:12;;;;;;;;;;:22;;;2505:30;2516:4;719:10:5;2505::2;:30::i;:::-;4880:26:::1;4892:4;4898:7;4880:11;:26::i;8191:207:0:-:0;8243:4;8259:21;8293:37;;;;;;-1:-1:-1;;;5257:32:9;;5314:2;5305:12;;5055:268;3335:492:2;3423:22;3431:4;3437:7;3423;:22::i;:::-;3418:403;;3606:41;3634:7;-1:-1:-1;;;;;3606:41:2;3644:2;3606:19;:41::i;:::-;3718:38;3746:4;3753:2;3718:19;:38::i;:::-;3513:265;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3513:265:2;;;;;;;;;;-1:-1:-1;;;3461:349:2;;;;;;;:::i;6861:233::-;6944:22;6952:4;6958:7;6944;:22::i;:::-;6939:149;;6982:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6982:29:2;;;;;;;;;:36;;-1:-1:-1;;6982:36:2;7014:4;6982:36;;;7064:12;719:10:5;;640:96;7064:12:2;-1:-1:-1;;;;;7037:40:2;7055:7;-1:-1:-1;;;;;7037:40:2;7049:4;7037:40;;;;;;;;;;6861:233;;:::o;7219:234::-;7302:22;7310:4;7316:7;7302;:22::i;:::-;7298:149;;;7372:5;7340:12;;;;;;;;;;;-1:-1:-1;;;;;7340:29:2;;;;;;;;;;:37;;-1:-1:-1;;7340:37:2;;;7396:40;719:10:5;;7340:12:2;;7396:40;;7372:5;7396:40;7219:234;;:::o;1588:441:6:-;1663:13;1688:19;1720:10;1724:6;1720:1;:10;:::i;:::-;:14;;1733:1;1720:14;:::i;:::-;1710:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1710:25:6;;1688:47;;-1:-1:-1;;;1745:6:6;1752:1;1745:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1745:15:6;;;;;;;;;-1:-1:-1;;;1770:6:6;1777:1;1770:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1770:15:6;;;;;;;;-1:-1:-1;1800:9:6;1812:10;1816:6;1812:1;:10;:::i;:::-;:14;;1825:1;1812:14;:::i;:::-;1800:26;;1795:132;1832:1;1828;:5;1795:132;;;-1:-1:-1;;;1879:5:6;1887:3;1879:11;1866:25;;;;;;;:::i;:::-;;;;1854:6;1861:1;1854:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;1854:37:6;;;;;;;;-1:-1:-1;1915:1:6;1905:11;;;;;1835:3;;;:::i;:::-;;;1795:132;;;-1:-1:-1;1944:10:6;;1936:55;;;;-1:-1:-1;;;1936:55:6;;9558:2:9;1936:55:6;;;9540:21:9;;;9577:18;;;9570:30;9636:34;9616:18;;;9609:62;9688:18;;1936:55:6;9356:356:9;14:286;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:9;;209:43;;199:71;;266:1;263;256:12;679:180;738:6;791:2;779:9;770:7;766:23;762:32;759:52;;;807:1;804;797:12;759:52;-1:-1:-1;830:23:9;;679:180;-1:-1:-1;679:180:9:o;1231:131::-;-1:-1:-1;;;;;1306:31:9;;1296:42;;1286:70;;1352:1;1349;1342:12;1286:70;1231:131;:::o;1367:247::-;1426:6;1479:2;1467:9;1458:7;1454:23;1450:32;1447:52;;;1495:1;1492;1485:12;1447:52;1534:9;1521:23;1553:31;1578:5;1553:31;:::i;1619:315::-;1687:6;1695;1748:2;1736:9;1727:7;1723:23;1719:32;1716:52;;;1764:1;1761;1754:12;1716:52;1800:9;1787:23;1777:33;;1860:2;1849:9;1845:18;1832:32;1873:31;1898:5;1873:31;:::i;:::-;1923:5;1913:15;;;1619:315;;;;;:::o;2147:118::-;2233:5;2226:13;2219:21;2212:5;2209:32;2199:60;;2255:1;2252;2245:12;2270:241;2326:6;2379:2;2367:9;2358:7;2354:23;2350:32;2347:52;;;2395:1;2392;2385:12;2347:52;2434:9;2421:23;2453:28;2475:5;2453:28;:::i;2783:184::-;2853:6;2906:2;2894:9;2885:7;2881:23;2877:32;2874:52;;;2922:1;2919;2912:12;2874:52;-1:-1:-1;2945:16:9;;2783:184;-1:-1:-1;2783:184:9:o;2972:261::-;-1:-1:-1;;;3174:25:9;;3224:2;3215:12;;2972:261::o;3238:245::-;3305:6;3358:2;3346:9;3337:7;3333:23;3329:32;3326:52;;;3374:1;3371;3364:12;3326:52;3406:9;3400:16;3425:28;3447:5;3425:28;:::i;3488:353::-;3690:2;3672:21;;;3729:2;3709:18;;;3702:30;3768:31;3763:2;3748:18;;3741:59;3832:2;3817:18;;3488:353::o;6022:251::-;6092:6;6145:2;6133:9;6124:7;6120:23;6116:32;6113:52;;;6161:1;6158;6151:12;6113:52;6193:9;6187:16;6212:31;6237:5;6212:31;:::i;7071:258::-;7143:1;7153:113;7167:6;7164:1;7161:13;7153:113;;;7243:11;;;7237:18;7224:11;;;7217:39;7189:2;7182:10;7153:113;;;7284:6;7281:1;7278:13;7275:48;;;7319:1;7310:6;7305:3;7301:16;7294:27;7275:48;;7071:258;;;:::o;7334:786::-;7745:25;7740:3;7733:38;7715:3;7800:6;7794:13;7816:62;7871:6;7866:2;7861:3;7857:12;7850:4;7842:6;7838:17;7816:62;:::i;:::-;-1:-1:-1;;;7937:2:9;7897:16;;;7929:11;;;7922:40;7987:13;;8009:63;7987:13;8058:2;8050:11;;8043:4;8031:17;;8009:63;:::i;:::-;8092:17;8111:2;8088:26;;7334:786;-1:-1:-1;;;;7334:786:9:o;8125:383::-;8274:2;8263:9;8256:21;8237:4;8306:6;8300:13;8349:6;8344:2;8333:9;8329:18;8322:34;8365:66;8424:6;8419:2;8408:9;8404:18;8399:2;8391:6;8387:15;8365:66;:::i;:::-;8492:2;8471:15;-1:-1:-1;;8467:29:9;8452:45;;;;8499:2;8448:54;;8125:383;-1:-1:-1;;8125:383:9:o;8513:127::-;8574:10;8569:3;8565:20;8562:1;8555:31;8605:4;8602:1;8595:15;8629:4;8626:1;8619:15;8645:168;8685:7;8751:1;8747;8743:6;8739:14;8736:1;8733:21;8728:1;8721:9;8714:17;8710:45;8707:71;;;8758:18;;:::i;:::-;-1:-1:-1;8798:9:9;;8645:168::o;8818:128::-;8858:3;8889:1;8885:6;8882:1;8879:13;8876:39;;;8895:18;;:::i;:::-;-1:-1:-1;8931:9:9;;8818:128::o;8951:127::-;9012:10;9007:3;9003:20;9000:1;8993:31;9043:4;9040:1;9033:15;9067:4;9064:1;9057:15;9083:127;9144:10;9139:3;9135:20;9132:1;9125:31;9175:4;9172:1;9165:15;9199:4;9196:1;9189:15;9215:136;9254:3;9282:5;9272:39;;9291:18;;:::i;:::-;-1:-1:-1;;;9327:18:9;;9215:136::o", + "sourcePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol", + "compiler": { + "name": "solc", + "version": "0.8.9+commit.e5eed63a" + }, + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol", + "exportedSymbols": { + "AccessControl": [ + 1057 + ], + "Context": [ + 1192 + ], + "DataStorageInterface": [ + 748 + ], + "ERC165": [ + 1419 + ], + "IAccessControl": [ + 1130 + ], + "IERC165": [ + 1431 + ], + "PoolBase": [ + 648 + ], + "ReentrancyGuard": [ + 1170 + ], + "Strings": [ + 1395 + ] + }, + "id": 649, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1, + "literals": [ + "solidity", + "0.8", + ".9" + ], + "nodeType": "PragmaDirective", + "src": "33:22:0" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol", + "file": "./interfaces/DataStorageInterface.sol", + "id": 2, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 649, + "sourceUnit": 749, + "src": "201:47:0", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol", + "file": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol", + "id": 3, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 649, + "sourceUnit": 1058, + "src": "250:132:0", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol", + "file": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol", + "id": 4, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 649, + "sourceUnit": 1171, + "src": "384:136:0", + "symbolAliases": [], + "unitAlias": "" + }, + { + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 6, + "name": "AccessControl", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1057, + "src": "648:13:0" + }, + "id": 7, + "nodeType": "InheritanceSpecifier", + "src": "648:13:0" + }, + { + "baseName": { + "id": 8, + "name": "ReentrancyGuard", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1170, + "src": "663:15:0" + }, + "id": 9, + "nodeType": "InheritanceSpecifier", + "src": "663:15:0" + } + ], + "canonicalName": "PoolBase", + "contractDependencies": [], + "contractKind": "contract", + "documentation": { + "id": 5, + "nodeType": "StructuredDocumentation", + "src": "524:101:0", + "text": "@title This contract handles the modifiers and environmental parameters that control the pool. " + }, + "fullyImplemented": true, + "id": 648, + "linearizedBaseContracts": [ + 648, + 1170, + 1057, + 1419, + 1431, + 1130, + 1192 + ], + "name": "PoolBase", + "nameLocation": "636:8:0", + "nodeType": "ContractDefinition", + "nodes": [ + { + "constant": true, + "functionSelector": "62308e85", + "id": 14, + "mutability": "constant", + "name": "POOL_MANAGER", + "nameLocation": "711:12:0", + "nodeType": "VariableDeclaration", + "scope": 648, + "src": "687:64:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 10, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "687:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": { + "arguments": [ + { + "hexValue": "504f4f4c5f4d414e41474552", + "id": 12, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "736:14:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842", + "typeString": "literal_string \"POOL_MANAGER\"" + }, + "value": "POOL_MANAGER" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842", + "typeString": "literal_string \"POOL_MANAGER\"" + } + ], + "id": 11, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "726:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 13, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "726:25:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "public" + }, + { + "anonymous": false, + "id": 18, + "name": "NewManagerAdded", + "nameLocation": "785:15:0", + "nodeType": "EventDefinition", + "parameters": { + "id": 17, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 16, + "indexed": true, + "mutability": "mutable", + "name": "_newManager", + "nameLocation": "817:11:0", + "nodeType": "VariableDeclaration", + "scope": 18, + "src": "801:27:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 15, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "801:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "800:29:0" + }, + "src": "779:51:0" + }, + { + "anonymous": false, + "id": 22, + "name": "ManagerRemoved", + "nameLocation": "842:14:0", + "nodeType": "EventDefinition", + "parameters": { + "id": 21, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 20, + "indexed": true, + "mutability": "mutable", + "name": "_removedManager", + "nameLocation": "873:15:0", + "nodeType": "VariableDeclaration", + "scope": 22, + "src": "857:31:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 19, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "857:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "856:33:0" + }, + "src": "836:54:0" + }, + { + "constant": false, + "documentation": { + "id": 23, + "nodeType": "StructuredDocumentation", + "src": "898:55:0", + "text": "@notice Getting access to the DataStorage Contract." + }, + "id": 26, + "mutability": "mutable", + "name": "dataStorage", + "nameLocation": "980:11:0", + "nodeType": "VariableDeclaration", + "scope": 648, + "src": "959:32:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + }, + "typeName": { + "id": 25, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 24, + "name": "DataStorageInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 748, + "src": "959:20:0" + }, + "referencedDeclaration": 748, + "src": "959:20:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "visibility": "internal" + }, + { + "body": { + "id": 54, + "nodeType": "Block", + "src": "1262:206:0", + "statements": [ + { + "expression": { + "id": 37, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 33, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "1273:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "id": 35, + "name": "_dataStorageAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 30, + "src": "1308:19:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + ], + "id": 34, + "name": "DataStorageInterface", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 748, + "src": "1287:20:0", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_DataStorageInterface_$748_$", + "typeString": "type(contract DataStorageInterface)" + } + }, + "id": 36, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1287:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "src": "1273:55:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 38, + "nodeType": "ExpressionStatement", + "src": "1273:55:0" + }, + { + "expression": { + "arguments": [ + { + "id": 40, + "name": "DEFAULT_ADMIN_ROLE", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 776, + "src": "1350:18:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "expression": { + "id": 41, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1370:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 42, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "1370:10:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 39, + "name": "_setupRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 965, + "src": "1339:10:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 43, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1339:42:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 44, + "nodeType": "ExpressionStatement", + "src": "1339:42:0" + }, + { + "expression": { + "arguments": [ + { + "id": 46, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "1403:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "expression": { + "id": 47, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1417:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 48, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "1417:10:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 45, + "name": "_setupRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 965, + "src": "1392:10:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 49, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1392:36:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 50, + "nodeType": "ExpressionStatement", + "src": "1392:36:0" + }, + { + "expression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 51, + "name": "_setPoolBaseAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 162, + "src": "1439:19:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", + "typeString": "function ()" + } + }, + "id": 52, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1439:21:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 53, + "nodeType": "ExpressionStatement", + "src": "1439:21:0" + } + ] + }, + "documentation": { + "id": 27, + "nodeType": "StructuredDocumentation", + "src": "1004:199:0", + "text": "@notice This contract will be deployed by the same address of the initial guardian. Afterwards Guardian may not be the same as the admin\n @notice if the guardian renounces to their guard." + }, + "id": 55, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 31, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 30, + "mutability": "mutable", + "name": "_dataStorageAddress", + "nameLocation": "1242:19:0", + "nodeType": "VariableDeclaration", + "scope": 55, + "src": "1221:40:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + }, + "typeName": { + "id": 29, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 28, + "name": "DataStorageInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 748, + "src": "1221:20:0" + }, + "referencedDeclaration": 748, + "src": "1221:20:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "visibility": "internal" + } + ], + "src": "1220:42:0" + }, + "returnParameters": { + "id": 32, + "nodeType": "ParameterList", + "parameters": [], + "src": "1262:0:0" + }, + "scope": 648, + "src": "1209:259:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 69, + "nodeType": "Block", + "src": "1642:124:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 64, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 59, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1661:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 60, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "1661:10:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 61, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "1675:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 62, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getCurrentGuardian", + "nodeType": "MemberAccess", + "referencedDeclaration": 660, + "src": "1675:30:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", + "typeString": "function () view external returns (address)" + } + }, + "id": 63, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1675:32:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "1661:46:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "4f6e6c792063616c6c61626c652062792063757272656e7420677561726469616e2e", + "id": 65, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1709:36:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c295098e4653db03d2d22453c3eb7ae49307d50964fb5a9a1311d3fef2f9e749", + "typeString": "literal_string \"Only callable by current guardian.\"" + }, + "value": "Only callable by current guardian." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_c295098e4653db03d2d22453c3eb7ae49307d50964fb5a9a1311d3fef2f9e749", + "typeString": "literal_string \"Only callable by current guardian.\"" + } + ], + "id": 58, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "1653:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 66, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1653:93:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 67, + "nodeType": "ExpressionStatement", + "src": "1653:93:0" + }, + { + "id": 68, + "nodeType": "PlaceholderStatement", + "src": "1757:1:0" + } + ] + }, + "documentation": { + "id": 56, + "nodeType": "StructuredDocumentation", + "src": "1519:86:0", + "text": "@notice Besides the access control contract, the following modifiers will be used." + }, + "id": 70, + "name": "onlyCurrentGuardian", + "nameLocation": "1620:19:0", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 57, + "nodeType": "ParameterList", + "parameters": [], + "src": "1639:2:0" + }, + "src": "1611:155:0", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 88, + "nodeType": "Block", + "src": "1801:155:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f657869737473", + "id": 78, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1874:17:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + "value": "contract_exists" + }, + { + "expression": { + "id": 79, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1893:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 80, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "1893:10:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 76, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1857:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 77, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1857:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 81, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1857:47:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 75, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1847:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 82, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1847:58:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 73, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "1820:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 74, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 685, + "src": "1820:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 83, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1820:86:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "496e76616c696420436f6e747261637420416464726573732e", + "id": 84, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1908:27:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_d36e2fdd2f4d349fc44a9cc6ea1a2b4f2a7eb320cfe91d40a3a9a6af97aada24", + "typeString": "literal_string \"Invalid Contract Address.\"" + }, + "value": "Invalid Contract Address." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_d36e2fdd2f4d349fc44a9cc6ea1a2b4f2a7eb320cfe91d40a3a9a6af97aada24", + "typeString": "literal_string \"Invalid Contract Address.\"" + } + ], + "id": 72, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "1812:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 85, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1812:124:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 86, + "nodeType": "ExpressionStatement", + "src": "1812:124:0" + }, + { + "id": 87, + "nodeType": "PlaceholderStatement", + "src": "1947:1:0" + } + ] + }, + "id": 89, + "name": "onlyPoolContract", + "nameLocation": "1783:16:0", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 71, + "nodeType": "ParameterList", + "parameters": [], + "src": "1799:2:0" + }, + "src": "1774:182:0", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 106, + "nodeType": "Block", + "src": "2081:93:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 98, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "2102:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 99, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 91, + "src": "2116:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 97, + "name": "grantRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 908, + "src": "2092:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 100, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2092:33:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 101, + "nodeType": "ExpressionStatement", + "src": "2092:33:0" + }, + { + "eventCall": { + "arguments": [ + { + "id": 103, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 91, + "src": "2157:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 102, + "name": "NewManagerAdded", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 18, + "src": "2141:15:0", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 104, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2141:25:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 105, + "nodeType": "EmitStatement", + "src": "2136:30:0" + } + ] + }, + "functionSelector": "45077e71", + "id": 107, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 94, + "name": "DEFAULT_ADMIN_ROLE", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 776, + "src": "2061:18:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 95, + "kind": "modifierInvocation", + "modifierName": { + "id": 93, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 789, + "src": "2052:8:0" + }, + "nodeType": "ModifierInvocation", + "src": "2052:28:0" + } + ], + "name": "addPoolManager", + "nameLocation": "2011:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 92, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 91, + "mutability": "mutable", + "name": "_address", + "nameLocation": "2035:8:0", + "nodeType": "VariableDeclaration", + "scope": 107, + "src": "2027:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 90, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2027:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2026:18:0" + }, + "returnParameters": { + "id": 96, + "nodeType": "ParameterList", + "parameters": [], + "src": "2081:0:0" + }, + "scope": 648, + "src": "2002:172:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 124, + "nodeType": "Block", + "src": "2264:93:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 116, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "2286:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 117, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 109, + "src": "2300:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 115, + "name": "revokeRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 928, + "src": "2275:10:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 118, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2275:34:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 119, + "nodeType": "ExpressionStatement", + "src": "2275:34:0" + }, + { + "eventCall": { + "arguments": [ + { + "id": 121, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 109, + "src": "2340:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 120, + "name": "ManagerRemoved", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 22, + "src": "2325:14:0", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 122, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2325:24:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 123, + "nodeType": "EmitStatement", + "src": "2320:29:0" + } + ] + }, + "functionSelector": "29ca15bc", + "id": 125, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 112, + "name": "DEFAULT_ADMIN_ROLE", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 776, + "src": "2244:18:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 113, + "kind": "modifierInvocation", + "modifierName": { + "id": 111, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 789, + "src": "2235:8:0" + }, + "nodeType": "ModifierInvocation", + "src": "2235:28:0" + } + ], + "name": "removePoolManager", + "nameLocation": "2191:17:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 110, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 109, + "mutability": "mutable", + "name": "_address", + "nameLocation": "2218:8:0", + "nodeType": "VariableDeclaration", + "scope": 125, + "src": "2210:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 108, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2210:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2209:18:0" + }, + "returnParameters": { + "id": 114, + "nodeType": "ParameterList", + "parameters": [], + "src": "2264:0:0" + }, + "scope": 648, + "src": "2182:175:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 161, + "nodeType": "Block", + "src": "2582:230:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f657869737473", + "id": 135, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2647:17:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + "value": "contract_exists" + }, + { + "arguments": [ + { + "id": 138, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "2674:4:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolBase_$648", + "typeString": "contract PoolBase" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_PoolBase_$648", + "typeString": "contract PoolBase" + } + ], + "id": 137, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2666:7:0", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 136, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2666:7:0", + "typeDescriptions": {} + } + }, + "id": 139, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2666:13:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 133, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "2630:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 134, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "2630:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 140, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2630:50:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 132, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "2620:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 141, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2620:61:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "hexValue": "74727565", + "id": 142, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2683:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "expression": { + "id": 129, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "2593:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 131, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 711, + "src": "2593:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_bool_$returns$__$", + "typeString": "function (bytes32,bool) external" + } + }, + "id": 143, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2593:95:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 144, + "nodeType": "ExpressionStatement", + "src": "2593:95:0" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f61646472657373", + "id": 151, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2756:18:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + "value": "contract_address" + }, + { + "hexValue": "506f6f6c42617365", + "id": 152, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2776:10:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27", + "typeString": "literal_string \"PoolBase\"" + }, + "value": "PoolBase" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + { + "typeIdentifier": "t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27", + "typeString": "literal_string \"PoolBase\"" + } + ], + "expression": { + "id": 149, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "2739:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 150, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "2739:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 153, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2739:48:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 148, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "2729:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 154, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2729:59:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "arguments": [ + { + "id": 157, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "2798:4:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolBase_$648", + "typeString": "contract PoolBase" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_PoolBase_$648", + "typeString": "contract PoolBase" + } + ], + "id": 156, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2790:7:0", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 155, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2790:7:0", + "typeDescriptions": {} + } + }, + "id": 158, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2790:13:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 145, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "2699:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 147, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setAddressStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 718, + "src": "2699:29:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address) external" + } + }, + "id": 159, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2699:105:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 160, + "nodeType": "ExpressionStatement", + "src": "2699:105:0" + } + ] + }, + "documentation": { + "id": 126, + "nodeType": "StructuredDocumentation", + "src": "2411:126:0", + "text": "@dev Store this contract address and existance on the main storage.\n @notice Called while deploying the contract. " + }, + "id": 162, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_setPoolBaseAddress", + "nameLocation": "2552:19:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 127, + "nodeType": "ParameterList", + "parameters": [], + "src": "2571:2:0" + }, + "returnParameters": { + "id": 128, + "nodeType": "ParameterList", + "parameters": [], + "src": "2582:0:0" + }, + "scope": 648, + "src": "2543:269:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "private" + }, + { + "body": { + "id": 187, + "nodeType": "Block", + "src": "3032:135:0", + "statements": [ + { + "assignments": [ + 172 + ], + "declarations": [ + { + "constant": false, + "id": 172, + "mutability": "mutable", + "name": "statusTag", + "nameLocation": "3051:9:0", + "nodeType": "VariableDeclaration", + "scope": 187, + "src": "3043:17:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 171, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3043:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 179, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 176, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3090:12:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 174, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3073:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 175, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3073:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 177, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3073:30:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 173, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "3063:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 178, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3063:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3043:61:0" + }, + { + "expression": { + "arguments": [ + { + "id": 183, + "name": "statusTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 172, + "src": "3142:9:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 184, + "name": "_live", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 165, + "src": "3153:5:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "expression": { + "id": 180, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "3115:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 182, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 711, + "src": "3115:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_bool_$returns$__$", + "typeString": "function (bytes32,bool) external" + } + }, + "id": 185, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3115:44:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 186, + "nodeType": "ExpressionStatement", + "src": "3115:44:0" + } + ] + }, + "documentation": { + "id": 163, + "nodeType": "StructuredDocumentation", + "src": "2820:143:0", + "text": "@dev Toggles the Pool Investing Switch. \n @notice While live, anyone can invest but any state variable can be modified nor deleted." + }, + "functionSelector": "a4975516", + "id": 188, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 168, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "3018:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 169, + "kind": "modifierInvocation", + "modifierName": { + "id": 167, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 789, + "src": "3009:8:0" + }, + "nodeType": "ModifierInvocation", + "src": "3009:22:0" + } + ], + "name": "setPoolLive", + "nameLocation": "2978:11:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 166, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 165, + "mutability": "mutable", + "name": "_live", + "nameLocation": "2995:5:0", + "nodeType": "VariableDeclaration", + "scope": 188, + "src": "2990:10:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 164, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2990:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "2989:12:0" + }, + "returnParameters": { + "id": 170, + "nodeType": "ParameterList", + "parameters": [], + "src": "3032:0:0" + }, + "scope": 648, + "src": "2969:198:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 227, + "nodeType": "Block", + "src": "3371:272:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 207, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "3390:70:0", + "subExpression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 203, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3445:12:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 201, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3428:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 202, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3428:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 204, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3428:30:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 200, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "3418:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 205, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3418:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 198, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "3391:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 199, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 685, + "src": "3391:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 206, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3391:69:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "id": 208, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3462:31:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + }, + "value": "The pool is currently closed." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + } + ], + "id": 197, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "3382:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 209, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3382:112:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 210, + "nodeType": "ExpressionStatement", + "src": "3382:112:0" + }, + { + "assignments": [ + 212 + ], + "declarations": [ + { + "constant": false, + "id": 212, + "mutability": "mutable", + "name": "poolMaxSizeTag", + "nameLocation": "3513:14:0", + "nodeType": "VariableDeclaration", + "scope": 227, + "src": "3505:22:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 211, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3505:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 219, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "706f6f6c4d617853697a65", + "id": 216, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3557:13:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42", + "typeString": "literal_string \"poolMaxSize\"" + }, + "value": "poolMaxSize" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42", + "typeString": "literal_string \"poolMaxSize\"" + } + ], + "expression": { + "id": 214, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3540:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 215, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3540:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 217, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3540:31:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 213, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "3530:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 218, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3530:42:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3505:67:0" + }, + { + "expression": { + "arguments": [ + { + "id": 223, + "name": "poolMaxSizeTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 212, + "src": "3610:14:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 224, + "name": "_maxSize", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 191, + "src": "3626:8:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 220, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "3583:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 222, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 704, + "src": "3583:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 225, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3583:52:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 226, + "nodeType": "ExpressionStatement", + "src": "3583:52:0" + } + ] + }, + "documentation": { + "id": 189, + "nodeType": "StructuredDocumentation", + "src": "3175:121:0", + "text": "@dev Sets the Pool Maximium size expressed on ether.\n @param _maxSize is a WEI value (or BigInt / BigNumber)." + }, + "functionSelector": "12646987", + "id": 228, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 194, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "3357:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 195, + "kind": "modifierInvocation", + "modifierName": { + "id": 193, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 789, + "src": "3348:8:0" + }, + "nodeType": "ModifierInvocation", + "src": "3348:22:0" + } + ], + "name": "setPoolMaxSize", + "nameLocation": "3311:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 192, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 191, + "mutability": "mutable", + "name": "_maxSize", + "nameLocation": "3331:8:0", + "nodeType": "VariableDeclaration", + "scope": 228, + "src": "3326:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 190, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3326:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3325:15:0" + }, + "returnParameters": { + "id": 196, + "nodeType": "ParameterList", + "parameters": [], + "src": "3371:0:0" + }, + "scope": 648, + "src": "3302:341:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 267, + "nodeType": "Block", + "src": "3796:272:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 247, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "3815:70:0", + "subExpression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 243, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3870:12:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 241, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3853:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 242, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3853:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 244, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3853:30:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 240, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "3843:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 245, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3843:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 238, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "3816:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 239, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 685, + "src": "3816:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 246, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3816:69:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "id": 248, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3887:31:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + }, + "value": "The pool is currently closed." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + } + ], + "id": 237, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "3807:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 249, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3807:112:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 250, + "nodeType": "ExpressionStatement", + "src": "3807:112:0" + }, + { + "assignments": [ + 252 + ], + "declarations": [ + { + "constant": false, + "id": 252, + "mutability": "mutable", + "name": "daysRewTag", + "nameLocation": "3938:10:0", + "nodeType": "VariableDeclaration", + "scope": 267, + "src": "3930:18:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 251, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3930:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 259, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "64617973546f52657761726473", + "id": 256, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3978:15:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d", + "typeString": "literal_string \"daysToRewards\"" + }, + "value": "daysToRewards" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d", + "typeString": "literal_string \"daysToRewards\"" + } + ], + "expression": { + "id": 254, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3961:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 255, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3961:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 257, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3961:33:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 253, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "3951:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 258, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3951:44:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3930:65:0" + }, + { + "expression": { + "arguments": [ + { + "id": 263, + "name": "daysRewTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 252, + "src": "4033:10:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 264, + "name": "_daysToRewards", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 231, + "src": "4045:14:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 260, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "4006:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 262, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 704, + "src": "4006:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 265, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4006:54:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 266, + "nodeType": "ExpressionStatement", + "src": "4006:54:0" + } + ] + }, + "documentation": { + "id": 229, + "nodeType": "StructuredDocumentation", + "src": "3655:56:0", + "text": "@dev Set the interval in days of the rewards period." + }, + "functionSelector": "53710f49", + "id": 268, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 234, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "3782:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 235, + "kind": "modifierInvocation", + "modifierName": { + "id": 233, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 789, + "src": "3773:8:0" + }, + "nodeType": "ModifierInvocation", + "src": "3773:22:0" + } + ], + "name": "setRewardsInterval", + "nameLocation": "3726:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 232, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 231, + "mutability": "mutable", + "name": "_daysToRewards", + "nameLocation": "3750:14:0", + "nodeType": "VariableDeclaration", + "scope": 268, + "src": "3745:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 230, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3745:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3744:21:0" + }, + "returnParameters": { + "id": 236, + "nodeType": "ParameterList", + "parameters": [], + "src": "3796:0:0" + }, + "scope": 648, + "src": "3717:351:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 307, + "nodeType": "Block", + "src": "4356:291:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 287, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "4375:70:0", + "subExpression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 283, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4430:12:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 281, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "4413:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 282, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "4413:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 284, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4413:30:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 280, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "4403:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 285, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4403:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 278, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "4376:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 279, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 685, + "src": "4376:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 286, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4376:69:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "id": 288, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4447:31:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + }, + "value": "The pool is currently closed." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + } + ], + "id": 277, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "4367:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 289, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4367:112:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 290, + "nodeType": "ExpressionStatement", + "src": "4367:112:0" + }, + { + "assignments": [ + 292 + ], + "declarations": [ + { + "constant": false, + "id": 292, + "mutability": "mutable", + "name": "rewardsIntTag", + "nameLocation": "4498:13:0", + "nodeType": "VariableDeclaration", + "scope": 307, + "src": "4490:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 291, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4490:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 299, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "72657761726473496e746572657374506572506572696f64", + "id": 296, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4541:26:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c", + "typeString": "literal_string \"rewardsInterestPerPeriod\"" + }, + "value": "rewardsInterestPerPeriod" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c", + "typeString": "literal_string \"rewardsInterestPerPeriod\"" + } + ], + "expression": { + "id": 294, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "4524:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 295, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "4524:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 297, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4524:44:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 293, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "4514:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 298, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4514:55:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4490:79:0" + }, + { + "expression": { + "arguments": [ + { + "id": 303, + "name": "rewardsIntTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 292, + "src": "4607:13:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 304, + "name": "_rewardsInterest", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 271, + "src": "4622:16:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 300, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "4580:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 302, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 704, + "src": "4580:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 305, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4580:59:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 306, + "nodeType": "ExpressionStatement", + "src": "4580:59:0" + } + ] + }, + "documentation": { + "id": 269, + "nodeType": "StructuredDocumentation", + "src": "4076:193:0", + "text": "@dev Set the interest per effective period.\n @param _rewardsInterest within the storage has 6 decimals.\n @notice E.G. If 0.001134 rate is desired, 0.001134 * (10**6) = 1134." + }, + "functionSelector": "bf4c0036", + "id": 308, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 274, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "4342:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 275, + "kind": "modifierInvocation", + "modifierName": { + "id": 273, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 789, + "src": "4333:8:0" + }, + "nodeType": "ModifierInvocation", + "src": "4333:22:0" + } + ], + "name": "setRewardsInterest", + "nameLocation": "4284:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 272, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 271, + "mutability": "mutable", + "name": "_rewardsInterest", + "nameLocation": "4308:16:0", + "nodeType": "VariableDeclaration", + "scope": 308, + "src": "4303:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 270, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "4303:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "4302:23:0" + }, + "returnParameters": { + "id": 276, + "nodeType": "ParameterList", + "parameters": [], + "src": "4356:0:0" + }, + "scope": 648, + "src": "4275:372:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 347, + "nodeType": "Block", + "src": "4845:282:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 327, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "4864:70:0", + "subExpression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 323, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4919:12:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 321, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "4902:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 322, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "4902:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 324, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4902:30:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 320, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "4892:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 325, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4892:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 318, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "4865:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 319, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 685, + "src": "4865:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 326, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4865:69:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "id": 328, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4936:31:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + }, + "value": "The pool is currently closed." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + } + ], + "id": 317, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "4856:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 329, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4856:112:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 330, + "nodeType": "ExpressionStatement", + "src": "4856:112:0" + }, + { + "assignments": [ + 332 + ], + "declarations": [ + { + "constant": false, + "id": 332, + "mutability": "mutable", + "name": "contrLimitTag", + "nameLocation": "4987:13:0", + "nodeType": "VariableDeclaration", + "scope": 347, + "src": "4979:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 331, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4979:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 339, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e747269627574696f6e4c696d6974", + "id": 336, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5030:19:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044", + "typeString": "literal_string \"contributionLimit\"" + }, + "value": "contributionLimit" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044", + "typeString": "literal_string \"contributionLimit\"" + } + ], + "expression": { + "id": 334, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "5013:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 335, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5013:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 337, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5013:37:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 333, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "5003:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 338, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5003:48:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4979:72:0" + }, + { + "expression": { + "arguments": [ + { + "id": 343, + "name": "contrLimitTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 332, + "src": "5089:13:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 344, + "name": "_newContrLimit", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 311, + "src": "5104:14:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 340, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "5062:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 342, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 704, + "src": "5062:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 345, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5062:57:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 346, + "nodeType": "ExpressionStatement", + "src": "5062:57:0" + } + ] + }, + "documentation": { + "id": 309, + "nodeType": "StructuredDocumentation", + "src": "4655:104:0", + "text": "@dev Set the max. contribution allowed for each user.\n @param _newContrLimit is a WEI value." + }, + "functionSelector": "72d099a0", + "id": 348, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 314, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "4832:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 315, + "kind": "modifierInvocation", + "modifierName": { + "id": 313, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 789, + "src": "4823:8:0" + }, + "nodeType": "ModifierInvocation", + "src": "4823:22:0" + } + ], + "name": "setContributionLimit", + "nameLocation": "4774:20:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 312, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 311, + "mutability": "mutable", + "name": "_newContrLimit", + "nameLocation": "4800:14:0", + "nodeType": "VariableDeclaration", + "scope": 348, + "src": "4795:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 310, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "4795:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "4794:21:0" + }, + "returnParameters": { + "id": 316, + "nodeType": "ParameterList", + "parameters": [], + "src": "4845:0:0" + }, + "scope": 648, + "src": "4765:362:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 387, + "nodeType": "Block", + "src": "5319:274:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 367, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "5338:70:0", + "subExpression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 363, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5393:12:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 361, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "5376:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 362, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5376:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 364, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5376:30:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 360, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "5366:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 365, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5366:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 358, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "5339:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 359, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 685, + "src": "5339:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 366, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5339:69:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "id": 368, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5410:31:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + }, + "value": "The pool is currently closed." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + } + ], + "id": 357, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "5330:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 369, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5330:112:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 370, + "nodeType": "ExpressionStatement", + "src": "5330:112:0" + }, + { + "assignments": [ + 372 + ], + "declarations": [ + { + "constant": false, + "id": 372, + "mutability": "mutable", + "name": "minContrTag", + "nameLocation": "5461:11:0", + "nodeType": "VariableDeclaration", + "scope": 387, + "src": "5453:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 371, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "5453:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 379, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6d696e436f6e747269627574696f6e", + "id": 376, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5502:17:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36", + "typeString": "literal_string \"minContribution\"" + }, + "value": "minContribution" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36", + "typeString": "literal_string \"minContribution\"" + } + ], + "expression": { + "id": 374, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "5485:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 375, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5485:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 377, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5485:35:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 373, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "5475:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 378, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5475:46:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5453:68:0" + }, + { + "expression": { + "arguments": [ + { + "id": 383, + "name": "minContrTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 372, + "src": "5559:11:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 384, + "name": "_newMinContr", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 351, + "src": "5572:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 380, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "5532:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 382, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 704, + "src": "5532:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 385, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5532:53:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 386, + "nodeType": "ExpressionStatement", + "src": "5532:53:0" + } + ] + }, + "documentation": { + "id": 349, + "nodeType": "StructuredDocumentation", + "src": "5135:102:0", + "text": "@dev Set the min. contribution allowed for each user.\n @param _newMinContr is a WEI value." + }, + "functionSelector": "473b0d46", + "id": 388, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 354, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "5306:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 355, + "kind": "modifierInvocation", + "modifierName": { + "id": 353, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 789, + "src": "5297:8:0" + }, + "nodeType": "ModifierInvocation", + "src": "5297:22:0" + } + ], + "name": "setMinContribution", + "nameLocation": "5252:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 352, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 351, + "mutability": "mutable", + "name": "_newMinContr", + "nameLocation": "5276:12:0", + "nodeType": "VariableDeclaration", + "scope": 388, + "src": "5271:17:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 350, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "5271:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "5270:19:0" + }, + "returnParameters": { + "id": 356, + "nodeType": "ParameterList", + "parameters": [], + "src": "5319:0:0" + }, + "scope": 648, + "src": "5243:350:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 443, + "nodeType": "Block", + "src": "6184:411:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 407, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "6203:70:0", + "subExpression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 403, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6258:12:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 401, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "6241:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 402, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "6241:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 404, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6241:30:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 400, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "6231:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 405, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6231:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 398, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "6204:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 399, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 685, + "src": "6204:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 406, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6204:69:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "id": 408, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6275:31:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + }, + "value": "The pool is currently closed." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + } + ], + "id": 397, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "6195:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 409, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6195:112:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 410, + "nodeType": "ExpressionStatement", + "src": "6195:112:0" + }, + { + "assignments": [ + 412 + ], + "declarations": [ + { + "constant": false, + "id": 412, + "mutability": "mutable", + "name": "poolFeesTag", + "nameLocation": "6326:11:0", + "nodeType": "VariableDeclaration", + "scope": 443, + "src": "6318:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 411, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6318:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 419, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "706f6f6c46656573", + "id": 416, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6367:10:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_0f5404ed03256cc6395ed559bf52ccb5ab11bf8dddbd240da7e6d5ad4ab04dd7", + "typeString": "literal_string \"poolFees\"" + }, + "value": "poolFees" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_0f5404ed03256cc6395ed559bf52ccb5ab11bf8dddbd240da7e6d5ad4ab04dd7", + "typeString": "literal_string \"poolFees\"" + } + ], + "expression": { + "id": 414, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "6350:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 415, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "6350:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 417, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6350:28:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 413, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "6340:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 418, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6340:39:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6318:61:0" + }, + { + "assignments": [ + 421 + ], + "declarations": [ + { + "constant": false, + "id": 421, + "mutability": "mutable", + "name": "poolFeesSetTag", + "nameLocation": "6398:14:0", + "nodeType": "VariableDeclaration", + "scope": 443, + "src": "6390:22:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 420, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6390:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 428, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "706f6f6c46656573536574", + "id": 425, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6442:13:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_8f6e48ebe95c46ad356449234d760f7838119a9ccd28d70c8f8be00c200e3039", + "typeString": "literal_string \"poolFeesSet\"" + }, + "value": "poolFeesSet" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_8f6e48ebe95c46ad356449234d760f7838119a9ccd28d70c8f8be00c200e3039", + "typeString": "literal_string \"poolFeesSet\"" + } + ], + "expression": { + "id": 423, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "6425:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 424, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "6425:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 426, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6425:31:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 422, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "6415:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 427, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6415:42:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6390:67:0" + }, + { + "expression": { + "arguments": [ + { + "id": 432, + "name": "poolFeesTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 412, + "src": "6505:11:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 433, + "name": "_poolFees", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 391, + "src": "6518:9:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 429, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "6478:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 431, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 704, + "src": "6478:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 434, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6478:50:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 435, + "nodeType": "ExpressionStatement", + "src": "6478:50:0" + }, + { + "expression": { + "arguments": [ + { + "id": 439, + "name": "poolFeesSetTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 421, + "src": "6566:14:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "hexValue": "74727565", + "id": 440, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6582:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "expression": { + "id": 436, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "6539:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 438, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 711, + "src": "6539:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_bool_$returns$__$", + "typeString": "function (bytes32,bool) external" + } + }, + "id": 441, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6539:48:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 442, + "nodeType": "ExpressionStatement", + "src": "6539:48:0" + } + ] + }, + "documentation": { + "id": 389, + "nodeType": "StructuredDocumentation", + "src": "5607:504:0", + "text": "@dev Set the pool fees fraction that the pool charges for each deposit.\n @param _poolFees within the storage has 6 decimals.\n @notice E.G. If 0.001235 fees fraction are desired, 0.001235 * (10**6) = 1235.\n @notice Also it sets the state variable \"poolFeesSet\" as true.\n @notice If the poolFees are higher than the Interest Per period, it means tha the user will have to \n @notice wait more than one period to recover that fee. Management & Operation choices..." + }, + "functionSelector": "8dd225d5", + "id": 444, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 394, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "6170:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 395, + "kind": "modifierInvocation", + "modifierName": { + "id": 393, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 789, + "src": "6161:8:0" + }, + "nodeType": "ModifierInvocation", + "src": "6161:22:0" + } + ], + "name": "setPoolFees", + "nameLocation": "6126:11:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 392, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 391, + "mutability": "mutable", + "name": "_poolFees", + "nameLocation": "6143:9:0", + "nodeType": "VariableDeclaration", + "scope": 444, + "src": "6138:14:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 390, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "6138:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "6137:16:0" + }, + "returnParameters": { + "id": 396, + "nodeType": "ParameterList", + "parameters": [], + "src": "6184:0:0" + }, + "scope": 648, + "src": "6117:478:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 481, + "nodeType": "Block", + "src": "6780:295:0", + "statements": [ + { + "assignments": [ + 453 + ], + "declarations": [ + { + "constant": false, + "id": 453, + "mutability": "mutable", + "name": "addressTag", + "nameLocation": "6799:10:0", + "nodeType": "VariableDeclaration", + "scope": 481, + "src": "6791:18:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 452, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6791:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 461, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f61646472657373", + "id": 457, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6839:18:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + "value": "contract_address" + }, + { + "id": 458, + "name": "_contractName", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 447, + "src": "6859:13:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 455, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "6822:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 456, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "6822:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 459, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6822:51:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 454, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "6812:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 460, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6812:62:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6791:83:0" + }, + { + "assignments": [ + 463 + ], + "declarations": [ + { + "constant": false, + "id": 463, + "mutability": "mutable", + "name": "contractAddress", + "nameLocation": "6893:15:0", + "nodeType": "VariableDeclaration", + "scope": 481, + "src": "6885:23:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 462, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6885:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "id": 468, + "initialValue": { + "arguments": [ + { + "id": 466, + "name": "addressTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 453, + "src": "6941:10:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 464, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "6911:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 465, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getAddressStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 692, + "src": "6911:29:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_address_$", + "typeString": "function (bytes32) view external returns (address)" + } + }, + "id": 467, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6911:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6885:67:0" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 475, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 470, + "name": "contractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 463, + "src": "6971:15:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "arguments": [ + { + "hexValue": "307830", + "id": 473, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6998:3:0", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0x0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 472, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "6990:7:0", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 471, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6990:7:0", + "typeDescriptions": {} + } + }, + "id": 474, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6990:12:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "6971:31:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "436f6e74726163742061646472657373206e6f7420666f756e642e", + "id": 476, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7004:29:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_308638a0d46b73b9203c635ec2b36574c482f0f0b0c13080ce12f9b33ca2d5c6", + "typeString": "literal_string \"Contract address not found.\"" + }, + "value": "Contract address not found." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_308638a0d46b73b9203c635ec2b36574c482f0f0b0c13080ce12f9b33ca2d5c6", + "typeString": "literal_string \"Contract address not found.\"" + } + ], + "id": 469, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "6963:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 477, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6963:71:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 478, + "nodeType": "ExpressionStatement", + "src": "6963:71:0" + }, + { + "expression": { + "id": 479, + "name": "contractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 463, + "src": "7052:15:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "functionReturnParameters": 451, + "id": 480, + "nodeType": "Return", + "src": "7045:22:0" + } + ] + }, + "documentation": { + "id": 445, + "nodeType": "StructuredDocumentation", + "src": "6645:42:0", + "text": "@dev Getters for each pool variable." + }, + "id": 482, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getContractAddress", + "nameLocation": "6702:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 448, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 447, + "mutability": "mutable", + "name": "_contractName", + "nameLocation": "6735:13:0", + "nodeType": "VariableDeclaration", + "scope": 482, + "src": "6721:27:0", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 446, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "6721:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "6720:29:0" + }, + "returnParameters": { + "id": 451, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 450, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 482, + "src": "6772:7:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 449, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6772:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "6771:9:0" + }, + "scope": 648, + "src": "6693:382:0", + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 506, + "nodeType": "Block", + "src": "7141:210:0", + "statements": [ + { + "assignments": [ + 488 + ], + "declarations": [ + { + "constant": false, + "id": 488, + "mutability": "mutable", + "name": "addressTag", + "nameLocation": "7160:10:0", + "nodeType": "VariableDeclaration", + "scope": 506, + "src": "7152:18:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 487, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "7152:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 496, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f61646472657373", + "id": 492, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7200:18:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + "value": "contract_address" + }, + { + "hexValue": "506f6f6c42617365", + "id": 493, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7220:10:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27", + "typeString": "literal_string \"PoolBase\"" + }, + "value": "PoolBase" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + { + "typeIdentifier": "t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27", + "typeString": "literal_string \"PoolBase\"" + } + ], + "expression": { + "id": 490, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "7183:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 491, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "7183:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 494, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7183:48:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 489, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "7173:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 495, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7173:59:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7152:80:0" + }, + { + "assignments": [ + 498 + ], + "declarations": [ + { + "constant": false, + "id": 498, + "mutability": "mutable", + "name": "contractAddress", + "nameLocation": "7251:15:0", + "nodeType": "VariableDeclaration", + "scope": 506, + "src": "7243:23:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 497, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "7243:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "id": 503, + "initialValue": { + "arguments": [ + { + "id": 501, + "name": "addressTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 488, + "src": "7299:10:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 499, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "7269:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 500, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getAddressStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 692, + "src": "7269:29:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_address_$", + "typeString": "function (bytes32) view external returns (address)" + } + }, + "id": 502, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7269:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7243:67:0" + }, + { + "expression": { + "id": 504, + "name": "contractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 498, + "src": "7328:15:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "functionReturnParameters": 486, + "id": 505, + "nodeType": "Return", + "src": "7321:22:0" + } + ] + }, + "functionSelector": "8ae68134", + "id": 507, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getPoolBaseAddress", + "nameLocation": "7092:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 483, + "nodeType": "ParameterList", + "parameters": [], + "src": "7110:2:0" + }, + "returnParameters": { + "id": 486, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 485, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 507, + "src": "7133:7:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 484, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "7133:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "7132:9:0" + }, + "scope": 648, + "src": "7083:268:0", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 526, + "nodeType": "Block", + "src": "7412:135:0", + "statements": [ + { + "assignments": [ + 513 + ], + "declarations": [ + { + "constant": false, + "id": 513, + "mutability": "mutable", + "name": "statusTag", + "nameLocation": "7431:9:0", + "nodeType": "VariableDeclaration", + "scope": 526, + "src": "7423:17:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 512, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "7423:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 520, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 517, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7470:12:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 515, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "7453:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 516, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "7453:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 518, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7453:30:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 514, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "7443:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 519, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7443:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7423:61:0" + }, + { + "expression": { + "arguments": [ + { + "id": 523, + "name": "statusTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 513, + "src": "7529:9:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 521, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "7502:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 522, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 685, + "src": "7502:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 524, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7502:37:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "functionReturnParameters": 511, + "id": 525, + "nodeType": "Return", + "src": "7495:44:0" + } + ] + }, + "functionSelector": "217ac237", + "id": 527, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getPoolState", + "nameLocation": "7372:12:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 508, + "nodeType": "ParameterList", + "parameters": [], + "src": "7384:2:0" + }, + "returnParameters": { + "id": 511, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 510, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 527, + "src": "7407:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 509, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "7407:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "7406:6:0" + }, + "scope": 648, + "src": "7363:184:0", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 546, + "nodeType": "Block", + "src": "7606:154:0", + "statements": [ + { + "assignments": [ + 533 + ], + "declarations": [ + { + "constant": false, + "id": 533, + "mutability": "mutable", + "name": "poolMaxSizeTag", + "nameLocation": "7625:14:0", + "nodeType": "VariableDeclaration", + "scope": 546, + "src": "7617:22:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 532, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "7617:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 540, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "706f6f6c4d617853697a65", + "id": 537, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7669:13:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42", + "typeString": "literal_string \"poolMaxSize\"" + }, + "value": "poolMaxSize" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42", + "typeString": "literal_string \"poolMaxSize\"" + } + ], + "expression": { + "id": 535, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "7652:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 536, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "7652:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 538, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7652:31:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 534, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "7642:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 539, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7642:42:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7617:67:0" + }, + { + "expression": { + "arguments": [ + { + "id": 543, + "name": "poolMaxSizeTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 533, + "src": "7729:14:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 541, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "7702:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 542, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 678, + "src": "7702:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 544, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7702:42:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 531, + "id": 545, + "nodeType": "Return", + "src": "7695:49:0" + } + ] + }, + "functionSelector": "095df57f", + "id": 547, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getPoolMaxSize", + "nameLocation": "7564:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 528, + "nodeType": "ParameterList", + "parameters": [], + "src": "7578:2:0" + }, + "returnParameters": { + "id": 531, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 530, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 547, + "src": "7601:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 529, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7601:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "7600:6:0" + }, + "scope": 648, + "src": "7555:205:0", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 566, + "nodeType": "Block", + "src": "7823:140:0", + "statements": [ + { + "assignments": [ + 553 + ], + "declarations": [ + { + "constant": false, + "id": 553, + "mutability": "mutable", + "name": "daysRewTag", + "nameLocation": "7842:10:0", + "nodeType": "VariableDeclaration", + "scope": 566, + "src": "7834:18:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 552, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "7834:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 560, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "64617973546f52657761726473", + "id": 557, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7882:15:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d", + "typeString": "literal_string \"daysToRewards\"" + }, + "value": "daysToRewards" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d", + "typeString": "literal_string \"daysToRewards\"" + } + ], + "expression": { + "id": 555, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "7865:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 556, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "7865:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 558, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7865:33:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 554, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "7855:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 559, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7855:44:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7834:65:0" + }, + { + "expression": { + "arguments": [ + { + "id": 563, + "name": "daysRewTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 553, + "src": "7944:10:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 561, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "7917:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 562, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 678, + "src": "7917:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 564, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7917:38:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 551, + "id": 565, + "nodeType": "Return", + "src": "7910:45:0" + } + ] + }, + "functionSelector": "497d0241", + "id": 567, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getRewardsInterval", + "nameLocation": "7777:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 548, + "nodeType": "ParameterList", + "parameters": [], + "src": "7795:2:0" + }, + "returnParameters": { + "id": 551, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 550, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 567, + "src": "7818:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 549, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7818:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "7817:6:0" + }, + "scope": 648, + "src": "7768:195:0", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 586, + "nodeType": "Block", + "src": "8026:157:0", + "statements": [ + { + "assignments": [ + 573 + ], + "declarations": [ + { + "constant": false, + "id": 573, + "mutability": "mutable", + "name": "rewardsIntTag", + "nameLocation": "8045:13:0", + "nodeType": "VariableDeclaration", + "scope": 586, + "src": "8037:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 572, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "8037:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 580, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "72657761726473496e746572657374506572506572696f64", + "id": 577, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8088:26:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c", + "typeString": "literal_string \"rewardsInterestPerPeriod\"" + }, + "value": "rewardsInterestPerPeriod" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c", + "typeString": "literal_string \"rewardsInterestPerPeriod\"" + } + ], + "expression": { + "id": 575, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "8071:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 576, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "8071:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 578, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8071:44:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 574, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "8061:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 579, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8061:55:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8037:79:0" + }, + { + "expression": { + "arguments": [ + { + "id": 583, + "name": "rewardsIntTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 573, + "src": "8161:13:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 581, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "8134:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 582, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 678, + "src": "8134:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 584, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8134:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 571, + "id": 585, + "nodeType": "Return", + "src": "8127:48:0" + } + ] + }, + "functionSelector": "7521796f", + "id": 587, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getRewardsInterest", + "nameLocation": "7980:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 568, + "nodeType": "ParameterList", + "parameters": [], + "src": "7998:2:0" + }, + "returnParameters": { + "id": 571, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 570, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 587, + "src": "8021:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 569, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8021:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "8020:6:0" + }, + "scope": 648, + "src": "7971:212:0", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 606, + "nodeType": "Block", + "src": "8248:150:0", + "statements": [ + { + "assignments": [ + 593 + ], + "declarations": [ + { + "constant": false, + "id": 593, + "mutability": "mutable", + "name": "contrLimitTag", + "nameLocation": "8267:13:0", + "nodeType": "VariableDeclaration", + "scope": 606, + "src": "8259:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 592, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "8259:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 600, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e747269627574696f6e4c696d6974", + "id": 597, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8310:19:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044", + "typeString": "literal_string \"contributionLimit\"" + }, + "value": "contributionLimit" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044", + "typeString": "literal_string \"contributionLimit\"" + } + ], + "expression": { + "id": 595, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "8293:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 596, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "8293:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 598, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8293:37:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 594, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "8283:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 599, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8283:48:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8259:72:0" + }, + { + "expression": { + "arguments": [ + { + "id": 603, + "name": "contrLimitTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 593, + "src": "8376:13:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 601, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "8349:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 602, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 678, + "src": "8349:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 604, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8349:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 591, + "id": 605, + "nodeType": "Return", + "src": "8342:48:0" + } + ] + }, + "functionSelector": "fa1e19e5", + "id": 607, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getContributionLimit", + "nameLocation": "8200:20:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 588, + "nodeType": "ParameterList", + "parameters": [], + "src": "8220:2:0" + }, + "returnParameters": { + "id": 591, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 590, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 607, + "src": "8243:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 589, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8243:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "8242:6:0" + }, + "scope": 648, + "src": "8191:207:0", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 626, + "nodeType": "Block", + "src": "8461:144:0", + "statements": [ + { + "assignments": [ + 613 + ], + "declarations": [ + { + "constant": false, + "id": 613, + "mutability": "mutable", + "name": "minContrTag", + "nameLocation": "8480:11:0", + "nodeType": "VariableDeclaration", + "scope": 626, + "src": "8472:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 612, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "8472:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 620, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6d696e436f6e747269627574696f6e", + "id": 617, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8521:17:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36", + "typeString": "literal_string \"minContribution\"" + }, + "value": "minContribution" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36", + "typeString": "literal_string \"minContribution\"" + } + ], + "expression": { + "id": 615, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "8504:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 616, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "8504:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 618, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8504:35:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 614, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "8494:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 619, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8494:46:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8472:68:0" + }, + { + "expression": { + "arguments": [ + { + "id": 623, + "name": "minContrTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 613, + "src": "8585:11:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 621, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "8558:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 622, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 678, + "src": "8558:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 624, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8558:39:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 611, + "id": 625, + "nodeType": "Return", + "src": "8551:46:0" + } + ] + }, + "functionSelector": "6cff7473", + "id": 627, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getMinContribution", + "nameLocation": "8415:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 608, + "nodeType": "ParameterList", + "parameters": [], + "src": "8433:2:0" + }, + "returnParameters": { + "id": 611, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 610, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 627, + "src": "8456:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 609, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8456:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "8455:6:0" + }, + "scope": 648, + "src": "8406:199:0", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 646, + "nodeType": "Block", + "src": "8665:137:0", + "statements": [ + { + "assignments": [ + 633 + ], + "declarations": [ + { + "constant": false, + "id": 633, + "mutability": "mutable", + "name": "poolFeesTag", + "nameLocation": "8684:11:0", + "nodeType": "VariableDeclaration", + "scope": 646, + "src": "8676:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 632, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "8676:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 640, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "706f6f6c46656573", + "id": 637, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8725:10:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_0f5404ed03256cc6395ed559bf52ccb5ab11bf8dddbd240da7e6d5ad4ab04dd7", + "typeString": "literal_string \"poolFees\"" + }, + "value": "poolFees" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_0f5404ed03256cc6395ed559bf52ccb5ab11bf8dddbd240da7e6d5ad4ab04dd7", + "typeString": "literal_string \"poolFees\"" + } + ], + "expression": { + "id": 635, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "8708:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 636, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "8708:16:0", + "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, + "names": [], + "nodeType": "FunctionCall", + "src": "8708:28:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 634, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "8698:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 639, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8698:39:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8676:61:0" + }, + { + "expression": { + "arguments": [ + { + "id": 643, + "name": "poolFeesTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 633, + "src": "8782:11:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 641, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "8755:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$748", + "typeString": "contract DataStorageInterface" + } + }, + "id": 642, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 678, + "src": "8755:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 644, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8755:39:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 631, + "id": 645, + "nodeType": "Return", + "src": "8748:46:0" + } + ] + }, + "functionSelector": "d1d8d060", + "id": 647, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getPoolFees", + "nameLocation": "8626:11:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 628, + "nodeType": "ParameterList", + "parameters": [], + "src": "8637:2:0" + }, + "returnParameters": { + "id": 631, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 630, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 647, + "src": "8660:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 629, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8660:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "8659:6:0" + }, + "scope": 648, + "src": "8617:185:0", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + } + ], + "scope": 649, + "src": "627:8190:0", + "usedErrors": [] + } + ], + "src": "33:8784:0" + }, + "functionHashes": { + "DEFAULT_ADMIN_ROLE()": "a217fddf", + "POOL_MANAGER()": "62308e85", + "addPoolManager(address)": "45077e71", + "getContributionLimit()": "fa1e19e5", + "getMinContribution()": "6cff7473", + "getPoolBaseAddress()": "8ae68134", + "getPoolFees()": "d1d8d060", + "getPoolMaxSize()": "095df57f", + "getPoolState()": "217ac237", + "getRewardsInterest()": "7521796f", + "getRewardsInterval()": "497d0241", + "getRoleAdmin(bytes32)": "248a9ca3", + "grantRole(bytes32,address)": "2f2ff15d", + "hasRole(bytes32,address)": "91d14854", + "removePoolManager(address)": "29ca15bc", + "renounceRole(bytes32,address)": "36568abe", + "revokeRole(bytes32,address)": "d547741f", + "setContributionLimit(uint256)": "72d099a0", + "setMinContribution(uint256)": "473b0d46", + "setPoolFees(uint256)": "8dd225d5", + "setPoolLive(bool)": "a4975516", + "setPoolMaxSize(uint256)": "12646987", + "setRewardsInterest(uint256)": "bf4c0036", + "setRewardsInterval(uint256)": "53710f49", + "supportsInterface(bytes4)": "01ffc9a7" + }, + "gasEstimates": { + "creation": { + "codeDepositCost": "1150600", + "executionCost": "infinite", + "totalCost": "infinite" + }, + "external": { + "DEFAULT_ADMIN_ROLE()": "262", + "POOL_MANAGER()": "infinite", + "addPoolManager(address)": "infinite", + "getContributionLimit()": "infinite", + "getMinContribution()": "infinite", + "getPoolBaseAddress()": "infinite", + "getPoolFees()": "infinite", + "getPoolMaxSize()": "infinite", + "getPoolState()": "infinite", + "getRewardsInterest()": "infinite", + "getRewardsInterval()": "infinite", + "getRoleAdmin(bytes32)": "2559", + "grantRole(bytes32,address)": "infinite", + "hasRole(bytes32,address)": "2695", + "removePoolManager(address)": "infinite", + "renounceRole(bytes32,address)": "29039", + "revokeRole(bytes32,address)": "infinite", + "setContributionLimit(uint256)": "infinite", + "setMinContribution(uint256)": "infinite", + "setPoolFees(uint256)": "infinite", + "setPoolLive(bool)": "infinite", + "setPoolMaxSize(uint256)": "infinite", + "setRewardsInterest(uint256)": "infinite", + "setRewardsInterval(uint256)": "infinite", + "supportsInterface(bytes4)": "450" + }, + "internal": { + "_setPoolBaseAddress()": "infinite", + "getContractAddress(string memory)": "infinite" + } + } +} \ No newline at end of file diff --git a/bin/contracts/PoolBaseInterface-solc-output.json b/bin/contracts/PoolBaseInterface-solc-output.json new file mode 100644 index 00000000..87174a58 --- /dev/null +++ b/bin/contracts/PoolBaseInterface-solc-output.json @@ -0,0 +1,1202 @@ +{ + "contracts": { + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBaseInterface.sol": { + "PoolBaseInterface": { + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "addPoolManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "getContributionLimit", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getMinContribution", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolFees", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolMaxSize", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolState", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardsInterest", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardsInterval", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "removePoolManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newContrLimit", + "type": "uint256" + } + ], + "name": "setContributionLimit", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newMinContr", + "type": "uint256" + } + ], + "name": "setMinContribution", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_poolFees", + "type": "uint256" + } + ], + "name": "setPoolFees", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bool", + "name": "_live", + "type": "bool" + } + ], + "name": "setPoolLive", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_maxSize", + "type": "uint256" + } + ], + "name": "setPoolMaxSize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_rewardsInterest", + "type": "uint256" + } + ], + "name": "setRewardsInterest", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_daysToRewards", + "type": "uint256" + } + ], + "name": "setRewardsInterval", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "addPoolManager(address)": "45077e71", + "getContributionLimit()": "fa1e19e5", + "getMinContribution()": "6cff7473", + "getPoolFees()": "d1d8d060", + "getPoolMaxSize()": "095df57f", + "getPoolState()": "217ac237", + "getRewardsInterest()": "7521796f", + "getRewardsInterval()": "497d0241", + "removePoolManager(address)": "29ca15bc", + "setContributionLimit(uint256)": "72d099a0", + "setMinContribution(uint256)": "473b0d46", + "setPoolFees(uint256)": "8dd225d5", + "setPoolLive(bool)": "a4975516", + "setPoolMaxSize(uint256)": "12646987", + "setRewardsInterest(uint256)": "bf4c0036", + "setRewardsInterval(uint256)": "53710f49" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"addPoolManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getContributionLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMinContribution\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolMaxSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolState\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsInterest\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsInterval\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"removePoolManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newContrLimit\",\"type\":\"uint256\"}],\"name\":\"setContributionLimit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newMinContr\",\"type\":\"uint256\"}],\"name\":\"setMinContribution\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_poolFees\",\"type\":\"uint256\"}],\"name\":\"setPoolFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_live\",\"type\":\"bool\"}],\"name\":\"setPoolLive\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxSize\",\"type\":\"uint256\"}],\"name\":\"setPoolMaxSize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_rewardsInterest\",\"type\":\"uint256\"}],\"name\":\"setRewardsInterest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_daysToRewards\",\"type\":\"uint256\"}],\"name\":\"setRewardsInterval\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBaseInterface.sol\":\"PoolBaseInterface\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBaseInterface.sol\":{\"keccak256\":\"0xcf924f2321a3fcf8d11d60b25d955b3ddefe62829a0d275ec767b5370d8d90c5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f69e2f391f116c892e2ffb41592e719c83f4c9030490856c7c8a922c8c1ac06d\",\"dweb:/ipfs/QmPM8J997StcBpZy1jzXweVQk581ty8iyzgxzrCD1eAdRZ\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + } + }, + "sources": { + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBaseInterface.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBaseInterface.sol", + "exportedSymbols": { + "PoolBaseInterface": [ + 82 + ] + }, + "id": 83, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1, + "literals": [ + "solidity", + "0.8", + ".9" + ], + "nodeType": "PragmaDirective", + "src": "33:22:0" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "PoolBaseInterface", + "contractDependencies": [], + "contractKind": "interface", + "fullyImplemented": false, + "id": 82, + "linearizedBaseContracts": [ + 82 + ], + "name": "PoolBaseInterface", + "nameLocation": "69:17:0", + "nodeType": "ContractDefinition", + "nodes": [ + { + "functionSelector": "45077e71", + "id": 6, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "addPoolManager", + "nameLocation": "105:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 4, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3, + "mutability": "mutable", + "name": "_address", + "nameLocation": "129:8:0", + "nodeType": "VariableDeclaration", + "scope": 6, + "src": "121:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "121:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "120:18:0" + }, + "returnParameters": { + "id": 5, + "nodeType": "ParameterList", + "parameters": [], + "src": "147:0:0" + }, + "scope": 82, + "src": "96:52:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "29ca15bc", + "id": 11, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "removePoolManager", + "nameLocation": "163:17:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 9, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 8, + "mutability": "mutable", + "name": "_address", + "nameLocation": "190:8:0", + "nodeType": "VariableDeclaration", + "scope": 11, + "src": "182:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 7, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "182:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "181:18:0" + }, + "returnParameters": { + "id": 10, + "nodeType": "ParameterList", + "parameters": [], + "src": "208:0:0" + }, + "scope": 82, + "src": "154:55:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "a4975516", + "id": 16, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setPoolLive", + "nameLocation": "226:11:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 14, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 13, + "mutability": "mutable", + "name": "_live", + "nameLocation": "243:5:0", + "nodeType": "VariableDeclaration", + "scope": 16, + "src": "238:10:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 12, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "238:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "237:12:0" + }, + "returnParameters": { + "id": 15, + "nodeType": "ParameterList", + "parameters": [], + "src": "258:0:0" + }, + "scope": 82, + "src": "217:42:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "12646987", + "id": 21, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setPoolMaxSize", + "nameLocation": "274:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 19, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 18, + "mutability": "mutable", + "name": "_maxSize", + "nameLocation": "294:8:0", + "nodeType": "VariableDeclaration", + "scope": 21, + "src": "289:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 17, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "289:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "288:15:0" + }, + "returnParameters": { + "id": 20, + "nodeType": "ParameterList", + "parameters": [], + "src": "312:0:0" + }, + "scope": 82, + "src": "265:48:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "53710f49", + "id": 26, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setRewardsInterval", + "nameLocation": "329:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 24, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 23, + "mutability": "mutable", + "name": "_daysToRewards", + "nameLocation": "353:14:0", + "nodeType": "VariableDeclaration", + "scope": 26, + "src": "348:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 22, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "348:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "347:21:0" + }, + "returnParameters": { + "id": 25, + "nodeType": "ParameterList", + "parameters": [], + "src": "377:0:0" + }, + "scope": 82, + "src": "320:58:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "bf4c0036", + "id": 31, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setRewardsInterest", + "nameLocation": "393:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 29, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 28, + "mutability": "mutable", + "name": "_rewardsInterest", + "nameLocation": "417:16:0", + "nodeType": "VariableDeclaration", + "scope": 31, + "src": "412:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 27, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "412:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "411:23:0" + }, + "returnParameters": { + "id": 30, + "nodeType": "ParameterList", + "parameters": [], + "src": "443:0:0" + }, + "scope": 82, + "src": "384:60:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "72d099a0", + "id": 36, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setContributionLimit", + "nameLocation": "459:20:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 34, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 33, + "mutability": "mutable", + "name": "_newContrLimit", + "nameLocation": "485:14:0", + "nodeType": "VariableDeclaration", + "scope": 36, + "src": "480:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 32, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "480:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "479:21:0" + }, + "returnParameters": { + "id": 35, + "nodeType": "ParameterList", + "parameters": [], + "src": "509:0:0" + }, + "scope": 82, + "src": "450:60:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "473b0d46", + "id": 41, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setMinContribution", + "nameLocation": "525:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 39, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 38, + "mutability": "mutable", + "name": "_newMinContr", + "nameLocation": "549:12:0", + "nodeType": "VariableDeclaration", + "scope": 41, + "src": "544:17:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 37, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "544:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "543:19:0" + }, + "returnParameters": { + "id": 40, + "nodeType": "ParameterList", + "parameters": [], + "src": "571:0:0" + }, + "scope": 82, + "src": "516:56:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "8dd225d5", + "id": 46, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setPoolFees", + "nameLocation": "587:11:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 44, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 43, + "mutability": "mutable", + "name": "_poolFees", + "nameLocation": "604:9:0", + "nodeType": "VariableDeclaration", + "scope": 46, + "src": "599:14:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 42, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "599:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "598:16:0" + }, + "returnParameters": { + "id": 45, + "nodeType": "ParameterList", + "parameters": [], + "src": "623:0:0" + }, + "scope": 82, + "src": "578:46:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "217ac237", + "id": 51, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getPoolState", + "nameLocation": "641:12:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 47, + "nodeType": "ParameterList", + "parameters": [], + "src": "653:2:0" + }, + "returnParameters": { + "id": 50, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 49, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 51, + "src": "678:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 48, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "678:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "677:6:0" + }, + "scope": 82, + "src": "632:52:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "095df57f", + "id": 56, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getPoolMaxSize", + "nameLocation": "699:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 52, + "nodeType": "ParameterList", + "parameters": [], + "src": "713:2:0" + }, + "returnParameters": { + "id": 55, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 54, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 56, + "src": "738:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 53, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "738:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "737:6:0" + }, + "scope": 82, + "src": "690:54:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "497d0241", + "id": 61, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getRewardsInterval", + "nameLocation": "759:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 57, + "nodeType": "ParameterList", + "parameters": [], + "src": "777:2:0" + }, + "returnParameters": { + "id": 60, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 59, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 61, + "src": "802:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 58, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "802:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "801:6:0" + }, + "scope": 82, + "src": "750:58:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "7521796f", + "id": 66, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getRewardsInterest", + "nameLocation": "823:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 62, + "nodeType": "ParameterList", + "parameters": [], + "src": "841:2:0" + }, + "returnParameters": { + "id": 65, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 64, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 66, + "src": "866:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 63, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "866:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "865:6:0" + }, + "scope": 82, + "src": "814:58:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "fa1e19e5", + "id": 71, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getContributionLimit", + "nameLocation": "887:20:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 67, + "nodeType": "ParameterList", + "parameters": [], + "src": "907:2:0" + }, + "returnParameters": { + "id": 70, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 69, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 71, + "src": "932:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 68, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "932:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "931:6:0" + }, + "scope": 82, + "src": "878:60:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "6cff7473", + "id": 76, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getMinContribution", + "nameLocation": "953:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 72, + "nodeType": "ParameterList", + "parameters": [], + "src": "971:2:0" + }, + "returnParameters": { + "id": 75, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 74, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 76, + "src": "996:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 73, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "996:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "995:6:0" + }, + "scope": 82, + "src": "944:58:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "d1d8d060", + "id": 81, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getPoolFees", + "nameLocation": "1017:11:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 77, + "nodeType": "ParameterList", + "parameters": [], + "src": "1028:2:0" + }, + "returnParameters": { + "id": 80, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 79, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 81, + "src": "1053:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 78, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1053:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1052:6:0" + }, + "scope": 82, + "src": "1008:51:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + } + ], + "scope": 83, + "src": "59:1003:0", + "usedErrors": [] + } + ], + "src": "33:1029:0" + }, + "id": 0 + } + } +} \ No newline at end of file diff --git a/bin/contracts/PoolBaseInterface.abi b/bin/contracts/PoolBaseInterface.abi new file mode 100644 index 00000000..4608d5ba --- /dev/null +++ b/bin/contracts/PoolBaseInterface.abi @@ -0,0 +1 @@ +[{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"addPoolManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getContributionLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMinContribution","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPoolFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPoolMaxSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPoolState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewardsInterest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewardsInterval","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"removePoolManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newContrLimit","type":"uint256"}],"name":"setContributionLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMinContr","type":"uint256"}],"name":"setMinContribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_poolFees","type":"uint256"}],"name":"setPoolFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_live","type":"bool"}],"name":"setPoolLive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSize","type":"uint256"}],"name":"setPoolMaxSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardsInterest","type":"uint256"}],"name":"setRewardsInterest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_daysToRewards","type":"uint256"}],"name":"setRewardsInterval","outputs":[],"stateMutability":"nonpayable","type":"function"}] \ No newline at end of file diff --git a/bin/contracts/PoolBaseInterface.bin b/bin/contracts/PoolBaseInterface.bin new file mode 100644 index 00000000..e69de29b diff --git a/bin/contracts/PoolBaseInterface.json b/bin/contracts/PoolBaseInterface.json new file mode 100644 index 00000000..866a26bf --- /dev/null +++ b/bin/contracts/PoolBaseInterface.json @@ -0,0 +1,1168 @@ +{ + "contractName": "PoolBaseInterface", + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "addPoolManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "getContributionLimit", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getMinContribution", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolFees", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolMaxSize", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolState", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardsInterest", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardsInterval", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "removePoolManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newContrLimit", + "type": "uint256" + } + ], + "name": "setContributionLimit", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newMinContr", + "type": "uint256" + } + ], + "name": "setMinContribution", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_poolFees", + "type": "uint256" + } + ], + "name": "setPoolFees", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bool", + "name": "_live", + "type": "bool" + } + ], + "name": "setPoolLive", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_maxSize", + "type": "uint256" + } + ], + "name": "setPoolMaxSize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_rewardsInterest", + "type": "uint256" + } + ], + "name": "setRewardsInterest", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_daysToRewards", + "type": "uint256" + } + ], + "name": "setRewardsInterval", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"addPoolManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getContributionLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMinContribution\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolMaxSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolState\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsInterest\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsInterval\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"removePoolManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newContrLimit\",\"type\":\"uint256\"}],\"name\":\"setContributionLimit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newMinContr\",\"type\":\"uint256\"}],\"name\":\"setMinContribution\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_poolFees\",\"type\":\"uint256\"}],\"name\":\"setPoolFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_live\",\"type\":\"bool\"}],\"name\":\"setPoolLive\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxSize\",\"type\":\"uint256\"}],\"name\":\"setPoolMaxSize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_rewardsInterest\",\"type\":\"uint256\"}],\"name\":\"setRewardsInterest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_daysToRewards\",\"type\":\"uint256\"}],\"name\":\"setRewardsInterval\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBaseInterface.sol\":\"PoolBaseInterface\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBaseInterface.sol\":{\"keccak256\":\"0xcf924f2321a3fcf8d11d60b25d955b3ddefe62829a0d275ec767b5370d8d90c5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f69e2f391f116c892e2ffb41592e719c83f4c9030490856c7c8a922c8c1ac06d\",\"dweb:/ipfs/QmPM8J997StcBpZy1jzXweVQk581ty8iyzgxzrCD1eAdRZ\"]}},\"version\":1}", + "bytecode": "", + "deployedBytecode": "", + "sourceMap": "", + "deployedSourceMap": "", + "sourcePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBaseInterface.sol", + "compiler": { + "name": "solc", + "version": "0.8.9+commit.e5eed63a" + }, + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBaseInterface.sol", + "exportedSymbols": { + "PoolBaseInterface": [ + 82 + ] + }, + "id": 83, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1, + "literals": [ + "solidity", + "0.8", + ".9" + ], + "nodeType": "PragmaDirective", + "src": "33:22:0" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "PoolBaseInterface", + "contractDependencies": [], + "contractKind": "interface", + "fullyImplemented": false, + "id": 82, + "linearizedBaseContracts": [ + 82 + ], + "name": "PoolBaseInterface", + "nameLocation": "69:17:0", + "nodeType": "ContractDefinition", + "nodes": [ + { + "functionSelector": "45077e71", + "id": 6, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "addPoolManager", + "nameLocation": "105:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 4, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3, + "mutability": "mutable", + "name": "_address", + "nameLocation": "129:8:0", + "nodeType": "VariableDeclaration", + "scope": 6, + "src": "121:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "121:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "120:18:0" + }, + "returnParameters": { + "id": 5, + "nodeType": "ParameterList", + "parameters": [], + "src": "147:0:0" + }, + "scope": 82, + "src": "96:52:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "29ca15bc", + "id": 11, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "removePoolManager", + "nameLocation": "163:17:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 9, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 8, + "mutability": "mutable", + "name": "_address", + "nameLocation": "190:8:0", + "nodeType": "VariableDeclaration", + "scope": 11, + "src": "182:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 7, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "182:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "181:18:0" + }, + "returnParameters": { + "id": 10, + "nodeType": "ParameterList", + "parameters": [], + "src": "208:0:0" + }, + "scope": 82, + "src": "154:55:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "a4975516", + "id": 16, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setPoolLive", + "nameLocation": "226:11:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 14, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 13, + "mutability": "mutable", + "name": "_live", + "nameLocation": "243:5:0", + "nodeType": "VariableDeclaration", + "scope": 16, + "src": "238:10:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 12, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "238:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "237:12:0" + }, + "returnParameters": { + "id": 15, + "nodeType": "ParameterList", + "parameters": [], + "src": "258:0:0" + }, + "scope": 82, + "src": "217:42:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "12646987", + "id": 21, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setPoolMaxSize", + "nameLocation": "274:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 19, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 18, + "mutability": "mutable", + "name": "_maxSize", + "nameLocation": "294:8:0", + "nodeType": "VariableDeclaration", + "scope": 21, + "src": "289:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 17, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "289:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "288:15:0" + }, + "returnParameters": { + "id": 20, + "nodeType": "ParameterList", + "parameters": [], + "src": "312:0:0" + }, + "scope": 82, + "src": "265:48:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "53710f49", + "id": 26, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setRewardsInterval", + "nameLocation": "329:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 24, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 23, + "mutability": "mutable", + "name": "_daysToRewards", + "nameLocation": "353:14:0", + "nodeType": "VariableDeclaration", + "scope": 26, + "src": "348:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 22, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "348:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "347:21:0" + }, + "returnParameters": { + "id": 25, + "nodeType": "ParameterList", + "parameters": [], + "src": "377:0:0" + }, + "scope": 82, + "src": "320:58:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "bf4c0036", + "id": 31, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setRewardsInterest", + "nameLocation": "393:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 29, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 28, + "mutability": "mutable", + "name": "_rewardsInterest", + "nameLocation": "417:16:0", + "nodeType": "VariableDeclaration", + "scope": 31, + "src": "412:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 27, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "412:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "411:23:0" + }, + "returnParameters": { + "id": 30, + "nodeType": "ParameterList", + "parameters": [], + "src": "443:0:0" + }, + "scope": 82, + "src": "384:60:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "72d099a0", + "id": 36, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setContributionLimit", + "nameLocation": "459:20:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 34, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 33, + "mutability": "mutable", + "name": "_newContrLimit", + "nameLocation": "485:14:0", + "nodeType": "VariableDeclaration", + "scope": 36, + "src": "480:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 32, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "480:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "479:21:0" + }, + "returnParameters": { + "id": 35, + "nodeType": "ParameterList", + "parameters": [], + "src": "509:0:0" + }, + "scope": 82, + "src": "450:60:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "473b0d46", + "id": 41, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setMinContribution", + "nameLocation": "525:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 39, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 38, + "mutability": "mutable", + "name": "_newMinContr", + "nameLocation": "549:12:0", + "nodeType": "VariableDeclaration", + "scope": 41, + "src": "544:17:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 37, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "544:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "543:19:0" + }, + "returnParameters": { + "id": 40, + "nodeType": "ParameterList", + "parameters": [], + "src": "571:0:0" + }, + "scope": 82, + "src": "516:56:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "8dd225d5", + "id": 46, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setPoolFees", + "nameLocation": "587:11:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 44, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 43, + "mutability": "mutable", + "name": "_poolFees", + "nameLocation": "604:9:0", + "nodeType": "VariableDeclaration", + "scope": 46, + "src": "599:14:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 42, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "599:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "598:16:0" + }, + "returnParameters": { + "id": 45, + "nodeType": "ParameterList", + "parameters": [], + "src": "623:0:0" + }, + "scope": 82, + "src": "578:46:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "217ac237", + "id": 51, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getPoolState", + "nameLocation": "641:12:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 47, + "nodeType": "ParameterList", + "parameters": [], + "src": "653:2:0" + }, + "returnParameters": { + "id": 50, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 49, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 51, + "src": "678:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 48, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "678:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "677:6:0" + }, + "scope": 82, + "src": "632:52:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "095df57f", + "id": 56, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getPoolMaxSize", + "nameLocation": "699:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 52, + "nodeType": "ParameterList", + "parameters": [], + "src": "713:2:0" + }, + "returnParameters": { + "id": 55, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 54, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 56, + "src": "738:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 53, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "738:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "737:6:0" + }, + "scope": 82, + "src": "690:54:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "497d0241", + "id": 61, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getRewardsInterval", + "nameLocation": "759:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 57, + "nodeType": "ParameterList", + "parameters": [], + "src": "777:2:0" + }, + "returnParameters": { + "id": 60, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 59, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 61, + "src": "802:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 58, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "802:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "801:6:0" + }, + "scope": 82, + "src": "750:58:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "7521796f", + "id": 66, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getRewardsInterest", + "nameLocation": "823:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 62, + "nodeType": "ParameterList", + "parameters": [], + "src": "841:2:0" + }, + "returnParameters": { + "id": 65, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 64, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 66, + "src": "866:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 63, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "866:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "865:6:0" + }, + "scope": 82, + "src": "814:58:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "fa1e19e5", + "id": 71, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getContributionLimit", + "nameLocation": "887:20:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 67, + "nodeType": "ParameterList", + "parameters": [], + "src": "907:2:0" + }, + "returnParameters": { + "id": 70, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 69, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 71, + "src": "932:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 68, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "932:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "931:6:0" + }, + "scope": 82, + "src": "878:60:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "6cff7473", + "id": 76, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getMinContribution", + "nameLocation": "953:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 72, + "nodeType": "ParameterList", + "parameters": [], + "src": "971:2:0" + }, + "returnParameters": { + "id": 75, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 74, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 76, + "src": "996:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 73, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "996:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "995:6:0" + }, + "scope": 82, + "src": "944:58:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "d1d8d060", + "id": 81, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getPoolFees", + "nameLocation": "1017:11:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 77, + "nodeType": "ParameterList", + "parameters": [], + "src": "1028:2:0" + }, + "returnParameters": { + "id": 80, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 79, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 81, + "src": "1053:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 78, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1053:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1052:6:0" + }, + "scope": 82, + "src": "1008:51:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + } + ], + "scope": 83, + "src": "59:1003:0", + "usedErrors": [] + } + ], + "src": "33:1029:0" + }, + "functionHashes": { + "addPoolManager(address)": "45077e71", + "getContributionLimit()": "fa1e19e5", + "getMinContribution()": "6cff7473", + "getPoolFees()": "d1d8d060", + "getPoolMaxSize()": "095df57f", + "getPoolState()": "217ac237", + "getRewardsInterest()": "7521796f", + "getRewardsInterval()": "497d0241", + "removePoolManager(address)": "29ca15bc", + "setContributionLimit(uint256)": "72d099a0", + "setMinContribution(uint256)": "473b0d46", + "setPoolFees(uint256)": "8dd225d5", + "setPoolLive(bool)": "a4975516", + "setPoolMaxSize(uint256)": "12646987", + "setRewardsInterest(uint256)": "bf4c0036", + "setRewardsInterval(uint256)": "53710f49" + }, + "gasEstimates": null +} \ No newline at end of file diff --git a/bin/contracts/PoolClient-solc-output.json b/bin/contracts/PoolClient-solc-output.json new file mode 100644 index 00000000..c98c4f8d --- /dev/null +++ b/bin/contracts/PoolClient-solc-output.json @@ -0,0 +1,53367 @@ +{ + "contracts": { + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol": { + "PoolBase": { + "abi": [ + { + "inputs": [ + { + "internalType": "contract DataStorageInterface", + "name": "_dataStorageAddress", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_removedManager", + "type": "address" + } + ], + "name": "ManagerRemoved", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_newManager", + "type": "address" + } + ], + "name": "NewManagerAdded", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "POOL_MANAGER", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "addPoolManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "getContributionLimit", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getMinContribution", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolBaseAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolMaxSize", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolState", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardsInterest", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardsInterval", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "removePoolManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newContrLimit", + "type": "uint256" + } + ], + "name": "setContributionLimit", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newMinContr", + "type": "uint256" + } + ], + "name": "setMinContribution", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bool", + "name": "_live", + "type": "bool" + } + ], + "name": "setPoolLive", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_maxSize", + "type": "uint256" + } + ], + "name": "setPoolMaxSize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_rewardsInterest", + "type": "uint256" + } + ], + "name": "setRewardsInterest", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_daysToRewards", + "type": "uint256" + } + ], + "name": "setRewardsInterval", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "devdoc": { + "kind": "dev", + "methods": { + "getRoleAdmin(bytes32)": { + "details": "Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}." + }, + "grantRole(bytes32,address)": { + "details": "Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role." + }, + "hasRole(bytes32,address)": { + "details": "Returns `true` if `account` has been granted `role`." + }, + "renounceRole(bytes32,address)": { + "details": "Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`." + }, + "revokeRole(bytes32,address)": { + "details": "Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role." + }, + "setContributionLimit(uint256)": { + "details": "Set the max. contribution allowed for each user.", + "params": { + "_newContrLimit": "is a WEI value." + } + }, + "setMinContribution(uint256)": { + "details": "Set the min. contribution allowed for each user.", + "params": { + "_newMinContr": "is a WEI value." + } + }, + "setPoolLive(bool)": { + "details": "Toggles the Pool Investing Switch. " + }, + "setPoolMaxSize(uint256)": { + "details": "Sets the Pool Maximium size expressed on ether.", + "params": { + "_maxSize": "is a WEI value (or BigInt / BigNumber)." + } + }, + "setRewardsInterest(uint256)": { + "details": "Set the interest per effective period.", + "params": { + "_rewardsInterest": "within the storage has 6 decimals." + } + }, + "setRewardsInterval(uint256)": { + "details": "Set the interval in days of the rewards period." + }, + "supportsInterface(bytes4)": { + "details": "See {IERC165-supportsInterface}." + } + }, + "title": "This contract handles the modifiers and environmental parameters that control the pool. ", + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": { + "@_1926": { + "entryPoint": null, + "id": 1926, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_55": { + "entryPoint": null, + "id": 55, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@_grantRole_1802": { + "entryPoint": 531, + "id": 1802, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@_msgSender_2037": { + "entryPoint": null, + "id": 2037, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@_setPoolBaseAddress_162": { + "entryPoint": 173, + "id": 162, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_setupRole_1742": { + "entryPoint": 157, + "id": 1742, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@hasRole_1607": { + "entryPoint": null, + "id": 1607, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_contract$_DataStorageInterface_$1393_fromMemory": { + "entryPoint": 691, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + } + }, + "generatedSources": [ + { + "ast": { + "nodeType": "YulBlock", + "src": "0:1666:15", + "statements": [ + { + "nodeType": "YulBlock", + "src": "6:3:15", + "statements": [] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "124:209:15", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "170:16:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "179:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "182:1:15", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "172:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "172:12:15" + }, + "nodeType": "YulExpressionStatement", + "src": "172:12:15" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "145:7:15" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "154:9:15" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "141:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "141:23:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "166:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "137:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "137:32:15" + }, + "nodeType": "YulIf", + "src": "134:52:15" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "195:29:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "214:9:15" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "208:5:15" + }, + "nodeType": "YulFunctionCall", + "src": "208:16:15" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "199:5:15", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "287:16:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "296:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "299:1:15", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "289:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "289:12:15" + }, + "nodeType": "YulExpressionStatement", + "src": "289:12:15" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "246:5:15" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "257:5:15" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "272:3:15", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "277:1:15", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "268:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "268:11:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "281:1:15", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "264:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "264:19:15" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "253:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "253:31:15" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "243:2:15" + }, + "nodeType": "YulFunctionCall", + "src": "243:42:15" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "236:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "236:50:15" + }, + "nodeType": "YulIf", + "src": "233:70:15" + }, + { + "nodeType": "YulAssignment", + "src": "312:15:15", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "322:5:15" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "312:6:15" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_contract$_DataStorageInterface_$1393_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "90:9:15", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "101:7:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "113:6:15", + "type": "" + } + ], + "src": "14:319:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "558:150:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "575:3:15" + }, + { + "hexValue": "636f6e74726163745f657869737473", + "kind": "string", + "nodeType": "YulLiteral", + "src": "580:17:15", + "type": "", + "value": "contract_exists" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "568:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "568:30:15" + }, + "nodeType": "YulExpressionStatement", + "src": "568:30:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "618:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "623:2:15", + "type": "", + "value": "15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "614:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "614:12:15" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "636:2:15", + "type": "", + "value": "96" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "640:6:15" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "632:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "632:15:15" + }, + { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "661:2:15", + "type": "", + "value": "96" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "665:1:15", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "657:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "657:10:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "669:1:15", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "653:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "653:18:15" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "649:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "649:23:15" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "628:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "628:45:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "607:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "607:67:15" + }, + "nodeType": "YulExpressionStatement", + "src": "607:67:15" + }, + { + "nodeType": "YulAssignment", + "src": "683:19:15", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "694:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "699:2:15", + "type": "", + "value": "35" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "690:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "690:12:15" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "683:3:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "534:3:15", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "539:6:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "550:3:15", + "type": "" + } + ], + "src": "338:370:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "836:135:15", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "846:26:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "858:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "869:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "854:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "854:18:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "846:4:15" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "888:9:15" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "899:6:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "881:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "881:25:15" + }, + "nodeType": "YulExpressionStatement", + "src": "881:25:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "926:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "937:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "922:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "922:18:15" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "956:6:15" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "949:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "949:14:15" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "942:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "942:22:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "915:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "915:50:15" + }, + "nodeType": "YulExpressionStatement", + "src": "915:50:15" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "797:9:15", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "808:6:15", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "816:6:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "827:4:15", + "type": "" + } + ], + "src": "713:258:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1269:116:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "1286:3:15" + }, + { + "hexValue": "636f6e74726163745f61646472657373", + "kind": "string", + "nodeType": "YulLiteral", + "src": "1291:18:15", + "type": "", + "value": "contract_address" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1279:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "1279:31:15" + }, + "nodeType": "YulExpressionStatement", + "src": "1279:31:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "1330:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1335:2:15", + "type": "", + "value": "16" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1326:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "1326:12:15" + }, + { + "hexValue": "506f6f6c42617365", + "kind": "string", + "nodeType": "YulLiteral", + "src": "1340:10:15", + "type": "", + "value": "PoolBase" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1319:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "1319:32:15" + }, + "nodeType": "YulExpressionStatement", + "src": "1319:32:15" + }, + { + "nodeType": "YulAssignment", + "src": "1360:19:15", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "1371:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1376:2:15", + "type": "", + "value": "24" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1367:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "1367:12:15" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "1360:3:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "1253:3:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "1261:3:15", + "type": "" + } + ], + "src": "976:409:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1519:145:15", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "1529:26:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1541:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1552:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1537:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "1537:18:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "1529:4:15" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1571:9:15" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1582:6:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1564:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "1564:25:15" + }, + "nodeType": "YulExpressionStatement", + "src": "1564:25:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1609:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1620:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1605:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "1605:18:15" + }, + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "1629:6:15" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1645:3:15", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1650:1:15", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "1641:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "1641:11:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1654:1:15", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1637:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "1637:19:15" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "1625:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "1625:32:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1598:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "1598:60:15" + }, + "nodeType": "YulExpressionStatement", + "src": "1598:60:15" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1480:9:15", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "1491:6:15", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1499:6:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "1510:4:15", + "type": "" + } + ], + "src": "1390:274:15" + } + ] + }, + "contents": "{\n { }\n function abi_decode_tuple_t_contract$_DataStorageInterface_$1393_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := mload(headStart)\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n value0 := value\n }\n function abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed(pos, value0) -> end\n {\n mstore(pos, \"contract_exists\")\n mstore(add(pos, 15), and(shl(96, value0), not(sub(shl(96, 1), 1))))\n end := add(pos, 35)\n }\n function abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), iszero(iszero(value1)))\n }\n function abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"contract_address\")\n mstore(add(pos, 16), \"PoolBase\")\n end := add(pos, 24)\n }\n function abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), and(value1, sub(shl(160, 1), 1)))\n }\n}", + "id": 15, + "language": "Yul", + "name": "#utility.yul" + } + ], + "linkReferences": {}, + "object": "60806040523480156200001157600080fd5b5060405162001896380380620018968339810160408190526200003491620002b3565b60018055600280546001600160a01b0319166001600160a01b038316179055620000606000336200009d565b6200008c7f41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842336200009d565b62000096620000ad565b50620002e5565b620000a9828262000213565b5050565b6002546040516e636f6e74726163745f65786973747360881b60208201526001600160601b03193060601b16602f8201526001600160a01b039091169063988c515b9060430160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b168252600482015260016024820152604401600060405180830381600087803b1580156200014757600080fd5b505af11580156200015c573d6000803e3d6000fd5b50506002546040516f636f6e74726163745f6164647265737360801b602082015267506f6f6c4261736560c01b60308201526001600160a01b039091169250637221263a915060380160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b1682526004820152306024820152604401600060405180830381600087803b158015620001f857600080fd5b505af11580156200020d573d6000803e3d6000fd5b50505050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620000a9576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556200026f3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600060208284031215620002c657600080fd5b81516001600160a01b0381168114620002de57600080fd5b9392505050565b6115a180620002f56000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c806353710f49116100c357806391d148541161007c57806391d14854146102a2578063a217fddf146102b5578063a4975516146102bd578063bf4c0036146102d0578063d547741f146102e3578063fa1e19e5146102f657600080fd5b806353710f491461023757806362308e851461024a5780636cff74731461025f57806372d099a0146102675780637521796f1461027a5780638ae681341461028257600080fd5b806329ca15bc1161011557806329ca15bc146101d05780632f2ff15d146101e357806336568abe146101f657806345077e7114610209578063473b0d461461021c578063497d02411461022f57600080fd5b806301ffc9a714610152578063095df57f1461017a5780631264698714610190578063217ac237146101a5578063248a9ca3146101ad575b600080fd5b610165610160366004611270565b6102fe565b60405190151581526020015b60405180910390f35b610182610335565b604051908152602001610171565b6101a361019e36600461129a565b6103f2565b005b610165610579565b6101826101bb36600461129a565b60009081526020819052604090206001015490565b6101a36101de3660046112cb565b61061e565b6101a36101f13660046112e8565b61067a565b6101a36102043660046112e8565b6106a5565b6101a36102173660046112cb565b610723565b6101a361022a36600461129a565b61077f565b610182610a27565b6101a361024536600461129a565b610a4d565b61018260008051602061154c83398151915281565b610182610b4f565b6101a361027536600461129a565b610b77565b610182610c7d565b61028a610cae565b6040516001600160a01b039091168152602001610171565b6101656102b03660046112e8565b610d87565b610182600081565b6101a36102cb366004611326565b610db0565b6101a36102de36600461129a565b610e2a565b6101a36102f13660046112e8565b610f37565b610182610f5d565b60006001600160e01b03198216637965db0b60e01b148061032f57506301ffc9a760e01b6001600160e01b03198316145b92915050565b600080604051602001610359906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b1580156103b457600080fd5b505afa1580156103c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103ec9190611343565b91505090565b60008051602061154c83398151915261040b8133610f87565b6002546040516001600160a01b03909116906355d946559061042f9060200161135c565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161046391815260200190565b60206040518083038186803b15801561047b57600080fd5b505afa15801561048f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104b39190611372565b156104d95760405162461bcd60e51b81526004016104d09061138f565b60405180910390fd5b6040516a706f6f6c4d617853697a6560a81b6020820152600090602b015b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018690529092506001600160a01b0316906328192c55906044015b600060405180830381600087803b15801561055c57600080fd5b505af1158015610570573d6000803e3d6000fd5b50505050505050565b60008060405160200161058b9061135c565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b1580156105e657600080fd5b505afa1580156105fa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103ec9190611372565b600061062a8133610f87565b61064260008051602061154c83398151915283610f37565b6040516001600160a01b038316907fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd3190600090a25050565b6000828152602081905260409020600101546106968133610f87565b6106a08383610feb565b505050565b6001600160a01b03811633146107155760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016104d0565b61071f828261106f565b5050565b600061072f8133610f87565b61074760008051602061154c8339815191528361067a565b6040516001600160a01b038316907fd873e3f571dc25e020cefdeb7255b3874ead3aade1f94a5fb4a5da831fd670cd90600090a25050565b60008051602061154c8339815191526107988133610f87565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b602082015260009060310160408051601f198184030181529082905280516020918201206002549093506001600160a01b0316916355d94655916107f4910161135c565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161082891815260200190565b60206040518083038186803b15801561084057600080fd5b505afa158015610854573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108789190611372565b156108955760405162461bcd60e51b81526004016104d09061138f565b60025460405163afc3602b60e01b81526004810183905284916001600160a01b03169063afc3602b9060240160206040518083038186803b1580156108d957600080fd5b505afa1580156108ed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109119190611343565b116109845760405162461bcd60e51b815260206004820152603e60248201527f546865206d696e2e20636f6e74722e206c696d6974206e6565647320746f206260448201527f6520736d616c6c6572207468616e20746865206d61782e206c696d69742e000060648201526084016104d0565b6040516e36b4b721b7b73a3934b13aba34b7b760891b6020820152600090602f0160408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018790529092506001600160a01b0316906328192c5590604401600060405180830381600087803b158015610a0957600080fd5b505af1158015610a1d573d6000803e3d6000fd5b5050505050505050565b600080604051602001610359906c64617973546f5265776172647360981b8152600d0190565b60008051602061154c833981519152610a668133610f87565b6002546040516001600160a01b03909116906355d9465590610a8a9060200161135c565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610abe91815260200190565b60206040518083038186803b158015610ad657600080fd5b505afa158015610aea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b0e9190611372565b15610b2b5760405162461bcd60e51b81526004016104d09061138f565b6040516c64617973546f5265776172647360981b6020820152600090602d016104f7565b600080604051602001610359906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b60008051602061154c833981519152610b908133610f87565b6002546040516001600160a01b03909116906355d9465590610bb49060200161135c565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610be891815260200190565b60206040518083038186803b158015610c0057600080fd5b505afa158015610c14573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c389190611372565b15610c555760405162461bcd60e51b81526004016104d09061138f565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b60208201526000906031016104f7565b60008060405160200161035990771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b600080604051602001610ce8906f636f6e74726163745f6164647265737360801b815267506f6f6c4261736560c01b601082015260180190565b60408051808303601f190181529082905280516020909101206002546315485dd960e11b8352600483018290529092506000916001600160a01b0390911690632a90bbb29060240160206040518083038186803b158015610d4857600080fd5b505afa158015610d5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d8091906113c6565b9392505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60008051602061154c833981519152610dc98133610f87565b6000604051602001610dda9061135c565b60408051808303601f1901815290829052805160209091012060025463988c515b60e01b83526004830182905285151560248401529092506001600160a01b03169063988c515b90604401610542565b60008051602061154c833981519152610e438133610f87565b6002546040516001600160a01b03909116906355d9465590610e679060200161135c565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610e9b91815260200190565b60206040518083038186803b158015610eb357600080fd5b505afa158015610ec7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eeb9190611372565b15610f085760405162461bcd60e51b81526004016104d09061138f565b604051771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b60208201526000906038016104f7565b600082815260208190526040902060010154610f538133610f87565b6106a0838361106f565b600080604051602001610359907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b610f918282610d87565b61071f57610fa9816001600160a01b031660146110d4565b610fb48360206110d4565b604051602001610fc5929190611413565b60408051601f198184030181529082905262461bcd60e51b82526104d091600401611488565b610ff58282610d87565b61071f576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905561102b3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6110798282610d87565b1561071f576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b606060006110e38360026114d1565b6110ee9060026114f0565b67ffffffffffffffff81111561110657611106611508565b6040519080825280601f01601f191660200182016040528015611130576020820181803683370190505b509050600360fc1b8160008151811061114b5761114b61151e565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061117a5761117a61151e565b60200101906001600160f81b031916908160001a905350600061119e8460026114d1565b6111a99060016114f0565b90505b6001811115611221576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106111dd576111dd61151e565b1a60f81b8282815181106111f3576111f361151e565b60200101906001600160f81b031916908160001a90535060049490941c9361121a81611534565b90506111ac565b508315610d805760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016104d0565b60006020828403121561128257600080fd5b81356001600160e01b031981168114610d8057600080fd5b6000602082840312156112ac57600080fd5b5035919050565b6001600160a01b03811681146112c857600080fd5b50565b6000602082840312156112dd57600080fd5b8135610d80816112b3565b600080604083850312156112fb57600080fd5b82359150602083013561130d816112b3565b809150509250929050565b80151581146112c857600080fd5b60006020828403121561133857600080fd5b8135610d8081611318565b60006020828403121561135557600080fd5b5051919050565b696973506f6f6c4c69766560b01b8152600a0190565b60006020828403121561138457600080fd5b8151610d8081611318565b6020808252601d908201527f54686520706f6f6c2069732063757272656e746c7920636c6f7365642e000000604082015260600190565b6000602082840312156113d857600080fd5b8151610d80816112b3565b60005b838110156113fe5781810151838201526020016113e6565b8381111561140d576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161144b8160178501602088016113e3565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161147c8160288401602088016113e3565b01602801949350505050565b60208152600082518060208401526114a78160408501602087016113e3565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156114eb576114eb6114bb565b500290565b60008219821115611503576115036114bb565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081611543576115436114bb565b50600019019056fe41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842a264697066735822122068aefc31709df53e0bd9b41a607ae0503e6debe0af5b8d983994032b47ecd3db64736f6c63430008090033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH3 0x11 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH3 0x1896 CODESIZE SUB DUP1 PUSH3 0x1896 DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH3 0x34 SWAP2 PUSH3 0x2B3 JUMP JUMPDEST PUSH1 0x1 DUP1 SSTORE PUSH1 0x2 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND OR SWAP1 SSTORE PUSH3 0x60 PUSH1 0x0 CALLER PUSH3 0x9D JUMP JUMPDEST PUSH3 0x8C PUSH32 0x41A01EC0A13B563FA452569E3FBB116366D217C2769AA1561822E65A617E3842 CALLER PUSH3 0x9D JUMP JUMPDEST PUSH3 0x96 PUSH3 0xAD JUMP JUMPDEST POP PUSH3 0x2E5 JUMP JUMPDEST PUSH3 0xA9 DUP3 DUP3 PUSH3 0x213 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH15 0x636F6E74726163745F657869737473 PUSH1 0x88 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB NOT ADDRESS PUSH1 0x60 SHL AND PUSH1 0x2F DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x988C515B SWAP1 PUSH1 0x43 ADD PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT PUSH1 0xE0 DUP5 SWAP1 SHL AND DUP3 MSTORE PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x147 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH3 0x15C JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH16 0x636F6E74726163745F61646472657373 PUSH1 0x80 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH8 0x506F6F6C42617365 PUSH1 0xC0 SHL PUSH1 0x30 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP3 POP PUSH4 0x7221263A SWAP2 POP PUSH1 0x38 ADD PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT PUSH1 0xE0 DUP5 SWAP1 SHL AND DUP3 MSTORE PUSH1 0x4 DUP3 ADD MSTORE ADDRESS PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x1F8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH3 0x20D JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH3 0xA9 JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH3 0x26F CALLER SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH3 0x2C6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH3 0x2DE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0x15A1 DUP1 PUSH3 0x2F5 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x14D JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x53710F49 GT PUSH2 0xC3 JUMPI DUP1 PUSH4 0x91D14854 GT PUSH2 0x7C JUMPI DUP1 PUSH4 0x91D14854 EQ PUSH2 0x2A2 JUMPI DUP1 PUSH4 0xA217FDDF EQ PUSH2 0x2B5 JUMPI DUP1 PUSH4 0xA4975516 EQ PUSH2 0x2BD JUMPI DUP1 PUSH4 0xBF4C0036 EQ PUSH2 0x2D0 JUMPI DUP1 PUSH4 0xD547741F EQ PUSH2 0x2E3 JUMPI DUP1 PUSH4 0xFA1E19E5 EQ PUSH2 0x2F6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x53710F49 EQ PUSH2 0x237 JUMPI DUP1 PUSH4 0x62308E85 EQ PUSH2 0x24A JUMPI DUP1 PUSH4 0x6CFF7473 EQ PUSH2 0x25F JUMPI DUP1 PUSH4 0x72D099A0 EQ PUSH2 0x267 JUMPI DUP1 PUSH4 0x7521796F EQ PUSH2 0x27A JUMPI DUP1 PUSH4 0x8AE68134 EQ PUSH2 0x282 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x29CA15BC GT PUSH2 0x115 JUMPI DUP1 PUSH4 0x29CA15BC EQ PUSH2 0x1D0 JUMPI DUP1 PUSH4 0x2F2FF15D EQ PUSH2 0x1E3 JUMPI DUP1 PUSH4 0x36568ABE EQ PUSH2 0x1F6 JUMPI DUP1 PUSH4 0x45077E71 EQ PUSH2 0x209 JUMPI DUP1 PUSH4 0x473B0D46 EQ PUSH2 0x21C JUMPI DUP1 PUSH4 0x497D0241 EQ PUSH2 0x22F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x152 JUMPI DUP1 PUSH4 0x95DF57F EQ PUSH2 0x17A JUMPI DUP1 PUSH4 0x12646987 EQ PUSH2 0x190 JUMPI DUP1 PUSH4 0x217AC237 EQ PUSH2 0x1A5 JUMPI DUP1 PUSH4 0x248A9CA3 EQ PUSH2 0x1AD JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x165 PUSH2 0x160 CALLDATASIZE PUSH1 0x4 PUSH2 0x1270 JUMP JUMPDEST PUSH2 0x2FE JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x182 PUSH2 0x335 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x171 JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x19E CALLDATASIZE PUSH1 0x4 PUSH2 0x129A JUMP JUMPDEST PUSH2 0x3F2 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x165 PUSH2 0x579 JUMP JUMPDEST PUSH2 0x182 PUSH2 0x1BB CALLDATASIZE PUSH1 0x4 PUSH2 0x129A JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x1DE CALLDATASIZE PUSH1 0x4 PUSH2 0x12CB JUMP JUMPDEST PUSH2 0x61E JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x1F1 CALLDATASIZE PUSH1 0x4 PUSH2 0x12E8 JUMP JUMPDEST PUSH2 0x67A JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x204 CALLDATASIZE PUSH1 0x4 PUSH2 0x12E8 JUMP JUMPDEST PUSH2 0x6A5 JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x217 CALLDATASIZE PUSH1 0x4 PUSH2 0x12CB JUMP JUMPDEST PUSH2 0x723 JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x22A CALLDATASIZE PUSH1 0x4 PUSH2 0x129A JUMP JUMPDEST PUSH2 0x77F JUMP JUMPDEST PUSH2 0x182 PUSH2 0xA27 JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x245 CALLDATASIZE PUSH1 0x4 PUSH2 0x129A JUMP JUMPDEST PUSH2 0xA4D JUMP JUMPDEST PUSH2 0x182 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 JUMP JUMPDEST PUSH2 0x182 PUSH2 0xB4F JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x275 CALLDATASIZE PUSH1 0x4 PUSH2 0x129A JUMP JUMPDEST PUSH2 0xB77 JUMP JUMPDEST PUSH2 0x182 PUSH2 0xC7D JUMP JUMPDEST PUSH2 0x28A PUSH2 0xCAE JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x171 JUMP JUMPDEST PUSH2 0x165 PUSH2 0x2B0 CALLDATASIZE PUSH1 0x4 PUSH2 0x12E8 JUMP JUMPDEST PUSH2 0xD87 JUMP JUMPDEST PUSH2 0x182 PUSH1 0x0 DUP2 JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x2CB CALLDATASIZE PUSH1 0x4 PUSH2 0x1326 JUMP JUMPDEST PUSH2 0xDB0 JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x2DE CALLDATASIZE PUSH1 0x4 PUSH2 0x129A JUMP JUMPDEST PUSH2 0xE2A JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x2F1 CALLDATASIZE PUSH1 0x4 PUSH2 0x12E8 JUMP JUMPDEST PUSH2 0xF37 JUMP JUMPDEST PUSH2 0x182 PUSH2 0xF5D JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH4 0x7965DB0B PUSH1 0xE0 SHL EQ DUP1 PUSH2 0x32F JUMPI POP PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP4 AND EQ JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x359 SWAP1 PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL DUP2 MSTORE PUSH1 0xB ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x3B4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x3C8 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x3EC SWAP2 SWAP1 PUSH2 0x1343 JUMP JUMPDEST SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x40B DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x42F SWAP1 PUSH1 0x20 ADD PUSH2 0x135C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x463 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x47B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x48F JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x4B3 SWAP2 SWAP1 PUSH2 0x1372 JUMP JUMPDEST ISZERO PUSH2 0x4D9 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x4D0 SWAP1 PUSH2 0x138F JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2B ADD JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP7 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x55C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x570 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x58B SWAP1 PUSH2 0x135C JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x55D94655 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x5E6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x5FA JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x3EC SWAP2 SWAP1 PUSH2 0x1372 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x62A DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH2 0x642 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0xF37 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xEF69F7D97228658C92417BE1B16B19058315DE71FECB435D07B7D23728B6BD31 SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0x696 DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH2 0x6A0 DUP4 DUP4 PUSH2 0xFEB JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND CALLER EQ PUSH2 0x715 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416363657373436F6E74726F6C3A2063616E206F6E6C792072656E6F756E6365 PUSH1 0x44 DUP3 ADD MSTORE PUSH15 0x103937B632B9903337B91039B2B633 PUSH1 0x89 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x4D0 JUMP JUMPDEST PUSH2 0x71F DUP3 DUP3 PUSH2 0x106F JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x72F DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH2 0x747 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0x67A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xD873E3F571DC25E020CEFDEB7255B3874EAD3AADE1F94A5FB4A5DA831FD670CD SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x798 DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x31 ADD PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP2 DUP3 ADD KECCAK256 PUSH1 0x2 SLOAD SWAP1 SWAP4 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 PUSH4 0x55D94655 SWAP2 PUSH2 0x7F4 SWAP2 ADD PUSH2 0x135C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x828 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x840 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x854 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x878 SWAP2 SWAP1 PUSH2 0x1372 JUMP JUMPDEST ISZERO PUSH2 0x895 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x4D0 SWAP1 PUSH2 0x138F JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP4 SWAP1 MSTORE DUP5 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x8D9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x8ED JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x911 SWAP2 SWAP1 PUSH2 0x1343 JUMP JUMPDEST GT PUSH2 0x984 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x546865206D696E2E20636F6E74722E206C696D6974206E6565647320746F2062 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6520736D616C6C6572207468616E20746865206D61782E206C696D69742E0000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x4D0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2F ADD PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP8 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xA09 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xA1D JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x359 SWAP1 PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL DUP2 MSTORE PUSH1 0xD ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xA66 DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xA8A SWAP1 PUSH1 0x20 ADD PUSH2 0x135C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xABE SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xAD6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xAEA JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xB0E SWAP2 SWAP1 PUSH2 0x1372 JUMP JUMPDEST ISZERO PUSH2 0xB2B JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x4D0 SWAP1 PUSH2 0x138F JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2D ADD PUSH2 0x4F7 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x359 SWAP1 PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL DUP2 MSTORE PUSH1 0xF ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xB90 DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xBB4 SWAP1 PUSH1 0x20 ADD PUSH2 0x135C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xBE8 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xC00 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xC14 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xC38 SWAP2 SWAP1 PUSH2 0x1372 JUMP JUMPDEST ISZERO PUSH2 0xC55 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x4D0 SWAP1 PUSH2 0x138F JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x31 ADD PUSH2 0x4F7 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x359 SWAP1 PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL DUP2 MSTORE PUSH1 0x18 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xCE8 SWAP1 PUSH16 0x636F6E74726163745F61646472657373 PUSH1 0x80 SHL DUP2 MSTORE PUSH8 0x506F6F6C42617365 PUSH1 0xC0 SHL PUSH1 0x10 DUP3 ADD MSTORE PUSH1 0x18 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x15485DD9 PUSH1 0xE1 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x0 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x2A90BBB2 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xD48 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xD5C JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xD80 SWAP2 SWAP1 PUSH2 0x13C6 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP3 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 SWAP1 SWAP4 AND DUP5 MSTORE SWAP2 SWAP1 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xDC9 DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xDDA SWAP1 PUSH2 0x135C JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x988C515B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE DUP6 ISZERO ISZERO PUSH1 0x24 DUP5 ADD MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x988C515B SWAP1 PUSH1 0x44 ADD PUSH2 0x542 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xE43 DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xE67 SWAP1 PUSH1 0x20 ADD PUSH2 0x135C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xE9B SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xEB3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xEC7 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xEEB SWAP2 SWAP1 PUSH2 0x1372 JUMP JUMPDEST ISZERO PUSH2 0xF08 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x4D0 SWAP1 PUSH2 0x138F JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x38 ADD PUSH2 0x4F7 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0xF53 DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH2 0x6A0 DUP4 DUP4 PUSH2 0x106F JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x359 SWAP1 PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL DUP2 MSTORE PUSH1 0x11 ADD SWAP1 JUMP JUMPDEST PUSH2 0xF91 DUP3 DUP3 PUSH2 0xD87 JUMP JUMPDEST PUSH2 0x71F JUMPI PUSH2 0xFA9 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x14 PUSH2 0x10D4 JUMP JUMPDEST PUSH2 0xFB4 DUP4 PUSH1 0x20 PUSH2 0x10D4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xFC5 SWAP3 SWAP2 SWAP1 PUSH2 0x1413 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE PUSH3 0x461BCD PUSH1 0xE5 SHL DUP3 MSTORE PUSH2 0x4D0 SWAP2 PUSH1 0x4 ADD PUSH2 0x1488 JUMP JUMPDEST PUSH2 0xFF5 DUP3 DUP3 PUSH2 0xD87 JUMP JUMPDEST PUSH2 0x71F JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH2 0x102B CALLER SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH2 0x1079 DUP3 DUP3 PUSH2 0xD87 JUMP JUMPDEST ISZERO PUSH2 0x71F JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP1 DUP6 MSTORE SWAP3 MSTORE DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE MLOAD CALLER SWAP3 DUP6 SWAP2 PUSH32 0xF6391F5C32D9C69D2A47EA670B442974B53935D1EDC7FD64EB21E047A839171B SWAP2 SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH2 0x10E3 DUP4 PUSH1 0x2 PUSH2 0x14D1 JUMP JUMPDEST PUSH2 0x10EE SWAP1 PUSH1 0x2 PUSH2 0x14F0 JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1106 JUMPI PUSH2 0x1106 PUSH2 0x1508 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x1130 JUMPI PUSH1 0x20 DUP3 ADD DUP2 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x3 PUSH1 0xFC SHL DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x114B JUMPI PUSH2 0x114B PUSH2 0x151E JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0xF PUSH1 0xFB SHL DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x117A JUMPI PUSH2 0x117A PUSH2 0x151E JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x0 PUSH2 0x119E DUP5 PUSH1 0x2 PUSH2 0x14D1 JUMP JUMPDEST PUSH2 0x11A9 SWAP1 PUSH1 0x1 PUSH2 0x14F0 JUMP JUMPDEST SWAP1 POP JUMPDEST PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x1221 JUMPI PUSH16 0x181899199A1A9B1B9C1CB0B131B232B3 PUSH1 0x81 SHL DUP6 PUSH1 0xF AND PUSH1 0x10 DUP2 LT PUSH2 0x11DD JUMPI PUSH2 0x11DD PUSH2 0x151E JUMP JUMPDEST BYTE PUSH1 0xF8 SHL DUP3 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x11F3 JUMPI PUSH2 0x11F3 PUSH2 0x151E JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x4 SWAP5 SWAP1 SWAP5 SHR SWAP4 PUSH2 0x121A DUP2 PUSH2 0x1534 JUMP JUMPDEST SWAP1 POP PUSH2 0x11AC JUMP JUMPDEST POP DUP4 ISZERO PUSH2 0xD80 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x537472696E67733A20686578206C656E67746820696E73756666696369656E74 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x4D0 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1282 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND DUP2 EQ PUSH2 0xD80 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x12AC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x12C8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x12DD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0xD80 DUP2 PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x12FB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x130D DUP2 PUSH2 0x12B3 JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0x12C8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1338 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0xD80 DUP2 PUSH2 0x1318 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1355 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH10 0x6973506F6F6C4C697665 PUSH1 0xB0 SHL DUP2 MSTORE PUSH1 0xA ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1384 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0xD80 DUP2 PUSH2 0x1318 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1D SWAP1 DUP3 ADD MSTORE PUSH32 0x54686520706F6F6C2069732063757272656E746C7920636C6F7365642E000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x13D8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0xD80 DUP2 PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x13FE JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x13E6 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x140D JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH32 0x416363657373436F6E74726F6C3A206163636F756E7420000000000000000000 DUP2 MSTORE PUSH1 0x0 DUP4 MLOAD PUSH2 0x144B DUP2 PUSH1 0x17 DUP6 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x13E3 JUMP JUMPDEST PUSH17 0x1034B99036B4B9B9B4B733903937B6329 PUSH1 0x7D SHL PUSH1 0x17 SWAP2 DUP5 ADD SWAP2 DUP3 ADD MSTORE DUP4 MLOAD PUSH2 0x147C DUP2 PUSH1 0x28 DUP5 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x13E3 JUMP JUMPDEST ADD PUSH1 0x28 ADD SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 DUP3 MLOAD DUP1 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x14A7 DUP2 PUSH1 0x40 DUP6 ADD PUSH1 0x20 DUP8 ADD PUSH2 0x13E3 JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP2 SWAP1 SWAP2 ADD PUSH1 0x40 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x0 NOT DIV DUP4 GT DUP3 ISZERO ISZERO AND ISZERO PUSH2 0x14EB JUMPI PUSH2 0x14EB PUSH2 0x14BB JUMP JUMPDEST POP MUL SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x1503 JUMPI PUSH2 0x1503 PUSH2 0x14BB JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH2 0x1543 JUMPI PUSH2 0x1543 PUSH2 0x14BB JUMP JUMPDEST POP PUSH1 0x0 NOT ADD SWAP1 JUMP INVALID COINBASE LOG0 0x1E 0xC0 LOG1 EXTCODESIZE JUMP EXTCODEHASH LOG4 MSTORE JUMP SWAP15 EXTCODEHASH 0xBB GT PUSH4 0x66D217C2 PUSH23 0x9AA1561822E65A617E3842A264697066735822122068AE 0xFC BALANCE PUSH17 0x9DF53E0BD9B41A607AE0503E6DEBE0AF5B DUP14 SWAP9 CODECOPY SWAP5 SUB 0x2B SELFBALANCE 0xEC 0xD3 0xDB PUSH5 0x736F6C6343 STOP ADDMOD MULMOD STOP CALLER ", + "sourceMap": "627:7231:0:-:0;;;1205:259;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1701:1:9;1806:22;;1269:11:0;:55;;-1:-1:-1;;;;;;1269:55:0;-1:-1:-1;;;;;1269:55:0;;;;;1335:42;-1:-1:-1;1366:10:0;1335;:42::i;:::-;1388:36;726:25;1413:10;1388;:36::i;:::-;1435:21;:19;:21::i;:::-;1205:259;627:7231;;6257:110:7;6335:25;6346:4;6352:7;6335:10;:25::i;:::-;6257:110;;:::o;2539:269:0:-;2589:11;;2626:50;;-1:-1:-1;;;2626:50:0;;;568:30:15;-1:-1:-1;;;;;;2670:4:0;661:2:15;632:15;628:45;614:12;;;607:67;-1:-1:-1;;;;;2589:11:0;;;;:26;;690:12:15;;2626:50:0;;;-1:-1:-1;;2626:50:0;;;;;;;;;;2616:61;;2626:50;2616:61;;;;-1:-1:-1;;;;;;2589:95:0;;;;;;;;;;881:25:15;2679:4:0;922:18:15;;;915:50;854:18;;2589:95:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2695:11:0;;2735:48;;-1:-1:-1;;;2735:48:0;;;1279:31:15;-1:-1:-1;;;1326:12:15;;;1319:32;-1:-1:-1;;;;;2695:11:0;;;;-1:-1:-1;2695:29:0;;-1:-1:-1;1367:12:15;;2735:48:0;;;-1:-1:-1;;2735:48:0;;;;;;;;;;2725:59;;2735:48;2725:59;;;;-1:-1:-1;;;;;;2695:105:0;;;;;;;;;;1564:25:15;2794:4:0;1605:18:15;;;1598:60;1537:18;;2695:105:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2539:269::o;6861:233:7:-;2995:4;3018:12;;;;;;;;;;;-1:-1:-1;;;;;3018:29:7;;;;;;;;;;;;6939:149;;6982:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6982:29:7;;;;;;;;;:36;;-1:-1:-1;;6982:36:7;7014:4;6982:36;;;7064:12;719:10:11;;640:96;7064:12:7;-1:-1:-1;;;;;7037:40:7;7055:7;-1:-1:-1;;;;;7037:40:7;7049:4;7037:40;;;;;;;;;;6861:233;;:::o;14:319:15:-;113:6;166:2;154:9;145:7;141:23;137:32;134:52;;;182:1;179;172:12;134:52;208:16;;-1:-1:-1;;;;;253:31:15;;243:42;;233:70;;299:1;296;289:12;233:70;322:5;14:319;-1:-1:-1;;;14:319:15:o;1390:274::-;627:7231:0;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": { + "@DEFAULT_ADMIN_ROLE_1553": { + "entryPoint": null, + "id": 1553, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@POOL_MANAGER_14": { + "entryPoint": null, + "id": 14, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_checkRole_1650": { + "entryPoint": 3975, + "id": 1650, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@_grantRole_1802": { + "entryPoint": 4075, + "id": 1802, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@_msgSender_2037": { + "entryPoint": null, + "id": 2037, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@_revokeRole_1833": { + "entryPoint": 4207, + "id": 1833, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@addPoolManager_107": { + "entryPoint": 1827, + "id": 107, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@getContributionLimit_570": { + "entryPoint": 3933, + "id": 570, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getMinContribution_590": { + "entryPoint": 2895, + "id": 590, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getPoolBaseAddress_470": { + "entryPoint": 3246, + "id": 470, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getPoolMaxSize_510": { + "entryPoint": 821, + "id": 510, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getPoolState_490": { + "entryPoint": 1401, + "id": 490, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getRewardsInterest_550": { + "entryPoint": 3197, + "id": 550, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getRewardsInterval_530": { + "entryPoint": 2599, + "id": 530, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getRoleAdmin_1665": { + "entryPoint": null, + "id": 1665, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@grantRole_1685": { + "entryPoint": 1658, + "id": 1685, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@hasRole_1607": { + "entryPoint": 3463, + "id": 1607, + "parameterSlots": 2, + "returnSlots": 1 + }, + "@removePoolManager_125": { + "entryPoint": 1566, + "id": 125, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@renounceRole_1728": { + "entryPoint": 1701, + "id": 1728, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@revokeRole_1705": { + "entryPoint": 3895, + "id": 1705, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@setContributionLimit_348": { + "entryPoint": 2935, + "id": 348, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setMinContribution_407": { + "entryPoint": 1919, + "id": 407, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setPoolLive_188": { + "entryPoint": 3504, + "id": 188, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setPoolMaxSize_228": { + "entryPoint": 1010, + "id": 228, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setRewardsInterest_308": { + "entryPoint": 3626, + "id": 308, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setRewardsInterval_268": { + "entryPoint": 2637, + "id": 268, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@supportsInterface_1588": { + "entryPoint": 766, + "id": 1588, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@supportsInterface_2273": { + "entryPoint": null, + "id": 2273, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@toHexString_2249": { + "entryPoint": 4308, + "id": 2249, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_address": { + "entryPoint": 4811, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_address_fromMemory": { + "entryPoint": 5062, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bool": { + "entryPoint": 4902, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bool_fromMemory": { + "entryPoint": 4978, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bytes32": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bytes32t_address": { + "entryPoint": 4840, + "id": null, + "parameterSlots": 2, + "returnSlots": 2 + }, + "abi_decode_tuple_t_bytes4": { + "entryPoint": 4720, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_uint256": { + "entryPoint": 4762, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_uint256_fromMemory": { + "entryPoint": 4931, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 4956, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874_t_string_memory_ptr_t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 5139, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_address__to_t_address__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_uint256__to_t_bytes32_t_uint256__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 5256, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_04fc88320d7c9f639317c75102c103ff0044d3075a5c627e24e76e5bbb2733c2__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 5007, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_9bfa599205b132513fe40ce547e7e6def8c4cc455992878354af4c6363b32779__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_add_t_uint256": { + "entryPoint": 5360, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_mul_t_uint256": { + "entryPoint": 5329, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "copy_memory_to_memory": { + "entryPoint": 5091, + "id": null, + "parameterSlots": 3, + "returnSlots": 0 + }, + "decrement_t_uint256": { + "entryPoint": 5428, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "panic_error_0x11": { + "entryPoint": 5307, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x32": { + "entryPoint": 5406, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x41": { + "entryPoint": 5384, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "validator_revert_address": { + "entryPoint": 4787, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "validator_revert_bool": { + "entryPoint": 4888, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + } + }, + "generatedSources": [ + { + "ast": { + "nodeType": "YulBlock", + "src": "0:9615:15", + "statements": [ + { + "nodeType": "YulBlock", + "src": "6:3:15", + "statements": [] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "83:217:15", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "129:16:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "138:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "141:1:15", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "131:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "131:12:15" + }, + "nodeType": "YulExpressionStatement", + "src": "131:12:15" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "104:7:15" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "113:9:15" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "100:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "100:23:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "125:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "96:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "96:32:15" + }, + "nodeType": "YulIf", + "src": "93:52:15" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "154:36:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "180:9:15" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "167:12:15" + }, + "nodeType": "YulFunctionCall", + "src": "167:23:15" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "158:5:15", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "254:16:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "263:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "266:1:15", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "256:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "256:12:15" + }, + "nodeType": "YulExpressionStatement", + "src": "256:12:15" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "212:5:15" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "223:5:15" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "234:3:15", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "239:10:15", + "type": "", + "value": "0xffffffff" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "230:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "230:20:15" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "219:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "219:32:15" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "209:2:15" + }, + "nodeType": "YulFunctionCall", + "src": "209:43:15" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "202:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "202:51:15" + }, + "nodeType": "YulIf", + "src": "199:71:15" + }, + { + "nodeType": "YulAssignment", + "src": "279:15:15", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "289:5:15" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "279:6:15" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bytes4", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "49:9:15", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "60:7:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "72:6:15", + "type": "" + } + ], + "src": "14:286:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "400:92:15", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "410:26:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "422:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "433:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "418:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "418:18:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "410:4:15" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "452:9:15" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "477:6:15" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "470:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "470:14:15" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "463:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "463:22:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "445:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "445:41:15" + }, + "nodeType": "YulExpressionStatement", + "src": "445:41:15" + } + ] + }, + "name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "369:9:15", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "380:6:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "391:4:15", + "type": "" + } + ], + "src": "305:187:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "598:76:15", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "608:26:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "620:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "631:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "616:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "616:18:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "608:4:15" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "650:9:15" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "661:6:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "643:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "643:25:15" + }, + "nodeType": "YulExpressionStatement", + "src": "643:25:15" + } + ] + }, + "name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "567:9:15", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "578:6:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "589:4:15", + "type": "" + } + ], + "src": "497:177:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "749:110:15", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "795:16:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "804:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "807:1:15", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "797:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "797:12:15" + }, + "nodeType": "YulExpressionStatement", + "src": "797:12:15" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "770:7:15" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "779:9:15" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "766:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "766:23:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "791:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "762:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "762:32:15" + }, + "nodeType": "YulIf", + "src": "759:52:15" + }, + { + "nodeType": "YulAssignment", + "src": "820:33:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "843:9:15" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "830:12:15" + }, + "nodeType": "YulFunctionCall", + "src": "830:23:15" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "820:6:15" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "715:9:15", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "726:7:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "738:6:15", + "type": "" + } + ], + "src": "679:180:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "934:110:15", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "980:16:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "989:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "992:1:15", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "982:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "982:12:15" + }, + "nodeType": "YulExpressionStatement", + "src": "982:12:15" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "955:7:15" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "964:9:15" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "951:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "951:23:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "976:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "947:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "947:32:15" + }, + "nodeType": "YulIf", + "src": "944:52:15" + }, + { + "nodeType": "YulAssignment", + "src": "1005:33:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1028:9:15" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1015:12:15" + }, + "nodeType": "YulFunctionCall", + "src": "1015:23:15" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1005:6:15" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bytes32", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "900:9:15", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "911:7:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "923:6:15", + "type": "" + } + ], + "src": "864:180:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1150:76:15", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "1160:26:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1172:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1183:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1168:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "1168:18:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "1160:4:15" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1202:9:15" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1213:6:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1195:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "1195:25:15" + }, + "nodeType": "YulExpressionStatement", + "src": "1195:25:15" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1119:9:15", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1130:6:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "1141:4:15", + "type": "" + } + ], + "src": "1049:177:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1276:86:15", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1340:16:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1349:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1352:1:15", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1342:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "1342:12:15" + }, + "nodeType": "YulExpressionStatement", + "src": "1342:12:15" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1299:5:15" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1310:5:15" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1325:3:15", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1330:1:15", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "1321:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "1321:11:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1334:1:15", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1317:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "1317:19:15" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "1306:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "1306:31:15" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "1296:2:15" + }, + "nodeType": "YulFunctionCall", + "src": "1296:42:15" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "1289:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "1289:50:15" + }, + "nodeType": "YulIf", + "src": "1286:70:15" + } + ] + }, + "name": "validator_revert_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "1265:5:15", + "type": "" + } + ], + "src": "1231:131:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1437:177:15", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1483:16:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1492:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1495:1:15", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1485:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "1485:12:15" + }, + "nodeType": "YulExpressionStatement", + "src": "1485:12:15" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "1458:7:15" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1467:9:15" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1454:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "1454:23:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1479:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "1450:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "1450:32:15" + }, + "nodeType": "YulIf", + "src": "1447:52:15" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "1508:36:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1534:9:15" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1521:12:15" + }, + "nodeType": "YulFunctionCall", + "src": "1521:23:15" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "1512:5:15", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1578:5:15" + } + ], + "functionName": { + "name": "validator_revert_address", + "nodeType": "YulIdentifier", + "src": "1553:24:15" + }, + "nodeType": "YulFunctionCall", + "src": "1553:31:15" + }, + "nodeType": "YulExpressionStatement", + "src": "1553:31:15" + }, + { + "nodeType": "YulAssignment", + "src": "1593:15:15", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1603:5:15" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1593:6:15" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1403:9:15", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "1414:7:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1426:6:15", + "type": "" + } + ], + "src": "1367:247:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1706:228:15", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1752:16:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1761:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1764:1:15", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1754:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "1754:12:15" + }, + "nodeType": "YulExpressionStatement", + "src": "1754:12:15" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "1727:7:15" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1736:9:15" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1723:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "1723:23:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1748:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "1719:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "1719:32:15" + }, + "nodeType": "YulIf", + "src": "1716:52:15" + }, + { + "nodeType": "YulAssignment", + "src": "1777:33:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1800:9:15" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1787:12:15" + }, + "nodeType": "YulFunctionCall", + "src": "1787:23:15" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1777:6:15" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "1819:45:15", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1849:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1860:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1845:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "1845:18:15" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1832:12:15" + }, + "nodeType": "YulFunctionCall", + "src": "1832:32:15" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "1823:5:15", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1898:5:15" + } + ], + "functionName": { + "name": "validator_revert_address", + "nodeType": "YulIdentifier", + "src": "1873:24:15" + }, + "nodeType": "YulFunctionCall", + "src": "1873:31:15" + }, + "nodeType": "YulExpressionStatement", + "src": "1873:31:15" + }, + { + "nodeType": "YulAssignment", + "src": "1913:15:15", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1923:5:15" + }, + "variableNames": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "1913:6:15" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bytes32t_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1664:9:15", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "1675:7:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1687:6:15", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "1695:6:15", + "type": "" + } + ], + "src": "1619:315:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2040:102:15", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "2050:26:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2062:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2073:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2058:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "2058:18:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "2050:4:15" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2092:9:15" + }, + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "2107:6:15" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2123:3:15", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2128:1:15", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "2119:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "2119:11:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2132:1:15", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "2115:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "2115:19:15" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "2103:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "2103:32:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2085:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "2085:51:15" + }, + "nodeType": "YulExpressionStatement", + "src": "2085:51:15" + } + ] + }, + "name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "2009:9:15", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "2020:6:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "2031:4:15", + "type": "" + } + ], + "src": "1939:203:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2189:76:15", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "2243:16:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2252:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2255:1:15", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "2245:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "2245:12:15" + }, + "nodeType": "YulExpressionStatement", + "src": "2245:12:15" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "2212:5:15" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "2233:5:15" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "2226:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "2226:13:15" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "2219:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "2219:21:15" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "2209:2:15" + }, + "nodeType": "YulFunctionCall", + "src": "2209:32:15" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "2202:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "2202:40:15" + }, + "nodeType": "YulIf", + "src": "2199:60:15" + } + ] + }, + "name": "validator_revert_bool", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "2178:5:15", + "type": "" + } + ], + "src": "2147:118:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2337:174:15", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "2383:16:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2392:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2395:1:15", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "2385:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "2385:12:15" + }, + "nodeType": "YulExpressionStatement", + "src": "2385:12:15" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "2358:7:15" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2367:9:15" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "2354:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "2354:23:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2379:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "2350:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "2350:32:15" + }, + "nodeType": "YulIf", + "src": "2347:52:15" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "2408:36:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2434:9:15" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "2421:12:15" + }, + "nodeType": "YulFunctionCall", + "src": "2421:23:15" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "2412:5:15", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "2475:5:15" + } + ], + "functionName": { + "name": "validator_revert_bool", + "nodeType": "YulIdentifier", + "src": "2453:21:15" + }, + "nodeType": "YulFunctionCall", + "src": "2453:28:15" + }, + "nodeType": "YulExpressionStatement", + "src": "2453:28:15" + }, + { + "nodeType": "YulAssignment", + "src": "2490:15:15", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "2500:5:15" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "2490:6:15" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bool", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "2303:9:15", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "2314:7:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "2326:6:15", + "type": "" + } + ], + "src": "2270:241:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2708:70:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "2725:3:15" + }, + { + "hexValue": "706f6f6c4d617853697a65", + "kind": "string", + "nodeType": "YulLiteral", + "src": "2730:13:15", + "type": "", + "value": "poolMaxSize" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2718:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "2718:26:15" + }, + "nodeType": "YulExpressionStatement", + "src": "2718:26:15" + }, + { + "nodeType": "YulAssignment", + "src": "2753:19:15", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "2764:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2769:2:15", + "type": "", + "value": "11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2760:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "2760:12:15" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "2753:3:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "2692:3:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "2700:3:15", + "type": "" + } + ], + "src": "2516:262:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2864:103:15", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "2910:16:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2919:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2922:1:15", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "2912:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "2912:12:15" + }, + "nodeType": "YulExpressionStatement", + "src": "2912:12:15" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "2885:7:15" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2894:9:15" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "2881:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "2881:23:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2906:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "2877:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "2877:32:15" + }, + "nodeType": "YulIf", + "src": "2874:52:15" + }, + { + "nodeType": "YulAssignment", + "src": "2935:26:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2951:9:15" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "2945:5:15" + }, + "nodeType": "YulFunctionCall", + "src": "2945:16:15" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "2935:6:15" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_uint256_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "2830:9:15", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "2841:7:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "2853:6:15", + "type": "" + } + ], + "src": "2783:184:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3164:69:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "3181:3:15" + }, + { + "hexValue": "6973506f6f6c4c697665", + "kind": "string", + "nodeType": "YulLiteral", + "src": "3186:12:15", + "type": "", + "value": "isPoolLive" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3174:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "3174:25:15" + }, + "nodeType": "YulExpressionStatement", + "src": "3174:25:15" + }, + { + "nodeType": "YulAssignment", + "src": "3208:19:15", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "3219:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3224:2:15", + "type": "", + "value": "10" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3215:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "3215:12:15" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "3208:3:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "3148:3:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "3156:3:15", + "type": "" + } + ], + "src": "2972:261:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3316:167:15", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "3362:16:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3371:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3374:1:15", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "3364:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "3364:12:15" + }, + "nodeType": "YulExpressionStatement", + "src": "3364:12:15" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "3337:7:15" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3346:9:15" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "3333:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "3333:23:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3358:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "3329:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "3329:32:15" + }, + "nodeType": "YulIf", + "src": "3326:52:15" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "3387:29:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3406:9:15" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "3400:5:15" + }, + "nodeType": "YulFunctionCall", + "src": "3400:16:15" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "3391:5:15", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "3447:5:15" + } + ], + "functionName": { + "name": "validator_revert_bool", + "nodeType": "YulIdentifier", + "src": "3425:21:15" + }, + "nodeType": "YulFunctionCall", + "src": "3425:28:15" + }, + "nodeType": "YulExpressionStatement", + "src": "3425:28:15" + }, + { + "nodeType": "YulAssignment", + "src": "3462:15:15", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "3472:5:15" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "3462:6:15" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bool_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "3282:9:15", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "3293:7:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "3305:6:15", + "type": "" + } + ], + "src": "3238:245:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3662:179:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3679:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3690:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3672:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "3672:21:15" + }, + "nodeType": "YulExpressionStatement", + "src": "3672:21:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3713:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3724:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3709:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "3709:18:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3729:2:15", + "type": "", + "value": "29" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3702:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "3702:30:15" + }, + "nodeType": "YulExpressionStatement", + "src": "3702:30:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3752:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3763:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3748:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "3748:18:15" + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "3768:31:15", + "type": "", + "value": "The pool is currently closed." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3741:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "3741:59:15" + }, + "nodeType": "YulExpressionStatement", + "src": "3741:59:15" + }, + { + "nodeType": "YulAssignment", + "src": "3809:26:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3821:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3832:2:15", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3817:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "3817:18:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "3809:4:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "3639:9:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "3653:4:15", + "type": "" + } + ], + "src": "3488:353:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3975:119:15", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "3985:26:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3997:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4008:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3993:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "3993:18:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "3985:4:15" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4027:9:15" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "4038:6:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4020:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "4020:25:15" + }, + "nodeType": "YulExpressionStatement", + "src": "4020:25:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4065:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4076:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4061:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "4061:18:15" + }, + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "4081:6:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4054:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "4054:34:15" + }, + "nodeType": "YulExpressionStatement", + "src": "4054:34:15" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_uint256__to_t_bytes32_t_uint256__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "3936:9:15", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "3947:6:15", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "3955:6:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "3966:4:15", + "type": "" + } + ], + "src": "3846:248:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4273:237:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4290:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4301:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4283:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "4283:21:15" + }, + "nodeType": "YulExpressionStatement", + "src": "4283:21:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4324:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4335:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4320:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "4320:18:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4340:2:15", + "type": "", + "value": "47" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4313:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "4313:30:15" + }, + "nodeType": "YulExpressionStatement", + "src": "4313:30:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4363:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4374:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4359:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "4359:18:15" + }, + { + "hexValue": "416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e6365", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4379:34:15", + "type": "", + "value": "AccessControl: can only renounce" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4352:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "4352:62:15" + }, + "nodeType": "YulExpressionStatement", + "src": "4352:62:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4434:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4445:2:15", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4430:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "4430:18:15" + }, + { + "hexValue": "20726f6c657320666f722073656c66", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4450:17:15", + "type": "", + "value": " roles for self" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4423:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "4423:45:15" + }, + "nodeType": "YulExpressionStatement", + "src": "4423:45:15" + }, + { + "nodeType": "YulAssignment", + "src": "4477:27:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4489:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4500:3:15", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4485:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "4485:19:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "4477:4:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "4250:9:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "4264:4:15", + "type": "" + } + ], + "src": "4099:411:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4707:76:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "4724:3:15" + }, + { + "hexValue": "636f6e747269627574696f6e4c696d6974", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4729:19:15", + "type": "", + "value": "contributionLimit" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4717:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "4717:32:15" + }, + "nodeType": "YulExpressionStatement", + "src": "4717:32:15" + }, + { + "nodeType": "YulAssignment", + "src": "4758:19:15", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "4769:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4774:2:15", + "type": "", + "value": "17" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4765:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "4765:12:15" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "4758:3:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "4691:3:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "4699:3:15", + "type": "" + } + ], + "src": "4515:268:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4962:252:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4979:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4990:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4972:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "4972:21:15" + }, + "nodeType": "YulExpressionStatement", + "src": "4972:21:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5013:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5024:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5009:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "5009:18:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5029:2:15", + "type": "", + "value": "62" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5002:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "5002:30:15" + }, + "nodeType": "YulExpressionStatement", + "src": "5002:30:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5052:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5063:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5048:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "5048:18:15" + }, + { + "hexValue": "546865206d696e2e20636f6e74722e206c696d6974206e6565647320746f2062", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5068:34:15", + "type": "", + "value": "The min. contr. limit needs to b" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5041:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "5041:62:15" + }, + "nodeType": "YulExpressionStatement", + "src": "5041:62:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5123:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5134:2:15", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5119:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "5119:18:15" + }, + { + "hexValue": "6520736d616c6c6572207468616e20746865206d61782e206c696d69742e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5139:32:15", + "type": "", + "value": "e smaller than the max. limit." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5112:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "5112:60:15" + }, + "nodeType": "YulExpressionStatement", + "src": "5112:60:15" + }, + { + "nodeType": "YulAssignment", + "src": "5181:27:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5193:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5204:3:15", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5189:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "5189:19:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "5181:4:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_9bfa599205b132513fe40ce547e7e6def8c4cc455992878354af4c6363b32779__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "4939:9:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "4953:4:15", + "type": "" + } + ], + "src": "4788:426:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5411:74:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5428:3:15" + }, + { + "hexValue": "6d696e436f6e747269627574696f6e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5433:17:15", + "type": "", + "value": "minContribution" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5421:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "5421:30:15" + }, + "nodeType": "YulExpressionStatement", + "src": "5421:30:15" + }, + { + "nodeType": "YulAssignment", + "src": "5460:19:15", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5471:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5476:2:15", + "type": "", + "value": "15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5467:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "5467:12:15" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "5460:3:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "5395:3:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "5403:3:15", + "type": "" + } + ], + "src": "5219:266:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5682:72:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5699:3:15" + }, + { + "hexValue": "64617973546f52657761726473", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5704:15:15", + "type": "", + "value": "daysToRewards" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5692:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "5692:28:15" + }, + "nodeType": "YulExpressionStatement", + "src": "5692:28:15" + }, + { + "nodeType": "YulAssignment", + "src": "5729:19:15", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5740:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5745:2:15", + "type": "", + "value": "13" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5736:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "5736:12:15" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "5729:3:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "5666:3:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "5674:3:15", + "type": "" + } + ], + "src": "5490:264:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5951:83:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5968:3:15" + }, + { + "hexValue": "72657761726473496e746572657374506572506572696f64", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5973:26:15", + "type": "", + "value": "rewardsInterestPerPeriod" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5961:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "5961:39:15" + }, + "nodeType": "YulExpressionStatement", + "src": "5961:39:15" + }, + { + "nodeType": "YulAssignment", + "src": "6009:19:15", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "6020:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6025:2:15", + "type": "", + "value": "24" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6016:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "6016:12:15" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "6009:3:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "5935:3:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "5943:3:15", + "type": "" + } + ], + "src": "5759:275:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6332:116:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "6349:3:15" + }, + { + "hexValue": "636f6e74726163745f61646472657373", + "kind": "string", + "nodeType": "YulLiteral", + "src": "6354:18:15", + "type": "", + "value": "contract_address" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6342:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "6342:31:15" + }, + "nodeType": "YulExpressionStatement", + "src": "6342:31:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "6393:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6398:2:15", + "type": "", + "value": "16" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6389:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "6389:12:15" + }, + { + "hexValue": "506f6f6c42617365", + "kind": "string", + "nodeType": "YulLiteral", + "src": "6403:10:15", + "type": "", + "value": "PoolBase" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6382:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "6382:32:15" + }, + "nodeType": "YulExpressionStatement", + "src": "6382:32:15" + }, + { + "nodeType": "YulAssignment", + "src": "6423:19:15", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "6434:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6439:2:15", + "type": "", + "value": "24" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6430:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "6430:12:15" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "6423:3:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "6316:3:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "6324:3:15", + "type": "" + } + ], + "src": "6039:409:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6534:170:15", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "6580:16:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6589:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6592:1:15", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "6582:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "6582:12:15" + }, + "nodeType": "YulExpressionStatement", + "src": "6582:12:15" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "6555:7:15" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6564:9:15" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "6551:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "6551:23:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6576:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "6547:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "6547:32:15" + }, + "nodeType": "YulIf", + "src": "6544:52:15" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "6605:29:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6624:9:15" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "6618:5:15" + }, + "nodeType": "YulFunctionCall", + "src": "6618:16:15" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "6609:5:15", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "6668:5:15" + } + ], + "functionName": { + "name": "validator_revert_address", + "nodeType": "YulIdentifier", + "src": "6643:24:15" + }, + "nodeType": "YulFunctionCall", + "src": "6643:31:15" + }, + "nodeType": "YulExpressionStatement", + "src": "6643:31:15" + }, + { + "nodeType": "YulAssignment", + "src": "6683:15:15", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "6693:5:15" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "6683:6:15" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_address_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "6500:9:15", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "6511:7:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "6523:6:15", + "type": "" + } + ], + "src": "6453:251:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6832:135:15", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "6842:26:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6854:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6865:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6850:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "6850:18:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "6842:4:15" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6884:9:15" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "6895:6:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6877:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "6877:25:15" + }, + "nodeType": "YulExpressionStatement", + "src": "6877:25:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6922:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6933:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6918:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "6918:18:15" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "6952:6:15" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "6945:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "6945:14:15" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "6938:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "6938:22:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6911:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "6911:50:15" + }, + "nodeType": "YulExpressionStatement", + "src": "6911:50:15" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "6793:9:15", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "6804:6:15", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "6812:6:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "6823:4:15", + "type": "" + } + ], + "src": "6709:258:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7025:205:15", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "7035:10:15", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7044:1:15", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "i", + "nodeType": "YulTypedName", + "src": "7039:1:15", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7104:63:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nodeType": "YulIdentifier", + "src": "7129:3:15" + }, + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "7134:1:15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7125:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "7125:11:15" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "src", + "nodeType": "YulIdentifier", + "src": "7148:3:15" + }, + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "7153:1:15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7144:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "7144:11:15" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "7138:5:15" + }, + "nodeType": "YulFunctionCall", + "src": "7138:18:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7118:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "7118:39:15" + }, + "nodeType": "YulExpressionStatement", + "src": "7118:39:15" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "7065:1:15" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "7068:6:15" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "7062:2:15" + }, + "nodeType": "YulFunctionCall", + "src": "7062:13:15" + }, + "nodeType": "YulForLoop", + "post": { + "nodeType": "YulBlock", + "src": "7076:19:15", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "7078:15:15", + "value": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "7087:1:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7090:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7083:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "7083:10:15" + }, + "variableNames": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "7078:1:15" + } + ] + } + ] + }, + "pre": { + "nodeType": "YulBlock", + "src": "7058:3:15", + "statements": [] + }, + "src": "7054:113:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7193:31:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nodeType": "YulIdentifier", + "src": "7206:3:15" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "7211:6:15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7202:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "7202:16:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7220:1:15", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7195:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "7195:27:15" + }, + "nodeType": "YulExpressionStatement", + "src": "7195:27:15" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "7182:1:15" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "7185:6:15" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "7179:2:15" + }, + "nodeType": "YulFunctionCall", + "src": "7179:13:15" + }, + "nodeType": "YulIf", + "src": "7176:48:15" + } + ] + }, + "name": "copy_memory_to_memory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "src", + "nodeType": "YulTypedName", + "src": "7003:3:15", + "type": "" + }, + { + "name": "dst", + "nodeType": "YulTypedName", + "src": "7008:3:15", + "type": "" + }, + { + "name": "length", + "nodeType": "YulTypedName", + "src": "7013:6:15", + "type": "" + } + ], + "src": "6972:258:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7624:397:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7641:3:15" + }, + { + "hexValue": "416363657373436f6e74726f6c3a206163636f756e7420", + "kind": "string", + "nodeType": "YulLiteral", + "src": "7646:25:15", + "type": "", + "value": "AccessControl: account " + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7634:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "7634:38:15" + }, + "nodeType": "YulExpressionStatement", + "src": "7634:38:15" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "7681:27:15", + "value": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "7701:6:15" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "7695:5:15" + }, + "nodeType": "YulFunctionCall", + "src": "7695:13:15" + }, + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "7685:6:15", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "7743:6:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7751:4:15", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7739:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "7739:17:15" + }, + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7762:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7767:2:15", + "type": "", + "value": "23" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7758:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "7758:12:15" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "7772:6:15" + } + ], + "functionName": { + "name": "copy_memory_to_memory", + "nodeType": "YulIdentifier", + "src": "7717:21:15" + }, + "nodeType": "YulFunctionCall", + "src": "7717:62:15" + }, + "nodeType": "YulExpressionStatement", + "src": "7717:62:15" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "7788:26:15", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7802:3:15" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "7807:6:15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7798:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "7798:16:15" + }, + "variables": [ + { + "name": "_1", + "nodeType": "YulTypedName", + "src": "7792:2:15", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "7834:2:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7838:2:15", + "type": "", + "value": "23" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7830:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "7830:11:15" + }, + { + "hexValue": "206973206d697373696e6720726f6c6520", + "kind": "string", + "nodeType": "YulLiteral", + "src": "7843:19:15", + "type": "", + "value": " is missing role " + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7823:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "7823:40:15" + }, + "nodeType": "YulExpressionStatement", + "src": "7823:40:15" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "7872:29:15", + "value": { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "7894:6:15" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "7888:5:15" + }, + "nodeType": "YulFunctionCall", + "src": "7888:13:15" + }, + "variables": [ + { + "name": "length_1", + "nodeType": "YulTypedName", + "src": "7876:8:15", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "7936:6:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7944:4:15", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7932:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "7932:17:15" + }, + { + "arguments": [ + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "7955:2:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7959:2:15", + "type": "", + "value": "40" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7951:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "7951:11:15" + }, + { + "name": "length_1", + "nodeType": "YulIdentifier", + "src": "7964:8:15" + } + ], + "functionName": { + "name": "copy_memory_to_memory", + "nodeType": "YulIdentifier", + "src": "7910:21:15" + }, + "nodeType": "YulFunctionCall", + "src": "7910:63:15" + }, + "nodeType": "YulExpressionStatement", + "src": "7910:63:15" + }, + { + "nodeType": "YulAssignment", + "src": "7982:33:15", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "7997:2:15" + }, + { + "name": "length_1", + "nodeType": "YulIdentifier", + "src": "8001:8:15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7993:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "7993:17:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8012:2:15", + "type": "", + "value": "40" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7989:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "7989:26:15" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "7982:3:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874_t_string_memory_ptr_t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "7592:3:15", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "7597:6:15", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "7605:6:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "7616:3:15", + "type": "" + } + ], + "src": "7235:786:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8147:262:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8164:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8175:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8157:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "8157:21:15" + }, + "nodeType": "YulExpressionStatement", + "src": "8157:21:15" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "8187:27:15", + "value": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "8207:6:15" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "8201:5:15" + }, + "nodeType": "YulFunctionCall", + "src": "8201:13:15" + }, + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "8191:6:15", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8234:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8245:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8230:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "8230:18:15" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "8250:6:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8223:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "8223:34:15" + }, + "nodeType": "YulExpressionStatement", + "src": "8223:34:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "8292:6:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8300:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8288:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "8288:15:15" + }, + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8309:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8320:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8305:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "8305:18:15" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "8325:6:15" + } + ], + "functionName": { + "name": "copy_memory_to_memory", + "nodeType": "YulIdentifier", + "src": "8266:21:15" + }, + "nodeType": "YulFunctionCall", + "src": "8266:66:15" + }, + "nodeType": "YulExpressionStatement", + "src": "8266:66:15" + }, + { + "nodeType": "YulAssignment", + "src": "8341:62:15", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8357:9:15" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "8376:6:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8384:2:15", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8372:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "8372:15:15" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8393:2:15", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "8389:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "8389:7:15" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "8368:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "8368:29:15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8353:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "8353:45:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8400:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8349:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "8349:54:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "8341:4:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "8116:9:15", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "8127:6:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "8138:4:15", + "type": "" + } + ], + "src": "8026:383:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8446:95:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8463:1:15", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8470:3:15", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8475:10:15", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "8466:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "8466:20:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8456:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "8456:31:15" + }, + "nodeType": "YulExpressionStatement", + "src": "8456:31:15" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8503:1:15", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8506:4:15", + "type": "", + "value": "0x11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8496:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "8496:15:15" + }, + "nodeType": "YulExpressionStatement", + "src": "8496:15:15" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8527:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8530:4:15", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "8520:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "8520:15:15" + }, + "nodeType": "YulExpressionStatement", + "src": "8520:15:15" + } + ] + }, + "name": "panic_error_0x11", + "nodeType": "YulFunctionDefinition", + "src": "8414:127:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8598:116:15", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "8657:22:15", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "8659:16:15" + }, + "nodeType": "YulFunctionCall", + "src": "8659:18:15" + }, + "nodeType": "YulExpressionStatement", + "src": "8659:18:15" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "8629:1:15" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "8622:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "8622:9:15" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "8615:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "8615:17:15" + }, + { + "arguments": [ + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "8637:1:15" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8648:1:15", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "8644:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "8644:6:15" + }, + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "8652:1:15" + } + ], + "functionName": { + "name": "div", + "nodeType": "YulIdentifier", + "src": "8640:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "8640:14:15" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "8634:2:15" + }, + "nodeType": "YulFunctionCall", + "src": "8634:21:15" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "8611:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "8611:45:15" + }, + "nodeType": "YulIf", + "src": "8608:71:15" + }, + { + "nodeType": "YulAssignment", + "src": "8688:20:15", + "value": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "8703:1:15" + }, + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "8706:1:15" + } + ], + "functionName": { + "name": "mul", + "nodeType": "YulIdentifier", + "src": "8699:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "8699:9:15" + }, + "variableNames": [ + { + "name": "product", + "nodeType": "YulIdentifier", + "src": "8688:7:15" + } + ] + } + ] + }, + "name": "checked_mul_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "x", + "nodeType": "YulTypedName", + "src": "8577:1:15", + "type": "" + }, + { + "name": "y", + "nodeType": "YulTypedName", + "src": "8580:1:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "product", + "nodeType": "YulTypedName", + "src": "8586:7:15", + "type": "" + } + ], + "src": "8546:168:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8767:80:15", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "8794:22:15", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "8796:16:15" + }, + "nodeType": "YulFunctionCall", + "src": "8796:18:15" + }, + "nodeType": "YulExpressionStatement", + "src": "8796:18:15" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "8783:1:15" + }, + { + "arguments": [ + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "8790:1:15" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "8786:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "8786:6:15" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "8780:2:15" + }, + "nodeType": "YulFunctionCall", + "src": "8780:13:15" + }, + "nodeType": "YulIf", + "src": "8777:39:15" + }, + { + "nodeType": "YulAssignment", + "src": "8825:16:15", + "value": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "8836:1:15" + }, + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "8839:1:15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8832:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "8832:9:15" + }, + "variableNames": [ + { + "name": "sum", + "nodeType": "YulIdentifier", + "src": "8825:3:15" + } + ] + } + ] + }, + "name": "checked_add_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "x", + "nodeType": "YulTypedName", + "src": "8750:1:15", + "type": "" + }, + { + "name": "y", + "nodeType": "YulTypedName", + "src": "8753:1:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "sum", + "nodeType": "YulTypedName", + "src": "8759:3:15", + "type": "" + } + ], + "src": "8719:128:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8884:95:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8901:1:15", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8908:3:15", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8913:10:15", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "8904:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "8904:20:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8894:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "8894:31:15" + }, + "nodeType": "YulExpressionStatement", + "src": "8894:31:15" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8941:1:15", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8944:4:15", + "type": "", + "value": "0x41" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8934:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "8934:15:15" + }, + "nodeType": "YulExpressionStatement", + "src": "8934:15:15" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8965:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8968:4:15", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "8958:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "8958:15:15" + }, + "nodeType": "YulExpressionStatement", + "src": "8958:15:15" + } + ] + }, + "name": "panic_error_0x41", + "nodeType": "YulFunctionDefinition", + "src": "8852:127:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "9016:95:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9033:1:15", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9040:3:15", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9045:10:15", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "9036:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "9036:20:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9026:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "9026:31:15" + }, + "nodeType": "YulExpressionStatement", + "src": "9026:31:15" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9073:1:15", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9076:4:15", + "type": "", + "value": "0x32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9066:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "9066:15:15" + }, + "nodeType": "YulExpressionStatement", + "src": "9066:15:15" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9097:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9100:4:15", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "9090:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "9090:15:15" + }, + "nodeType": "YulExpressionStatement", + "src": "9090:15:15" + } + ] + }, + "name": "panic_error_0x32", + "nodeType": "YulFunctionDefinition", + "src": "8984:127:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "9163:89:15", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "9190:22:15", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "9192:16:15" + }, + "nodeType": "YulFunctionCall", + "src": "9192:18:15" + }, + "nodeType": "YulExpressionStatement", + "src": "9192:18:15" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "9183:5:15" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "9176:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "9176:13:15" + }, + "nodeType": "YulIf", + "src": "9173:39:15" + }, + { + "nodeType": "YulAssignment", + "src": "9221:25:15", + "value": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "9232:5:15" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9243:1:15", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "9239:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "9239:6:15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9228:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "9228:18:15" + }, + "variableNames": [ + { + "name": "ret", + "nodeType": "YulIdentifier", + "src": "9221:3:15" + } + ] + } + ] + }, + "name": "decrement_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "9145:5:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "ret", + "nodeType": "YulTypedName", + "src": "9155:3:15", + "type": "" + } + ], + "src": "9116:136:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "9431:182:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9448:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9459:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9441:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "9441:21:15" + }, + "nodeType": "YulExpressionStatement", + "src": "9441:21:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9482:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9493:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9478:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "9478:18:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9498:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9471:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "9471:30:15" + }, + "nodeType": "YulExpressionStatement", + "src": "9471:30:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9521:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9532:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9517:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "9517:18:15" + }, + { + "hexValue": "537472696e67733a20686578206c656e67746820696e73756666696369656e74", + "kind": "string", + "nodeType": "YulLiteral", + "src": "9537:34:15", + "type": "", + "value": "Strings: hex length insufficient" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9510:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "9510:62:15" + }, + "nodeType": "YulExpressionStatement", + "src": "9510:62:15" + }, + { + "nodeType": "YulAssignment", + "src": "9581:26:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9593:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9604:2:15", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9589:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "9589:18:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "9581:4:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_04fc88320d7c9f639317c75102c103ff0044d3075a5c627e24e76e5bbb2733c2__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "9408:9:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "9422:4:15", + "type": "" + } + ], + "src": "9257:356:15" + } + ] + }, + "contents": "{\n { }\n function abi_decode_tuple_t_bytes4(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n if iszero(eq(value, and(value, shl(224, 0xffffffff)))) { revert(0, 0) }\n value0 := value\n }\n function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, iszero(iszero(value0)))\n }\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := calldataload(headStart)\n }\n function abi_decode_tuple_t_bytes32(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := calldataload(headStart)\n }\n function abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function validator_revert_address(value)\n {\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n }\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_address(value)\n value0 := value\n }\n function abi_decode_tuple_t_bytes32t_address(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n value0 := calldataload(headStart)\n let value := calldataload(add(headStart, 32))\n validator_revert_address(value)\n value1 := value\n }\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, sub(shl(160, 1), 1)))\n }\n function validator_revert_bool(value)\n {\n if iszero(eq(value, iszero(iszero(value)))) { revert(0, 0) }\n }\n function abi_decode_tuple_t_bool(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_bool(value)\n value0 := value\n }\n function abi_encode_tuple_packed_t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"poolMaxSize\")\n end := add(pos, 11)\n }\n function abi_decode_tuple_t_uint256_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := mload(headStart)\n }\n function abi_encode_tuple_packed_t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"isPoolLive\")\n end := add(pos, 10)\n }\n function abi_decode_tuple_t_bool_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := mload(headStart)\n validator_revert_bool(value)\n value0 := value\n }\n function abi_encode_tuple_t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 29)\n mstore(add(headStart, 64), \"The pool is currently closed.\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_bytes32_t_uint256__to_t_bytes32_t_uint256__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), value1)\n }\n function abi_encode_tuple_t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 47)\n mstore(add(headStart, 64), \"AccessControl: can only renounce\")\n mstore(add(headStart, 96), \" roles for self\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_packed_t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"contributionLimit\")\n end := add(pos, 17)\n }\n function abi_encode_tuple_t_stringliteral_9bfa599205b132513fe40ce547e7e6def8c4cc455992878354af4c6363b32779__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 62)\n mstore(add(headStart, 64), \"The min. contr. limit needs to b\")\n mstore(add(headStart, 96), \"e smaller than the max. limit.\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_packed_t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"minContribution\")\n end := add(pos, 15)\n }\n function abi_encode_tuple_packed_t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"daysToRewards\")\n end := add(pos, 13)\n }\n function abi_encode_tuple_packed_t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"rewardsInterestPerPeriod\")\n end := add(pos, 24)\n }\n function abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"contract_address\")\n mstore(add(pos, 16), \"PoolBase\")\n end := add(pos, 24)\n }\n function abi_decode_tuple_t_address_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := mload(headStart)\n validator_revert_address(value)\n value0 := value\n }\n function abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), iszero(iszero(value1)))\n }\n function copy_memory_to_memory(src, dst, length)\n {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n if gt(i, length) { mstore(add(dst, length), 0) }\n }\n function abi_encode_tuple_packed_t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874_t_string_memory_ptr_t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos, value1, value0) -> end\n {\n mstore(pos, \"AccessControl: account \")\n let length := mload(value0)\n copy_memory_to_memory(add(value0, 0x20), add(pos, 23), length)\n let _1 := add(pos, length)\n mstore(add(_1, 23), \" is missing role \")\n let length_1 := mload(value1)\n copy_memory_to_memory(add(value1, 0x20), add(_1, 40), length_1)\n end := add(add(_1, length_1), 40)\n }\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n mstore(headStart, 32)\n let length := mload(value0)\n mstore(add(headStart, 32), length)\n copy_memory_to_memory(add(value0, 32), add(headStart, 64), length)\n tail := add(add(headStart, and(add(length, 31), not(31))), 64)\n }\n function panic_error_0x11()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n function checked_mul_t_uint256(x, y) -> product\n {\n if and(iszero(iszero(x)), gt(y, div(not(0), x))) { panic_error_0x11() }\n product := mul(x, y)\n }\n function checked_add_t_uint256(x, y) -> sum\n {\n if gt(x, not(y)) { panic_error_0x11() }\n sum := add(x, y)\n }\n function panic_error_0x41()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n function panic_error_0x32()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x32)\n revert(0, 0x24)\n }\n function decrement_t_uint256(value) -> ret\n {\n if iszero(value) { panic_error_0x11() }\n ret := add(value, not(0))\n }\n function abi_encode_tuple_t_stringliteral_04fc88320d7c9f639317c75102c103ff0044d3075a5c627e24e76e5bbb2733c2__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 32)\n mstore(add(headStart, 64), \"Strings: hex length insufficient\")\n tail := add(headStart, 96)\n }\n}", + "id": 15, + "language": "Yul", + "name": "#utility.yul" + } + ], + "immutableReferences": {}, + "linkReferences": {}, + "object": "608060405234801561001057600080fd5b506004361061014d5760003560e01c806353710f49116100c357806391d148541161007c57806391d14854146102a2578063a217fddf146102b5578063a4975516146102bd578063bf4c0036146102d0578063d547741f146102e3578063fa1e19e5146102f657600080fd5b806353710f491461023757806362308e851461024a5780636cff74731461025f57806372d099a0146102675780637521796f1461027a5780638ae681341461028257600080fd5b806329ca15bc1161011557806329ca15bc146101d05780632f2ff15d146101e357806336568abe146101f657806345077e7114610209578063473b0d461461021c578063497d02411461022f57600080fd5b806301ffc9a714610152578063095df57f1461017a5780631264698714610190578063217ac237146101a5578063248a9ca3146101ad575b600080fd5b610165610160366004611270565b6102fe565b60405190151581526020015b60405180910390f35b610182610335565b604051908152602001610171565b6101a361019e36600461129a565b6103f2565b005b610165610579565b6101826101bb36600461129a565b60009081526020819052604090206001015490565b6101a36101de3660046112cb565b61061e565b6101a36101f13660046112e8565b61067a565b6101a36102043660046112e8565b6106a5565b6101a36102173660046112cb565b610723565b6101a361022a36600461129a565b61077f565b610182610a27565b6101a361024536600461129a565b610a4d565b61018260008051602061154c83398151915281565b610182610b4f565b6101a361027536600461129a565b610b77565b610182610c7d565b61028a610cae565b6040516001600160a01b039091168152602001610171565b6101656102b03660046112e8565b610d87565b610182600081565b6101a36102cb366004611326565b610db0565b6101a36102de36600461129a565b610e2a565b6101a36102f13660046112e8565b610f37565b610182610f5d565b60006001600160e01b03198216637965db0b60e01b148061032f57506301ffc9a760e01b6001600160e01b03198316145b92915050565b600080604051602001610359906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b1580156103b457600080fd5b505afa1580156103c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103ec9190611343565b91505090565b60008051602061154c83398151915261040b8133610f87565b6002546040516001600160a01b03909116906355d946559061042f9060200161135c565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161046391815260200190565b60206040518083038186803b15801561047b57600080fd5b505afa15801561048f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104b39190611372565b156104d95760405162461bcd60e51b81526004016104d09061138f565b60405180910390fd5b6040516a706f6f6c4d617853697a6560a81b6020820152600090602b015b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018690529092506001600160a01b0316906328192c55906044015b600060405180830381600087803b15801561055c57600080fd5b505af1158015610570573d6000803e3d6000fd5b50505050505050565b60008060405160200161058b9061135c565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b1580156105e657600080fd5b505afa1580156105fa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103ec9190611372565b600061062a8133610f87565b61064260008051602061154c83398151915283610f37565b6040516001600160a01b038316907fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd3190600090a25050565b6000828152602081905260409020600101546106968133610f87565b6106a08383610feb565b505050565b6001600160a01b03811633146107155760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016104d0565b61071f828261106f565b5050565b600061072f8133610f87565b61074760008051602061154c8339815191528361067a565b6040516001600160a01b038316907fd873e3f571dc25e020cefdeb7255b3874ead3aade1f94a5fb4a5da831fd670cd90600090a25050565b60008051602061154c8339815191526107988133610f87565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b602082015260009060310160408051601f198184030181529082905280516020918201206002549093506001600160a01b0316916355d94655916107f4910161135c565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161082891815260200190565b60206040518083038186803b15801561084057600080fd5b505afa158015610854573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108789190611372565b156108955760405162461bcd60e51b81526004016104d09061138f565b60025460405163afc3602b60e01b81526004810183905284916001600160a01b03169063afc3602b9060240160206040518083038186803b1580156108d957600080fd5b505afa1580156108ed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109119190611343565b116109845760405162461bcd60e51b815260206004820152603e60248201527f546865206d696e2e20636f6e74722e206c696d6974206e6565647320746f206260448201527f6520736d616c6c6572207468616e20746865206d61782e206c696d69742e000060648201526084016104d0565b6040516e36b4b721b7b73a3934b13aba34b7b760891b6020820152600090602f0160408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018790529092506001600160a01b0316906328192c5590604401600060405180830381600087803b158015610a0957600080fd5b505af1158015610a1d573d6000803e3d6000fd5b5050505050505050565b600080604051602001610359906c64617973546f5265776172647360981b8152600d0190565b60008051602061154c833981519152610a668133610f87565b6002546040516001600160a01b03909116906355d9465590610a8a9060200161135c565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610abe91815260200190565b60206040518083038186803b158015610ad657600080fd5b505afa158015610aea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b0e9190611372565b15610b2b5760405162461bcd60e51b81526004016104d09061138f565b6040516c64617973546f5265776172647360981b6020820152600090602d016104f7565b600080604051602001610359906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b60008051602061154c833981519152610b908133610f87565b6002546040516001600160a01b03909116906355d9465590610bb49060200161135c565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610be891815260200190565b60206040518083038186803b158015610c0057600080fd5b505afa158015610c14573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c389190611372565b15610c555760405162461bcd60e51b81526004016104d09061138f565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b60208201526000906031016104f7565b60008060405160200161035990771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b600080604051602001610ce8906f636f6e74726163745f6164647265737360801b815267506f6f6c4261736560c01b601082015260180190565b60408051808303601f190181529082905280516020909101206002546315485dd960e11b8352600483018290529092506000916001600160a01b0390911690632a90bbb29060240160206040518083038186803b158015610d4857600080fd5b505afa158015610d5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d8091906113c6565b9392505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60008051602061154c833981519152610dc98133610f87565b6000604051602001610dda9061135c565b60408051808303601f1901815290829052805160209091012060025463988c515b60e01b83526004830182905285151560248401529092506001600160a01b03169063988c515b90604401610542565b60008051602061154c833981519152610e438133610f87565b6002546040516001600160a01b03909116906355d9465590610e679060200161135c565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610e9b91815260200190565b60206040518083038186803b158015610eb357600080fd5b505afa158015610ec7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eeb9190611372565b15610f085760405162461bcd60e51b81526004016104d09061138f565b604051771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b60208201526000906038016104f7565b600082815260208190526040902060010154610f538133610f87565b6106a0838361106f565b600080604051602001610359907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b610f918282610d87565b61071f57610fa9816001600160a01b031660146110d4565b610fb48360206110d4565b604051602001610fc5929190611413565b60408051601f198184030181529082905262461bcd60e51b82526104d091600401611488565b610ff58282610d87565b61071f576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905561102b3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6110798282610d87565b1561071f576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b606060006110e38360026114d1565b6110ee9060026114f0565b67ffffffffffffffff81111561110657611106611508565b6040519080825280601f01601f191660200182016040528015611130576020820181803683370190505b509050600360fc1b8160008151811061114b5761114b61151e565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061117a5761117a61151e565b60200101906001600160f81b031916908160001a905350600061119e8460026114d1565b6111a99060016114f0565b90505b6001811115611221576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106111dd576111dd61151e565b1a60f81b8282815181106111f3576111f361151e565b60200101906001600160f81b031916908160001a90535060049490941c9361121a81611534565b90506111ac565b508315610d805760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016104d0565b60006020828403121561128257600080fd5b81356001600160e01b031981168114610d8057600080fd5b6000602082840312156112ac57600080fd5b5035919050565b6001600160a01b03811681146112c857600080fd5b50565b6000602082840312156112dd57600080fd5b8135610d80816112b3565b600080604083850312156112fb57600080fd5b82359150602083013561130d816112b3565b809150509250929050565b80151581146112c857600080fd5b60006020828403121561133857600080fd5b8135610d8081611318565b60006020828403121561135557600080fd5b5051919050565b696973506f6f6c4c69766560b01b8152600a0190565b60006020828403121561138457600080fd5b8151610d8081611318565b6020808252601d908201527f54686520706f6f6c2069732063757272656e746c7920636c6f7365642e000000604082015260600190565b6000602082840312156113d857600080fd5b8151610d80816112b3565b60005b838110156113fe5781810151838201526020016113e6565b8381111561140d576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161144b8160178501602088016113e3565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161147c8160288401602088016113e3565b01602801949350505050565b60208152600082518060208401526114a78160408501602087016113e3565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156114eb576114eb6114bb565b500290565b60008219821115611503576115036114bb565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081611543576115436114bb565b50600019019056fe41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842a264697066735822122068aefc31709df53e0bd9b41a607ae0503e6debe0af5b8d983994032b47ecd3db64736f6c63430008090033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x14D JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x53710F49 GT PUSH2 0xC3 JUMPI DUP1 PUSH4 0x91D14854 GT PUSH2 0x7C JUMPI DUP1 PUSH4 0x91D14854 EQ PUSH2 0x2A2 JUMPI DUP1 PUSH4 0xA217FDDF EQ PUSH2 0x2B5 JUMPI DUP1 PUSH4 0xA4975516 EQ PUSH2 0x2BD JUMPI DUP1 PUSH4 0xBF4C0036 EQ PUSH2 0x2D0 JUMPI DUP1 PUSH4 0xD547741F EQ PUSH2 0x2E3 JUMPI DUP1 PUSH4 0xFA1E19E5 EQ PUSH2 0x2F6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x53710F49 EQ PUSH2 0x237 JUMPI DUP1 PUSH4 0x62308E85 EQ PUSH2 0x24A JUMPI DUP1 PUSH4 0x6CFF7473 EQ PUSH2 0x25F JUMPI DUP1 PUSH4 0x72D099A0 EQ PUSH2 0x267 JUMPI DUP1 PUSH4 0x7521796F EQ PUSH2 0x27A JUMPI DUP1 PUSH4 0x8AE68134 EQ PUSH2 0x282 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x29CA15BC GT PUSH2 0x115 JUMPI DUP1 PUSH4 0x29CA15BC EQ PUSH2 0x1D0 JUMPI DUP1 PUSH4 0x2F2FF15D EQ PUSH2 0x1E3 JUMPI DUP1 PUSH4 0x36568ABE EQ PUSH2 0x1F6 JUMPI DUP1 PUSH4 0x45077E71 EQ PUSH2 0x209 JUMPI DUP1 PUSH4 0x473B0D46 EQ PUSH2 0x21C JUMPI DUP1 PUSH4 0x497D0241 EQ PUSH2 0x22F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x152 JUMPI DUP1 PUSH4 0x95DF57F EQ PUSH2 0x17A JUMPI DUP1 PUSH4 0x12646987 EQ PUSH2 0x190 JUMPI DUP1 PUSH4 0x217AC237 EQ PUSH2 0x1A5 JUMPI DUP1 PUSH4 0x248A9CA3 EQ PUSH2 0x1AD JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x165 PUSH2 0x160 CALLDATASIZE PUSH1 0x4 PUSH2 0x1270 JUMP JUMPDEST PUSH2 0x2FE JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x182 PUSH2 0x335 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x171 JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x19E CALLDATASIZE PUSH1 0x4 PUSH2 0x129A JUMP JUMPDEST PUSH2 0x3F2 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x165 PUSH2 0x579 JUMP JUMPDEST PUSH2 0x182 PUSH2 0x1BB CALLDATASIZE PUSH1 0x4 PUSH2 0x129A JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x1DE CALLDATASIZE PUSH1 0x4 PUSH2 0x12CB JUMP JUMPDEST PUSH2 0x61E JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x1F1 CALLDATASIZE PUSH1 0x4 PUSH2 0x12E8 JUMP JUMPDEST PUSH2 0x67A JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x204 CALLDATASIZE PUSH1 0x4 PUSH2 0x12E8 JUMP JUMPDEST PUSH2 0x6A5 JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x217 CALLDATASIZE PUSH1 0x4 PUSH2 0x12CB JUMP JUMPDEST PUSH2 0x723 JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x22A CALLDATASIZE PUSH1 0x4 PUSH2 0x129A JUMP JUMPDEST PUSH2 0x77F JUMP JUMPDEST PUSH2 0x182 PUSH2 0xA27 JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x245 CALLDATASIZE PUSH1 0x4 PUSH2 0x129A JUMP JUMPDEST PUSH2 0xA4D JUMP JUMPDEST PUSH2 0x182 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 JUMP JUMPDEST PUSH2 0x182 PUSH2 0xB4F JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x275 CALLDATASIZE PUSH1 0x4 PUSH2 0x129A JUMP JUMPDEST PUSH2 0xB77 JUMP JUMPDEST PUSH2 0x182 PUSH2 0xC7D JUMP JUMPDEST PUSH2 0x28A PUSH2 0xCAE JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x171 JUMP JUMPDEST PUSH2 0x165 PUSH2 0x2B0 CALLDATASIZE PUSH1 0x4 PUSH2 0x12E8 JUMP JUMPDEST PUSH2 0xD87 JUMP JUMPDEST PUSH2 0x182 PUSH1 0x0 DUP2 JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x2CB CALLDATASIZE PUSH1 0x4 PUSH2 0x1326 JUMP JUMPDEST PUSH2 0xDB0 JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x2DE CALLDATASIZE PUSH1 0x4 PUSH2 0x129A JUMP JUMPDEST PUSH2 0xE2A JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x2F1 CALLDATASIZE PUSH1 0x4 PUSH2 0x12E8 JUMP JUMPDEST PUSH2 0xF37 JUMP JUMPDEST PUSH2 0x182 PUSH2 0xF5D JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH4 0x7965DB0B PUSH1 0xE0 SHL EQ DUP1 PUSH2 0x32F JUMPI POP PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP4 AND EQ JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x359 SWAP1 PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL DUP2 MSTORE PUSH1 0xB ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x3B4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x3C8 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x3EC SWAP2 SWAP1 PUSH2 0x1343 JUMP JUMPDEST SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x40B DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x42F SWAP1 PUSH1 0x20 ADD PUSH2 0x135C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x463 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x47B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x48F JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x4B3 SWAP2 SWAP1 PUSH2 0x1372 JUMP JUMPDEST ISZERO PUSH2 0x4D9 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x4D0 SWAP1 PUSH2 0x138F JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2B ADD JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP7 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x55C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x570 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x58B SWAP1 PUSH2 0x135C JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x55D94655 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x5E6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x5FA JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x3EC SWAP2 SWAP1 PUSH2 0x1372 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x62A DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH2 0x642 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0xF37 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xEF69F7D97228658C92417BE1B16B19058315DE71FECB435D07B7D23728B6BD31 SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0x696 DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH2 0x6A0 DUP4 DUP4 PUSH2 0xFEB JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND CALLER EQ PUSH2 0x715 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416363657373436F6E74726F6C3A2063616E206F6E6C792072656E6F756E6365 PUSH1 0x44 DUP3 ADD MSTORE PUSH15 0x103937B632B9903337B91039B2B633 PUSH1 0x89 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x4D0 JUMP JUMPDEST PUSH2 0x71F DUP3 DUP3 PUSH2 0x106F JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x72F DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH2 0x747 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0x67A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xD873E3F571DC25E020CEFDEB7255B3874EAD3AADE1F94A5FB4A5DA831FD670CD SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x798 DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x31 ADD PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP2 DUP3 ADD KECCAK256 PUSH1 0x2 SLOAD SWAP1 SWAP4 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 PUSH4 0x55D94655 SWAP2 PUSH2 0x7F4 SWAP2 ADD PUSH2 0x135C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x828 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x840 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x854 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x878 SWAP2 SWAP1 PUSH2 0x1372 JUMP JUMPDEST ISZERO PUSH2 0x895 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x4D0 SWAP1 PUSH2 0x138F JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP4 SWAP1 MSTORE DUP5 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x8D9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x8ED JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x911 SWAP2 SWAP1 PUSH2 0x1343 JUMP JUMPDEST GT PUSH2 0x984 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x546865206D696E2E20636F6E74722E206C696D6974206E6565647320746F2062 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6520736D616C6C6572207468616E20746865206D61782E206C696D69742E0000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x4D0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2F ADD PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP8 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xA09 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xA1D JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x359 SWAP1 PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL DUP2 MSTORE PUSH1 0xD ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xA66 DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xA8A SWAP1 PUSH1 0x20 ADD PUSH2 0x135C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xABE SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xAD6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xAEA JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xB0E SWAP2 SWAP1 PUSH2 0x1372 JUMP JUMPDEST ISZERO PUSH2 0xB2B JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x4D0 SWAP1 PUSH2 0x138F JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2D ADD PUSH2 0x4F7 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x359 SWAP1 PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL DUP2 MSTORE PUSH1 0xF ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xB90 DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xBB4 SWAP1 PUSH1 0x20 ADD PUSH2 0x135C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xBE8 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xC00 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xC14 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xC38 SWAP2 SWAP1 PUSH2 0x1372 JUMP JUMPDEST ISZERO PUSH2 0xC55 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x4D0 SWAP1 PUSH2 0x138F JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x31 ADD PUSH2 0x4F7 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x359 SWAP1 PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL DUP2 MSTORE PUSH1 0x18 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xCE8 SWAP1 PUSH16 0x636F6E74726163745F61646472657373 PUSH1 0x80 SHL DUP2 MSTORE PUSH8 0x506F6F6C42617365 PUSH1 0xC0 SHL PUSH1 0x10 DUP3 ADD MSTORE PUSH1 0x18 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x15485DD9 PUSH1 0xE1 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x0 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x2A90BBB2 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xD48 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xD5C JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xD80 SWAP2 SWAP1 PUSH2 0x13C6 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP3 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 SWAP1 SWAP4 AND DUP5 MSTORE SWAP2 SWAP1 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xDC9 DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xDDA SWAP1 PUSH2 0x135C JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x988C515B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE DUP6 ISZERO ISZERO PUSH1 0x24 DUP5 ADD MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x988C515B SWAP1 PUSH1 0x44 ADD PUSH2 0x542 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xE43 DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xE67 SWAP1 PUSH1 0x20 ADD PUSH2 0x135C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xE9B SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xEB3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xEC7 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xEEB SWAP2 SWAP1 PUSH2 0x1372 JUMP JUMPDEST ISZERO PUSH2 0xF08 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x4D0 SWAP1 PUSH2 0x138F JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x38 ADD PUSH2 0x4F7 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0xF53 DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH2 0x6A0 DUP4 DUP4 PUSH2 0x106F JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x359 SWAP1 PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL DUP2 MSTORE PUSH1 0x11 ADD SWAP1 JUMP JUMPDEST PUSH2 0xF91 DUP3 DUP3 PUSH2 0xD87 JUMP JUMPDEST PUSH2 0x71F JUMPI PUSH2 0xFA9 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x14 PUSH2 0x10D4 JUMP JUMPDEST PUSH2 0xFB4 DUP4 PUSH1 0x20 PUSH2 0x10D4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xFC5 SWAP3 SWAP2 SWAP1 PUSH2 0x1413 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE PUSH3 0x461BCD PUSH1 0xE5 SHL DUP3 MSTORE PUSH2 0x4D0 SWAP2 PUSH1 0x4 ADD PUSH2 0x1488 JUMP JUMPDEST PUSH2 0xFF5 DUP3 DUP3 PUSH2 0xD87 JUMP JUMPDEST PUSH2 0x71F JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH2 0x102B CALLER SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH2 0x1079 DUP3 DUP3 PUSH2 0xD87 JUMP JUMPDEST ISZERO PUSH2 0x71F JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP1 DUP6 MSTORE SWAP3 MSTORE DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE MLOAD CALLER SWAP3 DUP6 SWAP2 PUSH32 0xF6391F5C32D9C69D2A47EA670B442974B53935D1EDC7FD64EB21E047A839171B SWAP2 SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH2 0x10E3 DUP4 PUSH1 0x2 PUSH2 0x14D1 JUMP JUMPDEST PUSH2 0x10EE SWAP1 PUSH1 0x2 PUSH2 0x14F0 JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1106 JUMPI PUSH2 0x1106 PUSH2 0x1508 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x1130 JUMPI PUSH1 0x20 DUP3 ADD DUP2 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x3 PUSH1 0xFC SHL DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x114B JUMPI PUSH2 0x114B PUSH2 0x151E JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0xF PUSH1 0xFB SHL DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x117A JUMPI PUSH2 0x117A PUSH2 0x151E JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x0 PUSH2 0x119E DUP5 PUSH1 0x2 PUSH2 0x14D1 JUMP JUMPDEST PUSH2 0x11A9 SWAP1 PUSH1 0x1 PUSH2 0x14F0 JUMP JUMPDEST SWAP1 POP JUMPDEST PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x1221 JUMPI PUSH16 0x181899199A1A9B1B9C1CB0B131B232B3 PUSH1 0x81 SHL DUP6 PUSH1 0xF AND PUSH1 0x10 DUP2 LT PUSH2 0x11DD JUMPI PUSH2 0x11DD PUSH2 0x151E JUMP JUMPDEST BYTE PUSH1 0xF8 SHL DUP3 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x11F3 JUMPI PUSH2 0x11F3 PUSH2 0x151E JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x4 SWAP5 SWAP1 SWAP5 SHR SWAP4 PUSH2 0x121A DUP2 PUSH2 0x1534 JUMP JUMPDEST SWAP1 POP PUSH2 0x11AC JUMP JUMPDEST POP DUP4 ISZERO PUSH2 0xD80 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x537472696E67733A20686578206C656E67746820696E73756666696369656E74 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x4D0 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1282 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND DUP2 EQ PUSH2 0xD80 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x12AC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x12C8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x12DD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0xD80 DUP2 PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x12FB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x130D DUP2 PUSH2 0x12B3 JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0x12C8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1338 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0xD80 DUP2 PUSH2 0x1318 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1355 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH10 0x6973506F6F6C4C697665 PUSH1 0xB0 SHL DUP2 MSTORE PUSH1 0xA ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1384 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0xD80 DUP2 PUSH2 0x1318 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1D SWAP1 DUP3 ADD MSTORE PUSH32 0x54686520706F6F6C2069732063757272656E746C7920636C6F7365642E000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x13D8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0xD80 DUP2 PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x13FE JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x13E6 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x140D JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH32 0x416363657373436F6E74726F6C3A206163636F756E7420000000000000000000 DUP2 MSTORE PUSH1 0x0 DUP4 MLOAD PUSH2 0x144B DUP2 PUSH1 0x17 DUP6 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x13E3 JUMP JUMPDEST PUSH17 0x1034B99036B4B9B9B4B733903937B6329 PUSH1 0x7D SHL PUSH1 0x17 SWAP2 DUP5 ADD SWAP2 DUP3 ADD MSTORE DUP4 MLOAD PUSH2 0x147C DUP2 PUSH1 0x28 DUP5 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x13E3 JUMP JUMPDEST ADD PUSH1 0x28 ADD SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 DUP3 MLOAD DUP1 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x14A7 DUP2 PUSH1 0x40 DUP6 ADD PUSH1 0x20 DUP8 ADD PUSH2 0x13E3 JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP2 SWAP1 SWAP2 ADD PUSH1 0x40 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x0 NOT DIV DUP4 GT DUP3 ISZERO ISZERO AND ISZERO PUSH2 0x14EB JUMPI PUSH2 0x14EB PUSH2 0x14BB JUMP JUMPDEST POP MUL SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x1503 JUMPI PUSH2 0x1503 PUSH2 0x14BB JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH2 0x1543 JUMPI PUSH2 0x1543 PUSH2 0x14BB JUMP JUMPDEST POP PUSH1 0x0 NOT ADD SWAP1 JUMP INVALID COINBASE LOG0 0x1E 0xC0 LOG1 EXTCODESIZE JUMP EXTCODEHASH LOG4 MSTORE JUMP SWAP15 EXTCODEHASH 0xBB GT PUSH4 0x66D217C2 PUSH23 0x9AA1561822E65A617E3842A264697066735822122068AE 0xFC BALANCE PUSH17 0x9DF53E0BD9B41A607AE0503E6DEBE0AF5B DUP14 SWAP9 CODECOPY SWAP5 SUB 0x2B SELFBALANCE 0xEC 0xD3 0xDB PUSH5 0x736F6C6343 STOP ADDMOD MULMOD STOP CALLER ", + "sourceMap": "627:7231:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2620:202:7;;;;;;:::i;:::-;;:::i;:::-;;;470:14:15;;463:22;445:41;;433:2;418:18;2620:202:7;;;;;;;;6789:205:0;;;:::i;:::-;;;643:25:15;;;631:2;616:18;6789:205:0;497:177:15;3298:341:0;;;;;;:::i;:::-;;:::i;:::-;;6597:184;;;:::i;4008:129:7:-;;;;;;:::i;:::-;4082:7;4108:12;;;;;;;;;;:22;;;;4008:129;2178:175:0;;;;;;:::i;:::-;;:::i;4387:145:7:-;;;;;;:::i;:::-;;:::i;5404:214::-;;;;;;:::i;:::-;;:::i;1998:172:0:-;;;;;;:::i;:::-;;:::i;5239:585::-;;;;;;:::i;:::-;;:::i;7002:195::-;;;:::i;3713:351::-;;;;;;:::i;:::-;;:::i;687:64::-;;-1:-1:-1;;;;;;;;;;;687:64:0;;7640:199;;;:::i;4761:362::-;;;;;;:::i;:::-;;:::i;7205:212::-;;;:::i;6317:268::-;;;:::i;:::-;;;-1:-1:-1;;;;;2103:32:15;;;2085:51;;2073:2;2058:18;6317:268:0;1939:203:15;2909:145:7;;;;;;:::i;:::-;;:::i;2027:49::-;;2072:4;2027:49;;2965:198:0;;;;;;:::i;:::-;;:::i;4271:372::-;;;;;;:::i;:::-;;:::i;4766:147:7:-;;;;;;:::i;:::-;;:::i;7425:207:0:-;;;:::i;2620:202:7:-;2705:4;-1:-1:-1;;;;;;2728:47:7;;-1:-1:-1;;;2728:47:7;;:87;;-1:-1:-1;;;;;;;;;;937:40:13;;;2779:36:7;2721:94;2620:202;-1:-1:-1;;2620:202:7:o;6789:205:0:-;6835:4;6851:22;6886:31;;;;;;-1:-1:-1;;;2718:26:15;;2769:2;2760:12;;2516:262;6886:31:0;;;;;;;-1:-1:-1;;6886:31:0;;;;;;;6876:42;;6886:31;6876:42;;;;6936:11;;-1:-1:-1;;;6936:42:0;;;;;643:25:15;;;6876:42:0;;-1:-1:-1;;;;;;6936:11:0;;:26;;616:18:15;;6936:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6929:49;;;6789:205;:::o;3298:341::-;-1:-1:-1;;;;;;;;;;;2505:30:7;726:25:0;719:10:11;2505::7;:30::i;:::-;3387:11:0::1;::::0;3424:30:::1;::::0;-1:-1:-1;;;;;3387:11:0;;::::1;::::0;:26:::1;::::0;3424:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;3414:41;;;;;;3387:69;;;;;;;;;;;;;643:25:15::0;;631:2;616:18;;497:177;3387:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3386:70;3378:112;;;;-1:-1:-1::0;;;3378:112:0::1;;;;;;;:::i;:::-;;;;;;;;;3536:31;::::0;-1:-1:-1;;;3536:31:0::1;::::0;::::1;2718:26:15::0;3501:22:0::1;::::0;2760:12:15;;3536:31:0::1;;::::0;;;;::::1;-1:-1:-1::0;;3536:31:0;;;;;;;3526:42;;3536:31:::1;3526:42:::0;;::::1;::::0;3579:11:::1;::::0;-1:-1:-1;;;3579:52:0;;::::1;::::0;::::1;4020:25:15::0;;;4061:18;;;4054:34;;;3526:42:0;;-1:-1:-1;;;;;;3579:11:0::1;::::0;:26:::1;::::0;3993:18:15;;3579:52:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;3367:272;3298:341:::0;;:::o;6597:184::-;6641:4;6657:17;6687:30;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;6687:30:0;;;;;;;6677:41;;6687:30;6677:41;;;;6736:11;;-1:-1:-1;;;6736:37:0;;;;;643:25:15;;;6677:41:0;;-1:-1:-1;;;;;;6736:11:0;;:26;;616:18:15;;6736:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;2178:175::-;2072:4:7;2505:30;2072:4;719:10:11;2505::7;:30::i;:::-;2271:34:0::1;-1:-1:-1::0;;;;;;;;;;;2296:8:0::1;2271:10;:34::i;:::-;2321:24;::::0;-1:-1:-1;;;;;2321:24:0;::::1;::::0;::::1;::::0;;;::::1;2178:175:::0;;:::o;4387:145:7:-;4082:7;4108:12;;;;;;;;;;:22;;;2505:30;2516:4;719:10:11;2505::7;:30::i;:::-;4500:25:::1;4511:4;4517:7;4500:10;:25::i;:::-;4387:145:::0;;;:::o;5404:214::-;-1:-1:-1;;;;;5499:23:7;;719:10:11;5499:23:7;5491:83;;;;-1:-1:-1;;;5491:83:7;;4301:2:15;5491:83:7;;;4283:21:15;4340:2;4320:18;;;4313:30;4379:34;4359:18;;;4352:62;-1:-1:-1;;;4430:18:15;;;4423:45;4485:19;;5491:83:7;4099:411:15;5491:83:7;5585:26;5597:4;5603:7;5585:11;:26::i;:::-;5404:214;;:::o;1998:172:0:-;2072:4:7;2505:30;2072:4;719:10:11;2505::7;:30::i;:::-;2088:33:0::1;-1:-1:-1::0;;;;;;;;;;;2112:8:0::1;2088:9;:33::i;:::-;2137:25;::::0;-1:-1:-1;;;;;2137:25:0;::::1;::::0;::::1;::::0;;;::::1;1998:172:::0;;:::o;5239:585::-;-1:-1:-1;;;;;;;;;;;2505:30:7;726:25:0;719:10:11;2505::7;:30::i;:::-;5360:37:0::1;::::0;-1:-1:-1;;;5360:37:0::1;::::0;::::1;4717:32:15::0;5326:21:0::1;::::0;4765:12:15;;5360:37:0::1;::::0;;-1:-1:-1;;5360:37:0;;::::1;::::0;;;;;;;5350:48;;5360:37:::1;5350:48:::0;;::::1;::::0;5418:11:::1;::::0;5350:48;;-1:-1:-1;;;;;;5418:11:0::1;::::0;:26:::1;::::0;5455:30:::1;::::0;::::1;;:::i;:::-;;;;;;;;;;;;;5445:41;;;;;;5418:69;;;;;;;;;;;;;643:25:15::0;;631:2;616:18;;497:177;5418:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5417:70;5409:112;;;;-1:-1:-1::0;;;5409:112:0::1;;;;;;;:::i;:::-;5540:11;::::0;:41:::1;::::0;-1:-1:-1;;;5540:41:0;;::::1;::::0;::::1;643:25:15::0;;;5584:12:0;;-1:-1:-1;;;;;5540:11:0::1;::::0;:26:::1;::::0;616:18:15;;5540:41:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;5532:131;;;::::0;-1:-1:-1;;;5532:131:0;;4990:2:15;5532:131:0::1;::::0;::::1;4972:21:15::0;5029:2;5009:18;;;5002:30;5068:34;5048:18;;;5041:62;5139:32;5119:18;;;5112:60;5189:19;;5532:131:0::1;4788:426:15::0;5532:131:0::1;5716:35;::::0;-1:-1:-1;;;5716:35:0::1;::::0;::::1;5421:30:15::0;5684:19:0::1;::::0;5467:12:15;;5716:35:0::1;::::0;;;;::::1;-1:-1:-1::0;;5716:35:0;;;;;;;5706:46;;5716:35:::1;5706:46:::0;;::::1;::::0;5763:11:::1;::::0;-1:-1:-1;;;5763:53:0;;::::1;::::0;::::1;4020:25:15::0;;;4061:18;;;4054:34;;;5706:46:0;;-1:-1:-1;;;;;;5763:11:0::1;::::0;:26:::1;::::0;3993:18:15;;5763:53:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;5315:509;;5239:585:::0;;:::o;7002:195::-;7052:4;7068:18;7099:33;;;;;;-1:-1:-1;;;5692:28:15;;5745:2;5736:12;;5490:264;3713:351:0;-1:-1:-1;;;;;;;;;;;2505:30:7;726:25:0;719:10:11;2505::7;:30::i;:::-;3812:11:0::1;::::0;3849:30:::1;::::0;-1:-1:-1;;;;;3812:11:0;;::::1;::::0;:26:::1;::::0;3849:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;3839:41;;;;;;3812:69;;;;;;;;;;;;;643:25:15::0;;631:2;616:18;;497:177;3812:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3811:70;3803:112;;;;-1:-1:-1::0;;;3803:112:0::1;;;;;;;:::i;:::-;3957:33;::::0;-1:-1:-1;;;3957:33:0::1;::::0;::::1;5692:28:15::0;3926:18:0::1;::::0;5736:12:15;;3957:33:0::1;5490:264:15::0;7640:199:0;7690:4;7706:19;7738:35;;;;;;-1:-1:-1;;;5421:30:15;;5476:2;5467:12;;5219:266;4761:362:0;-1:-1:-1;;;;;;;;;;;2505:30:7;726:25:0;719:10:11;2505::7;:30::i;:::-;4861:11:0::1;::::0;4898:30:::1;::::0;-1:-1:-1;;;;;4861:11:0;;::::1;::::0;:26:::1;::::0;4898:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;4888:41;;;;;;4861:69;;;;;;;;;;;;;643:25:15::0;;631:2;616:18;;497:177;4861:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4860:70;4852:112;;;;-1:-1:-1::0;;;4852:112:0::1;;;;;;;:::i;:::-;5009:37;::::0;-1:-1:-1;;;5009:37:0::1;::::0;::::1;4717:32:15::0;4975:21:0::1;::::0;4765:12:15;;5009:37:0::1;4515:268:15::0;7205:212:0;7255:4;7271:21;7305:44;;;;;;-1:-1:-1;;;5961:39:15;;6025:2;6016:12;;5759:275;6317:268:0;6367:7;6386:18;6417:48;;;;;;-1:-1:-1;;;6342:31:15;;-1:-1:-1;;;6398:2:15;6389:12;;6382:32;6439:2;6430:12;;6039:409;6417:48:0;;;;;;;-1:-1:-1;;6417:48:0;;;;;;;6407:59;;6417:48;6407:59;;;;6503:11;;-1:-1:-1;;;6503:41:0;;;;;643:25:15;;;6407:59:0;;-1:-1:-1;6477:23:0;;-1:-1:-1;;;;;6503:11:0;;;;:29;;616:18:15;;6503:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6477:67;6317:268;-1:-1:-1;;;6317:268:0:o;2909:145:7:-;2995:4;3018:12;;;;;;;;;;;-1:-1:-1;;;;;3018:29:7;;;;;;;;;;;;;;;2909:145::o;2965:198:0:-;-1:-1:-1;;;;;;;;;;;2505:30:7;726:25:0;719:10:11;2505::7;:30::i;:::-;3039:17:0::1;3069:30;;;;;;;:::i;:::-;;::::0;;;;::::1;-1:-1:-1::0;;3069:30:0;;;;;;;3059:41;;3069:30:::1;3059:41:::0;;::::1;::::0;3111:11:::1;::::0;-1:-1:-1;;;3111:44:0;;::::1;::::0;::::1;6877:25:15::0;;;6945:14;;6938:22;6918:18;;;6911:50;3059:41:0;;-1:-1:-1;;;;;;3111:11:0::1;::::0;:26:::1;::::0;6850:18:15;;3111:44:0::1;6709:258:15::0;4271:372:0;-1:-1:-1;;;;;;;;;;;2505:30:7;726:25:0;719:10:11;2505::7;:30::i;:::-;4372:11:0::1;::::0;4409:30:::1;::::0;-1:-1:-1;;;;;4372:11:0;;::::1;::::0;:26:::1;::::0;4409:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;4399:41;;;;;;4372:69;;;;;;;;;;;;;643:25:15::0;;631:2;616:18;;497:177;4372:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4371:70;4363:112;;;;-1:-1:-1::0;;;4363:112:0::1;;;;;;;:::i;:::-;4520:44;::::0;-1:-1:-1;;;4520:44:0::1;::::0;::::1;5961:39:15::0;4486:21:0::1;::::0;6016:12:15;;4520:44:0::1;5759:275:15::0;4766:147:7;4082:7;4108:12;;;;;;;;;;:22;;;2505:30;2516:4;719:10:11;2505::7;:30::i;:::-;4880:26:::1;4892:4;4898:7;4880:11;:26::i;7425:207:0:-:0;7477:4;7493:21;7527:37;;;;;;-1:-1:-1;;;4717:32:15;;4774:2;4765:12;;4515:268;3335:492:7;3423:22;3431:4;3437:7;3423;:22::i;:::-;3418:403;;3606:41;3634:7;-1:-1:-1;;;;;3606:41:7;3644:2;3606:19;:41::i;:::-;3718:38;3746:4;3753:2;3718:19;:38::i;:::-;3513:265;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3513:265:7;;;;;;;;;;-1:-1:-1;;;3461:349:7;;;;;;;:::i;6861:233::-;6944:22;6952:4;6958:7;6944;:22::i;:::-;6939:149;;6982:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6982:29:7;;;;;;;;;:36;;-1:-1:-1;;6982:36:7;7014:4;6982:36;;;7064:12;719:10:11;;640:96;7064:12:7;-1:-1:-1;;;;;7037:40:7;7055:7;-1:-1:-1;;;;;7037:40:7;7049:4;7037:40;;;;;;;;;;6861:233;;:::o;7219:234::-;7302:22;7310:4;7316:7;7302;:22::i;:::-;7298:149;;;7372:5;7340:12;;;;;;;;;;;-1:-1:-1;;;;;7340:29:7;;;;;;;;;;:37;;-1:-1:-1;;7340:37:7;;;7396:40;719:10:11;;7340:12:7;;7396:40;;7372:5;7396:40;7219:234;;:::o;1588:441:12:-;1663:13;1688:19;1720:10;1724:6;1720:1;:10;:::i;:::-;:14;;1733:1;1720:14;:::i;:::-;1710:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1710:25:12;;1688:47;;-1:-1:-1;;;1745:6:12;1752:1;1745:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1745:15:12;;;;;;;;;-1:-1:-1;;;1770:6:12;1777:1;1770:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1770:15:12;;;;;;;;-1:-1:-1;1800:9:12;1812:10;1816:6;1812:1;:10;:::i;:::-;:14;;1825:1;1812:14;:::i;:::-;1800:26;;1795:132;1832:1;1828;:5;1795:132;;;-1:-1:-1;;;1879:5:12;1887:3;1879:11;1866:25;;;;;;;:::i;:::-;;;;1854:6;1861:1;1854:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;1854:37:12;;;;;;;;-1:-1:-1;1915:1:12;1905:11;;;;;1835:3;;;:::i;:::-;;;1795:132;;;-1:-1:-1;1944:10:12;;1936:55;;;;-1:-1:-1;;;1936:55:12;;9459:2:15;1936:55:12;;;9441:21:15;;;9478:18;;;9471:30;9537:34;9517:18;;;9510:62;9589:18;;1936:55:12;9257:356:15;14:286;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:15;;209:43;;199:71;;266:1;263;256:12;679:180;738:6;791:2;779:9;770:7;766:23;762:32;759:52;;;807:1;804;797:12;759:52;-1:-1:-1;830:23:15;;679:180;-1:-1:-1;679:180:15:o;1231:131::-;-1:-1:-1;;;;;1306:31:15;;1296:42;;1286:70;;1352:1;1349;1342:12;1286:70;1231:131;:::o;1367:247::-;1426:6;1479:2;1467:9;1458:7;1454:23;1450:32;1447:52;;;1495:1;1492;1485:12;1447:52;1534:9;1521:23;1553:31;1578:5;1553:31;:::i;1619:315::-;1687:6;1695;1748:2;1736:9;1727:7;1723:23;1719:32;1716:52;;;1764:1;1761;1754:12;1716:52;1800:9;1787:23;1777:33;;1860:2;1849:9;1845:18;1832:32;1873:31;1898:5;1873:31;:::i;:::-;1923:5;1913:15;;;1619:315;;;;;:::o;2147:118::-;2233:5;2226:13;2219:21;2212:5;2209:32;2199:60;;2255:1;2252;2245:12;2270:241;2326:6;2379:2;2367:9;2358:7;2354:23;2350:32;2347:52;;;2395:1;2392;2385:12;2347:52;2434:9;2421:23;2453:28;2475:5;2453:28;:::i;2783:184::-;2853:6;2906:2;2894:9;2885:7;2881:23;2877:32;2874:52;;;2922:1;2919;2912:12;2874:52;-1:-1:-1;2945:16:15;;2783:184;-1:-1:-1;2783:184:15:o;2972:261::-;-1:-1:-1;;;3174:25:15;;3224:2;3215:12;;2972:261::o;3238:245::-;3305:6;3358:2;3346:9;3337:7;3333:23;3329:32;3326:52;;;3374:1;3371;3364:12;3326:52;3406:9;3400:16;3425:28;3447:5;3425:28;:::i;3488:353::-;3690:2;3672:21;;;3729:2;3709:18;;;3702:30;3768:31;3763:2;3748:18;;3741:59;3832:2;3817:18;;3488:353::o;6453:251::-;6523:6;6576:2;6564:9;6555:7;6551:23;6547:32;6544:52;;;6592:1;6589;6582:12;6544:52;6624:9;6618:16;6643:31;6668:5;6643:31;:::i;6972:258::-;7044:1;7054:113;7068:6;7065:1;7062:13;7054:113;;;7144:11;;;7138:18;7125:11;;;7118:39;7090:2;7083:10;7054:113;;;7185:6;7182:1;7179:13;7176:48;;;7220:1;7211:6;7206:3;7202:16;7195:27;7176:48;;6972:258;;;:::o;7235:786::-;7646:25;7641:3;7634:38;7616:3;7701:6;7695:13;7717:62;7772:6;7767:2;7762:3;7758:12;7751:4;7743:6;7739:17;7717:62;:::i;:::-;-1:-1:-1;;;7838:2:15;7798:16;;;7830:11;;;7823:40;7888:13;;7910:63;7888:13;7959:2;7951:11;;7944:4;7932:17;;7910:63;:::i;:::-;7993:17;8012:2;7989:26;;7235:786;-1:-1:-1;;;;7235:786:15:o;8026:383::-;8175:2;8164:9;8157:21;8138:4;8207:6;8201:13;8250:6;8245:2;8234:9;8230:18;8223:34;8266:66;8325:6;8320:2;8309:9;8305:18;8300:2;8292:6;8288:15;8266:66;:::i;:::-;8393:2;8372:15;-1:-1:-1;;8368:29:15;8353:45;;;;8400:2;8349:54;;8026:383;-1:-1:-1;;8026:383:15:o;8414:127::-;8475:10;8470:3;8466:20;8463:1;8456:31;8506:4;8503:1;8496:15;8530:4;8527:1;8520:15;8546:168;8586:7;8652:1;8648;8644:6;8640:14;8637:1;8634:21;8629:1;8622:9;8615:17;8611:45;8608:71;;;8659:18;;:::i;:::-;-1:-1:-1;8699:9:15;;8546:168::o;8719:128::-;8759:3;8790:1;8786:6;8783:1;8780:13;8777:39;;;8796:18;;:::i;:::-;-1:-1:-1;8832:9:15;;8719:128::o;8852:127::-;8913:10;8908:3;8904:20;8901:1;8894:31;8944:4;8941:1;8934:15;8968:4;8965:1;8958:15;8984:127;9045:10;9040:3;9036:20;9033:1;9026:31;9076:4;9073:1;9066:15;9100:4;9097:1;9090:15;9116:136;9155:3;9183:5;9173:39;;9192:18;;:::i;:::-;-1:-1:-1;;;9228:18:15;;9116:136::o" + }, + "gasEstimates": { + "creation": { + "codeDepositCost": "1107400", + "executionCost": "infinite", + "totalCost": "infinite" + }, + "external": { + "DEFAULT_ADMIN_ROLE()": "239", + "POOL_MANAGER()": "infinite", + "addPoolManager(address)": "infinite", + "getContributionLimit()": "infinite", + "getMinContribution()": "infinite", + "getPoolBaseAddress()": "infinite", + "getPoolMaxSize()": "infinite", + "getPoolState()": "infinite", + "getRewardsInterest()": "infinite", + "getRewardsInterval()": "infinite", + "getRoleAdmin(bytes32)": "2559", + "grantRole(bytes32,address)": "infinite", + "hasRole(bytes32,address)": "2672", + "removePoolManager(address)": "infinite", + "renounceRole(bytes32,address)": "29061", + "revokeRole(bytes32,address)": "infinite", + "setContributionLimit(uint256)": "infinite", + "setMinContribution(uint256)": "infinite", + "setPoolLive(bool)": "infinite", + "setPoolMaxSize(uint256)": "infinite", + "setRewardsInterest(uint256)": "infinite", + "setRewardsInterval(uint256)": "infinite", + "supportsInterface(bytes4)": "450" + }, + "internal": { + "_setPoolBaseAddress()": "infinite", + "getContractAddress(string memory)": "infinite" + } + }, + "methodIdentifiers": { + "DEFAULT_ADMIN_ROLE()": "a217fddf", + "POOL_MANAGER()": "62308e85", + "addPoolManager(address)": "45077e71", + "getContributionLimit()": "fa1e19e5", + "getMinContribution()": "6cff7473", + "getPoolBaseAddress()": "8ae68134", + "getPoolMaxSize()": "095df57f", + "getPoolState()": "217ac237", + "getRewardsInterest()": "7521796f", + "getRewardsInterval()": "497d0241", + "getRoleAdmin(bytes32)": "248a9ca3", + "grantRole(bytes32,address)": "2f2ff15d", + "hasRole(bytes32,address)": "91d14854", + "removePoolManager(address)": "29ca15bc", + "renounceRole(bytes32,address)": "36568abe", + "revokeRole(bytes32,address)": "d547741f", + "setContributionLimit(uint256)": "72d099a0", + "setMinContribution(uint256)": "473b0d46", + "setPoolLive(bool)": "a4975516", + "setPoolMaxSize(uint256)": "12646987", + "setRewardsInterest(uint256)": "bf4c0036", + "setRewardsInterval(uint256)": "53710f49", + "supportsInterface(bytes4)": "01ffc9a7" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract DataStorageInterface\",\"name\":\"_dataStorageAddress\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_removedManager\",\"type\":\"address\"}],\"name\":\"ManagerRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_newManager\",\"type\":\"address\"}],\"name\":\"NewManagerAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"POOL_MANAGER\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"addPoolManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getContributionLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMinContribution\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolBaseAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolMaxSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolState\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsInterest\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsInterval\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"removePoolManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newContrLimit\",\"type\":\"uint256\"}],\"name\":\"setContributionLimit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newMinContr\",\"type\":\"uint256\"}],\"name\":\"setMinContribution\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_live\",\"type\":\"bool\"}],\"name\":\"setPoolLive\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxSize\",\"type\":\"uint256\"}],\"name\":\"setPoolMaxSize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_rewardsInterest\",\"type\":\"uint256\"}],\"name\":\"setRewardsInterest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_daysToRewards\",\"type\":\"uint256\"}],\"name\":\"setRewardsInterval\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role.\"},\"setContributionLimit(uint256)\":{\"details\":\"Set the max. contribution allowed for each user.\",\"params\":{\"_newContrLimit\":\"is a WEI value.\"}},\"setMinContribution(uint256)\":{\"details\":\"Set the min. contribution allowed for each user.\",\"params\":{\"_newMinContr\":\"is a WEI value.\"}},\"setPoolLive(bool)\":{\"details\":\"Toggles the Pool Investing Switch. \"},\"setPoolMaxSize(uint256)\":{\"details\":\"Sets the Pool Maximium size expressed on ether.\",\"params\":{\"_maxSize\":\"is a WEI value (or BigInt / BigNumber).\"}},\"setRewardsInterest(uint256)\":{\"details\":\"Set the interest per effective period.\",\"params\":{\"_rewardsInterest\":\"within the storage has 6 decimals.\"}},\"setRewardsInterval(uint256)\":{\"details\":\"Set the interval in days of the rewards period.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"}},\"title\":\"This contract handles the modifiers and environmental parameters that control the pool. \",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"constructor\":{\"notice\":\"This contract will be deployed by the same address of the initial guardian. Afterwards Guardian may not be the same as the adminif the guardian renounces to their guard.\"},\"setPoolLive(bool)\":{\"notice\":\"While live, anyone can invest but any state variable can be modified nor deleted.\"},\"setRewardsInterest(uint256)\":{\"notice\":\"E.G. If 0.001134 rate is desired, 0.001134 * (10**6) = 1134.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol\":\"PoolBase\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol\":{\"keccak256\":\"0x3975407e20a5345cd87826b306c7396e1dbb89c869df5e22338573a6ae16bc10\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1edcadb90f5e1fecf0d1f1f3d3aba9ae54f0ff97819b3ef07294b1d0aca1220d\",\"dweb:/ipfs/QmRA9ZSxbGGb1cKEzjTbxfBaWtnZmpb152Z2JhobRxuhnw\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol\":{\"keccak256\":\"0xf4a98c1519c0382a5c40cb047b7c1a33713d46062b68907c38eba7e24ce87773\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5921b6865f1504704ffbb252f719db25619236bed2ae94b18df01e1333bb4161\",\"dweb:/ipfs/QmR5TQmepq7zVfLD4WPUnVgHRRwYXDghwdrDqzgCWBmVvP\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0x4a1a0ba12bf1a33f10d9fe226278cf59675c0b929d29e4da99658a079b27fb84\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bda1319db846d6d6f92d8a57a9bdee8bde1dc39aa7546165791692c24dd6f30a\",\"dweb:/ipfs/Qma5oZ7DmbdAjd8mpiW7mx896PDtwsQtCQ2hj9Upf7b7JK\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol\":{\"keccak256\":\"0x0e9621f60b2faabe65549f7ed0f24e8853a45c1b7990d47e8160e523683f3935\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://287a2f8d5814dd0f05f22b740f18ca8321acc21c9bd03a6cb2203ea626e2f3f2\",\"dweb:/ipfs/QmZRQv9iuwU817VuqkA2WweiaibKii69x9QxYBBEfbNEud\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}", + "storageLayout": { + "storage": [ + { + "astId": 1550, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol:PoolBase", + "label": "_roles", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_bytes32,t_struct(RoleData)1545_storage)" + }, + { + "astId": 1918, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol:PoolBase", + "label": "_status", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 26, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol:PoolBase", + "label": "dataStorage", + "offset": 0, + "slot": "2", + "type": "t_contract(DataStorageInterface)1393" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_contract(DataStorageInterface)1393": { + "encoding": "inplace", + "label": "contract DataStorageInterface", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_bool)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_bytes32,t_struct(RoleData)1545_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => struct AccessControl.RoleData)", + "numberOfBytes": "32", + "value": "t_struct(RoleData)1545_storage" + }, + "t_struct(RoleData)1545_storage": { + "encoding": "inplace", + "label": "struct AccessControl.RoleData", + "members": [ + { + "astId": 1542, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol:PoolBase", + "label": "members", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 1544, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol:PoolBase", + "label": "adminRole", + "offset": 0, + "slot": "1", + "type": "t_bytes32" + } + ], + "numberOfBytes": "64" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } + }, + "userdoc": { + "kind": "user", + "methods": { + "constructor": { + "notice": "This contract will be deployed by the same address of the initial guardian. Afterwards Guardian may not be the same as the adminif the guardian renounces to their guard." + }, + "setPoolLive(bool)": { + "notice": "While live, anyone can invest but any state variable can be modified nor deleted." + }, + "setRewardsInterest(uint256)": { + "notice": "E.G. If 0.001134 rate is desired, 0.001134 * (10**6) = 1134." + } + }, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolClient.sol": { + "PoolClient": { + "abi": [ + { + "inputs": [ + { + "internalType": "contract DataStorageInterface", + "name": "_dataStorageAddress", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_removedManager", + "type": "address" + } + ], + "name": "ManagerRemoved", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_newManager", + "type": "address" + } + ], + "name": "NewManagerAdded", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "_lastRewardTime", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amountInjected", + "type": "uint256" + } + ], + "name": "RewardsInjected", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_staker", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_ethAmount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_time", + "type": "uint256" + } + ], + "name": "UserStaked", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_unstaker", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_ethAmount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_time", + "type": "uint256" + } + ], + "name": "UserUnstaked", + "type": "event" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "POOL_MANAGER", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "addPoolManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "calculateRewards", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "deposit", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "getContributionLimit", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getMinContribution", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolBaseAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolClientAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolMaxSize", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolState", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardsInterest", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardsInterval", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardsToInject", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "removePoolManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "rewardsInjector", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newContrLimit", + "type": "uint256" + } + ], + "name": "setContributionLimit", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newMinContr", + "type": "uint256" + } + ], + "name": "setMinContribution", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bool", + "name": "_live", + "type": "bool" + } + ], + "name": "setPoolLive", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_maxSize", + "type": "uint256" + } + ], + "name": "setPoolMaxSize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_rewardsInterest", + "type": "uint256" + } + ], + "name": "setRewardsInterest", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_daysToRewards", + "type": "uint256" + } + ], + "name": "setRewardsInterval", + "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": "uint256", + "name": "_rwEthAmount", + "type": "uint256" + } + ], + "name": "withdraw", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "devdoc": { + "kind": "dev", + "methods": { + "calculateRewards()": { + "details": "Helps the team calculate the rewards. Also, assigns the amount to inject into a variable." + }, + "deposit()": { + "details": "Main Staking function. Allows users to deposit ether in exchange of rwEther." + }, + "getRewardsToInject()": { + "details": "Gets the lastest amount of ether to inject." + }, + "getRoleAdmin(bytes32)": { + "details": "Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}." + }, + "grantRole(bytes32,address)": { + "details": "Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role." + }, + "hasRole(bytes32,address)": { + "details": "Returns `true` if `account` has been granted `role`." + }, + "renounceRole(bytes32,address)": { + "details": "Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`." + }, + "revokeRole(bytes32,address)": { + "details": "Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role." + }, + "rewardsInjector()": { + "details": "This function logic prevents the team to inject a wrong amount of ether as rewards." + }, + "setContributionLimit(uint256)": { + "details": "Set the max. contribution allowed for each user.", + "params": { + "_newContrLimit": "is a WEI value." + } + }, + "setMinContribution(uint256)": { + "details": "Set the min. contribution allowed for each user.", + "params": { + "_newMinContr": "is a WEI value." + } + }, + "setPoolLive(bool)": { + "details": "Toggles the Pool Investing Switch. " + }, + "setPoolMaxSize(uint256)": { + "details": "Sets the Pool Maximium size expressed on ether.", + "params": { + "_maxSize": "is a WEI value (or BigInt / BigNumber)." + } + }, + "setRewardsInterest(uint256)": { + "details": "Set the interest per effective period.", + "params": { + "_rewardsInterest": "within the storage has 6 decimals." + } + }, + "setRewardsInterval(uint256)": { + "details": "Set the interval in days of the rewards period." + }, + "supportsInterface(bytes4)": { + "details": "See {IERC165-supportsInterface}." + }, + "withdraw(uint256)": { + "details": "Main Unstaking function. Allows users to deposit rwEther in exchange of Ether." + } + }, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": { + "@_1926": { + "entryPoint": null, + "id": 1926, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_55": { + "entryPoint": null, + "id": 55, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@_635": { + "entryPoint": null, + "id": 635, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@_grantRole_1802": { + "entryPoint": 800, + "id": 1802, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@_msgSender_2037": { + "entryPoint": null, + "id": 2037, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@_setPoolBaseAddress_162": { + "entryPoint": 185, + "id": 162, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_setPoolClientAddress_914": { + "entryPoint": 544, + "id": 914, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_setupRole_1742": { + "entryPoint": 169, + "id": 1742, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@hasRole_1607": { + "entryPoint": null, + "id": 1607, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_contract$_DataStorageInterface_$1393_fromMemory": { + "entryPoint": 960, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_db398badece03775756fae64be2a2ed9aaf2b2ace9c216beb0e483c4a0338aa3__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + } + }, + "generatedSources": [ + { + "ast": { + "nodeType": "YulBlock", + "src": "0:2082:15", + "statements": [ + { + "nodeType": "YulBlock", + "src": "6:3:15", + "statements": [] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "124:209:15", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "170:16:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "179:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "182:1:15", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "172:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "172:12:15" + }, + "nodeType": "YulExpressionStatement", + "src": "172:12:15" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "145:7:15" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "154:9:15" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "141:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "141:23:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "166:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "137:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "137:32:15" + }, + "nodeType": "YulIf", + "src": "134:52:15" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "195:29:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "214:9:15" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "208:5:15" + }, + "nodeType": "YulFunctionCall", + "src": "208:16:15" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "199:5:15", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "287:16:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "296:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "299:1:15", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "289:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "289:12:15" + }, + "nodeType": "YulExpressionStatement", + "src": "289:12:15" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "246:5:15" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "257:5:15" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "272:3:15", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "277:1:15", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "268:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "268:11:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "281:1:15", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "264:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "264:19:15" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "253:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "253:31:15" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "243:2:15" + }, + "nodeType": "YulFunctionCall", + "src": "243:42:15" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "236:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "236:50:15" + }, + "nodeType": "YulIf", + "src": "233:70:15" + }, + { + "nodeType": "YulAssignment", + "src": "312:15:15", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "322:5:15" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "312:6:15" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_contract$_DataStorageInterface_$1393_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "90:9:15", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "101:7:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "113:6:15", + "type": "" + } + ], + "src": "14:319:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "558:150:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "575:3:15" + }, + { + "hexValue": "636f6e74726163745f657869737473", + "kind": "string", + "nodeType": "YulLiteral", + "src": "580:17:15", + "type": "", + "value": "contract_exists" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "568:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "568:30:15" + }, + "nodeType": "YulExpressionStatement", + "src": "568:30:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "618:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "623:2:15", + "type": "", + "value": "15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "614:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "614:12:15" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "636:2:15", + "type": "", + "value": "96" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "640:6:15" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "632:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "632:15:15" + }, + { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "661:2:15", + "type": "", + "value": "96" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "665:1:15", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "657:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "657:10:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "669:1:15", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "653:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "653:18:15" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "649:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "649:23:15" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "628:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "628:45:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "607:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "607:67:15" + }, + "nodeType": "YulExpressionStatement", + "src": "607:67:15" + }, + { + "nodeType": "YulAssignment", + "src": "683:19:15", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "694:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "699:2:15", + "type": "", + "value": "35" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "690:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "690:12:15" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "683:3:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "534:3:15", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "539:6:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "550:3:15", + "type": "" + } + ], + "src": "338:370:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "836:135:15", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "846:26:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "858:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "869:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "854:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "854:18:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "846:4:15" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "888:9:15" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "899:6:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "881:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "881:25:15" + }, + "nodeType": "YulExpressionStatement", + "src": "881:25:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "926:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "937:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "922:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "922:18:15" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "956:6:15" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "949:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "949:14:15" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "942:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "942:22:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "915:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "915:50:15" + }, + "nodeType": "YulExpressionStatement", + "src": "915:50:15" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "797:9:15", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "808:6:15", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "816:6:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "827:4:15", + "type": "" + } + ], + "src": "713:258:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1269:116:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "1286:3:15" + }, + { + "hexValue": "636f6e74726163745f61646472657373", + "kind": "string", + "nodeType": "YulLiteral", + "src": "1291:18:15", + "type": "", + "value": "contract_address" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1279:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "1279:31:15" + }, + "nodeType": "YulExpressionStatement", + "src": "1279:31:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "1330:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1335:2:15", + "type": "", + "value": "16" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1326:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "1326:12:15" + }, + { + "hexValue": "506f6f6c42617365", + "kind": "string", + "nodeType": "YulLiteral", + "src": "1340:10:15", + "type": "", + "value": "PoolBase" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1319:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "1319:32:15" + }, + "nodeType": "YulExpressionStatement", + "src": "1319:32:15" + }, + { + "nodeType": "YulAssignment", + "src": "1360:19:15", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "1371:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1376:2:15", + "type": "", + "value": "24" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1367:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "1367:12:15" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "1360:3:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "1253:3:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "1261:3:15", + "type": "" + } + ], + "src": "976:409:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1519:145:15", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "1529:26:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1541:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1552:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1537:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "1537:18:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "1529:4:15" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1571:9:15" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1582:6:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1564:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "1564:25:15" + }, + "nodeType": "YulExpressionStatement", + "src": "1564:25:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1609:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1620:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1605:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "1605:18:15" + }, + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "1629:6:15" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1645:3:15", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1650:1:15", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "1641:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "1641:11:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1654:1:15", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1637:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "1637:19:15" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "1625:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "1625:32:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1598:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "1598:60:15" + }, + "nodeType": "YulExpressionStatement", + "src": "1598:60:15" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1480:9:15", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "1491:6:15", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1499:6:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "1510:4:15", + "type": "" + } + ], + "src": "1390:274:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1962:118:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "1979:3:15" + }, + { + "hexValue": "636f6e74726163745f61646472657373", + "kind": "string", + "nodeType": "YulLiteral", + "src": "1984:18:15", + "type": "", + "value": "contract_address" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1972:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "1972:31:15" + }, + "nodeType": "YulExpressionStatement", + "src": "1972:31:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "2023:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2028:2:15", + "type": "", + "value": "16" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2019:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "2019:12:15" + }, + { + "hexValue": "506f6f6c436c69656e74", + "kind": "string", + "nodeType": "YulLiteral", + "src": "2033:12:15", + "type": "", + "value": "PoolClient" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2012:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "2012:34:15" + }, + "nodeType": "YulExpressionStatement", + "src": "2012:34:15" + }, + { + "nodeType": "YulAssignment", + "src": "2055:19:15", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "2066:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2071:2:15", + "type": "", + "value": "26" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2062:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "2062:12:15" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "2055:3:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_db398badece03775756fae64be2a2ed9aaf2b2ace9c216beb0e483c4a0338aa3__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "1946:3:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "1954:3:15", + "type": "" + } + ], + "src": "1669:411:15" + } + ] + }, + "contents": "{\n { }\n function abi_decode_tuple_t_contract$_DataStorageInterface_$1393_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := mload(headStart)\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n value0 := value\n }\n function abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed(pos, value0) -> end\n {\n mstore(pos, \"contract_exists\")\n mstore(add(pos, 15), and(shl(96, value0), not(sub(shl(96, 1), 1))))\n end := add(pos, 35)\n }\n function abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), iszero(iszero(value1)))\n }\n function abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"contract_address\")\n mstore(add(pos, 16), \"PoolBase\")\n end := add(pos, 24)\n }\n function abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), and(value1, sub(shl(160, 1), 1)))\n }\n function abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_db398badece03775756fae64be2a2ed9aaf2b2ace9c216beb0e483c4a0338aa3__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"contract_address\")\n mstore(add(pos, 16), \"PoolClient\")\n end := add(pos, 26)\n }\n}", + "id": 15, + "language": "Yul", + "name": "#utility.yul" + } + ], + "linkReferences": {}, + "object": "60806040523480156200001157600080fd5b50604051620037dc380380620037dc8339810160408190526200003491620003c0565b60018055600280546001600160a01b0319166001600160a01b0383161790558062000061600033620000a9565b6200008d7f41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e384233620000a9565b62000097620000b9565b50620000a262000220565b50620003f2565b620000b5828262000320565b5050565b6002546040516e636f6e74726163745f65786973747360881b60208201526001600160601b03193060601b16602f8201526001600160a01b039091169063988c515b9060430160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b168252600482015260016024820152604401600060405180830381600087803b1580156200015357600080fd5b505af115801562000168573d6000803e3d6000fd5b50506002546040516f636f6e74726163745f6164647265737360801b602082015267506f6f6c4261736560c01b60308201526001600160a01b039091169250637221263a91506038015b60408051601f198184030181529082905280516020909101206001600160e01b031960e084901b1682526004820152306024820152604401600060405180830381600087803b1580156200020557600080fd5b505af11580156200021a573d6000803e3d6000fd5b50505050565b6002546040516e636f6e74726163745f65786973747360881b60208201526001600160601b03193060601b16602f8201526001600160a01b039091169063988c515b9060430160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b168252600482015260016024820152604401600060405180830381600087803b158015620002ba57600080fd5b505af1158015620002cf573d6000803e3d6000fd5b50506002546040516f636f6e74726163745f6164647265737360801b602082015269141bdbdb10db1a595b9d60b21b60308201526001600160a01b039091169250637221263a9150603a01620001b2565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620000b5576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556200037c3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600060208284031215620003d357600080fd5b81516001600160a01b0381168114620003eb57600080fd5b9392505050565b6133da80620004026000396000f3fe6080604052600436106101c25760003560e01c806362308e85116100f75780639ed03ab611610095578063d0e30db011610064578063d0e30db0146104c8578063d547741f146104d0578063ee7d4d2b146104f0578063fa1e19e5146104f857600080fd5b80639ed03ab61461045e578063a217fddf14610473578063a497551614610488578063bf4c0036146104a857600080fd5b806372d099a0116100d157806372d099a0146103f45780637521796f146104145780638ae681341461042957806391d148541461043e57600080fd5b806362308e85146103905780636c426607146103b25780636cff7473146103df57600080fd5b80632f2ff15d1161016457806345077e711161013e57806345077e711461031b578063473b0d461461033b578063497d02411461035b57806353710f491461037057600080fd5b80632f2ff15d146102c657806336568abe146102e65780633e50de301461030657600080fd5b8063217ac237116101a0578063217ac23714610241578063248a9ca31461025657806329ca15bc146102865780632e1a7d4d146102a657600080fd5b806301ffc9a7146101c7578063095df57f146101fc578063126469871461021f575b600080fd5b3480156101d357600080fd5b506101e76101e2366004613038565b61050d565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b50610211610544565b6040519081526020016101f3565b34801561022b57600080fd5b5061023f61023a366004613062565b610601565b005b34801561024d57600080fd5b506101e7610788565b34801561026257600080fd5b50610211610271366004613062565b60009081526020819052604090206001015490565b34801561029257600080fd5b5061023f6102a1366004613093565b61082d565b3480156102b257600080fd5b5061023f6102c1366004613062565b610889565b3480156102d257600080fd5b5061023f6102e13660046130b0565b611071565b3480156102f257600080fd5b5061023f6103013660046130b0565b61109c565b34801561031257600080fd5b5061023f61111a565b34801561032757600080fd5b5061023f610336366004613093565b61139b565b34801561034757600080fd5b5061023f610356366004613062565b6113f7565b34801561036757600080fd5b5061021161169f565b34801561037c57600080fd5b5061023f61038b366004613062565b6116c5565b34801561039c57600080fd5b5061021160008051602061338583398151915281565b3480156103be57600080fd5b506103c76117c7565b6040516001600160a01b0390911681526020016101f3565b3480156103eb57600080fd5b506102116118a2565b34801561040057600080fd5b5061023f61040f366004613062565b6118ca565b34801561042057600080fd5b506102116119d0565b34801561043557600080fd5b506103c7611a01565b34801561044a57600080fd5b506101e76104593660046130b0565b611a3b565b34801561046a57600080fd5b50610211611a64565b34801561047f57600080fd5b50610211600081565b34801561049457600080fd5b5061023f6104a33660046130ee565b611b3a565b3480156104b457600080fd5b5061023f6104c3366004613062565b611bb4565b61023f611cc1565b3480156104dc57600080fd5b5061023f6104eb3660046130b0565b6126ec565b61023f612712565b34801561050457600080fd5b50610211612b9c565b60006001600160e01b03198216637965db0b60e01b148061053e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b600080604051602001610568906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b1580156105c357600080fd5b505afa1580156105d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fb919061310b565b91505090565b60008051602061338583398151915261061a8133612bc6565b6002546040516001600160a01b03909116906355d946559061063e90602001613124565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161067291815260200190565b60206040518083038186803b15801561068a57600080fd5b505afa15801561069e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c2919061313a565b156106e85760405162461bcd60e51b81526004016106df90613157565b60405180910390fd5b6040516a706f6f6c4d617853697a6560a81b6020820152600090602b015b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018690529092506001600160a01b0316906328192c55906044015b600060405180830381600087803b15801561076b57600080fd5b505af115801561077f573d6000803e3d6000fd5b50505050505050565b60008060405160200161079a90613124565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b1580156107f557600080fd5b505afa158015610809573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fb919061313a565b60006108398133612bc6565b610851600080516020613385833981519152836126ec565b6040516001600160a01b038316907fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd3190600090a25050565b8060006108b660405180604001604052806009815260200168141bdbdb15985d5b1d60ba1b815250612c2a565b905060006108e56040518060400160405280600a815260200169393ba2aa242a37b5b2b760b11b815250612c2a565b905060006040516020016108f890613124565b60408051601f198184030181529082905280516020909101206370a0823160e01b8252336004830152915084906001600160a01b038416906370a082319060240160206040518083038186803b15801561095157600080fd5b505afa158015610965573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610989919061310b565b10156109f55760405162461bcd60e51b815260206004820152603560248201527f596f7520646f6e27742068617665207468617420616d6f756e74206f6620746f60448201527435b2b7399037b7103cb7bab91030b1b1b7bab73a1760591b60648201526084016106df565b6040516312946fe160e01b8152600481018590526000906001600160a01b038416906312946fe19060240160206040518083038186803b158015610a3857600080fd5b505afa158015610a4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a70919061310b565b846001600160a01b031663ccfe0c8e6040518163ffffffff1660e01b815260040160206040518083038186803b158015610aa957600080fd5b505afa158015610abd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae1919061310b565b610aeb91906131a4565b1015610b485760405162461bcd60e51b815260206004820152602660248201527f506f6f6c2073697a652063616e6e6f7420626520736d616c6c6572207468616e604482015265103d32b9379760d11b60648201526084016106df565b6002546040516355d9465560e01b8152600481018390526001600160a01b03909116906355d946559060240160206040518083038186803b158015610b8c57600080fd5b505afa158015610ba0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc4919061313a565b610c105760405162461bcd60e51b815260206004820152601c60248201527f54686520706f6f6c2069732063757272656e746c79207061757365640000000060448201526064016106df565b60026001541415610c635760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106df565b600260015560408051808201909152600a815269393ba2aa242a37b5b2b760b11b6020820152600090610c9590612c2a565b90506000610cc360405180604001604052806009815260200168141bdbdb15985d5b1d60ba1b815250612c2a565b604051636eb1769f60e11b815233600482015230602482015290915087906001600160a01b0384169063dd62ed3e9060440160206040518083038186803b158015610d0d57600080fd5b505afa158015610d21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d45919061310b565b1015610db95760405162461bcd60e51b815260206004820152603860248201527f52657665727465643a20436c69656e74206c61636b7320616c6c6f77616e636560448201527f20746f20706572666f726d207468697320616374696f6e2e000000000000000060648201526084016106df565b6040516323b872dd60e01b8152336004820152306024820152604481018890526001600160a01b038316906323b872dd90606401602060405180830381600087803b158015610e0757600080fd5b505af1158015610e1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3f919061313a565b506040516312946fe160e01b8152600481018890526000906001600160a01b038416906312946fe19060240160206040518083038186803b158015610e8357600080fd5b505afa158015610e97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ebb919061310b565b604051630852cd8d60e31b8152600481018a90529091506001600160a01b038416906342966c6890602401600060405180830381600087803b158015610f0057600080fd5b505af1158015610f14573d6000803e3d6000fd5b505050506000604051602001610f4d907f746f74616c4275726e65645f7265776172644574686572000000000000000000815260170190565b60408051808303601f1901815290829052805160209091012060025462ec44af60e51b835260048301829052602483018c90529092506001600160a01b031690631d8895e090604401600060405180830381600087803b158015610fb057600080fd5b505af1158015610fc4573d6000803e3d6000fd5b505060405163522f681560e01b8152336004820152602481018590526001600160a01b038616925063522f68159150604401600060405180830381600087803b15801561101057600080fd5b505af1158015611024573d6000803e3d6000fd5b5050604080518581524260208201523393507f91405db2584f6e8463494f0e18c40f87fe3146322d19c494e8a0e0a039c3886992500160405180910390a250506001805550505050505050565b60008281526020819052604090206001015461108d8133612bc6565b6110978383612d2e565b505050565b6001600160a01b038116331461110c5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016106df565b6111168282612db2565b5050565b6000805160206133858339815191526111338133612bc6565b600060405160200161114490613124565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561119f57600080fd5b505afa1580156111b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d7919061313a565b156112245760405162461bcd60e51b815260206004820152601b60248201527f54686520706f6f6c2069732063757272656e746c79206c6976652e000000000060448201526064016106df565b60006112546040518060400160405280600d81526020016c546f6b656e42616c616e63657360981b815250612c2a565b9050600060405160200161127d906e1c995dd85c991cd51bd25b9a9958dd608a1b8152600f0190565b604051602081830303815290604052805190602001209050600061129f6119d0565b90506000620f424082856001600160a01b03166370959ff86040518163ffffffff1660e01b815260040160206040518083038186803b1580156112e157600080fd5b505afa1580156112f5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611319919061310b565b61132391906131bb565b61132d91906131da565b6002546040516328192c5560e01b815260048101869052602481018390529192506001600160a01b0316906328192c5590604401600060405180830381600087803b15801561137b57600080fd5b505af115801561138f573d6000803e3d6000fd5b50505050505050505050565b60006113a78133612bc6565b6113bf60008051602061338583398151915283611071565b6040516001600160a01b038316907fd873e3f571dc25e020cefdeb7255b3874ead3aade1f94a5fb4a5da831fd670cd90600090a25050565b6000805160206133858339815191526114108133612bc6565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b602082015260009060310160408051601f198184030181529082905280516020918201206002549093506001600160a01b0316916355d946559161146c9101613124565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b81526004016114a091815260200190565b60206040518083038186803b1580156114b857600080fd5b505afa1580156114cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f0919061313a565b1561150d5760405162461bcd60e51b81526004016106df90613157565b60025460405163afc3602b60e01b81526004810183905284916001600160a01b03169063afc3602b9060240160206040518083038186803b15801561155157600080fd5b505afa158015611565573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611589919061310b565b116115fc5760405162461bcd60e51b815260206004820152603e60248201527f546865206d696e2e20636f6e74722e206c696d6974206e6565647320746f206260448201527f6520736d616c6c6572207468616e20746865206d61782e206c696d69742e000060648201526084016106df565b6040516e36b4b721b7b73a3934b13aba34b7b760891b6020820152600090602f0160408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018790529092506001600160a01b0316906328192c5590604401600060405180830381600087803b15801561168157600080fd5b505af1158015611695573d6000803e3d6000fd5b5050505050505050565b600080604051602001610568906c64617973546f5265776172647360981b8152600d0190565b6000805160206133858339815191526116de8133612bc6565b6002546040516001600160a01b03909116906355d946559061170290602001613124565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161173691815260200190565b60206040518083038186803b15801561174e57600080fd5b505afa158015611762573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611786919061313a565b156117a35760405162461bcd60e51b81526004016106df90613157565b6040516c64617973546f5265776172647360981b6020820152600090602d01610706565b600080604051602001611803906f636f6e74726163745f6164647265737360801b815269141bdbdb10db1a595b9d60b21b6010820152601a0190565b60408051808303601f190181529082905280516020909101206002546315485dd960e11b8352600483018290529092506000916001600160a01b0390911690632a90bbb29060240160206040518083038186803b15801561186357600080fd5b505afa158015611877573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061189b91906131fc565b9392505050565b600080604051602001610568906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b6000805160206133858339815191526118e38133612bc6565b6002546040516001600160a01b03909116906355d946559061190790602001613124565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161193b91815260200190565b60206040518083038186803b15801561195357600080fd5b505afa158015611967573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061198b919061313a565b156119a85760405162461bcd60e51b81526004016106df90613157565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b6020820152600090603101610706565b60008060405160200161056890771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b600080604051602001611803906f636f6e74726163745f6164647265737360801b815267506f6f6c4261736560c01b601082015260180190565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6000600080516020613385833981519152611a7f8133612bc6565b6040516e1c995dd85c991cd51bd25b9a9958dd608a1b6020820152600090602f0160408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b158015611afb57600080fd5b505afa158015611b0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b33919061310b565b9250505090565b600080516020613385833981519152611b538133612bc6565b6000604051602001611b6490613124565b60408051808303601f1901815290829052805160209091012060025463988c515b60e01b83526004830182905285151560248401529092506001600160a01b03169063988c515b90604401610751565b600080516020613385833981519152611bcd8133612bc6565b6002546040516001600160a01b03909116906355d9465590611bf190602001613124565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401611c2591815260200190565b60206040518083038186803b158015611c3d57600080fd5b505afa158015611c51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c75919061313a565b15611c925760405162461bcd60e51b81526004016106df90613157565b604051771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b6020820152600090603801610706565b6000611ced60405180604001604052806009815260200168141bdbdb15985d5b1d60ba1b815250612c2a565b90506000604051602001611d0090613124565b6040516020818303038152906040528051906020012090506000604051602001611d3d906c64617973546f5265776172647360981b8152600d0190565b6040516020818303038152906040528051906020012090506000604051602001611d8590771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b6040516020818303038152906040528051906020012090506000604051602001611dc6907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b6040516020818303038152906040528051906020012090506000604051602001611e05906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b6040516020818303038152906040528051906020012090506000604051602001611e40906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051601f198184030181529082905280516020918201207332ba3432b92fb9ba30b5b2b22fb13cafbab9b2b960611b918301919091526bffffffffffffffffffffffff193360601b166034830152915060009060480160408051808303601f1901815290829052805160209091012060025463afc3602b60e01b83526004830182905290925060009134916001600160a01b03169063afc3602b9060240160206040518083038186803b158015611ef857600080fd5b505afa158015611f0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f30919061310b565b611f3a9190613219565b60025460405163afc3602b60e01b8152600481018a90529192506001600160a01b03169063afc3602b9060240160206040518083038186803b158015611f7f57600080fd5b505afa158015611f93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fb7919061310b565b6120145760405162461bcd60e51b815260206004820152602860248201527f546865207465616d206e6565647320746f207365742061207265776172642069604482015267373a32b93b30b61760c11b60648201526084016106df565b60025460405163afc3602b60e01b8152600481018890526001600160a01b039091169063afc3602b9060240160206040518083038186803b15801561205857600080fd5b505afa15801561206c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612090919061310b565b6120ea5760405162461bcd60e51b815260206004820152602560248201527f546865207465616d206e6565647320746f20736574206120726577617264207260448201526430ba34b79760d91b60648201526084016106df565b60025460405163afc3602b60e01b8152600481018790526001600160a01b039091169063afc3602b9060240160206040518083038186803b15801561212e57600080fd5b505afa158015612142573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612166919061310b565b6121c65760405162461bcd60e51b815260206004820152602b60248201527f546865207465616d206e6565647320746f20736574206120636f6e747269627560448201526a3a34b7b7103634b6b4ba1760a91b60648201526084016106df565b60025460405163afc3602b60e01b8152600481018790526001600160a01b039091169063afc3602b9060240160206040518083038186803b15801561220a57600080fd5b505afa15801561221e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612242919061310b565b8111156122a35760405162461bcd60e51b815260206004820152602960248201527f4d61782e2063757272656e7420636f6e747269627574696f6e206c696d69742060448201526832bc31b2b2b232b21760b91b60648201526084016106df565b60025460405163afc3602b60e01b81526004810186905234916001600160a01b03169063afc3602b9060240160206040518083038186803b1580156122e757600080fd5b505afa1580156122fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061231f919061310b565b11156123ac5760405162461bcd60e51b815260206004820152605060248201527f56616c756520746f206465706f736974206e6565647320746f2062652068696760448201527f686572207468616e207468652063757272656e74206d696e696d756d20636f6e60648201526f3a3934b13aba34b7b7103634b6b4ba1760811b608482015260a4016106df565b60025460405163afc3602b60e01b8152600481018590526001600160a01b039091169063afc3602b9060240160206040518083038186803b1580156123f057600080fd5b505afa158015612404573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612428919061310b565b348a6001600160a01b031663ccfe0c8e6040518163ffffffff1660e01b815260040160206040518083038186803b15801561246257600080fd5b505afa158015612476573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061249a919061310b565b6124a49190613219565b111561250f5760405162461bcd60e51b815260206004820152603460248201527f4d61782e20506f6f6c2073697a65206f766572666c6f772077697468207468616044820152733a1030b6b7bab73a1037b3103232b837b9b4ba1760611b60648201526084016106df565b600260015414156125625760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106df565b600260015560408051808201909152600a815269393ba2aa242a37b5b2b760b11b602082015260009061259490612c2a565b6040516340c10f1960e01b81523360048201523460248201529091506001600160a01b038216906340c10f1990604401600060405180830381600087803b1580156125de57600080fd5b505af11580156125f2573d6000803e3d6000fd5b50505050600060405160200161261f90703a37ba30b629bab838363cafa2ba3432b960791b815260110190565b60408051808303601f1901815290829052805160209091012060025462ec44af60e51b8352600483018290523460248401529092506001600160a01b031690631d8895e090604401600060405180830381600087803b15801561268157600080fd5b505af1158015612695573d6000803e3d6000fd5b5050604080513481524260208201523393507f91405db2584f6e8463494f0e18c40f87fe3146322d19c494e8a0e0a039c3886992500160405180910390a26126db612e17565b505060018055505050505050505050565b6000828152602081905260409020600101546127088133612bc6565b6110978383612db2565b60008051602061338583398151915261272b8133612bc6565b600060405160200161273c90613124565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561279757600080fd5b505afa1580156127ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127cf919061313a565b1561281c5760405162461bcd60e51b815260206004820152601b60248201527f54686520706f6f6c2069732063757272656e746c79206c6976652e000000000060448201526064016106df565b612824611a64565b34146128725760405162461bcd60e51b815260206004820181905260248201527f496e76616c696420657468657220696e74657265737420696e6a65637465642e60448201526064016106df565b600061289e60405180604001604052806009815260200168141bdbdb15985d5b1d60ba1b815250612c2a565b905060006040516020016128c6906d6c61737452657761726454696d6560901b8152600e0190565b604051602081830303815290604052805190602001209050600060405160200161290a90731d1bdd185b14995dd85c991cd25b9a9958dd195960621b815260140190565b604051602081830303815290604052805190602001209050600060405160200161294b90703a37ba30b629bab838363cafa2ba3432b960791b815260110190565b60408051808303601f190181529082905280516020909101206002546328192c5560e01b8352600483018690524260248401529092506001600160a01b0316906328192c5590604401600060405180830381600087803b1580156129ae57600080fd5b505af11580156129c2573d6000803e3d6000fd5b505060025460405162ec44af60e51b8152600481018690523460248201526001600160a01b039091169250631d8895e09150604401600060405180830381600087803b158015612a1157600080fd5b505af1158015612a25573d6000803e3d6000fd5b505060025460405162ec44af60e51b8152600481018590523460248201526001600160a01b039091169250631d8895e09150604401600060405180830381600087803b158015612a7457600080fd5b505af1158015612a88573d6000803e3d6000fd5b50505050836001600160a01b031663f9fc0d07346040518263ffffffff1660e01b81526004016000604051808303818588803b158015612ac757600080fd5b505af1158015612adb573d6000803e3d6000fd5b505060025460405163afc3602b60e01b8152600481018890527f70bf248e27883b1a6af8a9d590cc2b58fa0d74b60c83a9bb5e12de0f9b3ddfc694506001600160a01b03909116925063afc3602b915060240160206040518083038186803b158015612b4657600080fd5b505afa158015612b5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b7e919061310b565b604080519182523460208301520160405180910390a1505050505050565b600080604051602001610568907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b612bd08282611a3b565b61111657612be8816001600160a01b03166014612e9c565b612bf3836020612e9c565b604051602001612c04929190613261565b60408051601f198184030181529082905262461bcd60e51b82526106df916004016132d6565b60008082604051602001612c3e9190613309565b60408051808303601f190181529082905280516020909101206002546315485dd960e11b8352600483018290529092506000916001600160a01b0390911690632a90bbb29060240160206040518083038186803b158015612c9e57600080fd5b505afa158015612cb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cd691906131fc565b90506001600160a01b03811661189b5760405162461bcd60e51b815260206004820152601b60248201527f436f6e74726163742061646472657373206e6f7420666f756e642e000000000060448201526064016106df565b612d388282611a3b565b611116576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055612d6e3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b612dbc8282611a3b565b15611116576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000612e4360405180604001604052806009815260200168141bdbdb15985d5b1d60ba1b815250612c2a565b9050806001600160a01b031663a7cc190a346040518263ffffffff1660e01b81526004016000604051808303818588803b158015612e8057600080fd5b505af1158015612e94573d6000803e3d6000fd5b505050505050565b60606000612eab8360026131bb565b612eb6906002613219565b67ffffffffffffffff811115612ece57612ece613341565b6040519080825280601f01601f191660200182016040528015612ef8576020820181803683370190505b509050600360fc1b81600081518110612f1357612f13613357565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612f4257612f42613357565b60200101906001600160f81b031916908160001a9053506000612f668460026131bb565b612f71906001613219565b90505b6001811115612fe9576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612fa557612fa5613357565b1a60f81b828281518110612fbb57612fbb613357565b60200101906001600160f81b031916908160001a90535060049490941c93612fe28161336d565b9050612f74565b50831561189b5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016106df565b60006020828403121561304a57600080fd5b81356001600160e01b03198116811461189b57600080fd5b60006020828403121561307457600080fd5b5035919050565b6001600160a01b038116811461309057600080fd5b50565b6000602082840312156130a557600080fd5b813561189b8161307b565b600080604083850312156130c357600080fd5b8235915060208301356130d58161307b565b809150509250929050565b801515811461309057600080fd5b60006020828403121561310057600080fd5b813561189b816130e0565b60006020828403121561311d57600080fd5b5051919050565b696973506f6f6c4c69766560b01b8152600a0190565b60006020828403121561314c57600080fd5b815161189b816130e0565b6020808252601d908201527f54686520706f6f6c2069732063757272656e746c7920636c6f7365642e000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000828210156131b6576131b661318e565b500390565b60008160001904831182151516156131d5576131d561318e565b500290565b6000826131f757634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561320e57600080fd5b815161189b8161307b565b6000821982111561322c5761322c61318e565b500190565b60005b8381101561324c578181015183820152602001613234565b8381111561325b576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613299816017850160208801613231565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516132ca816028840160208801613231565b01602801949350505050565b60208152600082518060208401526132f5816040850160208701613231565b601f01601f19169190910160400192915050565b6f636f6e74726163745f6164647265737360801b815260008251613334816010850160208701613231565b9190910160100192915050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008161337c5761337c61318e565b50600019019056fe41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842a26469706673582212208f9088fbb5005bb41246c55603dc402be7376da1aabfedb5a147dfa61b40fcc464736f6c63430008090033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH3 0x11 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH3 0x37DC CODESIZE SUB DUP1 PUSH3 0x37DC DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH3 0x34 SWAP2 PUSH3 0x3C0 JUMP JUMPDEST PUSH1 0x1 DUP1 SSTORE PUSH1 0x2 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND OR SWAP1 SSTORE DUP1 PUSH3 0x61 PUSH1 0x0 CALLER PUSH3 0xA9 JUMP JUMPDEST PUSH3 0x8D PUSH32 0x41A01EC0A13B563FA452569E3FBB116366D217C2769AA1561822E65A617E3842 CALLER PUSH3 0xA9 JUMP JUMPDEST PUSH3 0x97 PUSH3 0xB9 JUMP JUMPDEST POP PUSH3 0xA2 PUSH3 0x220 JUMP JUMPDEST POP PUSH3 0x3F2 JUMP JUMPDEST PUSH3 0xB5 DUP3 DUP3 PUSH3 0x320 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH15 0x636F6E74726163745F657869737473 PUSH1 0x88 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB NOT ADDRESS PUSH1 0x60 SHL AND PUSH1 0x2F DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x988C515B SWAP1 PUSH1 0x43 ADD PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT PUSH1 0xE0 DUP5 SWAP1 SHL AND DUP3 MSTORE PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x153 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH3 0x168 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH16 0x636F6E74726163745F61646472657373 PUSH1 0x80 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH8 0x506F6F6C42617365 PUSH1 0xC0 SHL PUSH1 0x30 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP3 POP PUSH4 0x7221263A SWAP2 POP PUSH1 0x38 ADD JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT PUSH1 0xE0 DUP5 SWAP1 SHL AND DUP3 MSTORE PUSH1 0x4 DUP3 ADD MSTORE ADDRESS PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x205 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH3 0x21A JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH15 0x636F6E74726163745F657869737473 PUSH1 0x88 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB NOT ADDRESS PUSH1 0x60 SHL AND PUSH1 0x2F DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x988C515B SWAP1 PUSH1 0x43 ADD PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT PUSH1 0xE0 DUP5 SWAP1 SHL AND DUP3 MSTORE PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x2BA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH3 0x2CF JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH16 0x636F6E74726163745F61646472657373 PUSH1 0x80 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH10 0x141BDBDB10DB1A595B9D PUSH1 0xB2 SHL PUSH1 0x30 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP3 POP PUSH4 0x7221263A SWAP2 POP PUSH1 0x3A ADD PUSH3 0x1B2 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH3 0xB5 JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH3 0x37C CALLER SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH3 0x3D3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH3 0x3EB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0x33DA DUP1 PUSH3 0x402 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x1C2 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x62308E85 GT PUSH2 0xF7 JUMPI DUP1 PUSH4 0x9ED03AB6 GT PUSH2 0x95 JUMPI DUP1 PUSH4 0xD0E30DB0 GT PUSH2 0x64 JUMPI DUP1 PUSH4 0xD0E30DB0 EQ PUSH2 0x4C8 JUMPI DUP1 PUSH4 0xD547741F EQ PUSH2 0x4D0 JUMPI DUP1 PUSH4 0xEE7D4D2B EQ PUSH2 0x4F0 JUMPI DUP1 PUSH4 0xFA1E19E5 EQ PUSH2 0x4F8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x9ED03AB6 EQ PUSH2 0x45E JUMPI DUP1 PUSH4 0xA217FDDF EQ PUSH2 0x473 JUMPI DUP1 PUSH4 0xA4975516 EQ PUSH2 0x488 JUMPI DUP1 PUSH4 0xBF4C0036 EQ PUSH2 0x4A8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x72D099A0 GT PUSH2 0xD1 JUMPI DUP1 PUSH4 0x72D099A0 EQ PUSH2 0x3F4 JUMPI DUP1 PUSH4 0x7521796F EQ PUSH2 0x414 JUMPI DUP1 PUSH4 0x8AE68134 EQ PUSH2 0x429 JUMPI DUP1 PUSH4 0x91D14854 EQ PUSH2 0x43E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x62308E85 EQ PUSH2 0x390 JUMPI DUP1 PUSH4 0x6C426607 EQ PUSH2 0x3B2 JUMPI DUP1 PUSH4 0x6CFF7473 EQ PUSH2 0x3DF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x2F2FF15D GT PUSH2 0x164 JUMPI DUP1 PUSH4 0x45077E71 GT PUSH2 0x13E JUMPI DUP1 PUSH4 0x45077E71 EQ PUSH2 0x31B JUMPI DUP1 PUSH4 0x473B0D46 EQ PUSH2 0x33B JUMPI DUP1 PUSH4 0x497D0241 EQ PUSH2 0x35B JUMPI DUP1 PUSH4 0x53710F49 EQ PUSH2 0x370 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x2F2FF15D EQ PUSH2 0x2C6 JUMPI DUP1 PUSH4 0x36568ABE EQ PUSH2 0x2E6 JUMPI DUP1 PUSH4 0x3E50DE30 EQ PUSH2 0x306 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x217AC237 GT PUSH2 0x1A0 JUMPI DUP1 PUSH4 0x217AC237 EQ PUSH2 0x241 JUMPI DUP1 PUSH4 0x248A9CA3 EQ PUSH2 0x256 JUMPI DUP1 PUSH4 0x29CA15BC EQ PUSH2 0x286 JUMPI DUP1 PUSH4 0x2E1A7D4D EQ PUSH2 0x2A6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x1C7 JUMPI DUP1 PUSH4 0x95DF57F EQ PUSH2 0x1FC JUMPI DUP1 PUSH4 0x12646987 EQ PUSH2 0x21F JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x1D3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1E7 PUSH2 0x1E2 CALLDATASIZE PUSH1 0x4 PUSH2 0x3038 JUMP JUMPDEST PUSH2 0x50D JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x208 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x211 PUSH2 0x544 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1F3 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x22B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x23F PUSH2 0x23A CALLDATASIZE PUSH1 0x4 PUSH2 0x3062 JUMP JUMPDEST PUSH2 0x601 JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x24D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1E7 PUSH2 0x788 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x262 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x211 PUSH2 0x271 CALLDATASIZE PUSH1 0x4 PUSH2 0x3062 JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD SWAP1 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x292 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x23F PUSH2 0x2A1 CALLDATASIZE PUSH1 0x4 PUSH2 0x3093 JUMP JUMPDEST PUSH2 0x82D JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x2B2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x23F PUSH2 0x2C1 CALLDATASIZE PUSH1 0x4 PUSH2 0x3062 JUMP JUMPDEST PUSH2 0x889 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x2D2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x23F PUSH2 0x2E1 CALLDATASIZE PUSH1 0x4 PUSH2 0x30B0 JUMP JUMPDEST PUSH2 0x1071 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x2F2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x23F PUSH2 0x301 CALLDATASIZE PUSH1 0x4 PUSH2 0x30B0 JUMP JUMPDEST PUSH2 0x109C JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x312 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x23F PUSH2 0x111A JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x327 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x23F PUSH2 0x336 CALLDATASIZE PUSH1 0x4 PUSH2 0x3093 JUMP JUMPDEST PUSH2 0x139B JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x347 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x23F PUSH2 0x356 CALLDATASIZE PUSH1 0x4 PUSH2 0x3062 JUMP JUMPDEST PUSH2 0x13F7 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x367 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x211 PUSH2 0x169F JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x37C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x23F PUSH2 0x38B CALLDATASIZE PUSH1 0x4 PUSH2 0x3062 JUMP JUMPDEST PUSH2 0x16C5 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x39C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x211 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3385 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x3BE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x3C7 PUSH2 0x17C7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1F3 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x3EB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x211 PUSH2 0x18A2 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x400 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x23F PUSH2 0x40F CALLDATASIZE PUSH1 0x4 PUSH2 0x3062 JUMP JUMPDEST PUSH2 0x18CA JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x420 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x211 PUSH2 0x19D0 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x435 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x3C7 PUSH2 0x1A01 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x44A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1E7 PUSH2 0x459 CALLDATASIZE PUSH1 0x4 PUSH2 0x30B0 JUMP JUMPDEST PUSH2 0x1A3B JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x46A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x211 PUSH2 0x1A64 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x47F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x211 PUSH1 0x0 DUP2 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x494 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x23F PUSH2 0x4A3 CALLDATASIZE PUSH1 0x4 PUSH2 0x30EE JUMP JUMPDEST PUSH2 0x1B3A JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x4B4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x23F PUSH2 0x4C3 CALLDATASIZE PUSH1 0x4 PUSH2 0x3062 JUMP JUMPDEST PUSH2 0x1BB4 JUMP JUMPDEST PUSH2 0x23F PUSH2 0x1CC1 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x4DC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x23F PUSH2 0x4EB CALLDATASIZE PUSH1 0x4 PUSH2 0x30B0 JUMP JUMPDEST PUSH2 0x26EC JUMP JUMPDEST PUSH2 0x23F PUSH2 0x2712 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x504 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x211 PUSH2 0x2B9C JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH4 0x7965DB0B PUSH1 0xE0 SHL EQ DUP1 PUSH2 0x53E JUMPI POP PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP4 AND EQ JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x568 SWAP1 PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL DUP2 MSTORE PUSH1 0xB ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x5C3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x5D7 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x5FB SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3385 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x61A DUP2 CALLER PUSH2 0x2BC6 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x63E SWAP1 PUSH1 0x20 ADD PUSH2 0x3124 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x672 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x68A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x69E JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x6C2 SWAP2 SWAP1 PUSH2 0x313A JUMP JUMPDEST ISZERO PUSH2 0x6E8 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6DF SWAP1 PUSH2 0x3157 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2B ADD JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP7 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x76B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x77F JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x79A SWAP1 PUSH2 0x3124 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x55D94655 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x7F5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x809 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x5FB SWAP2 SWAP1 PUSH2 0x313A JUMP JUMPDEST PUSH1 0x0 PUSH2 0x839 DUP2 CALLER PUSH2 0x2BC6 JUMP JUMPDEST PUSH2 0x851 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3385 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0x26EC JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xEF69F7D97228658C92417BE1B16B19058315DE71FECB435D07B7D23728B6BD31 SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST DUP1 PUSH1 0x0 PUSH2 0x8B6 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x9 DUP2 MSTORE PUSH1 0x20 ADD PUSH9 0x141BDBDB15985D5B1D PUSH1 0xBA SHL DUP2 MSTORE POP PUSH2 0x2C2A JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0x8E5 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0xA DUP2 MSTORE PUSH1 0x20 ADD PUSH10 0x393BA2AA242A37B5B2B7 PUSH1 0xB1 SHL DUP2 MSTORE POP PUSH2 0x2C2A JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x8F8 SWAP1 PUSH2 0x3124 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH4 0x70A08231 PUSH1 0xE0 SHL DUP3 MSTORE CALLER PUSH1 0x4 DUP4 ADD MSTORE SWAP2 POP DUP5 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP1 PUSH4 0x70A08231 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x951 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x965 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x989 SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST LT ISZERO PUSH2 0x9F5 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x35 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x596F7520646F6E27742068617665207468617420616D6F756E74206F6620746F PUSH1 0x44 DUP3 ADD MSTORE PUSH21 0x35B2B7399037B7103CB7BAB91030B1B1B7BAB73A17 PUSH1 0x59 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x12946FE1 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP6 SWAP1 MSTORE PUSH1 0x0 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP1 PUSH4 0x12946FE1 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xA38 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xA4C JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xA70 SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xCCFE0C8E PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xAA9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xABD JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xAE1 SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST PUSH2 0xAEB SWAP2 SWAP1 PUSH2 0x31A4 JUMP JUMPDEST LT ISZERO PUSH2 0xB48 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x506F6F6C2073697A652063616E6E6F7420626520736D616C6C6572207468616E PUSH1 0x44 DUP3 ADD MSTORE PUSH6 0x103D32B93797 PUSH1 0xD1 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0x55D94655 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP4 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xB8C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xBA0 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xBC4 SWAP2 SWAP1 PUSH2 0x313A JUMP JUMPDEST PUSH2 0xC10 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x54686520706F6F6C2069732063757272656E746C792070617573656400000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH1 0x2 PUSH1 0x1 SLOAD EQ ISZERO PUSH2 0xC63 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x5265656E7472616E637947756172643A207265656E7472616E742063616C6C00 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH1 0x2 PUSH1 0x1 SSTORE PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0xA DUP2 MSTORE PUSH10 0x393BA2AA242A37B5B2B7 PUSH1 0xB1 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH2 0xC95 SWAP1 PUSH2 0x2C2A JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0xCC3 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x9 DUP2 MSTORE PUSH1 0x20 ADD PUSH9 0x141BDBDB15985D5B1D PUSH1 0xBA SHL DUP2 MSTORE POP PUSH2 0x2C2A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x6EB1769F PUSH1 0xE1 SHL DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE ADDRESS PUSH1 0x24 DUP3 ADD MSTORE SWAP1 SWAP2 POP DUP8 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP1 PUSH4 0xDD62ED3E SWAP1 PUSH1 0x44 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xD0D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xD21 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xD45 SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST LT ISZERO PUSH2 0xDB9 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x38 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x52657665727465643A20436C69656E74206C61636B7320616C6C6F77616E6365 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x20746F20706572666F726D207468697320616374696F6E2E0000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x23B872DD PUSH1 0xE0 SHL DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE ADDRESS PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 DUP2 ADD DUP9 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH4 0x23B872DD SWAP1 PUSH1 0x64 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xE07 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xE1B JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xE3F SWAP2 SWAP1 PUSH2 0x313A JUMP JUMPDEST POP PUSH1 0x40 MLOAD PUSH4 0x12946FE1 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP9 SWAP1 MSTORE PUSH1 0x0 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP1 PUSH4 0x12946FE1 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xE83 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xE97 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xEBB SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x852CD8D PUSH1 0xE3 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP11 SWAP1 MSTORE SWAP1 SWAP2 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP1 PUSH4 0x42966C68 SWAP1 PUSH1 0x24 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xF00 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xF14 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xF4D SWAP1 PUSH32 0x746F74616C4275726E65645F7265776172644574686572000000000000000000 DUP2 MSTORE PUSH1 0x17 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH3 0xEC44AF PUSH1 0xE5 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP13 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x1D8895E0 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xFB0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xFC4 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x40 MLOAD PUSH4 0x522F6815 PUSH1 0xE0 SHL DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD DUP6 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND SWAP3 POP PUSH4 0x522F6815 SWAP2 POP PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1010 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1024 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x40 DUP1 MLOAD DUP6 DUP2 MSTORE TIMESTAMP PUSH1 0x20 DUP3 ADD MSTORE CALLER SWAP4 POP PUSH32 0x91405DB2584F6E8463494F0E18C40F87FE3146322D19C494E8A0E0A039C38869 SWAP3 POP ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 POP POP PUSH1 0x1 DUP1 SSTORE POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0x108D DUP2 CALLER PUSH2 0x2BC6 JUMP JUMPDEST PUSH2 0x1097 DUP4 DUP4 PUSH2 0x2D2E JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND CALLER EQ PUSH2 0x110C JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416363657373436F6E74726F6C3A2063616E206F6E6C792072656E6F756E6365 PUSH1 0x44 DUP3 ADD MSTORE PUSH15 0x103937B632B9903337B91039B2B633 PUSH1 0x89 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH2 0x1116 DUP3 DUP3 PUSH2 0x2DB2 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3385 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x1133 DUP2 CALLER PUSH2 0x2BC6 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1144 SWAP1 PUSH2 0x3124 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x55D94655 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x119F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x11B3 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x11D7 SWAP2 SWAP1 PUSH2 0x313A JUMP JUMPDEST ISZERO PUSH2 0x1224 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x54686520706F6F6C2069732063757272656E746C79206C6976652E0000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1254 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0xD DUP2 MSTORE PUSH1 0x20 ADD PUSH13 0x546F6B656E42616C616E636573 PUSH1 0x98 SHL DUP2 MSTORE POP PUSH2 0x2C2A JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x127D SWAP1 PUSH15 0x1C995DD85C991CD51BD25B9A9958DD PUSH1 0x8A SHL DUP2 MSTORE PUSH1 0xF ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 PUSH2 0x129F PUSH2 0x19D0 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH3 0xF4240 DUP3 DUP6 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x70959FF8 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x12E1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x12F5 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x1319 SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST PUSH2 0x1323 SWAP2 SWAP1 PUSH2 0x31BB JUMP JUMPDEST PUSH2 0x132D SWAP2 SWAP1 PUSH2 0x31DA JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP7 SWAP1 MSTORE PUSH1 0x24 DUP2 ADD DUP4 SWAP1 MSTORE SWAP2 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x137B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x138F JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x13A7 DUP2 CALLER PUSH2 0x2BC6 JUMP JUMPDEST PUSH2 0x13BF PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3385 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0x1071 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xD873E3F571DC25E020CEFDEB7255B3874EAD3AADE1F94A5FB4A5DA831FD670CD SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3385 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x1410 DUP2 CALLER PUSH2 0x2BC6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x31 ADD PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP2 DUP3 ADD KECCAK256 PUSH1 0x2 SLOAD SWAP1 SWAP4 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 PUSH4 0x55D94655 SWAP2 PUSH2 0x146C SWAP2 ADD PUSH2 0x3124 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x14A0 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x14B8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x14CC JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x14F0 SWAP2 SWAP1 PUSH2 0x313A JUMP JUMPDEST ISZERO PUSH2 0x150D JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6DF SWAP1 PUSH2 0x3157 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP4 SWAP1 MSTORE DUP5 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1551 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1565 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x1589 SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST GT PUSH2 0x15FC JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x546865206D696E2E20636F6E74722E206C696D6974206E6565647320746F2062 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6520736D616C6C6572207468616E20746865206D61782E206C696D69742E0000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2F ADD PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP8 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1681 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1695 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x568 SWAP1 PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL DUP2 MSTORE PUSH1 0xD ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3385 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x16DE DUP2 CALLER PUSH2 0x2BC6 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x1702 SWAP1 PUSH1 0x20 ADD PUSH2 0x3124 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1736 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x174E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1762 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x1786 SWAP2 SWAP1 PUSH2 0x313A JUMP JUMPDEST ISZERO PUSH2 0x17A3 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6DF SWAP1 PUSH2 0x3157 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2D ADD PUSH2 0x706 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1803 SWAP1 PUSH16 0x636F6E74726163745F61646472657373 PUSH1 0x80 SHL DUP2 MSTORE PUSH10 0x141BDBDB10DB1A595B9D PUSH1 0xB2 SHL PUSH1 0x10 DUP3 ADD MSTORE PUSH1 0x1A ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x15485DD9 PUSH1 0xE1 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x0 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x2A90BBB2 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1863 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1877 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x189B SWAP2 SWAP1 PUSH2 0x31FC JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x568 SWAP1 PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL DUP2 MSTORE PUSH1 0xF ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3385 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x18E3 DUP2 CALLER PUSH2 0x2BC6 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x1907 SWAP1 PUSH1 0x20 ADD PUSH2 0x3124 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x193B SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1953 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1967 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x198B SWAP2 SWAP1 PUSH2 0x313A JUMP JUMPDEST ISZERO PUSH2 0x19A8 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6DF SWAP1 PUSH2 0x3157 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x31 ADD PUSH2 0x706 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x568 SWAP1 PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL DUP2 MSTORE PUSH1 0x18 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1803 SWAP1 PUSH16 0x636F6E74726163745F61646472657373 PUSH1 0x80 SHL DUP2 MSTORE PUSH8 0x506F6F6C42617365 PUSH1 0xC0 SHL PUSH1 0x10 DUP3 ADD MSTORE PUSH1 0x18 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP3 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 SWAP1 SWAP4 AND DUP5 MSTORE SWAP2 SWAP1 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3385 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x1A7F DUP2 CALLER PUSH2 0x2BC6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH15 0x1C995DD85C991CD51BD25B9A9958DD PUSH1 0x8A SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2F ADD PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1AFB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1B0F JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x1B33 SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST SWAP3 POP POP POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3385 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x1B53 DUP2 CALLER PUSH2 0x2BC6 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1B64 SWAP1 PUSH2 0x3124 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x988C515B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE DUP6 ISZERO ISZERO PUSH1 0x24 DUP5 ADD MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x988C515B SWAP1 PUSH1 0x44 ADD PUSH2 0x751 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3385 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x1BCD DUP2 CALLER PUSH2 0x2BC6 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x1BF1 SWAP1 PUSH1 0x20 ADD PUSH2 0x3124 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1C25 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1C3D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1C51 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x1C75 SWAP2 SWAP1 PUSH2 0x313A JUMP JUMPDEST ISZERO PUSH2 0x1C92 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6DF SWAP1 PUSH2 0x3157 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x38 ADD PUSH2 0x706 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1CED PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x9 DUP2 MSTORE PUSH1 0x20 ADD PUSH9 0x141BDBDB15985D5B1D PUSH1 0xBA SHL DUP2 MSTORE POP PUSH2 0x2C2A JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1D00 SWAP1 PUSH2 0x3124 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1D3D SWAP1 PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL DUP2 MSTORE PUSH1 0xD ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1D85 SWAP1 PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL DUP2 MSTORE PUSH1 0x18 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1DC6 SWAP1 PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL DUP2 MSTORE PUSH1 0x11 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1E05 SWAP1 PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL DUP2 MSTORE PUSH1 0xF ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1E40 SWAP1 PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL DUP2 MSTORE PUSH1 0xB ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP2 DUP3 ADD KECCAK256 PUSH20 0x32BA3432B92FB9BA30B5B2B22FB13CAFBAB9B2B9 PUSH1 0x61 SHL SWAP2 DUP4 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF NOT CALLER PUSH1 0x60 SHL AND PUSH1 0x34 DUP4 ADD MSTORE SWAP2 POP PUSH1 0x0 SWAP1 PUSH1 0x48 ADD PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x0 SWAP2 CALLVALUE SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1EF8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1F0C JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x1F30 SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST PUSH2 0x1F3A SWAP2 SWAP1 PUSH2 0x3219 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP11 SWAP1 MSTORE SWAP2 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1F7F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1F93 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x1FB7 SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST PUSH2 0x2014 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x28 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x546865207465616D206E6565647320746F207365742061207265776172642069 PUSH1 0x44 DUP3 ADD MSTORE PUSH8 0x373A32B93B30B617 PUSH1 0xC1 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP9 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x2058 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x206C JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x2090 SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST PUSH2 0x20EA JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x25 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x546865207465616D206E6565647320746F207365742061207265776172642072 PUSH1 0x44 DUP3 ADD MSTORE PUSH5 0x30BA34B797 PUSH1 0xD9 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP8 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x212E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x2142 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x2166 SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST PUSH2 0x21C6 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x546865207465616D206E6565647320746F20736574206120636F6E7472696275 PUSH1 0x44 DUP3 ADD MSTORE PUSH11 0x3A34B7B7103634B6B4BA17 PUSH1 0xA9 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP8 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x220A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x221E JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x2242 SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST DUP2 GT ISZERO PUSH2 0x22A3 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x29 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4D61782E2063757272656E7420636F6E747269627574696F6E206C696D697420 PUSH1 0x44 DUP3 ADD MSTORE PUSH9 0x32BC31B2B2B232B217 PUSH1 0xB9 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP7 SWAP1 MSTORE CALLVALUE SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x22E7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x22FB JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x231F SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST GT ISZERO PUSH2 0x23AC JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x50 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x56616C756520746F206465706F736974206E6565647320746F20626520686967 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x686572207468616E207468652063757272656E74206D696E696D756D20636F6E PUSH1 0x64 DUP3 ADD MSTORE PUSH16 0x3A3934B13ABA34B7B7103634B6B4BA17 PUSH1 0x81 SHL PUSH1 0x84 DUP3 ADD MSTORE PUSH1 0xA4 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP6 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x23F0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x2404 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x2428 SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST CALLVALUE DUP11 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xCCFE0C8E PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x2462 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x2476 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x249A SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST PUSH2 0x24A4 SWAP2 SWAP1 PUSH2 0x3219 JUMP JUMPDEST GT ISZERO PUSH2 0x250F JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x34 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4D61782E20506F6F6C2073697A65206F766572666C6F77207769746820746861 PUSH1 0x44 DUP3 ADD MSTORE PUSH20 0x3A1030B6B7BAB73A1037B3103232B837B9B4BA17 PUSH1 0x61 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH1 0x2 PUSH1 0x1 SLOAD EQ ISZERO PUSH2 0x2562 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x5265656E7472616E637947756172643A207265656E7472616E742063616C6C00 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH1 0x2 PUSH1 0x1 SSTORE PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0xA DUP2 MSTORE PUSH10 0x393BA2AA242A37B5B2B7 PUSH1 0xB1 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH2 0x2594 SWAP1 PUSH2 0x2C2A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x40C10F19 PUSH1 0xE0 SHL DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE CALLVALUE PUSH1 0x24 DUP3 ADD MSTORE SWAP1 SWAP2 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND SWAP1 PUSH4 0x40C10F19 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x25DE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x25F2 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x261F SWAP1 PUSH17 0x3A37BA30B629BAB838363CAFA2BA3432B9 PUSH1 0x79 SHL DUP2 MSTORE PUSH1 0x11 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH3 0xEC44AF PUSH1 0xE5 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE CALLVALUE PUSH1 0x24 DUP5 ADD MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x1D8895E0 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x2681 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x2695 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x40 DUP1 MLOAD CALLVALUE DUP2 MSTORE TIMESTAMP PUSH1 0x20 DUP3 ADD MSTORE CALLER SWAP4 POP PUSH32 0x91405DB2584F6E8463494F0E18C40F87FE3146322D19C494E8A0E0A039C38869 SWAP3 POP ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 PUSH2 0x26DB PUSH2 0x2E17 JUMP JUMPDEST POP POP PUSH1 0x1 DUP1 SSTORE POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0x2708 DUP2 CALLER PUSH2 0x2BC6 JUMP JUMPDEST PUSH2 0x1097 DUP4 DUP4 PUSH2 0x2DB2 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3385 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x272B DUP2 CALLER PUSH2 0x2BC6 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x273C SWAP1 PUSH2 0x3124 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x55D94655 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x2797 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x27AB JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x27CF SWAP2 SWAP1 PUSH2 0x313A JUMP JUMPDEST ISZERO PUSH2 0x281C JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x54686520706F6F6C2069732063757272656E746C79206C6976652E0000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH2 0x2824 PUSH2 0x1A64 JUMP JUMPDEST CALLVALUE EQ PUSH2 0x2872 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x496E76616C696420657468657220696E74657265737420696E6A65637465642E PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH1 0x0 PUSH2 0x289E PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x9 DUP2 MSTORE PUSH1 0x20 ADD PUSH9 0x141BDBDB15985D5B1D PUSH1 0xBA SHL DUP2 MSTORE POP PUSH2 0x2C2A JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x28C6 SWAP1 PUSH14 0x6C61737452657761726454696D65 PUSH1 0x90 SHL DUP2 MSTORE PUSH1 0xE ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x290A SWAP1 PUSH20 0x1D1BDD185B14995DD85C991CD25B9A9958DD1959 PUSH1 0x62 SHL DUP2 MSTORE PUSH1 0x14 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x294B SWAP1 PUSH17 0x3A37BA30B629BAB838363CAFA2BA3432B9 PUSH1 0x79 SHL DUP2 MSTORE PUSH1 0x11 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP7 SWAP1 MSTORE TIMESTAMP PUSH1 0x24 DUP5 ADD MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x29AE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x29C2 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH3 0xEC44AF PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP7 SWAP1 MSTORE CALLVALUE PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP3 POP PUSH4 0x1D8895E0 SWAP2 POP PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x2A11 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x2A25 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH3 0xEC44AF PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP6 SWAP1 MSTORE CALLVALUE PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP3 POP PUSH4 0x1D8895E0 SWAP2 POP PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x2A74 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x2A88 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xF9FC0D07 CALLVALUE PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x2AC7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x2ADB JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP9 SWAP1 MSTORE PUSH32 0x70BF248E27883B1A6AF8A9D590CC2B58FA0D74B60C83A9BB5E12DE0F9B3DDFC6 SWAP5 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP3 POP PUSH4 0xAFC3602B SWAP2 POP PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x2B46 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x2B5A JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x2B7E SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD SWAP2 DUP3 MSTORE CALLVALUE PUSH1 0x20 DUP4 ADD MSTORE ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x568 SWAP1 PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL DUP2 MSTORE PUSH1 0x11 ADD SWAP1 JUMP JUMPDEST PUSH2 0x2BD0 DUP3 DUP3 PUSH2 0x1A3B JUMP JUMPDEST PUSH2 0x1116 JUMPI PUSH2 0x2BE8 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x14 PUSH2 0x2E9C JUMP JUMPDEST PUSH2 0x2BF3 DUP4 PUSH1 0x20 PUSH2 0x2E9C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x2C04 SWAP3 SWAP2 SWAP1 PUSH2 0x3261 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE PUSH3 0x461BCD PUSH1 0xE5 SHL DUP3 MSTORE PUSH2 0x6DF SWAP2 PUSH1 0x4 ADD PUSH2 0x32D6 JUMP JUMPDEST PUSH1 0x0 DUP1 DUP3 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x2C3E SWAP2 SWAP1 PUSH2 0x3309 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x15485DD9 PUSH1 0xE1 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x0 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x2A90BBB2 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x2C9E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x2CB2 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x2CD6 SWAP2 SWAP1 PUSH2 0x31FC JUMP JUMPDEST SWAP1 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0x189B JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x436F6E74726163742061646472657373206E6F7420666F756E642E0000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH2 0x2D38 DUP3 DUP3 PUSH2 0x1A3B JUMP JUMPDEST PUSH2 0x1116 JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH2 0x2D6E CALLER SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH2 0x2DBC DUP3 DUP3 PUSH2 0x1A3B JUMP JUMPDEST ISZERO PUSH2 0x1116 JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP1 DUP6 MSTORE SWAP3 MSTORE DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE MLOAD CALLER SWAP3 DUP6 SWAP2 PUSH32 0xF6391F5C32D9C69D2A47EA670B442974B53935D1EDC7FD64EB21E047A839171B SWAP2 SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2E43 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x9 DUP2 MSTORE PUSH1 0x20 ADD PUSH9 0x141BDBDB15985D5B1D PUSH1 0xBA SHL DUP2 MSTORE POP PUSH2 0x2C2A JUMP JUMPDEST SWAP1 POP DUP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xA7CC190A CALLVALUE PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x2E80 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x2E94 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH2 0x2EAB DUP4 PUSH1 0x2 PUSH2 0x31BB JUMP JUMPDEST PUSH2 0x2EB6 SWAP1 PUSH1 0x2 PUSH2 0x3219 JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x2ECE JUMPI PUSH2 0x2ECE PUSH2 0x3341 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x2EF8 JUMPI PUSH1 0x20 DUP3 ADD DUP2 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x3 PUSH1 0xFC SHL DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x2F13 JUMPI PUSH2 0x2F13 PUSH2 0x3357 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0xF PUSH1 0xFB SHL DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x2F42 JUMPI PUSH2 0x2F42 PUSH2 0x3357 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x0 PUSH2 0x2F66 DUP5 PUSH1 0x2 PUSH2 0x31BB JUMP JUMPDEST PUSH2 0x2F71 SWAP1 PUSH1 0x1 PUSH2 0x3219 JUMP JUMPDEST SWAP1 POP JUMPDEST PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x2FE9 JUMPI PUSH16 0x181899199A1A9B1B9C1CB0B131B232B3 PUSH1 0x81 SHL DUP6 PUSH1 0xF AND PUSH1 0x10 DUP2 LT PUSH2 0x2FA5 JUMPI PUSH2 0x2FA5 PUSH2 0x3357 JUMP JUMPDEST BYTE PUSH1 0xF8 SHL DUP3 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x2FBB JUMPI PUSH2 0x2FBB PUSH2 0x3357 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x4 SWAP5 SWAP1 SWAP5 SHR SWAP4 PUSH2 0x2FE2 DUP2 PUSH2 0x336D JUMP JUMPDEST SWAP1 POP PUSH2 0x2F74 JUMP JUMPDEST POP DUP4 ISZERO PUSH2 0x189B JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x537472696E67733A20686578206C656E67746820696E73756666696369656E74 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x304A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND DUP2 EQ PUSH2 0x189B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x3074 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x3090 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x30A5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x189B DUP2 PUSH2 0x307B JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x30C3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x30D5 DUP2 PUSH2 0x307B JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0x3090 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x3100 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x189B DUP2 PUSH2 0x30E0 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x311D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH10 0x6973506F6F6C4C697665 PUSH1 0xB0 SHL DUP2 MSTORE PUSH1 0xA ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x314C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x189B DUP2 PUSH2 0x30E0 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1D SWAP1 DUP3 ADD MSTORE PUSH32 0x54686520706F6F6C2069732063757272656E746C7920636C6F7365642E000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH2 0x31B6 JUMPI PUSH2 0x31B6 PUSH2 0x318E JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x0 NOT DIV DUP4 GT DUP3 ISZERO ISZERO AND ISZERO PUSH2 0x31D5 JUMPI PUSH2 0x31D5 PUSH2 0x318E JUMP JUMPDEST POP MUL SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH2 0x31F7 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP DIV SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x320E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x189B DUP2 PUSH2 0x307B JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x322C JUMPI PUSH2 0x322C PUSH2 0x318E JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x324C JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x3234 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x325B JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH32 0x416363657373436F6E74726F6C3A206163636F756E7420000000000000000000 DUP2 MSTORE PUSH1 0x0 DUP4 MLOAD PUSH2 0x3299 DUP2 PUSH1 0x17 DUP6 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x3231 JUMP JUMPDEST PUSH17 0x1034B99036B4B9B9B4B733903937B6329 PUSH1 0x7D SHL PUSH1 0x17 SWAP2 DUP5 ADD SWAP2 DUP3 ADD MSTORE DUP4 MLOAD PUSH2 0x32CA DUP2 PUSH1 0x28 DUP5 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x3231 JUMP JUMPDEST ADD PUSH1 0x28 ADD SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 DUP3 MLOAD DUP1 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x32F5 DUP2 PUSH1 0x40 DUP6 ADD PUSH1 0x20 DUP8 ADD PUSH2 0x3231 JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP2 SWAP1 SWAP2 ADD PUSH1 0x40 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH16 0x636F6E74726163745F61646472657373 PUSH1 0x80 SHL DUP2 MSTORE PUSH1 0x0 DUP3 MLOAD PUSH2 0x3334 DUP2 PUSH1 0x10 DUP6 ADD PUSH1 0x20 DUP8 ADD PUSH2 0x3231 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD PUSH1 0x10 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH2 0x337C JUMPI PUSH2 0x337C PUSH2 0x318E JUMP JUMPDEST POP PUSH1 0x0 NOT ADD SWAP1 JUMP INVALID COINBASE LOG0 0x1E 0xC0 LOG1 EXTCODESIZE JUMP EXTCODEHASH LOG4 MSTORE JUMP SWAP15 EXTCODEHASH 0xBB GT PUSH4 0x66D217C2 PUSH23 0x9AA1561822E65A617E3842A26469706673582212208F90 DUP9 0xFB 0xB5 STOP JUMPDEST 0xB4 SLT CHAINID 0xC5 JUMP SUB 0xDC BLOCKHASH 0x2B 0xE7 CALLDATACOPY PUSH14 0xA1AABFEDB5A147DFA61B40FCC464 PUSH20 0x6F6C634300080900330000000000000000000000 ", + "sourceMap": "653:8566:1:-:0;;;926:126;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1701:1:9;1806:22;;1269:11:0;:55;;-1:-1:-1;;;;;;1269:55:0;-1:-1:-1;;;;;1269:55:0;;;;;;1335:42;-1:-1:-1;1366:10:0;1335;:42::i;:::-;1388:36;726:25;1413:10;1388;:36::i;:::-;1435:21;:19;:21::i;:::-;-1:-1:-1;1021:23:1::1;:21;:23::i;:::-;926:126:::0;653:8566;;6257:110:7;6335:25;6346:4;6352:7;6335:10;:25::i;:::-;6257:110;;:::o;2539:269:0:-;2589:11;;2626:50;;-1:-1:-1;;;2626:50:0;;;568:30:15;-1:-1:-1;;;;;;2670:4:0;661:2:15;632:15;628:45;614:12;;;607:67;-1:-1:-1;;;;;2589:11:0;;;;:26;;690:12:15;;2626:50:0;;;-1:-1:-1;;2626:50:0;;;;;;;;;;2616:61;;2626:50;2616:61;;;;-1:-1:-1;;;;;;2589:95:0;;;;;;;;;;881:25:15;2679:4:0;922:18:15;;;915:50;854:18;;2589:95:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2695:11:0;;2735:48;;-1:-1:-1;;;2735:48:0;;;1279:31:15;-1:-1:-1;;;1326:12:15;;;1319:32;-1:-1:-1;;;;;2695:11:0;;;;-1:-1:-1;2695:29:0;;-1:-1:-1;1367:12:15;;2735:48:0;;;;-1:-1:-1;;2735:48:0;;;;;;;;;;2725:59;;2735:48;2725:59;;;;-1:-1:-1;;;;;;2695:105:0;;;;;;;;;;1564:25:15;2794:4:0;1605:18:15;;;1598:60;1537:18;;2695:105:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2539:269::o;3713:273:1:-;3765:11;;3802:50;;-1:-1:-1;;;3802:50:1;;;568:30:15;-1:-1:-1;;;;;;3846:4:1;661:2:15;632:15;628:45;614:12;;;607:67;-1:-1:-1;;;;;3765:11:1;;;;:26;;690:12:15;;3802:50:1;;;-1:-1:-1;;3802:50:1;;;;;;;;;;3792:61;;3802:50;3792:61;;;;-1:-1:-1;;;;;;3765:95:1;;;;;;;;;;881:25:15;3855:4:1;922:18:15;;;915:50;854:18;;3765:95:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3871:11:1;;3911:50;;-1:-1:-1;;;3911:50:1;;;1972:31:15;-1:-1:-1;;;2019:12:15;;;2012:34;-1:-1:-1;;;;;3871:11:1;;;;-1:-1:-1;3871:29:1;;-1:-1:-1;2062:12:15;;3911:50:1;1669:411:15;6861:233:7;2995:4;3018:12;;;;;;;;;;;-1:-1:-1;;;;;3018:29:7;;;;;;;;;;;;6939:149;;6982:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6982:29:7;;;;;;;;;:36;;-1:-1:-1;;6982:36:7;7014:4;6982:36;;;7064:12;719:10:11;;640:96;7064:12:7;-1:-1:-1;;;;;7037:40:7;7055:7;-1:-1:-1;;;;;7037:40:7;7049:4;7037:40;;;;;;;;;;6861:233;;:::o;14:319:15:-;113:6;166:2;154:9;145:7;141:23;137:32;134:52;;;182:1;179;172:12;134:52;208:16;;-1:-1:-1;;;;;253:31:15;;243:42;;233:70;;299:1;296;289:12;233:70;322:5;14:319;-1:-1:-1;;;14:319:15:o;1669:411::-;653:8566:1;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": { + "@DEFAULT_ADMIN_ROLE_1553": { + "entryPoint": null, + "id": 1553, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@POOL_MANAGER_14": { + "entryPoint": null, + "id": 14, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_checkRole_1650": { + "entryPoint": 11206, + "id": 1650, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@_depositToVault_992": { + "entryPoint": 11799, + "id": 992, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_grantRole_1802": { + "entryPoint": 11566, + "id": 1802, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@_msgSender_2037": { + "entryPoint": null, + "id": 2037, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@_revokeRole_1833": { + "entryPoint": 11698, + "id": 1833, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@addPoolManager_107": { + "entryPoint": 5019, + "id": 107, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@calculateRewards_1045": { + "entryPoint": 4378, + "id": 1045, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@deposit_970": { + "entryPoint": 7361, + "id": 970, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@getContractAddress_445": { + "entryPoint": 11306, + "id": 445, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@getContributionLimit_570": { + "entryPoint": 11164, + "id": 570, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getMinContribution_590": { + "entryPoint": 6306, + "id": 590, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getPoolBaseAddress_470": { + "entryPoint": 6657, + "id": 470, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getPoolClientAddress_1292": { + "entryPoint": 6087, + "id": 1292, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getPoolMaxSize_510": { + "entryPoint": 1348, + "id": 510, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getPoolState_490": { + "entryPoint": 1928, + "id": 490, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getRewardsInterest_550": { + "entryPoint": 6608, + "id": 550, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getRewardsInterval_530": { + "entryPoint": 5791, + "id": 530, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getRewardsToInject_1069": { + "entryPoint": 6756, + "id": 1069, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getRoleAdmin_1665": { + "entryPoint": null, + "id": 1665, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@grantRole_1685": { + "entryPoint": 4209, + "id": 1685, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@hasRole_1607": { + "entryPoint": 6715, + "id": 1607, + "parameterSlots": 2, + "returnSlots": 1 + }, + "@removePoolManager_125": { + "entryPoint": 2093, + "id": 125, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@renounceRole_1728": { + "entryPoint": 4252, + "id": 1728, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@revokeRole_1705": { + "entryPoint": 9964, + "id": 1705, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@rewardsInjector_1165": { + "entryPoint": 10002, + "id": 1165, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@setContributionLimit_348": { + "entryPoint": 6346, + "id": 348, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setMinContribution_407": { + "entryPoint": 5111, + "id": 407, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setPoolLive_188": { + "entryPoint": 6970, + "id": 188, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setPoolMaxSize_228": { + "entryPoint": 1537, + "id": 228, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setRewardsInterest_308": { + "entryPoint": 7092, + "id": 308, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setRewardsInterval_268": { + "entryPoint": 5829, + "id": 268, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@supportsInterface_1588": { + "entryPoint": 1293, + "id": 1588, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@supportsInterface_2273": { + "entryPoint": null, + "id": 2273, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@toHexString_2249": { + "entryPoint": 11932, + "id": 2249, + "parameterSlots": 2, + "returnSlots": 1 + }, + "@withdraw_1267": { + "entryPoint": 2185, + "id": 1267, + "parameterSlots": 1, + "returnSlots": 0 + }, + "abi_decode_tuple_t_address": { + "entryPoint": 12435, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_address_fromMemory": { + "entryPoint": 12796, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bool": { + "entryPoint": 12526, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bool_fromMemory": { + "entryPoint": 12602, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bytes32": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bytes32t_address": { + "entryPoint": 12464, + "id": null, + "parameterSlots": 2, + "returnSlots": 2 + }, + "abi_decode_tuple_t_bytes4": { + "entryPoint": 12344, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_uint256": { + "entryPoint": 12386, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_uint256_fromMemory": { + "entryPoint": 12555, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_1f2d52bb921ff8f758e0d04d1f6fb73af2c988187e5aa44799b48cc37bad9ddd__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 12580, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_3eeb3edc0bd0c927e9a425249e5fad79540544d9a606ca590d27861d0999cf35__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_76edfdb8c3aa82fcf38cdc1a6e283906fb4b4d3155ae9613a513f5862659fb75__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 13065, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_db398badece03775756fae64be2a2ed9aaf2b2ace9c216beb0e483c4a0338aa3__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_a8e7474b45c8b24d3fc859e7598de85ce7116a6f79113863771eb36ab9bbbd50__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_c249c8d0234c73f198edb6911269cabbcb3a87200e5c4a66aae535d12bd6112c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_d355f88ceab9b2fcbf3199ee016c1d44cd524b771481c3f28e050cb3cd8e89d0_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874_t_string_memory_ptr_t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 12897, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_address__to_t_address__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_address_t_address__to_t_address_t_address__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_address_t_address_t_uint256__to_t_address_t_address_t_uint256__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 4, + "returnSlots": 1 + }, + "abi_encode_tuple_t_address_t_uint256__to_t_address_t_uint256__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_uint256__to_t_bytes32_t_uint256__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 13014, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_04fc88320d7c9f639317c75102c103ff0044d3075a5c627e24e76e5bbb2733c2__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_0aca709d1d31a30dd3ccfaa34d0d4a5445deddf0a17f0e432d4d3c0e62a3f388__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_19ad6c976b149899a06f253a5c7ae71e547b11a00cb20a5aadce6eafd514b15c__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_308638a0d46b73b9203c635ec2b36574c482f0f0b0c13080ce12f9b33ca2d5c6__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_3b245c4f3b2203e747fb2dc59b5a8c9d4c277a57e8b5577622ddc81ae5fceeed__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_487e073b8bf2a8e6de00fef6e3b2f0ada7bb15bf28111ae2ad7bc74191d7800a__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 12631, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_80e7e51429895e9428064c782e8e47368b34fff0ea170bfe0f000de92e41742c__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_90eb27ec9fe4931c246d4a767afde5ebee8d08c2c5cd7adf4ff3a2547356978a__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_9bfa599205b132513fe40ce547e7e6def8c4cc455992878354af4c6363b32779__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_9fb3116bf034257f53d100885fe342802b7bf9d79ee87529fdfad6cf247408b2__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_a07a9155f0fee414d04e07326b9b898321366e59564af46f456c915818839e4f__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_c75f434c4e7b86f1c0d9c954f2d25cfdebc766bb18ad155109871835d37640e8__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_de7afb02a747890df12ae9117ae05d9a0f544d6e9a59c6692a35fb1b30ac411d__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_e0ca9ec09210f9eb759fac6a6589e191f21a42c4e51863e166d749e6aa938d57__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_ebf73bba305590e4764d5cb53b69bffd6d4d092d1a67551cb346f8cfcdab8619__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_f010fc206434e76995f16ddd63fbbecb124b7157b8b26af4625c4b74913836e2__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "checked_add_t_uint256": { + "entryPoint": 12825, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_div_t_uint256": { + "entryPoint": 12762, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_mul_t_uint256": { + "entryPoint": 12731, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_sub_t_uint256": { + "entryPoint": 12708, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "copy_memory_to_memory": { + "entryPoint": 12849, + "id": null, + "parameterSlots": 3, + "returnSlots": 0 + }, + "decrement_t_uint256": { + "entryPoint": 13165, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "panic_error_0x11": { + "entryPoint": 12686, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x32": { + "entryPoint": 13143, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x41": { + "entryPoint": 13121, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "validator_revert_address": { + "entryPoint": 12411, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "validator_revert_bool": { + "entryPoint": 12512, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + } + }, + "generatedSources": [ + { + "ast": { + "nodeType": "YulBlock", + "src": "0:19392:15", + "statements": [ + { + "nodeType": "YulBlock", + "src": "6:3:15", + "statements": [] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "83:217:15", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "129:16:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "138:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "141:1:15", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "131:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "131:12:15" + }, + "nodeType": "YulExpressionStatement", + "src": "131:12:15" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "104:7:15" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "113:9:15" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "100:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "100:23:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "125:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "96:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "96:32:15" + }, + "nodeType": "YulIf", + "src": "93:52:15" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "154:36:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "180:9:15" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "167:12:15" + }, + "nodeType": "YulFunctionCall", + "src": "167:23:15" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "158:5:15", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "254:16:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "263:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "266:1:15", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "256:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "256:12:15" + }, + "nodeType": "YulExpressionStatement", + "src": "256:12:15" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "212:5:15" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "223:5:15" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "234:3:15", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "239:10:15", + "type": "", + "value": "0xffffffff" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "230:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "230:20:15" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "219:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "219:32:15" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "209:2:15" + }, + "nodeType": "YulFunctionCall", + "src": "209:43:15" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "202:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "202:51:15" + }, + "nodeType": "YulIf", + "src": "199:71:15" + }, + { + "nodeType": "YulAssignment", + "src": "279:15:15", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "289:5:15" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "279:6:15" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bytes4", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "49:9:15", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "60:7:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "72:6:15", + "type": "" + } + ], + "src": "14:286:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "400:92:15", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "410:26:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "422:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "433:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "418:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "418:18:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "410:4:15" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "452:9:15" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "477:6:15" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "470:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "470:14:15" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "463:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "463:22:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "445:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "445:41:15" + }, + "nodeType": "YulExpressionStatement", + "src": "445:41:15" + } + ] + }, + "name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "369:9:15", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "380:6:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "391:4:15", + "type": "" + } + ], + "src": "305:187:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "598:76:15", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "608:26:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "620:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "631:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "616:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "616:18:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "608:4:15" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "650:9:15" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "661:6:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "643:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "643:25:15" + }, + "nodeType": "YulExpressionStatement", + "src": "643:25:15" + } + ] + }, + "name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "567:9:15", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "578:6:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "589:4:15", + "type": "" + } + ], + "src": "497:177:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "749:110:15", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "795:16:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "804:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "807:1:15", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "797:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "797:12:15" + }, + "nodeType": "YulExpressionStatement", + "src": "797:12:15" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "770:7:15" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "779:9:15" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "766:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "766:23:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "791:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "762:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "762:32:15" + }, + "nodeType": "YulIf", + "src": "759:52:15" + }, + { + "nodeType": "YulAssignment", + "src": "820:33:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "843:9:15" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "830:12:15" + }, + "nodeType": "YulFunctionCall", + "src": "830:23:15" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "820:6:15" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "715:9:15", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "726:7:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "738:6:15", + "type": "" + } + ], + "src": "679:180:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "934:110:15", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "980:16:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "989:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "992:1:15", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "982:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "982:12:15" + }, + "nodeType": "YulExpressionStatement", + "src": "982:12:15" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "955:7:15" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "964:9:15" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "951:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "951:23:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "976:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "947:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "947:32:15" + }, + "nodeType": "YulIf", + "src": "944:52:15" + }, + { + "nodeType": "YulAssignment", + "src": "1005:33:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1028:9:15" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1015:12:15" + }, + "nodeType": "YulFunctionCall", + "src": "1015:23:15" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1005:6:15" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bytes32", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "900:9:15", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "911:7:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "923:6:15", + "type": "" + } + ], + "src": "864:180:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1150:76:15", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "1160:26:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1172:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1183:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1168:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "1168:18:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "1160:4:15" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1202:9:15" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1213:6:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1195:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "1195:25:15" + }, + "nodeType": "YulExpressionStatement", + "src": "1195:25:15" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1119:9:15", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1130:6:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "1141:4:15", + "type": "" + } + ], + "src": "1049:177:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1276:86:15", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1340:16:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1349:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1352:1:15", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1342:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "1342:12:15" + }, + "nodeType": "YulExpressionStatement", + "src": "1342:12:15" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1299:5:15" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1310:5:15" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1325:3:15", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1330:1:15", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "1321:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "1321:11:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1334:1:15", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1317:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "1317:19:15" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "1306:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "1306:31:15" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "1296:2:15" + }, + "nodeType": "YulFunctionCall", + "src": "1296:42:15" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "1289:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "1289:50:15" + }, + "nodeType": "YulIf", + "src": "1286:70:15" + } + ] + }, + "name": "validator_revert_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "1265:5:15", + "type": "" + } + ], + "src": "1231:131:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1437:177:15", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1483:16:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1492:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1495:1:15", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1485:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "1485:12:15" + }, + "nodeType": "YulExpressionStatement", + "src": "1485:12:15" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "1458:7:15" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1467:9:15" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1454:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "1454:23:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1479:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "1450:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "1450:32:15" + }, + "nodeType": "YulIf", + "src": "1447:52:15" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "1508:36:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1534:9:15" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1521:12:15" + }, + "nodeType": "YulFunctionCall", + "src": "1521:23:15" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "1512:5:15", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1578:5:15" + } + ], + "functionName": { + "name": "validator_revert_address", + "nodeType": "YulIdentifier", + "src": "1553:24:15" + }, + "nodeType": "YulFunctionCall", + "src": "1553:31:15" + }, + "nodeType": "YulExpressionStatement", + "src": "1553:31:15" + }, + { + "nodeType": "YulAssignment", + "src": "1593:15:15", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1603:5:15" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1593:6:15" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1403:9:15", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "1414:7:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1426:6:15", + "type": "" + } + ], + "src": "1367:247:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1706:228:15", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1752:16:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1761:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1764:1:15", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1754:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "1754:12:15" + }, + "nodeType": "YulExpressionStatement", + "src": "1754:12:15" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "1727:7:15" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1736:9:15" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1723:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "1723:23:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1748:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "1719:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "1719:32:15" + }, + "nodeType": "YulIf", + "src": "1716:52:15" + }, + { + "nodeType": "YulAssignment", + "src": "1777:33:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1800:9:15" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1787:12:15" + }, + "nodeType": "YulFunctionCall", + "src": "1787:23:15" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1777:6:15" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "1819:45:15", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1849:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1860:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1845:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "1845:18:15" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1832:12:15" + }, + "nodeType": "YulFunctionCall", + "src": "1832:32:15" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "1823:5:15", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1898:5:15" + } + ], + "functionName": { + "name": "validator_revert_address", + "nodeType": "YulIdentifier", + "src": "1873:24:15" + }, + "nodeType": "YulFunctionCall", + "src": "1873:31:15" + }, + "nodeType": "YulExpressionStatement", + "src": "1873:31:15" + }, + { + "nodeType": "YulAssignment", + "src": "1913:15:15", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1923:5:15" + }, + "variableNames": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "1913:6:15" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bytes32t_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1664:9:15", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "1675:7:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1687:6:15", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "1695:6:15", + "type": "" + } + ], + "src": "1619:315:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2040:102:15", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "2050:26:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2062:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2073:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2058:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "2058:18:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "2050:4:15" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2092:9:15" + }, + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "2107:6:15" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2123:3:15", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2128:1:15", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "2119:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "2119:11:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2132:1:15", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "2115:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "2115:19:15" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "2103:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "2103:32:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2085:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "2085:51:15" + }, + "nodeType": "YulExpressionStatement", + "src": "2085:51:15" + } + ] + }, + "name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "2009:9:15", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "2020:6:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "2031:4:15", + "type": "" + } + ], + "src": "1939:203:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2189:76:15", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "2243:16:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2252:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2255:1:15", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "2245:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "2245:12:15" + }, + "nodeType": "YulExpressionStatement", + "src": "2245:12:15" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "2212:5:15" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "2233:5:15" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "2226:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "2226:13:15" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "2219:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "2219:21:15" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "2209:2:15" + }, + "nodeType": "YulFunctionCall", + "src": "2209:32:15" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "2202:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "2202:40:15" + }, + "nodeType": "YulIf", + "src": "2199:60:15" + } + ] + }, + "name": "validator_revert_bool", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "2178:5:15", + "type": "" + } + ], + "src": "2147:118:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2337:174:15", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "2383:16:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2392:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2395:1:15", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "2385:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "2385:12:15" + }, + "nodeType": "YulExpressionStatement", + "src": "2385:12:15" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "2358:7:15" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2367:9:15" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "2354:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "2354:23:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2379:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "2350:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "2350:32:15" + }, + "nodeType": "YulIf", + "src": "2347:52:15" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "2408:36:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2434:9:15" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "2421:12:15" + }, + "nodeType": "YulFunctionCall", + "src": "2421:23:15" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "2412:5:15", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "2475:5:15" + } + ], + "functionName": { + "name": "validator_revert_bool", + "nodeType": "YulIdentifier", + "src": "2453:21:15" + }, + "nodeType": "YulFunctionCall", + "src": "2453:28:15" + }, + "nodeType": "YulExpressionStatement", + "src": "2453:28:15" + }, + { + "nodeType": "YulAssignment", + "src": "2490:15:15", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "2500:5:15" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "2490:6:15" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bool", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "2303:9:15", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "2314:7:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "2326:6:15", + "type": "" + } + ], + "src": "2270:241:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2708:70:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "2725:3:15" + }, + { + "hexValue": "706f6f6c4d617853697a65", + "kind": "string", + "nodeType": "YulLiteral", + "src": "2730:13:15", + "type": "", + "value": "poolMaxSize" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2718:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "2718:26:15" + }, + "nodeType": "YulExpressionStatement", + "src": "2718:26:15" + }, + { + "nodeType": "YulAssignment", + "src": "2753:19:15", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "2764:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2769:2:15", + "type": "", + "value": "11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2760:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "2760:12:15" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "2753:3:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "2692:3:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "2700:3:15", + "type": "" + } + ], + "src": "2516:262:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2864:103:15", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "2910:16:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2919:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2922:1:15", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "2912:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "2912:12:15" + }, + "nodeType": "YulExpressionStatement", + "src": "2912:12:15" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "2885:7:15" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2894:9:15" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "2881:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "2881:23:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2906:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "2877:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "2877:32:15" + }, + "nodeType": "YulIf", + "src": "2874:52:15" + }, + { + "nodeType": "YulAssignment", + "src": "2935:26:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2951:9:15" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "2945:5:15" + }, + "nodeType": "YulFunctionCall", + "src": "2945:16:15" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "2935:6:15" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_uint256_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "2830:9:15", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "2841:7:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "2853:6:15", + "type": "" + } + ], + "src": "2783:184:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3164:69:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "3181:3:15" + }, + { + "hexValue": "6973506f6f6c4c697665", + "kind": "string", + "nodeType": "YulLiteral", + "src": "3186:12:15", + "type": "", + "value": "isPoolLive" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3174:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "3174:25:15" + }, + "nodeType": "YulExpressionStatement", + "src": "3174:25:15" + }, + { + "nodeType": "YulAssignment", + "src": "3208:19:15", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "3219:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3224:2:15", + "type": "", + "value": "10" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3215:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "3215:12:15" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "3208:3:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "3148:3:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "3156:3:15", + "type": "" + } + ], + "src": "2972:261:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3316:167:15", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "3362:16:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3371:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3374:1:15", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "3364:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "3364:12:15" + }, + "nodeType": "YulExpressionStatement", + "src": "3364:12:15" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "3337:7:15" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3346:9:15" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "3333:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "3333:23:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3358:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "3329:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "3329:32:15" + }, + "nodeType": "YulIf", + "src": "3326:52:15" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "3387:29:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3406:9:15" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "3400:5:15" + }, + "nodeType": "YulFunctionCall", + "src": "3400:16:15" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "3391:5:15", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "3447:5:15" + } + ], + "functionName": { + "name": "validator_revert_bool", + "nodeType": "YulIdentifier", + "src": "3425:21:15" + }, + "nodeType": "YulFunctionCall", + "src": "3425:28:15" + }, + "nodeType": "YulExpressionStatement", + "src": "3425:28:15" + }, + { + "nodeType": "YulAssignment", + "src": "3462:15:15", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "3472:5:15" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "3462:6:15" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bool_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "3282:9:15", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "3293:7:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "3305:6:15", + "type": "" + } + ], + "src": "3238:245:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3662:179:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3679:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3690:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3672:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "3672:21:15" + }, + "nodeType": "YulExpressionStatement", + "src": "3672:21:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3713:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3724:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3709:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "3709:18:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3729:2:15", + "type": "", + "value": "29" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3702:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "3702:30:15" + }, + "nodeType": "YulExpressionStatement", + "src": "3702:30:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3752:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3763:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3748:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "3748:18:15" + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "3768:31:15", + "type": "", + "value": "The pool is currently closed." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3741:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "3741:59:15" + }, + "nodeType": "YulExpressionStatement", + "src": "3741:59:15" + }, + { + "nodeType": "YulAssignment", + "src": "3809:26:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3821:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3832:2:15", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3817:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "3817:18:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "3809:4:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "3639:9:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "3653:4:15", + "type": "" + } + ], + "src": "3488:353:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3975:119:15", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "3985:26:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3997:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4008:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3993:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "3993:18:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "3985:4:15" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4027:9:15" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "4038:6:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4020:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "4020:25:15" + }, + "nodeType": "YulExpressionStatement", + "src": "4020:25:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4065:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4076:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4061:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "4061:18:15" + }, + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "4081:6:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4054:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "4054:34:15" + }, + "nodeType": "YulExpressionStatement", + "src": "4054:34:15" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_uint256__to_t_bytes32_t_uint256__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "3936:9:15", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "3947:6:15", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "3955:6:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "3966:4:15", + "type": "" + } + ], + "src": "3846:248:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4273:243:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4290:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4301:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4283:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "4283:21:15" + }, + "nodeType": "YulExpressionStatement", + "src": "4283:21:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4324:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4335:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4320:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "4320:18:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4340:2:15", + "type": "", + "value": "53" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4313:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "4313:30:15" + }, + "nodeType": "YulExpressionStatement", + "src": "4313:30:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4363:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4374:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4359:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "4359:18:15" + }, + { + "hexValue": "596f7520646f6e27742068617665207468617420616d6f756e74206f6620746f", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4379:34:15", + "type": "", + "value": "You don't have that amount of to" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4352:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "4352:62:15" + }, + "nodeType": "YulExpressionStatement", + "src": "4352:62:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4434:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4445:2:15", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4430:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "4430:18:15" + }, + { + "hexValue": "6b656e73206f6e20796f7572206163636f756e742e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4450:23:15", + "type": "", + "value": "kens on your account." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4423:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "4423:51:15" + }, + "nodeType": "YulExpressionStatement", + "src": "4423:51:15" + }, + { + "nodeType": "YulAssignment", + "src": "4483:27:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4495:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4506:3:15", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4491:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "4491:19:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "4483:4:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_90eb27ec9fe4931c246d4a767afde5ebee8d08c2c5cd7adf4ff3a2547356978a__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "4250:9:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "4264:4:15", + "type": "" + } + ], + "src": "4099:417:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4553:95:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4570:1:15", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4577:3:15", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4582:10:15", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "4573:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "4573:20:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4563:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "4563:31:15" + }, + "nodeType": "YulExpressionStatement", + "src": "4563:31:15" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4610:1:15", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4613:4:15", + "type": "", + "value": "0x11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4603:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "4603:15:15" + }, + "nodeType": "YulExpressionStatement", + "src": "4603:15:15" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4634:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4637:4:15", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "4627:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "4627:15:15" + }, + "nodeType": "YulExpressionStatement", + "src": "4627:15:15" + } + ] + }, + "name": "panic_error_0x11", + "nodeType": "YulFunctionDefinition", + "src": "4521:127:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4702:76:15", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "4724:22:15", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "4726:16:15" + }, + "nodeType": "YulFunctionCall", + "src": "4726:18:15" + }, + "nodeType": "YulExpressionStatement", + "src": "4726:18:15" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "4718:1:15" + }, + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "4721:1:15" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "4715:2:15" + }, + "nodeType": "YulFunctionCall", + "src": "4715:8:15" + }, + "nodeType": "YulIf", + "src": "4712:34:15" + }, + { + "nodeType": "YulAssignment", + "src": "4755:17:15", + "value": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "4767:1:15" + }, + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "4770:1:15" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "4763:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "4763:9:15" + }, + "variableNames": [ + { + "name": "diff", + "nodeType": "YulIdentifier", + "src": "4755:4:15" + } + ] + } + ] + }, + "name": "checked_sub_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "x", + "nodeType": "YulTypedName", + "src": "4684:1:15", + "type": "" + }, + { + "name": "y", + "nodeType": "YulTypedName", + "src": "4687:1:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "diff", + "nodeType": "YulTypedName", + "src": "4693:4:15", + "type": "" + } + ], + "src": "4653:125:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4957:228:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4974:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4985:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4967:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "4967:21:15" + }, + "nodeType": "YulExpressionStatement", + "src": "4967:21:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5008:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5019:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5004:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "5004:18:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5024:2:15", + "type": "", + "value": "38" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4997:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "4997:30:15" + }, + "nodeType": "YulExpressionStatement", + "src": "4997:30:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5047:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5058:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5043:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "5043:18:15" + }, + { + "hexValue": "506f6f6c2073697a652063616e6e6f7420626520736d616c6c6572207468616e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5063:34:15", + "type": "", + "value": "Pool size cannot be smaller than" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5036:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "5036:62:15" + }, + "nodeType": "YulExpressionStatement", + "src": "5036:62:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5118:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5129:2:15", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5114:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "5114:18:15" + }, + { + "hexValue": "207a65726f2e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5134:8:15", + "type": "", + "value": " zero." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5107:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "5107:36:15" + }, + "nodeType": "YulExpressionStatement", + "src": "5107:36:15" + }, + { + "nodeType": "YulAssignment", + "src": "5152:27:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5164:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5175:3:15", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5160:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "5160:19:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "5152:4:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_e0ca9ec09210f9eb759fac6a6589e191f21a42c4e51863e166d749e6aa938d57__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "4934:9:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "4948:4:15", + "type": "" + } + ], + "src": "4783:402:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5364:178:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5381:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5392:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5374:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "5374:21:15" + }, + "nodeType": "YulExpressionStatement", + "src": "5374:21:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5415:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5426:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5411:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "5411:18:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5431:2:15", + "type": "", + "value": "28" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5404:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "5404:30:15" + }, + "nodeType": "YulExpressionStatement", + "src": "5404:30:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5454:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5465:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5450:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "5450:18:15" + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920706175736564", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5470:30:15", + "type": "", + "value": "The pool is currently paused" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5443:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "5443:58:15" + }, + "nodeType": "YulExpressionStatement", + "src": "5443:58:15" + }, + { + "nodeType": "YulAssignment", + "src": "5510:26:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5522:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5533:2:15", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5518:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "5518:18:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "5510:4:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_3b245c4f3b2203e747fb2dc59b5a8c9d4c277a57e8b5577622ddc81ae5fceeed__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "5341:9:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "5355:4:15", + "type": "" + } + ], + "src": "5190:352:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5721:181:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5738:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5749:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5731:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "5731:21:15" + }, + "nodeType": "YulExpressionStatement", + "src": "5731:21:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5772:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5783:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5768:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "5768:18:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5788:2:15", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5761:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "5761:30:15" + }, + "nodeType": "YulExpressionStatement", + "src": "5761:30:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5811:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5822:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5807:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "5807:18:15" + }, + { + "hexValue": "5265656e7472616e637947756172643a207265656e7472616e742063616c6c", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5827:33:15", + "type": "", + "value": "ReentrancyGuard: reentrant call" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5800:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "5800:61:15" + }, + "nodeType": "YulExpressionStatement", + "src": "5800:61:15" + }, + { + "nodeType": "YulAssignment", + "src": "5870:26:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5882:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5893:2:15", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5878:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "5878:18:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "5870:4:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_ebf73bba305590e4764d5cb53b69bffd6d4d092d1a67551cb346f8cfcdab8619__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "5698:9:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "5712:4:15", + "type": "" + } + ], + "src": "5547:355:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6036:175:15", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "6046:26:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6058:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6069:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6054:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "6054:18:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "6046:4:15" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "6081:29:15", + "value": { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6099:3:15", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6104:1:15", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "6095:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "6095:11:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6108:1:15", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "6091:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "6091:19:15" + }, + "variables": [ + { + "name": "_1", + "nodeType": "YulTypedName", + "src": "6085:2:15", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6126:9:15" + }, + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "6141:6:15" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "6149:2:15" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "6137:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "6137:15:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6119:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "6119:34:15" + }, + "nodeType": "YulExpressionStatement", + "src": "6119:34:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6173:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6184:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6169:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "6169:18:15" + }, + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "6193:6:15" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "6201:2:15" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "6189:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "6189:15:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6162:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "6162:43:15" + }, + "nodeType": "YulExpressionStatement", + "src": "6162:43:15" + } + ] + }, + "name": "abi_encode_tuple_t_address_t_address__to_t_address_t_address__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "5997:9:15", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "6008:6:15", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "6016:6:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "6027:4:15", + "type": "" + } + ], + "src": "5907:304:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6390:246:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6407:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6418:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6400:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "6400:21:15" + }, + "nodeType": "YulExpressionStatement", + "src": "6400:21:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6441:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6452:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6437:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "6437:18:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6457:2:15", + "type": "", + "value": "56" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6430:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "6430:30:15" + }, + "nodeType": "YulExpressionStatement", + "src": "6430:30:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6480:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6491:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6476:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "6476:18:15" + }, + { + "hexValue": "52657665727465643a20436c69656e74206c61636b7320616c6c6f77616e6365", + "kind": "string", + "nodeType": "YulLiteral", + "src": "6496:34:15", + "type": "", + "value": "Reverted: Client lacks allowance" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6469:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "6469:62:15" + }, + "nodeType": "YulExpressionStatement", + "src": "6469:62:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6551:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6562:2:15", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6547:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "6547:18:15" + }, + { + "hexValue": "20746f20706572666f726d207468697320616374696f6e2e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "6567:26:15", + "type": "", + "value": " to perform this action." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6540:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "6540:54:15" + }, + "nodeType": "YulExpressionStatement", + "src": "6540:54:15" + }, + { + "nodeType": "YulAssignment", + "src": "6603:27:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6615:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6626:3:15", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6611:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "6611:19:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "6603:4:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_487e073b8bf2a8e6de00fef6e3b2f0ada7bb15bf28111ae2ad7bc74191d7800a__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "6367:9:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "6381:4:15", + "type": "" + } + ], + "src": "6216:420:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6798:218:15", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "6808:26:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6820:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6831:2:15", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6816:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "6816:18:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "6808:4:15" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "6843:29:15", + "value": { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6861:3:15", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6866:1:15", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "6857:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "6857:11:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6870:1:15", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "6853:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "6853:19:15" + }, + "variables": [ + { + "name": "_1", + "nodeType": "YulTypedName", + "src": "6847:2:15", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6888:9:15" + }, + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "6903:6:15" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "6911:2:15" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "6899:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "6899:15:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6881:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "6881:34:15" + }, + "nodeType": "YulExpressionStatement", + "src": "6881:34:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6935:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6946:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6931:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "6931:18:15" + }, + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "6955:6:15" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "6963:2:15" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "6951:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "6951:15:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6924:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "6924:43:15" + }, + "nodeType": "YulExpressionStatement", + "src": "6924:43:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6987:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6998:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6983:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "6983:18:15" + }, + { + "name": "value2", + "nodeType": "YulIdentifier", + "src": "7003:6:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6976:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "6976:34:15" + }, + "nodeType": "YulExpressionStatement", + "src": "6976:34:15" + } + ] + }, + "name": "abi_encode_tuple_t_address_t_address_t_uint256__to_t_address_t_address_t_uint256__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "6751:9:15", + "type": "" + }, + { + "name": "value2", + "nodeType": "YulTypedName", + "src": "6762:6:15", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "6770:6:15", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "6778:6:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "6789:4:15", + "type": "" + } + ], + "src": "6641:375:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7213:82:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7230:3:15" + }, + { + "hexValue": "746f74616c4275726e65645f7265776172644574686572", + "kind": "string", + "nodeType": "YulLiteral", + "src": "7235:25:15", + "type": "", + "value": "totalBurned_rewardEther" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7223:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "7223:38:15" + }, + "nodeType": "YulExpressionStatement", + "src": "7223:38:15" + }, + { + "nodeType": "YulAssignment", + "src": "7270:19:15", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7281:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7286:2:15", + "type": "", + "value": "23" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7277:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "7277:12:15" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "7270:3:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_1f2d52bb921ff8f758e0d04d1f6fb73af2c988187e5aa44799b48cc37bad9ddd__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "7197:3:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "7205:3:15", + "type": "" + } + ], + "src": "7021:274:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7429:145:15", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "7439:26:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7451:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7462:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7447:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "7447:18:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "7439:4:15" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7481:9:15" + }, + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "7496:6:15" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7512:3:15", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7517:1:15", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "7508:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "7508:11:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7521:1:15", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "7504:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "7504:19:15" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "7492:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "7492:32:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7474:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "7474:51:15" + }, + "nodeType": "YulExpressionStatement", + "src": "7474:51:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7545:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7556:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7541:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "7541:18:15" + }, + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "7561:6:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7534:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "7534:34:15" + }, + "nodeType": "YulExpressionStatement", + "src": "7534:34:15" + } + ] + }, + "name": "abi_encode_tuple_t_address_t_uint256__to_t_address_t_uint256__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "7390:9:15", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "7401:6:15", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "7409:6:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "7420:4:15", + "type": "" + } + ], + "src": "7300:274:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7708:119:15", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "7718:26:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7730:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7741:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7726:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "7726:18:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "7718:4:15" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7760:9:15" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "7771:6:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7753:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "7753:25:15" + }, + "nodeType": "YulExpressionStatement", + "src": "7753:25:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7798:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7809:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7794:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "7794:18:15" + }, + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "7814:6:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7787:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "7787:34:15" + }, + "nodeType": "YulExpressionStatement", + "src": "7787:34:15" + } + ] + }, + "name": "abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "7669:9:15", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "7680:6:15", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "7688:6:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "7699:4:15", + "type": "" + } + ], + "src": "7579:248:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8006:237:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8023:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8034:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8016:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "8016:21:15" + }, + "nodeType": "YulExpressionStatement", + "src": "8016:21:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8057:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8068:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8053:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "8053:18:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8073:2:15", + "type": "", + "value": "47" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8046:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "8046:30:15" + }, + "nodeType": "YulExpressionStatement", + "src": "8046:30:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8096:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8107:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8092:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "8092:18:15" + }, + { + "hexValue": "416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e6365", + "kind": "string", + "nodeType": "YulLiteral", + "src": "8112:34:15", + "type": "", + "value": "AccessControl: can only renounce" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8085:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "8085:62:15" + }, + "nodeType": "YulExpressionStatement", + "src": "8085:62:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8167:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8178:2:15", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8163:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "8163:18:15" + }, + { + "hexValue": "20726f6c657320666f722073656c66", + "kind": "string", + "nodeType": "YulLiteral", + "src": "8183:17:15", + "type": "", + "value": " roles for self" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8156:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "8156:45:15" + }, + "nodeType": "YulExpressionStatement", + "src": "8156:45:15" + }, + { + "nodeType": "YulAssignment", + "src": "8210:27:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8222:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8233:3:15", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8218:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "8218:19:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "8210:4:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "7983:9:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "7997:4:15", + "type": "" + } + ], + "src": "7832:411:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8422:177:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8439:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8450:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8432:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "8432:21:15" + }, + "nodeType": "YulExpressionStatement", + "src": "8432:21:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8473:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8484:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8469:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "8469:18:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8489:2:15", + "type": "", + "value": "27" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8462:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "8462:30:15" + }, + "nodeType": "YulExpressionStatement", + "src": "8462:30:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8512:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8523:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8508:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "8508:18:15" + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c79206c6976652e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "8528:29:15", + "type": "", + "value": "The pool is currently live." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8501:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "8501:57:15" + }, + "nodeType": "YulExpressionStatement", + "src": "8501:57:15" + }, + { + "nodeType": "YulAssignment", + "src": "8567:26:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8579:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8590:2:15", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8575:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "8575:18:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "8567:4:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_a07a9155f0fee414d04e07326b9b898321366e59564af46f456c915818839e4f__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "8399:9:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "8413:4:15", + "type": "" + } + ], + "src": "8248:351:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8796:74:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "8813:3:15" + }, + { + "hexValue": "72657761726473546f496e6a656374", + "kind": "string", + "nodeType": "YulLiteral", + "src": "8818:17:15", + "type": "", + "value": "rewardsToInject" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8806:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "8806:30:15" + }, + "nodeType": "YulExpressionStatement", + "src": "8806:30:15" + }, + { + "nodeType": "YulAssignment", + "src": "8845:19:15", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "8856:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8861:2:15", + "type": "", + "value": "15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8852:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "8852:12:15" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "8845:3:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_76edfdb8c3aa82fcf38cdc1a6e283906fb4b4d3155ae9613a513f5862659fb75__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "8780:3:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "8788:3:15", + "type": "" + } + ], + "src": "8604:266:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8927:116:15", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "8986:22:15", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "8988:16:15" + }, + "nodeType": "YulFunctionCall", + "src": "8988:18:15" + }, + "nodeType": "YulExpressionStatement", + "src": "8988:18:15" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "8958:1:15" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "8951:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "8951:9:15" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "8944:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "8944:17:15" + }, + { + "arguments": [ + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "8966:1:15" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8977:1:15", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "8973:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "8973:6:15" + }, + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "8981:1:15" + } + ], + "functionName": { + "name": "div", + "nodeType": "YulIdentifier", + "src": "8969:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "8969:14:15" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "8963:2:15" + }, + "nodeType": "YulFunctionCall", + "src": "8963:21:15" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "8940:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "8940:45:15" + }, + "nodeType": "YulIf", + "src": "8937:71:15" + }, + { + "nodeType": "YulAssignment", + "src": "9017:20:15", + "value": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "9032:1:15" + }, + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "9035:1:15" + } + ], + "functionName": { + "name": "mul", + "nodeType": "YulIdentifier", + "src": "9028:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "9028:9:15" + }, + "variableNames": [ + { + "name": "product", + "nodeType": "YulIdentifier", + "src": "9017:7:15" + } + ] + } + ] + }, + "name": "checked_mul_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "x", + "nodeType": "YulTypedName", + "src": "8906:1:15", + "type": "" + }, + { + "name": "y", + "nodeType": "YulTypedName", + "src": "8909:1:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "product", + "nodeType": "YulTypedName", + "src": "8915:7:15", + "type": "" + } + ], + "src": "8875:168:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "9094:171:15", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "9125:111:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9146:1:15", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9153:3:15", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9158:10:15", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "9149:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "9149:20:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9139:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "9139:31:15" + }, + "nodeType": "YulExpressionStatement", + "src": "9139:31:15" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9190:1:15", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9193:4:15", + "type": "", + "value": "0x12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9183:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "9183:15:15" + }, + "nodeType": "YulExpressionStatement", + "src": "9183:15:15" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9218:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9221:4:15", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "9211:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "9211:15:15" + }, + "nodeType": "YulExpressionStatement", + "src": "9211:15:15" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "9114:1:15" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "9107:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "9107:9:15" + }, + "nodeType": "YulIf", + "src": "9104:132:15" + }, + { + "nodeType": "YulAssignment", + "src": "9245:14:15", + "value": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "9254:1:15" + }, + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "9257:1:15" + } + ], + "functionName": { + "name": "div", + "nodeType": "YulIdentifier", + "src": "9250:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "9250:9:15" + }, + "variableNames": [ + { + "name": "r", + "nodeType": "YulIdentifier", + "src": "9245:1:15" + } + ] + } + ] + }, + "name": "checked_div_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "x", + "nodeType": "YulTypedName", + "src": "9079:1:15", + "type": "" + }, + { + "name": "y", + "nodeType": "YulTypedName", + "src": "9082:1:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "r", + "nodeType": "YulTypedName", + "src": "9088:1:15", + "type": "" + } + ], + "src": "9048:217:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "9462:76:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "9479:3:15" + }, + { + "hexValue": "636f6e747269627574696f6e4c696d6974", + "kind": "string", + "nodeType": "YulLiteral", + "src": "9484:19:15", + "type": "", + "value": "contributionLimit" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9472:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "9472:32:15" + }, + "nodeType": "YulExpressionStatement", + "src": "9472:32:15" + }, + { + "nodeType": "YulAssignment", + "src": "9513:19:15", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "9524:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9529:2:15", + "type": "", + "value": "17" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9520:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "9520:12:15" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "9513:3:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "9446:3:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "9454:3:15", + "type": "" + } + ], + "src": "9270:268:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "9717:252:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9734:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9745:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9727:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "9727:21:15" + }, + "nodeType": "YulExpressionStatement", + "src": "9727:21:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9768:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9779:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9764:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "9764:18:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9784:2:15", + "type": "", + "value": "62" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9757:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "9757:30:15" + }, + "nodeType": "YulExpressionStatement", + "src": "9757:30:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9807:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9818:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9803:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "9803:18:15" + }, + { + "hexValue": "546865206d696e2e20636f6e74722e206c696d6974206e6565647320746f2062", + "kind": "string", + "nodeType": "YulLiteral", + "src": "9823:34:15", + "type": "", + "value": "The min. contr. limit needs to b" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9796:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "9796:62:15" + }, + "nodeType": "YulExpressionStatement", + "src": "9796:62:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9878:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9889:2:15", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9874:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "9874:18:15" + }, + { + "hexValue": "6520736d616c6c6572207468616e20746865206d61782e206c696d69742e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "9894:32:15", + "type": "", + "value": "e smaller than the max. limit." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9867:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "9867:60:15" + }, + "nodeType": "YulExpressionStatement", + "src": "9867:60:15" + }, + { + "nodeType": "YulAssignment", + "src": "9936:27:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9948:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9959:3:15", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9944:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "9944:19:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "9936:4:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_9bfa599205b132513fe40ce547e7e6def8c4cc455992878354af4c6363b32779__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "9694:9:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "9708:4:15", + "type": "" + } + ], + "src": "9543:426:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "10166:74:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "10183:3:15" + }, + { + "hexValue": "6d696e436f6e747269627574696f6e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "10188:17:15", + "type": "", + "value": "minContribution" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "10176:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "10176:30:15" + }, + "nodeType": "YulExpressionStatement", + "src": "10176:30:15" + }, + { + "nodeType": "YulAssignment", + "src": "10215:19:15", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "10226:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10231:2:15", + "type": "", + "value": "15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10222:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "10222:12:15" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "10215:3:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "10150:3:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "10158:3:15", + "type": "" + } + ], + "src": "9974:266:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "10437:72:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "10454:3:15" + }, + { + "hexValue": "64617973546f52657761726473", + "kind": "string", + "nodeType": "YulLiteral", + "src": "10459:15:15", + "type": "", + "value": "daysToRewards" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "10447:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "10447:28:15" + }, + "nodeType": "YulExpressionStatement", + "src": "10447:28:15" + }, + { + "nodeType": "YulAssignment", + "src": "10484:19:15", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "10495:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10500:2:15", + "type": "", + "value": "13" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10491:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "10491:12:15" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "10484:3:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "10421:3:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "10429:3:15", + "type": "" + } + ], + "src": "10245:264:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "10807:118:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "10824:3:15" + }, + { + "hexValue": "636f6e74726163745f61646472657373", + "kind": "string", + "nodeType": "YulLiteral", + "src": "10829:18:15", + "type": "", + "value": "contract_address" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "10817:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "10817:31:15" + }, + "nodeType": "YulExpressionStatement", + "src": "10817:31:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "10868:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10873:2:15", + "type": "", + "value": "16" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10864:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "10864:12:15" + }, + { + "hexValue": "506f6f6c436c69656e74", + "kind": "string", + "nodeType": "YulLiteral", + "src": "10878:12:15", + "type": "", + "value": "PoolClient" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "10857:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "10857:34:15" + }, + "nodeType": "YulExpressionStatement", + "src": "10857:34:15" + }, + { + "nodeType": "YulAssignment", + "src": "10900:19:15", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "10911:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10916:2:15", + "type": "", + "value": "26" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10907:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "10907:12:15" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "10900:3:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_db398badece03775756fae64be2a2ed9aaf2b2ace9c216beb0e483c4a0338aa3__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "10791:3:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "10799:3:15", + "type": "" + } + ], + "src": "10514:411:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "11011:170:15", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "11057:16:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11066:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11069:1:15", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "11059:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "11059:12:15" + }, + "nodeType": "YulExpressionStatement", + "src": "11059:12:15" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "11032:7:15" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "11041:9:15" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "11028:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "11028:23:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11053:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "11024:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "11024:32:15" + }, + "nodeType": "YulIf", + "src": "11021:52:15" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "11082:29:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "11101:9:15" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "11095:5:15" + }, + "nodeType": "YulFunctionCall", + "src": "11095:16:15" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "11086:5:15", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "11145:5:15" + } + ], + "functionName": { + "name": "validator_revert_address", + "nodeType": "YulIdentifier", + "src": "11120:24:15" + }, + "nodeType": "YulFunctionCall", + "src": "11120:31:15" + }, + "nodeType": "YulExpressionStatement", + "src": "11120:31:15" + }, + { + "nodeType": "YulAssignment", + "src": "11160:15:15", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "11170:5:15" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "11160:6:15" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_address_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "10977:9:15", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "10988:7:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "11000:6:15", + "type": "" + } + ], + "src": "10930:251:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "11378:83:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "11395:3:15" + }, + { + "hexValue": "72657761726473496e746572657374506572506572696f64", + "kind": "string", + "nodeType": "YulLiteral", + "src": "11400:26:15", + "type": "", + "value": "rewardsInterestPerPeriod" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "11388:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "11388:39:15" + }, + "nodeType": "YulExpressionStatement", + "src": "11388:39:15" + }, + { + "nodeType": "YulAssignment", + "src": "11436:19:15", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "11447:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11452:2:15", + "type": "", + "value": "24" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11443:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "11443:12:15" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "11436:3:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "11362:3:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "11370:3:15", + "type": "" + } + ], + "src": "11186:275:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "11759:116:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "11776:3:15" + }, + { + "hexValue": "636f6e74726163745f61646472657373", + "kind": "string", + "nodeType": "YulLiteral", + "src": "11781:18:15", + "type": "", + "value": "contract_address" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "11769:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "11769:31:15" + }, + "nodeType": "YulExpressionStatement", + "src": "11769:31:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "11820:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11825:2:15", + "type": "", + "value": "16" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11816:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "11816:12:15" + }, + { + "hexValue": "506f6f6c42617365", + "kind": "string", + "nodeType": "YulLiteral", + "src": "11830:10:15", + "type": "", + "value": "PoolBase" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "11809:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "11809:32:15" + }, + "nodeType": "YulExpressionStatement", + "src": "11809:32:15" + }, + { + "nodeType": "YulAssignment", + "src": "11850:19:15", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "11861:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11866:2:15", + "type": "", + "value": "24" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11857:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "11857:12:15" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "11850:3:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "11743:3:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "11751:3:15", + "type": "" + } + ], + "src": "11466:409:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "12003:135:15", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "12013:26:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "12025:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12036:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "12021:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "12021:18:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "12013:4:15" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "12055:9:15" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "12066:6:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "12048:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "12048:25:15" + }, + "nodeType": "YulExpressionStatement", + "src": "12048:25:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "12093:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12104:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "12089:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "12089:18:15" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "12123:6:15" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "12116:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "12116:14:15" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "12109:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "12109:22:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "12082:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "12082:50:15" + }, + "nodeType": "YulExpressionStatement", + "src": "12082:50:15" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "11964:9:15", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "11975:6:15", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "11983:6:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "11994:4:15", + "type": "" + } + ], + "src": "11880:258:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "12363:163:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "12380:3:15" + }, + { + "hexValue": "65746865725f7374616b65645f62795f75736572", + "kind": "string", + "nodeType": "YulLiteral", + "src": "12385:22:15", + "type": "", + "value": "ether_staked_by_user" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "12373:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "12373:35:15" + }, + "nodeType": "YulExpressionStatement", + "src": "12373:35:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "12428:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12433:2:15", + "type": "", + "value": "20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "12424:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "12424:12:15" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12446:2:15", + "type": "", + "value": "96" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "12450:6:15" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "12442:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "12442:15:15" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12463:26:15", + "type": "", + "value": "0xffffffffffffffffffffffff" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "12459:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "12459:31:15" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "12438:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "12438:53:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "12417:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "12417:75:15" + }, + "nodeType": "YulExpressionStatement", + "src": "12417:75:15" + }, + { + "nodeType": "YulAssignment", + "src": "12501:19:15", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "12512:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12517:2:15", + "type": "", + "value": "40" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "12508:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "12508:12:15" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "12501:3:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_d355f88ceab9b2fcbf3199ee016c1d44cd524b771481c3f28e050cb3cd8e89d0_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "12339:3:15", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "12344:6:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "12355:3:15", + "type": "" + } + ], + "src": "12143:383:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "12579:80:15", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "12606:22:15", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "12608:16:15" + }, + "nodeType": "YulFunctionCall", + "src": "12608:18:15" + }, + "nodeType": "YulExpressionStatement", + "src": "12608:18:15" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "12595:1:15" + }, + { + "arguments": [ + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "12602:1:15" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "12598:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "12598:6:15" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "12592:2:15" + }, + "nodeType": "YulFunctionCall", + "src": "12592:13:15" + }, + "nodeType": "YulIf", + "src": "12589:39:15" + }, + { + "nodeType": "YulAssignment", + "src": "12637:16:15", + "value": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "12648:1:15" + }, + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "12651:1:15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "12644:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "12644:9:15" + }, + "variableNames": [ + { + "name": "sum", + "nodeType": "YulIdentifier", + "src": "12637:3:15" + } + ] + } + ] + }, + "name": "checked_add_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "x", + "nodeType": "YulTypedName", + "src": "12562:1:15", + "type": "" + }, + { + "name": "y", + "nodeType": "YulTypedName", + "src": "12565:1:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "sum", + "nodeType": "YulTypedName", + "src": "12571:3:15", + "type": "" + } + ], + "src": "12531:128:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "12838:230:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "12855:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12866:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "12848:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "12848:21:15" + }, + "nodeType": "YulExpressionStatement", + "src": "12848:21:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "12889:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12900:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "12885:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "12885:18:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12905:2:15", + "type": "", + "value": "40" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "12878:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "12878:30:15" + }, + "nodeType": "YulExpressionStatement", + "src": "12878:30:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "12928:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12939:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "12924:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "12924:18:15" + }, + { + "hexValue": "546865207465616d206e6565647320746f207365742061207265776172642069", + "kind": "string", + "nodeType": "YulLiteral", + "src": "12944:34:15", + "type": "", + "value": "The team needs to set a reward i" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "12917:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "12917:62:15" + }, + "nodeType": "YulExpressionStatement", + "src": "12917:62:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "12999:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13010:2:15", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "12995:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "12995:18:15" + }, + { + "hexValue": "6e74657276616c2e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "13015:10:15", + "type": "", + "value": "nterval." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "12988:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "12988:38:15" + }, + "nodeType": "YulExpressionStatement", + "src": "12988:38:15" + }, + { + "nodeType": "YulAssignment", + "src": "13035:27:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "13047:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13058:3:15", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "13043:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "13043:19:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "13035:4:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_f010fc206434e76995f16ddd63fbbecb124b7157b8b26af4625c4b74913836e2__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "12815:9:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "12829:4:15", + "type": "" + } + ], + "src": "12664:404:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "13247:227:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "13264:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13275:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "13257:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "13257:21:15" + }, + "nodeType": "YulExpressionStatement", + "src": "13257:21:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "13298:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13309:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "13294:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "13294:18:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13314:2:15", + "type": "", + "value": "37" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "13287:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "13287:30:15" + }, + "nodeType": "YulExpressionStatement", + "src": "13287:30:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "13337:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13348:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "13333:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "13333:18:15" + }, + { + "hexValue": "546865207465616d206e6565647320746f207365742061207265776172642072", + "kind": "string", + "nodeType": "YulLiteral", + "src": "13353:34:15", + "type": "", + "value": "The team needs to set a reward r" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "13326:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "13326:62:15" + }, + "nodeType": "YulExpressionStatement", + "src": "13326:62:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "13408:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13419:2:15", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "13404:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "13404:18:15" + }, + { + "hexValue": "6174696f2e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "13424:7:15", + "type": "", + "value": "atio." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "13397:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "13397:35:15" + }, + "nodeType": "YulExpressionStatement", + "src": "13397:35:15" + }, + { + "nodeType": "YulAssignment", + "src": "13441:27:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "13453:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13464:3:15", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "13449:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "13449:19:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "13441:4:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_80e7e51429895e9428064c782e8e47368b34fff0ea170bfe0f000de92e41742c__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "13224:9:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "13238:4:15", + "type": "" + } + ], + "src": "13073:401:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "13653:233:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "13670:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13681:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "13663:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "13663:21:15" + }, + "nodeType": "YulExpressionStatement", + "src": "13663:21:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "13704:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13715:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "13700:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "13700:18:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13720:2:15", + "type": "", + "value": "43" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "13693:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "13693:30:15" + }, + "nodeType": "YulExpressionStatement", + "src": "13693:30:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "13743:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13754:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "13739:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "13739:18:15" + }, + { + "hexValue": "546865207465616d206e6565647320746f20736574206120636f6e7472696275", + "kind": "string", + "nodeType": "YulLiteral", + "src": "13759:34:15", + "type": "", + "value": "The team needs to set a contribu" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "13732:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "13732:62:15" + }, + "nodeType": "YulExpressionStatement", + "src": "13732:62:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "13814:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13825:2:15", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "13810:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "13810:18:15" + }, + { + "hexValue": "74696f6e206c696d69742e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "13830:13:15", + "type": "", + "value": "tion limit." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "13803:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "13803:41:15" + }, + "nodeType": "YulExpressionStatement", + "src": "13803:41:15" + }, + { + "nodeType": "YulAssignment", + "src": "13853:27:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "13865:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13876:3:15", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "13861:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "13861:19:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "13853:4:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_19ad6c976b149899a06f253a5c7ae71e547b11a00cb20a5aadce6eafd514b15c__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "13630:9:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "13644:4:15", + "type": "" + } + ], + "src": "13479:407:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "14065:231:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "14082:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14093:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "14075:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "14075:21:15" + }, + "nodeType": "YulExpressionStatement", + "src": "14075:21:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "14116:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14127:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "14112:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "14112:18:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14132:2:15", + "type": "", + "value": "41" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "14105:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "14105:30:15" + }, + "nodeType": "YulExpressionStatement", + "src": "14105:30:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "14155:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14166:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "14151:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "14151:18:15" + }, + { + "hexValue": "4d61782e2063757272656e7420636f6e747269627574696f6e206c696d697420", + "kind": "string", + "nodeType": "YulLiteral", + "src": "14171:34:15", + "type": "", + "value": "Max. current contribution limit " + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "14144:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "14144:62:15" + }, + "nodeType": "YulExpressionStatement", + "src": "14144:62:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "14226:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14237:2:15", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "14222:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "14222:18:15" + }, + { + "hexValue": "65786365656465642e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "14242:11:15", + "type": "", + "value": "exceeded." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "14215:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "14215:39:15" + }, + "nodeType": "YulExpressionStatement", + "src": "14215:39:15" + }, + { + "nodeType": "YulAssignment", + "src": "14263:27:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "14275:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14286:3:15", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "14271:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "14271:19:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "14263:4:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_9fb3116bf034257f53d100885fe342802b7bf9d79ee87529fdfad6cf247408b2__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "14042:9:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "14056:4:15", + "type": "" + } + ], + "src": "13891:405:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "14475:310:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "14492:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14503:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "14485:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "14485:21:15" + }, + "nodeType": "YulExpressionStatement", + "src": "14485:21:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "14526:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14537:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "14522:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "14522:18:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14542:2:15", + "type": "", + "value": "80" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "14515:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "14515:30:15" + }, + "nodeType": "YulExpressionStatement", + "src": "14515:30:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "14565:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14576:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "14561:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "14561:18:15" + }, + { + "hexValue": "56616c756520746f206465706f736974206e6565647320746f20626520686967", + "kind": "string", + "nodeType": "YulLiteral", + "src": "14581:34:15", + "type": "", + "value": "Value to deposit needs to be hig" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "14554:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "14554:62:15" + }, + "nodeType": "YulExpressionStatement", + "src": "14554:62:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "14636:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14647:2:15", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "14632:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "14632:18:15" + }, + { + "hexValue": "686572207468616e207468652063757272656e74206d696e696d756d20636f6e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "14652:34:15", + "type": "", + "value": "her than the current minimum con" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "14625:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "14625:62:15" + }, + "nodeType": "YulExpressionStatement", + "src": "14625:62:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "14707:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14718:3:15", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "14703:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "14703:19:15" + }, + { + "hexValue": "747269627574696f6e206c696d69742e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "14724:18:15", + "type": "", + "value": "tribution limit." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "14696:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "14696:47:15" + }, + "nodeType": "YulExpressionStatement", + "src": "14696:47:15" + }, + { + "nodeType": "YulAssignment", + "src": "14752:27:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "14764:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14775:3:15", + "type": "", + "value": "160" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "14760:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "14760:19:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "14752:4:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_de7afb02a747890df12ae9117ae05d9a0f544d6e9a59c6692a35fb1b30ac411d__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "14452:9:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "14466:4:15", + "type": "" + } + ], + "src": "14301:484:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "14964:242:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "14981:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14992:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "14974:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "14974:21:15" + }, + "nodeType": "YulExpressionStatement", + "src": "14974:21:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "15015:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15026:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "15011:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "15011:18:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15031:2:15", + "type": "", + "value": "52" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "15004:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "15004:30:15" + }, + "nodeType": "YulExpressionStatement", + "src": "15004:30:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "15054:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15065:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "15050:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "15050:18:15" + }, + { + "hexValue": "4d61782e20506f6f6c2073697a65206f766572666c6f77207769746820746861", + "kind": "string", + "nodeType": "YulLiteral", + "src": "15070:34:15", + "type": "", + "value": "Max. Pool size overflow with tha" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "15043:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "15043:62:15" + }, + "nodeType": "YulExpressionStatement", + "src": "15043:62:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "15125:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15136:2:15", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "15121:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "15121:18:15" + }, + { + "hexValue": "7420616d6f756e74206f66206465706f7369742e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "15141:22:15", + "type": "", + "value": "t amount of deposit." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "15114:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "15114:50:15" + }, + "nodeType": "YulExpressionStatement", + "src": "15114:50:15" + }, + { + "nodeType": "YulAssignment", + "src": "15173:27:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "15185:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15196:3:15", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "15181:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "15181:19:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "15173:4:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_0aca709d1d31a30dd3ccfaa34d0d4a5445deddf0a17f0e432d4d3c0e62a3f388__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "14941:9:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "14955:4:15", + "type": "" + } + ], + "src": "14790:416:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "15403:76:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "15420:3:15" + }, + { + "hexValue": "746f74616c537570706c795f4574686572", + "kind": "string", + "nodeType": "YulLiteral", + "src": "15425:19:15", + "type": "", + "value": "totalSupply_Ether" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "15413:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "15413:32:15" + }, + "nodeType": "YulExpressionStatement", + "src": "15413:32:15" + }, + { + "nodeType": "YulAssignment", + "src": "15454:19:15", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "15465:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15470:2:15", + "type": "", + "value": "17" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "15461:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "15461:12:15" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "15454:3:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_c249c8d0234c73f198edb6911269cabbcb3a87200e5c4a66aae535d12bd6112c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "15387:3:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "15395:3:15", + "type": "" + } + ], + "src": "15211:268:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "15658:182:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "15675:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15686:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "15668:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "15668:21:15" + }, + "nodeType": "YulExpressionStatement", + "src": "15668:21:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "15709:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15720:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "15705:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "15705:18:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15725:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "15698:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "15698:30:15" + }, + "nodeType": "YulExpressionStatement", + "src": "15698:30:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "15748:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15759:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "15744:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "15744:18:15" + }, + { + "hexValue": "496e76616c696420657468657220696e74657265737420696e6a65637465642e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "15764:34:15", + "type": "", + "value": "Invalid ether interest injected." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "15737:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "15737:62:15" + }, + "nodeType": "YulExpressionStatement", + "src": "15737:62:15" + }, + { + "nodeType": "YulAssignment", + "src": "15808:26:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "15820:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15831:2:15", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "15816:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "15816:18:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "15808:4:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_c75f434c4e7b86f1c0d9c954f2d25cfdebc766bb18ad155109871835d37640e8__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "15635:9:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "15649:4:15", + "type": "" + } + ], + "src": "15484:356:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "16037:73:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "16054:3:15" + }, + { + "hexValue": "6c61737452657761726454696d65", + "kind": "string", + "nodeType": "YulLiteral", + "src": "16059:16:15", + "type": "", + "value": "lastRewardTime" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "16047:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "16047:29:15" + }, + "nodeType": "YulExpressionStatement", + "src": "16047:29:15" + }, + { + "nodeType": "YulAssignment", + "src": "16085:19:15", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "16096:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "16101:2:15", + "type": "", + "value": "14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "16092:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "16092:12:15" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "16085:3:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_a8e7474b45c8b24d3fc859e7598de85ce7116a6f79113863771eb36ab9bbbd50__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "16021:3:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "16029:3:15", + "type": "" + } + ], + "src": "15845:265:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "16307:79:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "16324:3:15" + }, + { + "hexValue": "746f74616c52657761726473496e6a6563746564", + "kind": "string", + "nodeType": "YulLiteral", + "src": "16329:22:15", + "type": "", + "value": "totalRewardsInjected" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "16317:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "16317:35:15" + }, + "nodeType": "YulExpressionStatement", + "src": "16317:35:15" + }, + { + "nodeType": "YulAssignment", + "src": "16361:19:15", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "16372:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "16377:2:15", + "type": "", + "value": "20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "16368:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "16368:12:15" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "16361:3:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_3eeb3edc0bd0c927e9a425249e5fad79540544d9a606ca590d27861d0999cf35__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "16291:3:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "16299:3:15", + "type": "" + } + ], + "src": "16115:271:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "16444:205:15", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "16454:10:15", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "16463:1:15", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "i", + "nodeType": "YulTypedName", + "src": "16458:1:15", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "16523:63:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nodeType": "YulIdentifier", + "src": "16548:3:15" + }, + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "16553:1:15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "16544:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "16544:11:15" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "src", + "nodeType": "YulIdentifier", + "src": "16567:3:15" + }, + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "16572:1:15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "16563:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "16563:11:15" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "16557:5:15" + }, + "nodeType": "YulFunctionCall", + "src": "16557:18:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "16537:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "16537:39:15" + }, + "nodeType": "YulExpressionStatement", + "src": "16537:39:15" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "16484:1:15" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "16487:6:15" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "16481:2:15" + }, + "nodeType": "YulFunctionCall", + "src": "16481:13:15" + }, + "nodeType": "YulForLoop", + "post": { + "nodeType": "YulBlock", + "src": "16495:19:15", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "16497:15:15", + "value": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "16506:1:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "16509:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "16502:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "16502:10:15" + }, + "variableNames": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "16497:1:15" + } + ] + } + ] + }, + "pre": { + "nodeType": "YulBlock", + "src": "16477:3:15", + "statements": [] + }, + "src": "16473:113:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "16612:31:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nodeType": "YulIdentifier", + "src": "16625:3:15" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "16630:6:15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "16621:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "16621:16:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "16639:1:15", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "16614:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "16614:27:15" + }, + "nodeType": "YulExpressionStatement", + "src": "16614:27:15" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "16601:1:15" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "16604:6:15" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "16598:2:15" + }, + "nodeType": "YulFunctionCall", + "src": "16598:13:15" + }, + "nodeType": "YulIf", + "src": "16595:48:15" + } + ] + }, + "name": "copy_memory_to_memory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "src", + "nodeType": "YulTypedName", + "src": "16422:3:15", + "type": "" + }, + { + "name": "dst", + "nodeType": "YulTypedName", + "src": "16427:3:15", + "type": "" + }, + { + "name": "length", + "nodeType": "YulTypedName", + "src": "16432:6:15", + "type": "" + } + ], + "src": "16391:258:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "17043:397:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "17060:3:15" + }, + { + "hexValue": "416363657373436f6e74726f6c3a206163636f756e7420", + "kind": "string", + "nodeType": "YulLiteral", + "src": "17065:25:15", + "type": "", + "value": "AccessControl: account " + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "17053:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "17053:38:15" + }, + "nodeType": "YulExpressionStatement", + "src": "17053:38:15" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "17100:27:15", + "value": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "17120:6:15" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "17114:5:15" + }, + "nodeType": "YulFunctionCall", + "src": "17114:13:15" + }, + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "17104:6:15", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "17162:6:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "17170:4:15", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "17158:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "17158:17:15" + }, + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "17181:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "17186:2:15", + "type": "", + "value": "23" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "17177:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "17177:12:15" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "17191:6:15" + } + ], + "functionName": { + "name": "copy_memory_to_memory", + "nodeType": "YulIdentifier", + "src": "17136:21:15" + }, + "nodeType": "YulFunctionCall", + "src": "17136:62:15" + }, + "nodeType": "YulExpressionStatement", + "src": "17136:62:15" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "17207:26:15", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "17221:3:15" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "17226:6:15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "17217:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "17217:16:15" + }, + "variables": [ + { + "name": "_1", + "nodeType": "YulTypedName", + "src": "17211:2:15", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "17253:2:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "17257:2:15", + "type": "", + "value": "23" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "17249:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "17249:11:15" + }, + { + "hexValue": "206973206d697373696e6720726f6c6520", + "kind": "string", + "nodeType": "YulLiteral", + "src": "17262:19:15", + "type": "", + "value": " is missing role " + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "17242:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "17242:40:15" + }, + "nodeType": "YulExpressionStatement", + "src": "17242:40:15" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "17291:29:15", + "value": { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "17313:6:15" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "17307:5:15" + }, + "nodeType": "YulFunctionCall", + "src": "17307:13:15" + }, + "variables": [ + { + "name": "length_1", + "nodeType": "YulTypedName", + "src": "17295:8:15", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "17355:6:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "17363:4:15", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "17351:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "17351:17:15" + }, + { + "arguments": [ + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "17374:2:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "17378:2:15", + "type": "", + "value": "40" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "17370:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "17370:11:15" + }, + { + "name": "length_1", + "nodeType": "YulIdentifier", + "src": "17383:8:15" + } + ], + "functionName": { + "name": "copy_memory_to_memory", + "nodeType": "YulIdentifier", + "src": "17329:21:15" + }, + "nodeType": "YulFunctionCall", + "src": "17329:63:15" + }, + "nodeType": "YulExpressionStatement", + "src": "17329:63:15" + }, + { + "nodeType": "YulAssignment", + "src": "17401:33:15", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "17416:2:15" + }, + { + "name": "length_1", + "nodeType": "YulIdentifier", + "src": "17420:8:15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "17412:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "17412:17:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "17431:2:15", + "type": "", + "value": "40" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "17408:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "17408:26:15" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "17401:3:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874_t_string_memory_ptr_t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "17011:3:15", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "17016:6:15", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "17024:6:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "17035:3:15", + "type": "" + } + ], + "src": "16654:786:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "17566:262:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "17583:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "17594:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "17576:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "17576:21:15" + }, + "nodeType": "YulExpressionStatement", + "src": "17576:21:15" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "17606:27:15", + "value": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "17626:6:15" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "17620:5:15" + }, + "nodeType": "YulFunctionCall", + "src": "17620:13:15" + }, + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "17610:6:15", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "17653:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "17664:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "17649:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "17649:18:15" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "17669:6:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "17642:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "17642:34:15" + }, + "nodeType": "YulExpressionStatement", + "src": "17642:34:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "17711:6:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "17719:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "17707:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "17707:15:15" + }, + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "17728:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "17739:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "17724:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "17724:18:15" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "17744:6:15" + } + ], + "functionName": { + "name": "copy_memory_to_memory", + "nodeType": "YulIdentifier", + "src": "17685:21:15" + }, + "nodeType": "YulFunctionCall", + "src": "17685:66:15" + }, + "nodeType": "YulExpressionStatement", + "src": "17685:66:15" + }, + { + "nodeType": "YulAssignment", + "src": "17760:62:15", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "17776:9:15" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "17795:6:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "17803:2:15", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "17791:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "17791:15:15" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "17812:2:15", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "17808:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "17808:7:15" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "17787:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "17787:29:15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "17772:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "17772:45:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "17819:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "17768:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "17768:54:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "17760:4:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "17535:9:15", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "17546:6:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "17557:4:15", + "type": "" + } + ], + "src": "17445:383:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "18073:195:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "18090:3:15" + }, + { + "hexValue": "636f6e74726163745f61646472657373", + "kind": "string", + "nodeType": "YulLiteral", + "src": "18095:18:15", + "type": "", + "value": "contract_address" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "18083:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "18083:31:15" + }, + "nodeType": "YulExpressionStatement", + "src": "18083:31:15" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "18123:27:15", + "value": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "18143:6:15" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "18137:5:15" + }, + "nodeType": "YulFunctionCall", + "src": "18137:13:15" + }, + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "18127:6:15", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "18185:6:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18193:4:15", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "18181:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "18181:17:15" + }, + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "18204:3:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18209:2:15", + "type": "", + "value": "16" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "18200:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "18200:12:15" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "18214:6:15" + } + ], + "functionName": { + "name": "copy_memory_to_memory", + "nodeType": "YulIdentifier", + "src": "18159:21:15" + }, + "nodeType": "YulFunctionCall", + "src": "18159:62:15" + }, + "nodeType": "YulExpressionStatement", + "src": "18159:62:15" + }, + { + "nodeType": "YulAssignment", + "src": "18230:32:15", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "18245:3:15" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "18250:6:15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "18241:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "18241:16:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18259:2:15", + "type": "", + "value": "16" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "18237:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "18237:25:15" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "18230:3:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "18049:3:15", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "18054:6:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "18065:3:15", + "type": "" + } + ], + "src": "17833:435:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "18447:177:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "18464:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18475:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "18457:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "18457:21:15" + }, + "nodeType": "YulExpressionStatement", + "src": "18457:21:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "18498:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18509:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "18494:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "18494:18:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18514:2:15", + "type": "", + "value": "27" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "18487:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "18487:30:15" + }, + "nodeType": "YulExpressionStatement", + "src": "18487:30:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "18537:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18548:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "18533:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "18533:18:15" + }, + { + "hexValue": "436f6e74726163742061646472657373206e6f7420666f756e642e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "18553:29:15", + "type": "", + "value": "Contract address not found." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "18526:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "18526:57:15" + }, + "nodeType": "YulExpressionStatement", + "src": "18526:57:15" + }, + { + "nodeType": "YulAssignment", + "src": "18592:26:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "18604:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18615:2:15", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "18600:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "18600:18:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "18592:4:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_308638a0d46b73b9203c635ec2b36574c482f0f0b0c13080ce12f9b33ca2d5c6__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "18424:9:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "18438:4:15", + "type": "" + } + ], + "src": "18273:351:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "18661:95:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18678:1:15", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18685:3:15", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18690:10:15", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "18681:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "18681:20:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "18671:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "18671:31:15" + }, + "nodeType": "YulExpressionStatement", + "src": "18671:31:15" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18718:1:15", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18721:4:15", + "type": "", + "value": "0x41" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "18711:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "18711:15:15" + }, + "nodeType": "YulExpressionStatement", + "src": "18711:15:15" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18742:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18745:4:15", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "18735:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "18735:15:15" + }, + "nodeType": "YulExpressionStatement", + "src": "18735:15:15" + } + ] + }, + "name": "panic_error_0x41", + "nodeType": "YulFunctionDefinition", + "src": "18629:127:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "18793:95:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18810:1:15", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18817:3:15", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18822:10:15", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "18813:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "18813:20:15" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "18803:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "18803:31:15" + }, + "nodeType": "YulExpressionStatement", + "src": "18803:31:15" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18850:1:15", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18853:4:15", + "type": "", + "value": "0x32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "18843:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "18843:15:15" + }, + "nodeType": "YulExpressionStatement", + "src": "18843:15:15" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18874:1:15", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18877:4:15", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "18867:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "18867:15:15" + }, + "nodeType": "YulExpressionStatement", + "src": "18867:15:15" + } + ] + }, + "name": "panic_error_0x32", + "nodeType": "YulFunctionDefinition", + "src": "18761:127:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "18940:89:15", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "18967:22:15", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "18969:16:15" + }, + "nodeType": "YulFunctionCall", + "src": "18969:18:15" + }, + "nodeType": "YulExpressionStatement", + "src": "18969:18:15" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "18960:5:15" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "18953:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "18953:13:15" + }, + "nodeType": "YulIf", + "src": "18950:39:15" + }, + { + "nodeType": "YulAssignment", + "src": "18998:25:15", + "value": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "19009:5:15" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "19020:1:15", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "19016:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "19016:6:15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "19005:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "19005:18:15" + }, + "variableNames": [ + { + "name": "ret", + "nodeType": "YulIdentifier", + "src": "18998:3:15" + } + ] + } + ] + }, + "name": "decrement_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "18922:5:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "ret", + "nodeType": "YulTypedName", + "src": "18932:3:15", + "type": "" + } + ], + "src": "18893:136:15" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "19208:182:15", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "19225:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "19236:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "19218:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "19218:21:15" + }, + "nodeType": "YulExpressionStatement", + "src": "19218:21:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "19259:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "19270:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "19255:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "19255:18:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "19275:2:15", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "19248:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "19248:30:15" + }, + "nodeType": "YulExpressionStatement", + "src": "19248:30:15" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "19298:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "19309:2:15", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "19294:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "19294:18:15" + }, + { + "hexValue": "537472696e67733a20686578206c656e67746820696e73756666696369656e74", + "kind": "string", + "nodeType": "YulLiteral", + "src": "19314:34:15", + "type": "", + "value": "Strings: hex length insufficient" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "19287:6:15" + }, + "nodeType": "YulFunctionCall", + "src": "19287:62:15" + }, + "nodeType": "YulExpressionStatement", + "src": "19287:62:15" + }, + { + "nodeType": "YulAssignment", + "src": "19358:26:15", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "19370:9:15" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "19381:2:15", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "19366:3:15" + }, + "nodeType": "YulFunctionCall", + "src": "19366:18:15" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "19358:4:15" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_04fc88320d7c9f639317c75102c103ff0044d3075a5c627e24e76e5bbb2733c2__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "19185:9:15", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "19199:4:15", + "type": "" + } + ], + "src": "19034:356:15" + } + ] + }, + "contents": "{\n { }\n function abi_decode_tuple_t_bytes4(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n if iszero(eq(value, and(value, shl(224, 0xffffffff)))) { revert(0, 0) }\n value0 := value\n }\n function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, iszero(iszero(value0)))\n }\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := calldataload(headStart)\n }\n function abi_decode_tuple_t_bytes32(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := calldataload(headStart)\n }\n function abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function validator_revert_address(value)\n {\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n }\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_address(value)\n value0 := value\n }\n function abi_decode_tuple_t_bytes32t_address(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n value0 := calldataload(headStart)\n let value := calldataload(add(headStart, 32))\n validator_revert_address(value)\n value1 := value\n }\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, sub(shl(160, 1), 1)))\n }\n function validator_revert_bool(value)\n {\n if iszero(eq(value, iszero(iszero(value)))) { revert(0, 0) }\n }\n function abi_decode_tuple_t_bool(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_bool(value)\n value0 := value\n }\n function abi_encode_tuple_packed_t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"poolMaxSize\")\n end := add(pos, 11)\n }\n function abi_decode_tuple_t_uint256_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := mload(headStart)\n }\n function abi_encode_tuple_packed_t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"isPoolLive\")\n end := add(pos, 10)\n }\n function abi_decode_tuple_t_bool_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := mload(headStart)\n validator_revert_bool(value)\n value0 := value\n }\n function abi_encode_tuple_t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 29)\n mstore(add(headStart, 64), \"The pool is currently closed.\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_bytes32_t_uint256__to_t_bytes32_t_uint256__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), value1)\n }\n function abi_encode_tuple_t_stringliteral_90eb27ec9fe4931c246d4a767afde5ebee8d08c2c5cd7adf4ff3a2547356978a__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 53)\n mstore(add(headStart, 64), \"You don't have that amount of to\")\n mstore(add(headStart, 96), \"kens on your account.\")\n tail := add(headStart, 128)\n }\n function panic_error_0x11()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n function checked_sub_t_uint256(x, y) -> diff\n {\n if lt(x, y) { panic_error_0x11() }\n diff := sub(x, y)\n }\n function abi_encode_tuple_t_stringliteral_e0ca9ec09210f9eb759fac6a6589e191f21a42c4e51863e166d749e6aa938d57__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 38)\n mstore(add(headStart, 64), \"Pool size cannot be smaller than\")\n mstore(add(headStart, 96), \" zero.\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_3b245c4f3b2203e747fb2dc59b5a8c9d4c277a57e8b5577622ddc81ae5fceeed__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 28)\n mstore(add(headStart, 64), \"The pool is currently paused\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_ebf73bba305590e4764d5cb53b69bffd6d4d092d1a67551cb346f8cfcdab8619__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 31)\n mstore(add(headStart, 64), \"ReentrancyGuard: reentrant call\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_address_t_address__to_t_address_t_address__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n let _1 := sub(shl(160, 1), 1)\n mstore(headStart, and(value0, _1))\n mstore(add(headStart, 32), and(value1, _1))\n }\n function abi_encode_tuple_t_stringliteral_487e073b8bf2a8e6de00fef6e3b2f0ada7bb15bf28111ae2ad7bc74191d7800a__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 56)\n mstore(add(headStart, 64), \"Reverted: Client lacks allowance\")\n mstore(add(headStart, 96), \" to perform this action.\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_address_t_address_t_uint256__to_t_address_t_address_t_uint256__fromStack_reversed(headStart, value2, value1, value0) -> tail\n {\n tail := add(headStart, 96)\n let _1 := sub(shl(160, 1), 1)\n mstore(headStart, and(value0, _1))\n mstore(add(headStart, 32), and(value1, _1))\n mstore(add(headStart, 64), value2)\n }\n function abi_encode_tuple_packed_t_stringliteral_1f2d52bb921ff8f758e0d04d1f6fb73af2c988187e5aa44799b48cc37bad9ddd__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"totalBurned_rewardEther\")\n end := add(pos, 23)\n }\n function abi_encode_tuple_t_address_t_uint256__to_t_address_t_uint256__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, and(value0, sub(shl(160, 1), 1)))\n mstore(add(headStart, 32), value1)\n }\n function abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), value1)\n }\n function abi_encode_tuple_t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 47)\n mstore(add(headStart, 64), \"AccessControl: can only renounce\")\n mstore(add(headStart, 96), \" roles for self\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_a07a9155f0fee414d04e07326b9b898321366e59564af46f456c915818839e4f__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 27)\n mstore(add(headStart, 64), \"The pool is currently live.\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_packed_t_stringliteral_76edfdb8c3aa82fcf38cdc1a6e283906fb4b4d3155ae9613a513f5862659fb75__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"rewardsToInject\")\n end := add(pos, 15)\n }\n function checked_mul_t_uint256(x, y) -> product\n {\n if and(iszero(iszero(x)), gt(y, div(not(0), x))) { panic_error_0x11() }\n product := mul(x, y)\n }\n function checked_div_t_uint256(x, y) -> r\n {\n if iszero(y)\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x12)\n revert(0, 0x24)\n }\n r := div(x, y)\n }\n function abi_encode_tuple_packed_t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"contributionLimit\")\n end := add(pos, 17)\n }\n function abi_encode_tuple_t_stringliteral_9bfa599205b132513fe40ce547e7e6def8c4cc455992878354af4c6363b32779__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 62)\n mstore(add(headStart, 64), \"The min. contr. limit needs to b\")\n mstore(add(headStart, 96), \"e smaller than the max. limit.\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_packed_t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"minContribution\")\n end := add(pos, 15)\n }\n function abi_encode_tuple_packed_t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"daysToRewards\")\n end := add(pos, 13)\n }\n function abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_db398badece03775756fae64be2a2ed9aaf2b2ace9c216beb0e483c4a0338aa3__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"contract_address\")\n mstore(add(pos, 16), \"PoolClient\")\n end := add(pos, 26)\n }\n function abi_decode_tuple_t_address_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := mload(headStart)\n validator_revert_address(value)\n value0 := value\n }\n function abi_encode_tuple_packed_t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"rewardsInterestPerPeriod\")\n end := add(pos, 24)\n }\n function abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"contract_address\")\n mstore(add(pos, 16), \"PoolBase\")\n end := add(pos, 24)\n }\n function abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), iszero(iszero(value1)))\n }\n function abi_encode_tuple_packed_t_stringliteral_d355f88ceab9b2fcbf3199ee016c1d44cd524b771481c3f28e050cb3cd8e89d0_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed(pos, value0) -> end\n {\n mstore(pos, \"ether_staked_by_user\")\n mstore(add(pos, 20), and(shl(96, value0), not(0xffffffffffffffffffffffff)))\n end := add(pos, 40)\n }\n function checked_add_t_uint256(x, y) -> sum\n {\n if gt(x, not(y)) { panic_error_0x11() }\n sum := add(x, y)\n }\n function abi_encode_tuple_t_stringliteral_f010fc206434e76995f16ddd63fbbecb124b7157b8b26af4625c4b74913836e2__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 40)\n mstore(add(headStart, 64), \"The team needs to set a reward i\")\n mstore(add(headStart, 96), \"nterval.\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_80e7e51429895e9428064c782e8e47368b34fff0ea170bfe0f000de92e41742c__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 37)\n mstore(add(headStart, 64), \"The team needs to set a reward r\")\n mstore(add(headStart, 96), \"atio.\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_19ad6c976b149899a06f253a5c7ae71e547b11a00cb20a5aadce6eafd514b15c__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 43)\n mstore(add(headStart, 64), \"The team needs to set a contribu\")\n mstore(add(headStart, 96), \"tion limit.\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_9fb3116bf034257f53d100885fe342802b7bf9d79ee87529fdfad6cf247408b2__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 41)\n mstore(add(headStart, 64), \"Max. current contribution limit \")\n mstore(add(headStart, 96), \"exceeded.\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_de7afb02a747890df12ae9117ae05d9a0f544d6e9a59c6692a35fb1b30ac411d__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 80)\n mstore(add(headStart, 64), \"Value to deposit needs to be hig\")\n mstore(add(headStart, 96), \"her than the current minimum con\")\n mstore(add(headStart, 128), \"tribution limit.\")\n tail := add(headStart, 160)\n }\n function abi_encode_tuple_t_stringliteral_0aca709d1d31a30dd3ccfaa34d0d4a5445deddf0a17f0e432d4d3c0e62a3f388__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 52)\n mstore(add(headStart, 64), \"Max. Pool size overflow with tha\")\n mstore(add(headStart, 96), \"t amount of deposit.\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_packed_t_stringliteral_c249c8d0234c73f198edb6911269cabbcb3a87200e5c4a66aae535d12bd6112c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"totalSupply_Ether\")\n end := add(pos, 17)\n }\n function abi_encode_tuple_t_stringliteral_c75f434c4e7b86f1c0d9c954f2d25cfdebc766bb18ad155109871835d37640e8__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 32)\n mstore(add(headStart, 64), \"Invalid ether interest injected.\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_packed_t_stringliteral_a8e7474b45c8b24d3fc859e7598de85ce7116a6f79113863771eb36ab9bbbd50__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"lastRewardTime\")\n end := add(pos, 14)\n }\n function abi_encode_tuple_packed_t_stringliteral_3eeb3edc0bd0c927e9a425249e5fad79540544d9a606ca590d27861d0999cf35__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"totalRewardsInjected\")\n end := add(pos, 20)\n }\n function copy_memory_to_memory(src, dst, length)\n {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n if gt(i, length) { mstore(add(dst, length), 0) }\n }\n function abi_encode_tuple_packed_t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874_t_string_memory_ptr_t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos, value1, value0) -> end\n {\n mstore(pos, \"AccessControl: account \")\n let length := mload(value0)\n copy_memory_to_memory(add(value0, 0x20), add(pos, 23), length)\n let _1 := add(pos, length)\n mstore(add(_1, 23), \" is missing role \")\n let length_1 := mload(value1)\n copy_memory_to_memory(add(value1, 0x20), add(_1, 40), length_1)\n end := add(add(_1, length_1), 40)\n }\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n mstore(headStart, 32)\n let length := mload(value0)\n mstore(add(headStart, 32), length)\n copy_memory_to_memory(add(value0, 32), add(headStart, 64), length)\n tail := add(add(headStart, and(add(length, 31), not(31))), 64)\n }\n function abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos, value0) -> end\n {\n mstore(pos, \"contract_address\")\n let length := mload(value0)\n copy_memory_to_memory(add(value0, 0x20), add(pos, 16), length)\n end := add(add(pos, length), 16)\n }\n function abi_encode_tuple_t_stringliteral_308638a0d46b73b9203c635ec2b36574c482f0f0b0c13080ce12f9b33ca2d5c6__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 27)\n mstore(add(headStart, 64), \"Contract address not found.\")\n tail := add(headStart, 96)\n }\n function panic_error_0x41()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n function panic_error_0x32()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x32)\n revert(0, 0x24)\n }\n function decrement_t_uint256(value) -> ret\n {\n if iszero(value) { panic_error_0x11() }\n ret := add(value, not(0))\n }\n function abi_encode_tuple_t_stringliteral_04fc88320d7c9f639317c75102c103ff0044d3075a5c627e24e76e5bbb2733c2__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 32)\n mstore(add(headStart, 64), \"Strings: hex length insufficient\")\n tail := add(headStart, 96)\n }\n}", + "id": 15, + "language": "Yul", + "name": "#utility.yul" + } + ], + "immutableReferences": {}, + "linkReferences": {}, + "object": "6080604052600436106101c25760003560e01c806362308e85116100f75780639ed03ab611610095578063d0e30db011610064578063d0e30db0146104c8578063d547741f146104d0578063ee7d4d2b146104f0578063fa1e19e5146104f857600080fd5b80639ed03ab61461045e578063a217fddf14610473578063a497551614610488578063bf4c0036146104a857600080fd5b806372d099a0116100d157806372d099a0146103f45780637521796f146104145780638ae681341461042957806391d148541461043e57600080fd5b806362308e85146103905780636c426607146103b25780636cff7473146103df57600080fd5b80632f2ff15d1161016457806345077e711161013e57806345077e711461031b578063473b0d461461033b578063497d02411461035b57806353710f491461037057600080fd5b80632f2ff15d146102c657806336568abe146102e65780633e50de301461030657600080fd5b8063217ac237116101a0578063217ac23714610241578063248a9ca31461025657806329ca15bc146102865780632e1a7d4d146102a657600080fd5b806301ffc9a7146101c7578063095df57f146101fc578063126469871461021f575b600080fd5b3480156101d357600080fd5b506101e76101e2366004613038565b61050d565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b50610211610544565b6040519081526020016101f3565b34801561022b57600080fd5b5061023f61023a366004613062565b610601565b005b34801561024d57600080fd5b506101e7610788565b34801561026257600080fd5b50610211610271366004613062565b60009081526020819052604090206001015490565b34801561029257600080fd5b5061023f6102a1366004613093565b61082d565b3480156102b257600080fd5b5061023f6102c1366004613062565b610889565b3480156102d257600080fd5b5061023f6102e13660046130b0565b611071565b3480156102f257600080fd5b5061023f6103013660046130b0565b61109c565b34801561031257600080fd5b5061023f61111a565b34801561032757600080fd5b5061023f610336366004613093565b61139b565b34801561034757600080fd5b5061023f610356366004613062565b6113f7565b34801561036757600080fd5b5061021161169f565b34801561037c57600080fd5b5061023f61038b366004613062565b6116c5565b34801561039c57600080fd5b5061021160008051602061338583398151915281565b3480156103be57600080fd5b506103c76117c7565b6040516001600160a01b0390911681526020016101f3565b3480156103eb57600080fd5b506102116118a2565b34801561040057600080fd5b5061023f61040f366004613062565b6118ca565b34801561042057600080fd5b506102116119d0565b34801561043557600080fd5b506103c7611a01565b34801561044a57600080fd5b506101e76104593660046130b0565b611a3b565b34801561046a57600080fd5b50610211611a64565b34801561047f57600080fd5b50610211600081565b34801561049457600080fd5b5061023f6104a33660046130ee565b611b3a565b3480156104b457600080fd5b5061023f6104c3366004613062565b611bb4565b61023f611cc1565b3480156104dc57600080fd5b5061023f6104eb3660046130b0565b6126ec565b61023f612712565b34801561050457600080fd5b50610211612b9c565b60006001600160e01b03198216637965db0b60e01b148061053e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b600080604051602001610568906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b1580156105c357600080fd5b505afa1580156105d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fb919061310b565b91505090565b60008051602061338583398151915261061a8133612bc6565b6002546040516001600160a01b03909116906355d946559061063e90602001613124565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161067291815260200190565b60206040518083038186803b15801561068a57600080fd5b505afa15801561069e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c2919061313a565b156106e85760405162461bcd60e51b81526004016106df90613157565b60405180910390fd5b6040516a706f6f6c4d617853697a6560a81b6020820152600090602b015b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018690529092506001600160a01b0316906328192c55906044015b600060405180830381600087803b15801561076b57600080fd5b505af115801561077f573d6000803e3d6000fd5b50505050505050565b60008060405160200161079a90613124565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b1580156107f557600080fd5b505afa158015610809573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fb919061313a565b60006108398133612bc6565b610851600080516020613385833981519152836126ec565b6040516001600160a01b038316907fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd3190600090a25050565b8060006108b660405180604001604052806009815260200168141bdbdb15985d5b1d60ba1b815250612c2a565b905060006108e56040518060400160405280600a815260200169393ba2aa242a37b5b2b760b11b815250612c2a565b905060006040516020016108f890613124565b60408051601f198184030181529082905280516020909101206370a0823160e01b8252336004830152915084906001600160a01b038416906370a082319060240160206040518083038186803b15801561095157600080fd5b505afa158015610965573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610989919061310b565b10156109f55760405162461bcd60e51b815260206004820152603560248201527f596f7520646f6e27742068617665207468617420616d6f756e74206f6620746f60448201527435b2b7399037b7103cb7bab91030b1b1b7bab73a1760591b60648201526084016106df565b6040516312946fe160e01b8152600481018590526000906001600160a01b038416906312946fe19060240160206040518083038186803b158015610a3857600080fd5b505afa158015610a4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a70919061310b565b846001600160a01b031663ccfe0c8e6040518163ffffffff1660e01b815260040160206040518083038186803b158015610aa957600080fd5b505afa158015610abd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae1919061310b565b610aeb91906131a4565b1015610b485760405162461bcd60e51b815260206004820152602660248201527f506f6f6c2073697a652063616e6e6f7420626520736d616c6c6572207468616e604482015265103d32b9379760d11b60648201526084016106df565b6002546040516355d9465560e01b8152600481018390526001600160a01b03909116906355d946559060240160206040518083038186803b158015610b8c57600080fd5b505afa158015610ba0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc4919061313a565b610c105760405162461bcd60e51b815260206004820152601c60248201527f54686520706f6f6c2069732063757272656e746c79207061757365640000000060448201526064016106df565b60026001541415610c635760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106df565b600260015560408051808201909152600a815269393ba2aa242a37b5b2b760b11b6020820152600090610c9590612c2a565b90506000610cc360405180604001604052806009815260200168141bdbdb15985d5b1d60ba1b815250612c2a565b604051636eb1769f60e11b815233600482015230602482015290915087906001600160a01b0384169063dd62ed3e9060440160206040518083038186803b158015610d0d57600080fd5b505afa158015610d21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d45919061310b565b1015610db95760405162461bcd60e51b815260206004820152603860248201527f52657665727465643a20436c69656e74206c61636b7320616c6c6f77616e636560448201527f20746f20706572666f726d207468697320616374696f6e2e000000000000000060648201526084016106df565b6040516323b872dd60e01b8152336004820152306024820152604481018890526001600160a01b038316906323b872dd90606401602060405180830381600087803b158015610e0757600080fd5b505af1158015610e1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3f919061313a565b506040516312946fe160e01b8152600481018890526000906001600160a01b038416906312946fe19060240160206040518083038186803b158015610e8357600080fd5b505afa158015610e97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ebb919061310b565b604051630852cd8d60e31b8152600481018a90529091506001600160a01b038416906342966c6890602401600060405180830381600087803b158015610f0057600080fd5b505af1158015610f14573d6000803e3d6000fd5b505050506000604051602001610f4d907f746f74616c4275726e65645f7265776172644574686572000000000000000000815260170190565b60408051808303601f1901815290829052805160209091012060025462ec44af60e51b835260048301829052602483018c90529092506001600160a01b031690631d8895e090604401600060405180830381600087803b158015610fb057600080fd5b505af1158015610fc4573d6000803e3d6000fd5b505060405163522f681560e01b8152336004820152602481018590526001600160a01b038616925063522f68159150604401600060405180830381600087803b15801561101057600080fd5b505af1158015611024573d6000803e3d6000fd5b5050604080518581524260208201523393507f91405db2584f6e8463494f0e18c40f87fe3146322d19c494e8a0e0a039c3886992500160405180910390a250506001805550505050505050565b60008281526020819052604090206001015461108d8133612bc6565b6110978383612d2e565b505050565b6001600160a01b038116331461110c5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016106df565b6111168282612db2565b5050565b6000805160206133858339815191526111338133612bc6565b600060405160200161114490613124565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561119f57600080fd5b505afa1580156111b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d7919061313a565b156112245760405162461bcd60e51b815260206004820152601b60248201527f54686520706f6f6c2069732063757272656e746c79206c6976652e000000000060448201526064016106df565b60006112546040518060400160405280600d81526020016c546f6b656e42616c616e63657360981b815250612c2a565b9050600060405160200161127d906e1c995dd85c991cd51bd25b9a9958dd608a1b8152600f0190565b604051602081830303815290604052805190602001209050600061129f6119d0565b90506000620f424082856001600160a01b03166370959ff86040518163ffffffff1660e01b815260040160206040518083038186803b1580156112e157600080fd5b505afa1580156112f5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611319919061310b565b61132391906131bb565b61132d91906131da565b6002546040516328192c5560e01b815260048101869052602481018390529192506001600160a01b0316906328192c5590604401600060405180830381600087803b15801561137b57600080fd5b505af115801561138f573d6000803e3d6000fd5b50505050505050505050565b60006113a78133612bc6565b6113bf60008051602061338583398151915283611071565b6040516001600160a01b038316907fd873e3f571dc25e020cefdeb7255b3874ead3aade1f94a5fb4a5da831fd670cd90600090a25050565b6000805160206133858339815191526114108133612bc6565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b602082015260009060310160408051601f198184030181529082905280516020918201206002549093506001600160a01b0316916355d946559161146c9101613124565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b81526004016114a091815260200190565b60206040518083038186803b1580156114b857600080fd5b505afa1580156114cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f0919061313a565b1561150d5760405162461bcd60e51b81526004016106df90613157565b60025460405163afc3602b60e01b81526004810183905284916001600160a01b03169063afc3602b9060240160206040518083038186803b15801561155157600080fd5b505afa158015611565573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611589919061310b565b116115fc5760405162461bcd60e51b815260206004820152603e60248201527f546865206d696e2e20636f6e74722e206c696d6974206e6565647320746f206260448201527f6520736d616c6c6572207468616e20746865206d61782e206c696d69742e000060648201526084016106df565b6040516e36b4b721b7b73a3934b13aba34b7b760891b6020820152600090602f0160408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018790529092506001600160a01b0316906328192c5590604401600060405180830381600087803b15801561168157600080fd5b505af1158015611695573d6000803e3d6000fd5b5050505050505050565b600080604051602001610568906c64617973546f5265776172647360981b8152600d0190565b6000805160206133858339815191526116de8133612bc6565b6002546040516001600160a01b03909116906355d946559061170290602001613124565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161173691815260200190565b60206040518083038186803b15801561174e57600080fd5b505afa158015611762573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611786919061313a565b156117a35760405162461bcd60e51b81526004016106df90613157565b6040516c64617973546f5265776172647360981b6020820152600090602d01610706565b600080604051602001611803906f636f6e74726163745f6164647265737360801b815269141bdbdb10db1a595b9d60b21b6010820152601a0190565b60408051808303601f190181529082905280516020909101206002546315485dd960e11b8352600483018290529092506000916001600160a01b0390911690632a90bbb29060240160206040518083038186803b15801561186357600080fd5b505afa158015611877573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061189b91906131fc565b9392505050565b600080604051602001610568906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b6000805160206133858339815191526118e38133612bc6565b6002546040516001600160a01b03909116906355d946559061190790602001613124565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161193b91815260200190565b60206040518083038186803b15801561195357600080fd5b505afa158015611967573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061198b919061313a565b156119a85760405162461bcd60e51b81526004016106df90613157565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b6020820152600090603101610706565b60008060405160200161056890771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b600080604051602001611803906f636f6e74726163745f6164647265737360801b815267506f6f6c4261736560c01b601082015260180190565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6000600080516020613385833981519152611a7f8133612bc6565b6040516e1c995dd85c991cd51bd25b9a9958dd608a1b6020820152600090602f0160408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b158015611afb57600080fd5b505afa158015611b0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b33919061310b565b9250505090565b600080516020613385833981519152611b538133612bc6565b6000604051602001611b6490613124565b60408051808303601f1901815290829052805160209091012060025463988c515b60e01b83526004830182905285151560248401529092506001600160a01b03169063988c515b90604401610751565b600080516020613385833981519152611bcd8133612bc6565b6002546040516001600160a01b03909116906355d9465590611bf190602001613124565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401611c2591815260200190565b60206040518083038186803b158015611c3d57600080fd5b505afa158015611c51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c75919061313a565b15611c925760405162461bcd60e51b81526004016106df90613157565b604051771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b6020820152600090603801610706565b6000611ced60405180604001604052806009815260200168141bdbdb15985d5b1d60ba1b815250612c2a565b90506000604051602001611d0090613124565b6040516020818303038152906040528051906020012090506000604051602001611d3d906c64617973546f5265776172647360981b8152600d0190565b6040516020818303038152906040528051906020012090506000604051602001611d8590771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b6040516020818303038152906040528051906020012090506000604051602001611dc6907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b6040516020818303038152906040528051906020012090506000604051602001611e05906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b6040516020818303038152906040528051906020012090506000604051602001611e40906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051601f198184030181529082905280516020918201207332ba3432b92fb9ba30b5b2b22fb13cafbab9b2b960611b918301919091526bffffffffffffffffffffffff193360601b166034830152915060009060480160408051808303601f1901815290829052805160209091012060025463afc3602b60e01b83526004830182905290925060009134916001600160a01b03169063afc3602b9060240160206040518083038186803b158015611ef857600080fd5b505afa158015611f0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f30919061310b565b611f3a9190613219565b60025460405163afc3602b60e01b8152600481018a90529192506001600160a01b03169063afc3602b9060240160206040518083038186803b158015611f7f57600080fd5b505afa158015611f93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fb7919061310b565b6120145760405162461bcd60e51b815260206004820152602860248201527f546865207465616d206e6565647320746f207365742061207265776172642069604482015267373a32b93b30b61760c11b60648201526084016106df565b60025460405163afc3602b60e01b8152600481018890526001600160a01b039091169063afc3602b9060240160206040518083038186803b15801561205857600080fd5b505afa15801561206c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612090919061310b565b6120ea5760405162461bcd60e51b815260206004820152602560248201527f546865207465616d206e6565647320746f20736574206120726577617264207260448201526430ba34b79760d91b60648201526084016106df565b60025460405163afc3602b60e01b8152600481018790526001600160a01b039091169063afc3602b9060240160206040518083038186803b15801561212e57600080fd5b505afa158015612142573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612166919061310b565b6121c65760405162461bcd60e51b815260206004820152602b60248201527f546865207465616d206e6565647320746f20736574206120636f6e747269627560448201526a3a34b7b7103634b6b4ba1760a91b60648201526084016106df565b60025460405163afc3602b60e01b8152600481018790526001600160a01b039091169063afc3602b9060240160206040518083038186803b15801561220a57600080fd5b505afa15801561221e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612242919061310b565b8111156122a35760405162461bcd60e51b815260206004820152602960248201527f4d61782e2063757272656e7420636f6e747269627574696f6e206c696d69742060448201526832bc31b2b2b232b21760b91b60648201526084016106df565b60025460405163afc3602b60e01b81526004810186905234916001600160a01b03169063afc3602b9060240160206040518083038186803b1580156122e757600080fd5b505afa1580156122fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061231f919061310b565b11156123ac5760405162461bcd60e51b815260206004820152605060248201527f56616c756520746f206465706f736974206e6565647320746f2062652068696760448201527f686572207468616e207468652063757272656e74206d696e696d756d20636f6e60648201526f3a3934b13aba34b7b7103634b6b4ba1760811b608482015260a4016106df565b60025460405163afc3602b60e01b8152600481018590526001600160a01b039091169063afc3602b9060240160206040518083038186803b1580156123f057600080fd5b505afa158015612404573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612428919061310b565b348a6001600160a01b031663ccfe0c8e6040518163ffffffff1660e01b815260040160206040518083038186803b15801561246257600080fd5b505afa158015612476573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061249a919061310b565b6124a49190613219565b111561250f5760405162461bcd60e51b815260206004820152603460248201527f4d61782e20506f6f6c2073697a65206f766572666c6f772077697468207468616044820152733a1030b6b7bab73a1037b3103232b837b9b4ba1760611b60648201526084016106df565b600260015414156125625760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106df565b600260015560408051808201909152600a815269393ba2aa242a37b5b2b760b11b602082015260009061259490612c2a565b6040516340c10f1960e01b81523360048201523460248201529091506001600160a01b038216906340c10f1990604401600060405180830381600087803b1580156125de57600080fd5b505af11580156125f2573d6000803e3d6000fd5b50505050600060405160200161261f90703a37ba30b629bab838363cafa2ba3432b960791b815260110190565b60408051808303601f1901815290829052805160209091012060025462ec44af60e51b8352600483018290523460248401529092506001600160a01b031690631d8895e090604401600060405180830381600087803b15801561268157600080fd5b505af1158015612695573d6000803e3d6000fd5b5050604080513481524260208201523393507f91405db2584f6e8463494f0e18c40f87fe3146322d19c494e8a0e0a039c3886992500160405180910390a26126db612e17565b505060018055505050505050505050565b6000828152602081905260409020600101546127088133612bc6565b6110978383612db2565b60008051602061338583398151915261272b8133612bc6565b600060405160200161273c90613124565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561279757600080fd5b505afa1580156127ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127cf919061313a565b1561281c5760405162461bcd60e51b815260206004820152601b60248201527f54686520706f6f6c2069732063757272656e746c79206c6976652e000000000060448201526064016106df565b612824611a64565b34146128725760405162461bcd60e51b815260206004820181905260248201527f496e76616c696420657468657220696e74657265737420696e6a65637465642e60448201526064016106df565b600061289e60405180604001604052806009815260200168141bdbdb15985d5b1d60ba1b815250612c2a565b905060006040516020016128c6906d6c61737452657761726454696d6560901b8152600e0190565b604051602081830303815290604052805190602001209050600060405160200161290a90731d1bdd185b14995dd85c991cd25b9a9958dd195960621b815260140190565b604051602081830303815290604052805190602001209050600060405160200161294b90703a37ba30b629bab838363cafa2ba3432b960791b815260110190565b60408051808303601f190181529082905280516020909101206002546328192c5560e01b8352600483018690524260248401529092506001600160a01b0316906328192c5590604401600060405180830381600087803b1580156129ae57600080fd5b505af11580156129c2573d6000803e3d6000fd5b505060025460405162ec44af60e51b8152600481018690523460248201526001600160a01b039091169250631d8895e09150604401600060405180830381600087803b158015612a1157600080fd5b505af1158015612a25573d6000803e3d6000fd5b505060025460405162ec44af60e51b8152600481018590523460248201526001600160a01b039091169250631d8895e09150604401600060405180830381600087803b158015612a7457600080fd5b505af1158015612a88573d6000803e3d6000fd5b50505050836001600160a01b031663f9fc0d07346040518263ffffffff1660e01b81526004016000604051808303818588803b158015612ac757600080fd5b505af1158015612adb573d6000803e3d6000fd5b505060025460405163afc3602b60e01b8152600481018890527f70bf248e27883b1a6af8a9d590cc2b58fa0d74b60c83a9bb5e12de0f9b3ddfc694506001600160a01b03909116925063afc3602b915060240160206040518083038186803b158015612b4657600080fd5b505afa158015612b5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b7e919061310b565b604080519182523460208301520160405180910390a1505050505050565b600080604051602001610568907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b612bd08282611a3b565b61111657612be8816001600160a01b03166014612e9c565b612bf3836020612e9c565b604051602001612c04929190613261565b60408051601f198184030181529082905262461bcd60e51b82526106df916004016132d6565b60008082604051602001612c3e9190613309565b60408051808303601f190181529082905280516020909101206002546315485dd960e11b8352600483018290529092506000916001600160a01b0390911690632a90bbb29060240160206040518083038186803b158015612c9e57600080fd5b505afa158015612cb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cd691906131fc565b90506001600160a01b03811661189b5760405162461bcd60e51b815260206004820152601b60248201527f436f6e74726163742061646472657373206e6f7420666f756e642e000000000060448201526064016106df565b612d388282611a3b565b611116576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055612d6e3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b612dbc8282611a3b565b15611116576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000612e4360405180604001604052806009815260200168141bdbdb15985d5b1d60ba1b815250612c2a565b9050806001600160a01b031663a7cc190a346040518263ffffffff1660e01b81526004016000604051808303818588803b158015612e8057600080fd5b505af1158015612e94573d6000803e3d6000fd5b505050505050565b60606000612eab8360026131bb565b612eb6906002613219565b67ffffffffffffffff811115612ece57612ece613341565b6040519080825280601f01601f191660200182016040528015612ef8576020820181803683370190505b509050600360fc1b81600081518110612f1357612f13613357565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612f4257612f42613357565b60200101906001600160f81b031916908160001a9053506000612f668460026131bb565b612f71906001613219565b90505b6001811115612fe9576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612fa557612fa5613357565b1a60f81b828281518110612fbb57612fbb613357565b60200101906001600160f81b031916908160001a90535060049490941c93612fe28161336d565b9050612f74565b50831561189b5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016106df565b60006020828403121561304a57600080fd5b81356001600160e01b03198116811461189b57600080fd5b60006020828403121561307457600080fd5b5035919050565b6001600160a01b038116811461309057600080fd5b50565b6000602082840312156130a557600080fd5b813561189b8161307b565b600080604083850312156130c357600080fd5b8235915060208301356130d58161307b565b809150509250929050565b801515811461309057600080fd5b60006020828403121561310057600080fd5b813561189b816130e0565b60006020828403121561311d57600080fd5b5051919050565b696973506f6f6c4c69766560b01b8152600a0190565b60006020828403121561314c57600080fd5b815161189b816130e0565b6020808252601d908201527f54686520706f6f6c2069732063757272656e746c7920636c6f7365642e000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000828210156131b6576131b661318e565b500390565b60008160001904831182151516156131d5576131d561318e565b500290565b6000826131f757634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561320e57600080fd5b815161189b8161307b565b6000821982111561322c5761322c61318e565b500190565b60005b8381101561324c578181015183820152602001613234565b8381111561325b576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613299816017850160208801613231565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516132ca816028840160208801613231565b01602801949350505050565b60208152600082518060208401526132f5816040850160208701613231565b601f01601f19169190910160400192915050565b6f636f6e74726163745f6164647265737360801b815260008251613334816010850160208701613231565b9190910160100192915050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008161337c5761337c61318e565b50600019019056fe41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842a26469706673582212208f9088fbb5005bb41246c55603dc402be7376da1aabfedb5a147dfa61b40fcc464736f6c63430008090033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x1C2 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x62308E85 GT PUSH2 0xF7 JUMPI DUP1 PUSH4 0x9ED03AB6 GT PUSH2 0x95 JUMPI DUP1 PUSH4 0xD0E30DB0 GT PUSH2 0x64 JUMPI DUP1 PUSH4 0xD0E30DB0 EQ PUSH2 0x4C8 JUMPI DUP1 PUSH4 0xD547741F EQ PUSH2 0x4D0 JUMPI DUP1 PUSH4 0xEE7D4D2B EQ PUSH2 0x4F0 JUMPI DUP1 PUSH4 0xFA1E19E5 EQ PUSH2 0x4F8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x9ED03AB6 EQ PUSH2 0x45E JUMPI DUP1 PUSH4 0xA217FDDF EQ PUSH2 0x473 JUMPI DUP1 PUSH4 0xA4975516 EQ PUSH2 0x488 JUMPI DUP1 PUSH4 0xBF4C0036 EQ PUSH2 0x4A8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x72D099A0 GT PUSH2 0xD1 JUMPI DUP1 PUSH4 0x72D099A0 EQ PUSH2 0x3F4 JUMPI DUP1 PUSH4 0x7521796F EQ PUSH2 0x414 JUMPI DUP1 PUSH4 0x8AE68134 EQ PUSH2 0x429 JUMPI DUP1 PUSH4 0x91D14854 EQ PUSH2 0x43E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x62308E85 EQ PUSH2 0x390 JUMPI DUP1 PUSH4 0x6C426607 EQ PUSH2 0x3B2 JUMPI DUP1 PUSH4 0x6CFF7473 EQ PUSH2 0x3DF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x2F2FF15D GT PUSH2 0x164 JUMPI DUP1 PUSH4 0x45077E71 GT PUSH2 0x13E JUMPI DUP1 PUSH4 0x45077E71 EQ PUSH2 0x31B JUMPI DUP1 PUSH4 0x473B0D46 EQ PUSH2 0x33B JUMPI DUP1 PUSH4 0x497D0241 EQ PUSH2 0x35B JUMPI DUP1 PUSH4 0x53710F49 EQ PUSH2 0x370 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x2F2FF15D EQ PUSH2 0x2C6 JUMPI DUP1 PUSH4 0x36568ABE EQ PUSH2 0x2E6 JUMPI DUP1 PUSH4 0x3E50DE30 EQ PUSH2 0x306 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x217AC237 GT PUSH2 0x1A0 JUMPI DUP1 PUSH4 0x217AC237 EQ PUSH2 0x241 JUMPI DUP1 PUSH4 0x248A9CA3 EQ PUSH2 0x256 JUMPI DUP1 PUSH4 0x29CA15BC EQ PUSH2 0x286 JUMPI DUP1 PUSH4 0x2E1A7D4D EQ PUSH2 0x2A6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x1C7 JUMPI DUP1 PUSH4 0x95DF57F EQ PUSH2 0x1FC JUMPI DUP1 PUSH4 0x12646987 EQ PUSH2 0x21F JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x1D3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1E7 PUSH2 0x1E2 CALLDATASIZE PUSH1 0x4 PUSH2 0x3038 JUMP JUMPDEST PUSH2 0x50D JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x208 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x211 PUSH2 0x544 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1F3 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x22B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x23F PUSH2 0x23A CALLDATASIZE PUSH1 0x4 PUSH2 0x3062 JUMP JUMPDEST PUSH2 0x601 JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x24D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1E7 PUSH2 0x788 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x262 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x211 PUSH2 0x271 CALLDATASIZE PUSH1 0x4 PUSH2 0x3062 JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD SWAP1 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x292 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x23F PUSH2 0x2A1 CALLDATASIZE PUSH1 0x4 PUSH2 0x3093 JUMP JUMPDEST PUSH2 0x82D JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x2B2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x23F PUSH2 0x2C1 CALLDATASIZE PUSH1 0x4 PUSH2 0x3062 JUMP JUMPDEST PUSH2 0x889 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x2D2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x23F PUSH2 0x2E1 CALLDATASIZE PUSH1 0x4 PUSH2 0x30B0 JUMP JUMPDEST PUSH2 0x1071 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x2F2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x23F PUSH2 0x301 CALLDATASIZE PUSH1 0x4 PUSH2 0x30B0 JUMP JUMPDEST PUSH2 0x109C JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x312 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x23F PUSH2 0x111A JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x327 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x23F PUSH2 0x336 CALLDATASIZE PUSH1 0x4 PUSH2 0x3093 JUMP JUMPDEST PUSH2 0x139B JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x347 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x23F PUSH2 0x356 CALLDATASIZE PUSH1 0x4 PUSH2 0x3062 JUMP JUMPDEST PUSH2 0x13F7 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x367 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x211 PUSH2 0x169F JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x37C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x23F PUSH2 0x38B CALLDATASIZE PUSH1 0x4 PUSH2 0x3062 JUMP JUMPDEST PUSH2 0x16C5 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x39C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x211 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3385 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x3BE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x3C7 PUSH2 0x17C7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1F3 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x3EB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x211 PUSH2 0x18A2 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x400 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x23F PUSH2 0x40F CALLDATASIZE PUSH1 0x4 PUSH2 0x3062 JUMP JUMPDEST PUSH2 0x18CA JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x420 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x211 PUSH2 0x19D0 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x435 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x3C7 PUSH2 0x1A01 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x44A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1E7 PUSH2 0x459 CALLDATASIZE PUSH1 0x4 PUSH2 0x30B0 JUMP JUMPDEST PUSH2 0x1A3B JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x46A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x211 PUSH2 0x1A64 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x47F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x211 PUSH1 0x0 DUP2 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x494 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x23F PUSH2 0x4A3 CALLDATASIZE PUSH1 0x4 PUSH2 0x30EE JUMP JUMPDEST PUSH2 0x1B3A JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x4B4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x23F PUSH2 0x4C3 CALLDATASIZE PUSH1 0x4 PUSH2 0x3062 JUMP JUMPDEST PUSH2 0x1BB4 JUMP JUMPDEST PUSH2 0x23F PUSH2 0x1CC1 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x4DC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x23F PUSH2 0x4EB CALLDATASIZE PUSH1 0x4 PUSH2 0x30B0 JUMP JUMPDEST PUSH2 0x26EC JUMP JUMPDEST PUSH2 0x23F PUSH2 0x2712 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x504 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x211 PUSH2 0x2B9C JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH4 0x7965DB0B PUSH1 0xE0 SHL EQ DUP1 PUSH2 0x53E JUMPI POP PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP4 AND EQ JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x568 SWAP1 PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL DUP2 MSTORE PUSH1 0xB ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x5C3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x5D7 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x5FB SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3385 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x61A DUP2 CALLER PUSH2 0x2BC6 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x63E SWAP1 PUSH1 0x20 ADD PUSH2 0x3124 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x672 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x68A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x69E JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x6C2 SWAP2 SWAP1 PUSH2 0x313A JUMP JUMPDEST ISZERO PUSH2 0x6E8 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6DF SWAP1 PUSH2 0x3157 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2B ADD JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP7 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x76B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x77F JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x79A SWAP1 PUSH2 0x3124 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x55D94655 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x7F5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x809 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x5FB SWAP2 SWAP1 PUSH2 0x313A JUMP JUMPDEST PUSH1 0x0 PUSH2 0x839 DUP2 CALLER PUSH2 0x2BC6 JUMP JUMPDEST PUSH2 0x851 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3385 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0x26EC JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xEF69F7D97228658C92417BE1B16B19058315DE71FECB435D07B7D23728B6BD31 SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST DUP1 PUSH1 0x0 PUSH2 0x8B6 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x9 DUP2 MSTORE PUSH1 0x20 ADD PUSH9 0x141BDBDB15985D5B1D PUSH1 0xBA SHL DUP2 MSTORE POP PUSH2 0x2C2A JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0x8E5 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0xA DUP2 MSTORE PUSH1 0x20 ADD PUSH10 0x393BA2AA242A37B5B2B7 PUSH1 0xB1 SHL DUP2 MSTORE POP PUSH2 0x2C2A JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x8F8 SWAP1 PUSH2 0x3124 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH4 0x70A08231 PUSH1 0xE0 SHL DUP3 MSTORE CALLER PUSH1 0x4 DUP4 ADD MSTORE SWAP2 POP DUP5 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP1 PUSH4 0x70A08231 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x951 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x965 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x989 SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST LT ISZERO PUSH2 0x9F5 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x35 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x596F7520646F6E27742068617665207468617420616D6F756E74206F6620746F PUSH1 0x44 DUP3 ADD MSTORE PUSH21 0x35B2B7399037B7103CB7BAB91030B1B1B7BAB73A17 PUSH1 0x59 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x12946FE1 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP6 SWAP1 MSTORE PUSH1 0x0 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP1 PUSH4 0x12946FE1 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xA38 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xA4C JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xA70 SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xCCFE0C8E PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xAA9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xABD JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xAE1 SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST PUSH2 0xAEB SWAP2 SWAP1 PUSH2 0x31A4 JUMP JUMPDEST LT ISZERO PUSH2 0xB48 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x506F6F6C2073697A652063616E6E6F7420626520736D616C6C6572207468616E PUSH1 0x44 DUP3 ADD MSTORE PUSH6 0x103D32B93797 PUSH1 0xD1 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0x55D94655 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP4 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xB8C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xBA0 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xBC4 SWAP2 SWAP1 PUSH2 0x313A JUMP JUMPDEST PUSH2 0xC10 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1C PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x54686520706F6F6C2069732063757272656E746C792070617573656400000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH1 0x2 PUSH1 0x1 SLOAD EQ ISZERO PUSH2 0xC63 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x5265656E7472616E637947756172643A207265656E7472616E742063616C6C00 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH1 0x2 PUSH1 0x1 SSTORE PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0xA DUP2 MSTORE PUSH10 0x393BA2AA242A37B5B2B7 PUSH1 0xB1 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH2 0xC95 SWAP1 PUSH2 0x2C2A JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH2 0xCC3 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x9 DUP2 MSTORE PUSH1 0x20 ADD PUSH9 0x141BDBDB15985D5B1D PUSH1 0xBA SHL DUP2 MSTORE POP PUSH2 0x2C2A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x6EB1769F PUSH1 0xE1 SHL DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE ADDRESS PUSH1 0x24 DUP3 ADD MSTORE SWAP1 SWAP2 POP DUP8 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP1 PUSH4 0xDD62ED3E SWAP1 PUSH1 0x44 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xD0D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xD21 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xD45 SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST LT ISZERO PUSH2 0xDB9 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x38 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x52657665727465643A20436C69656E74206C61636B7320616C6C6F77616E6365 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x20746F20706572666F726D207468697320616374696F6E2E0000000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x23B872DD PUSH1 0xE0 SHL DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE ADDRESS PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 DUP2 ADD DUP9 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH4 0x23B872DD SWAP1 PUSH1 0x64 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xE07 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xE1B JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xE3F SWAP2 SWAP1 PUSH2 0x313A JUMP JUMPDEST POP PUSH1 0x40 MLOAD PUSH4 0x12946FE1 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP9 SWAP1 MSTORE PUSH1 0x0 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP1 PUSH4 0x12946FE1 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xE83 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xE97 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xEBB SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x852CD8D PUSH1 0xE3 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP11 SWAP1 MSTORE SWAP1 SWAP2 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND SWAP1 PUSH4 0x42966C68 SWAP1 PUSH1 0x24 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xF00 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xF14 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xF4D SWAP1 PUSH32 0x746F74616C4275726E65645F7265776172644574686572000000000000000000 DUP2 MSTORE PUSH1 0x17 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH3 0xEC44AF PUSH1 0xE5 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP13 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x1D8895E0 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xFB0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xFC4 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x40 MLOAD PUSH4 0x522F6815 PUSH1 0xE0 SHL DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP2 ADD DUP6 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 AND SWAP3 POP PUSH4 0x522F6815 SWAP2 POP PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1010 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1024 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x40 DUP1 MLOAD DUP6 DUP2 MSTORE TIMESTAMP PUSH1 0x20 DUP3 ADD MSTORE CALLER SWAP4 POP PUSH32 0x91405DB2584F6E8463494F0E18C40F87FE3146322D19C494E8A0E0A039C38869 SWAP3 POP ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 POP POP PUSH1 0x1 DUP1 SSTORE POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0x108D DUP2 CALLER PUSH2 0x2BC6 JUMP JUMPDEST PUSH2 0x1097 DUP4 DUP4 PUSH2 0x2D2E JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND CALLER EQ PUSH2 0x110C JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416363657373436F6E74726F6C3A2063616E206F6E6C792072656E6F756E6365 PUSH1 0x44 DUP3 ADD MSTORE PUSH15 0x103937B632B9903337B91039B2B633 PUSH1 0x89 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH2 0x1116 DUP3 DUP3 PUSH2 0x2DB2 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3385 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x1133 DUP2 CALLER PUSH2 0x2BC6 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1144 SWAP1 PUSH2 0x3124 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x55D94655 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x119F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x11B3 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x11D7 SWAP2 SWAP1 PUSH2 0x313A JUMP JUMPDEST ISZERO PUSH2 0x1224 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x54686520706F6F6C2069732063757272656E746C79206C6976652E0000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1254 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0xD DUP2 MSTORE PUSH1 0x20 ADD PUSH13 0x546F6B656E42616C616E636573 PUSH1 0x98 SHL DUP2 MSTORE POP PUSH2 0x2C2A JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x127D SWAP1 PUSH15 0x1C995DD85C991CD51BD25B9A9958DD PUSH1 0x8A SHL DUP2 MSTORE PUSH1 0xF ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 PUSH2 0x129F PUSH2 0x19D0 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH3 0xF4240 DUP3 DUP6 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x70959FF8 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x12E1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x12F5 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x1319 SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST PUSH2 0x1323 SWAP2 SWAP1 PUSH2 0x31BB JUMP JUMPDEST PUSH2 0x132D SWAP2 SWAP1 PUSH2 0x31DA JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP7 SWAP1 MSTORE PUSH1 0x24 DUP2 ADD DUP4 SWAP1 MSTORE SWAP2 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x137B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x138F JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x13A7 DUP2 CALLER PUSH2 0x2BC6 JUMP JUMPDEST PUSH2 0x13BF PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3385 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0x1071 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xD873E3F571DC25E020CEFDEB7255B3874EAD3AADE1F94A5FB4A5DA831FD670CD SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3385 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x1410 DUP2 CALLER PUSH2 0x2BC6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x31 ADD PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP2 DUP3 ADD KECCAK256 PUSH1 0x2 SLOAD SWAP1 SWAP4 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 PUSH4 0x55D94655 SWAP2 PUSH2 0x146C SWAP2 ADD PUSH2 0x3124 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x14A0 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x14B8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x14CC JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x14F0 SWAP2 SWAP1 PUSH2 0x313A JUMP JUMPDEST ISZERO PUSH2 0x150D JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6DF SWAP1 PUSH2 0x3157 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP4 SWAP1 MSTORE DUP5 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1551 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1565 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x1589 SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST GT PUSH2 0x15FC JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x546865206D696E2E20636F6E74722E206C696D6974206E6565647320746F2062 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6520736D616C6C6572207468616E20746865206D61782E206C696D69742E0000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2F ADD PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP8 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1681 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1695 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x568 SWAP1 PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL DUP2 MSTORE PUSH1 0xD ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3385 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x16DE DUP2 CALLER PUSH2 0x2BC6 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x1702 SWAP1 PUSH1 0x20 ADD PUSH2 0x3124 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1736 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x174E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1762 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x1786 SWAP2 SWAP1 PUSH2 0x313A JUMP JUMPDEST ISZERO PUSH2 0x17A3 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6DF SWAP1 PUSH2 0x3157 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2D ADD PUSH2 0x706 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1803 SWAP1 PUSH16 0x636F6E74726163745F61646472657373 PUSH1 0x80 SHL DUP2 MSTORE PUSH10 0x141BDBDB10DB1A595B9D PUSH1 0xB2 SHL PUSH1 0x10 DUP3 ADD MSTORE PUSH1 0x1A ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x15485DD9 PUSH1 0xE1 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x0 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x2A90BBB2 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1863 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1877 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x189B SWAP2 SWAP1 PUSH2 0x31FC JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x568 SWAP1 PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL DUP2 MSTORE PUSH1 0xF ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3385 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x18E3 DUP2 CALLER PUSH2 0x2BC6 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x1907 SWAP1 PUSH1 0x20 ADD PUSH2 0x3124 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x193B SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1953 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1967 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x198B SWAP2 SWAP1 PUSH2 0x313A JUMP JUMPDEST ISZERO PUSH2 0x19A8 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6DF SWAP1 PUSH2 0x3157 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x31 ADD PUSH2 0x706 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x568 SWAP1 PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL DUP2 MSTORE PUSH1 0x18 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1803 SWAP1 PUSH16 0x636F6E74726163745F61646472657373 PUSH1 0x80 SHL DUP2 MSTORE PUSH8 0x506F6F6C42617365 PUSH1 0xC0 SHL PUSH1 0x10 DUP3 ADD MSTORE PUSH1 0x18 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP3 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 SWAP1 SWAP4 AND DUP5 MSTORE SWAP2 SWAP1 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3385 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x1A7F DUP2 CALLER PUSH2 0x2BC6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH15 0x1C995DD85C991CD51BD25B9A9958DD PUSH1 0x8A SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2F ADD PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1AFB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1B0F JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x1B33 SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST SWAP3 POP POP POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3385 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x1B53 DUP2 CALLER PUSH2 0x2BC6 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1B64 SWAP1 PUSH2 0x3124 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x988C515B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE DUP6 ISZERO ISZERO PUSH1 0x24 DUP5 ADD MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x988C515B SWAP1 PUSH1 0x44 ADD PUSH2 0x751 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3385 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x1BCD DUP2 CALLER PUSH2 0x2BC6 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x1BF1 SWAP1 PUSH1 0x20 ADD PUSH2 0x3124 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1C25 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1C3D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1C51 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x1C75 SWAP2 SWAP1 PUSH2 0x313A JUMP JUMPDEST ISZERO PUSH2 0x1C92 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6DF SWAP1 PUSH2 0x3157 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x38 ADD PUSH2 0x706 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1CED PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x9 DUP2 MSTORE PUSH1 0x20 ADD PUSH9 0x141BDBDB15985D5B1D PUSH1 0xBA SHL DUP2 MSTORE POP PUSH2 0x2C2A JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1D00 SWAP1 PUSH2 0x3124 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1D3D SWAP1 PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL DUP2 MSTORE PUSH1 0xD ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1D85 SWAP1 PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL DUP2 MSTORE PUSH1 0x18 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1DC6 SWAP1 PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL DUP2 MSTORE PUSH1 0x11 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1E05 SWAP1 PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL DUP2 MSTORE PUSH1 0xF ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1E40 SWAP1 PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL DUP2 MSTORE PUSH1 0xB ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP2 DUP3 ADD KECCAK256 PUSH20 0x32BA3432B92FB9BA30B5B2B22FB13CAFBAB9B2B9 PUSH1 0x61 SHL SWAP2 DUP4 ADD SWAP2 SWAP1 SWAP2 MSTORE PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF NOT CALLER PUSH1 0x60 SHL AND PUSH1 0x34 DUP4 ADD MSTORE SWAP2 POP PUSH1 0x0 SWAP1 PUSH1 0x48 ADD PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x0 SWAP2 CALLVALUE SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1EF8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1F0C JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x1F30 SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST PUSH2 0x1F3A SWAP2 SWAP1 PUSH2 0x3219 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP11 SWAP1 MSTORE SWAP2 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1F7F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1F93 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x1FB7 SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST PUSH2 0x2014 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x28 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x546865207465616D206E6565647320746F207365742061207265776172642069 PUSH1 0x44 DUP3 ADD MSTORE PUSH8 0x373A32B93B30B617 PUSH1 0xC1 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP9 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x2058 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x206C JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x2090 SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST PUSH2 0x20EA JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x25 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x546865207465616D206E6565647320746F207365742061207265776172642072 PUSH1 0x44 DUP3 ADD MSTORE PUSH5 0x30BA34B797 PUSH1 0xD9 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP8 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x212E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x2142 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x2166 SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST PUSH2 0x21C6 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x546865207465616D206E6565647320746F20736574206120636F6E7472696275 PUSH1 0x44 DUP3 ADD MSTORE PUSH11 0x3A34B7B7103634B6B4BA17 PUSH1 0xA9 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP8 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x220A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x221E JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x2242 SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST DUP2 GT ISZERO PUSH2 0x22A3 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x29 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4D61782E2063757272656E7420636F6E747269627574696F6E206C696D697420 PUSH1 0x44 DUP3 ADD MSTORE PUSH9 0x32BC31B2B2B232B217 PUSH1 0xB9 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP7 SWAP1 MSTORE CALLVALUE SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x22E7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x22FB JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x231F SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST GT ISZERO PUSH2 0x23AC JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x50 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x56616C756520746F206465706F736974206E6565647320746F20626520686967 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x686572207468616E207468652063757272656E74206D696E696D756D20636F6E PUSH1 0x64 DUP3 ADD MSTORE PUSH16 0x3A3934B13ABA34B7B7103634B6B4BA17 PUSH1 0x81 SHL PUSH1 0x84 DUP3 ADD MSTORE PUSH1 0xA4 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP6 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x23F0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x2404 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x2428 SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST CALLVALUE DUP11 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xCCFE0C8E PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x2462 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x2476 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x249A SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST PUSH2 0x24A4 SWAP2 SWAP1 PUSH2 0x3219 JUMP JUMPDEST GT ISZERO PUSH2 0x250F JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x34 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4D61782E20506F6F6C2073697A65206F766572666C6F77207769746820746861 PUSH1 0x44 DUP3 ADD MSTORE PUSH20 0x3A1030B6B7BAB73A1037B3103232B837B9B4BA17 PUSH1 0x61 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH1 0x2 PUSH1 0x1 SLOAD EQ ISZERO PUSH2 0x2562 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x5265656E7472616E637947756172643A207265656E7472616E742063616C6C00 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH1 0x2 PUSH1 0x1 SSTORE PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0xA DUP2 MSTORE PUSH10 0x393BA2AA242A37B5B2B7 PUSH1 0xB1 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH2 0x2594 SWAP1 PUSH2 0x2C2A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH4 0x40C10F19 PUSH1 0xE0 SHL DUP2 MSTORE CALLER PUSH1 0x4 DUP3 ADD MSTORE CALLVALUE PUSH1 0x24 DUP3 ADD MSTORE SWAP1 SWAP2 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND SWAP1 PUSH4 0x40C10F19 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x25DE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x25F2 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x261F SWAP1 PUSH17 0x3A37BA30B629BAB838363CAFA2BA3432B9 PUSH1 0x79 SHL DUP2 MSTORE PUSH1 0x11 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH3 0xEC44AF PUSH1 0xE5 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE CALLVALUE PUSH1 0x24 DUP5 ADD MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x1D8895E0 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x2681 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x2695 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x40 DUP1 MLOAD CALLVALUE DUP2 MSTORE TIMESTAMP PUSH1 0x20 DUP3 ADD MSTORE CALLER SWAP4 POP PUSH32 0x91405DB2584F6E8463494F0E18C40F87FE3146322D19C494E8A0E0A039C38869 SWAP3 POP ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 PUSH2 0x26DB PUSH2 0x2E17 JUMP JUMPDEST POP POP PUSH1 0x1 DUP1 SSTORE POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0x2708 DUP2 CALLER PUSH2 0x2BC6 JUMP JUMPDEST PUSH2 0x1097 DUP4 DUP4 PUSH2 0x2DB2 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x3385 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x272B DUP2 CALLER PUSH2 0x2BC6 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x273C SWAP1 PUSH2 0x3124 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x55D94655 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x2797 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x27AB JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x27CF SWAP2 SWAP1 PUSH2 0x313A JUMP JUMPDEST ISZERO PUSH2 0x281C JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x54686520706F6F6C2069732063757272656E746C79206C6976652E0000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH2 0x2824 PUSH2 0x1A64 JUMP JUMPDEST CALLVALUE EQ PUSH2 0x2872 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x496E76616C696420657468657220696E74657265737420696E6A65637465642E PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH1 0x0 PUSH2 0x289E PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x9 DUP2 MSTORE PUSH1 0x20 ADD PUSH9 0x141BDBDB15985D5B1D PUSH1 0xBA SHL DUP2 MSTORE POP PUSH2 0x2C2A JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x28C6 SWAP1 PUSH14 0x6C61737452657761726454696D65 PUSH1 0x90 SHL DUP2 MSTORE PUSH1 0xE ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x290A SWAP1 PUSH20 0x1D1BDD185B14995DD85C991CD25B9A9958DD1959 PUSH1 0x62 SHL DUP2 MSTORE PUSH1 0x14 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x294B SWAP1 PUSH17 0x3A37BA30B629BAB838363CAFA2BA3432B9 PUSH1 0x79 SHL DUP2 MSTORE PUSH1 0x11 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP7 SWAP1 MSTORE TIMESTAMP PUSH1 0x24 DUP5 ADD MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x29AE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x29C2 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH3 0xEC44AF PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP7 SWAP1 MSTORE CALLVALUE PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP3 POP PUSH4 0x1D8895E0 SWAP2 POP PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x2A11 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x2A25 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH3 0xEC44AF PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP6 SWAP1 MSTORE CALLVALUE PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP3 POP PUSH4 0x1D8895E0 SWAP2 POP PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x2A74 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x2A88 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP DUP4 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xF9FC0D07 CALLVALUE PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x2AC7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x2ADB JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP9 SWAP1 MSTORE PUSH32 0x70BF248E27883B1A6AF8A9D590CC2B58FA0D74B60C83A9BB5E12DE0F9B3DDFC6 SWAP5 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP3 POP PUSH4 0xAFC3602B SWAP2 POP PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x2B46 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x2B5A JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x2B7E SWAP2 SWAP1 PUSH2 0x310B JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD SWAP2 DUP3 MSTORE CALLVALUE PUSH1 0x20 DUP4 ADD MSTORE ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x568 SWAP1 PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL DUP2 MSTORE PUSH1 0x11 ADD SWAP1 JUMP JUMPDEST PUSH2 0x2BD0 DUP3 DUP3 PUSH2 0x1A3B JUMP JUMPDEST PUSH2 0x1116 JUMPI PUSH2 0x2BE8 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x14 PUSH2 0x2E9C JUMP JUMPDEST PUSH2 0x2BF3 DUP4 PUSH1 0x20 PUSH2 0x2E9C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x2C04 SWAP3 SWAP2 SWAP1 PUSH2 0x3261 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE PUSH3 0x461BCD PUSH1 0xE5 SHL DUP3 MSTORE PUSH2 0x6DF SWAP2 PUSH1 0x4 ADD PUSH2 0x32D6 JUMP JUMPDEST PUSH1 0x0 DUP1 DUP3 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x2C3E SWAP2 SWAP1 PUSH2 0x3309 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x15485DD9 PUSH1 0xE1 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x0 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x2A90BBB2 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x2C9E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x2CB2 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x2CD6 SWAP2 SWAP1 PUSH2 0x31FC JUMP JUMPDEST SWAP1 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0x189B JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x436F6E74726163742061646472657373206E6F7420666F756E642E0000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH2 0x2D38 DUP3 DUP3 PUSH2 0x1A3B JUMP JUMPDEST PUSH2 0x1116 JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH2 0x2D6E CALLER SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH2 0x2DBC DUP3 DUP3 PUSH2 0x1A3B JUMP JUMPDEST ISZERO PUSH2 0x1116 JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP1 DUP6 MSTORE SWAP3 MSTORE DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE MLOAD CALLER SWAP3 DUP6 SWAP2 PUSH32 0xF6391F5C32D9C69D2A47EA670B442974B53935D1EDC7FD64EB21E047A839171B SWAP2 SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2E43 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x9 DUP2 MSTORE PUSH1 0x20 ADD PUSH9 0x141BDBDB15985D5B1D PUSH1 0xBA SHL DUP2 MSTORE POP PUSH2 0x2C2A JUMP JUMPDEST SWAP1 POP DUP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xA7CC190A CALLVALUE PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x2E80 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x2E94 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH2 0x2EAB DUP4 PUSH1 0x2 PUSH2 0x31BB JUMP JUMPDEST PUSH2 0x2EB6 SWAP1 PUSH1 0x2 PUSH2 0x3219 JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x2ECE JUMPI PUSH2 0x2ECE PUSH2 0x3341 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x2EF8 JUMPI PUSH1 0x20 DUP3 ADD DUP2 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x3 PUSH1 0xFC SHL DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x2F13 JUMPI PUSH2 0x2F13 PUSH2 0x3357 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0xF PUSH1 0xFB SHL DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x2F42 JUMPI PUSH2 0x2F42 PUSH2 0x3357 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x0 PUSH2 0x2F66 DUP5 PUSH1 0x2 PUSH2 0x31BB JUMP JUMPDEST PUSH2 0x2F71 SWAP1 PUSH1 0x1 PUSH2 0x3219 JUMP JUMPDEST SWAP1 POP JUMPDEST PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x2FE9 JUMPI PUSH16 0x181899199A1A9B1B9C1CB0B131B232B3 PUSH1 0x81 SHL DUP6 PUSH1 0xF AND PUSH1 0x10 DUP2 LT PUSH2 0x2FA5 JUMPI PUSH2 0x2FA5 PUSH2 0x3357 JUMP JUMPDEST BYTE PUSH1 0xF8 SHL DUP3 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x2FBB JUMPI PUSH2 0x2FBB PUSH2 0x3357 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x4 SWAP5 SWAP1 SWAP5 SHR SWAP4 PUSH2 0x2FE2 DUP2 PUSH2 0x336D JUMP JUMPDEST SWAP1 POP PUSH2 0x2F74 JUMP JUMPDEST POP DUP4 ISZERO PUSH2 0x189B JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x537472696E67733A20686578206C656E67746820696E73756666696369656E74 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6DF JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x304A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND DUP2 EQ PUSH2 0x189B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x3074 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x3090 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x30A5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x189B DUP2 PUSH2 0x307B JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x30C3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x30D5 DUP2 PUSH2 0x307B JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0x3090 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x3100 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x189B DUP2 PUSH2 0x30E0 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x311D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH10 0x6973506F6F6C4C697665 PUSH1 0xB0 SHL DUP2 MSTORE PUSH1 0xA ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x314C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x189B DUP2 PUSH2 0x30E0 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1D SWAP1 DUP3 ADD MSTORE PUSH32 0x54686520706F6F6C2069732063757272656E746C7920636C6F7365642E000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH2 0x31B6 JUMPI PUSH2 0x31B6 PUSH2 0x318E JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x0 NOT DIV DUP4 GT DUP3 ISZERO ISZERO AND ISZERO PUSH2 0x31D5 JUMPI PUSH2 0x31D5 PUSH2 0x318E JUMP JUMPDEST POP MUL SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH2 0x31F7 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP DIV SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x320E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x189B DUP2 PUSH2 0x307B JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x322C JUMPI PUSH2 0x322C PUSH2 0x318E JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x324C JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x3234 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x325B JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH32 0x416363657373436F6E74726F6C3A206163636F756E7420000000000000000000 DUP2 MSTORE PUSH1 0x0 DUP4 MLOAD PUSH2 0x3299 DUP2 PUSH1 0x17 DUP6 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x3231 JUMP JUMPDEST PUSH17 0x1034B99036B4B9B9B4B733903937B6329 PUSH1 0x7D SHL PUSH1 0x17 SWAP2 DUP5 ADD SWAP2 DUP3 ADD MSTORE DUP4 MLOAD PUSH2 0x32CA DUP2 PUSH1 0x28 DUP5 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x3231 JUMP JUMPDEST ADD PUSH1 0x28 ADD SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 DUP3 MLOAD DUP1 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x32F5 DUP2 PUSH1 0x40 DUP6 ADD PUSH1 0x20 DUP8 ADD PUSH2 0x3231 JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP2 SWAP1 SWAP2 ADD PUSH1 0x40 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH16 0x636F6E74726163745F61646472657373 PUSH1 0x80 SHL DUP2 MSTORE PUSH1 0x0 DUP3 MLOAD PUSH2 0x3334 DUP2 PUSH1 0x10 DUP6 ADD PUSH1 0x20 DUP8 ADD PUSH2 0x3231 JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD PUSH1 0x10 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH2 0x337C JUMPI PUSH2 0x337C PUSH2 0x318E JUMP JUMPDEST POP PUSH1 0x0 NOT ADD SWAP1 JUMP INVALID COINBASE LOG0 0x1E 0xC0 LOG1 EXTCODESIZE JUMP EXTCODEHASH LOG4 MSTORE JUMP SWAP15 EXTCODEHASH 0xBB GT PUSH4 0x66D217C2 PUSH23 0x9AA1561822E65A617E3842A26469706673582212208F90 DUP9 0xFB 0xB5 STOP JUMPDEST 0xB4 SLT CHAINID 0xC5 JUMP SUB 0xDC BLOCKHASH 0x2B 0xE7 CALLDATACOPY PUSH14 0xA1AABFEDB5A147DFA61B40FCC464 PUSH20 0x6F6C634300080900330000000000000000000000 ", + "sourceMap": "653:8566:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2620:202:7;;;;;;;;;;-1:-1:-1;2620:202:7;;;;;:::i;:::-;;:::i;:::-;;;470:14:15;;463:22;445:41;;433:2;418:18;2620:202:7;;;;;;;;6789:205:0;;;;;;;;;;;;;:::i;:::-;;;643:25:15;;;631:2;616:18;6789:205:0;497:177:15;3298:341:0;;;;;;;;;;-1:-1:-1;3298:341:0;;;;;:::i;:::-;;:::i;:::-;;6597:184;;;;;;;;;;;;;:::i;4008:129:7:-;;;;;;;;;;-1:-1:-1;4008:129:7;;;;;:::i;:::-;4082:7;4108:12;;;;;;;;;;:22;;;;4008:129;2178:175:0;;;;;;;;;;-1:-1:-1;2178:175:0;;;;;:::i;:::-;;:::i;7977:941:1:-;;;;;;;;;;-1:-1:-1;7977:941:1;;;;;:::i;:::-;;:::i;4387:145:7:-;;;;;;;;;;-1:-1:-1;4387:145:7;;;;;:::i;:::-;;:::i;5404:214::-;;;;;;;;;;-1:-1:-1;5404:214:7;;;;;:::i;:::-;;:::i;5270:542:1:-;;;;;;;;;;;;;:::i;1998:172:0:-;;;;;;;;;;-1:-1:-1;1998:172:0;;;;;:::i;:::-;;:::i;5239:585::-;;;;;;;;;;-1:-1:-1;5239:585:0;;;;;:::i;:::-;;:::i;7002:195::-;;;;;;;;;;;;;:::i;3713:351::-;;;;;;;;;;-1:-1:-1;3713:351:0;;;;;:::i;:::-;;:::i;687:64::-;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;687:64:0;;8926:272:1;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;2103:32:15;;;2085:51;;2073:2;2058:18;8926:272:1;1939:203:15;7640:199:0;;;;;;;;;;;;;:::i;4761:362::-;;;;;;;;;;-1:-1:-1;4761:362:0;;;;;:::i;:::-;;:::i;7205:212::-;;;;;;;;;;;;;:::i;6317:268::-;;;;;;;;;;;;;:::i;2909:145:7:-;;;;;;;;;;-1:-1:-1;2909:145:7;;;;;:::i;:::-;;:::i;5878:236:1:-;;;;;;;;;;;;;:::i;2027:49:7:-;;;;;;;;;;-1:-1:-1;2027:49:7;2072:4;2027:49;;2965:198:0;;;;;;;;;;-1:-1:-1;2965:198:0;;;;;:::i;:::-;;:::i;4271:372::-;;;;;;;;;;-1:-1:-1;4271:372:0;;;;;:::i;:::-;;:::i;4417:487:1:-;;;:::i;4766:147:7:-;;;;;;;;;;-1:-1:-1;4766:147:7;;;;;:::i;:::-;;:::i;6582:949:1:-;;;:::i;7425:207:0:-;;;;;;;;;;;;;:::i;2620:202:7:-;2705:4;-1:-1:-1;;;;;;2728:47:7;;-1:-1:-1;;;2728:47:7;;:87;;-1:-1:-1;;;;;;;;;;937:40:13;;;2779:36:7;2721:94;2620:202;-1:-1:-1;;2620:202:7:o;6789:205:0:-;6835:4;6851:22;6886:31;;;;;;-1:-1:-1;;;2718:26:15;;2769:2;2760:12;;2516:262;6886:31:0;;;;;;;-1:-1:-1;;6886:31:0;;;;;;;6876:42;;6886:31;6876:42;;;;6936:11;;-1:-1:-1;;;6936:42:0;;;;;643:25:15;;;6876:42:0;;-1:-1:-1;;;;;;6936:11:0;;:26;;616:18:15;;6936:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6929:49;;;6789:205;:::o;3298:341::-;-1:-1:-1;;;;;;;;;;;2505:30:7;726:25:0;719:10:11;2505::7;:30::i;:::-;3387:11:0::1;::::0;3424:30:::1;::::0;-1:-1:-1;;;;;3387:11:0;;::::1;::::0;:26:::1;::::0;3424:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;3414:41;;;;;;3387:69;;;;;;;;;;;;;643:25:15::0;;631:2;616:18;;497:177;3387:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3386:70;3378:112;;;;-1:-1:-1::0;;;3378:112:0::1;;;;;;;:::i;:::-;;;;;;;;;3536:31;::::0;-1:-1:-1;;;3536:31:0::1;::::0;::::1;2718:26:15::0;3501:22:0::1;::::0;2760:12:15;;3536:31:0::1;;::::0;;;;::::1;-1:-1:-1::0;;3536:31:0;;;;;;;3526:42;;3536:31:::1;3526:42:::0;;::::1;::::0;3579:11:::1;::::0;-1:-1:-1;;;3579:52:0;;::::1;::::0;::::1;4020:25:15::0;;;4061:18;;;4054:34;;;3526:42:0;;-1:-1:-1;;;;;;3579:11:0::1;::::0;:26:::1;::::0;3993:18:15;;3579:52:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;3367:272;3298:341:::0;;:::o;6597:184::-;6641:4;6657:17;6687:30;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;6687:30:0;;;;;;;6677:41;;6687:30;6677:41;;;;6736:11;;-1:-1:-1;;;6736:37:0;;;;;643:25:15;;;6677:41:0;;-1:-1:-1;;;;;;6736:11:0;;:26;;616:18:15;;6736:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;2178:175::-;2072:4:7;2505:30;2072:4;719:10:11;2505::7;:30::i;:::-;2271:34:0::1;-1:-1:-1::0;;;;;;;;;;;2296:8:0::1;2271:10;:34::i;:::-;2321:24;::::0;-1:-1:-1;;;;;2321:24:0;::::1;::::0;::::1;::::0;;;::::1;2178:175:::0;;:::o;7977:941:1:-;8042:12;2720:28;2770:31;;;;;;;;;;;;;;-1:-1:-1;;;2770:31:1;;;:18;:31::i;:::-;2720:82;;2813:30;2866:32;;;;;;;;;;;;;;-1:-1:-1;;;2866:32:1;;;:18;:32::i;:::-;2813:86;;2910:17;2940:30;;;;;;;:::i;:::-;;;;-1:-1:-1;;2940:30:1;;;;;;;;;;2930:41;;2940:30;2930:41;;;;-1:-1:-1;;;2992:32:1;;3013:10;2992:32;;;2085:51:15;2930:41:1;-1:-1:-1;3028:18:1;;-1:-1:-1;;;;;2992:20:1;;;;;2058:18:15;;2992:32:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:54;;2984:120;;;;-1:-1:-1;;;2984:120:1;;4301:2:15;2984:120:1;;;4283:21:15;4340:2;4320:18;;;4313:30;4379:34;4359:18;;;4352:62;-1:-1:-1;;;4430:18:15;;;4423:51;4491:19;;2984:120:1;4099:417:15;2984:120:1;3151:43;;-1:-1:-1;;;3151:43:1;;;;;643:25:15;;;3198:1:1;;-1:-1:-1;;;;;3151:23:1;;;;;616:18:15;;3151:43:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3123:9;-1:-1:-1;;;;;3123:23:1;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:71;;;;:::i;:::-;:76;;3115:127;;;;-1:-1:-1;;;3115:127:1;;4985:2:15;3115:127:1;;;4967:21:15;5024:2;5004:18;;;4997:30;5063:34;5043:18;;;5036:62;-1:-1:-1;;;5114:18:15;;;5107:36;5160:19;;3115:127:1;4783:402:15;3115:127:1;3261:11;;:37;;-1:-1:-1;;;3261:37:1;;;;;643:25:15;;;-1:-1:-1;;;;;3261:11:1;;;;:26;;616:18:15;;3261:37:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3253:78;;;;-1:-1:-1;;;3253:78:1;;5392:2:15;3253:78:1;;;5374:21:15;5431:2;5411:18;;;5404:30;5470;5450:18;;;5443:58;5518:18;;3253:78:1;5190:352:15;3253:78:1;1744:1:9::1;2325:7;;:19;;2317:63;;;::::0;-1:-1:-1;;;2317:63:9;;5749:2:15;2317:63:9::1;::::0;::::1;5731:21:15::0;5788:2;5768:18;;;5761:30;5827:33;5807:18;;;5800:61;5878:18;;2317:63:9::1;5547:355:15::0;2317:63:9::1;1744:1;2455:7;:18:::0;8134:32:1::2;::::0;;;;::::2;::::0;;;::::2;::::0;;-1:-1:-1;;;8134:32:1::2;::::0;::::2;::::0;8081:30:::2;::::0;8134:32:::2;::::0;:18:::2;:32::i;:::-;8081:86;;8178:28;8228:31;;;;;;;;;;;;;;-1:-1:-1::0;;;8228:31:1::2;;::::0;:18:::2;:31::i;:::-;8289:47;::::0;-1:-1:-1;;;8289:47:1;;8310:10:::2;8289:47;::::0;::::2;6119:34:15::0;8330:4:1::2;6169:18:15::0;;;6162:43;8178:82:1;;-1:-1:-1;8340:12:1;;-1:-1:-1;;;;;8289:20:1;::::2;::::0;::::2;::::0;6054:18:15;;8289:47:1::2;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:63;;8281:132;;;::::0;-1:-1:-1;;;8281:132:1;;6418:2:15;8281:132:1::2;::::0;::::2;6400:21:15::0;6457:2;6437:18;;;6430:30;6496:34;6476:18;;;6469:62;6567:26;6547:18;;;6540:54;6611:19;;8281:132:1::2;6216:420:15::0;8281:132:1::2;8433:64;::::0;-1:-1:-1;;;8433:64:1;;8457:10:::2;8433:64;::::0;::::2;6881:34:15::0;8477:4:1::2;6931:18:15::0;;;6924:43;6983:18;;;6976:34;;;-1:-1:-1;;;;;8433:23:1;::::2;::::0;::::2;::::0;6816:18:15;;8433:64:1::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;8532:37:1::2;::::0;-1:-1:-1;;;8532:37:1;;::::2;::::0;::::2;643:25:15::0;;;8510:19:1::2;::::0;-1:-1:-1;;;;;8532:23:1;::::2;::::0;::::2;::::0;616:18:15;;8532:37:1::2;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8580:29;::::0;-1:-1:-1;;;8580:29:1;;::::2;::::0;::::2;643:25:15::0;;;8510:59:1;;-1:-1:-1;;;;;;8580:15:1;::::2;::::0;::::2;::::0;616:18:15;;8580:29:1::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;8620:24;8657:43;;;;;;7235:25:15::0;7223:38;;7286:2;7277:12;;7021:274;8657:43:1::2;;::::0;;;;::::2;-1:-1:-1::0;;8657:43:1;;;;;;;8647:54;;8657:43:::2;8647:54:::0;;::::2;::::0;8712:11:::2;::::0;-1:-1:-1;;;8712:63:1;;::::2;::::0;::::2;4020:25:15::0;;;4061:18;;;4054:34;;;8647:54:1;;-1:-1:-1;;;;;;8712:11:1::2;::::0;:31:::2;::::0;3993:18:15;;8712:63:1::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;8788:51:1::2;::::0;-1:-1:-1;;;8788:51:1;;8812:10:::2;8788:51;::::0;::::2;7474::15::0;7541:18;;;7534:34;;;-1:-1:-1;;;;;8788:23:1;::::2;::::0;-1:-1:-1;8788:23:1::2;::::0;-1:-1:-1;7447:18:15;;8788:51:1::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;8855:55:1::2;::::0;;4020:25:15;;;8894:15:1::2;4076:2:15::0;4061:18;;4054:34;8866:10:1::2;::::0;-1:-1:-1;8855:55:1::2;::::0;-1:-1:-1;3993:18:15;8855:55:1::2;;;;;;;-1:-1:-1::0;;1701:1:9::1;2628:22:::0;;-1:-1:-1;;;;;;;7977:941:1:o;4387:145:7:-;4082:7;4108:12;;;;;;;;;;:22;;;2505:30;2516:4;719:10:11;2505::7;:30::i;:::-;4500:25:::1;4511:4;4517:7;4500:10;:25::i;:::-;4387:145:::0;;;:::o;5404:214::-;-1:-1:-1;;;;;5499:23:7;;719:10:11;5499:23:7;5491:83;;;;-1:-1:-1;;;5491:83:7;;8034:2:15;5491:83:7;;;8016:21:15;8073:2;8053:18;;;8046:30;8112:34;8092:18;;;8085:62;-1:-1:-1;;;8163:18:15;;;8156:45;8218:19;;5491:83:7;7832:411:15;5491:83:7;5585:26;5597:4;5603:7;5585:11;:26::i;:::-;5404:214;;:::o;5270:542:1:-;-1:-1:-1;;;;;;;;;;;2505:30:7;726:25:0;719:10:11;2505::7;:30::i;:::-;3400:17:1::1;3430:30;;;;;;;:::i;:::-;;::::0;;;;::::1;-1:-1:-1::0;;3430:30:1;;;;;;;3420:41;;3430:30:::1;3420:41:::0;;::::1;::::0;3483:11:::1;::::0;-1:-1:-1;;;3483:37:1;;::::1;::::0;::::1;643:25:15::0;;;3420:41:1;;-1:-1:-1;;;;;;3483:11:1::1;::::0;:26:::1;::::0;616:18:15;;3483:37:1::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3482:38;3474:78;;;::::0;-1:-1:-1;;;3474:78:1;;8450:2:15;3474:78:1::1;::::0;::::1;8432:21:15::0;8489:2;8469:18;;;8462:30;8528:29;8508:18;;;8501:57;8575:18;;3474:78:1::1;8248:351:15::0;3474:78:1::1;5360:40:::2;5426:35;;;;;;;;;;;;;;-1:-1:-1::0;;;5426:35:1::2;;::::0;:18:::2;:35::i;:::-;5360:102;;5483:26;5522:35;;;;;;-1:-1:-1::0;;;8806:30:15;;8861:2;8852:12;;8604:266;5522:35:1::2;;;;;;;;;;;;;5512:46;;;;;;5483:75;;5586:20;5609;:18;:20::i;:::-;5586:43;;5640:20;5724:5;5705:15;5663:17;-1:-1:-1::0;;;;;5663:37:1::2;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:57;;;;:::i;:::-;:67;;;;:::i;:::-;5741:11;::::0;:63:::2;::::0;-1:-1:-1;;;5741:63:1;;::::2;::::0;::::2;4020:25:15::0;;;4061:18;;;4054:34;;;5640:90:1;;-1:-1:-1;;;;;;5741:11:1::2;::::0;:26:::2;::::0;3993:18:15;;5741:63:1::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;5349:463;;;;3389:181:::1;5270:542:::0;:::o;1998:172:0:-;2072:4:7;2505:30;2072:4;719:10:11;2505::7;:30::i;:::-;2088:33:0::1;-1:-1:-1::0;;;;;;;;;;;2112:8:0::1;2088:9;:33::i;:::-;2137:25;::::0;-1:-1:-1;;;;;2137:25:0;::::1;::::0;::::1;::::0;;;::::1;1998:172:::0;;:::o;5239:585::-;-1:-1:-1;;;;;;;;;;;2505:30:7;726:25:0;719:10:11;2505::7;:30::i;:::-;5360:37:0::1;::::0;-1:-1:-1;;;5360:37:0::1;::::0;::::1;9472:32:15::0;5326:21:0::1;::::0;9520:12:15;;5360:37:0::1;::::0;;-1:-1:-1;;5360:37:0;;::::1;::::0;;;;;;;5350:48;;5360:37:::1;5350:48:::0;;::::1;::::0;5418:11:::1;::::0;5350:48;;-1:-1:-1;;;;;;5418:11:0::1;::::0;:26:::1;::::0;5455:30:::1;::::0;::::1;;:::i;:::-;;;;;;;;;;;;;5445:41;;;;;;5418:69;;;;;;;;;;;;;643:25:15::0;;631:2;616:18;;497:177;5418:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5417:70;5409:112;;;;-1:-1:-1::0;;;5409:112:0::1;;;;;;;:::i;:::-;5540:11;::::0;:41:::1;::::0;-1:-1:-1;;;5540:41:0;;::::1;::::0;::::1;643:25:15::0;;;5584:12:0;;-1:-1:-1;;;;;5540:11:0::1;::::0;:26:::1;::::0;616:18:15;;5540:41:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;5532:131;;;::::0;-1:-1:-1;;;5532:131:0;;9745:2:15;5532:131:0::1;::::0;::::1;9727:21:15::0;9784:2;9764:18;;;9757:30;9823:34;9803:18;;;9796:62;9894:32;9874:18;;;9867:60;9944:19;;5532:131:0::1;9543:426:15::0;5532:131:0::1;5716:35;::::0;-1:-1:-1;;;5716:35:0::1;::::0;::::1;10176:30:15::0;5684:19:0::1;::::0;10222:12:15;;5716:35:0::1;::::0;;;;::::1;-1:-1:-1::0;;5716:35:0;;;;;;;5706:46;;5716:35:::1;5706:46:::0;;::::1;::::0;5763:11:::1;::::0;-1:-1:-1;;;5763:53:0;;::::1;::::0;::::1;4020:25:15::0;;;4061:18;;;4054:34;;;5706:46:0;;-1:-1:-1;;;;;;5763:11:0::1;::::0;:26:::1;::::0;3993:18:15;;5763:53:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;5315:509;;5239:585:::0;;:::o;7002:195::-;7052:4;7068:18;7099:33;;;;;;-1:-1:-1;;;10447:28:15;;10500:2;10491:12;;10245:264;3713:351:0;-1:-1:-1;;;;;;;;;;;2505:30:7;726:25:0;719:10:11;2505::7;:30::i;:::-;3812:11:0::1;::::0;3849:30:::1;::::0;-1:-1:-1;;;;;3812:11:0;;::::1;::::0;:26:::1;::::0;3849:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;3839:41;;;;;;3812:69;;;;;;;;;;;;;643:25:15::0;;631:2;616:18;;497:177;3812:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3811:70;3803:112;;;;-1:-1:-1::0;;;3803:112:0::1;;;;;;;:::i;:::-;3957:33;::::0;-1:-1:-1;;;3957:33:0::1;::::0;::::1;10447:28:15::0;3926:18:0::1;::::0;10491:12:15;;3957:33:0::1;10245:264:15::0;8926:272:1;8978:7;8997:18;9028:50;;;;;;-1:-1:-1;;;10817:31:15;;-1:-1:-1;;;10873:2:15;10864:12;;10857:34;10916:2;10907:12;;10514:411;9028:50:1;;;;;;;-1:-1:-1;;9028:50:1;;;;;;;9018:61;;9028:50;9018:61;;;;9116:11;;-1:-1:-1;;;9116:41:1;;;;;643:25:15;;;9018:61:1;;-1:-1:-1;9090:23:1;;-1:-1:-1;;;;;9116:11:1;;;;:29;;616:18:15;;9116:41:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;9090:67;8926:272;-1:-1:-1;;;8926:272:1:o;7640:199:0:-;7690:4;7706:19;7738:35;;;;;;-1:-1:-1;;;10176:30:15;;10231:2;10222:12;;9974:266;4761:362:0;-1:-1:-1;;;;;;;;;;;2505:30:7;726:25:0;719:10:11;2505::7;:30::i;:::-;4861:11:0::1;::::0;4898:30:::1;::::0;-1:-1:-1;;;;;4861:11:0;;::::1;::::0;:26:::1;::::0;4898:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;4888:41;;;;;;4861:69;;;;;;;;;;;;;643:25:15::0;;631:2;616:18;;497:177;4861:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4860:70;4852:112;;;;-1:-1:-1::0;;;4852:112:0::1;;;;;;;:::i;:::-;5009:37;::::0;-1:-1:-1;;;5009:37:0::1;::::0;::::1;9472:32:15::0;4975:21:0::1;::::0;9520:12:15;;5009:37:0::1;9270:268:15::0;7205:212:0;7255:4;7271:21;7305:44;;;;;;-1:-1:-1;;;11388:39:15;;11452:2;11443:12;;11186:275;6317:268:0;6367:7;6386:18;6417:48;;;;;;-1:-1:-1;;;11769:31:15;;-1:-1:-1;;;11825:2:15;11816:12;;11809:32;11866:2;11857:12;;11466:409;2909:145:7;2995:4;3018:12;;;;;;;;;;;-1:-1:-1;;;;;3018:29:7;;;;;;;;;;;;;;;2909:145::o;5878:236:1:-;5951:4;-1:-1:-1;;;;;;;;;;;2505:30:7;726:25:0;719:10:11;2505::7;:30::i;:::-;6006:35:1::1;::::0;-1:-1:-1;;;6006:35:1::1;::::0;::::1;8806:30:15::0;5967:26:1::1;::::0;8852:12:15;;6006:35:1::1;::::0;;;;::::1;-1:-1:-1::0;;6006:35:1;;;;;;;5996:46;;6006:35:::1;5996:46:::0;;::::1;::::0;6060:11:::1;::::0;-1:-1:-1;;;6060:46:1;;::::1;::::0;::::1;643:25:15::0;;;5996:46:1;;-1:-1:-1;;;;;;6060:11:1::1;::::0;:26:::1;::::0;616:18:15;;6060:46:1::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6053:53;;;5878:236:::0;;:::o;2965:198:0:-;-1:-1:-1;;;;;;;;;;;2505:30:7;726:25:0;719:10:11;2505::7;:30::i;:::-;3039:17:0::1;3069:30;;;;;;;:::i;:::-;;::::0;;;;::::1;-1:-1:-1::0;;3069:30:0;;;;;;;3059:41;;3069:30:::1;3059:41:::0;;::::1;::::0;3111:11:::1;::::0;-1:-1:-1;;;3111:44:0;;::::1;::::0;::::1;12048:25:15::0;;;12116:14;;12109:22;12089:18;;;12082:50;3059:41:0;;-1:-1:-1;;;;;;3111:11:0::1;::::0;:26:::1;::::0;12021:18:15;;3111:44:0::1;11880:258:15::0;4271:372:0;-1:-1:-1;;;;;;;;;;;2505:30:7;726:25:0;719:10:11;2505::7;:30::i;:::-;4372:11:0::1;::::0;4409:30:::1;::::0;-1:-1:-1;;;;;4372:11:0;;::::1;::::0;:26:::1;::::0;4409:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;4399:41;;;;;;4372:69;;;;;;;;;;;;;643:25:15::0;;631:2;616:18;;497:177;4372:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4371:70;4363:112;;;;-1:-1:-1::0;;;4363:112:0::1;;;;;;;:::i;:::-;4520:44;::::0;-1:-1:-1;;;4520:44:0::1;::::0;::::1;11388:39:15::0;4486:21:0::1;::::0;11443:12:15;;4520:44:0::1;11186:275:15::0;4417:487:1;1100:28;1150:31;;;;;;;;;;;;;;-1:-1:-1;;;1150:31:1;;;:18;:31::i;:::-;1100:82;;1193:17;1223:30;;;;;;;:::i;:::-;;;;;;;;;;;;;1213:41;;;;;;1193:61;;1265:18;1296:33;;;;;;-1:-1:-1;;;10447:28:15;;10500:2;10491:12;;10245:264;1296:33:1;;;;;;;;;;;;;1286:44;;;;;;1265:65;;1341:21;1375:44;;;;;;-1:-1:-1;;;11388:39:15;;11452:2;11443:12;;11186:275;1375:44:1;;;;;;;;;;;;;1365:55;;;;;;1341:79;;1431:21;1465:37;;;;;;-1:-1:-1;;;9472:32:15;;9529:2;9520:12;;9270:268;1465:37:1;;;;;;;;;;;;;1455:48;;;;;;1431:72;;1514:19;1546:35;;;;;;-1:-1:-1;;;10176:30:15;;10231:2;10222:12;;9974:266;1546:35:1;;;;;;;;;;;;;1536:46;;;;;;1514:68;;1593:22;1628:31;;;;;;-1:-1:-1;;;2718:26:15;;2769:2;2760:12;;2516:262;1628:31:1;;;;-1:-1:-1;;1628:31:1;;;;;;;;;;1618:42;;1628:31;1618:42;;;;-1:-1:-1;;;1707:52:1;;;12373:35:15;;;;-1:-1:-1;;1748:10:1;12446:2:15;12442:15;12438:53;12424:12;;;12417:75;1618:42:1;-1:-1:-1;1671:23:1;;12508:12:15;;1707:52:1;;;;;;-1:-1:-1;;1707:52:1;;;;;;;1697:63;;1707:52;1697:63;;;;1790:11;;-1:-1:-1;;;1790:43:1;;;;;643:25:15;;;1697:63:1;;-1:-1:-1;1771:15:1;;1836:9;;-1:-1:-1;;;;;1790:11:1;;:26;;616:18:15;;1790:43:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:55;;;;:::i;:::-;1874:11;;:38;;-1:-1:-1;;;1874:38:1;;;;;643:25:15;;;1771:74:1;;-1:-1:-1;;;;;;1874:11:1;;:26;;616:18:15;;1874:38:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1866:96;;;;-1:-1:-1;;;1866:96:1;;12866:2:15;1866:96:1;;;12848:21:15;12905:2;12885:18;;;12878:30;12944:34;12924:18;;;12917:62;-1:-1:-1;;;12995:18:15;;;12988:38;13043:19;;1866:96:1;12664:404:15;1866:96:1;1981:11;;:41;;-1:-1:-1;;;1981:41:1;;;;;643:25:15;;;-1:-1:-1;;;;;1981:11:1;;;;:26;;616:18:15;;1981:41:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1973:97;;;;-1:-1:-1;;;1973:97:1;;13275:2:15;1973:97:1;;;13257:21:15;13314:2;13294:18;;;13287:30;13353:34;13333:18;;;13326:62;-1:-1:-1;;;13404:18:15;;;13397:35;13449:19;;1973:97:1;13073:401:15;1973:97:1;2089:11;;:41;;-1:-1:-1;;;2089:41:1;;;;;643:25:15;;;-1:-1:-1;;;;;2089:11:1;;;;:26;;616:18:15;;2089:41:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2081:102;;;;-1:-1:-1;;;2081:102:1;;13681:2:15;2081:102:1;;;13663:21:15;13720:2;13700:18;;;13693:30;13759:34;13739:18;;;13732:62;-1:-1:-1;;;13810:18:15;;;13803:41;13861:19;;2081:102:1;13479:407:15;2081:102:1;2216:11;;:41;;-1:-1:-1;;;2216:41:1;;;;;643:25:15;;;-1:-1:-1;;;;;2216:11:1;;;;:26;;616:18:15;;2216:41:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2202:10;:55;;2194:109;;;;-1:-1:-1;;;2194:109:1;;14093:2:15;2194:109:1;;;14075:21:15;14132:2;14112:18;;;14105:30;14171:34;14151:18;;;14144:62;-1:-1:-1;;;14222:18:15;;;14215:39;14271:19;;2194:109:1;13891:405:15;2194:109:1;2322:11;;:39;;-1:-1:-1;;;2322:39:1;;;;;643:25:15;;;2365:9:1;;-1:-1:-1;;;;;2322:11:1;;:26;;616:18:15;;2322:39:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:52;;2314:145;;;;-1:-1:-1;;;2314:145:1;;14503:2:15;2314:145:1;;;14485:21:15;14542:2;14522:18;;;14515:30;14581:34;14561:18;;;14554:62;14652:34;14632:18;;;14625:62;-1:-1:-1;;;14703:19:15;;;14696:47;14760:19;;2314:145:1;14301:484:15;2314:145:1;2519:11;;:42;;-1:-1:-1;;;2519:42:1;;;;;643:25:15;;;-1:-1:-1;;;;;2519:11:1;;;;:26;;616:18:15;;2519:42:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2506:9;2478;-1:-1:-1;;;;;2478:23:1;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:37;;;;:::i;:::-;:83;;2470:148;;;;-1:-1:-1;;;2470:148:1;;14992:2:15;2470:148:1;;;14974:21:15;15031:2;15011:18;;;15004:30;15070:34;15050:18;;;15043:62;-1:-1:-1;;;15121:18:15;;;15114:50;15181:19;;2470:148:1;14790:416:15;2470:148:1;1744:1:9::1;2325:7;;:19;;2317:63;;;::::0;-1:-1:-1;;;2317:63:9;;5749:2:15;2317:63:9::1;::::0;::::1;5731:21:15::0;5788:2;5768:18;;;5761:30;5827:33;5807:18;;;5800:61;5878:18;;2317:63:9::1;5547:355:15::0;2317:63:9::1;1744:1;2455:7;:18:::0;4552:32:1::2;::::0;;;;::::2;::::0;;;::::2;::::0;;-1:-1:-1;;;4552:32:1::2;::::0;::::2;::::0;4499:30:::2;::::0;4552:32:::2;::::0;:18:::2;:32::i;:::-;4596:38;::::0;-1:-1:-1;;;4596:38:1;;4612:10:::2;4596:38;::::0;::::2;7474:51:15::0;4624:9:1::2;7541:18:15::0;;;7534:34;4499:86:1;;-1:-1:-1;;;;;;4596:15:1;::::2;::::0;::::2;::::0;7447:18:15;;4596:38:1::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;4647:27;4687:37;;;;;;-1:-1:-1::0;;;15413:32:15;;15470:2;15461:12;;15211:268;4687:37:1::2;;::::0;;;;::::2;-1:-1:-1::0;;4687:37:1;;;;;;;4677:48;;4687:37:::2;4677:48:::0;;::::2;::::0;4736:11:::2;::::0;-1:-1:-1;;;4736:63:1;;::::2;::::0;::::2;4020:25:15::0;;;4789:9:1::2;4061:18:15::0;;;4054:34;4677:48:1;;-1:-1:-1;;;;;;4736:11:1::2;::::0;:31:::2;::::0;3993:18:15;;4736:63:1::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;4817:51:1::2;::::0;;4840:9:::2;4020:25:15::0;;4852:15:1::2;4076:2:15::0;4061:18;;4054:34;4828:10:1::2;::::0;-1:-1:-1;4817:51:1::2;::::0;-1:-1:-1;3993:18:15;4817:51:1::2;;;;;;;4879:17;:15;:17::i;:::-;-1:-1:-1::0;;1701:1:9::1;2628:22:::0;;-1:-1:-1;;;;;;;;;4417:487:1:o;4766:147:7:-;4082:7;4108:12;;;;;;;;;;:22;;;2505:30;2516:4;719:10:11;2505::7;:30::i;:::-;4880:26:::1;4892:4;4898:7;4880:11;:26::i;6582:949:1:-:0;-1:-1:-1;;;;;;;;;;;2505:30:7;726:25:0;719:10:11;2505::7;:30::i;:::-;3400:17:1::1;3430:30;;;;;;;:::i;:::-;;::::0;;;;::::1;-1:-1:-1::0;;3430:30:1;;;;;;;3420:41;;3430:30:::1;3420:41:::0;;::::1;::::0;3483:11:::1;::::0;-1:-1:-1;;;3483:37:1;;::::1;::::0;::::1;643:25:15::0;;;3420:41:1;;-1:-1:-1;;;;;;3483:11:1::1;::::0;:26:::1;::::0;616:18:15;;3483:37:1::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3482:38;3474:78;;;::::0;-1:-1:-1;;;3474:78:1;;8450:2:15;3474:78:1::1;::::0;::::1;8432:21:15::0;8489:2;8469:18;;;8462:30;8528:29;8508:18;;;8501:57;8575:18;;3474:78:1::1;8248:351:15::0;3474:78:1::1;6700:20:::2;:18;:20::i;:::-;6687:9;:33;6679:78;;;::::0;-1:-1:-1;;;6679:78:1;;15686:2:15;6679:78:1::2;::::0;::::2;15668:21:15::0;;;15705:18;;;15698:30;15764:34;15744:18;;;15737:62;15816:18;;6679:78:1::2;15484:356:15::0;6679:78:1::2;6768:28;6818:31;;;;;;;;;;;;;;-1:-1:-1::0;;;6818:31:1::2;;::::0;:18:::2;:31::i;:::-;6768:82;;6863:25;6901:34;;;;;;-1:-1:-1::0;;;16047:29:15;;16101:2;16092:12;;15845:265;6901:34:1::2;;;;;;;;;;;;;6891:45;;;;;;6863:73;;6947:31;6991:40;;;;;;-1:-1:-1::0;;;16317:35:15;;16377:2;16368:12;;16115:271;6991:40:1::2;;;;;;;;;;;;;6981:51;;;;;;6947:85;;7046:27;7086:37;;;;;;-1:-1:-1::0;;;15413:32:15;;15470:2;15461:12;;15211:268;7086:37:1::2;;::::0;;;;::::2;-1:-1:-1::0;;7086:37:1;;;;;;;7076:48;;7086:37:::2;7076:48:::0;;::::2;::::0;7155:11:::2;::::0;-1:-1:-1;;;7155:62:1;;::::2;::::0;::::2;4020:25:15::0;;;7201:15:1::2;4061:18:15::0;;;4054:34;7076:48:1;;-1:-1:-1;;;;;;7155:11:1::2;::::0;:26:::2;::::0;3993:18:15;;7155:62:1::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;7228:11:1::2;::::0;:67:::2;::::0;-1:-1:-1;;;7228:67:1;;::::2;::::0;::::2;4020:25:15::0;;;7285:9:1::2;4061:18:15::0;;;4054:34;-1:-1:-1;;;;;7228:11:1;;::::2;::::0;-1:-1:-1;7228:31:1::2;::::0;-1:-1:-1;3993:18:15;;7228:67:1::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;7306:11:1::2;::::0;:63:::2;::::0;-1:-1:-1;;;7306:63:1;;::::2;::::0;::::2;4020:25:15::0;;;7359:9:1::2;4061:18:15::0;;;4054:34;-1:-1:-1;;;;;7306:11:1;;::::2;::::0;-1:-1:-1;7306:31:1::2;::::0;-1:-1:-1;3993:18:15;;7306:63:1::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;7390:9;-1:-1:-1::0;;;;;7390:24:1::2;;7422:9;7390:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;7466:11:1::2;::::0;:45:::2;::::0;-1:-1:-1;;;7466:45:1;;::::2;::::0;::::2;643:25:15::0;;;7450:73:1::2;::::0;-1:-1:-1;;;;;;7466:11:1;;::::2;::::0;-1:-1:-1;7466:26:1::2;::::0;-1:-1:-1;616:18:15;;7466:45:1::2;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7450:73;::::0;;4020:25:15;;;7513:9:1::2;4076:2:15::0;4061:18;;4054:34;3993:18;7450:73:1::2;;;;;;;6668:863;;;;3389:181:::1;6582:949:::0;:::o;7425:207:0:-;7477:4;7493:21;7527:37;;;;;;-1:-1:-1;;;9472:32:15;;9529:2;9520:12;;9270:268;3335:492:7;3423:22;3431:4;3437:7;3423;:22::i;:::-;3418:403;;3606:41;3634:7;-1:-1:-1;;;;;3606:41:7;3644:2;3606:19;:41::i;:::-;3718:38;3746:4;3753:2;3718:19;:38::i;:::-;3513:265;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3513:265:7;;;;;;;;;;-1:-1:-1;;;3461:349:7;;;;;;;:::i;5927:382:0:-;6006:7;6025:18;6093:13;6056:51;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;6056:51:0;;;;;;;6046:62;;6056:51;6046:62;;;;6145:11;;-1:-1:-1;;;6145:41:0;;;;;643:25:15;;;6046:62:0;;-1:-1:-1;6119:23:0;;-1:-1:-1;;;;;6145:11:0;;;;:29;;616:18:15;;6145:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6119:67;-1:-1:-1;;;;;;6205:31:0;;6197:71;;;;-1:-1:-1;;;6197:71:0;;18475:2:15;6197:71:0;;;18457:21:15;18514:2;18494:18;;;18487:30;18553:29;18533:18;;;18526:57;18600:18;;6197:71:0;18273:351:15;6861:233:7;6944:22;6952:4;6958:7;6944;:22::i;:::-;6939:149;;6982:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6982:29:7;;;;;;;;;:36;;-1:-1:-1;;6982:36:7;7014:4;6982:36;;;7064:12;719:10:11;;640:96;7064:12:7;-1:-1:-1;;;;;7037:40:7;7055:7;-1:-1:-1;;;;;7037:40:7;7049:4;7037:40;;;;;;;;;;6861:233;;:::o;7219:234::-;7302:22;7310:4;7316:7;7302;:22::i;:::-;7298:149;;;7372:5;7340:12;;;;;;;;;;;-1:-1:-1;;;;;7340:29:7;;;;;;;;;;:37;;-1:-1:-1;;7340:37:7;;;7396:40;719:10:11;;7340:12:7;;7396:40;;7372:5;7396:40;7219:234;;:::o;4967:187:1:-;5013:28;5063:31;;;;;;;;;;;;;;-1:-1:-1;;;5063:31:1;;;:18;:31::i;:::-;5013:82;;5106:9;-1:-1:-1;;;;;5106:20:1;;5134:9;5106:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5002:152;4967:187::o;1588:441:12:-;1663:13;1688:19;1720:10;1724:6;1720:1;:10;:::i;:::-;:14;;1733:1;1720:14;:::i;:::-;1710:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1710:25:12;;1688:47;;-1:-1:-1;;;1745:6:12;1752:1;1745:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1745:15:12;;;;;;;;;-1:-1:-1;;;1770:6:12;1777:1;1770:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1770:15:12;;;;;;;;-1:-1:-1;1800:9:12;1812:10;1816:6;1812:1;:10;:::i;:::-;:14;;1825:1;1812:14;:::i;:::-;1800:26;;1795:132;1832:1;1828;:5;1795:132;;;-1:-1:-1;;;1879:5:12;1887:3;1879:11;1866:25;;;;;;;:::i;:::-;;;;1854:6;1861:1;1854:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;1854:37:12;;;;;;;;-1:-1:-1;1915:1:12;1905:11;;;;;1835:3;;;:::i;:::-;;;1795:132;;;-1:-1:-1;1944:10:12;;1936:55;;;;-1:-1:-1;;;1936:55:12;;19236:2:15;1936:55:12;;;19218:21:15;;;19255:18;;;19248:30;19314:34;19294:18;;;19287:62;19366:18;;1936:55:12;19034:356:15;14:286;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:15;;209:43;;199:71;;266:1;263;256:12;679:180;738:6;791:2;779:9;770:7;766:23;762:32;759:52;;;807:1;804;797:12;759:52;-1:-1:-1;830:23:15;;679:180;-1:-1:-1;679:180:15:o;1231:131::-;-1:-1:-1;;;;;1306:31:15;;1296:42;;1286:70;;1352:1;1349;1342:12;1286:70;1231:131;:::o;1367:247::-;1426:6;1479:2;1467:9;1458:7;1454:23;1450:32;1447:52;;;1495:1;1492;1485:12;1447:52;1534:9;1521:23;1553:31;1578:5;1553:31;:::i;1619:315::-;1687:6;1695;1748:2;1736:9;1727:7;1723:23;1719:32;1716:52;;;1764:1;1761;1754:12;1716:52;1800:9;1787:23;1777:33;;1860:2;1849:9;1845:18;1832:32;1873:31;1898:5;1873:31;:::i;:::-;1923:5;1913:15;;;1619:315;;;;;:::o;2147:118::-;2233:5;2226:13;2219:21;2212:5;2209:32;2199:60;;2255:1;2252;2245:12;2270:241;2326:6;2379:2;2367:9;2358:7;2354:23;2350:32;2347:52;;;2395:1;2392;2385:12;2347:52;2434:9;2421:23;2453:28;2475:5;2453:28;:::i;2783:184::-;2853:6;2906:2;2894:9;2885:7;2881:23;2877:32;2874:52;;;2922:1;2919;2912:12;2874:52;-1:-1:-1;2945:16:15;;2783:184;-1:-1:-1;2783:184:15:o;2972:261::-;-1:-1:-1;;;3174:25:15;;3224:2;3215:12;;2972:261::o;3238:245::-;3305:6;3358:2;3346:9;3337:7;3333:23;3329:32;3326:52;;;3374:1;3371;3364:12;3326:52;3406:9;3400:16;3425:28;3447:5;3425:28;:::i;3488:353::-;3690:2;3672:21;;;3729:2;3709:18;;;3702:30;3768:31;3763:2;3748:18;;3741:59;3832:2;3817:18;;3488:353::o;4521:127::-;4582:10;4577:3;4573:20;4570:1;4563:31;4613:4;4610:1;4603:15;4637:4;4634:1;4627:15;4653:125;4693:4;4721:1;4718;4715:8;4712:34;;;4726:18;;:::i;:::-;-1:-1:-1;4763:9:15;;4653:125::o;8875:168::-;8915:7;8981:1;8977;8973:6;8969:14;8966:1;8963:21;8958:1;8951:9;8944:17;8940:45;8937:71;;;8988:18;;:::i;:::-;-1:-1:-1;9028:9:15;;8875:168::o;9048:217::-;9088:1;9114;9104:132;;9158:10;9153:3;9149:20;9146:1;9139:31;9193:4;9190:1;9183:15;9221:4;9218:1;9211:15;9104:132;-1:-1:-1;9250:9:15;;9048:217::o;10930:251::-;11000:6;11053:2;11041:9;11032:7;11028:23;11024:32;11021:52;;;11069:1;11066;11059:12;11021:52;11101:9;11095:16;11120:31;11145:5;11120:31;:::i;12531:128::-;12571:3;12602:1;12598:6;12595:1;12592:13;12589:39;;;12608:18;;:::i;:::-;-1:-1:-1;12644:9:15;;12531:128::o;16391:258::-;16463:1;16473:113;16487:6;16484:1;16481:13;16473:113;;;16563:11;;;16557:18;16544:11;;;16537:39;16509:2;16502:10;16473:113;;;16604:6;16601:1;16598:13;16595:48;;;16639:1;16630:6;16625:3;16621:16;16614:27;16595:48;;16391:258;;;:::o;16654:786::-;17065:25;17060:3;17053:38;17035:3;17120:6;17114:13;17136:62;17191:6;17186:2;17181:3;17177:12;17170:4;17162:6;17158:17;17136:62;:::i;:::-;-1:-1:-1;;;17257:2:15;17217:16;;;17249:11;;;17242:40;17307:13;;17329:63;17307:13;17378:2;17370:11;;17363:4;17351:17;;17329:63;:::i;:::-;17412:17;17431:2;17408:26;;16654:786;-1:-1:-1;;;;16654:786:15:o;17445:383::-;17594:2;17583:9;17576:21;17557:4;17626:6;17620:13;17669:6;17664:2;17653:9;17649:18;17642:34;17685:66;17744:6;17739:2;17728:9;17724:18;17719:2;17711:6;17707:15;17685:66;:::i;:::-;17812:2;17791:15;-1:-1:-1;;17787:29:15;17772:45;;;;17819:2;17768:54;;17445:383;-1:-1:-1;;17445:383:15:o;17833:435::-;-1:-1:-1;;;18090:3:15;18083:31;18065:3;18143:6;18137:13;18159:62;18214:6;18209:2;18204:3;18200:12;18193:4;18185:6;18181:17;18159:62;:::i;:::-;18241:16;;;;18259:2;18237:25;;17833:435;-1:-1:-1;;17833:435:15:o;18629:127::-;18690:10;18685:3;18681:20;18678:1;18671:31;18721:4;18718:1;18711:15;18745:4;18742:1;18735:15;18761:127;18822:10;18817:3;18813:20;18810:1;18803:31;18853:4;18850:1;18843:15;18877:4;18874:1;18867:15;18893:136;18932:3;18960:5;18950:39;;18969:18;;:::i;:::-;-1:-1:-1;;;19005:18:15;;18893:136::o" + }, + "gasEstimates": { + "creation": { + "codeDepositCost": "2654800", + "executionCost": "infinite", + "totalCost": "infinite" + }, + "external": { + "DEFAULT_ADMIN_ROLE()": "262", + "POOL_MANAGER()": "infinite", + "addPoolManager(address)": "infinite", + "calculateRewards()": "infinite", + "deposit()": "infinite", + "getContributionLimit()": "infinite", + "getMinContribution()": "infinite", + "getPoolBaseAddress()": "infinite", + "getPoolClientAddress()": "infinite", + "getPoolMaxSize()": "infinite", + "getPoolState()": "infinite", + "getRewardsInterest()": "infinite", + "getRewardsInterval()": "infinite", + "getRewardsToInject()": "infinite", + "getRoleAdmin(bytes32)": "2515", + "grantRole(bytes32,address)": "infinite", + "hasRole(bytes32,address)": "2761", + "removePoolManager(address)": "infinite", + "renounceRole(bytes32,address)": "29062", + "revokeRole(bytes32,address)": "infinite", + "rewardsInjector()": "infinite", + "setContributionLimit(uint256)": "infinite", + "setMinContribution(uint256)": "infinite", + "setPoolLive(bool)": "infinite", + "setPoolMaxSize(uint256)": "infinite", + "setRewardsInterest(uint256)": "infinite", + "setRewardsInterval(uint256)": "infinite", + "supportsInterface(bytes4)": "473", + "withdraw(uint256)": "infinite" + }, + "internal": { + "_depositToVault()": "infinite", + "_setPoolClientAddress()": "infinite" + } + }, + "methodIdentifiers": { + "DEFAULT_ADMIN_ROLE()": "a217fddf", + "POOL_MANAGER()": "62308e85", + "addPoolManager(address)": "45077e71", + "calculateRewards()": "3e50de30", + "deposit()": "d0e30db0", + "getContributionLimit()": "fa1e19e5", + "getMinContribution()": "6cff7473", + "getPoolBaseAddress()": "8ae68134", + "getPoolClientAddress()": "6c426607", + "getPoolMaxSize()": "095df57f", + "getPoolState()": "217ac237", + "getRewardsInterest()": "7521796f", + "getRewardsInterval()": "497d0241", + "getRewardsToInject()": "9ed03ab6", + "getRoleAdmin(bytes32)": "248a9ca3", + "grantRole(bytes32,address)": "2f2ff15d", + "hasRole(bytes32,address)": "91d14854", + "removePoolManager(address)": "29ca15bc", + "renounceRole(bytes32,address)": "36568abe", + "revokeRole(bytes32,address)": "d547741f", + "rewardsInjector()": "ee7d4d2b", + "setContributionLimit(uint256)": "72d099a0", + "setMinContribution(uint256)": "473b0d46", + "setPoolLive(bool)": "a4975516", + "setPoolMaxSize(uint256)": "12646987", + "setRewardsInterest(uint256)": "bf4c0036", + "setRewardsInterval(uint256)": "53710f49", + "supportsInterface(bytes4)": "01ffc9a7", + "withdraw(uint256)": "2e1a7d4d" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract DataStorageInterface\",\"name\":\"_dataStorageAddress\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_removedManager\",\"type\":\"address\"}],\"name\":\"ManagerRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_newManager\",\"type\":\"address\"}],\"name\":\"NewManagerAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_lastRewardTime\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_amountInjected\",\"type\":\"uint256\"}],\"name\":\"RewardsInjected\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_staker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_ethAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_time\",\"type\":\"uint256\"}],\"name\":\"UserStaked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_unstaker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_ethAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_time\",\"type\":\"uint256\"}],\"name\":\"UserUnstaked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"POOL_MANAGER\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"addPoolManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"calculateRewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getContributionLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMinContribution\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolBaseAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolClientAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolMaxSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolState\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsInterest\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsInterval\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsToInject\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"removePoolManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardsInjector\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newContrLimit\",\"type\":\"uint256\"}],\"name\":\"setContributionLimit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newMinContr\",\"type\":\"uint256\"}],\"name\":\"setMinContribution\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_live\",\"type\":\"bool\"}],\"name\":\"setPoolLive\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxSize\",\"type\":\"uint256\"}],\"name\":\"setPoolMaxSize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_rewardsInterest\",\"type\":\"uint256\"}],\"name\":\"setRewardsInterest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_daysToRewards\",\"type\":\"uint256\"}],\"name\":\"setRewardsInterval\",\"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\":\"uint256\",\"name\":\"_rwEthAmount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"calculateRewards()\":{\"details\":\"Helps the team calculate the rewards. Also, assigns the amount to inject into a variable.\"},\"deposit()\":{\"details\":\"Main Staking function. Allows users to deposit ether in exchange of rwEther.\"},\"getRewardsToInject()\":{\"details\":\"Gets the lastest amount of ether to inject.\"},\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role.\"},\"rewardsInjector()\":{\"details\":\"This function logic prevents the team to inject a wrong amount of ether as rewards.\"},\"setContributionLimit(uint256)\":{\"details\":\"Set the max. contribution allowed for each user.\",\"params\":{\"_newContrLimit\":\"is a WEI value.\"}},\"setMinContribution(uint256)\":{\"details\":\"Set the min. contribution allowed for each user.\",\"params\":{\"_newMinContr\":\"is a WEI value.\"}},\"setPoolLive(bool)\":{\"details\":\"Toggles the Pool Investing Switch. \"},\"setPoolMaxSize(uint256)\":{\"details\":\"Sets the Pool Maximium size expressed on ether.\",\"params\":{\"_maxSize\":\"is a WEI value (or BigInt / BigNumber).\"}},\"setRewardsInterest(uint256)\":{\"details\":\"Set the interest per effective period.\",\"params\":{\"_rewardsInterest\":\"within the storage has 6 decimals.\"}},\"setRewardsInterval(uint256)\":{\"details\":\"Set the interval in days of the rewards period.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"},\"withdraw(uint256)\":{\"details\":\"Main Unstaking function. Allows users to deposit rwEther in exchange of Ether.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"deposit()\":{\"notice\":\"The exchange rate (ETH / rwETH) is calculated within the mint function. The minting function updates only the current rwEth supply.The mint function comes with a built-in ether/rwEther converter.Once the user deposits, the ether go to the vault contract.\"},\"rewardsInjector()\":{\"notice\":\"With this function, both the team and the users will have the insuarance that the right amount will be injected.the require reverts the process if a wrong amount is willed to be injected.this function does not updates the poolEther size, it just updates the total amount of ether on the contract network.\"},\"setPoolLive(bool)\":{\"notice\":\"While live, anyone can invest but any state variable can be modified nor deleted.\"},\"setRewardsInterest(uint256)\":{\"notice\":\"E.G. If 0.001134 rate is desired, 0.001134 * (10**6) = 1134.\"},\"withdraw(uint256)\":{\"notice\":\"The withdrawEther function updates the total_ether_supply and its staked amount.Once it is called, the rwEth amount is burned and the vault sends to this contract the ether counterpart.User needs to provide allowance to the contract to make this call (performed on the frontend of the Dapp).\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolClient.sol\":\"PoolClient\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol\":{\"keccak256\":\"0x3975407e20a5345cd87826b306c7396e1dbb89c869df5e22338573a6ae16bc10\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1edcadb90f5e1fecf0d1f1f3d3aba9ae54f0ff97819b3ef07294b1d0aca1220d\",\"dweb:/ipfs/QmRA9ZSxbGGb1cKEzjTbxfBaWtnZmpb152Z2JhobRxuhnw\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolClient.sol\":{\"keccak256\":\"0xd6fa944b4ab3e2ffb3b7a15b4f65363aaf0ea237351bf11da7d4e89716c9d8ef\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3942d3a9cc6810f0efd88212d29020b76d57f81f4e8ef5c72df350d15c78e4fb\",\"dweb:/ipfs/QmQVB3LKyXXRPAPVHjTRoYptXbTtZVsAAc3Bqn2zowtdV9\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol\":{\"keccak256\":\"0xf4a98c1519c0382a5c40cb047b7c1a33713d46062b68907c38eba7e24ce87773\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5921b6865f1504704ffbb252f719db25619236bed2ae94b18df01e1333bb4161\",\"dweb:/ipfs/QmR5TQmepq7zVfLD4WPUnVgHRRwYXDghwdrDqzgCWBmVvP\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/PoolClientInterface.sol\":{\"keccak256\":\"0xa59d4bf448ba386acaab82a61db4f328a435087d6b8762c9656304dd389e58f3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9402221a97332e337c9d69d6facb0fc0fc8714ab9f17f2f524dcee672935ac6a\",\"dweb:/ipfs/QmesinWVXy7HNGfr6gNLCw1KwCW69L6tVcdN3MfUXv9FBo\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/PoolVaultInterface.sol\":{\"keccak256\":\"0x6a5e54c32cb29336e1e2373dda5c25a5ce08f61a803977d3f14e3f24542b166c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b4e370bc26e51bf6356b695945e638cfcd2da8534e030a7e641214c43c5d4ef5\",\"dweb:/ipfs/QmTJgHGoz3My1XWpRS6bTfFQEqBE2Tmr3dKQFTWwunSVNX\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/TokenBalancesInterface.sol\":{\"keccak256\":\"0xfc3098d143892732f2a08d57c83be9c60e5202afafcbae4e27ef09e7eaa0869c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://364c1e3bd1dedc5ee5b38420443d540cfe4b3df727df8bc38341fcab081236c1\",\"dweb:/ipfs/Qmb6TYhhLiZ7Xea7nrG5PJEVTTqJSoHEYwhXJEYsQT3NCU\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/rwETHTokenInterface.sol\":{\"keccak256\":\"0x6717fc36882425132d1466f1c6e9ddd6b527bcb228c2bebba10f352f1db9d171\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3b49d4927ebdfeb63c9ba8c2a749cb4293b1c36ef4e5e844de0e6b971d7f9a9b\",\"dweb:/ipfs/QmdAFy37toxrpLcGaR3smweP5vHYwjpLapAHJMQYC6vFL8\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0x4a1a0ba12bf1a33f10d9fe226278cf59675c0b929d29e4da99658a079b27fb84\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bda1319db846d6d6f92d8a57a9bdee8bde1dc39aa7546165791692c24dd6f30a\",\"dweb:/ipfs/Qma5oZ7DmbdAjd8mpiW7mx896PDtwsQtCQ2hj9Upf7b7JK\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol\":{\"keccak256\":\"0x0e9621f60b2faabe65549f7ed0f24e8853a45c1b7990d47e8160e523683f3935\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://287a2f8d5814dd0f05f22b740f18ca8321acc21c9bd03a6cb2203ea626e2f3f2\",\"dweb:/ipfs/QmZRQv9iuwU817VuqkA2WweiaibKii69x9QxYBBEfbNEud\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xbbc8ac883ac3c0078ce5ad3e288fbb3ffcc8a30c3a98c0fda0114d64fc44fca2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87a7a5d2f6f63f84598af02b8c50ca2df2631cb8ba2453e8d95fcb17e4be9824\",\"dweb:/ipfs/QmR76hqtAcRqoFj33tmNjcWTLrgNsAaakYwnKZ8zoJtKei\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}", + "storageLayout": { + "storage": [ + { + "astId": 1550, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolClient.sol:PoolClient", + "label": "_roles", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_bytes32,t_struct(RoleData)1545_storage)" + }, + { + "astId": 1918, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolClient.sol:PoolClient", + "label": "_status", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 26, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolClient.sol:PoolClient", + "label": "dataStorage", + "offset": 0, + "slot": "2", + "type": "t_contract(DataStorageInterface)1393" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_contract(DataStorageInterface)1393": { + "encoding": "inplace", + "label": "contract DataStorageInterface", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_bool)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_bytes32,t_struct(RoleData)1545_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => struct AccessControl.RoleData)", + "numberOfBytes": "32", + "value": "t_struct(RoleData)1545_storage" + }, + "t_struct(RoleData)1545_storage": { + "encoding": "inplace", + "label": "struct AccessControl.RoleData", + "members": [ + { + "astId": 1542, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolClient.sol:PoolClient", + "label": "members", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 1544, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolClient.sol:PoolClient", + "label": "adminRole", + "offset": 0, + "slot": "1", + "type": "t_bytes32" + } + ], + "numberOfBytes": "64" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } + }, + "userdoc": { + "kind": "user", + "methods": { + "deposit()": { + "notice": "The exchange rate (ETH / rwETH) is calculated within the mint function. The minting function updates only the current rwEth supply.The mint function comes with a built-in ether/rwEther converter.Once the user deposits, the ether go to the vault contract." + }, + "rewardsInjector()": { + "notice": "With this function, both the team and the users will have the insuarance that the right amount will be injected.the require reverts the process if a wrong amount is willed to be injected.this function does not updates the poolEther size, it just updates the total amount of ether on the contract network." + }, + "setPoolLive(bool)": { + "notice": "While live, anyone can invest but any state variable can be modified nor deleted." + }, + "setRewardsInterest(uint256)": { + "notice": "E.G. If 0.001134 rate is desired, 0.001134 * (10**6) = 1134." + }, + "withdraw(uint256)": { + "notice": "The withdrawEther function updates the total_ether_supply and its staked amount.Once it is called, the rwEth amount is burned and the vault sends to this contract the ether counterpart.User needs to provide allowance to the contract to make this call (performed on the frontend of the Dapp)." + } + }, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol": { + "DataStorageInterface": { + "abi": [ + { + "inputs": [], + "name": "confirmGuard", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_decrement", + "type": "uint256" + } + ], + "name": "decreaseUintStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "deleteAddressStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "deleteBoolStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "deleteUintStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getAddressStorage", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getBoolStorage", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getCurrentGuardian", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getDataStorageAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getStorageStatus", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getUintStorage", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_increment", + "type": "uint256" + } + ], + "name": "increaseUintStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_value", + "type": "address" + } + ], + "name": "setAddressStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bool", + "name": "_value", + "type": "bool" + } + ], + "name": "setBoolStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_newGuardian", + "type": "address" + } + ], + "name": "setNewGuardian", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "setStorageLive", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "setUintStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "confirmGuard()": "27918182", + "decreaseUintStorage(bytes32,uint256)": "5bcfee67", + "deleteAddressStorage(bytes32)": "e732da72", + "deleteBoolStorage(bytes32)": "b240da3f", + "deleteUintStorage(bytes32)": "8a2c6738", + "getAddressStorage(bytes32)": "2a90bbb2", + "getBoolStorage(bytes32)": "55d94655", + "getCurrentGuardian()": "0bc169a5", + "getDataStorageAddress()": "638f8360", + "getStorageStatus()": "545e1b52", + "getUintStorage(bytes32)": "afc3602b", + "increaseUintStorage(bytes32,uint256)": "1d8895e0", + "setAddressStorage(bytes32,address)": "7221263a", + "setBoolStorage(bytes32,bool)": "988c515b", + "setNewGuardian(address)": "e87f7c31", + "setStorageLive()": "66b80832", + "setUintStorage(bytes32,uint256)": "28192c55" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"confirmGuard\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_decrement\",\"type\":\"uint256\"}],\"name\":\"decreaseUintStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"deleteAddressStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"deleteBoolStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"deleteUintStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"getAddressStorage\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"getBoolStorage\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCurrentGuardian\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDataStorageAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getStorageStatus\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"getUintStorage\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_increment\",\"type\":\"uint256\"}],\"name\":\"increaseUintStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_value\",\"type\":\"address\"}],\"name\":\"setAddressStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"_value\",\"type\":\"bool\"}],\"name\":\"setBoolStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newGuardian\",\"type\":\"address\"}],\"name\":\"setNewGuardian\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"setStorageLive\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"setUintStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol\":\"DataStorageInterface\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol\":{\"keccak256\":\"0xf4a98c1519c0382a5c40cb047b7c1a33713d46062b68907c38eba7e24ce87773\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5921b6865f1504704ffbb252f719db25619236bed2ae94b18df01e1333bb4161\",\"dweb:/ipfs/QmR5TQmepq7zVfLD4WPUnVgHRRwYXDghwdrDqzgCWBmVvP\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/PoolClientInterface.sol": { + "PoolClientInterface": { + "abi": [ + { + "inputs": [], + "name": "calculateRewards", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "deposit", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolClientAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + } + ], + "name": "setAllowance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "withdraw", + "outputs": [], + "stateMutability": "payable", + "type": "function" + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "calculateRewards()": "3e50de30", + "deposit()": "d0e30db0", + "getPoolClientAddress()": "6c426607", + "setAllowance(uint256)": "3ba93f26", + "withdraw()": "3ccfd60b" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"calculateRewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolClientAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"setAllowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/PoolClientInterface.sol\":\"PoolClientInterface\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/PoolClientInterface.sol\":{\"keccak256\":\"0xa59d4bf448ba386acaab82a61db4f328a435087d6b8762c9656304dd389e58f3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9402221a97332e337c9d69d6facb0fc0fc8714ab9f17f2f524dcee672935ac6a\",\"dweb:/ipfs/QmesinWVXy7HNGfr6gNLCw1KwCW69L6tVcdN3MfUXv9FBo\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/PoolVaultInterface.sol": { + "PoolVaultInterface": { + "abi": [ + { + "inputs": [], + "name": "getPoolVaultAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "poolEtherSize", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "processRewards", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "storeEther", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_ethAmount", + "type": "uint256" + } + ], + "name": "withdrawEther", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "getPoolVaultAddress()": "c3577d48", + "poolEtherSize()": "ccfe0c8e", + "processRewards()": "f9fc0d07", + "storeEther()": "a7cc190a", + "withdrawEther(address,uint256)": "522f6815" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"getPoolVaultAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolEtherSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"processRewards\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"storeEther\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_ethAmount\",\"type\":\"uint256\"}],\"name\":\"withdrawEther\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/PoolVaultInterface.sol\":\"PoolVaultInterface\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/PoolVaultInterface.sol\":{\"keccak256\":\"0x6a5e54c32cb29336e1e2373dda5c25a5ce08f61a803977d3f14e3f24542b166c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b4e370bc26e51bf6356b695945e638cfcd2da8534e030a7e641214c43c5d4ef5\",\"dweb:/ipfs/QmTJgHGoz3My1XWpRS6bTfFQEqBE2Tmr3dKQFTWwunSVNX\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/TokenBalancesInterface.sol": { + "TokenBalancesInterface": { + "abi": [ + { + "inputs": [], + "name": "getRwEthBurned", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_user", + "type": "address" + } + ], + "name": "getRwEthMintedByUser", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getTokenBalancesAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getTotalEthSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getTotalEtherStaked", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getTotalrwEthSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "getRwEthBurned()": "ab0cbfb9", + "getRwEthMintedByUser(address)": "b7c67af0", + "getTokenBalancesAddress()": "a578267c", + "getTotalEthSupply()": "6402c262", + "getTotalEtherStaked()": "70959ff8", + "getTotalrwEthSupply()": "e2bcb3df" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"getRwEthBurned\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"getRwEthMintedByUser\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTokenBalancesAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalEthSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalEtherStaked\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalrwEthSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/TokenBalancesInterface.sol\":\"TokenBalancesInterface\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/TokenBalancesInterface.sol\":{\"keccak256\":\"0xfc3098d143892732f2a08d57c83be9c60e5202afafcbae4e27ef09e7eaa0869c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://364c1e3bd1dedc5ee5b38420443d540cfe4b3df727df8bc38341fcab081236c1\",\"dweb:/ipfs/Qmb6TYhhLiZ7Xea7nrG5PJEVTTqJSoHEYwhXJEYsQT3NCU\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/rwETHTokenInterface.sol": { + "rwETHTokenInterface": { + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "spender", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_rwEthAmount", + "type": "uint256" + } + ], + "name": "burn", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_rwEthAmount", + "type": "uint256" + } + ], + "name": "calcEthValue", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_ethAmount", + "type": "uint256" + } + ], + "name": "calcRwEthValue", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRwETHTokenAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_ethAmount", + "type": "uint256" + } + ], + "name": "getUnitPrice", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_ethAmount", + "type": "uint256" + } + ], + "name": "mint", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "setRwETHTokenAddress", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "devdoc": { + "kind": "dev", + "methods": { + "allowance(address,address)": { + "details": "Returns the remaining number of tokens that `spender` will be allowed to spend on behalf of `owner` through {transferFrom}. This is zero by default. This value changes when {approve} or {transferFrom} are called." + }, + "approve(address,uint256)": { + "details": "Sets `amount` as the allowance of `spender` over the caller's tokens. Returns a boolean value indicating whether the operation succeeded. IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 Emits an {Approval} event." + }, + "balanceOf(address)": { + "details": "Returns the amount of tokens owned by `account`." + }, + "totalSupply()": { + "details": "Returns the amount of tokens in existence." + }, + "transfer(address,uint256)": { + "details": "Moves `amount` tokens from the caller's account to `to`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event." + }, + "transferFrom(address,address,uint256)": { + "details": "Moves `amount` tokens from `from` to `to` using the allowance mechanism. `amount` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event." + } + }, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "allowance(address,address)": "dd62ed3e", + "approve(address,uint256)": "095ea7b3", + "balanceOf(address)": "70a08231", + "burn(uint256)": "42966c68", + "calcEthValue(uint256)": "12946fe1", + "calcRwEthValue(uint256)": "3ef3183c", + "getRwETHTokenAddress()": "d00283ce", + "getUnitPrice(uint256)": "64c0e52f", + "mint(address,uint256)": "40c10f19", + "setRwETHTokenAddress()": "e8022195", + "totalSupply()": "18160ddd", + "transfer(address,uint256)": "a9059cbb", + "transferFrom(address,address,uint256)": "23b872dd" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_rwEthAmount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_rwEthAmount\",\"type\":\"uint256\"}],\"name\":\"calcEthValue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_ethAmount\",\"type\":\"uint256\"}],\"name\":\"calcRwEthValue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRwETHTokenAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_ethAmount\",\"type\":\"uint256\"}],\"name\":\"getUnitPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_ethAmount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"setRwETHTokenAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"allowance(address,address)\":{\"details\":\"Returns the remaining number of tokens that `spender` will be allowed to spend on behalf of `owner` through {transferFrom}. This is zero by default. This value changes when {approve} or {transferFrom} are called.\"},\"approve(address,uint256)\":{\"details\":\"Sets `amount` as the allowance of `spender` over the caller's tokens. Returns a boolean value indicating whether the operation succeeded. IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the amount of tokens owned by `account`.\"},\"totalSupply()\":{\"details\":\"Returns the amount of tokens in existence.\"},\"transfer(address,uint256)\":{\"details\":\"Moves `amount` tokens from the caller's account to `to`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Moves `amount` tokens from `from` to `to` using the allowance mechanism. `amount` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/rwETHTokenInterface.sol\":\"rwETHTokenInterface\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/rwETHTokenInterface.sol\":{\"keccak256\":\"0x6717fc36882425132d1466f1c6e9ddd6b527bcb228c2bebba10f352f1db9d171\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3b49d4927ebdfeb63c9ba8c2a749cb4293b1c36ef4e5e844de0e6b971d7f9a9b\",\"dweb:/ipfs/QmdAFy37toxrpLcGaR3smweP5vHYwjpLapAHJMQYC6vFL8\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xbbc8ac883ac3c0078ce5ad3e288fbb3ffcc8a30c3a98c0fda0114d64fc44fca2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87a7a5d2f6f63f84598af02b8c50ca2df2631cb8ba2453e8d95fcb17e4be9824\",\"dweb:/ipfs/QmR76hqtAcRqoFj33tmNjcWTLrgNsAaakYwnKZ8zoJtKei\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol": { + "AccessControl": { + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "devdoc": { + "details": "Contract module that allows children to implement role-based access control mechanisms. This is a lightweight version that doesn't allow enumerating role members except through off-chain means by accessing the contract event logs. Some applications may benefit from on-chain enumerability, for those cases see {AccessControlEnumerable}. Roles are referred to by their `bytes32` identifier. These should be exposed in the external API and be unique. The best way to achieve this is by using `public constant` hash digests: ``` bytes32 public constant MY_ROLE = keccak256(\"MY_ROLE\"); ``` Roles can be used to represent a set of permissions. To restrict access to a function call, use {hasRole}: ``` function foo() public { require(hasRole(MY_ROLE, msg.sender)); ... } ``` Roles can be granted and revoked dynamically via the {grantRole} and {revokeRole} functions. Each role has an associated admin role, and only accounts that have a role's admin role can call {grantRole} and {revokeRole}. By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means that only accounts with this role will be able to grant or revoke other roles. More complex role relationships can be created by using {_setRoleAdmin}. WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to grant and revoke this role. Extra precautions should be taken to secure accounts that have been granted it.", + "kind": "dev", + "methods": { + "getRoleAdmin(bytes32)": { + "details": "Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}." + }, + "grantRole(bytes32,address)": { + "details": "Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role." + }, + "hasRole(bytes32,address)": { + "details": "Returns `true` if `account` has been granted `role`." + }, + "renounceRole(bytes32,address)": { + "details": "Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`." + }, + "revokeRole(bytes32,address)": { + "details": "Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role." + }, + "supportsInterface(bytes4)": { + "details": "See {IERC165-supportsInterface}." + } + }, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "DEFAULT_ADMIN_ROLE()": "a217fddf", + "getRoleAdmin(bytes32)": "248a9ca3", + "grantRole(bytes32,address)": "2f2ff15d", + "hasRole(bytes32,address)": "91d14854", + "renounceRole(bytes32,address)": "36568abe", + "revokeRole(bytes32,address)": "d547741f", + "supportsInterface(bytes4)": "01ffc9a7" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Contract module that allows children to implement role-based access control mechanisms. This is a lightweight version that doesn't allow enumerating role members except through off-chain means by accessing the contract event logs. Some applications may benefit from on-chain enumerability, for those cases see {AccessControlEnumerable}. Roles are referred to by their `bytes32` identifier. These should be exposed in the external API and be unique. The best way to achieve this is by using `public constant` hash digests: ``` bytes32 public constant MY_ROLE = keccak256(\\\"MY_ROLE\\\"); ``` Roles can be used to represent a set of permissions. To restrict access to a function call, use {hasRole}: ``` function foo() public { require(hasRole(MY_ROLE, msg.sender)); ... } ``` Roles can be granted and revoked dynamically via the {grantRole} and {revokeRole} functions. Each role has an associated admin role, and only accounts that have a role's admin role can call {grantRole} and {revokeRole}. By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means that only accounts with this role will be able to grant or revoke other roles. More complex role relationships can be created by using {_setRoleAdmin}. WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to grant and revoke this role. Extra precautions should be taken to secure accounts that have been granted it.\",\"kind\":\"dev\",\"methods\":{\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol\":\"AccessControl\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0x4a1a0ba12bf1a33f10d9fe226278cf59675c0b929d29e4da99658a079b27fb84\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bda1319db846d6d6f92d8a57a9bdee8bde1dc39aa7546165791692c24dd6f30a\",\"dweb:/ipfs/Qma5oZ7DmbdAjd8mpiW7mx896PDtwsQtCQ2hj9Upf7b7JK\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}", + "storageLayout": { + "storage": [ + { + "astId": 1550, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol:AccessControl", + "label": "_roles", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_bytes32,t_struct(RoleData)1545_storage)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_bool)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_bytes32,t_struct(RoleData)1545_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => struct AccessControl.RoleData)", + "numberOfBytes": "32", + "value": "t_struct(RoleData)1545_storage" + }, + "t_struct(RoleData)1545_storage": { + "encoding": "inplace", + "label": "struct AccessControl.RoleData", + "members": [ + { + "astId": 1542, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol:AccessControl", + "label": "members", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 1544, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol:AccessControl", + "label": "adminRole", + "offset": 0, + "slot": "1", + "type": "t_bytes32" + } + ], + "numberOfBytes": "64" + } + } + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol": { + "IAccessControl": { + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "devdoc": { + "details": "External interface of AccessControl declared to support ERC165 detection.", + "events": { + "RoleAdminChanged(bytes32,bytes32,bytes32)": { + "details": "Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite {RoleAdminChanged} not being emitted signaling this. _Available since v3.1._" + }, + "RoleGranted(bytes32,address,address)": { + "details": "Emitted when `account` is granted `role`. `sender` is the account that originated the contract call, an admin role bearer except when using {AccessControl-_setupRole}." + }, + "RoleRevoked(bytes32,address,address)": { + "details": "Emitted when `account` is revoked `role`. `sender` is the account that originated the contract call: - if using `revokeRole`, it is the admin role bearer - if using `renounceRole`, it is the role bearer (i.e. `account`)" + } + }, + "kind": "dev", + "methods": { + "getRoleAdmin(bytes32)": { + "details": "Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {AccessControl-_setRoleAdmin}." + }, + "grantRole(bytes32,address)": { + "details": "Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role." + }, + "hasRole(bytes32,address)": { + "details": "Returns `true` if `account` has been granted `role`." + }, + "renounceRole(bytes32,address)": { + "details": "Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`." + }, + "revokeRole(bytes32,address)": { + "details": "Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role." + } + }, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "getRoleAdmin(bytes32)": "248a9ca3", + "grantRole(bytes32,address)": "2f2ff15d", + "hasRole(bytes32,address)": "91d14854", + "renounceRole(bytes32,address)": "36568abe", + "revokeRole(bytes32,address)": "d547741f" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"External interface of AccessControl declared to support ERC165 detection.\",\"events\":{\"RoleAdminChanged(bytes32,bytes32,bytes32)\":{\"details\":\"Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite {RoleAdminChanged} not being emitted signaling this. _Available since v3.1._\"},\"RoleGranted(bytes32,address,address)\":{\"details\":\"Emitted when `account` is granted `role`. `sender` is the account that originated the contract call, an admin role bearer except when using {AccessControl-_setupRole}.\"},\"RoleRevoked(bytes32,address,address)\":{\"details\":\"Emitted when `account` is revoked `role`. `sender` is the account that originated the contract call: - if using `revokeRole`, it is the admin role bearer - if using `renounceRole`, it is the role bearer (i.e. `account`)\"}},\"kind\":\"dev\",\"methods\":{\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {AccessControl-_setRoleAdmin}.\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":\"IAccessControl\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol": { + "ReentrancyGuard": { + "abi": [], + "devdoc": { + "details": "Contract module that helps prevent reentrant calls to a function. Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier available, which can be applied to functions to make sure there are no nested (reentrant) calls to them. Note that because there is a single `nonReentrant` guard, functions marked as `nonReentrant` may not call one another. This can be worked around by making those functions `private`, and then adding `external` `nonReentrant` entry points to them. TIP: If you would like to learn more about reentrancy and alternative ways to protect against it, check out our blog post https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].", + "kind": "dev", + "methods": {}, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": {} + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Contract module that helps prevent reentrant calls to a function. Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier available, which can be applied to functions to make sure there are no nested (reentrant) calls to them. Note that because there is a single `nonReentrant` guard, functions marked as `nonReentrant` may not call one another. This can be worked around by making those functions `private`, and then adding `external` `nonReentrant` entry points to them. TIP: If you would like to learn more about reentrancy and alternative ways to protect against it, check out our blog post https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol\":\"ReentrancyGuard\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol\":{\"keccak256\":\"0x0e9621f60b2faabe65549f7ed0f24e8853a45c1b7990d47e8160e523683f3935\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://287a2f8d5814dd0f05f22b740f18ca8321acc21c9bd03a6cb2203ea626e2f3f2\",\"dweb:/ipfs/QmZRQv9iuwU817VuqkA2WweiaibKii69x9QxYBBEfbNEud\"]}},\"version\":1}", + "storageLayout": { + "storage": [ + { + "astId": 1918, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol:ReentrancyGuard", + "label": "_status", + "offset": 0, + "slot": "0", + "type": "t_uint256" + } + ], + "types": { + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol": { + "IERC20": { + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "spender", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "devdoc": { + "details": "Interface of the ERC20 standard as defined in the EIP.", + "events": { + "Approval(address,address,uint256)": { + "details": "Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance." + }, + "Transfer(address,address,uint256)": { + "details": "Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero." + } + }, + "kind": "dev", + "methods": { + "allowance(address,address)": { + "details": "Returns the remaining number of tokens that `spender` will be allowed to spend on behalf of `owner` through {transferFrom}. This is zero by default. This value changes when {approve} or {transferFrom} are called." + }, + "approve(address,uint256)": { + "details": "Sets `amount` as the allowance of `spender` over the caller's tokens. Returns a boolean value indicating whether the operation succeeded. IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 Emits an {Approval} event." + }, + "balanceOf(address)": { + "details": "Returns the amount of tokens owned by `account`." + }, + "totalSupply()": { + "details": "Returns the amount of tokens in existence." + }, + "transfer(address,uint256)": { + "details": "Moves `amount` tokens from the caller's account to `to`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event." + }, + "transferFrom(address,address,uint256)": { + "details": "Moves `amount` tokens from `from` to `to` using the allowance mechanism. `amount` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event." + } + }, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "allowance(address,address)": "dd62ed3e", + "approve(address,uint256)": "095ea7b3", + "balanceOf(address)": "70a08231", + "totalSupply()": "18160ddd", + "transfer(address,uint256)": "a9059cbb", + "transferFrom(address,address,uint256)": "23b872dd" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface of the ERC20 standard as defined in the EIP.\",\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero.\"}},\"kind\":\"dev\",\"methods\":{\"allowance(address,address)\":{\"details\":\"Returns the remaining number of tokens that `spender` will be allowed to spend on behalf of `owner` through {transferFrom}. This is zero by default. This value changes when {approve} or {transferFrom} are called.\"},\"approve(address,uint256)\":{\"details\":\"Sets `amount` as the allowance of `spender` over the caller's tokens. Returns a boolean value indicating whether the operation succeeded. IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the amount of tokens owned by `account`.\"},\"totalSupply()\":{\"details\":\"Returns the amount of tokens in existence.\"},\"transfer(address,uint256)\":{\"details\":\"Moves `amount` tokens from the caller's account to `to`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Moves `amount` tokens from `from` to `to` using the allowance mechanism. `amount` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\":\"IERC20\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xbbc8ac883ac3c0078ce5ad3e288fbb3ffcc8a30c3a98c0fda0114d64fc44fca2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87a7a5d2f6f63f84598af02b8c50ca2df2631cb8ba2453e8d95fcb17e4be9824\",\"dweb:/ipfs/QmR76hqtAcRqoFj33tmNjcWTLrgNsAaakYwnKZ8zoJtKei\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol": { + "Context": { + "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 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": {} + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"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\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol\":\"Context\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol": { + "Strings": { + "abi": [], + "devdoc": { + "details": "String operations.", + "kind": "dev", + "methods": {}, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202f9345af5ae9c45c24126d0cdf967b54d208ff8960058323c80bace4d36c3bae64736f6c63430008090033", + "opcodes": "PUSH1 0x56 PUSH1 0x37 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x2A JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST ADDRESS PUSH1 0x0 MSTORE PUSH1 0x73 DUP2 MSTORE8 DUP3 DUP2 RETURN INVALID PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x2F SWAP4 GASLIMIT 0xAF GAS 0xE9 0xC4 0x5C 0x24 SLT PUSH14 0xCDF967B54D208FF8960058323C8 SIGNEXTEND 0xAC 0xE4 0xD3 PUSH13 0x3BAE64736F6C63430008090033 ", + "sourceMap": "146:1885:12:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;146:1885:12;;;;;;;;;;;;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202f9345af5ae9c45c24126d0cdf967b54d208ff8960058323c80bace4d36c3bae64736f6c63430008090033", + "opcodes": "PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x2F SWAP4 GASLIMIT 0xAF GAS 0xE9 0xC4 0x5C 0x24 SLT PUSH14 0xCDF967B54D208FF8960058323C8 SIGNEXTEND 0xAC 0xE4 0xD3 PUSH13 0x3BAE64736F6C63430008090033 ", + "sourceMap": "146:1885:12:-:0;;;;;;;;" + }, + "gasEstimates": { + "creation": { + "codeDepositCost": "17200", + "executionCost": "103", + "totalCost": "17303" + }, + "internal": { + "toHexString(uint256)": "infinite", + "toHexString(uint256,uint256)": "infinite", + "toString(uint256)": "infinite" + } + }, + "methodIdentifiers": {} + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"String operations.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol\":\"Strings\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol": { + "ERC165": { + "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 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "supportsInterface(bytes4)": "01ffc9a7" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"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\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":\"ERC165\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol": { + "IERC165": { + "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 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "supportsInterface(bytes4)": "01ffc9a7" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"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\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":\"IERC165\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + } + }, + "sources": { + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol", + "exportedSymbols": { + "AccessControl": [ + 1834 + ], + "Context": [ + 2047 + ], + "DataStorageInterface": [ + 1393 + ], + "ERC165": [ + 2274 + ], + "IAccessControl": [ + 1907 + ], + "IERC165": [ + 2286 + ], + "PoolBase": [ + 591 + ], + "ReentrancyGuard": [ + 1947 + ], + "Strings": [ + 2250 + ] + }, + "id": 592, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1, + "literals": [ + "solidity", + "0.8", + ".9" + ], + "nodeType": "PragmaDirective", + "src": "33:22:0" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol", + "file": "./interfaces/DataStorageInterface.sol", + "id": 2, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 592, + "sourceUnit": 1394, + "src": "201:47:0", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol", + "file": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol", + "id": 3, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 592, + "sourceUnit": 1835, + "src": "250:132:0", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol", + "file": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol", + "id": 4, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 592, + "sourceUnit": 1948, + "src": "384:136:0", + "symbolAliases": [], + "unitAlias": "" + }, + { + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 6, + "name": "AccessControl", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1834, + "src": "648:13:0" + }, + "id": 7, + "nodeType": "InheritanceSpecifier", + "src": "648:13:0" + }, + { + "baseName": { + "id": 8, + "name": "ReentrancyGuard", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1947, + "src": "663:15:0" + }, + "id": 9, + "nodeType": "InheritanceSpecifier", + "src": "663:15:0" + } + ], + "canonicalName": "PoolBase", + "contractDependencies": [], + "contractKind": "contract", + "documentation": { + "id": 5, + "nodeType": "StructuredDocumentation", + "src": "524:101:0", + "text": "@title This contract handles the modifiers and environmental parameters that control the pool. " + }, + "fullyImplemented": true, + "id": 591, + "linearizedBaseContracts": [ + 591, + 1947, + 1834, + 2274, + 2286, + 1907, + 2047 + ], + "name": "PoolBase", + "nameLocation": "636:8:0", + "nodeType": "ContractDefinition", + "nodes": [ + { + "constant": true, + "functionSelector": "62308e85", + "id": 14, + "mutability": "constant", + "name": "POOL_MANAGER", + "nameLocation": "711:12:0", + "nodeType": "VariableDeclaration", + "scope": 591, + "src": "687:64:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 10, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "687:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": { + "arguments": [ + { + "hexValue": "504f4f4c5f4d414e41474552", + "id": 12, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "736:14:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842", + "typeString": "literal_string \"POOL_MANAGER\"" + }, + "value": "POOL_MANAGER" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842", + "typeString": "literal_string \"POOL_MANAGER\"" + } + ], + "id": 11, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "726:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 13, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "726:25:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "public" + }, + { + "anonymous": false, + "id": 18, + "name": "NewManagerAdded", + "nameLocation": "781:15:0", + "nodeType": "EventDefinition", + "parameters": { + "id": 17, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 16, + "indexed": true, + "mutability": "mutable", + "name": "_newManager", + "nameLocation": "813:11:0", + "nodeType": "VariableDeclaration", + "scope": 18, + "src": "797:27:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 15, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "797:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "796:29:0" + }, + "src": "775:51:0" + }, + { + "anonymous": false, + "id": 22, + "name": "ManagerRemoved", + "nameLocation": "838:14:0", + "nodeType": "EventDefinition", + "parameters": { + "id": 21, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 20, + "indexed": true, + "mutability": "mutable", + "name": "_removedManager", + "nameLocation": "869:15:0", + "nodeType": "VariableDeclaration", + "scope": 22, + "src": "853:31:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 19, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "853:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "852:33:0" + }, + "src": "832:54:0" + }, + { + "constant": false, + "documentation": { + "id": 23, + "nodeType": "StructuredDocumentation", + "src": "894:55:0", + "text": "@notice Getting access to the DataStorage Contract." + }, + "id": 26, + "mutability": "mutable", + "name": "dataStorage", + "nameLocation": "976:11:0", + "nodeType": "VariableDeclaration", + "scope": 591, + "src": "955:32:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + }, + "typeName": { + "id": 25, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 24, + "name": "DataStorageInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1393, + "src": "955:20:0" + }, + "referencedDeclaration": 1393, + "src": "955:20:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "visibility": "internal" + }, + { + "body": { + "id": 54, + "nodeType": "Block", + "src": "1258:206:0", + "statements": [ + { + "expression": { + "id": 37, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 33, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "1269:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "id": 35, + "name": "_dataStorageAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 30, + "src": "1304:19:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + ], + "id": 34, + "name": "DataStorageInterface", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1393, + "src": "1283:20:0", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_DataStorageInterface_$1393_$", + "typeString": "type(contract DataStorageInterface)" + } + }, + "id": 36, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1283:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "src": "1269:55:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 38, + "nodeType": "ExpressionStatement", + "src": "1269:55:0" + }, + { + "expression": { + "arguments": [ + { + "id": 40, + "name": "DEFAULT_ADMIN_ROLE", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1553, + "src": "1346:18:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "expression": { + "id": 41, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1366:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 42, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "1366:10:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 39, + "name": "_setupRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1742, + "src": "1335:10:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 43, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1335:42:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 44, + "nodeType": "ExpressionStatement", + "src": "1335:42:0" + }, + { + "expression": { + "arguments": [ + { + "id": 46, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "1399:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "expression": { + "id": 47, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1413:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 48, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "1413:10:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 45, + "name": "_setupRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1742, + "src": "1388:10:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 49, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1388:36:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 50, + "nodeType": "ExpressionStatement", + "src": "1388:36:0" + }, + { + "expression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 51, + "name": "_setPoolBaseAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 162, + "src": "1435:19:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", + "typeString": "function ()" + } + }, + "id": 52, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1435:21:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 53, + "nodeType": "ExpressionStatement", + "src": "1435:21:0" + } + ] + }, + "documentation": { + "id": 27, + "nodeType": "StructuredDocumentation", + "src": "1000:199:0", + "text": "@notice This contract will be deployed by the same address of the initial guardian. Afterwards Guardian may not be the same as the admin\n @notice if the guardian renounces to their guard." + }, + "id": 55, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 31, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 30, + "mutability": "mutable", + "name": "_dataStorageAddress", + "nameLocation": "1238:19:0", + "nodeType": "VariableDeclaration", + "scope": 55, + "src": "1217:40:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + }, + "typeName": { + "id": 29, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 28, + "name": "DataStorageInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1393, + "src": "1217:20:0" + }, + "referencedDeclaration": 1393, + "src": "1217:20:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "visibility": "internal" + } + ], + "src": "1216:42:0" + }, + "returnParameters": { + "id": 32, + "nodeType": "ParameterList", + "parameters": [], + "src": "1258:0:0" + }, + "scope": 591, + "src": "1205:259:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 69, + "nodeType": "Block", + "src": "1638:124:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 64, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 59, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1657:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 60, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "1657:10:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 61, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "1671:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 62, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getCurrentGuardian", + "nodeType": "MemberAccess", + "referencedDeclaration": 1305, + "src": "1671:30:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", + "typeString": "function () view external returns (address)" + } + }, + "id": 63, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1671:32:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "1657:46:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "4f6e6c792063616c6c61626c652062792063757272656e7420677561726469616e2e", + "id": 65, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1705:36:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c295098e4653db03d2d22453c3eb7ae49307d50964fb5a9a1311d3fef2f9e749", + "typeString": "literal_string \"Only callable by current guardian.\"" + }, + "value": "Only callable by current guardian." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_c295098e4653db03d2d22453c3eb7ae49307d50964fb5a9a1311d3fef2f9e749", + "typeString": "literal_string \"Only callable by current guardian.\"" + } + ], + "id": 58, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "1649:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 66, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1649:93:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 67, + "nodeType": "ExpressionStatement", + "src": "1649:93:0" + }, + { + "id": 68, + "nodeType": "PlaceholderStatement", + "src": "1753:1:0" + } + ] + }, + "documentation": { + "id": 56, + "nodeType": "StructuredDocumentation", + "src": "1515:86:0", + "text": "@notice Besides the access control contract, the following modifiers will be used." + }, + "id": 70, + "name": "onlyCurrentGuardian", + "nameLocation": "1616:19:0", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 57, + "nodeType": "ParameterList", + "parameters": [], + "src": "1635:2:0" + }, + "src": "1607:155:0", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 88, + "nodeType": "Block", + "src": "1797:155:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f657869737473", + "id": 78, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1870:17:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + "value": "contract_exists" + }, + { + "expression": { + "id": 79, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1889:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 80, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "1889:10:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 76, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1853:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 77, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1853:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 81, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1853:47:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 75, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1843:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 82, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1843:58:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 73, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "1816:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 74, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1330, + "src": "1816:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 83, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1816:86:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "496e76616c696420436f6e747261637420416464726573732e", + "id": 84, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1904:27:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_d36e2fdd2f4d349fc44a9cc6ea1a2b4f2a7eb320cfe91d40a3a9a6af97aada24", + "typeString": "literal_string \"Invalid Contract Address.\"" + }, + "value": "Invalid Contract Address." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_d36e2fdd2f4d349fc44a9cc6ea1a2b4f2a7eb320cfe91d40a3a9a6af97aada24", + "typeString": "literal_string \"Invalid Contract Address.\"" + } + ], + "id": 72, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "1808:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 85, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1808:124:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 86, + "nodeType": "ExpressionStatement", + "src": "1808:124:0" + }, + { + "id": 87, + "nodeType": "PlaceholderStatement", + "src": "1943:1:0" + } + ] + }, + "id": 89, + "name": "onlyPoolContract", + "nameLocation": "1779:16:0", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 71, + "nodeType": "ParameterList", + "parameters": [], + "src": "1795:2:0" + }, + "src": "1770:182:0", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 106, + "nodeType": "Block", + "src": "2077:93:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 98, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "2098:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 99, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 91, + "src": "2112:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 97, + "name": "grantRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1685, + "src": "2088:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 100, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2088:33:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 101, + "nodeType": "ExpressionStatement", + "src": "2088:33:0" + }, + { + "eventCall": { + "arguments": [ + { + "id": 103, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 91, + "src": "2153:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 102, + "name": "NewManagerAdded", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 18, + "src": "2137:15:0", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 104, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2137:25:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 105, + "nodeType": "EmitStatement", + "src": "2132:30:0" + } + ] + }, + "functionSelector": "45077e71", + "id": 107, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 94, + "name": "DEFAULT_ADMIN_ROLE", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1553, + "src": "2057:18:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 95, + "kind": "modifierInvocation", + "modifierName": { + "id": 93, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1566, + "src": "2048:8:0" + }, + "nodeType": "ModifierInvocation", + "src": "2048:28:0" + } + ], + "name": "addPoolManager", + "nameLocation": "2007:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 92, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 91, + "mutability": "mutable", + "name": "_address", + "nameLocation": "2031:8:0", + "nodeType": "VariableDeclaration", + "scope": 107, + "src": "2023:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 90, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2023:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2022:18:0" + }, + "returnParameters": { + "id": 96, + "nodeType": "ParameterList", + "parameters": [], + "src": "2077:0:0" + }, + "scope": 591, + "src": "1998:172:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 124, + "nodeType": "Block", + "src": "2260:93:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 116, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "2282:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 117, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 109, + "src": "2296:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 115, + "name": "revokeRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1705, + "src": "2271:10:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 118, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2271:34:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 119, + "nodeType": "ExpressionStatement", + "src": "2271:34:0" + }, + { + "eventCall": { + "arguments": [ + { + "id": 121, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 109, + "src": "2336:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 120, + "name": "ManagerRemoved", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 22, + "src": "2321:14:0", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 122, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2321:24:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 123, + "nodeType": "EmitStatement", + "src": "2316:29:0" + } + ] + }, + "functionSelector": "29ca15bc", + "id": 125, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 112, + "name": "DEFAULT_ADMIN_ROLE", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1553, + "src": "2240:18:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 113, + "kind": "modifierInvocation", + "modifierName": { + "id": 111, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1566, + "src": "2231:8:0" + }, + "nodeType": "ModifierInvocation", + "src": "2231:28:0" + } + ], + "name": "removePoolManager", + "nameLocation": "2187:17:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 110, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 109, + "mutability": "mutable", + "name": "_address", + "nameLocation": "2214:8:0", + "nodeType": "VariableDeclaration", + "scope": 125, + "src": "2206:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 108, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2206:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2205:18:0" + }, + "returnParameters": { + "id": 114, + "nodeType": "ParameterList", + "parameters": [], + "src": "2260:0:0" + }, + "scope": 591, + "src": "2178:175:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 161, + "nodeType": "Block", + "src": "2578:230:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f657869737473", + "id": 135, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2643:17:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + "value": "contract_exists" + }, + { + "arguments": [ + { + "id": 138, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "2670:4:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolBase_$591", + "typeString": "contract PoolBase" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_PoolBase_$591", + "typeString": "contract PoolBase" + } + ], + "id": 137, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2662:7:0", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 136, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2662:7:0", + "typeDescriptions": {} + } + }, + "id": 139, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2662:13:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 133, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "2626:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 134, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "2626:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 140, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2626:50:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 132, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "2616:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 141, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2616:61:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "hexValue": "74727565", + "id": 142, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2679:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "expression": { + "id": 129, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "2589:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 131, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1356, + "src": "2589:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_bool_$returns$__$", + "typeString": "function (bytes32,bool) external" + } + }, + "id": 143, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2589:95:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 144, + "nodeType": "ExpressionStatement", + "src": "2589:95:0" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f61646472657373", + "id": 151, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2752:18:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + "value": "contract_address" + }, + { + "hexValue": "506f6f6c42617365", + "id": 152, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2772:10:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27", + "typeString": "literal_string \"PoolBase\"" + }, + "value": "PoolBase" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + { + "typeIdentifier": "t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27", + "typeString": "literal_string \"PoolBase\"" + } + ], + "expression": { + "id": 149, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "2735:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 150, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "2735:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 153, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2735:48:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 148, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "2725:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 154, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2725:59:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "arguments": [ + { + "id": 157, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "2794:4:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolBase_$591", + "typeString": "contract PoolBase" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_PoolBase_$591", + "typeString": "contract PoolBase" + } + ], + "id": 156, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2786:7:0", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 155, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2786:7:0", + "typeDescriptions": {} + } + }, + "id": 158, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2786:13:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 145, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "2695:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 147, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setAddressStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1363, + "src": "2695:29:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address) external" + } + }, + "id": 159, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2695:105:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 160, + "nodeType": "ExpressionStatement", + "src": "2695:105:0" + } + ] + }, + "documentation": { + "id": 126, + "nodeType": "StructuredDocumentation", + "src": "2407:126:0", + "text": "@dev Store this contract address and existance on the main storage.\n @notice Called while deploying the contract. " + }, + "id": 162, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_setPoolBaseAddress", + "nameLocation": "2548:19:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 127, + "nodeType": "ParameterList", + "parameters": [], + "src": "2567:2:0" + }, + "returnParameters": { + "id": 128, + "nodeType": "ParameterList", + "parameters": [], + "src": "2578:0:0" + }, + "scope": 591, + "src": "2539:269:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "private" + }, + { + "body": { + "id": 187, + "nodeType": "Block", + "src": "3028:135:0", + "statements": [ + { + "assignments": [ + 172 + ], + "declarations": [ + { + "constant": false, + "id": 172, + "mutability": "mutable", + "name": "statusTag", + "nameLocation": "3047:9:0", + "nodeType": "VariableDeclaration", + "scope": 187, + "src": "3039:17:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 171, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3039:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 179, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 176, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3086:12:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 174, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3069:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 175, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3069:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 177, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3069:30:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 173, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "3059:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 178, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3059:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3039:61:0" + }, + { + "expression": { + "arguments": [ + { + "id": 183, + "name": "statusTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 172, + "src": "3138:9:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 184, + "name": "_live", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 165, + "src": "3149:5:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "expression": { + "id": 180, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "3111:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 182, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1356, + "src": "3111:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_bool_$returns$__$", + "typeString": "function (bytes32,bool) external" + } + }, + "id": 185, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3111:44:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 186, + "nodeType": "ExpressionStatement", + "src": "3111:44:0" + } + ] + }, + "documentation": { + "id": 163, + "nodeType": "StructuredDocumentation", + "src": "2816:143:0", + "text": "@dev Toggles the Pool Investing Switch. \n @notice While live, anyone can invest but any state variable can be modified nor deleted." + }, + "functionSelector": "a4975516", + "id": 188, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 168, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "3014:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 169, + "kind": "modifierInvocation", + "modifierName": { + "id": 167, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1566, + "src": "3005:8:0" + }, + "nodeType": "ModifierInvocation", + "src": "3005:22:0" + } + ], + "name": "setPoolLive", + "nameLocation": "2974:11:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 166, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 165, + "mutability": "mutable", + "name": "_live", + "nameLocation": "2991:5:0", + "nodeType": "VariableDeclaration", + "scope": 188, + "src": "2986:10:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 164, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2986:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "2985:12:0" + }, + "returnParameters": { + "id": 170, + "nodeType": "ParameterList", + "parameters": [], + "src": "3028:0:0" + }, + "scope": 591, + "src": "2965:198:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 227, + "nodeType": "Block", + "src": "3367:272:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 207, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "3386:70:0", + "subExpression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 203, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3441:12:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 201, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3424:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 202, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3424:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 204, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3424:30:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 200, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "3414:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 205, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3414:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 198, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "3387:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 199, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1330, + "src": "3387:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 206, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3387:69:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "id": 208, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3458:31:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + }, + "value": "The pool is currently closed." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + } + ], + "id": 197, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "3378:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 209, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3378:112:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 210, + "nodeType": "ExpressionStatement", + "src": "3378:112:0" + }, + { + "assignments": [ + 212 + ], + "declarations": [ + { + "constant": false, + "id": 212, + "mutability": "mutable", + "name": "poolMaxSizeTag", + "nameLocation": "3509:14:0", + "nodeType": "VariableDeclaration", + "scope": 227, + "src": "3501:22:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 211, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3501:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 219, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "706f6f6c4d617853697a65", + "id": 216, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3553:13:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42", + "typeString": "literal_string \"poolMaxSize\"" + }, + "value": "poolMaxSize" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42", + "typeString": "literal_string \"poolMaxSize\"" + } + ], + "expression": { + "id": 214, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3536:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 215, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3536:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 217, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3536:31:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 213, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "3526:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 218, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3526:42:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3501:67:0" + }, + { + "expression": { + "arguments": [ + { + "id": 223, + "name": "poolMaxSizeTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 212, + "src": "3606:14:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 224, + "name": "_maxSize", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 191, + "src": "3622:8:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 220, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "3579:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 222, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1349, + "src": "3579:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 225, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3579:52:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 226, + "nodeType": "ExpressionStatement", + "src": "3579:52:0" + } + ] + }, + "documentation": { + "id": 189, + "nodeType": "StructuredDocumentation", + "src": "3171:121:0", + "text": "@dev Sets the Pool Maximium size expressed on ether.\n @param _maxSize is a WEI value (or BigInt / BigNumber)." + }, + "functionSelector": "12646987", + "id": 228, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 194, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "3353:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 195, + "kind": "modifierInvocation", + "modifierName": { + "id": 193, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1566, + "src": "3344:8:0" + }, + "nodeType": "ModifierInvocation", + "src": "3344:22:0" + } + ], + "name": "setPoolMaxSize", + "nameLocation": "3307:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 192, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 191, + "mutability": "mutable", + "name": "_maxSize", + "nameLocation": "3327:8:0", + "nodeType": "VariableDeclaration", + "scope": 228, + "src": "3322:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 190, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3322:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3321:15:0" + }, + "returnParameters": { + "id": 196, + "nodeType": "ParameterList", + "parameters": [], + "src": "3367:0:0" + }, + "scope": 591, + "src": "3298:341:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 267, + "nodeType": "Block", + "src": "3792:272:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 247, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "3811:70:0", + "subExpression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 243, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3866:12:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 241, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3849:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 242, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3849:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 244, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3849:30:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 240, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "3839:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 245, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3839:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 238, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "3812:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 239, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1330, + "src": "3812:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 246, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3812:69:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "id": 248, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3883:31:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + }, + "value": "The pool is currently closed." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + } + ], + "id": 237, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "3803:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 249, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3803:112:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 250, + "nodeType": "ExpressionStatement", + "src": "3803:112:0" + }, + { + "assignments": [ + 252 + ], + "declarations": [ + { + "constant": false, + "id": 252, + "mutability": "mutable", + "name": "daysRewTag", + "nameLocation": "3934:10:0", + "nodeType": "VariableDeclaration", + "scope": 267, + "src": "3926:18:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 251, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3926:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 259, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "64617973546f52657761726473", + "id": 256, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3974:15:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d", + "typeString": "literal_string \"daysToRewards\"" + }, + "value": "daysToRewards" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d", + "typeString": "literal_string \"daysToRewards\"" + } + ], + "expression": { + "id": 254, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3957:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 255, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3957:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 257, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3957:33:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 253, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "3947:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 258, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3947:44:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3926:65:0" + }, + { + "expression": { + "arguments": [ + { + "id": 263, + "name": "daysRewTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 252, + "src": "4029:10:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 264, + "name": "_daysToRewards", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 231, + "src": "4041:14:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 260, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "4002:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 262, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1349, + "src": "4002:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 265, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4002:54:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 266, + "nodeType": "ExpressionStatement", + "src": "4002:54:0" + } + ] + }, + "documentation": { + "id": 229, + "nodeType": "StructuredDocumentation", + "src": "3651:56:0", + "text": "@dev Set the interval in days of the rewards period." + }, + "functionSelector": "53710f49", + "id": 268, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 234, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "3778:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 235, + "kind": "modifierInvocation", + "modifierName": { + "id": 233, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1566, + "src": "3769:8:0" + }, + "nodeType": "ModifierInvocation", + "src": "3769:22:0" + } + ], + "name": "setRewardsInterval", + "nameLocation": "3722:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 232, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 231, + "mutability": "mutable", + "name": "_daysToRewards", + "nameLocation": "3746:14:0", + "nodeType": "VariableDeclaration", + "scope": 268, + "src": "3741:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 230, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3741:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3740:21:0" + }, + "returnParameters": { + "id": 236, + "nodeType": "ParameterList", + "parameters": [], + "src": "3792:0:0" + }, + "scope": 591, + "src": "3713:351:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 307, + "nodeType": "Block", + "src": "4352:291:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 287, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "4371:70:0", + "subExpression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 283, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4426:12:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 281, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "4409:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 282, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "4409:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 284, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4409:30:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 280, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "4399:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 285, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4399:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 278, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "4372:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 279, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1330, + "src": "4372:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 286, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4372:69:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "id": 288, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4443:31:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + }, + "value": "The pool is currently closed." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + } + ], + "id": 277, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "4363:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 289, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4363:112:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 290, + "nodeType": "ExpressionStatement", + "src": "4363:112:0" + }, + { + "assignments": [ + 292 + ], + "declarations": [ + { + "constant": false, + "id": 292, + "mutability": "mutable", + "name": "rewardsIntTag", + "nameLocation": "4494:13:0", + "nodeType": "VariableDeclaration", + "scope": 307, + "src": "4486:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 291, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4486:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 299, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "72657761726473496e746572657374506572506572696f64", + "id": 296, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4537:26:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c", + "typeString": "literal_string \"rewardsInterestPerPeriod\"" + }, + "value": "rewardsInterestPerPeriod" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c", + "typeString": "literal_string \"rewardsInterestPerPeriod\"" + } + ], + "expression": { + "id": 294, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "4520:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 295, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "4520:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 297, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4520:44:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 293, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "4510:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 298, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4510:55:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4486:79:0" + }, + { + "expression": { + "arguments": [ + { + "id": 303, + "name": "rewardsIntTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 292, + "src": "4603:13:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 304, + "name": "_rewardsInterest", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 271, + "src": "4618:16:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 300, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "4576:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 302, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1349, + "src": "4576:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 305, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4576:59:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 306, + "nodeType": "ExpressionStatement", + "src": "4576:59:0" + } + ] + }, + "documentation": { + "id": 269, + "nodeType": "StructuredDocumentation", + "src": "4072:193:0", + "text": "@dev Set the interest per effective period.\n @param _rewardsInterest within the storage has 6 decimals.\n @notice E.G. If 0.001134 rate is desired, 0.001134 * (10**6) = 1134." + }, + "functionSelector": "bf4c0036", + "id": 308, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 274, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "4338:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 275, + "kind": "modifierInvocation", + "modifierName": { + "id": 273, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1566, + "src": "4329:8:0" + }, + "nodeType": "ModifierInvocation", + "src": "4329:22:0" + } + ], + "name": "setRewardsInterest", + "nameLocation": "4280:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 272, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 271, + "mutability": "mutable", + "name": "_rewardsInterest", + "nameLocation": "4304:16:0", + "nodeType": "VariableDeclaration", + "scope": 308, + "src": "4299:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 270, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "4299:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "4298:23:0" + }, + "returnParameters": { + "id": 276, + "nodeType": "ParameterList", + "parameters": [], + "src": "4352:0:0" + }, + "scope": 591, + "src": "4271:372:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 347, + "nodeType": "Block", + "src": "4841:282:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 327, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "4860:70:0", + "subExpression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 323, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4915:12:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 321, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "4898:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 322, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "4898:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 324, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4898:30:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 320, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "4888:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 325, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4888:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 318, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "4861:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 319, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1330, + "src": "4861:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 326, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4861:69:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "id": 328, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4932:31:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + }, + "value": "The pool is currently closed." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + } + ], + "id": 317, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "4852:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 329, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4852:112:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 330, + "nodeType": "ExpressionStatement", + "src": "4852:112:0" + }, + { + "assignments": [ + 332 + ], + "declarations": [ + { + "constant": false, + "id": 332, + "mutability": "mutable", + "name": "contrLimitTag", + "nameLocation": "4983:13:0", + "nodeType": "VariableDeclaration", + "scope": 347, + "src": "4975:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 331, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4975:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 339, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e747269627574696f6e4c696d6974", + "id": 336, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5026:19:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044", + "typeString": "literal_string \"contributionLimit\"" + }, + "value": "contributionLimit" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044", + "typeString": "literal_string \"contributionLimit\"" + } + ], + "expression": { + "id": 334, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "5009:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 335, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5009:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 337, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5009:37:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 333, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "4999:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 338, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4999:48:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4975:72:0" + }, + { + "expression": { + "arguments": [ + { + "id": 343, + "name": "contrLimitTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 332, + "src": "5085:13:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 344, + "name": "_newContrLimit", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 311, + "src": "5100:14:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 340, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "5058:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 342, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1349, + "src": "5058:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 345, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5058:57:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 346, + "nodeType": "ExpressionStatement", + "src": "5058:57:0" + } + ] + }, + "documentation": { + "id": 309, + "nodeType": "StructuredDocumentation", + "src": "4651:104:0", + "text": "@dev Set the max. contribution allowed for each user.\n @param _newContrLimit is a WEI value." + }, + "functionSelector": "72d099a0", + "id": 348, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 314, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "4828:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 315, + "kind": "modifierInvocation", + "modifierName": { + "id": 313, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1566, + "src": "4819:8:0" + }, + "nodeType": "ModifierInvocation", + "src": "4819:22:0" + } + ], + "name": "setContributionLimit", + "nameLocation": "4770:20:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 312, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 311, + "mutability": "mutable", + "name": "_newContrLimit", + "nameLocation": "4796:14:0", + "nodeType": "VariableDeclaration", + "scope": 348, + "src": "4791:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 310, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "4791:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "4790:21:0" + }, + "returnParameters": { + "id": 316, + "nodeType": "ParameterList", + "parameters": [], + "src": "4841:0:0" + }, + "scope": 591, + "src": "4761:362:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 406, + "nodeType": "Block", + "src": "5315:509:0", + "statements": [ + { + "assignments": [ + 358 + ], + "declarations": [ + { + "constant": false, + "id": 358, + "mutability": "mutable", + "name": "contrLimitTag", + "nameLocation": "5334:13:0", + "nodeType": "VariableDeclaration", + "scope": 406, + "src": "5326:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 357, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "5326:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 365, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e747269627574696f6e4c696d6974", + "id": 362, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5377:19:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044", + "typeString": "literal_string \"contributionLimit\"" + }, + "value": "contributionLimit" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044", + "typeString": "literal_string \"contributionLimit\"" + } + ], + "expression": { + "id": 360, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "5360:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 361, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5360:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 363, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5360:37:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 359, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "5350:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 364, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5350:48:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5326:72:0" + }, + { + "expression": { + "arguments": [ + { + "id": 376, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "5417:70:0", + "subExpression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 372, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5472:12:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 370, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "5455:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 371, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5455:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 373, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5455:30:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 369, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "5445:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 374, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5445:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 367, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "5418:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 368, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1330, + "src": "5418:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 375, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5418:69:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "id": 377, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5489:31:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + }, + "value": "The pool is currently closed." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + } + ], + "id": 366, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "5409:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 378, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5409:112:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 379, + "nodeType": "ExpressionStatement", + "src": "5409:112:0" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 386, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "id": 383, + "name": "contrLimitTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 358, + "src": "5567:13:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 381, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "5540:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 382, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1323, + "src": "5540:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 384, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5540:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "id": 385, + "name": "_newMinContr", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 351, + "src": "5584:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "5540:56:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "546865206d696e2e20636f6e74722e206c696d6974206e6565647320746f20626520736d616c6c6572207468616e20746865206d61782e206c696d69742e", + "id": 387, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5598:64:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_9bfa599205b132513fe40ce547e7e6def8c4cc455992878354af4c6363b32779", + "typeString": "literal_string \"The min. contr. limit needs to be smaller than the max. limit.\"" + }, + "value": "The min. contr. limit needs to be smaller than the max. limit." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_9bfa599205b132513fe40ce547e7e6def8c4cc455992878354af4c6363b32779", + "typeString": "literal_string \"The min. contr. limit needs to be smaller than the max. limit.\"" + } + ], + "id": 380, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "5532:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 388, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5532:131:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 389, + "nodeType": "ExpressionStatement", + "src": "5532:131:0" + }, + { + "assignments": [ + 391 + ], + "declarations": [ + { + "constant": false, + "id": 391, + "mutability": "mutable", + "name": "minContrTag", + "nameLocation": "5692:11:0", + "nodeType": "VariableDeclaration", + "scope": 406, + "src": "5684:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 390, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "5684:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 398, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6d696e436f6e747269627574696f6e", + "id": 395, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5733:17:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36", + "typeString": "literal_string \"minContribution\"" + }, + "value": "minContribution" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36", + "typeString": "literal_string \"minContribution\"" + } + ], + "expression": { + "id": 393, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "5716:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 394, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5716:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 396, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5716:35:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 392, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "5706:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 397, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5706:46:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5684:68:0" + }, + { + "expression": { + "arguments": [ + { + "id": 402, + "name": "minContrTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 391, + "src": "5790:11:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 403, + "name": "_newMinContr", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 351, + "src": "5803:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 399, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "5763:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 401, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1349, + "src": "5763:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 404, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5763:53:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 405, + "nodeType": "ExpressionStatement", + "src": "5763:53:0" + } + ] + }, + "documentation": { + "id": 349, + "nodeType": "StructuredDocumentation", + "src": "5131:102:0", + "text": "@dev Set the min. contribution allowed for each user.\n @param _newMinContr is a WEI value." + }, + "functionSelector": "473b0d46", + "id": 407, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 354, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "5302:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 355, + "kind": "modifierInvocation", + "modifierName": { + "id": 353, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1566, + "src": "5293:8:0" + }, + "nodeType": "ModifierInvocation", + "src": "5293:22:0" + } + ], + "name": "setMinContribution", + "nameLocation": "5248:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 352, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 351, + "mutability": "mutable", + "name": "_newMinContr", + "nameLocation": "5272:12:0", + "nodeType": "VariableDeclaration", + "scope": 407, + "src": "5267:17:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 350, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "5267:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "5266:19:0" + }, + "returnParameters": { + "id": 356, + "nodeType": "ParameterList", + "parameters": [], + "src": "5315:0:0" + }, + "scope": 591, + "src": "5239:585:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 444, + "nodeType": "Block", + "src": "6014:295:0", + "statements": [ + { + "assignments": [ + 416 + ], + "declarations": [ + { + "constant": false, + "id": 416, + "mutability": "mutable", + "name": "addressTag", + "nameLocation": "6033:10:0", + "nodeType": "VariableDeclaration", + "scope": 444, + "src": "6025:18:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 415, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6025:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 424, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f61646472657373", + "id": 420, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6073:18:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + "value": "contract_address" + }, + { + "id": 421, + "name": "_contractName", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 410, + "src": "6093:13:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 418, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "6056:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 419, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "6056:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 422, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6056:51:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 417, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "6046:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 423, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6046:62:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6025:83:0" + }, + { + "assignments": [ + 426 + ], + "declarations": [ + { + "constant": false, + "id": 426, + "mutability": "mutable", + "name": "contractAddress", + "nameLocation": "6127:15:0", + "nodeType": "VariableDeclaration", + "scope": 444, + "src": "6119:23:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 425, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6119:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "id": 431, + "initialValue": { + "arguments": [ + { + "id": 429, + "name": "addressTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 416, + "src": "6175:10:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 427, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "6145:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 428, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getAddressStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1337, + "src": "6145:29:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_address_$", + "typeString": "function (bytes32) view external returns (address)" + } + }, + "id": 430, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6145:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6119:67:0" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 438, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 433, + "name": "contractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 426, + "src": "6205:15:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "arguments": [ + { + "hexValue": "307830", + "id": 436, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6232:3:0", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0x0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 435, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "6224:7:0", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 434, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6224:7:0", + "typeDescriptions": {} + } + }, + "id": 437, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6224:12:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "6205:31:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "436f6e74726163742061646472657373206e6f7420666f756e642e", + "id": 439, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6238:29:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_308638a0d46b73b9203c635ec2b36574c482f0f0b0c13080ce12f9b33ca2d5c6", + "typeString": "literal_string \"Contract address not found.\"" + }, + "value": "Contract address not found." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_308638a0d46b73b9203c635ec2b36574c482f0f0b0c13080ce12f9b33ca2d5c6", + "typeString": "literal_string \"Contract address not found.\"" + } + ], + "id": 432, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "6197:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 440, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6197:71:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 441, + "nodeType": "ExpressionStatement", + "src": "6197:71:0" + }, + { + "expression": { + "id": 442, + "name": "contractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 426, + "src": "6286:15:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "functionReturnParameters": 414, + "id": 443, + "nodeType": "Return", + "src": "6279:22:0" + } + ] + }, + "documentation": { + "id": 408, + "nodeType": "StructuredDocumentation", + "src": "5879:42:0", + "text": "@dev Getters for each pool variable." + }, + "id": 445, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getContractAddress", + "nameLocation": "5936:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 411, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 410, + "mutability": "mutable", + "name": "_contractName", + "nameLocation": "5969:13:0", + "nodeType": "VariableDeclaration", + "scope": 445, + "src": "5955:27:0", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 409, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "5955:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "5954:29:0" + }, + "returnParameters": { + "id": 414, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 413, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 445, + "src": "6006:7:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 412, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6006:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "6005:9:0" + }, + "scope": 591, + "src": "5927:382:0", + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 469, + "nodeType": "Block", + "src": "6375:210:0", + "statements": [ + { + "assignments": [ + 451 + ], + "declarations": [ + { + "constant": false, + "id": 451, + "mutability": "mutable", + "name": "addressTag", + "nameLocation": "6394:10:0", + "nodeType": "VariableDeclaration", + "scope": 469, + "src": "6386:18:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 450, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6386:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 459, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f61646472657373", + "id": 455, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6434:18:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + "value": "contract_address" + }, + { + "hexValue": "506f6f6c42617365", + "id": 456, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6454:10:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27", + "typeString": "literal_string \"PoolBase\"" + }, + "value": "PoolBase" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + { + "typeIdentifier": "t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27", + "typeString": "literal_string \"PoolBase\"" + } + ], + "expression": { + "id": 453, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "6417:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 454, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "6417:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 457, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6417:48:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 452, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "6407:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 458, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6407:59:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6386:80:0" + }, + { + "assignments": [ + 461 + ], + "declarations": [ + { + "constant": false, + "id": 461, + "mutability": "mutable", + "name": "contractAddress", + "nameLocation": "6485:15:0", + "nodeType": "VariableDeclaration", + "scope": 469, + "src": "6477:23:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 460, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6477:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "id": 466, + "initialValue": { + "arguments": [ + { + "id": 464, + "name": "addressTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 451, + "src": "6533:10:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 462, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "6503:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 463, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getAddressStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1337, + "src": "6503:29:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_address_$", + "typeString": "function (bytes32) view external returns (address)" + } + }, + "id": 465, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6503:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6477:67:0" + }, + { + "expression": { + "id": 467, + "name": "contractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 461, + "src": "6562:15:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "functionReturnParameters": 449, + "id": 468, + "nodeType": "Return", + "src": "6555:22:0" + } + ] + }, + "functionSelector": "8ae68134", + "id": 470, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getPoolBaseAddress", + "nameLocation": "6326:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 446, + "nodeType": "ParameterList", + "parameters": [], + "src": "6344:2:0" + }, + "returnParameters": { + "id": 449, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 448, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 470, + "src": "6367:7:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 447, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6367:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "6366:9:0" + }, + "scope": 591, + "src": "6317:268:0", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 489, + "nodeType": "Block", + "src": "6646:135:0", + "statements": [ + { + "assignments": [ + 476 + ], + "declarations": [ + { + "constant": false, + "id": 476, + "mutability": "mutable", + "name": "statusTag", + "nameLocation": "6665:9:0", + "nodeType": "VariableDeclaration", + "scope": 489, + "src": "6657:17:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 475, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6657:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 483, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 480, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6704:12:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 478, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "6687:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 479, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "6687:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 481, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6687:30:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 477, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "6677:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 482, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6677:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6657:61:0" + }, + { + "expression": { + "arguments": [ + { + "id": 486, + "name": "statusTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 476, + "src": "6763:9:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 484, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "6736:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 485, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1330, + "src": "6736:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 487, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6736:37:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "functionReturnParameters": 474, + "id": 488, + "nodeType": "Return", + "src": "6729:44:0" + } + ] + }, + "functionSelector": "217ac237", + "id": 490, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getPoolState", + "nameLocation": "6606:12:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 471, + "nodeType": "ParameterList", + "parameters": [], + "src": "6618:2:0" + }, + "returnParameters": { + "id": 474, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 473, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 490, + "src": "6641:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 472, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "6641:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "6640:6:0" + }, + "scope": 591, + "src": "6597:184:0", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 509, + "nodeType": "Block", + "src": "6840:154:0", + "statements": [ + { + "assignments": [ + 496 + ], + "declarations": [ + { + "constant": false, + "id": 496, + "mutability": "mutable", + "name": "poolMaxSizeTag", + "nameLocation": "6859:14:0", + "nodeType": "VariableDeclaration", + "scope": 509, + "src": "6851:22:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 495, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6851:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 503, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "706f6f6c4d617853697a65", + "id": 500, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6903:13:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42", + "typeString": "literal_string \"poolMaxSize\"" + }, + "value": "poolMaxSize" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42", + "typeString": "literal_string \"poolMaxSize\"" + } + ], + "expression": { + "id": 498, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "6886:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 499, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "6886:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 501, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6886:31:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 497, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "6876:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 502, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6876:42:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6851:67:0" + }, + { + "expression": { + "arguments": [ + { + "id": 506, + "name": "poolMaxSizeTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 496, + "src": "6963:14:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 504, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "6936:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 505, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1323, + "src": "6936:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 507, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6936:42:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 494, + "id": 508, + "nodeType": "Return", + "src": "6929:49:0" + } + ] + }, + "functionSelector": "095df57f", + "id": 510, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getPoolMaxSize", + "nameLocation": "6798:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 491, + "nodeType": "ParameterList", + "parameters": [], + "src": "6812:2:0" + }, + "returnParameters": { + "id": 494, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 493, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 510, + "src": "6835:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 492, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "6835:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "6834:6:0" + }, + "scope": 591, + "src": "6789:205:0", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 529, + "nodeType": "Block", + "src": "7057:140:0", + "statements": [ + { + "assignments": [ + 516 + ], + "declarations": [ + { + "constant": false, + "id": 516, + "mutability": "mutable", + "name": "daysRewTag", + "nameLocation": "7076:10:0", + "nodeType": "VariableDeclaration", + "scope": 529, + "src": "7068:18:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 515, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "7068:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 523, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "64617973546f52657761726473", + "id": 520, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7116:15:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d", + "typeString": "literal_string \"daysToRewards\"" + }, + "value": "daysToRewards" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d", + "typeString": "literal_string \"daysToRewards\"" + } + ], + "expression": { + "id": 518, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "7099:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 519, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "7099:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 521, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7099:33:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 517, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "7089:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 522, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7089:44:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7068:65:0" + }, + { + "expression": { + "arguments": [ + { + "id": 526, + "name": "daysRewTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 516, + "src": "7178:10:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 524, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "7151:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 525, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1323, + "src": "7151:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 527, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7151:38:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 514, + "id": 528, + "nodeType": "Return", + "src": "7144:45:0" + } + ] + }, + "functionSelector": "497d0241", + "id": 530, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getRewardsInterval", + "nameLocation": "7011:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 511, + "nodeType": "ParameterList", + "parameters": [], + "src": "7029:2:0" + }, + "returnParameters": { + "id": 514, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 513, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 530, + "src": "7052:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 512, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7052:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "7051:6:0" + }, + "scope": 591, + "src": "7002:195:0", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 549, + "nodeType": "Block", + "src": "7260:157:0", + "statements": [ + { + "assignments": [ + 536 + ], + "declarations": [ + { + "constant": false, + "id": 536, + "mutability": "mutable", + "name": "rewardsIntTag", + "nameLocation": "7279:13:0", + "nodeType": "VariableDeclaration", + "scope": 549, + "src": "7271:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 535, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "7271:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 543, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "72657761726473496e746572657374506572506572696f64", + "id": 540, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7322:26:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c", + "typeString": "literal_string \"rewardsInterestPerPeriod\"" + }, + "value": "rewardsInterestPerPeriod" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c", + "typeString": "literal_string \"rewardsInterestPerPeriod\"" + } + ], + "expression": { + "id": 538, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "7305:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 539, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "7305:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 541, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7305:44:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 537, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "7295:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 542, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7295:55:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7271:79:0" + }, + { + "expression": { + "arguments": [ + { + "id": 546, + "name": "rewardsIntTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 536, + "src": "7395:13:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 544, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "7368:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 545, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1323, + "src": "7368:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 547, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7368:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 534, + "id": 548, + "nodeType": "Return", + "src": "7361:48:0" + } + ] + }, + "functionSelector": "7521796f", + "id": 550, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getRewardsInterest", + "nameLocation": "7214:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 531, + "nodeType": "ParameterList", + "parameters": [], + "src": "7232:2:0" + }, + "returnParameters": { + "id": 534, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 533, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 550, + "src": "7255:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 532, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7255:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "7254:6:0" + }, + "scope": 591, + "src": "7205:212:0", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 569, + "nodeType": "Block", + "src": "7482:150:0", + "statements": [ + { + "assignments": [ + 556 + ], + "declarations": [ + { + "constant": false, + "id": 556, + "mutability": "mutable", + "name": "contrLimitTag", + "nameLocation": "7501:13:0", + "nodeType": "VariableDeclaration", + "scope": 569, + "src": "7493:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 555, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "7493:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 563, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e747269627574696f6e4c696d6974", + "id": 560, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7544:19:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044", + "typeString": "literal_string \"contributionLimit\"" + }, + "value": "contributionLimit" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044", + "typeString": "literal_string \"contributionLimit\"" + } + ], + "expression": { + "id": 558, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "7527:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 559, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "7527:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 561, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7527:37:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 557, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "7517:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 562, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7517:48:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7493:72:0" + }, + { + "expression": { + "arguments": [ + { + "id": 566, + "name": "contrLimitTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 556, + "src": "7610:13:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 564, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "7583:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 565, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1323, + "src": "7583:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 567, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7583:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 554, + "id": 568, + "nodeType": "Return", + "src": "7576:48:0" + } + ] + }, + "functionSelector": "fa1e19e5", + "id": 570, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getContributionLimit", + "nameLocation": "7434:20:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 551, + "nodeType": "ParameterList", + "parameters": [], + "src": "7454:2:0" + }, + "returnParameters": { + "id": 554, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 553, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 570, + "src": "7477:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 552, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7477:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "7476:6:0" + }, + "scope": 591, + "src": "7425:207:0", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 589, + "nodeType": "Block", + "src": "7695:144:0", + "statements": [ + { + "assignments": [ + 576 + ], + "declarations": [ + { + "constant": false, + "id": 576, + "mutability": "mutable", + "name": "minContrTag", + "nameLocation": "7714:11:0", + "nodeType": "VariableDeclaration", + "scope": 589, + "src": "7706:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 575, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "7706:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 583, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6d696e436f6e747269627574696f6e", + "id": 580, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7755:17:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36", + "typeString": "literal_string \"minContribution\"" + }, + "value": "minContribution" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36", + "typeString": "literal_string \"minContribution\"" + } + ], + "expression": { + "id": 578, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "7738:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 579, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "7738:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 581, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7738:35:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 577, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "7728:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 582, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7728:46:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7706:68:0" + }, + { + "expression": { + "arguments": [ + { + "id": 586, + "name": "minContrTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 576, + "src": "7819:11:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 584, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "7792:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 585, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1323, + "src": "7792:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 587, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7792:39:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 574, + "id": 588, + "nodeType": "Return", + "src": "7785:46:0" + } + ] + }, + "functionSelector": "6cff7473", + "id": 590, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getMinContribution", + "nameLocation": "7649:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 571, + "nodeType": "ParameterList", + "parameters": [], + "src": "7667:2:0" + }, + "returnParameters": { + "id": 574, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 573, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 590, + "src": "7690:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 572, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7690:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "7689:6:0" + }, + "scope": 591, + "src": "7640:199:0", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + } + ], + "scope": 592, + "src": "627:7231:0", + "usedErrors": [] + } + ], + "src": "33:7825:0" + }, + "id": 0 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolClient.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolClient.sol", + "exportedSymbols": { + "AccessControl": [ + 1834 + ], + "Context": [ + 2047 + ], + "DataStorageInterface": [ + 1393 + ], + "ERC165": [ + 2274 + ], + "IAccessControl": [ + 1907 + ], + "IERC165": [ + 2286 + ], + "IERC20": [ + 2025 + ], + "PoolBase": [ + 591 + ], + "PoolClient": [ + 1293 + ], + "PoolClientInterface": [ + 1417 + ], + "PoolVaultInterface": [ + 1443 + ], + "ReentrancyGuard": [ + 1947 + ], + "Strings": [ + 2250 + ], + "TokenBalancesInterface": [ + 1478 + ], + "rwETHTokenInterface": [ + 1525 + ] + }, + "id": 1294, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 593, + "literals": [ + "solidity", + "0.8", + ".9" + ], + "nodeType": "PragmaDirective", + "src": "33:22:1" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol", + "file": "./PoolBase.sol", + "id": 594, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1294, + "sourceUnit": 592, + "src": "431:24:1", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/rwETHTokenInterface.sol", + "file": "./interfaces/rwETHTokenInterface.sol", + "id": 595, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1294, + "sourceUnit": 1526, + "src": "457:46:1", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/PoolClientInterface.sol", + "file": "./interfaces/PoolClientInterface.sol", + "id": 596, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1294, + "sourceUnit": 1418, + "src": "505:46:1", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/TokenBalancesInterface.sol", + "file": "./interfaces/TokenBalancesInterface.sol", + "id": 597, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1294, + "sourceUnit": 1479, + "src": "553:49:1", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/PoolVaultInterface.sol", + "file": "./interfaces/PoolVaultInterface.sol", + "id": 598, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1294, + "sourceUnit": 1444, + "src": "604:45:1", + "symbolAliases": [], + "unitAlias": "" + }, + { + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 599, + "name": "PoolBase", + "nodeType": "IdentifierPath", + "referencedDeclaration": 591, + "src": "676:8:1" + }, + "id": 600, + "nodeType": "InheritanceSpecifier", + "src": "676:8:1" + } + ], + "canonicalName": "PoolClient", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "id": 1293, + "linearizedBaseContracts": [ + 1293, + 591, + 1947, + 1834, + 2274, + 2286, + 1907, + 2047 + ], + "name": "PoolClient", + "nameLocation": "662:10:1", + "nodeType": "ContractDefinition", + "nodes": [ + { + "anonymous": false, + "id": 608, + "name": "UserStaked", + "nameLocation": "700:10:1", + "nodeType": "EventDefinition", + "parameters": { + "id": 607, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 602, + "indexed": true, + "mutability": "mutable", + "name": "_staker", + "nameLocation": "727:7:1", + "nodeType": "VariableDeclaration", + "scope": 608, + "src": "711:23:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 601, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "711:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 604, + "indexed": false, + "mutability": "mutable", + "name": "_ethAmount", + "nameLocation": "741:10:1", + "nodeType": "VariableDeclaration", + "scope": 608, + "src": "736:15:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 603, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "736:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 606, + "indexed": false, + "mutability": "mutable", + "name": "_time", + "nameLocation": "758:5:1", + "nodeType": "VariableDeclaration", + "scope": 608, + "src": "753:10:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 605, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "753:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "710:54:1" + }, + "src": "694:71:1" + }, + { + "anonymous": false, + "id": 614, + "name": "RewardsInjected", + "nameLocation": "777:15:1", + "nodeType": "EventDefinition", + "parameters": { + "id": 613, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 610, + "indexed": false, + "mutability": "mutable", + "name": "_lastRewardTime", + "nameLocation": "798:15:1", + "nodeType": "VariableDeclaration", + "scope": 614, + "src": "793:20:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 609, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "793:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 612, + "indexed": false, + "mutability": "mutable", + "name": "_amountInjected", + "nameLocation": "820:15:1", + "nodeType": "VariableDeclaration", + "scope": 614, + "src": "815:20:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 611, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "815:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "792:44:1" + }, + "src": "771:66:1" + }, + { + "anonymous": false, + "id": 622, + "name": "UserUnstaked", + "nameLocation": "849:12:1", + "nodeType": "EventDefinition", + "parameters": { + "id": 621, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 616, + "indexed": true, + "mutability": "mutable", + "name": "_unstaker", + "nameLocation": "878:9:1", + "nodeType": "VariableDeclaration", + "scope": 622, + "src": "862:25:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 615, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "862:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 618, + "indexed": false, + "mutability": "mutable", + "name": "_ethAmount", + "nameLocation": "894:10:1", + "nodeType": "VariableDeclaration", + "scope": 622, + "src": "889:15:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 617, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "889:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 620, + "indexed": false, + "mutability": "mutable", + "name": "_time", + "nameLocation": "911:5:1", + "nodeType": "VariableDeclaration", + "scope": 622, + "src": "906:10:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 619, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "906:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "861:56:1" + }, + "src": "843:75:1" + }, + { + "body": { + "id": 634, + "nodeType": "Block", + "src": "1010:42:1", + "statements": [ + { + "expression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 631, + "name": "_setPoolClientAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 914, + "src": "1021:21:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", + "typeString": "function ()" + } + }, + "id": 632, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1021:23:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 633, + "nodeType": "ExpressionStatement", + "src": "1021:23:1" + } + ] + }, + "id": 635, + "implemented": true, + "kind": "constructor", + "modifiers": [ + { + "arguments": [ + { + "id": 628, + "name": "_dataStorageAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 625, + "src": "989:19:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + } + ], + "id": 629, + "kind": "baseConstructorSpecifier", + "modifierName": { + "id": 627, + "name": "PoolBase", + "nodeType": "IdentifierPath", + "referencedDeclaration": 591, + "src": "980:8:1" + }, + "nodeType": "ModifierInvocation", + "src": "980:29:1" + } + ], + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 626, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 625, + "mutability": "mutable", + "name": "_dataStorageAddress", + "nameLocation": "959:19:1", + "nodeType": "VariableDeclaration", + "scope": 635, + "src": "938:40:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + }, + "typeName": { + "id": 624, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 623, + "name": "DataStorageInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1393, + "src": "938:20:1" + }, + "referencedDeclaration": 1393, + "src": "938:20:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "visibility": "internal" + } + ], + "src": "937:42:1" + }, + "returnParameters": { + "id": 630, + "nodeType": "ParameterList", + "parameters": [], + "src": "1010:0:1" + }, + "scope": 1293, + "src": "926:126:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 788, + "nodeType": "Block", + "src": "1089:1559:1", + "statements": [ + { + "assignments": [ + 639 + ], + "declarations": [ + { + "constant": false, + "id": 639, + "mutability": "mutable", + "name": "poolVault", + "nameLocation": "1119:9:1", + "nodeType": "VariableDeclaration", + "scope": 788, + "src": "1100:28:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + }, + "typeName": { + "id": 638, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 637, + "name": "PoolVaultInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1443, + "src": "1100:18:1" + }, + "referencedDeclaration": 1443, + "src": "1100:18:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + } + }, + "visibility": "internal" + } + ], + "id": 645, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "506f6f6c5661756c74", + "id": 642, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1169:11:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_a42809ef63a8477a0cc19794440877c6cd527dbf68cffc2d1d864049ac3343dc", + "typeString": "literal_string \"PoolVault\"" + }, + "value": "PoolVault" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_a42809ef63a8477a0cc19794440877c6cd527dbf68cffc2d1d864049ac3343dc", + "typeString": "literal_string \"PoolVault\"" + } + ], + "id": 641, + "name": "getContractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 445, + "src": "1150:18:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$returns$_t_address_$", + "typeString": "function (string memory) view returns (address)" + } + }, + "id": 643, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1150:31:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 640, + "name": "PoolVaultInterface", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1443, + "src": "1131:18:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_PoolVaultInterface_$1443_$", + "typeString": "type(contract PoolVaultInterface)" + } + }, + "id": 644, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1131:51:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1100:82:1" + }, + { + "assignments": [ + 647 + ], + "declarations": [ + { + "constant": false, + "id": 647, + "mutability": "mutable", + "name": "statusTag", + "nameLocation": "1201:9:1", + "nodeType": "VariableDeclaration", + "scope": 788, + "src": "1193:17:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 646, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1193:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 654, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 651, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1240:12:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 649, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1223:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 650, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1223:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 652, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1223:30:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 648, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1213:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 653, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1213:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1193:61:1" + }, + { + "assignments": [ + 656 + ], + "declarations": [ + { + "constant": false, + "id": 656, + "mutability": "mutable", + "name": "daysRewTag", + "nameLocation": "1273:10:1", + "nodeType": "VariableDeclaration", + "scope": 788, + "src": "1265:18:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 655, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1265:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 663, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "64617973546f52657761726473", + "id": 660, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1313:15:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d", + "typeString": "literal_string \"daysToRewards\"" + }, + "value": "daysToRewards" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d", + "typeString": "literal_string \"daysToRewards\"" + } + ], + "expression": { + "id": 658, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1296:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 659, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1296:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 661, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1296:33:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 657, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1286:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 662, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1286:44:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1265:65:1" + }, + { + "assignments": [ + 665 + ], + "declarations": [ + { + "constant": false, + "id": 665, + "mutability": "mutable", + "name": "rewardsIntTag", + "nameLocation": "1349:13:1", + "nodeType": "VariableDeclaration", + "scope": 788, + "src": "1341:21:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 664, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1341:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 672, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "72657761726473496e746572657374506572506572696f64", + "id": 669, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1392:26:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c", + "typeString": "literal_string \"rewardsInterestPerPeriod\"" + }, + "value": "rewardsInterestPerPeriod" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c", + "typeString": "literal_string \"rewardsInterestPerPeriod\"" + } + ], + "expression": { + "id": 667, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1375:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 668, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1375:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 670, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1375:44:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 666, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1365:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 671, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1365:55:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1341:79:1" + }, + { + "assignments": [ + 674 + ], + "declarations": [ + { + "constant": false, + "id": 674, + "mutability": "mutable", + "name": "contrLimitTag", + "nameLocation": "1439:13:1", + "nodeType": "VariableDeclaration", + "scope": 788, + "src": "1431:21:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 673, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1431:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 681, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e747269627574696f6e4c696d6974", + "id": 678, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1482:19:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044", + "typeString": "literal_string \"contributionLimit\"" + }, + "value": "contributionLimit" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044", + "typeString": "literal_string \"contributionLimit\"" + } + ], + "expression": { + "id": 676, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1465:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 677, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1465:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 679, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1465:37:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 675, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1455:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 680, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1455:48:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1431:72:1" + }, + { + "assignments": [ + 683 + ], + "declarations": [ + { + "constant": false, + "id": 683, + "mutability": "mutable", + "name": "minContrTag", + "nameLocation": "1522:11:1", + "nodeType": "VariableDeclaration", + "scope": 788, + "src": "1514:19:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 682, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1514:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 690, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6d696e436f6e747269627574696f6e", + "id": 687, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1563:17:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36", + "typeString": "literal_string \"minContribution\"" + }, + "value": "minContribution" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36", + "typeString": "literal_string \"minContribution\"" + } + ], + "expression": { + "id": 685, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1546:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 686, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1546:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 688, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1546:35:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 684, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1536:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 689, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1536:46:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1514:68:1" + }, + { + "assignments": [ + 692 + ], + "declarations": [ + { + "constant": false, + "id": 692, + "mutability": "mutable", + "name": "poolMaxSizeTag", + "nameLocation": "1601:14:1", + "nodeType": "VariableDeclaration", + "scope": 788, + "src": "1593:22:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 691, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1593:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 699, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "706f6f6c4d617853697a65", + "id": 696, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1645:13:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42", + "typeString": "literal_string \"poolMaxSize\"" + }, + "value": "poolMaxSize" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42", + "typeString": "literal_string \"poolMaxSize\"" + } + ], + "expression": { + "id": 694, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1628:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 695, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1628:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 697, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1628:31:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 693, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1618:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 698, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1618:42:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1593:67:1" + }, + { + "assignments": [ + 701 + ], + "declarations": [ + { + "constant": false, + "id": 701, + "mutability": "mutable", + "name": "stakedByUserTag", + "nameLocation": "1679:15:1", + "nodeType": "VariableDeclaration", + "scope": 788, + "src": "1671:23:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 700, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1671:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 710, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "65746865725f7374616b65645f62795f75736572", + "id": 705, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1724:22:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_d355f88ceab9b2fcbf3199ee016c1d44cd524b771481c3f28e050cb3cd8e89d0", + "typeString": "literal_string \"ether_staked_by_user\"" + }, + "value": "ether_staked_by_user" + }, + { + "expression": { + "id": 706, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1748:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 707, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "1748:10:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_d355f88ceab9b2fcbf3199ee016c1d44cd524b771481c3f28e050cb3cd8e89d0", + "typeString": "literal_string \"ether_staked_by_user\"" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 703, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1707:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 704, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1707:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 708, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1707:52:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 702, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1697:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 709, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1697:63:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1671:89:1" + }, + { + "assignments": [ + 712 + ], + "declarations": [ + { + "constant": false, + "id": 712, + "mutability": "mutable", + "name": "newBalance", + "nameLocation": "1776:10:1", + "nodeType": "VariableDeclaration", + "scope": 788, + "src": "1771:15:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 711, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1771:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 720, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 719, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "id": 715, + "name": "stakedByUserTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 701, + "src": "1817:15:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 713, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "1790:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 714, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1323, + "src": "1790:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 716, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1790:43:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "expression": { + "id": 717, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1836:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 718, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "value", + "nodeType": "MemberAccess", + "src": "1836:9:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1790:55:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1771:74:1" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 727, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "id": 724, + "name": "daysRewTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 656, + "src": "1901:10:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 722, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "1874:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 723, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1323, + "src": "1874:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 725, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1874:38:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "hexValue": "30", + "id": 726, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1916:1:1", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "1874:43:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "546865207465616d206e6565647320746f2073657420612072657761726420696e74657276616c2e", + "id": 728, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1919:42:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_f010fc206434e76995f16ddd63fbbecb124b7157b8b26af4625c4b74913836e2", + "typeString": "literal_string \"The team needs to set a reward interval.\"" + }, + "value": "The team needs to set a reward interval." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_f010fc206434e76995f16ddd63fbbecb124b7157b8b26af4625c4b74913836e2", + "typeString": "literal_string \"The team needs to set a reward interval.\"" + } + ], + "id": 721, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "1866:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 729, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1866:96:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 730, + "nodeType": "ExpressionStatement", + "src": "1866:96:1" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 737, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "id": 734, + "name": "rewardsIntTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 665, + "src": "2008:13:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 732, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "1981:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 733, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1323, + "src": "1981:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 735, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1981:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "hexValue": "30", + "id": 736, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2026:1:1", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "1981:46:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "546865207465616d206e6565647320746f2073657420612072657761726420726174696f2e", + "id": 738, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2030:39:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_80e7e51429895e9428064c782e8e47368b34fff0ea170bfe0f000de92e41742c", + "typeString": "literal_string \"The team needs to set a reward ratio.\"" + }, + "value": "The team needs to set a reward ratio." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_80e7e51429895e9428064c782e8e47368b34fff0ea170bfe0f000de92e41742c", + "typeString": "literal_string \"The team needs to set a reward ratio.\"" + } + ], + "id": 731, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "1973:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 739, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1973:97:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 740, + "nodeType": "ExpressionStatement", + "src": "1973:97:1" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 747, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "id": 744, + "name": "contrLimitTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 674, + "src": "2116:13:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 742, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "2089:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 743, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1323, + "src": "2089:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 745, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2089:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "hexValue": "30", + "id": 746, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2134:1:1", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "2089:46:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "546865207465616d206e6565647320746f20736574206120636f6e747269627574696f6e206c696d69742e", + "id": 748, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2137:45:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_19ad6c976b149899a06f253a5c7ae71e547b11a00cb20a5aadce6eafd514b15c", + "typeString": "literal_string \"The team needs to set a contribution limit.\"" + }, + "value": "The team needs to set a contribution limit." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_19ad6c976b149899a06f253a5c7ae71e547b11a00cb20a5aadce6eafd514b15c", + "typeString": "literal_string \"The team needs to set a contribution limit.\"" + } + ], + "id": 741, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "2081:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 749, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2081:102:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 750, + "nodeType": "ExpressionStatement", + "src": "2081:102:1" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 757, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 752, + "name": "newBalance", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 712, + "src": "2202:10:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<=", + "rightExpression": { + "arguments": [ + { + "id": 755, + "name": "contrLimitTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 674, + "src": "2243:13:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 753, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "2216:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 754, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1323, + "src": "2216:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 756, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2216:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2202:55:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "4d61782e2063757272656e7420636f6e747269627574696f6e206c696d69742065786365656465642e", + "id": 758, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2259:43:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_9fb3116bf034257f53d100885fe342802b7bf9d79ee87529fdfad6cf247408b2", + "typeString": "literal_string \"Max. current contribution limit exceeded.\"" + }, + "value": "Max. current contribution limit exceeded." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_9fb3116bf034257f53d100885fe342802b7bf9d79ee87529fdfad6cf247408b2", + "typeString": "literal_string \"Max. current contribution limit exceeded.\"" + } + ], + "id": 751, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "2194:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 759, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2194:109:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 760, + "nodeType": "ExpressionStatement", + "src": "2194:109:1" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 768, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "id": 764, + "name": "minContrTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 683, + "src": "2349:11:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 762, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "2322:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 763, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1323, + "src": "2322:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 765, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2322:39:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<=", + "rightExpression": { + "expression": { + "id": 766, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "2365:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 767, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "value", + "nodeType": "MemberAccess", + "src": "2365:9:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2322:52:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "56616c756520746f206465706f736974206e6565647320746f20626520686967686572207468616e207468652063757272656e74206d696e696d756d20636f6e747269627574696f6e206c696d69742e", + "id": 769, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2376:82:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_de7afb02a747890df12ae9117ae05d9a0f544d6e9a59c6692a35fb1b30ac411d", + "typeString": "literal_string \"Value to deposit needs to be higher than the current minimum contribution limit.\"" + }, + "value": "Value to deposit needs to be higher than the current minimum contribution limit." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_de7afb02a747890df12ae9117ae05d9a0f544d6e9a59c6692a35fb1b30ac411d", + "typeString": "literal_string \"Value to deposit needs to be higher than the current minimum contribution limit.\"" + } + ], + "id": 761, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "2314:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 770, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2314:145:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 771, + "nodeType": "ExpressionStatement", + "src": "2314:145:1" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 783, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 778, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 773, + "name": "poolVault", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 639, + "src": "2478:9:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + } + }, + "id": 774, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "poolEtherSize", + "nodeType": "MemberAccess", + "referencedDeclaration": 1424, + "src": "2478:23:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", + "typeString": "function () view external returns (uint256)" + } + }, + "id": 775, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2478:25:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "expression": { + "id": 776, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "2506:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 777, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "value", + "nodeType": "MemberAccess", + "src": "2506:9:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2478:37:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<=", + "rightExpression": { + "arguments": [ + { + "id": 781, + "name": "poolMaxSizeTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 692, + "src": "2546:14:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 779, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "2519:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 780, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1323, + "src": "2519:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 782, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2519:42:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2478:83:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "4d61782e20506f6f6c2073697a65206f766572666c6f772077697468207468617420616d6f756e74206f66206465706f7369742e", + "id": 784, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2563:54:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_0aca709d1d31a30dd3ccfaa34d0d4a5445deddf0a17f0e432d4d3c0e62a3f388", + "typeString": "literal_string \"Max. Pool size overflow with that amount of deposit.\"" + }, + "value": "Max. Pool size overflow with that amount of deposit." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_0aca709d1d31a30dd3ccfaa34d0d4a5445deddf0a17f0e432d4d3c0e62a3f388", + "typeString": "literal_string \"Max. Pool size overflow with that amount of deposit.\"" + } + ], + "id": 772, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "2470:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 785, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2470:148:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 786, + "nodeType": "ExpressionStatement", + "src": "2470:148:1" + }, + { + "id": 787, + "nodeType": "PlaceholderStatement", + "src": "2639:1:1" + } + ] + }, + "id": 789, + "name": "depositCompliance", + "nameLocation": "1069:17:1", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 636, + "nodeType": "ParameterList", + "parameters": [], + "src": "1086:2:1" + }, + "src": "1060:1588:1", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 854, + "nodeType": "Block", + "src": "2709:642:1", + "statements": [ + { + "assignments": [ + 795 + ], + "declarations": [ + { + "constant": false, + "id": 795, + "mutability": "mutable", + "name": "poolVault", + "nameLocation": "2739:9:1", + "nodeType": "VariableDeclaration", + "scope": 854, + "src": "2720:28:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + }, + "typeName": { + "id": 794, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 793, + "name": "PoolVaultInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1443, + "src": "2720:18:1" + }, + "referencedDeclaration": 1443, + "src": "2720:18:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + } + }, + "visibility": "internal" + } + ], + "id": 801, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "506f6f6c5661756c74", + "id": 798, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2789:11:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_a42809ef63a8477a0cc19794440877c6cd527dbf68cffc2d1d864049ac3343dc", + "typeString": "literal_string \"PoolVault\"" + }, + "value": "PoolVault" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_a42809ef63a8477a0cc19794440877c6cd527dbf68cffc2d1d864049ac3343dc", + "typeString": "literal_string \"PoolVault\"" + } + ], + "id": 797, + "name": "getContractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 445, + "src": "2770:18:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$returns$_t_address_$", + "typeString": "function (string memory) view returns (address)" + } + }, + "id": 799, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2770:31:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 796, + "name": "PoolVaultInterface", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1443, + "src": "2751:18:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_PoolVaultInterface_$1443_$", + "typeString": "type(contract PoolVaultInterface)" + } + }, + "id": 800, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2751:51:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2720:82:1" + }, + { + "assignments": [ + 804 + ], + "declarations": [ + { + "constant": false, + "id": 804, + "mutability": "mutable", + "name": "rwEthToken", + "nameLocation": "2833:10:1", + "nodeType": "VariableDeclaration", + "scope": 854, + "src": "2813:30:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHTokenInterface_$1525", + "typeString": "contract rwETHTokenInterface" + }, + "typeName": { + "id": 803, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 802, + "name": "rwETHTokenInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1525, + "src": "2813:19:1" + }, + "referencedDeclaration": 1525, + "src": "2813:19:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHTokenInterface_$1525", + "typeString": "contract rwETHTokenInterface" + } + }, + "visibility": "internal" + } + ], + "id": 810, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "7277455448546f6b656e", + "id": 807, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2885:12:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7d524a24df8794b8c8ace1bb51668b020bb309552ba8f8b2f78f8f206243afbb", + "typeString": "literal_string \"rwETHToken\"" + }, + "value": "rwETHToken" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_7d524a24df8794b8c8ace1bb51668b020bb309552ba8f8b2f78f8f206243afbb", + "typeString": "literal_string \"rwETHToken\"" + } + ], + "id": 806, + "name": "getContractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 445, + "src": "2866:18:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$returns$_t_address_$", + "typeString": "function (string memory) view returns (address)" + } + }, + "id": 808, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2866:32:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 805, + "name": "rwETHTokenInterface", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1525, + "src": "2846:19:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_rwETHTokenInterface_$1525_$", + "typeString": "type(contract rwETHTokenInterface)" + } + }, + "id": 809, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2846:53:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHTokenInterface_$1525", + "typeString": "contract rwETHTokenInterface" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2813:86:1" + }, + { + "assignments": [ + 812 + ], + "declarations": [ + { + "constant": false, + "id": 812, + "mutability": "mutable", + "name": "statusTag", + "nameLocation": "2918:9:1", + "nodeType": "VariableDeclaration", + "scope": 854, + "src": "2910:17:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 811, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2910:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 819, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 816, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2957:12:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 814, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "2940:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 815, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "2940:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 817, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2940:30:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 813, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "2930:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 818, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2930:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2910:61:1" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 827, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "expression": { + "id": 823, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "3013:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 824, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "3013:10:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 821, + "name": "rwEthToken", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 804, + "src": "2992:10:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHTokenInterface_$1525", + "typeString": "contract rwETHTokenInterface" + } + }, + "id": 822, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "balanceOf", + "nodeType": "MemberAccess", + "referencedDeclaration": 1964, + "src": "2992:20:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", + "typeString": "function (address) view external returns (uint256)" + } + }, + "id": 825, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2992:32:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">=", + "rightExpression": { + "id": 826, + "name": "_rwEtherWithdrawal", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 791, + "src": "3028:18:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2992:54:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "596f7520646f6e27742068617665207468617420616d6f756e74206f6620746f6b656e73206f6e20796f7572206163636f756e742e", + "id": 828, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3048:55:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_90eb27ec9fe4931c246d4a767afde5ebee8d08c2c5cd7adf4ff3a2547356978a", + "typeString": "literal_string \"You don't have that amount of tokens on your account.\"" + }, + "value": "You don't have that amount of tokens on your account." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_90eb27ec9fe4931c246d4a767afde5ebee8d08c2c5cd7adf4ff3a2547356978a", + "typeString": "literal_string \"You don't have that amount of tokens on your account.\"" + } + ], + "id": 820, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "2984:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 829, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2984:120:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 830, + "nodeType": "ExpressionStatement", + "src": "2984:120:1" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 841, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 839, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 832, + "name": "poolVault", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 795, + "src": "3123:9:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + } + }, + "id": 833, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "poolEtherSize", + "nodeType": "MemberAccess", + "referencedDeclaration": 1424, + "src": "3123:23:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", + "typeString": "function () view external returns (uint256)" + } + }, + "id": 834, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3123:25:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "arguments": [ + { + "id": 837, + "name": "_rwEtherWithdrawal", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 791, + "src": "3175:18:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 835, + "name": "rwEthToken", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 804, + "src": "3151:10:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHTokenInterface_$1525", + "typeString": "contract rwETHTokenInterface" + } + }, + "id": 836, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "calcEthValue", + "nodeType": "MemberAccess", + "referencedDeclaration": 1493, + "src": "3151:23:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_uint256_$", + "typeString": "function (uint256) view external returns (uint256)" + } + }, + "id": 838, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3151:43:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "3123:71:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">=", + "rightExpression": { + "hexValue": "30", + "id": 840, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3198:1:1", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "3123:76:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "506f6f6c2073697a652063616e6e6f7420626520736d616c6c6572207468616e207a65726f2e", + "id": 842, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3201:40:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_e0ca9ec09210f9eb759fac6a6589e191f21a42c4e51863e166d749e6aa938d57", + "typeString": "literal_string \"Pool size cannot be smaller than zero.\"" + }, + "value": "Pool size cannot be smaller than zero." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_e0ca9ec09210f9eb759fac6a6589e191f21a42c4e51863e166d749e6aa938d57", + "typeString": "literal_string \"Pool size cannot be smaller than zero.\"" + } + ], + "id": 831, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "3115:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 843, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3115:127:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 844, + "nodeType": "ExpressionStatement", + "src": "3115:127:1" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "id": 848, + "name": "statusTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 812, + "src": "3288:9:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 846, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "3261:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 847, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1330, + "src": "3261:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 849, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3261:37:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920706175736564", + "id": 850, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3300:30:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_3b245c4f3b2203e747fb2dc59b5a8c9d4c277a57e8b5577622ddc81ae5fceeed", + "typeString": "literal_string \"The pool is currently paused\"" + }, + "value": "The pool is currently paused" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_3b245c4f3b2203e747fb2dc59b5a8c9d4c277a57e8b5577622ddc81ae5fceeed", + "typeString": "literal_string \"The pool is currently paused\"" + } + ], + "id": 845, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "3253:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 851, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3253:78:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 852, + "nodeType": "ExpressionStatement", + "src": "3253:78:1" + }, + { + "id": 853, + "nodeType": "PlaceholderStatement", + "src": "3342:1:1" + } + ] + }, + "id": 855, + "name": "withdrawCompliance", + "nameLocation": "2665:18:1", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 792, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 791, + "mutability": "mutable", + "name": "_rwEtherWithdrawal", + "nameLocation": "2689:18:1", + "nodeType": "VariableDeclaration", + "scope": 855, + "src": "2684:23:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 790, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2684:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "2683:25:1" + }, + "src": "2656:695:1", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 876, + "nodeType": "Block", + "src": "3389:181:1", + "statements": [ + { + "assignments": [ + 858 + ], + "declarations": [ + { + "constant": false, + "id": 858, + "mutability": "mutable", + "name": "statusTag", + "nameLocation": "3408:9:1", + "nodeType": "VariableDeclaration", + "scope": 876, + "src": "3400:17:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 857, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3400:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 865, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 862, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3447:12:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 860, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3430:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 861, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3430:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 863, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3430:30:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 859, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "3420:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 864, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3420:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3400:61:1" + }, + { + "expression": { + "arguments": [ + { + "id": 871, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "3482:38:1", + "subExpression": { + "arguments": [ + { + "id": 869, + "name": "statusTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 858, + "src": "3510:9:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 867, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "3483:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 868, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1330, + "src": "3483:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 870, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3483:37:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c79206c6976652e", + "id": 872, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3522:29:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_a07a9155f0fee414d04e07326b9b898321366e59564af46f456c915818839e4f", + "typeString": "literal_string \"The pool is currently live.\"" + }, + "value": "The pool is currently live." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_a07a9155f0fee414d04e07326b9b898321366e59564af46f456c915818839e4f", + "typeString": "literal_string \"The pool is currently live.\"" + } + ], + "id": 866, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "3474:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 873, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3474:78:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 874, + "nodeType": "ExpressionStatement", + "src": "3474:78:1" + }, + { + "id": 875, + "nodeType": "PlaceholderStatement", + "src": "3561:1:1" + } + ] + }, + "id": 877, + "name": "injectionComliance", + "nameLocation": "3368:18:1", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 856, + "nodeType": "ParameterList", + "parameters": [], + "src": "3386:2:1" + }, + "src": "3359:211:1", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 913, + "nodeType": "Block", + "src": "3754:232:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f657869737473", + "id": 887, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3819:17:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + "value": "contract_exists" + }, + { + "arguments": [ + { + "id": 890, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "3846:4:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolClient_$1293", + "typeString": "contract PoolClient" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_PoolClient_$1293", + "typeString": "contract PoolClient" + } + ], + "id": 889, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3838:7:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 888, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3838:7:1", + "typeDescriptions": {} + } + }, + "id": 891, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3838:13:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 885, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3802:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 886, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3802:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 892, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3802:50:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 884, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "3792:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 893, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3792:61:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "hexValue": "74727565", + "id": 894, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3855:4:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "expression": { + "id": 881, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "3765:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 883, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1356, + "src": "3765:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_bool_$returns$__$", + "typeString": "function (bytes32,bool) external" + } + }, + "id": 895, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3765:95:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 896, + "nodeType": "ExpressionStatement", + "src": "3765:95:1" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f61646472657373", + "id": 903, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3928:18:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + "value": "contract_address" + }, + { + "hexValue": "506f6f6c436c69656e74", + "id": 904, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3948:12:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_db398badece03775756fae64be2a2ed9aaf2b2ace9c216beb0e483c4a0338aa3", + "typeString": "literal_string \"PoolClient\"" + }, + "value": "PoolClient" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + { + "typeIdentifier": "t_stringliteral_db398badece03775756fae64be2a2ed9aaf2b2ace9c216beb0e483c4a0338aa3", + "typeString": "literal_string \"PoolClient\"" + } + ], + "expression": { + "id": 901, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3911:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 902, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3911:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 905, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3911:50:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 900, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "3901:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 906, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3901:61:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "arguments": [ + { + "id": 909, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "3972:4:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolClient_$1293", + "typeString": "contract PoolClient" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_PoolClient_$1293", + "typeString": "contract PoolClient" + } + ], + "id": 908, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3964:7:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 907, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3964:7:1", + "typeDescriptions": {} + } + }, + "id": 910, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3964:13:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 897, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "3871:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 899, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setAddressStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1363, + "src": "3871:29:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address) external" + } + }, + "id": 911, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3871:107:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 912, + "nodeType": "ExpressionStatement", + "src": "3871:107:1" + } + ] + }, + "documentation": { + "id": 878, + "nodeType": "StructuredDocumentation", + "src": "3581:126:1", + "text": "@dev Store this contract address and existance on the main storage.\n @notice Called while deploying the contract. " + }, + "id": 914, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_setPoolClientAddress", + "nameLocation": "3722:21:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 879, + "nodeType": "ParameterList", + "parameters": [], + "src": "3743:2:1" + }, + "returnParameters": { + "id": 880, + "nodeType": "ParameterList", + "parameters": [], + "src": "3754:0:1" + }, + "scope": 1293, + "src": "3713:273:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "private" + }, + { + "body": { + "id": 969, + "nodeType": "Block", + "src": "4488:416:1", + "statements": [ + { + "assignments": [ + 924 + ], + "declarations": [ + { + "constant": false, + "id": 924, + "mutability": "mutable", + "name": "rwEthToken", + "nameLocation": "4519:10:1", + "nodeType": "VariableDeclaration", + "scope": 969, + "src": "4499:30:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHTokenInterface_$1525", + "typeString": "contract rwETHTokenInterface" + }, + "typeName": { + "id": 923, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 922, + "name": "rwETHTokenInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1525, + "src": "4499:19:1" + }, + "referencedDeclaration": 1525, + "src": "4499:19:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHTokenInterface_$1525", + "typeString": "contract rwETHTokenInterface" + } + }, + "visibility": "internal" + } + ], + "id": 930, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "7277455448546f6b656e", + "id": 927, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4571:12:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7d524a24df8794b8c8ace1bb51668b020bb309552ba8f8b2f78f8f206243afbb", + "typeString": "literal_string \"rwETHToken\"" + }, + "value": "rwETHToken" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_7d524a24df8794b8c8ace1bb51668b020bb309552ba8f8b2f78f8f206243afbb", + "typeString": "literal_string \"rwETHToken\"" + } + ], + "id": 926, + "name": "getContractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 445, + "src": "4552:18:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$returns$_t_address_$", + "typeString": "function (string memory) view returns (address)" + } + }, + "id": 928, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4552:32:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 925, + "name": "rwETHTokenInterface", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1525, + "src": "4532:19:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_rwETHTokenInterface_$1525_$", + "typeString": "type(contract rwETHTokenInterface)" + } + }, + "id": 929, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4532:53:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHTokenInterface_$1525", + "typeString": "contract rwETHTokenInterface" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4499:86:1" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 934, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "4612:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 935, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "4612:10:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "expression": { + "id": 936, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "4624:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 937, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "value", + "nodeType": "MemberAccess", + "src": "4624:9:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 931, + "name": "rwEthToken", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 924, + "src": "4596:10:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHTokenInterface_$1525", + "typeString": "contract rwETHTokenInterface" + } + }, + "id": 933, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "mint", + "nodeType": "MemberAccess", + "referencedDeclaration": 1514, + "src": "4596:15:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256) external" + } + }, + "id": 938, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4596:38:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 939, + "nodeType": "ExpressionStatement", + "src": "4596:38:1" + }, + { + "assignments": [ + 941 + ], + "declarations": [ + { + "constant": false, + "id": 941, + "mutability": "mutable", + "name": "currentEthSupplyTag", + "nameLocation": "4655:19:1", + "nodeType": "VariableDeclaration", + "scope": 969, + "src": "4647:27:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 940, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4647:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 948, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "746f74616c537570706c795f4574686572", + "id": 945, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4704:19:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c249c8d0234c73f198edb6911269cabbcb3a87200e5c4a66aae535d12bd6112c", + "typeString": "literal_string \"totalSupply_Ether\"" + }, + "value": "totalSupply_Ether" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_c249c8d0234c73f198edb6911269cabbcb3a87200e5c4a66aae535d12bd6112c", + "typeString": "literal_string \"totalSupply_Ether\"" + } + ], + "expression": { + "id": 943, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "4687:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 944, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "4687:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 946, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4687:37:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 942, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "4677:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 947, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4677:48:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4647:78:1" + }, + { + "expression": { + "arguments": [ + { + "id": 952, + "name": "currentEthSupplyTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 941, + "src": "4768:19:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "expression": { + "id": 953, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "4789:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 954, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "value", + "nodeType": "MemberAccess", + "src": "4789:9:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 949, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "4736:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 951, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "increaseUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1370, + "src": "4736:31:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 955, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4736:63:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 956, + "nodeType": "ExpressionStatement", + "src": "4736:63:1" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 958, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "4828:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 959, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "4828:10:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "expression": { + "id": 960, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "4840:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 961, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "value", + "nodeType": "MemberAccess", + "src": "4840:9:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "expression": { + "id": 962, + "name": "block", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967292, + "src": "4852:5:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_block", + "typeString": "block" + } + }, + "id": 963, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "timestamp", + "nodeType": "MemberAccess", + "src": "4852:15:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 957, + "name": "UserStaked", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 608, + "src": "4817:10:1", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256,uint256)" + } + }, + "id": 964, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4817:51:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 965, + "nodeType": "EmitStatement", + "src": "4812:56:1" + }, + { + "expression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 966, + "name": "_depositToVault", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 992, + "src": "4879:15:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", + "typeString": "function ()" + } + }, + "id": 967, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4879:17:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 968, + "nodeType": "ExpressionStatement", + "src": "4879:17:1" + } + ] + }, + "documentation": { + "id": 915, + "nodeType": "StructuredDocumentation", + "src": "3999:412:1", + "text": "@dev Main Staking function. Allows users to deposit ether in exchange of rwEther.\n @notice The exchange rate (ETH / rwETH) is calculated within the mint function. \n @notice The minting function updates only the current rwEth supply.\n @notice The mint function comes with a built-in ether/rwEther converter.\n @notice Once the user deposits, the ether go to the vault contract." + }, + "functionSelector": "d0e30db0", + "id": 970, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [], + "id": 918, + "kind": "modifierInvocation", + "modifierName": { + "id": 917, + "name": "depositCompliance", + "nodeType": "IdentifierPath", + "referencedDeclaration": 789, + "src": "4453:17:1" + }, + "nodeType": "ModifierInvocation", + "src": "4453:19:1" + }, + { + "arguments": [], + "id": 920, + "kind": "modifierInvocation", + "modifierName": { + "id": 919, + "name": "nonReentrant", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1946, + "src": "4473:12:1" + }, + "nodeType": "ModifierInvocation", + "src": "4473:14:1" + } + ], + "name": "deposit", + "nameLocation": "4426:7:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 916, + "nodeType": "ParameterList", + "parameters": [], + "src": "4433:2:1" + }, + "returnParameters": { + "id": 921, + "nodeType": "ParameterList", + "parameters": [], + "src": "4488:0:1" + }, + "scope": 1293, + "src": "4417:487:1", + "stateMutability": "payable", + "virtual": false, + "visibility": "external" + }, + { + "body": { + "id": 991, + "nodeType": "Block", + "src": "5002:152:1", + "statements": [ + { + "assignments": [ + 976 + ], + "declarations": [ + { + "constant": false, + "id": 976, + "mutability": "mutable", + "name": "poolVault", + "nameLocation": "5032:9:1", + "nodeType": "VariableDeclaration", + "scope": 991, + "src": "5013:28:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + }, + "typeName": { + "id": 975, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 974, + "name": "PoolVaultInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1443, + "src": "5013:18:1" + }, + "referencedDeclaration": 1443, + "src": "5013:18:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + } + }, + "visibility": "internal" + } + ], + "id": 982, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "506f6f6c5661756c74", + "id": 979, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5082:11:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_a42809ef63a8477a0cc19794440877c6cd527dbf68cffc2d1d864049ac3343dc", + "typeString": "literal_string \"PoolVault\"" + }, + "value": "PoolVault" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_a42809ef63a8477a0cc19794440877c6cd527dbf68cffc2d1d864049ac3343dc", + "typeString": "literal_string \"PoolVault\"" + } + ], + "id": 978, + "name": "getContractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 445, + "src": "5063:18:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$returns$_t_address_$", + "typeString": "function (string memory) view returns (address)" + } + }, + "id": 980, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5063:31:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 977, + "name": "PoolVaultInterface", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1443, + "src": "5044:18:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_PoolVaultInterface_$1443_$", + "typeString": "type(contract PoolVaultInterface)" + } + }, + "id": 981, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5044:51:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5013:82:1" + }, + { + "expression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 983, + "name": "poolVault", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 976, + "src": "5106:9:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + } + }, + "id": 985, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "storeEther", + "nodeType": "MemberAccess", + "referencedDeclaration": 1427, + "src": "5106:20:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_payable$__$returns$__$", + "typeString": "function () payable external" + } + }, + "id": 988, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "names": [ + "value" + ], + "nodeType": "FunctionCallOptions", + "options": [ + { + "expression": { + "id": 986, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "5134:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 987, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "value", + "nodeType": "MemberAccess", + "src": "5134:9:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "src": "5106:38:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_payable$__$returns$__$value", + "typeString": "function () payable external" + } + }, + "id": 989, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5106:40:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 990, + "nodeType": "ExpressionStatement", + "src": "5106:40:1" + } + ] + }, + "documentation": { + "id": 971, + "nodeType": "StructuredDocumentation", + "src": "4912:49:1", + "text": "@dev Transfers the staked ether to the vault." + }, + "id": 992, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_depositToVault", + "nameLocation": "4976:15:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 972, + "nodeType": "ParameterList", + "parameters": [], + "src": "4991:2:1" + }, + "returnParameters": { + "id": 973, + "nodeType": "ParameterList", + "parameters": [], + "src": "5002:0:1" + }, + "scope": 1293, + "src": "4967:187:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "private" + }, + { + "body": { + "id": 1044, + "nodeType": "Block", + "src": "5349:463:1", + "statements": [ + { + "assignments": [ + 1003 + ], + "declarations": [ + { + "constant": false, + "id": 1003, + "mutability": "mutable", + "name": "poolTokenBalances", + "nameLocation": "5383:17:1", + "nodeType": "VariableDeclaration", + "scope": 1044, + "src": "5360:40:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$1478", + "typeString": "contract TokenBalancesInterface" + }, + "typeName": { + "id": 1002, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 1001, + "name": "TokenBalancesInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1478, + "src": "5360:22:1" + }, + "referencedDeclaration": 1478, + "src": "5360:22:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$1478", + "typeString": "contract TokenBalancesInterface" + } + }, + "visibility": "internal" + } + ], + "id": 1009, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "546f6b656e42616c616e636573", + "id": 1006, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5445:15:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_3b6d5f7972ed6795e7621e32620438487583050aef09a1228b0cc6a9a3f04fe9", + "typeString": "literal_string \"TokenBalances\"" + }, + "value": "TokenBalances" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_3b6d5f7972ed6795e7621e32620438487583050aef09a1228b0cc6a9a3f04fe9", + "typeString": "literal_string \"TokenBalances\"" + } + ], + "id": 1005, + "name": "getContractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 445, + "src": "5426:18:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$returns$_t_address_$", + "typeString": "function (string memory) view returns (address)" + } + }, + "id": 1007, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5426:35:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1004, + "name": "TokenBalancesInterface", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1478, + "src": "5403:22:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_TokenBalancesInterface_$1478_$", + "typeString": "type(contract TokenBalancesInterface)" + } + }, + "id": 1008, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5403:59:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$1478", + "typeString": "contract TokenBalancesInterface" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5360:102:1" + }, + { + "assignments": [ + 1011 + ], + "declarations": [ + { + "constant": false, + "id": 1011, + "mutability": "mutable", + "name": "rewardsToInjectTag", + "nameLocation": "5491:18:1", + "nodeType": "VariableDeclaration", + "scope": 1044, + "src": "5483:26:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1010, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "5483:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 1018, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "72657761726473546f496e6a656374", + "id": 1015, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5539:17:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_76edfdb8c3aa82fcf38cdc1a6e283906fb4b4d3155ae9613a513f5862659fb75", + "typeString": "literal_string \"rewardsToInject\"" + }, + "value": "rewardsToInject" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_76edfdb8c3aa82fcf38cdc1a6e283906fb4b4d3155ae9613a513f5862659fb75", + "typeString": "literal_string \"rewardsToInject\"" + } + ], + "expression": { + "id": 1013, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "5522:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 1014, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5522:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 1016, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5522:35:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1012, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "5512:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 1017, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5512:46:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5483:75:1" + }, + { + "assignments": [ + 1020 + ], + "declarations": [ + { + "constant": false, + "id": 1020, + "mutability": "mutable", + "name": "rewardsInterest", + "nameLocation": "5591:15:1", + "nodeType": "VariableDeclaration", + "scope": 1044, + "src": "5586:20:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1019, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "5586:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1023, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 1021, + "name": "getRewardsInterest", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 550, + "src": "5609:18:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$", + "typeString": "function () view returns (uint256)" + } + }, + "id": 1022, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5609:20:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5586:43:1" + }, + { + "assignments": [ + 1025 + ], + "declarations": [ + { + "constant": false, + "id": 1025, + "mutability": "mutable", + "name": "rewardsToInject", + "nameLocation": "5645:15:1", + "nodeType": "VariableDeclaration", + "scope": 1044, + "src": "5640:20:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1024, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "5640:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1036, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1035, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1030, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 1026, + "name": "poolTokenBalances", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1003, + "src": "5663:17:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$1478", + "typeString": "contract TokenBalancesInterface" + } + }, + "id": 1027, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getTotalEtherStaked", + "nodeType": "MemberAccess", + "referencedDeclaration": 1465, + "src": "5663:37:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", + "typeString": "function () view external returns (uint256)" + } + }, + "id": 1028, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5663:39:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 1029, + "name": "rewardsInterest", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1020, + "src": "5705:15:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "5663:57:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_rational_1000000_by_1", + "typeString": "int_const 1000000" + }, + "id": 1033, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "leftExpression": { + "hexValue": "3130", + "id": 1031, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5724:2:1", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "value": "10" + }, + "nodeType": "BinaryOperation", + "operator": "**", + "rightExpression": { + "hexValue": "36", + "id": 1032, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5728:1:1", + "typeDescriptions": { + "typeIdentifier": "t_rational_6_by_1", + "typeString": "int_const 6" + }, + "value": "6" + }, + "src": "5724:5:1", + "typeDescriptions": { + "typeIdentifier": "t_rational_1000000_by_1", + "typeString": "int_const 1000000" + } + } + ], + "id": 1034, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "5723:7:1", + "typeDescriptions": { + "typeIdentifier": "t_rational_1000000_by_1", + "typeString": "int_const 1000000" + } + }, + "src": "5663:67:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5640:90:1" + }, + { + "expression": { + "arguments": [ + { + "id": 1040, + "name": "rewardsToInjectTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1011, + "src": "5768:18:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1041, + "name": "rewardsToInject", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1025, + "src": "5788:15:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 1037, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "5741:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 1039, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1349, + "src": "5741:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 1042, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5741:63:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1043, + "nodeType": "ExpressionStatement", + "src": "5741:63:1" + } + ] + }, + "documentation": { + "id": 993, + "nodeType": "StructuredDocumentation", + "src": "5166:98:1", + "text": "@dev Helps the team calculate the rewards. Also, assigns the amount to inject into a variable." + }, + "functionSelector": "3e50de30", + "id": 1045, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 996, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "5314:12:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 997, + "kind": "modifierInvocation", + "modifierName": { + "id": 995, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1566, + "src": "5305:8:1" + }, + "nodeType": "ModifierInvocation", + "src": "5305:22:1" + }, + { + "arguments": [], + "id": 999, + "kind": "modifierInvocation", + "modifierName": { + "id": 998, + "name": "injectionComliance", + "nodeType": "IdentifierPath", + "referencedDeclaration": 877, + "src": "5328:18:1" + }, + "nodeType": "ModifierInvocation", + "src": "5328:20:1" + } + ], + "name": "calculateRewards", + "nameLocation": "5279:16:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 994, + "nodeType": "ParameterList", + "parameters": [], + "src": "5295:2:1" + }, + "returnParameters": { + "id": 1000, + "nodeType": "ParameterList", + "parameters": [], + "src": "5349:0:1" + }, + "scope": 1293, + "src": "5270:542:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 1068, + "nodeType": "Block", + "src": "5956:158:1", + "statements": [ + { + "assignments": [ + 1055 + ], + "declarations": [ + { + "constant": false, + "id": 1055, + "mutability": "mutable", + "name": "rewardsToInjectTag", + "nameLocation": "5975:18:1", + "nodeType": "VariableDeclaration", + "scope": 1068, + "src": "5967:26:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1054, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "5967:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 1062, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "72657761726473546f496e6a656374", + "id": 1059, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6023:17:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_76edfdb8c3aa82fcf38cdc1a6e283906fb4b4d3155ae9613a513f5862659fb75", + "typeString": "literal_string \"rewardsToInject\"" + }, + "value": "rewardsToInject" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_76edfdb8c3aa82fcf38cdc1a6e283906fb4b4d3155ae9613a513f5862659fb75", + "typeString": "literal_string \"rewardsToInject\"" + } + ], + "expression": { + "id": 1057, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "6006:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 1058, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "6006:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 1060, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6006:35:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1056, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "5996:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 1061, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5996:46:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5967:75:1" + }, + { + "expression": { + "arguments": [ + { + "id": 1065, + "name": "rewardsToInjectTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1055, + "src": "6087:18:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 1063, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "6060:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 1064, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1323, + "src": "6060:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 1066, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6060:46:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 1053, + "id": 1067, + "nodeType": "Return", + "src": "6053:53:1" + } + ] + }, + "documentation": { + "id": 1046, + "nodeType": "StructuredDocumentation", + "src": "5820:52:1", + "text": "@dev Gets the lastest amount of ether to inject." + }, + "functionSelector": "9ed03ab6", + "id": 1069, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 1049, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "5929:12:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 1050, + "kind": "modifierInvocation", + "modifierName": { + "id": 1048, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1566, + "src": "5920:8:1" + }, + "nodeType": "ModifierInvocation", + "src": "5920:22:1" + } + ], + "name": "getRewardsToInject", + "nameLocation": "5887:18:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1047, + "nodeType": "ParameterList", + "parameters": [], + "src": "5905:2:1" + }, + "returnParameters": { + "id": 1053, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1052, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1069, + "src": "5951:4:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1051, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "5951:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "5950:6:1" + }, + "scope": 1293, + "src": "5878:236:1", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 1164, + "nodeType": "Block", + "src": "6668:863:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1083, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 1079, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "6687:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1080, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "value", + "nodeType": "MemberAccess", + "src": "6687:9:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 1081, + "name": "getRewardsToInject", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1069, + "src": "6700:18:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$", + "typeString": "function () view returns (uint256)" + } + }, + "id": 1082, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6700:20:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "6687:33:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "496e76616c696420657468657220696e74657265737420696e6a65637465642e", + "id": 1084, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6722:34:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c75f434c4e7b86f1c0d9c954f2d25cfdebc766bb18ad155109871835d37640e8", + "typeString": "literal_string \"Invalid ether interest injected.\"" + }, + "value": "Invalid ether interest injected." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_c75f434c4e7b86f1c0d9c954f2d25cfdebc766bb18ad155109871835d37640e8", + "typeString": "literal_string \"Invalid ether interest injected.\"" + } + ], + "id": 1078, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "6679:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 1085, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6679:78:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1086, + "nodeType": "ExpressionStatement", + "src": "6679:78:1" + }, + { + "assignments": [ + 1089 + ], + "declarations": [ + { + "constant": false, + "id": 1089, + "mutability": "mutable", + "name": "poolVault", + "nameLocation": "6787:9:1", + "nodeType": "VariableDeclaration", + "scope": 1164, + "src": "6768:28:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + }, + "typeName": { + "id": 1088, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 1087, + "name": "PoolVaultInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1443, + "src": "6768:18:1" + }, + "referencedDeclaration": 1443, + "src": "6768:18:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + } + }, + "visibility": "internal" + } + ], + "id": 1095, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "506f6f6c5661756c74", + "id": 1092, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6837:11:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_a42809ef63a8477a0cc19794440877c6cd527dbf68cffc2d1d864049ac3343dc", + "typeString": "literal_string \"PoolVault\"" + }, + "value": "PoolVault" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_a42809ef63a8477a0cc19794440877c6cd527dbf68cffc2d1d864049ac3343dc", + "typeString": "literal_string \"PoolVault\"" + } + ], + "id": 1091, + "name": "getContractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 445, + "src": "6818:18:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$returns$_t_address_$", + "typeString": "function (string memory) view returns (address)" + } + }, + "id": 1093, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6818:31:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1090, + "name": "PoolVaultInterface", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1443, + "src": "6799:18:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_PoolVaultInterface_$1443_$", + "typeString": "type(contract PoolVaultInterface)" + } + }, + "id": 1094, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6799:51:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6768:82:1" + }, + { + "assignments": [ + 1097 + ], + "declarations": [ + { + "constant": false, + "id": 1097, + "mutability": "mutable", + "name": "lastRewardTimeTag", + "nameLocation": "6871:17:1", + "nodeType": "VariableDeclaration", + "scope": 1164, + "src": "6863:25:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1096, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6863:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 1104, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6c61737452657761726454696d65", + "id": 1101, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6918:16:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_a8e7474b45c8b24d3fc859e7598de85ce7116a6f79113863771eb36ab9bbbd50", + "typeString": "literal_string \"lastRewardTime\"" + }, + "value": "lastRewardTime" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_a8e7474b45c8b24d3fc859e7598de85ce7116a6f79113863771eb36ab9bbbd50", + "typeString": "literal_string \"lastRewardTime\"" + } + ], + "expression": { + "id": 1099, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "6901:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 1100, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "6901:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 1102, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6901:34:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1098, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "6891:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 1103, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6891:45:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6863:73:1" + }, + { + "assignments": [ + 1106 + ], + "declarations": [ + { + "constant": false, + "id": 1106, + "mutability": "mutable", + "name": "totalRewardsInjectedTag", + "nameLocation": "6955:23:1", + "nodeType": "VariableDeclaration", + "scope": 1164, + "src": "6947:31:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1105, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6947:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 1113, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "746f74616c52657761726473496e6a6563746564", + "id": 1110, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7008:22:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_3eeb3edc0bd0c927e9a425249e5fad79540544d9a606ca590d27861d0999cf35", + "typeString": "literal_string \"totalRewardsInjected\"" + }, + "value": "totalRewardsInjected" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_3eeb3edc0bd0c927e9a425249e5fad79540544d9a606ca590d27861d0999cf35", + "typeString": "literal_string \"totalRewardsInjected\"" + } + ], + "expression": { + "id": 1108, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "6991:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 1109, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "6991:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 1111, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6991:40:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1107, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "6981:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 1112, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6981:51:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6947:85:1" + }, + { + "assignments": [ + 1115 + ], + "declarations": [ + { + "constant": false, + "id": 1115, + "mutability": "mutable", + "name": "currentEthSupplyTag", + "nameLocation": "7054:19:1", + "nodeType": "VariableDeclaration", + "scope": 1164, + "src": "7046:27:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1114, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "7046:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 1122, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "746f74616c537570706c795f4574686572", + "id": 1119, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7103:19:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c249c8d0234c73f198edb6911269cabbcb3a87200e5c4a66aae535d12bd6112c", + "typeString": "literal_string \"totalSupply_Ether\"" + }, + "value": "totalSupply_Ether" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_c249c8d0234c73f198edb6911269cabbcb3a87200e5c4a66aae535d12bd6112c", + "typeString": "literal_string \"totalSupply_Ether\"" + } + ], + "expression": { + "id": 1117, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "7086:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 1118, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "7086:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 1120, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7086:37:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1116, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "7076:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 1121, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7076:48:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7046:78:1" + }, + { + "expression": { + "arguments": [ + { + "id": 1126, + "name": "lastRewardTimeTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1097, + "src": "7182:17:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "expression": { + "id": 1127, + "name": "block", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967292, + "src": "7201:5:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_block", + "typeString": "block" + } + }, + "id": 1128, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "timestamp", + "nodeType": "MemberAccess", + "src": "7201:15:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 1123, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "7155:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 1125, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1349, + "src": "7155:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 1129, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7155:62:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1130, + "nodeType": "ExpressionStatement", + "src": "7155:62:1" + }, + { + "expression": { + "arguments": [ + { + "id": 1134, + "name": "totalRewardsInjectedTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1106, + "src": "7260:23:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "expression": { + "id": 1135, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "7285:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1136, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "value", + "nodeType": "MemberAccess", + "src": "7285:9:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 1131, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "7228:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 1133, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "increaseUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1370, + "src": "7228:31:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 1137, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7228:67:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1138, + "nodeType": "ExpressionStatement", + "src": "7228:67:1" + }, + { + "expression": { + "arguments": [ + { + "id": 1142, + "name": "currentEthSupplyTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1115, + "src": "7338:19:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "expression": { + "id": 1143, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "7359:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1144, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "value", + "nodeType": "MemberAccess", + "src": "7359:9:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 1139, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "7306:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 1141, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "increaseUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1370, + "src": "7306:31:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 1145, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7306:63:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1146, + "nodeType": "ExpressionStatement", + "src": "7306:63:1" + }, + { + "expression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 1147, + "name": "poolVault", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1089, + "src": "7390:9:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + } + }, + "id": 1149, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "processRewards", + "nodeType": "MemberAccess", + "referencedDeclaration": 1430, + "src": "7390:24:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_payable$__$returns$__$", + "typeString": "function () payable external" + } + }, + "id": 1152, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "names": [ + "value" + ], + "nodeType": "FunctionCallOptions", + "options": [ + { + "expression": { + "id": 1150, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "7422:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1151, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "value", + "nodeType": "MemberAccess", + "src": "7422:9:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "src": "7390:42:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_payable$__$returns$__$value", + "typeString": "function () payable external" + } + }, + "id": 1153, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7390:44:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1154, + "nodeType": "ExpressionStatement", + "src": "7390:44:1" + }, + { + "eventCall": { + "arguments": [ + { + "arguments": [ + { + "id": 1158, + "name": "lastRewardTimeTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1097, + "src": "7493:17:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 1156, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "7466:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 1157, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1323, + "src": "7466:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 1159, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7466:45:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "expression": { + "id": 1160, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "7513:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1161, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "value", + "nodeType": "MemberAccess", + "src": "7513:9:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1155, + "name": "RewardsInjected", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 614, + "src": "7450:15:1", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$", + "typeString": "function (uint256,uint256)" + } + }, + "id": 1162, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7450:73:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1163, + "nodeType": "EmitStatement", + "src": "7445:78:1" + } + ] + }, + "documentation": { + "id": 1070, + "nodeType": "StructuredDocumentation", + "src": "6126:450:1", + "text": "@dev This function logic prevents the team to inject a wrong amount of ether as rewards.\n @notice With this function, both the team and the users will have the insuarance that the right amount will be injected.\n @notice the require reverts the process if a wrong amount is willed to be injected.\n @notice this function does not updates the poolEther size, it just updates the total amount of ether on the contract network." + }, + "functionSelector": "ee7d4d2b", + "id": 1165, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 1073, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "6633:12:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 1074, + "kind": "modifierInvocation", + "modifierName": { + "id": 1072, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1566, + "src": "6624:8:1" + }, + "nodeType": "ModifierInvocation", + "src": "6624:22:1" + }, + { + "arguments": [], + "id": 1076, + "kind": "modifierInvocation", + "modifierName": { + "id": 1075, + "name": "injectionComliance", + "nodeType": "IdentifierPath", + "referencedDeclaration": 877, + "src": "6647:18:1" + }, + "nodeType": "ModifierInvocation", + "src": "6647:20:1" + } + ], + "name": "rewardsInjector", + "nameLocation": "6591:15:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1071, + "nodeType": "ParameterList", + "parameters": [], + "src": "6606:2:1" + }, + "returnParameters": { + "id": 1077, + "nodeType": "ParameterList", + "parameters": [], + "src": "6668:0:1" + }, + "scope": 1293, + "src": "6582:949:1", + "stateMutability": "payable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 1266, + "nodeType": "Block", + "src": "8070:848:1", + "statements": [ + { + "assignments": [ + 1178 + ], + "declarations": [ + { + "constant": false, + "id": 1178, + "mutability": "mutable", + "name": "rwEthToken", + "nameLocation": "8101:10:1", + "nodeType": "VariableDeclaration", + "scope": 1266, + "src": "8081:30:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHTokenInterface_$1525", + "typeString": "contract rwETHTokenInterface" + }, + "typeName": { + "id": 1177, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 1176, + "name": "rwETHTokenInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1525, + "src": "8081:19:1" + }, + "referencedDeclaration": 1525, + "src": "8081:19:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHTokenInterface_$1525", + "typeString": "contract rwETHTokenInterface" + } + }, + "visibility": "internal" + } + ], + "id": 1184, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "7277455448546f6b656e", + "id": 1181, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8153:12:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7d524a24df8794b8c8ace1bb51668b020bb309552ba8f8b2f78f8f206243afbb", + "typeString": "literal_string \"rwETHToken\"" + }, + "value": "rwETHToken" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_7d524a24df8794b8c8ace1bb51668b020bb309552ba8f8b2f78f8f206243afbb", + "typeString": "literal_string \"rwETHToken\"" + } + ], + "id": 1180, + "name": "getContractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 445, + "src": "8134:18:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$returns$_t_address_$", + "typeString": "function (string memory) view returns (address)" + } + }, + "id": 1182, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8134:32:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1179, + "name": "rwETHTokenInterface", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1525, + "src": "8114:19:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_rwETHTokenInterface_$1525_$", + "typeString": "type(contract rwETHTokenInterface)" + } + }, + "id": 1183, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8114:53:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHTokenInterface_$1525", + "typeString": "contract rwETHTokenInterface" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8081:86:1" + }, + { + "assignments": [ + 1187 + ], + "declarations": [ + { + "constant": false, + "id": 1187, + "mutability": "mutable", + "name": "poolVault", + "nameLocation": "8197:9:1", + "nodeType": "VariableDeclaration", + "scope": 1266, + "src": "8178:28:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + }, + "typeName": { + "id": 1186, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 1185, + "name": "PoolVaultInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1443, + "src": "8178:18:1" + }, + "referencedDeclaration": 1443, + "src": "8178:18:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + } + }, + "visibility": "internal" + } + ], + "id": 1193, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "506f6f6c5661756c74", + "id": 1190, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8247:11:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_a42809ef63a8477a0cc19794440877c6cd527dbf68cffc2d1d864049ac3343dc", + "typeString": "literal_string \"PoolVault\"" + }, + "value": "PoolVault" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_a42809ef63a8477a0cc19794440877c6cd527dbf68cffc2d1d864049ac3343dc", + "typeString": "literal_string \"PoolVault\"" + } + ], + "id": 1189, + "name": "getContractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 445, + "src": "8228:18:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$returns$_t_address_$", + "typeString": "function (string memory) view returns (address)" + } + }, + "id": 1191, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8228:31:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1188, + "name": "PoolVaultInterface", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1443, + "src": "8209:18:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_PoolVaultInterface_$1443_$", + "typeString": "type(contract PoolVaultInterface)" + } + }, + "id": 1192, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8209:51:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8178:82:1" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1205, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "expression": { + "id": 1197, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "8310:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1198, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "8310:10:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "arguments": [ + { + "id": 1201, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "8330:4:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolClient_$1293", + "typeString": "contract PoolClient" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_PoolClient_$1293", + "typeString": "contract PoolClient" + } + ], + "id": 1200, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "8322:7:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 1199, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "8322:7:1", + "typeDescriptions": {} + } + }, + "id": 1202, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8322:13:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 1195, + "name": "rwEthToken", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1178, + "src": "8289:10:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHTokenInterface_$1525", + "typeString": "contract rwETHTokenInterface" + } + }, + "id": 1196, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "allowance", + "nodeType": "MemberAccess", + "referencedDeclaration": 1984, + "src": "8289:20:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_address_$_t_address_$returns$_t_uint256_$", + "typeString": "function (address,address) view external returns (uint256)" + } + }, + "id": 1203, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8289:47:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">=", + "rightExpression": { + "id": 1204, + "name": "_rwEthAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1168, + "src": "8340:12:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "8289:63:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "52657665727465643a20436c69656e74206c61636b7320616c6c6f77616e636520746f20706572666f726d207468697320616374696f6e2e", + "id": 1206, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8354:58:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_487e073b8bf2a8e6de00fef6e3b2f0ada7bb15bf28111ae2ad7bc74191d7800a", + "typeString": "literal_string \"Reverted: Client lacks allowance to perform this action.\"" + }, + "value": "Reverted: Client lacks allowance to perform this action." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_487e073b8bf2a8e6de00fef6e3b2f0ada7bb15bf28111ae2ad7bc74191d7800a", + "typeString": "literal_string \"Reverted: Client lacks allowance to perform this action.\"" + } + ], + "id": 1194, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "8281:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 1207, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8281:132:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1208, + "nodeType": "ExpressionStatement", + "src": "8281:132:1" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 1212, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "8457:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1213, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "8457:10:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "arguments": [ + { + "id": 1216, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "8477:4:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolClient_$1293", + "typeString": "contract PoolClient" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_PoolClient_$1293", + "typeString": "contract PoolClient" + } + ], + "id": 1215, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "8469:7:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 1214, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "8469:7:1", + "typeDescriptions": {} + } + }, + "id": 1217, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8469:13:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1218, + "name": "_rwEthAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1168, + "src": "8484:12:1", + "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": 1209, + "name": "rwEthToken", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1178, + "src": "8433:10:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHTokenInterface_$1525", + "typeString": "contract rwETHTokenInterface" + } + }, + "id": 1211, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "transferFrom", + "nodeType": "MemberAccess", + "referencedDeclaration": 2006, + "src": "8433:23:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", + "typeString": "function (address,address,uint256) external returns (bool)" + } + }, + "id": 1219, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8433:64:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1220, + "nodeType": "ExpressionStatement", + "src": "8433:64:1" + }, + { + "assignments": [ + 1222 + ], + "declarations": [ + { + "constant": false, + "id": 1222, + "mutability": "mutable", + "name": "etherToUnstake", + "nameLocation": "8515:14:1", + "nodeType": "VariableDeclaration", + "scope": 1266, + "src": "8510:19:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1221, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8510:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1227, + "initialValue": { + "arguments": [ + { + "id": 1225, + "name": "_rwEthAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1168, + "src": "8556:12:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 1223, + "name": "rwEthToken", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1178, + "src": "8532:10:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHTokenInterface_$1525", + "typeString": "contract rwETHTokenInterface" + } + }, + "id": 1224, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "calcEthValue", + "nodeType": "MemberAccess", + "referencedDeclaration": 1493, + "src": "8532:23:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_uint256_$", + "typeString": "function (uint256) view external returns (uint256)" + } + }, + "id": 1226, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8532:37:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8510:59:1" + }, + { + "expression": { + "arguments": [ + { + "id": 1231, + "name": "_rwEthAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1168, + "src": "8596:12:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 1228, + "name": "rwEthToken", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1178, + "src": "8580:10:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHTokenInterface_$1525", + "typeString": "contract rwETHTokenInterface" + } + }, + "id": 1230, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "burn", + "nodeType": "MemberAccess", + "referencedDeclaration": 1519, + "src": "8580:15:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$__$", + "typeString": "function (uint256) external" + } + }, + "id": 1232, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8580:29:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1233, + "nodeType": "ExpressionStatement", + "src": "8580:29:1" + }, + { + "assignments": [ + 1235 + ], + "declarations": [ + { + "constant": false, + "id": 1235, + "mutability": "mutable", + "name": "burnedRwEtherTag", + "nameLocation": "8628:16:1", + "nodeType": "VariableDeclaration", + "scope": 1266, + "src": "8620:24:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1234, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "8620:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 1242, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "746f74616c4275726e65645f7265776172644574686572", + "id": 1239, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8674:25:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1f2d52bb921ff8f758e0d04d1f6fb73af2c988187e5aa44799b48cc37bad9ddd", + "typeString": "literal_string \"totalBurned_rewardEther\"" + }, + "value": "totalBurned_rewardEther" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_1f2d52bb921ff8f758e0d04d1f6fb73af2c988187e5aa44799b48cc37bad9ddd", + "typeString": "literal_string \"totalBurned_rewardEther\"" + } + ], + "expression": { + "id": 1237, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "8657:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 1238, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "8657:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 1240, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8657:43:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1236, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "8647:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 1241, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8647:54:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8620:81:1" + }, + { + "expression": { + "arguments": [ + { + "id": 1246, + "name": "burnedRwEtherTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1235, + "src": "8744:16:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1247, + "name": "_rwEthAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1168, + "src": "8762:12:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 1243, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "8712:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 1245, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "increaseUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1370, + "src": "8712:31:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 1248, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8712:63:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1249, + "nodeType": "ExpressionStatement", + "src": "8712:63:1" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 1253, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "8812:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1254, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "8812:10:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1255, + "name": "etherToUnstake", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1222, + "src": "8824:14:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 1250, + "name": "poolVault", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1187, + "src": "8788:9:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + } + }, + "id": 1252, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "withdrawEther", + "nodeType": "MemberAccess", + "referencedDeclaration": 1437, + "src": "8788:23:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256) external" + } + }, + "id": 1256, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8788:51:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1257, + "nodeType": "ExpressionStatement", + "src": "8788:51:1" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 1259, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "8866:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1260, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "8866:10:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1261, + "name": "etherToUnstake", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1222, + "src": "8878:14:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "expression": { + "id": 1262, + "name": "block", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967292, + "src": "8894:5:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_block", + "typeString": "block" + } + }, + "id": 1263, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "timestamp", + "nodeType": "MemberAccess", + "src": "8894:15:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1258, + "name": "UserStaked", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 608, + "src": "8855:10:1", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256,uint256)" + } + }, + "id": 1264, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8855:55:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1265, + "nodeType": "EmitStatement", + "src": "8850:60:1" + } + ] + }, + "documentation": { + "id": 1166, + "nodeType": "StructuredDocumentation", + "src": "7539:432:1", + "text": "@dev Main Unstaking function. Allows users to deposit rwEther in exchange of Ether.\n @notice The withdrawEther function updates the total_ether_supply and its staked amount.\n @notice Once it is called, the rwEth amount is burned and the vault sends to this contract the ether counterpart.\n @notice User needs to provide allowance to the contract to make this call (performed on the frontend of the Dapp)." + }, + "functionSelector": "2e1a7d4d", + "id": 1267, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 1171, + "name": "_rwEthAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1168, + "src": "8042:12:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 1172, + "kind": "modifierInvocation", + "modifierName": { + "id": 1170, + "name": "withdrawCompliance", + "nodeType": "IdentifierPath", + "referencedDeclaration": 855, + "src": "8023:18:1" + }, + "nodeType": "ModifierInvocation", + "src": "8023:32:1" + }, + { + "arguments": [], + "id": 1174, + "kind": "modifierInvocation", + "modifierName": { + "id": 1173, + "name": "nonReentrant", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1946, + "src": "8056:12:1" + }, + "nodeType": "ModifierInvocation", + "src": "8056:14:1" + } + ], + "name": "withdraw", + "nameLocation": "7986:8:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1169, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1168, + "mutability": "mutable", + "name": "_rwEthAmount", + "nameLocation": "8000:12:1", + "nodeType": "VariableDeclaration", + "scope": 1267, + "src": "7995:17:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1167, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7995:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "7994:19:1" + }, + "returnParameters": { + "id": 1175, + "nodeType": "ParameterList", + "parameters": [], + "src": "8070:0:1" + }, + "scope": 1293, + "src": "7977:941:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "body": { + "id": 1291, + "nodeType": "Block", + "src": "8986:212:1", + "statements": [ + { + "assignments": [ + 1273 + ], + "declarations": [ + { + "constant": false, + "id": 1273, + "mutability": "mutable", + "name": "addressTag", + "nameLocation": "9005:10:1", + "nodeType": "VariableDeclaration", + "scope": 1291, + "src": "8997:18:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1272, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "8997:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 1281, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f61646472657373", + "id": 1277, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9045:18:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + "value": "contract_address" + }, + { + "hexValue": "506f6f6c436c69656e74", + "id": 1278, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9065:12:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_db398badece03775756fae64be2a2ed9aaf2b2ace9c216beb0e483c4a0338aa3", + "typeString": "literal_string \"PoolClient\"" + }, + "value": "PoolClient" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + { + "typeIdentifier": "t_stringliteral_db398badece03775756fae64be2a2ed9aaf2b2ace9c216beb0e483c4a0338aa3", + "typeString": "literal_string \"PoolClient\"" + } + ], + "expression": { + "id": 1275, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "9028:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 1276, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "9028:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 1279, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "9028:50:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1274, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "9018:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 1280, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "9018:61:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8997:82:1" + }, + { + "assignments": [ + 1283 + ], + "declarations": [ + { + "constant": false, + "id": 1283, + "mutability": "mutable", + "name": "contractAddress", + "nameLocation": "9098:15:1", + "nodeType": "VariableDeclaration", + "scope": 1291, + "src": "9090:23:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1282, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "9090:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "id": 1288, + "initialValue": { + "arguments": [ + { + "id": 1286, + "name": "addressTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1273, + "src": "9146:10:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 1284, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "9116:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 1285, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getAddressStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1337, + "src": "9116:29:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_address_$", + "typeString": "function (bytes32) view external returns (address)" + } + }, + "id": 1287, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "9116:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "9090:67:1" + }, + { + "expression": { + "id": 1289, + "name": "contractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1283, + "src": "9175:15:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "functionReturnParameters": 1271, + "id": 1290, + "nodeType": "Return", + "src": "9168:22:1" + } + ] + }, + "functionSelector": "6c426607", + "id": 1292, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getPoolClientAddress", + "nameLocation": "8935:20:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1268, + "nodeType": "ParameterList", + "parameters": [], + "src": "8955:2:1" + }, + "returnParameters": { + "id": 1271, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1270, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1292, + "src": "8978:7:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1269, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "8978:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "8977:9:1" + }, + "scope": 1293, + "src": "8926:272:1", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + } + ], + "scope": 1294, + "src": "653:8566:1", + "usedErrors": [] + } + ], + "src": "33:9188:1" + }, + "id": 1 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol", + "exportedSymbols": { + "DataStorageInterface": [ + 1393 + ] + }, + "id": 1394, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1295, + "literals": [ + "solidity", + "0.8", + ".9" + ], + "nodeType": "PragmaDirective", + "src": "33:22:2" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "DataStorageInterface", + "contractDependencies": [], + "contractKind": "interface", + "fullyImplemented": false, + "id": 1393, + "linearizedBaseContracts": [ + 1393 + ], + "name": "DataStorageInterface", + "nameLocation": "69:20:2", + "nodeType": "ContractDefinition", + "nodes": [ + { + "functionSelector": "545e1b52", + "id": 1300, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getStorageStatus", + "nameLocation": "155:16:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1296, + "nodeType": "ParameterList", + "parameters": [], + "src": "171:2:2" + }, + "returnParameters": { + "id": 1299, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1298, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1300, + "src": "196:4:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1297, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "196:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "195:6:2" + }, + "scope": 1393, + "src": "146:56:2", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "0bc169a5", + "id": 1305, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getCurrentGuardian", + "nameLocation": "217:18:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1301, + "nodeType": "ParameterList", + "parameters": [], + "src": "235:2:2" + }, + "returnParameters": { + "id": 1304, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1303, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1305, + "src": "260:7:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1302, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "260:7:2", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "259:9:2" + }, + "scope": 1393, + "src": "208:61:2", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "e87f7c31", + "id": 1310, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setNewGuardian", + "nameLocation": "284:14:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1308, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1307, + "mutability": "mutable", + "name": "_newGuardian", + "nameLocation": "307:12:2", + "nodeType": "VariableDeclaration", + "scope": 1310, + "src": "299:20:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1306, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "299:7:2", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "298:22:2" + }, + "returnParameters": { + "id": 1309, + "nodeType": "ParameterList", + "parameters": [], + "src": "329:0:2" + }, + "scope": 1393, + "src": "275:55:2", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "27918182", + "id": 1313, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "confirmGuard", + "nameLocation": "345:12:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1311, + "nodeType": "ParameterList", + "parameters": [], + "src": "357:2:2" + }, + "returnParameters": { + "id": 1312, + "nodeType": "ParameterList", + "parameters": [], + "src": "368:0:2" + }, + "scope": 1393, + "src": "336:33:2", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "66b80832", + "id": 1316, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setStorageLive", + "nameLocation": "384:14:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1314, + "nodeType": "ParameterList", + "parameters": [], + "src": "398:2:2" + }, + "returnParameters": { + "id": 1315, + "nodeType": "ParameterList", + "parameters": [], + "src": "409:0:2" + }, + "scope": 1393, + "src": "375:35:2", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "afc3602b", + "id": 1323, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getUintStorage", + "nameLocation": "474:14:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1319, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1318, + "mutability": "mutable", + "name": "_id", + "nameLocation": "497:3:2", + "nodeType": "VariableDeclaration", + "scope": 1323, + "src": "489:11:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1317, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "489:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "488:13:2" + }, + "returnParameters": { + "id": 1322, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1321, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1323, + "src": "524:7:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1320, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "524:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "523:9:2" + }, + "scope": 1393, + "src": "465:68:2", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "55d94655", + "id": 1330, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getBoolStorage", + "nameLocation": "548:14:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1326, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1325, + "mutability": "mutable", + "name": "_id", + "nameLocation": "571:3:2", + "nodeType": "VariableDeclaration", + "scope": 1330, + "src": "563:11:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1324, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "563:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "562:13:2" + }, + "returnParameters": { + "id": 1329, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1328, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1330, + "src": "598:4:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1327, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "598:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "597:6:2" + }, + "scope": 1393, + "src": "539:65:2", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "2a90bbb2", + "id": 1337, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getAddressStorage", + "nameLocation": "619:17:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1333, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1332, + "mutability": "mutable", + "name": "_id", + "nameLocation": "645:3:2", + "nodeType": "VariableDeclaration", + "scope": 1337, + "src": "637:11:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1331, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "637:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "636:13:2" + }, + "returnParameters": { + "id": 1336, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1335, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1337, + "src": "672:7:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1334, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "672:7:2", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "671:9:2" + }, + "scope": 1393, + "src": "610:71:2", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "638f8360", + "id": 1342, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getDataStorageAddress", + "nameLocation": "696:21:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1338, + "nodeType": "ParameterList", + "parameters": [], + "src": "717:2:2" + }, + "returnParameters": { + "id": 1341, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1340, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1342, + "src": "742:7:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1339, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "742:7:2", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "741:9:2" + }, + "scope": 1393, + "src": "687:64:2", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "28192c55", + "id": 1349, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setUintStorage", + "nameLocation": "815:14:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1347, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1344, + "mutability": "mutable", + "name": "_id", + "nameLocation": "838:3:2", + "nodeType": "VariableDeclaration", + "scope": 1349, + "src": "830:11:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1343, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "830:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1346, + "mutability": "mutable", + "name": "_value", + "nameLocation": "851:6:2", + "nodeType": "VariableDeclaration", + "scope": 1349, + "src": "843:14:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1345, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "843:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "829:29:2" + }, + "returnParameters": { + "id": 1348, + "nodeType": "ParameterList", + "parameters": [], + "src": "867:0:2" + }, + "scope": 1393, + "src": "806:62:2", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "988c515b", + "id": 1356, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setBoolStorage", + "nameLocation": "883:14:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1354, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1351, + "mutability": "mutable", + "name": "_id", + "nameLocation": "906:3:2", + "nodeType": "VariableDeclaration", + "scope": 1356, + "src": "898:11:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1350, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "898:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1353, + "mutability": "mutable", + "name": "_value", + "nameLocation": "916:6:2", + "nodeType": "VariableDeclaration", + "scope": 1356, + "src": "911:11:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1352, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "911:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "897:26:2" + }, + "returnParameters": { + "id": 1355, + "nodeType": "ParameterList", + "parameters": [], + "src": "932:0:2" + }, + "scope": 1393, + "src": "874:59:2", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "7221263a", + "id": 1363, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setAddressStorage", + "nameLocation": "948:17:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1361, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1358, + "mutability": "mutable", + "name": "_id", + "nameLocation": "974:3:2", + "nodeType": "VariableDeclaration", + "scope": 1363, + "src": "966:11:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1357, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "966:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1360, + "mutability": "mutable", + "name": "_value", + "nameLocation": "987:6:2", + "nodeType": "VariableDeclaration", + "scope": 1363, + "src": "979:14:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1359, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "979:7:2", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "965:29:2" + }, + "returnParameters": { + "id": 1362, + "nodeType": "ParameterList", + "parameters": [], + "src": "1003:0:2" + }, + "scope": 1393, + "src": "939:65:2", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "1d8895e0", + "id": 1370, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "increaseUintStorage", + "nameLocation": "1020:19:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1368, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1365, + "mutability": "mutable", + "name": "_id", + "nameLocation": "1048:3:2", + "nodeType": "VariableDeclaration", + "scope": 1370, + "src": "1040:11:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1364, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1040:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1367, + "mutability": "mutable", + "name": "_increment", + "nameLocation": "1061:10:2", + "nodeType": "VariableDeclaration", + "scope": 1370, + "src": "1053:18:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1366, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1053:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1039:33:2" + }, + "returnParameters": { + "id": 1369, + "nodeType": "ParameterList", + "parameters": [], + "src": "1081:0:2" + }, + "scope": 1393, + "src": "1011:71:2", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "5bcfee67", + "id": 1377, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "decreaseUintStorage", + "nameLocation": "1097:19:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1375, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1372, + "mutability": "mutable", + "name": "_id", + "nameLocation": "1125:3:2", + "nodeType": "VariableDeclaration", + "scope": 1377, + "src": "1117:11:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1371, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1117:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1374, + "mutability": "mutable", + "name": "_decrement", + "nameLocation": "1138:10:2", + "nodeType": "VariableDeclaration", + "scope": 1377, + "src": "1130:18:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1373, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1130:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1116:33:2" + }, + "returnParameters": { + "id": 1376, + "nodeType": "ParameterList", + "parameters": [], + "src": "1158:0:2" + }, + "scope": 1393, + "src": "1088:71:2", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "8a2c6738", + "id": 1382, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "deleteUintStorage", + "nameLocation": "1232:17:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1380, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1379, + "mutability": "mutable", + "name": "_id", + "nameLocation": "1258:3:2", + "nodeType": "VariableDeclaration", + "scope": 1382, + "src": "1250:11:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1378, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1250:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "1249:13:2" + }, + "returnParameters": { + "id": 1381, + "nodeType": "ParameterList", + "parameters": [], + "src": "1271:0:2" + }, + "scope": 1393, + "src": "1223:49:2", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "b240da3f", + "id": 1387, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "deleteBoolStorage", + "nameLocation": "1287:17:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1385, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1384, + "mutability": "mutable", + "name": "_id", + "nameLocation": "1313:3:2", + "nodeType": "VariableDeclaration", + "scope": 1387, + "src": "1305:11:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1383, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1305:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "1304:13:2" + }, + "returnParameters": { + "id": 1386, + "nodeType": "ParameterList", + "parameters": [], + "src": "1326:0:2" + }, + "scope": 1393, + "src": "1278:49:2", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "e732da72", + "id": 1392, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "deleteAddressStorage", + "nameLocation": "1342:20:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1390, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1389, + "mutability": "mutable", + "name": "_id", + "nameLocation": "1371:3:2", + "nodeType": "VariableDeclaration", + "scope": 1392, + "src": "1363:11:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1388, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1363:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "1362:13:2" + }, + "returnParameters": { + "id": 1391, + "nodeType": "ParameterList", + "parameters": [], + "src": "1384:0:2" + }, + "scope": 1393, + "src": "1333:52:2", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + } + ], + "scope": 1394, + "src": "59:1331:2", + "usedErrors": [] + } + ], + "src": "33:1357:2" + }, + "id": 2 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/PoolClientInterface.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/PoolClientInterface.sol", + "exportedSymbols": { + "PoolClientInterface": [ + 1417 + ] + }, + "id": 1418, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1395, + "literals": [ + "solidity", + "0.8", + ".9" + ], + "nodeType": "PragmaDirective", + "src": "33:22:3" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "PoolClientInterface", + "contractDependencies": [], + "contractKind": "interface", + "fullyImplemented": false, + "id": 1417, + "linearizedBaseContracts": [ + 1417 + ], + "name": "PoolClientInterface", + "nameLocation": "69:19:3", + "nodeType": "ContractDefinition", + "nodes": [ + { + "functionSelector": "d0e30db0", + "id": 1398, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "deposit", + "nameLocation": "107:7:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1396, + "nodeType": "ParameterList", + "parameters": [], + "src": "114:2:3" + }, + "returnParameters": { + "id": 1397, + "nodeType": "ParameterList", + "parameters": [], + "src": "133:0:3" + }, + "scope": 1417, + "src": "98:36:3", + "stateMutability": "payable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "3ccfd60b", + "id": 1401, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "withdraw", + "nameLocation": "149:8:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1399, + "nodeType": "ParameterList", + "parameters": [], + "src": "157:2:3" + }, + "returnParameters": { + "id": 1400, + "nodeType": "ParameterList", + "parameters": [], + "src": "176:0:3" + }, + "scope": 1417, + "src": "140:37:3", + "stateMutability": "payable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "3e50de30", + "id": 1404, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "calculateRewards", + "nameLocation": "192:16:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1402, + "nodeType": "ParameterList", + "parameters": [], + "src": "208:2:3" + }, + "returnParameters": { + "id": 1403, + "nodeType": "ParameterList", + "parameters": [], + "src": "219:0:3" + }, + "scope": 1417, + "src": "183:37:3", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "3ba93f26", + "id": 1411, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setAllowance", + "nameLocation": "235:12:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1407, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1406, + "mutability": "mutable", + "name": "_amount", + "nameLocation": "253:7:3", + "nodeType": "VariableDeclaration", + "scope": 1411, + "src": "248:12:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1405, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "248:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "247:14:3" + }, + "returnParameters": { + "id": 1410, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1409, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1411, + "src": "279:4:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1408, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "279:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "278:6:3" + }, + "scope": 1417, + "src": "226:59:3", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "6c426607", + "id": 1416, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getPoolClientAddress", + "nameLocation": "300:20:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1412, + "nodeType": "ParameterList", + "parameters": [], + "src": "320:2:3" + }, + "returnParameters": { + "id": 1415, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1414, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1416, + "src": "345:7:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1413, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "345:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "344:9:3" + }, + "scope": 1417, + "src": "291:63:3", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + } + ], + "scope": 1418, + "src": "59:304:3", + "usedErrors": [] + } + ], + "src": "33:330:3" + }, + "id": 3 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/PoolVaultInterface.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/PoolVaultInterface.sol", + "exportedSymbols": { + "PoolVaultInterface": [ + 1443 + ] + }, + "id": 1444, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1419, + "literals": [ + "solidity", + "0.8", + ".9" + ], + "nodeType": "PragmaDirective", + "src": "33:22:4" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "PoolVaultInterface", + "contractDependencies": [], + "contractKind": "interface", + "fullyImplemented": false, + "id": 1443, + "linearizedBaseContracts": [ + 1443 + ], + "name": "PoolVaultInterface", + "nameLocation": "69:18:4", + "nodeType": "ContractDefinition", + "nodes": [ + { + "functionSelector": "ccfe0c8e", + "id": 1424, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "poolEtherSize", + "nameLocation": "106:13:4", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1420, + "nodeType": "ParameterList", + "parameters": [], + "src": "119:2:4" + }, + "returnParameters": { + "id": 1423, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1422, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1424, + "src": "144:4:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1421, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "144:4:4", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "143:6:4" + }, + "scope": 1443, + "src": "97:53:4", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "a7cc190a", + "id": 1427, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "storeEther", + "nameLocation": "165:10:4", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1425, + "nodeType": "ParameterList", + "parameters": [], + "src": "175:2:4" + }, + "returnParameters": { + "id": 1426, + "nodeType": "ParameterList", + "parameters": [], + "src": "194:0:4" + }, + "scope": 1443, + "src": "156:39:4", + "stateMutability": "payable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "f9fc0d07", + "id": 1430, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "processRewards", + "nameLocation": "210:14:4", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1428, + "nodeType": "ParameterList", + "parameters": [], + "src": "224:2:4" + }, + "returnParameters": { + "id": 1429, + "nodeType": "ParameterList", + "parameters": [], + "src": "243:0:4" + }, + "scope": 1443, + "src": "201:43:4", + "stateMutability": "payable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "522f6815", + "id": 1437, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "withdrawEther", + "nameLocation": "259:13:4", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1435, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1432, + "mutability": "mutable", + "name": "_to", + "nameLocation": "281:3:4", + "nodeType": "VariableDeclaration", + "scope": 1437, + "src": "273:11:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1431, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "273:7:4", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1434, + "mutability": "mutable", + "name": "_ethAmount", + "nameLocation": "291:10:4", + "nodeType": "VariableDeclaration", + "scope": 1437, + "src": "286:15:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1433, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "286:4:4", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "272:30:4" + }, + "returnParameters": { + "id": 1436, + "nodeType": "ParameterList", + "parameters": [], + "src": "311:0:4" + }, + "scope": 1443, + "src": "250:62:4", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "c3577d48", + "id": 1442, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getPoolVaultAddress", + "nameLocation": "327:19:4", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1438, + "nodeType": "ParameterList", + "parameters": [], + "src": "346:2:4" + }, + "returnParameters": { + "id": 1441, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1440, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1442, + "src": "371:7:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1439, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "371:7:4", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "370:9:4" + }, + "scope": 1443, + "src": "318:62:4", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + } + ], + "scope": 1444, + "src": "59:340:4", + "usedErrors": [] + } + ], + "src": "33:366:4" + }, + "id": 4 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/TokenBalancesInterface.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/TokenBalancesInterface.sol", + "exportedSymbols": { + "TokenBalancesInterface": [ + 1478 + ] + }, + "id": 1479, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1445, + "literals": [ + "solidity", + "0.8", + ".9" + ], + "nodeType": "PragmaDirective", + "src": "33:22:5" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "TokenBalancesInterface", + "contractDependencies": [], + "contractKind": "interface", + "fullyImplemented": false, + "id": 1478, + "linearizedBaseContracts": [ + 1478 + ], + "name": "TokenBalancesInterface", + "nameLocation": "71:22:5", + "nodeType": "ContractDefinition", + "nodes": [ + { + "functionSelector": "6402c262", + "id": 1450, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getTotalEthSupply", + "nameLocation": "113:17:5", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1446, + "nodeType": "ParameterList", + "parameters": [], + "src": "130:2:5" + }, + "returnParameters": { + "id": 1449, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1448, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1450, + "src": "155:4:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1447, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "155:4:5", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "154:6:5" + }, + "scope": 1478, + "src": "104:57:5", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "e2bcb3df", + "id": 1455, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getTotalrwEthSupply", + "nameLocation": "176:19:5", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1451, + "nodeType": "ParameterList", + "parameters": [], + "src": "195:2:5" + }, + "returnParameters": { + "id": 1454, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1453, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1455, + "src": "220:4:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1452, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "220:4:5", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "219:6:5" + }, + "scope": 1478, + "src": "167:59:5", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "ab0cbfb9", + "id": 1460, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getRwEthBurned", + "nameLocation": "241:14:5", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1456, + "nodeType": "ParameterList", + "parameters": [], + "src": "255:2:5" + }, + "returnParameters": { + "id": 1459, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1458, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1460, + "src": "280:4:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1457, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "280:4:5", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "279:6:5" + }, + "scope": 1478, + "src": "232:54:5", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "70959ff8", + "id": 1465, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getTotalEtherStaked", + "nameLocation": "306:19:5", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1461, + "nodeType": "ParameterList", + "parameters": [], + "src": "325:2:5" + }, + "returnParameters": { + "id": 1464, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1463, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1465, + "src": "350:4:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1462, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "350:4:5", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "349:6:5" + }, + "scope": 1478, + "src": "297:59:5", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "b7c67af0", + "id": 1472, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getRwEthMintedByUser", + "nameLocation": "371:20:5", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1468, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1467, + "mutability": "mutable", + "name": "_user", + "nameLocation": "400:5:5", + "nodeType": "VariableDeclaration", + "scope": 1472, + "src": "392:13:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1466, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "392:7:5", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "391:15:5" + }, + "returnParameters": { + "id": 1471, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1470, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1472, + "src": "429:4:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1469, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "429:4:5", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "428:6:5" + }, + "scope": 1478, + "src": "362:73:5", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "a578267c", + "id": 1477, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getTokenBalancesAddress", + "nameLocation": "455:23:5", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1473, + "nodeType": "ParameterList", + "parameters": [], + "src": "478:2:5" + }, + "returnParameters": { + "id": 1476, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1475, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1477, + "src": "503:7:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1474, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "503:7:5", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "502:9:5" + }, + "scope": 1478, + "src": "446:66:5", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + } + ], + "scope": 1479, + "src": "61:454:5", + "usedErrors": [] + } + ], + "src": "33:482:5" + }, + "id": 5 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/rwETHTokenInterface.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/rwETHTokenInterface.sol", + "exportedSymbols": { + "IERC20": [ + 2025 + ], + "rwETHTokenInterface": [ + 1525 + ] + }, + "id": 1526, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1480, + "literals": [ + "solidity", + "0.8", + ".9" + ], + "nodeType": "PragmaDirective", + "src": "33:22:6" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol", + "file": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol", + "id": 1481, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1526, + "sourceUnit": 2026, + "src": "59:130:6", + "symbolAliases": [], + "unitAlias": "" + }, + { + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 1482, + "name": "IERC20", + "nodeType": "IdentifierPath", + "referencedDeclaration": 2025, + "src": "227:6:6" + }, + "id": 1483, + "nodeType": "InheritanceSpecifier", + "src": "227:6:6" + } + ], + "canonicalName": "rwETHTokenInterface", + "contractDependencies": [], + "contractKind": "interface", + "fullyImplemented": false, + "id": 1525, + "linearizedBaseContracts": [ + 1525, + 2025 + ], + "name": "rwETHTokenInterface", + "nameLocation": "204:19:6", + "nodeType": "ContractDefinition", + "nodes": [ + { + "functionSelector": "e8022195", + "id": 1486, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setRwETHTokenAddress", + "nameLocation": "252:20:6", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1484, + "nodeType": "ParameterList", + "parameters": [], + "src": "272:2:6" + }, + "returnParameters": { + "id": 1485, + "nodeType": "ParameterList", + "parameters": [], + "src": "283:0:6" + }, + "scope": 1525, + "src": "243:41:6", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "12946fe1", + "id": 1493, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "calcEthValue", + "nameLocation": "303:12:6", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1489, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1488, + "mutability": "mutable", + "name": "_rwEthAmount", + "nameLocation": "321:12:6", + "nodeType": "VariableDeclaration", + "scope": 1493, + "src": "316:17:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1487, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "316:4:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "315:19:6" + }, + "returnParameters": { + "id": 1492, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1491, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1493, + "src": "357:4:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1490, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "357:4:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "356:6:6" + }, + "scope": 1525, + "src": "294:69:6", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "3ef3183c", + "id": 1500, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "calcRwEthValue", + "nameLocation": "378:14:6", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1496, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1495, + "mutability": "mutable", + "name": "_ethAmount", + "nameLocation": "398:10:6", + "nodeType": "VariableDeclaration", + "scope": 1500, + "src": "393:15:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1494, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "393:4:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "392:17:6" + }, + "returnParameters": { + "id": 1499, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1498, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1500, + "src": "432:4:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1497, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "432:4:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "431:6:6" + }, + "scope": 1525, + "src": "369:69:6", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "64c0e52f", + "id": 1507, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getUnitPrice", + "nameLocation": "453:12:6", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1503, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1502, + "mutability": "mutable", + "name": "_ethAmount", + "nameLocation": "471:10:6", + "nodeType": "VariableDeclaration", + "scope": 1507, + "src": "466:15:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1501, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "466:4:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "465:17:6" + }, + "returnParameters": { + "id": 1506, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1505, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1507, + "src": "505:4:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1504, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "505:4:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "504:6:6" + }, + "scope": 1525, + "src": "444:67:6", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "40c10f19", + "id": 1514, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "mint", + "nameLocation": "526:4:6", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1512, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1509, + "mutability": "mutable", + "name": "_to", + "nameLocation": "539:3:6", + "nodeType": "VariableDeclaration", + "scope": 1514, + "src": "531:11:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1508, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "531:7:6", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1511, + "mutability": "mutable", + "name": "_ethAmount", + "nameLocation": "549:10:6", + "nodeType": "VariableDeclaration", + "scope": 1514, + "src": "544:15:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1510, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "544:4:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "530:30:6" + }, + "returnParameters": { + "id": 1513, + "nodeType": "ParameterList", + "parameters": [], + "src": "569:0:6" + }, + "scope": 1525, + "src": "517:53:6", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "42966c68", + "id": 1519, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "burn", + "nameLocation": "585:4:6", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1517, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1516, + "mutability": "mutable", + "name": "_rwEthAmount", + "nameLocation": "595:12:6", + "nodeType": "VariableDeclaration", + "scope": 1519, + "src": "590:17:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1515, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "590:4:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "589:19:6" + }, + "returnParameters": { + "id": 1518, + "nodeType": "ParameterList", + "parameters": [], + "src": "617:0:6" + }, + "scope": 1525, + "src": "576:42:6", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "d00283ce", + "id": 1524, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getRwETHTokenAddress", + "nameLocation": "633:20:6", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1520, + "nodeType": "ParameterList", + "parameters": [], + "src": "653:2:6" + }, + "returnParameters": { + "id": 1523, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1522, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1524, + "src": "678:7:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1521, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "678:7:6", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "677:9:6" + }, + "scope": 1525, + "src": "624:63:6", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + } + ], + "scope": 1526, + "src": "194:513:6", + "usedErrors": [] + } + ], + "src": "33:674:6" + }, + "id": 6 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol", + "exportedSymbols": { + "AccessControl": [ + 1834 + ], + "Context": [ + 2047 + ], + "ERC165": [ + 2274 + ], + "IAccessControl": [ + 1907 + ], + "IERC165": [ + 2286 + ], + "Strings": [ + 2250 + ] + }, + "id": 1835, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1527, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "108:23:7" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol", + "file": "./IAccessControl.sol", + "id": 1528, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1835, + "sourceUnit": 1908, + "src": "133:30:7", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol", + "file": "../utils/Context.sol", + "id": 1529, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1835, + "sourceUnit": 2048, + "src": "164:30:7", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol", + "file": "../utils/Strings.sol", + "id": 1530, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1835, + "sourceUnit": 2251, + "src": "195:30:7", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol", + "file": "../utils/introspection/ERC165.sol", + "id": 1531, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1835, + "sourceUnit": 2275, + "src": "226:43:7", + "symbolAliases": [], + "unitAlias": "" + }, + { + "abstract": true, + "baseContracts": [ + { + "baseName": { + "id": 1533, + "name": "Context", + "nodeType": "IdentifierPath", + "referencedDeclaration": 2047, + "src": "1841:7:7" + }, + "id": 1534, + "nodeType": "InheritanceSpecifier", + "src": "1841:7:7" + }, + { + "baseName": { + "id": 1535, + "name": "IAccessControl", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1907, + "src": "1850:14:7" + }, + "id": 1536, + "nodeType": "InheritanceSpecifier", + "src": "1850:14:7" + }, + { + "baseName": { + "id": 1537, + "name": "ERC165", + "nodeType": "IdentifierPath", + "referencedDeclaration": 2274, + "src": "1866:6:7" + }, + "id": 1538, + "nodeType": "InheritanceSpecifier", + "src": "1866:6:7" + } + ], + "canonicalName": "AccessControl", + "contractDependencies": [], + "contractKind": "contract", + "documentation": { + "id": 1532, + "nodeType": "StructuredDocumentation", + "src": "271:1534:7", + "text": " @dev Contract module that allows children to implement role-based access\n control mechanisms. This is a lightweight version that doesn't allow enumerating role\n members except through off-chain means by accessing the contract event logs. Some\n applications may benefit from on-chain enumerability, for those cases see\n {AccessControlEnumerable}.\n Roles are referred to by their `bytes32` identifier. These should be exposed\n in the external API and be unique. The best way to achieve this is by\n using `public constant` hash digests:\n ```\n bytes32 public constant MY_ROLE = keccak256(\"MY_ROLE\");\n ```\n Roles can be used to represent a set of permissions. To restrict access to a\n function call, use {hasRole}:\n ```\n function foo() public {\n require(hasRole(MY_ROLE, msg.sender));\n ...\n }\n ```\n Roles can be granted and revoked dynamically via the {grantRole} and\n {revokeRole} functions. Each role has an associated admin role, and only\n accounts that have a role's admin role can call {grantRole} and {revokeRole}.\n By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means\n that only accounts with this role will be able to grant or revoke other\n roles. More complex role relationships can be created by using\n {_setRoleAdmin}.\n WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to\n grant and revoke this role. Extra precautions should be taken to secure\n accounts that have been granted it." + }, + "fullyImplemented": true, + "id": 1834, + "linearizedBaseContracts": [ + 1834, + 2274, + 2286, + 1907, + 2047 + ], + "name": "AccessControl", + "nameLocation": "1824:13:7", + "nodeType": "ContractDefinition", + "nodes": [ + { + "canonicalName": "AccessControl.RoleData", + "id": 1545, + "members": [ + { + "constant": false, + "id": 1542, + "mutability": "mutable", + "name": "members", + "nameLocation": "1930:7:7", + "nodeType": "VariableDeclaration", + "scope": 1545, + "src": "1905:32:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + }, + "typeName": { + "id": 1541, + "keyType": { + "id": 1539, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1913:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Mapping", + "src": "1905:24:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + }, + "valueType": { + "id": 1540, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "1924:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1544, + "mutability": "mutable", + "name": "adminRole", + "nameLocation": "1955:9:7", + "nodeType": "VariableDeclaration", + "scope": 1545, + "src": "1947:17:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1543, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1947:7:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "name": "RoleData", + "nameLocation": "1886:8:7", + "nodeType": "StructDefinition", + "scope": 1834, + "src": "1879:92:7", + "visibility": "public" + }, + { + "constant": false, + "id": 1550, + "mutability": "mutable", + "name": "_roles", + "nameLocation": "2014:6:7", + "nodeType": "VariableDeclaration", + "scope": 1834, + "src": "1977:43:7", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$1545_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData)" + }, + "typeName": { + "id": 1549, + "keyType": { + "id": 1546, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1985:7:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "Mapping", + "src": "1977:28:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$1545_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData)" + }, + "valueType": { + "id": 1548, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 1547, + "name": "RoleData", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1545, + "src": "1996:8:7" + }, + "referencedDeclaration": 1545, + "src": "1996:8:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_RoleData_$1545_storage_ptr", + "typeString": "struct AccessControl.RoleData" + } + } + }, + "visibility": "private" + }, + { + "constant": true, + "functionSelector": "a217fddf", + "id": 1553, + "mutability": "constant", + "name": "DEFAULT_ADMIN_ROLE", + "nameLocation": "2051:18:7", + "nodeType": "VariableDeclaration", + "scope": 1834, + "src": "2027:49:7", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1551, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2027:7:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": { + "hexValue": "30783030", + "id": 1552, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2072:4:7", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0x00" + }, + "visibility": "public" + }, + { + "body": { + "id": 1565, + "nodeType": "Block", + "src": "2495:58:7", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 1559, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1556, + "src": "2516:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 1560, + "name": "_msgSender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2037, + "src": "2522:10:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", + "typeString": "function () view returns (address)" + } + }, + "id": 1561, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2522:12:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1558, + "name": "_checkRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1650, + "src": "2505:10:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address) view" + } + }, + "id": 1562, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2505:30:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1563, + "nodeType": "ExpressionStatement", + "src": "2505:30:7" + }, + { + "id": 1564, + "nodeType": "PlaceholderStatement", + "src": "2545:1:7" + } + ] + }, + "documentation": { + "id": 1554, + "nodeType": "StructuredDocumentation", + "src": "2083:375:7", + "text": " @dev Modifier that checks that an account has a specific role. Reverts\n with a standardized message including the required role.\n The format of the revert reason is given by the following regular expression:\n /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/\n _Available since v4.1._" + }, + "id": 1566, + "name": "onlyRole", + "nameLocation": "2472:8:7", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 1557, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1556, + "mutability": "mutable", + "name": "role", + "nameLocation": "2489:4:7", + "nodeType": "VariableDeclaration", + "scope": 1566, + "src": "2481:12:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1555, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2481:7:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "2480:14:7" + }, + "src": "2463:90:7", + "virtual": false, + "visibility": "internal" + }, + { + "baseFunctions": [ + 2273 + ], + "body": { + "id": 1587, + "nodeType": "Block", + "src": "2711:111:7", + "statements": [ + { + "expression": { + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 1585, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + "id": 1580, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1575, + "name": "interfaceId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1569, + "src": "2728:11:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "expression": { + "arguments": [ + { + "id": 1577, + "name": "IAccessControl", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1907, + "src": "2748:14:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_IAccessControl_$1907_$", + "typeString": "type(contract IAccessControl)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_type$_t_contract$_IAccessControl_$1907_$", + "typeString": "type(contract IAccessControl)" + } + ], + "id": 1576, + "name": "type", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967269, + "src": "2743:4:7", + "typeDescriptions": { + "typeIdentifier": "t_function_metatype_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 1578, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2743:20:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_magic_meta_type_t_contract$_IAccessControl_$1907", + "typeString": "type(contract IAccessControl)" + } + }, + "id": 1579, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "interfaceId", + "nodeType": "MemberAccess", + "src": "2743:32:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "src": "2728:47:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "BinaryOperation", + "operator": "||", + "rightExpression": { + "arguments": [ + { + "id": 1583, + "name": "interfaceId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1569, + "src": "2803:11:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + ], + "expression": { + "id": 1581, + "name": "super", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967271, + "src": "2779:5:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_super$_AccessControl_$1834_$", + "typeString": "type(contract super AccessControl)" + } + }, + "id": 1582, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "supportsInterface", + "nodeType": "MemberAccess", + "referencedDeclaration": 2273, + "src": "2779:23:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes4_$returns$_t_bool_$", + "typeString": "function (bytes4) view returns (bool)" + } + }, + "id": 1584, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2779:36:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "src": "2728:87:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "functionReturnParameters": 1574, + "id": 1586, + "nodeType": "Return", + "src": "2721:94:7" + } + ] + }, + "documentation": { + "id": 1567, + "nodeType": "StructuredDocumentation", + "src": "2559:56:7", + "text": " @dev See {IERC165-supportsInterface}." + }, + "functionSelector": "01ffc9a7", + "id": 1588, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "supportsInterface", + "nameLocation": "2629:17:7", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 1571, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "2687:8:7" + }, + "parameters": { + "id": 1570, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1569, + "mutability": "mutable", + "name": "interfaceId", + "nameLocation": "2654:11:7", + "nodeType": "VariableDeclaration", + "scope": 1588, + "src": "2647:18:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + "typeName": { + "id": 1568, + "name": "bytes4", + "nodeType": "ElementaryTypeName", + "src": "2647:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "visibility": "internal" + } + ], + "src": "2646:20:7" + }, + "returnParameters": { + "id": 1574, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1573, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1588, + "src": "2705:4:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1572, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2705:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "2704:6:7" + }, + "scope": 1834, + "src": "2620:202:7", + "stateMutability": "view", + "virtual": true, + "visibility": "public" + }, + { + "baseFunctions": [ + 1874 + ], + "body": { + "id": 1606, + "nodeType": "Block", + "src": "3001:53:7", + "statements": [ + { + "expression": { + "baseExpression": { + "expression": { + "baseExpression": { + "id": 1599, + "name": "_roles", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1550, + "src": "3018:6:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$1545_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" + } + }, + "id": 1601, + "indexExpression": { + "id": 1600, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1591, + "src": "3025:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3018:12:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_RoleData_$1545_storage", + "typeString": "struct AccessControl.RoleData storage ref" + } + }, + "id": 1602, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "members", + "nodeType": "MemberAccess", + "referencedDeclaration": 1542, + "src": "3018:20:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 1604, + "indexExpression": { + "id": 1603, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1593, + "src": "3039:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3018:29:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "functionReturnParameters": 1598, + "id": 1605, + "nodeType": "Return", + "src": "3011:36:7" + } + ] + }, + "documentation": { + "id": 1589, + "nodeType": "StructuredDocumentation", + "src": "2828:76:7", + "text": " @dev Returns `true` if `account` has been granted `role`." + }, + "functionSelector": "91d14854", + "id": 1607, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "hasRole", + "nameLocation": "2918:7:7", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 1595, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "2977:8:7" + }, + "parameters": { + "id": 1594, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1591, + "mutability": "mutable", + "name": "role", + "nameLocation": "2934:4:7", + "nodeType": "VariableDeclaration", + "scope": 1607, + "src": "2926:12:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1590, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2926:7:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1593, + "mutability": "mutable", + "name": "account", + "nameLocation": "2948:7:7", + "nodeType": "VariableDeclaration", + "scope": 1607, + "src": "2940:15:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1592, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2940:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2925:31:7" + }, + "returnParameters": { + "id": 1598, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1597, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1607, + "src": "2995:4:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1596, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2995:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "2994:6:7" + }, + "scope": 1834, + "src": "2909:145:7", + "stateMutability": "view", + "virtual": true, + "visibility": "public" + }, + { + "body": { + "id": 1649, + "nodeType": "Block", + "src": "3408:419:7", + "statements": [ + { + "condition": { + "id": 1619, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "3422:23:7", + "subExpression": { + "arguments": [ + { + "id": 1616, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1610, + "src": "3431:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1617, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1612, + "src": "3437:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1615, + "name": "hasRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1607, + "src": "3423:7:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$", + "typeString": "function (bytes32,address) view returns (bool)" + } + }, + "id": 1618, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3423:22:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1648, + "nodeType": "IfStatement", + "src": "3418:403:7", + "trueBody": { + "id": 1647, + "nodeType": "Block", + "src": "3447:374:7", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "416363657373436f6e74726f6c3a206163636f756e7420", + "id": 1625, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3555:25:7", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874", + "typeString": "literal_string \"AccessControl: account \"" + }, + "value": "AccessControl: account " + }, + { + "arguments": [ + { + "arguments": [ + { + "id": 1630, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1612, + "src": "3634:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1629, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3626:7:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint160_$", + "typeString": "type(uint160)" + }, + "typeName": { + "id": 1628, + "name": "uint160", + "nodeType": "ElementaryTypeName", + "src": "3626:7:7", + "typeDescriptions": {} + } + }, + "id": 1631, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3626:16:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint160", + "typeString": "uint160" + } + }, + { + "hexValue": "3230", + "id": 1632, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3644:2:7", + "typeDescriptions": { + "typeIdentifier": "t_rational_20_by_1", + "typeString": "int_const 20" + }, + "value": "20" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint160", + "typeString": "uint160" + }, + { + "typeIdentifier": "t_rational_20_by_1", + "typeString": "int_const 20" + } + ], + "expression": { + "id": 1626, + "name": "Strings", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2250, + "src": "3606:7:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Strings_$2250_$", + "typeString": "type(library Strings)" + } + }, + "id": 1627, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "toHexString", + "nodeType": "MemberAccess", + "referencedDeclaration": 2249, + "src": "3606:19:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_string_memory_ptr_$", + "typeString": "function (uint256,uint256) pure returns (string memory)" + } + }, + "id": 1633, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3606:41:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + { + "hexValue": "206973206d697373696e6720726f6c6520", + "id": 1634, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3673:19:7", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69", + "typeString": "literal_string \" is missing role \"" + }, + "value": " is missing role " + }, + { + "arguments": [ + { + "arguments": [ + { + "id": 1639, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1610, + "src": "3746:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "id": 1638, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3738:7:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint256_$", + "typeString": "type(uint256)" + }, + "typeName": { + "id": 1637, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3738:7:7", + "typeDescriptions": {} + } + }, + "id": 1640, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3738:13:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "hexValue": "3332", + "id": 1641, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3753:2:7", + "typeDescriptions": { + "typeIdentifier": "t_rational_32_by_1", + "typeString": "int_const 32" + }, + "value": "32" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_rational_32_by_1", + "typeString": "int_const 32" + } + ], + "expression": { + "id": 1635, + "name": "Strings", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2250, + "src": "3718:7:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Strings_$2250_$", + "typeString": "type(library Strings)" + } + }, + "id": 1636, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "toHexString", + "nodeType": "MemberAccess", + "referencedDeclaration": 2249, + "src": "3718:19:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_string_memory_ptr_$", + "typeString": "function (uint256,uint256) pure returns (string memory)" + } + }, + "id": 1642, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3718:38:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874", + "typeString": "literal_string \"AccessControl: account \"" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + }, + { + "typeIdentifier": "t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69", + "typeString": "literal_string \" is missing role \"" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 1623, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3513:3:7", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 1624, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3513:16:7", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 1643, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3513:265:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1622, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3485:6:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_string_storage_ptr_$", + "typeString": "type(string storage pointer)" + }, + "typeName": { + "id": 1621, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "3485:6:7", + "typeDescriptions": {} + } + }, + "id": 1644, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3485:311:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "id": 1620, + "name": "revert", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967277, + 4294967277 + ], + "referencedDeclaration": 4294967277, + "src": "3461:6:7", + "typeDescriptions": { + "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", + "typeString": "function (string memory) pure" + } + }, + "id": 1645, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3461:349:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1646, + "nodeType": "ExpressionStatement", + "src": "3461:349:7" + } + ] + } + } + ] + }, + "documentation": { + "id": 1608, + "nodeType": "StructuredDocumentation", + "src": "3060:270:7", + "text": " @dev Revert with a standard message if `account` is missing `role`.\n The format of the revert reason is given by the following regular expression:\n /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/" + }, + "id": 1650, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_checkRole", + "nameLocation": "3344:10:7", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1613, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1610, + "mutability": "mutable", + "name": "role", + "nameLocation": "3363:4:7", + "nodeType": "VariableDeclaration", + "scope": 1650, + "src": "3355:12:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1609, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3355:7:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1612, + "mutability": "mutable", + "name": "account", + "nameLocation": "3377:7:7", + "nodeType": "VariableDeclaration", + "scope": 1650, + "src": "3369:15:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1611, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3369:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "3354:31:7" + }, + "returnParameters": { + "id": 1614, + "nodeType": "ParameterList", + "parameters": [], + "src": "3408:0:7" + }, + "scope": 1834, + "src": "3335:492:7", + "stateMutability": "view", + "virtual": true, + "visibility": "internal" + }, + { + "baseFunctions": [ + 1882 + ], + "body": { + "id": 1664, + "nodeType": "Block", + "src": "4091:46:7", + "statements": [ + { + "expression": { + "expression": { + "baseExpression": { + "id": 1659, + "name": "_roles", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1550, + "src": "4108:6:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$1545_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" + } + }, + "id": 1661, + "indexExpression": { + "id": 1660, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1653, + "src": "4115:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4108:12:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_RoleData_$1545_storage", + "typeString": "struct AccessControl.RoleData storage ref" + } + }, + "id": 1662, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "adminRole", + "nodeType": "MemberAccess", + "referencedDeclaration": 1544, + "src": "4108:22:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "functionReturnParameters": 1658, + "id": 1663, + "nodeType": "Return", + "src": "4101:29:7" + } + ] + }, + "documentation": { + "id": 1651, + "nodeType": "StructuredDocumentation", + "src": "3833:170:7", + "text": " @dev Returns the admin role that controls `role`. See {grantRole} and\n {revokeRole}.\n To change a role's admin, use {_setRoleAdmin}." + }, + "functionSelector": "248a9ca3", + "id": 1665, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getRoleAdmin", + "nameLocation": "4017:12:7", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 1655, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "4064:8:7" + }, + "parameters": { + "id": 1654, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1653, + "mutability": "mutable", + "name": "role", + "nameLocation": "4038:4:7", + "nodeType": "VariableDeclaration", + "scope": 1665, + "src": "4030:12:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1652, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4030:7:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "4029:14:7" + }, + "returnParameters": { + "id": 1658, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1657, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1665, + "src": "4082:7:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1656, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4082:7:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "4081:9:7" + }, + "scope": 1834, + "src": "4008:129:7", + "stateMutability": "view", + "virtual": true, + "visibility": "public" + }, + { + "baseFunctions": [ + 1890 + ], + "body": { + "id": 1684, + "nodeType": "Block", + "src": "4490:42:7", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 1680, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1668, + "src": "4511:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1681, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1670, + "src": "4517:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1679, + "name": "_grantRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1802, + "src": "4500:10:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 1682, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4500:25:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1683, + "nodeType": "ExpressionStatement", + "src": "4500:25:7" + } + ] + }, + "documentation": { + "id": 1666, + "nodeType": "StructuredDocumentation", + "src": "4143:239:7", + "text": " @dev Grants `role` to `account`.\n If `account` had not been already granted `role`, emits a {RoleGranted}\n event.\n Requirements:\n - the caller must have ``role``'s admin role." + }, + "functionSelector": "2f2ff15d", + "id": 1685, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "arguments": [ + { + "id": 1675, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1668, + "src": "4483:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "id": 1674, + "name": "getRoleAdmin", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1665, + "src": "4470:12:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_bytes32_$", + "typeString": "function (bytes32) view returns (bytes32)" + } + }, + "id": 1676, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4470:18:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 1677, + "kind": "modifierInvocation", + "modifierName": { + "id": 1673, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1566, + "src": "4461:8:7" + }, + "nodeType": "ModifierInvocation", + "src": "4461:28:7" + } + ], + "name": "grantRole", + "nameLocation": "4396:9:7", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 1672, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "4452:8:7" + }, + "parameters": { + "id": 1671, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1668, + "mutability": "mutable", + "name": "role", + "nameLocation": "4414:4:7", + "nodeType": "VariableDeclaration", + "scope": 1685, + "src": "4406:12:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1667, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4406:7:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1670, + "mutability": "mutable", + "name": "account", + "nameLocation": "4428:7:7", + "nodeType": "VariableDeclaration", + "scope": 1685, + "src": "4420:15:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1669, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4420:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "4405:31:7" + }, + "returnParameters": { + "id": 1678, + "nodeType": "ParameterList", + "parameters": [], + "src": "4490:0:7" + }, + "scope": 1834, + "src": "4387:145:7", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + }, + { + "baseFunctions": [ + 1898 + ], + "body": { + "id": 1704, + "nodeType": "Block", + "src": "4870:43:7", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 1700, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1688, + "src": "4892:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1701, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1690, + "src": "4898:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1699, + "name": "_revokeRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1833, + "src": "4880:11:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 1702, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4880:26:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1703, + "nodeType": "ExpressionStatement", + "src": "4880:26:7" + } + ] + }, + "documentation": { + "id": 1686, + "nodeType": "StructuredDocumentation", + "src": "4538:223:7", + "text": " @dev Revokes `role` from `account`.\n If `account` had been granted `role`, emits a {RoleRevoked} event.\n Requirements:\n - the caller must have ``role``'s admin role." + }, + "functionSelector": "d547741f", + "id": 1705, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "arguments": [ + { + "id": 1695, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1688, + "src": "4863:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "id": 1694, + "name": "getRoleAdmin", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1665, + "src": "4850:12:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_bytes32_$", + "typeString": "function (bytes32) view returns (bytes32)" + } + }, + "id": 1696, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4850:18:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 1697, + "kind": "modifierInvocation", + "modifierName": { + "id": 1693, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1566, + "src": "4841:8:7" + }, + "nodeType": "ModifierInvocation", + "src": "4841:28:7" + } + ], + "name": "revokeRole", + "nameLocation": "4775:10:7", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 1692, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "4832:8:7" + }, + "parameters": { + "id": 1691, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1688, + "mutability": "mutable", + "name": "role", + "nameLocation": "4794:4:7", + "nodeType": "VariableDeclaration", + "scope": 1705, + "src": "4786:12:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1687, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4786:7:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1690, + "mutability": "mutable", + "name": "account", + "nameLocation": "4808:7:7", + "nodeType": "VariableDeclaration", + "scope": 1705, + "src": "4800:15:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1689, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4800:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "4785:31:7" + }, + "returnParameters": { + "id": 1698, + "nodeType": "ParameterList", + "parameters": [], + "src": "4870:0:7" + }, + "scope": 1834, + "src": "4766:147:7", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + }, + { + "baseFunctions": [ + 1906 + ], + "body": { + "id": 1727, + "nodeType": "Block", + "src": "5481:137:7", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 1718, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1715, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1710, + "src": "5499:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 1716, + "name": "_msgSender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2037, + "src": "5510:10:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", + "typeString": "function () view returns (address)" + } + }, + "id": 1717, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5510:12:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "5499:23:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66", + "id": 1719, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5524:49:7", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b", + "typeString": "literal_string \"AccessControl: can only renounce roles for self\"" + }, + "value": "AccessControl: can only renounce roles for self" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b", + "typeString": "literal_string \"AccessControl: can only renounce roles for self\"" + } + ], + "id": 1714, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "5491:7:7", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 1720, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5491:83:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1721, + "nodeType": "ExpressionStatement", + "src": "5491:83:7" + }, + { + "expression": { + "arguments": [ + { + "id": 1723, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1708, + "src": "5597:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1724, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1710, + "src": "5603:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1722, + "name": "_revokeRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1833, + "src": "5585:11:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 1725, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5585:26:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1726, + "nodeType": "ExpressionStatement", + "src": "5585:26:7" + } + ] + }, + "documentation": { + "id": 1706, + "nodeType": "StructuredDocumentation", + "src": "4919:480:7", + "text": " @dev Revokes `role` from the calling account.\n Roles are often managed via {grantRole} and {revokeRole}: this function's\n purpose is to provide a mechanism for accounts to lose their privileges\n if they are compromised (such as when a trusted device is misplaced).\n If the calling account had been revoked `role`, emits a {RoleRevoked}\n event.\n Requirements:\n - the caller must be `account`." + }, + "functionSelector": "36568abe", + "id": 1728, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "renounceRole", + "nameLocation": "5413:12:7", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 1712, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "5472:8:7" + }, + "parameters": { + "id": 1711, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1708, + "mutability": "mutable", + "name": "role", + "nameLocation": "5434:4:7", + "nodeType": "VariableDeclaration", + "scope": 1728, + "src": "5426:12:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1707, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "5426:7:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1710, + "mutability": "mutable", + "name": "account", + "nameLocation": "5448:7:7", + "nodeType": "VariableDeclaration", + "scope": 1728, + "src": "5440:15:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1709, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5440:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "5425:31:7" + }, + "returnParameters": { + "id": 1713, + "nodeType": "ParameterList", + "parameters": [], + "src": "5481:0:7" + }, + "scope": 1834, + "src": "5404:214:7", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + }, + { + "body": { + "id": 1741, + "nodeType": "Block", + "src": "6325:42:7", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 1737, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1731, + "src": "6346:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1738, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1733, + "src": "6352:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1736, + "name": "_grantRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1802, + "src": "6335:10:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 1739, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6335:25:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1740, + "nodeType": "ExpressionStatement", + "src": "6335:25:7" + } + ] + }, + "documentation": { + "id": 1729, + "nodeType": "StructuredDocumentation", + "src": "5624:628:7", + "text": " @dev Grants `role` to `account`.\n If `account` had not been already granted `role`, emits a {RoleGranted}\n event. Note that unlike {grantRole}, this function doesn't perform any\n checks on the calling account.\n [WARNING]\n ====\n This function should only be called from the constructor when setting\n up the initial roles for the system.\n Using this function in any other way is effectively circumventing the admin\n system imposed by {AccessControl}.\n ====\n NOTE: This function is deprecated in favor of {_grantRole}." + }, + "id": 1742, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_setupRole", + "nameLocation": "6266:10:7", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1734, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1731, + "mutability": "mutable", + "name": "role", + "nameLocation": "6285:4:7", + "nodeType": "VariableDeclaration", + "scope": 1742, + "src": "6277:12:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1730, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6277:7:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1733, + "mutability": "mutable", + "name": "account", + "nameLocation": "6299:7:7", + "nodeType": "VariableDeclaration", + "scope": 1742, + "src": "6291:15:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1732, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6291:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "6276:31:7" + }, + "returnParameters": { + "id": 1735, + "nodeType": "ParameterList", + "parameters": [], + "src": "6325:0:7" + }, + "scope": 1834, + "src": "6257:110:7", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + }, + { + "body": { + "id": 1769, + "nodeType": "Block", + "src": "6565:174:7", + "statements": [ + { + "assignments": [ + 1751 + ], + "declarations": [ + { + "constant": false, + "id": 1751, + "mutability": "mutable", + "name": "previousAdminRole", + "nameLocation": "6583:17:7", + "nodeType": "VariableDeclaration", + "scope": 1769, + "src": "6575:25:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1750, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6575:7:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 1755, + "initialValue": { + "arguments": [ + { + "id": 1753, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1745, + "src": "6616:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "id": 1752, + "name": "getRoleAdmin", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1665, + "src": "6603:12:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_bytes32_$", + "typeString": "function (bytes32) view returns (bytes32)" + } + }, + "id": 1754, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6603:18:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6575:46:7" + }, + { + "expression": { + "id": 1761, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "expression": { + "baseExpression": { + "id": 1756, + "name": "_roles", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1550, + "src": "6631:6:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$1545_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" + } + }, + "id": 1758, + "indexExpression": { + "id": 1757, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1745, + "src": "6638:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6631:12:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_RoleData_$1545_storage", + "typeString": "struct AccessControl.RoleData storage ref" + } + }, + "id": 1759, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "adminRole", + "nodeType": "MemberAccess", + "referencedDeclaration": 1544, + "src": "6631:22:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 1760, + "name": "adminRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1747, + "src": "6656:9:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "src": "6631:34:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "id": 1762, + "nodeType": "ExpressionStatement", + "src": "6631:34:7" + }, + { + "eventCall": { + "arguments": [ + { + "id": 1764, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1745, + "src": "6697:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1765, + "name": "previousAdminRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1751, + "src": "6703:17:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1766, + "name": "adminRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1747, + "src": "6722:9:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "id": 1763, + "name": "RoleAdminChanged", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1846, + "src": "6680:16:7", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_bytes32_$_t_bytes32_$returns$__$", + "typeString": "function (bytes32,bytes32,bytes32)" + } + }, + "id": 1767, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6680:52:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1768, + "nodeType": "EmitStatement", + "src": "6675:57:7" + } + ] + }, + "documentation": { + "id": 1743, + "nodeType": "StructuredDocumentation", + "src": "6373:114:7", + "text": " @dev Sets `adminRole` as ``role``'s admin role.\n Emits a {RoleAdminChanged} event." + }, + "id": 1770, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_setRoleAdmin", + "nameLocation": "6501:13:7", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1748, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1745, + "mutability": "mutable", + "name": "role", + "nameLocation": "6523:4:7", + "nodeType": "VariableDeclaration", + "scope": 1770, + "src": "6515:12:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1744, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6515:7:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1747, + "mutability": "mutable", + "name": "adminRole", + "nameLocation": "6537:9:7", + "nodeType": "VariableDeclaration", + "scope": 1770, + "src": "6529:17:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1746, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6529:7:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "6514:33:7" + }, + "returnParameters": { + "id": 1749, + "nodeType": "ParameterList", + "parameters": [], + "src": "6565:0:7" + }, + "scope": 1834, + "src": "6492:247:7", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + }, + { + "body": { + "id": 1801, + "nodeType": "Block", + "src": "6929:165:7", + "statements": [ + { + "condition": { + "id": 1782, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "6943:23:7", + "subExpression": { + "arguments": [ + { + "id": 1779, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1773, + "src": "6952:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1780, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1775, + "src": "6958:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1778, + "name": "hasRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1607, + "src": "6944:7:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$", + "typeString": "function (bytes32,address) view returns (bool)" + } + }, + "id": 1781, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6944:22:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1800, + "nodeType": "IfStatement", + "src": "6939:149:7", + "trueBody": { + "id": 1799, + "nodeType": "Block", + "src": "6968:120:7", + "statements": [ + { + "expression": { + "id": 1790, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "expression": { + "baseExpression": { + "id": 1783, + "name": "_roles", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1550, + "src": "6982:6:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$1545_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" + } + }, + "id": 1785, + "indexExpression": { + "id": 1784, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1773, + "src": "6989:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6982:12:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_RoleData_$1545_storage", + "typeString": "struct AccessControl.RoleData storage ref" + } + }, + "id": 1786, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "members", + "nodeType": "MemberAccess", + "referencedDeclaration": 1542, + "src": "6982:20:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 1788, + "indexExpression": { + "id": 1787, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1775, + "src": "7003:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "6982:29:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "74727565", + "id": 1789, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7014:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "src": "6982:36:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1791, + "nodeType": "ExpressionStatement", + "src": "6982:36:7" + }, + { + "eventCall": { + "arguments": [ + { + "id": 1793, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1773, + "src": "7049:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1794, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1775, + "src": "7055:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 1795, + "name": "_msgSender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2037, + "src": "7064:10:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", + "typeString": "function () view returns (address)" + } + }, + "id": 1796, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7064:12:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1792, + "name": "RoleGranted", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1855, + "src": "7037:11:7", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_address_$returns$__$", + "typeString": "function (bytes32,address,address)" + } + }, + "id": 1797, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7037:40:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1798, + "nodeType": "EmitStatement", + "src": "7032:45:7" + } + ] + } + } + ] + }, + "documentation": { + "id": 1771, + "nodeType": "StructuredDocumentation", + "src": "6745:111:7", + "text": " @dev Grants `role` to `account`.\n Internal function without access restriction." + }, + "id": 1802, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_grantRole", + "nameLocation": "6870:10:7", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1776, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1773, + "mutability": "mutable", + "name": "role", + "nameLocation": "6889:4:7", + "nodeType": "VariableDeclaration", + "scope": 1802, + "src": "6881:12:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1772, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6881:7:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1775, + "mutability": "mutable", + "name": "account", + "nameLocation": "6903:7:7", + "nodeType": "VariableDeclaration", + "scope": 1802, + "src": "6895:15:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1774, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6895:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "6880:31:7" + }, + "returnParameters": { + "id": 1777, + "nodeType": "ParameterList", + "parameters": [], + "src": "6929:0:7" + }, + "scope": 1834, + "src": "6861:233:7", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + }, + { + "body": { + "id": 1832, + "nodeType": "Block", + "src": "7288:165:7", + "statements": [ + { + "condition": { + "arguments": [ + { + "id": 1811, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1805, + "src": "7310:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1812, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1807, + "src": "7316:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1810, + "name": "hasRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1607, + "src": "7302:7:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$", + "typeString": "function (bytes32,address) view returns (bool)" + } + }, + "id": 1813, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7302:22:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1831, + "nodeType": "IfStatement", + "src": "7298:149:7", + "trueBody": { + "id": 1830, + "nodeType": "Block", + "src": "7326:121:7", + "statements": [ + { + "expression": { + "id": 1821, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "expression": { + "baseExpression": { + "id": 1814, + "name": "_roles", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1550, + "src": "7340:6:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$1545_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" + } + }, + "id": 1816, + "indexExpression": { + "id": 1815, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1805, + "src": "7347:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7340:12:7", + "typeDescriptions": { + "typeIdentifier": "t_struct$_RoleData_$1545_storage", + "typeString": "struct AccessControl.RoleData storage ref" + } + }, + "id": 1817, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "members", + "nodeType": "MemberAccess", + "referencedDeclaration": 1542, + "src": "7340:20:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 1819, + "indexExpression": { + "id": 1818, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1807, + "src": "7361:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7340:29:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "66616c7365", + "id": 1820, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7372:5:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "src": "7340:37:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1822, + "nodeType": "ExpressionStatement", + "src": "7340:37:7" + }, + { + "eventCall": { + "arguments": [ + { + "id": 1824, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1805, + "src": "7408:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1825, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1807, + "src": "7414:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 1826, + "name": "_msgSender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2037, + "src": "7423:10:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", + "typeString": "function () view returns (address)" + } + }, + "id": 1827, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7423:12:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1823, + "name": "RoleRevoked", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1864, + "src": "7396:11:7", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_address_$returns$__$", + "typeString": "function (bytes32,address,address)" + } + }, + "id": 1828, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7396:40:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1829, + "nodeType": "EmitStatement", + "src": "7391:45:7" + } + ] + } + } + ] + }, + "documentation": { + "id": 1803, + "nodeType": "StructuredDocumentation", + "src": "7100:114:7", + "text": " @dev Revokes `role` from `account`.\n Internal function without access restriction." + }, + "id": 1833, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_revokeRole", + "nameLocation": "7228:11:7", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1808, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1805, + "mutability": "mutable", + "name": "role", + "nameLocation": "7248:4:7", + "nodeType": "VariableDeclaration", + "scope": 1833, + "src": "7240:12:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1804, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "7240:7:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1807, + "mutability": "mutable", + "name": "account", + "nameLocation": "7262:7:7", + "nodeType": "VariableDeclaration", + "scope": 1833, + "src": "7254:15:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1806, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "7254:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "7239:31:7" + }, + "returnParameters": { + "id": 1809, + "nodeType": "ParameterList", + "parameters": [], + "src": "7288:0:7" + }, + "scope": 1834, + "src": "7219:234:7", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "scope": 1835, + "src": "1806:5649:7", + "usedErrors": [] + } + ], + "src": "108:7348:7" + }, + "id": 7 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol", + "exportedSymbols": { + "IAccessControl": [ + 1907 + ] + }, + "id": 1908, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1836, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "94:23:8" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "IAccessControl", + "contractDependencies": [], + "contractKind": "interface", + "documentation": { + "id": 1837, + "nodeType": "StructuredDocumentation", + "src": "119:89:8", + "text": " @dev External interface of AccessControl declared to support ERC165 detection." + }, + "fullyImplemented": false, + "id": 1907, + "linearizedBaseContracts": [ + 1907 + ], + "name": "IAccessControl", + "nameLocation": "219:14:8", + "nodeType": "ContractDefinition", + "nodes": [ + { + "anonymous": false, + "documentation": { + "id": 1838, + "nodeType": "StructuredDocumentation", + "src": "240:292:8", + "text": " @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`\n `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite\n {RoleAdminChanged} not being emitted signaling this.\n _Available since v3.1._" + }, + "id": 1846, + "name": "RoleAdminChanged", + "nameLocation": "543:16:8", + "nodeType": "EventDefinition", + "parameters": { + "id": 1845, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1840, + "indexed": true, + "mutability": "mutable", + "name": "role", + "nameLocation": "576:4:8", + "nodeType": "VariableDeclaration", + "scope": 1846, + "src": "560:20:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1839, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "560:7:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1842, + "indexed": true, + "mutability": "mutable", + "name": "previousAdminRole", + "nameLocation": "598:17:8", + "nodeType": "VariableDeclaration", + "scope": 1846, + "src": "582:33:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1841, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "582:7:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1844, + "indexed": true, + "mutability": "mutable", + "name": "newAdminRole", + "nameLocation": "633:12:8", + "nodeType": "VariableDeclaration", + "scope": 1846, + "src": "617:28:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1843, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "617:7:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "559:87:8" + }, + "src": "537:110:8" + }, + { + "anonymous": false, + "documentation": { + "id": 1847, + "nodeType": "StructuredDocumentation", + "src": "653:212:8", + "text": " @dev Emitted when `account` is granted `role`.\n `sender` is the account that originated the contract call, an admin role\n bearer except when using {AccessControl-_setupRole}." + }, + "id": 1855, + "name": "RoleGranted", + "nameLocation": "876:11:8", + "nodeType": "EventDefinition", + "parameters": { + "id": 1854, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1849, + "indexed": true, + "mutability": "mutable", + "name": "role", + "nameLocation": "904:4:8", + "nodeType": "VariableDeclaration", + "scope": 1855, + "src": "888:20:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1848, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "888:7:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1851, + "indexed": true, + "mutability": "mutable", + "name": "account", + "nameLocation": "926:7:8", + "nodeType": "VariableDeclaration", + "scope": 1855, + "src": "910:23:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1850, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "910:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1853, + "indexed": true, + "mutability": "mutable", + "name": "sender", + "nameLocation": "951:6:8", + "nodeType": "VariableDeclaration", + "scope": 1855, + "src": "935:22:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1852, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "935:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "887:71:8" + }, + "src": "870:89:8" + }, + { + "anonymous": false, + "documentation": { + "id": 1856, + "nodeType": "StructuredDocumentation", + "src": "965:275:8", + "text": " @dev Emitted when `account` is revoked `role`.\n `sender` is the account that originated the contract call:\n - if using `revokeRole`, it is the admin role bearer\n - if using `renounceRole`, it is the role bearer (i.e. `account`)" + }, + "id": 1864, + "name": "RoleRevoked", + "nameLocation": "1251:11:8", + "nodeType": "EventDefinition", + "parameters": { + "id": 1863, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1858, + "indexed": true, + "mutability": "mutable", + "name": "role", + "nameLocation": "1279:4:8", + "nodeType": "VariableDeclaration", + "scope": 1864, + "src": "1263:20:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1857, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1263:7:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1860, + "indexed": true, + "mutability": "mutable", + "name": "account", + "nameLocation": "1301:7:8", + "nodeType": "VariableDeclaration", + "scope": 1864, + "src": "1285:23:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1859, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1285:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1862, + "indexed": true, + "mutability": "mutable", + "name": "sender", + "nameLocation": "1326:6:8", + "nodeType": "VariableDeclaration", + "scope": 1864, + "src": "1310:22:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1861, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1310:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "1262:71:8" + }, + "src": "1245:89:8" + }, + { + "documentation": { + "id": 1865, + "nodeType": "StructuredDocumentation", + "src": "1340:76:8", + "text": " @dev Returns `true` if `account` has been granted `role`." + }, + "functionSelector": "91d14854", + "id": 1874, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "hasRole", + "nameLocation": "1430:7:8", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1870, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1867, + "mutability": "mutable", + "name": "role", + "nameLocation": "1446:4:8", + "nodeType": "VariableDeclaration", + "scope": 1874, + "src": "1438:12:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1866, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1438:7:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1869, + "mutability": "mutable", + "name": "account", + "nameLocation": "1460:7:8", + "nodeType": "VariableDeclaration", + "scope": 1874, + "src": "1452:15:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1868, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1452:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "1437:31:8" + }, + "returnParameters": { + "id": 1873, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1872, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1874, + "src": "1492:4:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1871, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "1492:4:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "1491:6:8" + }, + "scope": 1907, + "src": "1421:77:8", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 1875, + "nodeType": "StructuredDocumentation", + "src": "1504:184:8", + "text": " @dev Returns the admin role that controls `role`. See {grantRole} and\n {revokeRole}.\n To change a role's admin, use {AccessControl-_setRoleAdmin}." + }, + "functionSelector": "248a9ca3", + "id": 1882, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getRoleAdmin", + "nameLocation": "1702:12:8", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1878, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1877, + "mutability": "mutable", + "name": "role", + "nameLocation": "1723:4:8", + "nodeType": "VariableDeclaration", + "scope": 1882, + "src": "1715:12:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1876, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1715:7:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "1714:14:8" + }, + "returnParameters": { + "id": 1881, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1880, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1882, + "src": "1752:7:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1879, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1752:7:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "1751:9:8" + }, + "scope": 1907, + "src": "1693:68:8", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 1883, + "nodeType": "StructuredDocumentation", + "src": "1767:239:8", + "text": " @dev Grants `role` to `account`.\n If `account` had not been already granted `role`, emits a {RoleGranted}\n event.\n Requirements:\n - the caller must have ``role``'s admin role." + }, + "functionSelector": "2f2ff15d", + "id": 1890, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "grantRole", + "nameLocation": "2020:9:8", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1888, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1885, + "mutability": "mutable", + "name": "role", + "nameLocation": "2038:4:8", + "nodeType": "VariableDeclaration", + "scope": 1890, + "src": "2030:12:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1884, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2030:7:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1887, + "mutability": "mutable", + "name": "account", + "nameLocation": "2052:7:8", + "nodeType": "VariableDeclaration", + "scope": 1890, + "src": "2044:15:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1886, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2044:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2029:31:8" + }, + "returnParameters": { + "id": 1889, + "nodeType": "ParameterList", + "parameters": [], + "src": "2069:0:8" + }, + "scope": 1907, + "src": "2011:59:8", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 1891, + "nodeType": "StructuredDocumentation", + "src": "2076:223:8", + "text": " @dev Revokes `role` from `account`.\n If `account` had been granted `role`, emits a {RoleRevoked} event.\n Requirements:\n - the caller must have ``role``'s admin role." + }, + "functionSelector": "d547741f", + "id": 1898, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "revokeRole", + "nameLocation": "2313:10:8", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1896, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1893, + "mutability": "mutable", + "name": "role", + "nameLocation": "2332:4:8", + "nodeType": "VariableDeclaration", + "scope": 1898, + "src": "2324:12:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1892, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2324:7:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1895, + "mutability": "mutable", + "name": "account", + "nameLocation": "2346:7:8", + "nodeType": "VariableDeclaration", + "scope": 1898, + "src": "2338:15:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1894, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2338:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2323:31:8" + }, + "returnParameters": { + "id": 1897, + "nodeType": "ParameterList", + "parameters": [], + "src": "2363:0:8" + }, + "scope": 1907, + "src": "2304:60:8", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 1899, + "nodeType": "StructuredDocumentation", + "src": "2370:480:8", + "text": " @dev Revokes `role` from the calling account.\n Roles are often managed via {grantRole} and {revokeRole}: this function's\n purpose is to provide a mechanism for accounts to lose their privileges\n if they are compromised (such as when a trusted device is misplaced).\n If the calling account had been granted `role`, emits a {RoleRevoked}\n event.\n Requirements:\n - the caller must be `account`." + }, + "functionSelector": "36568abe", + "id": 1906, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "renounceRole", + "nameLocation": "2864:12:8", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1904, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1901, + "mutability": "mutable", + "name": "role", + "nameLocation": "2885:4:8", + "nodeType": "VariableDeclaration", + "scope": 1906, + "src": "2877:12:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1900, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2877:7:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1903, + "mutability": "mutable", + "name": "account", + "nameLocation": "2899:7:8", + "nodeType": "VariableDeclaration", + "scope": 1906, + "src": "2891:15:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1902, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2891:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2876:31:8" + }, + "returnParameters": { + "id": 1905, + "nodeType": "ParameterList", + "parameters": [], + "src": "2916:0:8" + }, + "scope": 1907, + "src": "2855:62:8", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + } + ], + "scope": 1908, + "src": "209:2710:8", + "usedErrors": [] + } + ], + "src": "94:2826:8" + }, + "id": 8 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol", + "exportedSymbols": { + "ReentrancyGuard": [ + 1947 + ] + }, + "id": 1948, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1909, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "97:23:9" + }, + { + "abstract": true, + "baseContracts": [], + "canonicalName": "ReentrancyGuard", + "contractDependencies": [], + "contractKind": "contract", + "documentation": { + "id": 1910, + "nodeType": "StructuredDocumentation", + "src": "122:750:9", + "text": " @dev Contract module that helps prevent reentrant calls to a function.\n Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\n available, which can be applied to functions to make sure there are no nested\n (reentrant) calls to them.\n Note that because there is a single `nonReentrant` guard, functions marked as\n `nonReentrant` may not call one another. This can be worked around by making\n those functions `private`, and then adding `external` `nonReentrant` entry\n points to them.\n TIP: If you would like to learn more about reentrancy and alternative ways\n to protect against it, check out our blog post\n https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]." + }, + "fullyImplemented": true, + "id": 1947, + "linearizedBaseContracts": [ + 1947 + ], + "name": "ReentrancyGuard", + "nameLocation": "891:15:9", + "nodeType": "ContractDefinition", + "nodes": [ + { + "constant": true, + "id": 1913, + "mutability": "constant", + "name": "_NOT_ENTERED", + "nameLocation": "1686:12:9", + "nodeType": "VariableDeclaration", + "scope": 1947, + "src": "1661:41:9", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1911, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1661:7:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": { + "hexValue": "31", + "id": 1912, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1701:1:9", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "visibility": "private" + }, + { + "constant": true, + "id": 1916, + "mutability": "constant", + "name": "_ENTERED", + "nameLocation": "1733:8:9", + "nodeType": "VariableDeclaration", + "scope": 1947, + "src": "1708:37:9", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1914, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1708:7:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": { + "hexValue": "32", + "id": 1915, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1744:1:9", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "visibility": "private" + }, + { + "constant": false, + "id": 1918, + "mutability": "mutable", + "name": "_status", + "nameLocation": "1768:7:9", + "nodeType": "VariableDeclaration", + "scope": 1947, + "src": "1752:23:9", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1917, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1752:7:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "private" + }, + { + "body": { + "id": 1925, + "nodeType": "Block", + "src": "1796:39:9", + "statements": [ + { + "expression": { + "id": 1923, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1921, + "name": "_status", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1918, + "src": "1806:7:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 1922, + "name": "_NOT_ENTERED", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1913, + "src": "1816:12:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1806:22:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1924, + "nodeType": "ExpressionStatement", + "src": "1806:22:9" + } + ] + }, + "id": 1926, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1919, + "nodeType": "ParameterList", + "parameters": [], + "src": "1793:2:9" + }, + "returnParameters": { + "id": 1920, + "nodeType": "ParameterList", + "parameters": [], + "src": "1796:0:9" + }, + "scope": 1947, + "src": "1782:53:9", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 1945, + "nodeType": "Block", + "src": "2236:421:9", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1932, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1930, + "name": "_status", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1918, + "src": "2325:7:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "id": 1931, + "name": "_ENTERED", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1916, + "src": "2336:8:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2325:19:9", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "5265656e7472616e637947756172643a207265656e7472616e742063616c6c", + "id": 1933, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2346:33:9", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_ebf73bba305590e4764d5cb53b69bffd6d4d092d1a67551cb346f8cfcdab8619", + "typeString": "literal_string \"ReentrancyGuard: reentrant call\"" + }, + "value": "ReentrancyGuard: reentrant call" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_ebf73bba305590e4764d5cb53b69bffd6d4d092d1a67551cb346f8cfcdab8619", + "typeString": "literal_string \"ReentrancyGuard: reentrant call\"" + } + ], + "id": 1929, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "2317:7:9", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 1934, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2317:63:9", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1935, + "nodeType": "ExpressionStatement", + "src": "2317:63:9" + }, + { + "expression": { + "id": 1938, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1936, + "name": "_status", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1918, + "src": "2455:7:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 1937, + "name": "_ENTERED", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1916, + "src": "2465:8:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2455:18:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1939, + "nodeType": "ExpressionStatement", + "src": "2455:18:9" + }, + { + "id": 1940, + "nodeType": "PlaceholderStatement", + "src": "2484:1:9" + }, + { + "expression": { + "id": 1943, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1941, + "name": "_status", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1918, + "src": "2628:7:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 1942, + "name": "_NOT_ENTERED", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1913, + "src": "2638:12:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2628:22:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1944, + "nodeType": "ExpressionStatement", + "src": "2628:22:9" + } + ] + }, + "documentation": { + "id": 1927, + "nodeType": "StructuredDocumentation", + "src": "1841:366:9", + "text": " @dev Prevents a contract from calling itself, directly or indirectly.\n Calling a `nonReentrant` function from another `nonReentrant`\n function is not supported. It is possible to prevent this from happening\n by making the `nonReentrant` function external, and making it call a\n `private` function that does the actual work." + }, + "id": 1946, + "name": "nonReentrant", + "nameLocation": "2221:12:9", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 1928, + "nodeType": "ParameterList", + "parameters": [], + "src": "2233:2:9" + }, + "src": "2212:445:9", + "virtual": false, + "visibility": "internal" + } + ], + "scope": 1948, + "src": "873:1786:9", + "usedErrors": [] + } + ], + "src": "97:2563:9" + }, + "id": 9 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol", + "exportedSymbols": { + "IERC20": [ + 2025 + ] + }, + "id": 2026, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1949, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "106:23:10" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "IERC20", + "contractDependencies": [], + "contractKind": "interface", + "documentation": { + "id": 1950, + "nodeType": "StructuredDocumentation", + "src": "131:70:10", + "text": " @dev Interface of the ERC20 standard as defined in the EIP." + }, + "fullyImplemented": false, + "id": 2025, + "linearizedBaseContracts": [ + 2025 + ], + "name": "IERC20", + "nameLocation": "212:6:10", + "nodeType": "ContractDefinition", + "nodes": [ + { + "documentation": { + "id": 1951, + "nodeType": "StructuredDocumentation", + "src": "225:66:10", + "text": " @dev Returns the amount of tokens in existence." + }, + "functionSelector": "18160ddd", + "id": 1956, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "totalSupply", + "nameLocation": "305:11:10", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1952, + "nodeType": "ParameterList", + "parameters": [], + "src": "316:2:10" + }, + "returnParameters": { + "id": 1955, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1954, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1956, + "src": "342:7:10", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1953, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "342:7:10", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "341:9:10" + }, + "scope": 2025, + "src": "296:55:10", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 1957, + "nodeType": "StructuredDocumentation", + "src": "357:72:10", + "text": " @dev Returns the amount of tokens owned by `account`." + }, + "functionSelector": "70a08231", + "id": 1964, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "balanceOf", + "nameLocation": "443:9:10", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1960, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1959, + "mutability": "mutable", + "name": "account", + "nameLocation": "461:7:10", + "nodeType": "VariableDeclaration", + "scope": 1964, + "src": "453:15:10", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1958, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "453:7:10", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "452:17:10" + }, + "returnParameters": { + "id": 1963, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1962, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1964, + "src": "493:7:10", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1961, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "493:7:10", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "492:9:10" + }, + "scope": 2025, + "src": "434:68:10", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 1965, + "nodeType": "StructuredDocumentation", + "src": "508:202:10", + "text": " @dev Moves `amount` tokens from the caller's account to `to`.\n Returns a boolean value indicating whether the operation succeeded.\n Emits a {Transfer} event." + }, + "functionSelector": "a9059cbb", + "id": 1974, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "transfer", + "nameLocation": "724:8:10", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1970, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1967, + "mutability": "mutable", + "name": "to", + "nameLocation": "741:2:10", + "nodeType": "VariableDeclaration", + "scope": 1974, + "src": "733:10:10", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1966, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "733:7:10", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1969, + "mutability": "mutable", + "name": "amount", + "nameLocation": "753:6:10", + "nodeType": "VariableDeclaration", + "scope": 1974, + "src": "745:14:10", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1968, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "745:7:10", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "732:28:10" + }, + "returnParameters": { + "id": 1973, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1972, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1974, + "src": "779:4:10", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1971, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "779:4:10", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "778:6:10" + }, + "scope": 2025, + "src": "715:70:10", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 1975, + "nodeType": "StructuredDocumentation", + "src": "791:264:10", + "text": " @dev Returns the remaining number of tokens that `spender` will be\n allowed to spend on behalf of `owner` through {transferFrom}. This is\n zero by default.\n This value changes when {approve} or {transferFrom} are called." + }, + "functionSelector": "dd62ed3e", + "id": 1984, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "allowance", + "nameLocation": "1069:9:10", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1980, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1977, + "mutability": "mutable", + "name": "owner", + "nameLocation": "1087:5:10", + "nodeType": "VariableDeclaration", + "scope": 1984, + "src": "1079:13:10", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1976, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1079:7:10", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1979, + "mutability": "mutable", + "name": "spender", + "nameLocation": "1102:7:10", + "nodeType": "VariableDeclaration", + "scope": 1984, + "src": "1094:15:10", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1978, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1094:7:10", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "1078:32:10" + }, + "returnParameters": { + "id": 1983, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1982, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1984, + "src": "1134:7:10", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1981, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1134:7:10", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1133:9:10" + }, + "scope": 2025, + "src": "1060:83:10", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 1985, + "nodeType": "StructuredDocumentation", + "src": "1149:642:10", + "text": " @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\n Returns a boolean value indicating whether the operation succeeded.\n IMPORTANT: Beware that changing an allowance with this method brings the risk\n that someone may use both the old and the new allowance by unfortunate\n transaction ordering. One possible solution to mitigate this race\n condition is to first reduce the spender's allowance to 0 and set the\n desired value afterwards:\n https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n Emits an {Approval} event." + }, + "functionSelector": "095ea7b3", + "id": 1994, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "approve", + "nameLocation": "1805:7:10", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1990, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1987, + "mutability": "mutable", + "name": "spender", + "nameLocation": "1821:7:10", + "nodeType": "VariableDeclaration", + "scope": 1994, + "src": "1813:15:10", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1986, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1813:7:10", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1989, + "mutability": "mutable", + "name": "amount", + "nameLocation": "1838:6:10", + "nodeType": "VariableDeclaration", + "scope": 1994, + "src": "1830:14:10", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1988, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1830:7:10", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1812:33:10" + }, + "returnParameters": { + "id": 1993, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1992, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1994, + "src": "1864:4:10", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1991, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "1864:4:10", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "1863:6:10" + }, + "scope": 2025, + "src": "1796:74:10", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 1995, + "nodeType": "StructuredDocumentation", + "src": "1876:287:10", + "text": " @dev Moves `amount` tokens from `from` to `to` using the\n allowance mechanism. `amount` is then deducted from the caller's\n allowance.\n Returns a boolean value indicating whether the operation succeeded.\n Emits a {Transfer} event." + }, + "functionSelector": "23b872dd", + "id": 2006, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "transferFrom", + "nameLocation": "2177:12:10", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2002, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1997, + "mutability": "mutable", + "name": "from", + "nameLocation": "2207:4:10", + "nodeType": "VariableDeclaration", + "scope": 2006, + "src": "2199:12:10", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1996, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2199:7:10", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1999, + "mutability": "mutable", + "name": "to", + "nameLocation": "2229:2:10", + "nodeType": "VariableDeclaration", + "scope": 2006, + "src": "2221:10:10", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1998, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2221:7:10", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2001, + "mutability": "mutable", + "name": "amount", + "nameLocation": "2249:6:10", + "nodeType": "VariableDeclaration", + "scope": 2006, + "src": "2241:14:10", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2000, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2241:7:10", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "2189:72:10" + }, + "returnParameters": { + "id": 2005, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2004, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2006, + "src": "2280:4:10", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 2003, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2280:4:10", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "2279:6:10" + }, + "scope": 2025, + "src": "2168:118:10", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "anonymous": false, + "documentation": { + "id": 2007, + "nodeType": "StructuredDocumentation", + "src": "2292:158:10", + "text": " @dev Emitted when `value` tokens are moved from one account (`from`) to\n another (`to`).\n Note that `value` may be zero." + }, + "id": 2015, + "name": "Transfer", + "nameLocation": "2461:8:10", + "nodeType": "EventDefinition", + "parameters": { + "id": 2014, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2009, + "indexed": true, + "mutability": "mutable", + "name": "from", + "nameLocation": "2486:4:10", + "nodeType": "VariableDeclaration", + "scope": 2015, + "src": "2470:20:10", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2008, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2470:7:10", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2011, + "indexed": true, + "mutability": "mutable", + "name": "to", + "nameLocation": "2508:2:10", + "nodeType": "VariableDeclaration", + "scope": 2015, + "src": "2492:18:10", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2010, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2492:7:10", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2013, + "indexed": false, + "mutability": "mutable", + "name": "value", + "nameLocation": "2520:5:10", + "nodeType": "VariableDeclaration", + "scope": 2015, + "src": "2512:13:10", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2012, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2512:7:10", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "2469:57:10" + }, + "src": "2455:72:10" + }, + { + "anonymous": false, + "documentation": { + "id": 2016, + "nodeType": "StructuredDocumentation", + "src": "2533:148:10", + "text": " @dev Emitted when the allowance of a `spender` for an `owner` is set by\n a call to {approve}. `value` is the new allowance." + }, + "id": 2024, + "name": "Approval", + "nameLocation": "2692:8:10", + "nodeType": "EventDefinition", + "parameters": { + "id": 2023, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2018, + "indexed": true, + "mutability": "mutable", + "name": "owner", + "nameLocation": "2717:5:10", + "nodeType": "VariableDeclaration", + "scope": 2024, + "src": "2701:21:10", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2017, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2701:7:10", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2020, + "indexed": true, + "mutability": "mutable", + "name": "spender", + "nameLocation": "2740:7:10", + "nodeType": "VariableDeclaration", + "scope": 2024, + "src": "2724:23:10", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2019, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2724:7:10", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2022, + "indexed": false, + "mutability": "mutable", + "name": "value", + "nameLocation": "2757:5:10", + "nodeType": "VariableDeclaration", + "scope": 2024, + "src": "2749:13:10", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2021, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2749:7:10", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "2700:63:10" + }, + "src": "2686:78:10" + } + ], + "scope": 2026, + "src": "202:2564:10", + "usedErrors": [] + } + ], + "src": "106:2661:10" + }, + "id": 10 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol", + "exportedSymbols": { + "Context": [ + 2047 + ] + }, + "id": 2048, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 2027, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "86:23:11" + }, + { + "abstract": true, + "baseContracts": [], + "canonicalName": "Context", + "contractDependencies": [], + "contractKind": "contract", + "documentation": { + "id": 2028, + "nodeType": "StructuredDocumentation", + "src": "111:496:11", + "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, + "id": 2047, + "linearizedBaseContracts": [ + 2047 + ], + "name": "Context", + "nameLocation": "626:7:11", + "nodeType": "ContractDefinition", + "nodes": [ + { + "body": { + "id": 2036, + "nodeType": "Block", + "src": "702:34:11", + "statements": [ + { + "expression": { + "expression": { + "id": 2033, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "719:3:11", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 2034, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "719:10:11", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "functionReturnParameters": 2032, + "id": 2035, + "nodeType": "Return", + "src": "712:17:11" + } + ] + }, + "id": 2037, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_msgSender", + "nameLocation": "649:10:11", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2029, + "nodeType": "ParameterList", + "parameters": [], + "src": "659:2:11" + }, + "returnParameters": { + "id": 2032, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2031, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2037, + "src": "693:7:11", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2030, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "693:7:11", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "692:9:11" + }, + "scope": 2047, + "src": "640:96:11", + "stateMutability": "view", + "virtual": true, + "visibility": "internal" + }, + { + "body": { + "id": 2045, + "nodeType": "Block", + "src": "809:32:11", + "statements": [ + { + "expression": { + "expression": { + "id": 2042, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "826:3:11", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 2043, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "data", + "nodeType": "MemberAccess", + "src": "826:8:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes_calldata_ptr", + "typeString": "bytes calldata" + } + }, + "functionReturnParameters": 2041, + "id": 2044, + "nodeType": "Return", + "src": "819:15:11" + } + ] + }, + "id": 2046, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_msgData", + "nameLocation": "751:8:11", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2038, + "nodeType": "ParameterList", + "parameters": [], + "src": "759:2:11" + }, + "returnParameters": { + "id": 2041, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2040, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2046, + "src": "793:14:11", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_bytes_calldata_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 2039, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "793:5:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "792:16:11" + }, + "scope": 2047, + "src": "742:99:11", + "stateMutability": "view", + "virtual": true, + "visibility": "internal" + } + ], + "scope": 2048, + "src": "608:235:11", + "usedErrors": [] + } + ], + "src": "86:758:11" + }, + "id": 11 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol", + "exportedSymbols": { + "Strings": [ + 2250 + ] + }, + "id": 2251, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 2049, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "86:23:12" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "Strings", + "contractDependencies": [], + "contractKind": "library", + "documentation": { + "id": 2050, + "nodeType": "StructuredDocumentation", + "src": "111:34:12", + "text": " @dev String operations." + }, + "fullyImplemented": true, + "id": 2250, + "linearizedBaseContracts": [ + 2250 + ], + "name": "Strings", + "nameLocation": "154:7:12", + "nodeType": "ContractDefinition", + "nodes": [ + { + "constant": true, + "id": 2053, + "mutability": "constant", + "name": "_HEX_SYMBOLS", + "nameLocation": "193:12:12", + "nodeType": "VariableDeclaration", + "scope": 2250, + "src": "168:58:12", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + }, + "typeName": { + "id": 2051, + "name": "bytes16", + "nodeType": "ElementaryTypeName", + "src": "168:7:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + } + }, + "value": { + "hexValue": "30313233343536373839616263646566", + "id": 2052, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "208:18:12", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_cb29997ed99ead0db59ce4d12b7d3723198c827273e5796737c926d78019c39f", + "typeString": "literal_string \"0123456789abcdef\"" + }, + "value": "0123456789abcdef" + }, + "visibility": "private" + }, + { + "body": { + "id": 2131, + "nodeType": "Block", + "src": "399:632:12", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2063, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2061, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2056, + "src": "601:5:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 2062, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "610:1:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "601:10:12", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 2067, + "nodeType": "IfStatement", + "src": "597:51:12", + "trueBody": { + "id": 2066, + "nodeType": "Block", + "src": "613:35:12", + "statements": [ + { + "expression": { + "hexValue": "30", + "id": 2064, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "634:3:12", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "typeString": "literal_string \"0\"" + }, + "value": "0" + }, + "functionReturnParameters": 2060, + "id": 2065, + "nodeType": "Return", + "src": "627:10:12" + } + ] + } + }, + { + "assignments": [ + 2069 + ], + "declarations": [ + { + "constant": false, + "id": 2069, + "mutability": "mutable", + "name": "temp", + "nameLocation": "665:4:12", + "nodeType": "VariableDeclaration", + "scope": 2131, + "src": "657:12:12", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2068, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "657:7:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 2071, + "initialValue": { + "id": 2070, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2056, + "src": "672:5:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "657:20:12" + }, + { + "assignments": [ + 2073 + ], + "declarations": [ + { + "constant": false, + "id": 2073, + "mutability": "mutable", + "name": "digits", + "nameLocation": "695:6:12", + "nodeType": "VariableDeclaration", + "scope": 2131, + "src": "687:14:12", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2072, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "687:7:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 2074, + "nodeType": "VariableDeclarationStatement", + "src": "687:14:12" + }, + { + "body": { + "id": 2085, + "nodeType": "Block", + "src": "729:57:12", + "statements": [ + { + "expression": { + "id": 2079, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "743:8:12", + "subExpression": { + "id": 2078, + "name": "digits", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2073, + "src": "743:6:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2080, + "nodeType": "ExpressionStatement", + "src": "743:8:12" + }, + { + "expression": { + "id": 2083, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2081, + "name": "temp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2069, + "src": "765:4:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "/=", + "rightHandSide": { + "hexValue": "3130", + "id": 2082, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "773:2:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "value": "10" + }, + "src": "765:10:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2084, + "nodeType": "ExpressionStatement", + "src": "765:10:12" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2077, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2075, + "name": "temp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2069, + "src": "718:4:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "hexValue": "30", + "id": 2076, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "726:1:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "718:9:12", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 2086, + "nodeType": "WhileStatement", + "src": "711:75:12" + }, + { + "assignments": [ + 2088 + ], + "declarations": [ + { + "constant": false, + "id": 2088, + "mutability": "mutable", + "name": "buffer", + "nameLocation": "808:6:12", + "nodeType": "VariableDeclaration", + "scope": 2131, + "src": "795:19:12", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 2087, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "795:5:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 2093, + "initialValue": { + "arguments": [ + { + "id": 2091, + "name": "digits", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2073, + "src": "827:6:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 2090, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "817:9:12", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (uint256) pure returns (bytes memory)" + }, + "typeName": { + "id": 2089, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "821:5:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + } + }, + "id": 2092, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "817:17:12", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "795:39:12" + }, + { + "body": { + "id": 2124, + "nodeType": "Block", + "src": "863:131:12", + "statements": [ + { + "expression": { + "id": 2099, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2097, + "name": "digits", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2073, + "src": "877:6:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "-=", + "rightHandSide": { + "hexValue": "31", + "id": 2098, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "887:1:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "877:11:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2100, + "nodeType": "ExpressionStatement", + "src": "877:11:12" + }, + { + "expression": { + "id": 2118, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 2101, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2088, + "src": "902:6:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 2103, + "indexExpression": { + "id": 2102, + "name": "digits", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2073, + "src": "909:6:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "902:14:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2115, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "3438", + "id": 2108, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "932:2:12", + "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": 2113, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2111, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2056, + "src": "945:5:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "%", + "rightExpression": { + "hexValue": "3130", + "id": 2112, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "953:2:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "value": "10" + }, + "src": "945:10:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 2110, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "937:7:12", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint256_$", + "typeString": "type(uint256)" + }, + "typeName": { + "id": 2109, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "937:7:12", + "typeDescriptions": {} + } + }, + "id": 2114, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "937:19:12", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "932:24:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 2107, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "926:5:12", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint8_$", + "typeString": "type(uint8)" + }, + "typeName": { + "id": 2106, + "name": "uint8", + "nodeType": "ElementaryTypeName", + "src": "926:5:12", + "typeDescriptions": {} + } + }, + "id": 2116, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "926:31:12", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + ], + "id": 2105, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "919:6:12", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes1_$", + "typeString": "type(bytes1)" + }, + "typeName": { + "id": 2104, + "name": "bytes1", + "nodeType": "ElementaryTypeName", + "src": "919:6:12", + "typeDescriptions": {} + } + }, + "id": 2117, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "919:39:12", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "src": "902:56:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "id": 2119, + "nodeType": "ExpressionStatement", + "src": "902:56:12" + }, + { + "expression": { + "id": 2122, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2120, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2056, + "src": "972:5:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "/=", + "rightHandSide": { + "hexValue": "3130", + "id": 2121, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "981:2:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "value": "10" + }, + "src": "972:11:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2123, + "nodeType": "ExpressionStatement", + "src": "972:11:12" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2096, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2094, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2056, + "src": "851:5:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "hexValue": "30", + "id": 2095, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "860:1:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "851:10:12", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 2125, + "nodeType": "WhileStatement", + "src": "844:150:12" + }, + { + "expression": { + "arguments": [ + { + "id": 2128, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2088, + "src": "1017:6:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 2127, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1010:6:12", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_string_storage_ptr_$", + "typeString": "type(string storage pointer)" + }, + "typeName": { + "id": 2126, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1010:6:12", + "typeDescriptions": {} + } + }, + "id": 2129, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1010:14:12", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "functionReturnParameters": 2060, + "id": 2130, + "nodeType": "Return", + "src": "1003:21:12" + } + ] + }, + "documentation": { + "id": 2054, + "nodeType": "StructuredDocumentation", + "src": "233:90:12", + "text": " @dev Converts a `uint256` to its ASCII `string` decimal representation." + }, + "id": 2132, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "toString", + "nameLocation": "337:8:12", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2057, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2056, + "mutability": "mutable", + "name": "value", + "nameLocation": "354:5:12", + "nodeType": "VariableDeclaration", + "scope": 2132, + "src": "346:13:12", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2055, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "346:7:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "345:15:12" + }, + "returnParameters": { + "id": 2060, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2059, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2132, + "src": "384:13:12", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 2058, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "384:6:12", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "383:15:12" + }, + "scope": 2250, + "src": "328:703:12", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 2172, + "nodeType": "Block", + "src": "1210:255:12", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2142, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2140, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2135, + "src": "1224:5:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 2141, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1233:1:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "1224:10:12", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 2146, + "nodeType": "IfStatement", + "src": "1220:54:12", + "trueBody": { + "id": 2145, + "nodeType": "Block", + "src": "1236:38:12", + "statements": [ + { + "expression": { + "hexValue": "30783030", + "id": 2143, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1257:6:12", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_27489e20a0060b723a1748bdff5e44570ee9fae64141728105692eac6031e8a4", + "typeString": "literal_string \"0x00\"" + }, + "value": "0x00" + }, + "functionReturnParameters": 2139, + "id": 2144, + "nodeType": "Return", + "src": "1250:13:12" + } + ] + } + }, + { + "assignments": [ + 2148 + ], + "declarations": [ + { + "constant": false, + "id": 2148, + "mutability": "mutable", + "name": "temp", + "nameLocation": "1291:4:12", + "nodeType": "VariableDeclaration", + "scope": 2172, + "src": "1283:12:12", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2147, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1283:7:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 2150, + "initialValue": { + "id": 2149, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2135, + "src": "1298:5:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1283:20:12" + }, + { + "assignments": [ + 2152 + ], + "declarations": [ + { + "constant": false, + "id": 2152, + "mutability": "mutable", + "name": "length", + "nameLocation": "1321:6:12", + "nodeType": "VariableDeclaration", + "scope": 2172, + "src": "1313:14:12", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2151, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1313:7:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 2154, + "initialValue": { + "hexValue": "30", + "id": 2153, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1330:1:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "1313:18:12" + }, + { + "body": { + "id": 2165, + "nodeType": "Block", + "src": "1359:57:12", + "statements": [ + { + "expression": { + "id": 2159, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "1373:8:12", + "subExpression": { + "id": 2158, + "name": "length", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2152, + "src": "1373:6:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2160, + "nodeType": "ExpressionStatement", + "src": "1373:8:12" + }, + { + "expression": { + "id": 2163, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2161, + "name": "temp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2148, + "src": "1395:4:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": ">>=", + "rightHandSide": { + "hexValue": "38", + "id": 2162, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1404:1:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_8_by_1", + "typeString": "int_const 8" + }, + "value": "8" + }, + "src": "1395:10:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2164, + "nodeType": "ExpressionStatement", + "src": "1395:10:12" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2157, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2155, + "name": "temp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2148, + "src": "1348:4:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "hexValue": "30", + "id": 2156, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1356:1:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "1348:9:12", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 2166, + "nodeType": "WhileStatement", + "src": "1341:75:12" + }, + { + "expression": { + "arguments": [ + { + "id": 2168, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2135, + "src": "1444:5:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "id": 2169, + "name": "length", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2152, + "src": "1451:6:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 2167, + "name": "toHexString", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 2173, + 2249 + ], + "referencedDeclaration": 2249, + "src": "1432:11:12", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_string_memory_ptr_$", + "typeString": "function (uint256,uint256) pure returns (string memory)" + } + }, + "id": 2170, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1432:26:12", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "functionReturnParameters": 2139, + "id": 2171, + "nodeType": "Return", + "src": "1425:33:12" + } + ] + }, + "documentation": { + "id": 2133, + "nodeType": "StructuredDocumentation", + "src": "1037:94:12", + "text": " @dev Converts a `uint256` to its ASCII `string` hexadecimal representation." + }, + "id": 2173, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "toHexString", + "nameLocation": "1145:11:12", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2136, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2135, + "mutability": "mutable", + "name": "value", + "nameLocation": "1165:5:12", + "nodeType": "VariableDeclaration", + "scope": 2173, + "src": "1157:13:12", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2134, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1157:7:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1156:15:12" + }, + "returnParameters": { + "id": 2139, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2138, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2173, + "src": "1195:13:12", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 2137, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1195:6:12", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "1194:15:12" + }, + "scope": 2250, + "src": "1136:329:12", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 2248, + "nodeType": "Block", + "src": "1678:351:12", + "statements": [ + { + "assignments": [ + 2184 + ], + "declarations": [ + { + "constant": false, + "id": 2184, + "mutability": "mutable", + "name": "buffer", + "nameLocation": "1701:6:12", + "nodeType": "VariableDeclaration", + "scope": 2248, + "src": "1688:19:12", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 2183, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1688:5:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 2193, + "initialValue": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2191, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2189, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "32", + "id": 2187, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1720:1:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 2188, + "name": "length", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2178, + "src": "1724:6:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1720:10:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "32", + "id": 2190, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1733:1:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "src": "1720:14:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 2186, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "1710:9:12", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (uint256) pure returns (bytes memory)" + }, + "typeName": { + "id": 2185, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1714:5:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + } + }, + "id": 2192, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1710:25:12", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1688:47:12" + }, + { + "expression": { + "id": 2198, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 2194, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2184, + "src": "1745:6:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 2196, + "indexExpression": { + "hexValue": "30", + "id": 2195, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1752:1:12", + "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:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "30", + "id": 2197, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1757:3:12", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "typeString": "literal_string \"0\"" + }, + "value": "0" + }, + "src": "1745:15:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "id": 2199, + "nodeType": "ExpressionStatement", + "src": "1745:15:12" + }, + { + "expression": { + "id": 2204, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 2200, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2184, + "src": "1770:6:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 2202, + "indexExpression": { + "hexValue": "31", + "id": 2201, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1777:1:12", + "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:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "78", + "id": 2203, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1782:3:12", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7521d1cadbcfa91eec65aa16715b94ffc1c9654ba57ea2ef1a2127bca1127a83", + "typeString": "literal_string \"x\"" + }, + "value": "x" + }, + "src": "1770:15:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "id": 2205, + "nodeType": "ExpressionStatement", + "src": "1770:15:12" + }, + { + "body": { + "id": 2234, + "nodeType": "Block", + "src": "1840:87:12", + "statements": [ + { + "expression": { + "id": 2228, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 2220, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2184, + "src": "1854:6:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 2222, + "indexExpression": { + "id": 2221, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2207, + "src": "1861:1:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "1854:9:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "baseExpression": { + "id": 2223, + "name": "_HEX_SYMBOLS", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2053, + "src": "1866:12:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + } + }, + "id": 2227, + "indexExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2226, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2224, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2176, + "src": "1879:5:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "&", + "rightExpression": { + "hexValue": "307866", + "id": 2225, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1887:3:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_15_by_1", + "typeString": "int_const 15" + }, + "value": "0xf" + }, + "src": "1879:11:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1866:25:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "src": "1854:37:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "id": 2229, + "nodeType": "ExpressionStatement", + "src": "1854:37:12" + }, + { + "expression": { + "id": 2232, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2230, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2176, + "src": "1905:5:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": ">>=", + "rightHandSide": { + "hexValue": "34", + "id": 2231, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1915:1:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_4_by_1", + "typeString": "int_const 4" + }, + "value": "4" + }, + "src": "1905:11:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2233, + "nodeType": "ExpressionStatement", + "src": "1905:11:12" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2216, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2214, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2207, + "src": "1828:1:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "hexValue": "31", + "id": 2215, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1832:1:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "1828:5:12", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 2235, + "initializationExpression": { + "assignments": [ + 2207 + ], + "declarations": [ + { + "constant": false, + "id": 2207, + "mutability": "mutable", + "name": "i", + "nameLocation": "1808:1:12", + "nodeType": "VariableDeclaration", + "scope": 2235, + "src": "1800:9:12", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2206, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1800:7:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 2213, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2212, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2210, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "32", + "id": 2208, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1812:1:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 2209, + "name": "length", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2178, + "src": "1816:6:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1812:10:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "31", + "id": 2211, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1825:1:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "1812:14:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1800:26:12" + }, + "loopExpression": { + "expression": { + "id": 2218, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "--", + "prefix": true, + "src": "1835:3:12", + "subExpression": { + "id": 2217, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2207, + "src": "1837:1:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2219, + "nodeType": "ExpressionStatement", + "src": "1835:3:12" + }, + "nodeType": "ForStatement", + "src": "1795:132:12" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2239, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2237, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2176, + "src": "1944:5:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 2238, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1953:1:12", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "1944:10:12", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "537472696e67733a20686578206c656e67746820696e73756666696369656e74", + "id": 2240, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1956:34:12", + "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": 2236, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "1936:7:12", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 2241, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1936:55:12", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 2242, + "nodeType": "ExpressionStatement", + "src": "1936:55:12" + }, + { + "expression": { + "arguments": [ + { + "id": 2245, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2184, + "src": "2015:6:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 2244, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2008:6:12", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_string_storage_ptr_$", + "typeString": "type(string storage pointer)" + }, + "typeName": { + "id": 2243, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "2008:6:12", + "typeDescriptions": {} + } + }, + "id": 2246, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2008:14:12", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "functionReturnParameters": 2182, + "id": 2247, + "nodeType": "Return", + "src": "2001:21:12" + } + ] + }, + "documentation": { + "id": 2174, + "nodeType": "StructuredDocumentation", + "src": "1471:112:12", + "text": " @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length." + }, + "id": 2249, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "toHexString", + "nameLocation": "1597:11:12", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2179, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2176, + "mutability": "mutable", + "name": "value", + "nameLocation": "1617:5:12", + "nodeType": "VariableDeclaration", + "scope": 2249, + "src": "1609:13:12", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2175, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1609:7:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2178, + "mutability": "mutable", + "name": "length", + "nameLocation": "1632:6:12", + "nodeType": "VariableDeclaration", + "scope": 2249, + "src": "1624:14:12", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2177, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1624:7:12", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1608:31:12" + }, + "returnParameters": { + "id": 2182, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2181, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2249, + "src": "1663:13:12", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 2180, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1663:6:12", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "1662:15:12" + }, + "scope": 2250, + "src": "1588:441:12", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + } + ], + "scope": 2251, + "src": "146:1885:12", + "usedErrors": [] + } + ], + "src": "86:1946:12" + }, + "id": 12 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol", + "exportedSymbols": { + "ERC165": [ + 2274 + ], + "IERC165": [ + 2286 + ] + }, + "id": 2275, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 2252, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "99:23:13" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol", + "file": "./IERC165.sol", + "id": 2253, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 2275, + "sourceUnit": 2287, + "src": "124:23:13", + "symbolAliases": [], + "unitAlias": "" + }, + { + "abstract": true, + "baseContracts": [ + { + "baseName": { + "id": 2255, + "name": "IERC165", + "nodeType": "IdentifierPath", + "referencedDeclaration": 2286, + "src": "754:7:13" + }, + "id": 2256, + "nodeType": "InheritanceSpecifier", + "src": "754:7:13" + } + ], + "canonicalName": "ERC165", + "contractDependencies": [], + "contractKind": "contract", + "documentation": { + "id": 2254, + "nodeType": "StructuredDocumentation", + "src": "149:576:13", + "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, + "id": 2274, + "linearizedBaseContracts": [ + 2274, + 2286 + ], + "name": "ERC165", + "nameLocation": "744:6:13", + "nodeType": "ContractDefinition", + "nodes": [ + { + "baseFunctions": [ + 2285 + ], + "body": { + "id": 2272, + "nodeType": "Block", + "src": "920:64:13", + "statements": [ + { + "expression": { + "commonType": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + "id": 2270, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2265, + "name": "interfaceId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2259, + "src": "937:11:13", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "expression": { + "arguments": [ + { + "id": 2267, + "name": "IERC165", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2286, + "src": "957:7:13", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_IERC165_$2286_$", + "typeString": "type(contract IERC165)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_type$_t_contract$_IERC165_$2286_$", + "typeString": "type(contract IERC165)" + } + ], + "id": 2266, + "name": "type", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967269, + "src": "952:4:13", + "typeDescriptions": { + "typeIdentifier": "t_function_metatype_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 2268, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "952:13:13", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_magic_meta_type_t_contract$_IERC165_$2286", + "typeString": "type(contract IERC165)" + } + }, + "id": 2269, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "interfaceId", + "nodeType": "MemberAccess", + "src": "952:25:13", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "src": "937:40:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "functionReturnParameters": 2264, + "id": 2271, + "nodeType": "Return", + "src": "930:47:13" + } + ] + }, + "documentation": { + "id": 2257, + "nodeType": "StructuredDocumentation", + "src": "768:56:13", + "text": " @dev See {IERC165-supportsInterface}." + }, + "functionSelector": "01ffc9a7", + "id": 2273, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "supportsInterface", + "nameLocation": "838:17:13", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 2261, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "896:8:13" + }, + "parameters": { + "id": 2260, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2259, + "mutability": "mutable", + "name": "interfaceId", + "nameLocation": "863:11:13", + "nodeType": "VariableDeclaration", + "scope": 2273, + "src": "856:18:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + "typeName": { + "id": 2258, + "name": "bytes4", + "nodeType": "ElementaryTypeName", + "src": "856:6:13", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "visibility": "internal" + } + ], + "src": "855:20:13" + }, + "returnParameters": { + "id": 2264, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2263, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2273, + "src": "914:4:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 2262, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "914:4:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "913:6:13" + }, + "scope": 2274, + "src": "829:155:13", + "stateMutability": "view", + "virtual": true, + "visibility": "public" + } + ], + "scope": 2275, + "src": "726:260:13", + "usedErrors": [] + } + ], + "src": "99:888:13" + }, + "id": 13 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol", + "exportedSymbols": { + "IERC165": [ + 2286 + ] + }, + "id": 2287, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 2276, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "100:23:14" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "IERC165", + "contractDependencies": [], + "contractKind": "interface", + "documentation": { + "id": 2277, + "nodeType": "StructuredDocumentation", + "src": "125:279:14", + "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, + "id": 2286, + "linearizedBaseContracts": [ + 2286 + ], + "name": "IERC165", + "nameLocation": "415:7:14", + "nodeType": "ContractDefinition", + "nodes": [ + { + "documentation": { + "id": 2278, + "nodeType": "StructuredDocumentation", + "src": "429:340:14", + "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", + "id": 2285, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "supportsInterface", + "nameLocation": "783:17:14", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2281, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2280, + "mutability": "mutable", + "name": "interfaceId", + "nameLocation": "808:11:14", + "nodeType": "VariableDeclaration", + "scope": 2285, + "src": "801:18:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + "typeName": { + "id": 2279, + "name": "bytes4", + "nodeType": "ElementaryTypeName", + "src": "801:6:14", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "visibility": "internal" + } + ], + "src": "800:20:14" + }, + "returnParameters": { + "id": 2284, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2283, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2285, + "src": "844:4:14", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 2282, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "844:4:14", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "843:6:14" + }, + "scope": 2286, + "src": "774:76:14", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + } + ], + "scope": 2287, + "src": "405:447:14", + "usedErrors": [] + } + ], + "src": "100:753:14" + }, + "id": 14 + } + } +} \ No newline at end of file diff --git a/bin/contracts/PoolClient.abi b/bin/contracts/PoolClient.abi new file mode 100644 index 00000000..e7be90c7 --- /dev/null +++ b/bin/contracts/PoolClient.abi @@ -0,0 +1 @@ +[{"inputs":[{"internalType":"contract DataStorageInterface","name":"_dataStorageAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_removedManager","type":"address"}],"name":"ManagerRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_newManager","type":"address"}],"name":"NewManagerAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_lastRewardTime","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_amountInjected","type":"uint256"}],"name":"RewardsInjected","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_staker","type":"address"},{"indexed":false,"internalType":"uint256","name":"_ethAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_time","type":"uint256"}],"name":"UserStaked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_unstaker","type":"address"},{"indexed":false,"internalType":"uint256","name":"_ethAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_time","type":"uint256"}],"name":"UserUnstaked","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"POOL_MANAGER","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"addPoolManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"calculateRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"getContributionLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMinContribution","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPoolBaseAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPoolClientAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPoolMaxSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPoolState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewardsInterest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewardsInterval","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewardsToInject","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"removePoolManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardsInjector","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newContrLimit","type":"uint256"}],"name":"setContributionLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMinContr","type":"uint256"}],"name":"setMinContribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_live","type":"bool"}],"name":"setPoolLive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSize","type":"uint256"}],"name":"setPoolMaxSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardsInterest","type":"uint256"}],"name":"setRewardsInterest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_daysToRewards","type":"uint256"}],"name":"setRewardsInterval","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":"uint256","name":"_rwEthAmount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}] \ No newline at end of file diff --git a/bin/contracts/PoolClient.bin b/bin/contracts/PoolClient.bin new file mode 100644 index 00000000..6e60c4e2 --- /dev/null +++ b/bin/contracts/PoolClient.bin @@ -0,0 +1 @@ +60806040523480156200001157600080fd5b50604051620037dc380380620037dc8339810160408190526200003491620003c0565b60018055600280546001600160a01b0319166001600160a01b0383161790558062000061600033620000a9565b6200008d7f41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e384233620000a9565b62000097620000b9565b50620000a262000220565b50620003f2565b620000b5828262000320565b5050565b6002546040516e636f6e74726163745f65786973747360881b60208201526001600160601b03193060601b16602f8201526001600160a01b039091169063988c515b9060430160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b168252600482015260016024820152604401600060405180830381600087803b1580156200015357600080fd5b505af115801562000168573d6000803e3d6000fd5b50506002546040516f636f6e74726163745f6164647265737360801b602082015267506f6f6c4261736560c01b60308201526001600160a01b039091169250637221263a91506038015b60408051601f198184030181529082905280516020909101206001600160e01b031960e084901b1682526004820152306024820152604401600060405180830381600087803b1580156200020557600080fd5b505af11580156200021a573d6000803e3d6000fd5b50505050565b6002546040516e636f6e74726163745f65786973747360881b60208201526001600160601b03193060601b16602f8201526001600160a01b039091169063988c515b9060430160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b168252600482015260016024820152604401600060405180830381600087803b158015620002ba57600080fd5b505af1158015620002cf573d6000803e3d6000fd5b50506002546040516f636f6e74726163745f6164647265737360801b602082015269141bdbdb10db1a595b9d60b21b60308201526001600160a01b039091169250637221263a9150603a01620001b2565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620000b5576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556200037c3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600060208284031215620003d357600080fd5b81516001600160a01b0381168114620003eb57600080fd5b9392505050565b6133da80620004026000396000f3fe6080604052600436106101c25760003560e01c806362308e85116100f75780639ed03ab611610095578063d0e30db011610064578063d0e30db0146104c8578063d547741f146104d0578063ee7d4d2b146104f0578063fa1e19e5146104f857600080fd5b80639ed03ab61461045e578063a217fddf14610473578063a497551614610488578063bf4c0036146104a857600080fd5b806372d099a0116100d157806372d099a0146103f45780637521796f146104145780638ae681341461042957806391d148541461043e57600080fd5b806362308e85146103905780636c426607146103b25780636cff7473146103df57600080fd5b80632f2ff15d1161016457806345077e711161013e57806345077e711461031b578063473b0d461461033b578063497d02411461035b57806353710f491461037057600080fd5b80632f2ff15d146102c657806336568abe146102e65780633e50de301461030657600080fd5b8063217ac237116101a0578063217ac23714610241578063248a9ca31461025657806329ca15bc146102865780632e1a7d4d146102a657600080fd5b806301ffc9a7146101c7578063095df57f146101fc578063126469871461021f575b600080fd5b3480156101d357600080fd5b506101e76101e2366004613038565b61050d565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b50610211610544565b6040519081526020016101f3565b34801561022b57600080fd5b5061023f61023a366004613062565b610601565b005b34801561024d57600080fd5b506101e7610788565b34801561026257600080fd5b50610211610271366004613062565b60009081526020819052604090206001015490565b34801561029257600080fd5b5061023f6102a1366004613093565b61082d565b3480156102b257600080fd5b5061023f6102c1366004613062565b610889565b3480156102d257600080fd5b5061023f6102e13660046130b0565b611071565b3480156102f257600080fd5b5061023f6103013660046130b0565b61109c565b34801561031257600080fd5b5061023f61111a565b34801561032757600080fd5b5061023f610336366004613093565b61139b565b34801561034757600080fd5b5061023f610356366004613062565b6113f7565b34801561036757600080fd5b5061021161169f565b34801561037c57600080fd5b5061023f61038b366004613062565b6116c5565b34801561039c57600080fd5b5061021160008051602061338583398151915281565b3480156103be57600080fd5b506103c76117c7565b6040516001600160a01b0390911681526020016101f3565b3480156103eb57600080fd5b506102116118a2565b34801561040057600080fd5b5061023f61040f366004613062565b6118ca565b34801561042057600080fd5b506102116119d0565b34801561043557600080fd5b506103c7611a01565b34801561044a57600080fd5b506101e76104593660046130b0565b611a3b565b34801561046a57600080fd5b50610211611a64565b34801561047f57600080fd5b50610211600081565b34801561049457600080fd5b5061023f6104a33660046130ee565b611b3a565b3480156104b457600080fd5b5061023f6104c3366004613062565b611bb4565b61023f611cc1565b3480156104dc57600080fd5b5061023f6104eb3660046130b0565b6126ec565b61023f612712565b34801561050457600080fd5b50610211612b9c565b60006001600160e01b03198216637965db0b60e01b148061053e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b600080604051602001610568906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b1580156105c357600080fd5b505afa1580156105d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fb919061310b565b91505090565b60008051602061338583398151915261061a8133612bc6565b6002546040516001600160a01b03909116906355d946559061063e90602001613124565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161067291815260200190565b60206040518083038186803b15801561068a57600080fd5b505afa15801561069e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c2919061313a565b156106e85760405162461bcd60e51b81526004016106df90613157565b60405180910390fd5b6040516a706f6f6c4d617853697a6560a81b6020820152600090602b015b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018690529092506001600160a01b0316906328192c55906044015b600060405180830381600087803b15801561076b57600080fd5b505af115801561077f573d6000803e3d6000fd5b50505050505050565b60008060405160200161079a90613124565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b1580156107f557600080fd5b505afa158015610809573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fb919061313a565b60006108398133612bc6565b610851600080516020613385833981519152836126ec565b6040516001600160a01b038316907fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd3190600090a25050565b8060006108b660405180604001604052806009815260200168141bdbdb15985d5b1d60ba1b815250612c2a565b905060006108e56040518060400160405280600a815260200169393ba2aa242a37b5b2b760b11b815250612c2a565b905060006040516020016108f890613124565b60408051601f198184030181529082905280516020909101206370a0823160e01b8252336004830152915084906001600160a01b038416906370a082319060240160206040518083038186803b15801561095157600080fd5b505afa158015610965573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610989919061310b565b10156109f55760405162461bcd60e51b815260206004820152603560248201527f596f7520646f6e27742068617665207468617420616d6f756e74206f6620746f60448201527435b2b7399037b7103cb7bab91030b1b1b7bab73a1760591b60648201526084016106df565b6040516312946fe160e01b8152600481018590526000906001600160a01b038416906312946fe19060240160206040518083038186803b158015610a3857600080fd5b505afa158015610a4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a70919061310b565b846001600160a01b031663ccfe0c8e6040518163ffffffff1660e01b815260040160206040518083038186803b158015610aa957600080fd5b505afa158015610abd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae1919061310b565b610aeb91906131a4565b1015610b485760405162461bcd60e51b815260206004820152602660248201527f506f6f6c2073697a652063616e6e6f7420626520736d616c6c6572207468616e604482015265103d32b9379760d11b60648201526084016106df565b6002546040516355d9465560e01b8152600481018390526001600160a01b03909116906355d946559060240160206040518083038186803b158015610b8c57600080fd5b505afa158015610ba0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc4919061313a565b610c105760405162461bcd60e51b815260206004820152601c60248201527f54686520706f6f6c2069732063757272656e746c79207061757365640000000060448201526064016106df565b60026001541415610c635760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106df565b600260015560408051808201909152600a815269393ba2aa242a37b5b2b760b11b6020820152600090610c9590612c2a565b90506000610cc360405180604001604052806009815260200168141bdbdb15985d5b1d60ba1b815250612c2a565b604051636eb1769f60e11b815233600482015230602482015290915087906001600160a01b0384169063dd62ed3e9060440160206040518083038186803b158015610d0d57600080fd5b505afa158015610d21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d45919061310b565b1015610db95760405162461bcd60e51b815260206004820152603860248201527f52657665727465643a20436c69656e74206c61636b7320616c6c6f77616e636560448201527f20746f20706572666f726d207468697320616374696f6e2e000000000000000060648201526084016106df565b6040516323b872dd60e01b8152336004820152306024820152604481018890526001600160a01b038316906323b872dd90606401602060405180830381600087803b158015610e0757600080fd5b505af1158015610e1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3f919061313a565b506040516312946fe160e01b8152600481018890526000906001600160a01b038416906312946fe19060240160206040518083038186803b158015610e8357600080fd5b505afa158015610e97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ebb919061310b565b604051630852cd8d60e31b8152600481018a90529091506001600160a01b038416906342966c6890602401600060405180830381600087803b158015610f0057600080fd5b505af1158015610f14573d6000803e3d6000fd5b505050506000604051602001610f4d907f746f74616c4275726e65645f7265776172644574686572000000000000000000815260170190565b60408051808303601f1901815290829052805160209091012060025462ec44af60e51b835260048301829052602483018c90529092506001600160a01b031690631d8895e090604401600060405180830381600087803b158015610fb057600080fd5b505af1158015610fc4573d6000803e3d6000fd5b505060405163522f681560e01b8152336004820152602481018590526001600160a01b038616925063522f68159150604401600060405180830381600087803b15801561101057600080fd5b505af1158015611024573d6000803e3d6000fd5b5050604080518581524260208201523393507f91405db2584f6e8463494f0e18c40f87fe3146322d19c494e8a0e0a039c3886992500160405180910390a250506001805550505050505050565b60008281526020819052604090206001015461108d8133612bc6565b6110978383612d2e565b505050565b6001600160a01b038116331461110c5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016106df565b6111168282612db2565b5050565b6000805160206133858339815191526111338133612bc6565b600060405160200161114490613124565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561119f57600080fd5b505afa1580156111b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d7919061313a565b156112245760405162461bcd60e51b815260206004820152601b60248201527f54686520706f6f6c2069732063757272656e746c79206c6976652e000000000060448201526064016106df565b60006112546040518060400160405280600d81526020016c546f6b656e42616c616e63657360981b815250612c2a565b9050600060405160200161127d906e1c995dd85c991cd51bd25b9a9958dd608a1b8152600f0190565b604051602081830303815290604052805190602001209050600061129f6119d0565b90506000620f424082856001600160a01b03166370959ff86040518163ffffffff1660e01b815260040160206040518083038186803b1580156112e157600080fd5b505afa1580156112f5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611319919061310b565b61132391906131bb565b61132d91906131da565b6002546040516328192c5560e01b815260048101869052602481018390529192506001600160a01b0316906328192c5590604401600060405180830381600087803b15801561137b57600080fd5b505af115801561138f573d6000803e3d6000fd5b50505050505050505050565b60006113a78133612bc6565b6113bf60008051602061338583398151915283611071565b6040516001600160a01b038316907fd873e3f571dc25e020cefdeb7255b3874ead3aade1f94a5fb4a5da831fd670cd90600090a25050565b6000805160206133858339815191526114108133612bc6565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b602082015260009060310160408051601f198184030181529082905280516020918201206002549093506001600160a01b0316916355d946559161146c9101613124565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b81526004016114a091815260200190565b60206040518083038186803b1580156114b857600080fd5b505afa1580156114cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f0919061313a565b1561150d5760405162461bcd60e51b81526004016106df90613157565b60025460405163afc3602b60e01b81526004810183905284916001600160a01b03169063afc3602b9060240160206040518083038186803b15801561155157600080fd5b505afa158015611565573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611589919061310b565b116115fc5760405162461bcd60e51b815260206004820152603e60248201527f546865206d696e2e20636f6e74722e206c696d6974206e6565647320746f206260448201527f6520736d616c6c6572207468616e20746865206d61782e206c696d69742e000060648201526084016106df565b6040516e36b4b721b7b73a3934b13aba34b7b760891b6020820152600090602f0160408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018790529092506001600160a01b0316906328192c5590604401600060405180830381600087803b15801561168157600080fd5b505af1158015611695573d6000803e3d6000fd5b5050505050505050565b600080604051602001610568906c64617973546f5265776172647360981b8152600d0190565b6000805160206133858339815191526116de8133612bc6565b6002546040516001600160a01b03909116906355d946559061170290602001613124565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161173691815260200190565b60206040518083038186803b15801561174e57600080fd5b505afa158015611762573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611786919061313a565b156117a35760405162461bcd60e51b81526004016106df90613157565b6040516c64617973546f5265776172647360981b6020820152600090602d01610706565b600080604051602001611803906f636f6e74726163745f6164647265737360801b815269141bdbdb10db1a595b9d60b21b6010820152601a0190565b60408051808303601f190181529082905280516020909101206002546315485dd960e11b8352600483018290529092506000916001600160a01b0390911690632a90bbb29060240160206040518083038186803b15801561186357600080fd5b505afa158015611877573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061189b91906131fc565b9392505050565b600080604051602001610568906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b6000805160206133858339815191526118e38133612bc6565b6002546040516001600160a01b03909116906355d946559061190790602001613124565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161193b91815260200190565b60206040518083038186803b15801561195357600080fd5b505afa158015611967573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061198b919061313a565b156119a85760405162461bcd60e51b81526004016106df90613157565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b6020820152600090603101610706565b60008060405160200161056890771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b600080604051602001611803906f636f6e74726163745f6164647265737360801b815267506f6f6c4261736560c01b601082015260180190565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6000600080516020613385833981519152611a7f8133612bc6565b6040516e1c995dd85c991cd51bd25b9a9958dd608a1b6020820152600090602f0160408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b158015611afb57600080fd5b505afa158015611b0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b33919061310b565b9250505090565b600080516020613385833981519152611b538133612bc6565b6000604051602001611b6490613124565b60408051808303601f1901815290829052805160209091012060025463988c515b60e01b83526004830182905285151560248401529092506001600160a01b03169063988c515b90604401610751565b600080516020613385833981519152611bcd8133612bc6565b6002546040516001600160a01b03909116906355d9465590611bf190602001613124565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401611c2591815260200190565b60206040518083038186803b158015611c3d57600080fd5b505afa158015611c51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c75919061313a565b15611c925760405162461bcd60e51b81526004016106df90613157565b604051771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b6020820152600090603801610706565b6000611ced60405180604001604052806009815260200168141bdbdb15985d5b1d60ba1b815250612c2a565b90506000604051602001611d0090613124565b6040516020818303038152906040528051906020012090506000604051602001611d3d906c64617973546f5265776172647360981b8152600d0190565b6040516020818303038152906040528051906020012090506000604051602001611d8590771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b6040516020818303038152906040528051906020012090506000604051602001611dc6907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b6040516020818303038152906040528051906020012090506000604051602001611e05906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b6040516020818303038152906040528051906020012090506000604051602001611e40906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051601f198184030181529082905280516020918201207332ba3432b92fb9ba30b5b2b22fb13cafbab9b2b960611b918301919091526bffffffffffffffffffffffff193360601b166034830152915060009060480160408051808303601f1901815290829052805160209091012060025463afc3602b60e01b83526004830182905290925060009134916001600160a01b03169063afc3602b9060240160206040518083038186803b158015611ef857600080fd5b505afa158015611f0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f30919061310b565b611f3a9190613219565b60025460405163afc3602b60e01b8152600481018a90529192506001600160a01b03169063afc3602b9060240160206040518083038186803b158015611f7f57600080fd5b505afa158015611f93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fb7919061310b565b6120145760405162461bcd60e51b815260206004820152602860248201527f546865207465616d206e6565647320746f207365742061207265776172642069604482015267373a32b93b30b61760c11b60648201526084016106df565b60025460405163afc3602b60e01b8152600481018890526001600160a01b039091169063afc3602b9060240160206040518083038186803b15801561205857600080fd5b505afa15801561206c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612090919061310b565b6120ea5760405162461bcd60e51b815260206004820152602560248201527f546865207465616d206e6565647320746f20736574206120726577617264207260448201526430ba34b79760d91b60648201526084016106df565b60025460405163afc3602b60e01b8152600481018790526001600160a01b039091169063afc3602b9060240160206040518083038186803b15801561212e57600080fd5b505afa158015612142573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612166919061310b565b6121c65760405162461bcd60e51b815260206004820152602b60248201527f546865207465616d206e6565647320746f20736574206120636f6e747269627560448201526a3a34b7b7103634b6b4ba1760a91b60648201526084016106df565b60025460405163afc3602b60e01b8152600481018790526001600160a01b039091169063afc3602b9060240160206040518083038186803b15801561220a57600080fd5b505afa15801561221e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612242919061310b565b8111156122a35760405162461bcd60e51b815260206004820152602960248201527f4d61782e2063757272656e7420636f6e747269627574696f6e206c696d69742060448201526832bc31b2b2b232b21760b91b60648201526084016106df565b60025460405163afc3602b60e01b81526004810186905234916001600160a01b03169063afc3602b9060240160206040518083038186803b1580156122e757600080fd5b505afa1580156122fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061231f919061310b565b11156123ac5760405162461bcd60e51b815260206004820152605060248201527f56616c756520746f206465706f736974206e6565647320746f2062652068696760448201527f686572207468616e207468652063757272656e74206d696e696d756d20636f6e60648201526f3a3934b13aba34b7b7103634b6b4ba1760811b608482015260a4016106df565b60025460405163afc3602b60e01b8152600481018590526001600160a01b039091169063afc3602b9060240160206040518083038186803b1580156123f057600080fd5b505afa158015612404573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612428919061310b565b348a6001600160a01b031663ccfe0c8e6040518163ffffffff1660e01b815260040160206040518083038186803b15801561246257600080fd5b505afa158015612476573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061249a919061310b565b6124a49190613219565b111561250f5760405162461bcd60e51b815260206004820152603460248201527f4d61782e20506f6f6c2073697a65206f766572666c6f772077697468207468616044820152733a1030b6b7bab73a1037b3103232b837b9b4ba1760611b60648201526084016106df565b600260015414156125625760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106df565b600260015560408051808201909152600a815269393ba2aa242a37b5b2b760b11b602082015260009061259490612c2a565b6040516340c10f1960e01b81523360048201523460248201529091506001600160a01b038216906340c10f1990604401600060405180830381600087803b1580156125de57600080fd5b505af11580156125f2573d6000803e3d6000fd5b50505050600060405160200161261f90703a37ba30b629bab838363cafa2ba3432b960791b815260110190565b60408051808303601f1901815290829052805160209091012060025462ec44af60e51b8352600483018290523460248401529092506001600160a01b031690631d8895e090604401600060405180830381600087803b15801561268157600080fd5b505af1158015612695573d6000803e3d6000fd5b5050604080513481524260208201523393507f91405db2584f6e8463494f0e18c40f87fe3146322d19c494e8a0e0a039c3886992500160405180910390a26126db612e17565b505060018055505050505050505050565b6000828152602081905260409020600101546127088133612bc6565b6110978383612db2565b60008051602061338583398151915261272b8133612bc6565b600060405160200161273c90613124565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561279757600080fd5b505afa1580156127ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127cf919061313a565b1561281c5760405162461bcd60e51b815260206004820152601b60248201527f54686520706f6f6c2069732063757272656e746c79206c6976652e000000000060448201526064016106df565b612824611a64565b34146128725760405162461bcd60e51b815260206004820181905260248201527f496e76616c696420657468657220696e74657265737420696e6a65637465642e60448201526064016106df565b600061289e60405180604001604052806009815260200168141bdbdb15985d5b1d60ba1b815250612c2a565b905060006040516020016128c6906d6c61737452657761726454696d6560901b8152600e0190565b604051602081830303815290604052805190602001209050600060405160200161290a90731d1bdd185b14995dd85c991cd25b9a9958dd195960621b815260140190565b604051602081830303815290604052805190602001209050600060405160200161294b90703a37ba30b629bab838363cafa2ba3432b960791b815260110190565b60408051808303601f190181529082905280516020909101206002546328192c5560e01b8352600483018690524260248401529092506001600160a01b0316906328192c5590604401600060405180830381600087803b1580156129ae57600080fd5b505af11580156129c2573d6000803e3d6000fd5b505060025460405162ec44af60e51b8152600481018690523460248201526001600160a01b039091169250631d8895e09150604401600060405180830381600087803b158015612a1157600080fd5b505af1158015612a25573d6000803e3d6000fd5b505060025460405162ec44af60e51b8152600481018590523460248201526001600160a01b039091169250631d8895e09150604401600060405180830381600087803b158015612a7457600080fd5b505af1158015612a88573d6000803e3d6000fd5b50505050836001600160a01b031663f9fc0d07346040518263ffffffff1660e01b81526004016000604051808303818588803b158015612ac757600080fd5b505af1158015612adb573d6000803e3d6000fd5b505060025460405163afc3602b60e01b8152600481018890527f70bf248e27883b1a6af8a9d590cc2b58fa0d74b60c83a9bb5e12de0f9b3ddfc694506001600160a01b03909116925063afc3602b915060240160206040518083038186803b158015612b4657600080fd5b505afa158015612b5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b7e919061310b565b604080519182523460208301520160405180910390a1505050505050565b600080604051602001610568907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b612bd08282611a3b565b61111657612be8816001600160a01b03166014612e9c565b612bf3836020612e9c565b604051602001612c04929190613261565b60408051601f198184030181529082905262461bcd60e51b82526106df916004016132d6565b60008082604051602001612c3e9190613309565b60408051808303601f190181529082905280516020909101206002546315485dd960e11b8352600483018290529092506000916001600160a01b0390911690632a90bbb29060240160206040518083038186803b158015612c9e57600080fd5b505afa158015612cb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cd691906131fc565b90506001600160a01b03811661189b5760405162461bcd60e51b815260206004820152601b60248201527f436f6e74726163742061646472657373206e6f7420666f756e642e000000000060448201526064016106df565b612d388282611a3b565b611116576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055612d6e3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b612dbc8282611a3b565b15611116576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000612e4360405180604001604052806009815260200168141bdbdb15985d5b1d60ba1b815250612c2a565b9050806001600160a01b031663a7cc190a346040518263ffffffff1660e01b81526004016000604051808303818588803b158015612e8057600080fd5b505af1158015612e94573d6000803e3d6000fd5b505050505050565b60606000612eab8360026131bb565b612eb6906002613219565b67ffffffffffffffff811115612ece57612ece613341565b6040519080825280601f01601f191660200182016040528015612ef8576020820181803683370190505b509050600360fc1b81600081518110612f1357612f13613357565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612f4257612f42613357565b60200101906001600160f81b031916908160001a9053506000612f668460026131bb565b612f71906001613219565b90505b6001811115612fe9576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612fa557612fa5613357565b1a60f81b828281518110612fbb57612fbb613357565b60200101906001600160f81b031916908160001a90535060049490941c93612fe28161336d565b9050612f74565b50831561189b5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016106df565b60006020828403121561304a57600080fd5b81356001600160e01b03198116811461189b57600080fd5b60006020828403121561307457600080fd5b5035919050565b6001600160a01b038116811461309057600080fd5b50565b6000602082840312156130a557600080fd5b813561189b8161307b565b600080604083850312156130c357600080fd5b8235915060208301356130d58161307b565b809150509250929050565b801515811461309057600080fd5b60006020828403121561310057600080fd5b813561189b816130e0565b60006020828403121561311d57600080fd5b5051919050565b696973506f6f6c4c69766560b01b8152600a0190565b60006020828403121561314c57600080fd5b815161189b816130e0565b6020808252601d908201527f54686520706f6f6c2069732063757272656e746c7920636c6f7365642e000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000828210156131b6576131b661318e565b500390565b60008160001904831182151516156131d5576131d561318e565b500290565b6000826131f757634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561320e57600080fd5b815161189b8161307b565b6000821982111561322c5761322c61318e565b500190565b60005b8381101561324c578181015183820152602001613234565b8381111561325b576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613299816017850160208801613231565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516132ca816028840160208801613231565b01602801949350505050565b60208152600082518060208401526132f5816040850160208701613231565b601f01601f19169190910160400192915050565b6f636f6e74726163745f6164647265737360801b815260008251613334816010850160208701613231565b9190910160100192915050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008161337c5761337c61318e565b50600019019056fe41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842a26469706673582212208f9088fbb5005bb41246c55603dc402be7376da1aabfedb5a147dfa61b40fcc464736f6c63430008090033 \ No newline at end of file diff --git a/bin/contracts/PoolClient.json b/bin/contracts/PoolClient.json new file mode 100644 index 00000000..586e8e29 --- /dev/null +++ b/bin/contracts/PoolClient.json @@ -0,0 +1,10368 @@ +{ + "contractName": "PoolClient", + "abi": [ + { + "inputs": [ + { + "internalType": "contract DataStorageInterface", + "name": "_dataStorageAddress", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_removedManager", + "type": "address" + } + ], + "name": "ManagerRemoved", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_newManager", + "type": "address" + } + ], + "name": "NewManagerAdded", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "_lastRewardTime", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_amountInjected", + "type": "uint256" + } + ], + "name": "RewardsInjected", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_staker", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_ethAmount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_time", + "type": "uint256" + } + ], + "name": "UserStaked", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_unstaker", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_ethAmount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_time", + "type": "uint256" + } + ], + "name": "UserUnstaked", + "type": "event" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "POOL_MANAGER", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "addPoolManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "calculateRewards", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "deposit", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "getContributionLimit", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getMinContribution", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolBaseAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolClientAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolMaxSize", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolState", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardsInterest", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardsInterval", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardsToInject", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "removePoolManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "rewardsInjector", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newContrLimit", + "type": "uint256" + } + ], + "name": "setContributionLimit", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newMinContr", + "type": "uint256" + } + ], + "name": "setMinContribution", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bool", + "name": "_live", + "type": "bool" + } + ], + "name": "setPoolLive", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_maxSize", + "type": "uint256" + } + ], + "name": "setPoolMaxSize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_rewardsInterest", + "type": "uint256" + } + ], + "name": "setRewardsInterest", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_daysToRewards", + "type": "uint256" + } + ], + "name": "setRewardsInterval", + "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": "uint256", + "name": "_rwEthAmount", + "type": "uint256" + } + ], + "name": "withdraw", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract DataStorageInterface\",\"name\":\"_dataStorageAddress\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_removedManager\",\"type\":\"address\"}],\"name\":\"ManagerRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_newManager\",\"type\":\"address\"}],\"name\":\"NewManagerAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_lastRewardTime\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_amountInjected\",\"type\":\"uint256\"}],\"name\":\"RewardsInjected\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_staker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_ethAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_time\",\"type\":\"uint256\"}],\"name\":\"UserStaked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_unstaker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_ethAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_time\",\"type\":\"uint256\"}],\"name\":\"UserUnstaked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"POOL_MANAGER\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"addPoolManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"calculateRewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getContributionLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMinContribution\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolBaseAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolClientAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolMaxSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolState\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsInterest\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsInterval\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsToInject\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"removePoolManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardsInjector\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newContrLimit\",\"type\":\"uint256\"}],\"name\":\"setContributionLimit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newMinContr\",\"type\":\"uint256\"}],\"name\":\"setMinContribution\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_live\",\"type\":\"bool\"}],\"name\":\"setPoolLive\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxSize\",\"type\":\"uint256\"}],\"name\":\"setPoolMaxSize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_rewardsInterest\",\"type\":\"uint256\"}],\"name\":\"setRewardsInterest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_daysToRewards\",\"type\":\"uint256\"}],\"name\":\"setRewardsInterval\",\"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\":\"uint256\",\"name\":\"_rwEthAmount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"calculateRewards()\":{\"details\":\"Helps the team calculate the rewards. Also, assigns the amount to inject into a variable.\"},\"deposit()\":{\"details\":\"Main Staking function. Allows users to deposit ether in exchange of rwEther.\"},\"getRewardsToInject()\":{\"details\":\"Gets the lastest amount of ether to inject.\"},\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role.\"},\"rewardsInjector()\":{\"details\":\"This function logic prevents the team to inject a wrong amount of ether as rewards.\"},\"setContributionLimit(uint256)\":{\"details\":\"Set the max. contribution allowed for each user.\",\"params\":{\"_newContrLimit\":\"is a WEI value.\"}},\"setMinContribution(uint256)\":{\"details\":\"Set the min. contribution allowed for each user.\",\"params\":{\"_newMinContr\":\"is a WEI value.\"}},\"setPoolLive(bool)\":{\"details\":\"Toggles the Pool Investing Switch. \"},\"setPoolMaxSize(uint256)\":{\"details\":\"Sets the Pool Maximium size expressed on ether.\",\"params\":{\"_maxSize\":\"is a WEI value (or BigInt / BigNumber).\"}},\"setRewardsInterest(uint256)\":{\"details\":\"Set the interest per effective period.\",\"params\":{\"_rewardsInterest\":\"within the storage has 6 decimals.\"}},\"setRewardsInterval(uint256)\":{\"details\":\"Set the interval in days of the rewards period.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"},\"withdraw(uint256)\":{\"details\":\"Main Unstaking function. Allows users to deposit rwEther in exchange of Ether.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"deposit()\":{\"notice\":\"The exchange rate (ETH / rwETH) is calculated within the mint function. The minting function updates only the current rwEth supply.The mint function comes with a built-in ether/rwEther converter.Once the user deposits, the ether go to the vault contract.\"},\"rewardsInjector()\":{\"notice\":\"With this function, both the team and the users will have the insuarance that the right amount will be injected.the require reverts the process if a wrong amount is willed to be injected.this function does not updates the poolEther size, it just updates the total amount of ether on the contract network.\"},\"setPoolLive(bool)\":{\"notice\":\"While live, anyone can invest but any state variable can be modified nor deleted.\"},\"setRewardsInterest(uint256)\":{\"notice\":\"E.G. If 0.001134 rate is desired, 0.001134 * (10**6) = 1134.\"},\"withdraw(uint256)\":{\"notice\":\"The withdrawEther function updates the total_ether_supply and its staked amount.Once it is called, the rwEth amount is burned and the vault sends to this contract the ether counterpart.User needs to provide allowance to the contract to make this call (performed on the frontend of the Dapp).\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolClient.sol\":\"PoolClient\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol\":{\"keccak256\":\"0x3975407e20a5345cd87826b306c7396e1dbb89c869df5e22338573a6ae16bc10\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1edcadb90f5e1fecf0d1f1f3d3aba9ae54f0ff97819b3ef07294b1d0aca1220d\",\"dweb:/ipfs/QmRA9ZSxbGGb1cKEzjTbxfBaWtnZmpb152Z2JhobRxuhnw\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolClient.sol\":{\"keccak256\":\"0xd6fa944b4ab3e2ffb3b7a15b4f65363aaf0ea237351bf11da7d4e89716c9d8ef\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3942d3a9cc6810f0efd88212d29020b76d57f81f4e8ef5c72df350d15c78e4fb\",\"dweb:/ipfs/QmQVB3LKyXXRPAPVHjTRoYptXbTtZVsAAc3Bqn2zowtdV9\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol\":{\"keccak256\":\"0xf4a98c1519c0382a5c40cb047b7c1a33713d46062b68907c38eba7e24ce87773\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5921b6865f1504704ffbb252f719db25619236bed2ae94b18df01e1333bb4161\",\"dweb:/ipfs/QmR5TQmepq7zVfLD4WPUnVgHRRwYXDghwdrDqzgCWBmVvP\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/PoolClientInterface.sol\":{\"keccak256\":\"0xa59d4bf448ba386acaab82a61db4f328a435087d6b8762c9656304dd389e58f3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9402221a97332e337c9d69d6facb0fc0fc8714ab9f17f2f524dcee672935ac6a\",\"dweb:/ipfs/QmesinWVXy7HNGfr6gNLCw1KwCW69L6tVcdN3MfUXv9FBo\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/PoolVaultInterface.sol\":{\"keccak256\":\"0x6a5e54c32cb29336e1e2373dda5c25a5ce08f61a803977d3f14e3f24542b166c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b4e370bc26e51bf6356b695945e638cfcd2da8534e030a7e641214c43c5d4ef5\",\"dweb:/ipfs/QmTJgHGoz3My1XWpRS6bTfFQEqBE2Tmr3dKQFTWwunSVNX\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/TokenBalancesInterface.sol\":{\"keccak256\":\"0xfc3098d143892732f2a08d57c83be9c60e5202afafcbae4e27ef09e7eaa0869c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://364c1e3bd1dedc5ee5b38420443d540cfe4b3df727df8bc38341fcab081236c1\",\"dweb:/ipfs/Qmb6TYhhLiZ7Xea7nrG5PJEVTTqJSoHEYwhXJEYsQT3NCU\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/rwETHTokenInterface.sol\":{\"keccak256\":\"0x6717fc36882425132d1466f1c6e9ddd6b527bcb228c2bebba10f352f1db9d171\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3b49d4927ebdfeb63c9ba8c2a749cb4293b1c36ef4e5e844de0e6b971d7f9a9b\",\"dweb:/ipfs/QmdAFy37toxrpLcGaR3smweP5vHYwjpLapAHJMQYC6vFL8\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0x4a1a0ba12bf1a33f10d9fe226278cf59675c0b929d29e4da99658a079b27fb84\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bda1319db846d6d6f92d8a57a9bdee8bde1dc39aa7546165791692c24dd6f30a\",\"dweb:/ipfs/Qma5oZ7DmbdAjd8mpiW7mx896PDtwsQtCQ2hj9Upf7b7JK\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol\":{\"keccak256\":\"0x0e9621f60b2faabe65549f7ed0f24e8853a45c1b7990d47e8160e523683f3935\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://287a2f8d5814dd0f05f22b740f18ca8321acc21c9bd03a6cb2203ea626e2f3f2\",\"dweb:/ipfs/QmZRQv9iuwU817VuqkA2WweiaibKii69x9QxYBBEfbNEud\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xbbc8ac883ac3c0078ce5ad3e288fbb3ffcc8a30c3a98c0fda0114d64fc44fca2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87a7a5d2f6f63f84598af02b8c50ca2df2631cb8ba2453e8d95fcb17e4be9824\",\"dweb:/ipfs/QmR76hqtAcRqoFj33tmNjcWTLrgNsAaakYwnKZ8zoJtKei\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}", + "bytecode": "60806040523480156200001157600080fd5b50604051620037dc380380620037dc8339810160408190526200003491620003c0565b60018055600280546001600160a01b0319166001600160a01b0383161790558062000061600033620000a9565b6200008d7f41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e384233620000a9565b62000097620000b9565b50620000a262000220565b50620003f2565b620000b5828262000320565b5050565b6002546040516e636f6e74726163745f65786973747360881b60208201526001600160601b03193060601b16602f8201526001600160a01b039091169063988c515b9060430160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b168252600482015260016024820152604401600060405180830381600087803b1580156200015357600080fd5b505af115801562000168573d6000803e3d6000fd5b50506002546040516f636f6e74726163745f6164647265737360801b602082015267506f6f6c4261736560c01b60308201526001600160a01b039091169250637221263a91506038015b60408051601f198184030181529082905280516020909101206001600160e01b031960e084901b1682526004820152306024820152604401600060405180830381600087803b1580156200020557600080fd5b505af11580156200021a573d6000803e3d6000fd5b50505050565b6002546040516e636f6e74726163745f65786973747360881b60208201526001600160601b03193060601b16602f8201526001600160a01b039091169063988c515b9060430160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b168252600482015260016024820152604401600060405180830381600087803b158015620002ba57600080fd5b505af1158015620002cf573d6000803e3d6000fd5b50506002546040516f636f6e74726163745f6164647265737360801b602082015269141bdbdb10db1a595b9d60b21b60308201526001600160a01b039091169250637221263a9150603a01620001b2565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620000b5576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556200037c3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600060208284031215620003d357600080fd5b81516001600160a01b0381168114620003eb57600080fd5b9392505050565b6133da80620004026000396000f3fe6080604052600436106101c25760003560e01c806362308e85116100f75780639ed03ab611610095578063d0e30db011610064578063d0e30db0146104c8578063d547741f146104d0578063ee7d4d2b146104f0578063fa1e19e5146104f857600080fd5b80639ed03ab61461045e578063a217fddf14610473578063a497551614610488578063bf4c0036146104a857600080fd5b806372d099a0116100d157806372d099a0146103f45780637521796f146104145780638ae681341461042957806391d148541461043e57600080fd5b806362308e85146103905780636c426607146103b25780636cff7473146103df57600080fd5b80632f2ff15d1161016457806345077e711161013e57806345077e711461031b578063473b0d461461033b578063497d02411461035b57806353710f491461037057600080fd5b80632f2ff15d146102c657806336568abe146102e65780633e50de301461030657600080fd5b8063217ac237116101a0578063217ac23714610241578063248a9ca31461025657806329ca15bc146102865780632e1a7d4d146102a657600080fd5b806301ffc9a7146101c7578063095df57f146101fc578063126469871461021f575b600080fd5b3480156101d357600080fd5b506101e76101e2366004613038565b61050d565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b50610211610544565b6040519081526020016101f3565b34801561022b57600080fd5b5061023f61023a366004613062565b610601565b005b34801561024d57600080fd5b506101e7610788565b34801561026257600080fd5b50610211610271366004613062565b60009081526020819052604090206001015490565b34801561029257600080fd5b5061023f6102a1366004613093565b61082d565b3480156102b257600080fd5b5061023f6102c1366004613062565b610889565b3480156102d257600080fd5b5061023f6102e13660046130b0565b611071565b3480156102f257600080fd5b5061023f6103013660046130b0565b61109c565b34801561031257600080fd5b5061023f61111a565b34801561032757600080fd5b5061023f610336366004613093565b61139b565b34801561034757600080fd5b5061023f610356366004613062565b6113f7565b34801561036757600080fd5b5061021161169f565b34801561037c57600080fd5b5061023f61038b366004613062565b6116c5565b34801561039c57600080fd5b5061021160008051602061338583398151915281565b3480156103be57600080fd5b506103c76117c7565b6040516001600160a01b0390911681526020016101f3565b3480156103eb57600080fd5b506102116118a2565b34801561040057600080fd5b5061023f61040f366004613062565b6118ca565b34801561042057600080fd5b506102116119d0565b34801561043557600080fd5b506103c7611a01565b34801561044a57600080fd5b506101e76104593660046130b0565b611a3b565b34801561046a57600080fd5b50610211611a64565b34801561047f57600080fd5b50610211600081565b34801561049457600080fd5b5061023f6104a33660046130ee565b611b3a565b3480156104b457600080fd5b5061023f6104c3366004613062565b611bb4565b61023f611cc1565b3480156104dc57600080fd5b5061023f6104eb3660046130b0565b6126ec565b61023f612712565b34801561050457600080fd5b50610211612b9c565b60006001600160e01b03198216637965db0b60e01b148061053e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b600080604051602001610568906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b1580156105c357600080fd5b505afa1580156105d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fb919061310b565b91505090565b60008051602061338583398151915261061a8133612bc6565b6002546040516001600160a01b03909116906355d946559061063e90602001613124565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161067291815260200190565b60206040518083038186803b15801561068a57600080fd5b505afa15801561069e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c2919061313a565b156106e85760405162461bcd60e51b81526004016106df90613157565b60405180910390fd5b6040516a706f6f6c4d617853697a6560a81b6020820152600090602b015b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018690529092506001600160a01b0316906328192c55906044015b600060405180830381600087803b15801561076b57600080fd5b505af115801561077f573d6000803e3d6000fd5b50505050505050565b60008060405160200161079a90613124565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b1580156107f557600080fd5b505afa158015610809573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fb919061313a565b60006108398133612bc6565b610851600080516020613385833981519152836126ec565b6040516001600160a01b038316907fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd3190600090a25050565b8060006108b660405180604001604052806009815260200168141bdbdb15985d5b1d60ba1b815250612c2a565b905060006108e56040518060400160405280600a815260200169393ba2aa242a37b5b2b760b11b815250612c2a565b905060006040516020016108f890613124565b60408051601f198184030181529082905280516020909101206370a0823160e01b8252336004830152915084906001600160a01b038416906370a082319060240160206040518083038186803b15801561095157600080fd5b505afa158015610965573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610989919061310b565b10156109f55760405162461bcd60e51b815260206004820152603560248201527f596f7520646f6e27742068617665207468617420616d6f756e74206f6620746f60448201527435b2b7399037b7103cb7bab91030b1b1b7bab73a1760591b60648201526084016106df565b6040516312946fe160e01b8152600481018590526000906001600160a01b038416906312946fe19060240160206040518083038186803b158015610a3857600080fd5b505afa158015610a4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a70919061310b565b846001600160a01b031663ccfe0c8e6040518163ffffffff1660e01b815260040160206040518083038186803b158015610aa957600080fd5b505afa158015610abd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae1919061310b565b610aeb91906131a4565b1015610b485760405162461bcd60e51b815260206004820152602660248201527f506f6f6c2073697a652063616e6e6f7420626520736d616c6c6572207468616e604482015265103d32b9379760d11b60648201526084016106df565b6002546040516355d9465560e01b8152600481018390526001600160a01b03909116906355d946559060240160206040518083038186803b158015610b8c57600080fd5b505afa158015610ba0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc4919061313a565b610c105760405162461bcd60e51b815260206004820152601c60248201527f54686520706f6f6c2069732063757272656e746c79207061757365640000000060448201526064016106df565b60026001541415610c635760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106df565b600260015560408051808201909152600a815269393ba2aa242a37b5b2b760b11b6020820152600090610c9590612c2a565b90506000610cc360405180604001604052806009815260200168141bdbdb15985d5b1d60ba1b815250612c2a565b604051636eb1769f60e11b815233600482015230602482015290915087906001600160a01b0384169063dd62ed3e9060440160206040518083038186803b158015610d0d57600080fd5b505afa158015610d21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d45919061310b565b1015610db95760405162461bcd60e51b815260206004820152603860248201527f52657665727465643a20436c69656e74206c61636b7320616c6c6f77616e636560448201527f20746f20706572666f726d207468697320616374696f6e2e000000000000000060648201526084016106df565b6040516323b872dd60e01b8152336004820152306024820152604481018890526001600160a01b038316906323b872dd90606401602060405180830381600087803b158015610e0757600080fd5b505af1158015610e1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3f919061313a565b506040516312946fe160e01b8152600481018890526000906001600160a01b038416906312946fe19060240160206040518083038186803b158015610e8357600080fd5b505afa158015610e97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ebb919061310b565b604051630852cd8d60e31b8152600481018a90529091506001600160a01b038416906342966c6890602401600060405180830381600087803b158015610f0057600080fd5b505af1158015610f14573d6000803e3d6000fd5b505050506000604051602001610f4d907f746f74616c4275726e65645f7265776172644574686572000000000000000000815260170190565b60408051808303601f1901815290829052805160209091012060025462ec44af60e51b835260048301829052602483018c90529092506001600160a01b031690631d8895e090604401600060405180830381600087803b158015610fb057600080fd5b505af1158015610fc4573d6000803e3d6000fd5b505060405163522f681560e01b8152336004820152602481018590526001600160a01b038616925063522f68159150604401600060405180830381600087803b15801561101057600080fd5b505af1158015611024573d6000803e3d6000fd5b5050604080518581524260208201523393507f91405db2584f6e8463494f0e18c40f87fe3146322d19c494e8a0e0a039c3886992500160405180910390a250506001805550505050505050565b60008281526020819052604090206001015461108d8133612bc6565b6110978383612d2e565b505050565b6001600160a01b038116331461110c5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016106df565b6111168282612db2565b5050565b6000805160206133858339815191526111338133612bc6565b600060405160200161114490613124565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561119f57600080fd5b505afa1580156111b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d7919061313a565b156112245760405162461bcd60e51b815260206004820152601b60248201527f54686520706f6f6c2069732063757272656e746c79206c6976652e000000000060448201526064016106df565b60006112546040518060400160405280600d81526020016c546f6b656e42616c616e63657360981b815250612c2a565b9050600060405160200161127d906e1c995dd85c991cd51bd25b9a9958dd608a1b8152600f0190565b604051602081830303815290604052805190602001209050600061129f6119d0565b90506000620f424082856001600160a01b03166370959ff86040518163ffffffff1660e01b815260040160206040518083038186803b1580156112e157600080fd5b505afa1580156112f5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611319919061310b565b61132391906131bb565b61132d91906131da565b6002546040516328192c5560e01b815260048101869052602481018390529192506001600160a01b0316906328192c5590604401600060405180830381600087803b15801561137b57600080fd5b505af115801561138f573d6000803e3d6000fd5b50505050505050505050565b60006113a78133612bc6565b6113bf60008051602061338583398151915283611071565b6040516001600160a01b038316907fd873e3f571dc25e020cefdeb7255b3874ead3aade1f94a5fb4a5da831fd670cd90600090a25050565b6000805160206133858339815191526114108133612bc6565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b602082015260009060310160408051601f198184030181529082905280516020918201206002549093506001600160a01b0316916355d946559161146c9101613124565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b81526004016114a091815260200190565b60206040518083038186803b1580156114b857600080fd5b505afa1580156114cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f0919061313a565b1561150d5760405162461bcd60e51b81526004016106df90613157565b60025460405163afc3602b60e01b81526004810183905284916001600160a01b03169063afc3602b9060240160206040518083038186803b15801561155157600080fd5b505afa158015611565573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611589919061310b565b116115fc5760405162461bcd60e51b815260206004820152603e60248201527f546865206d696e2e20636f6e74722e206c696d6974206e6565647320746f206260448201527f6520736d616c6c6572207468616e20746865206d61782e206c696d69742e000060648201526084016106df565b6040516e36b4b721b7b73a3934b13aba34b7b760891b6020820152600090602f0160408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018790529092506001600160a01b0316906328192c5590604401600060405180830381600087803b15801561168157600080fd5b505af1158015611695573d6000803e3d6000fd5b5050505050505050565b600080604051602001610568906c64617973546f5265776172647360981b8152600d0190565b6000805160206133858339815191526116de8133612bc6565b6002546040516001600160a01b03909116906355d946559061170290602001613124565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161173691815260200190565b60206040518083038186803b15801561174e57600080fd5b505afa158015611762573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611786919061313a565b156117a35760405162461bcd60e51b81526004016106df90613157565b6040516c64617973546f5265776172647360981b6020820152600090602d01610706565b600080604051602001611803906f636f6e74726163745f6164647265737360801b815269141bdbdb10db1a595b9d60b21b6010820152601a0190565b60408051808303601f190181529082905280516020909101206002546315485dd960e11b8352600483018290529092506000916001600160a01b0390911690632a90bbb29060240160206040518083038186803b15801561186357600080fd5b505afa158015611877573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061189b91906131fc565b9392505050565b600080604051602001610568906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b6000805160206133858339815191526118e38133612bc6565b6002546040516001600160a01b03909116906355d946559061190790602001613124565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161193b91815260200190565b60206040518083038186803b15801561195357600080fd5b505afa158015611967573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061198b919061313a565b156119a85760405162461bcd60e51b81526004016106df90613157565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b6020820152600090603101610706565b60008060405160200161056890771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b600080604051602001611803906f636f6e74726163745f6164647265737360801b815267506f6f6c4261736560c01b601082015260180190565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6000600080516020613385833981519152611a7f8133612bc6565b6040516e1c995dd85c991cd51bd25b9a9958dd608a1b6020820152600090602f0160408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b158015611afb57600080fd5b505afa158015611b0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b33919061310b565b9250505090565b600080516020613385833981519152611b538133612bc6565b6000604051602001611b6490613124565b60408051808303601f1901815290829052805160209091012060025463988c515b60e01b83526004830182905285151560248401529092506001600160a01b03169063988c515b90604401610751565b600080516020613385833981519152611bcd8133612bc6565b6002546040516001600160a01b03909116906355d9465590611bf190602001613124565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401611c2591815260200190565b60206040518083038186803b158015611c3d57600080fd5b505afa158015611c51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c75919061313a565b15611c925760405162461bcd60e51b81526004016106df90613157565b604051771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b6020820152600090603801610706565b6000611ced60405180604001604052806009815260200168141bdbdb15985d5b1d60ba1b815250612c2a565b90506000604051602001611d0090613124565b6040516020818303038152906040528051906020012090506000604051602001611d3d906c64617973546f5265776172647360981b8152600d0190565b6040516020818303038152906040528051906020012090506000604051602001611d8590771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b6040516020818303038152906040528051906020012090506000604051602001611dc6907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b6040516020818303038152906040528051906020012090506000604051602001611e05906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b6040516020818303038152906040528051906020012090506000604051602001611e40906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051601f198184030181529082905280516020918201207332ba3432b92fb9ba30b5b2b22fb13cafbab9b2b960611b918301919091526bffffffffffffffffffffffff193360601b166034830152915060009060480160408051808303601f1901815290829052805160209091012060025463afc3602b60e01b83526004830182905290925060009134916001600160a01b03169063afc3602b9060240160206040518083038186803b158015611ef857600080fd5b505afa158015611f0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f30919061310b565b611f3a9190613219565b60025460405163afc3602b60e01b8152600481018a90529192506001600160a01b03169063afc3602b9060240160206040518083038186803b158015611f7f57600080fd5b505afa158015611f93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fb7919061310b565b6120145760405162461bcd60e51b815260206004820152602860248201527f546865207465616d206e6565647320746f207365742061207265776172642069604482015267373a32b93b30b61760c11b60648201526084016106df565b60025460405163afc3602b60e01b8152600481018890526001600160a01b039091169063afc3602b9060240160206040518083038186803b15801561205857600080fd5b505afa15801561206c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612090919061310b565b6120ea5760405162461bcd60e51b815260206004820152602560248201527f546865207465616d206e6565647320746f20736574206120726577617264207260448201526430ba34b79760d91b60648201526084016106df565b60025460405163afc3602b60e01b8152600481018790526001600160a01b039091169063afc3602b9060240160206040518083038186803b15801561212e57600080fd5b505afa158015612142573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612166919061310b565b6121c65760405162461bcd60e51b815260206004820152602b60248201527f546865207465616d206e6565647320746f20736574206120636f6e747269627560448201526a3a34b7b7103634b6b4ba1760a91b60648201526084016106df565b60025460405163afc3602b60e01b8152600481018790526001600160a01b039091169063afc3602b9060240160206040518083038186803b15801561220a57600080fd5b505afa15801561221e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612242919061310b565b8111156122a35760405162461bcd60e51b815260206004820152602960248201527f4d61782e2063757272656e7420636f6e747269627574696f6e206c696d69742060448201526832bc31b2b2b232b21760b91b60648201526084016106df565b60025460405163afc3602b60e01b81526004810186905234916001600160a01b03169063afc3602b9060240160206040518083038186803b1580156122e757600080fd5b505afa1580156122fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061231f919061310b565b11156123ac5760405162461bcd60e51b815260206004820152605060248201527f56616c756520746f206465706f736974206e6565647320746f2062652068696760448201527f686572207468616e207468652063757272656e74206d696e696d756d20636f6e60648201526f3a3934b13aba34b7b7103634b6b4ba1760811b608482015260a4016106df565b60025460405163afc3602b60e01b8152600481018590526001600160a01b039091169063afc3602b9060240160206040518083038186803b1580156123f057600080fd5b505afa158015612404573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612428919061310b565b348a6001600160a01b031663ccfe0c8e6040518163ffffffff1660e01b815260040160206040518083038186803b15801561246257600080fd5b505afa158015612476573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061249a919061310b565b6124a49190613219565b111561250f5760405162461bcd60e51b815260206004820152603460248201527f4d61782e20506f6f6c2073697a65206f766572666c6f772077697468207468616044820152733a1030b6b7bab73a1037b3103232b837b9b4ba1760611b60648201526084016106df565b600260015414156125625760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106df565b600260015560408051808201909152600a815269393ba2aa242a37b5b2b760b11b602082015260009061259490612c2a565b6040516340c10f1960e01b81523360048201523460248201529091506001600160a01b038216906340c10f1990604401600060405180830381600087803b1580156125de57600080fd5b505af11580156125f2573d6000803e3d6000fd5b50505050600060405160200161261f90703a37ba30b629bab838363cafa2ba3432b960791b815260110190565b60408051808303601f1901815290829052805160209091012060025462ec44af60e51b8352600483018290523460248401529092506001600160a01b031690631d8895e090604401600060405180830381600087803b15801561268157600080fd5b505af1158015612695573d6000803e3d6000fd5b5050604080513481524260208201523393507f91405db2584f6e8463494f0e18c40f87fe3146322d19c494e8a0e0a039c3886992500160405180910390a26126db612e17565b505060018055505050505050505050565b6000828152602081905260409020600101546127088133612bc6565b6110978383612db2565b60008051602061338583398151915261272b8133612bc6565b600060405160200161273c90613124565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561279757600080fd5b505afa1580156127ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127cf919061313a565b1561281c5760405162461bcd60e51b815260206004820152601b60248201527f54686520706f6f6c2069732063757272656e746c79206c6976652e000000000060448201526064016106df565b612824611a64565b34146128725760405162461bcd60e51b815260206004820181905260248201527f496e76616c696420657468657220696e74657265737420696e6a65637465642e60448201526064016106df565b600061289e60405180604001604052806009815260200168141bdbdb15985d5b1d60ba1b815250612c2a565b905060006040516020016128c6906d6c61737452657761726454696d6560901b8152600e0190565b604051602081830303815290604052805190602001209050600060405160200161290a90731d1bdd185b14995dd85c991cd25b9a9958dd195960621b815260140190565b604051602081830303815290604052805190602001209050600060405160200161294b90703a37ba30b629bab838363cafa2ba3432b960791b815260110190565b60408051808303601f190181529082905280516020909101206002546328192c5560e01b8352600483018690524260248401529092506001600160a01b0316906328192c5590604401600060405180830381600087803b1580156129ae57600080fd5b505af11580156129c2573d6000803e3d6000fd5b505060025460405162ec44af60e51b8152600481018690523460248201526001600160a01b039091169250631d8895e09150604401600060405180830381600087803b158015612a1157600080fd5b505af1158015612a25573d6000803e3d6000fd5b505060025460405162ec44af60e51b8152600481018590523460248201526001600160a01b039091169250631d8895e09150604401600060405180830381600087803b158015612a7457600080fd5b505af1158015612a88573d6000803e3d6000fd5b50505050836001600160a01b031663f9fc0d07346040518263ffffffff1660e01b81526004016000604051808303818588803b158015612ac757600080fd5b505af1158015612adb573d6000803e3d6000fd5b505060025460405163afc3602b60e01b8152600481018890527f70bf248e27883b1a6af8a9d590cc2b58fa0d74b60c83a9bb5e12de0f9b3ddfc694506001600160a01b03909116925063afc3602b915060240160206040518083038186803b158015612b4657600080fd5b505afa158015612b5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b7e919061310b565b604080519182523460208301520160405180910390a1505050505050565b600080604051602001610568907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b612bd08282611a3b565b61111657612be8816001600160a01b03166014612e9c565b612bf3836020612e9c565b604051602001612c04929190613261565b60408051601f198184030181529082905262461bcd60e51b82526106df916004016132d6565b60008082604051602001612c3e9190613309565b60408051808303601f190181529082905280516020909101206002546315485dd960e11b8352600483018290529092506000916001600160a01b0390911690632a90bbb29060240160206040518083038186803b158015612c9e57600080fd5b505afa158015612cb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cd691906131fc565b90506001600160a01b03811661189b5760405162461bcd60e51b815260206004820152601b60248201527f436f6e74726163742061646472657373206e6f7420666f756e642e000000000060448201526064016106df565b612d388282611a3b565b611116576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055612d6e3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b612dbc8282611a3b565b15611116576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000612e4360405180604001604052806009815260200168141bdbdb15985d5b1d60ba1b815250612c2a565b9050806001600160a01b031663a7cc190a346040518263ffffffff1660e01b81526004016000604051808303818588803b158015612e8057600080fd5b505af1158015612e94573d6000803e3d6000fd5b505050505050565b60606000612eab8360026131bb565b612eb6906002613219565b67ffffffffffffffff811115612ece57612ece613341565b6040519080825280601f01601f191660200182016040528015612ef8576020820181803683370190505b509050600360fc1b81600081518110612f1357612f13613357565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612f4257612f42613357565b60200101906001600160f81b031916908160001a9053506000612f668460026131bb565b612f71906001613219565b90505b6001811115612fe9576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612fa557612fa5613357565b1a60f81b828281518110612fbb57612fbb613357565b60200101906001600160f81b031916908160001a90535060049490941c93612fe28161336d565b9050612f74565b50831561189b5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016106df565b60006020828403121561304a57600080fd5b81356001600160e01b03198116811461189b57600080fd5b60006020828403121561307457600080fd5b5035919050565b6001600160a01b038116811461309057600080fd5b50565b6000602082840312156130a557600080fd5b813561189b8161307b565b600080604083850312156130c357600080fd5b8235915060208301356130d58161307b565b809150509250929050565b801515811461309057600080fd5b60006020828403121561310057600080fd5b813561189b816130e0565b60006020828403121561311d57600080fd5b5051919050565b696973506f6f6c4c69766560b01b8152600a0190565b60006020828403121561314c57600080fd5b815161189b816130e0565b6020808252601d908201527f54686520706f6f6c2069732063757272656e746c7920636c6f7365642e000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000828210156131b6576131b661318e565b500390565b60008160001904831182151516156131d5576131d561318e565b500290565b6000826131f757634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561320e57600080fd5b815161189b8161307b565b6000821982111561322c5761322c61318e565b500190565b60005b8381101561324c578181015183820152602001613234565b8381111561325b576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613299816017850160208801613231565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516132ca816028840160208801613231565b01602801949350505050565b60208152600082518060208401526132f5816040850160208701613231565b601f01601f19169190910160400192915050565b6f636f6e74726163745f6164647265737360801b815260008251613334816010850160208701613231565b9190910160100192915050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008161337c5761337c61318e565b50600019019056fe41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842a26469706673582212208f9088fbb5005bb41246c55603dc402be7376da1aabfedb5a147dfa61b40fcc464736f6c63430008090033", + "deployedBytecode": "6080604052600436106101c25760003560e01c806362308e85116100f75780639ed03ab611610095578063d0e30db011610064578063d0e30db0146104c8578063d547741f146104d0578063ee7d4d2b146104f0578063fa1e19e5146104f857600080fd5b80639ed03ab61461045e578063a217fddf14610473578063a497551614610488578063bf4c0036146104a857600080fd5b806372d099a0116100d157806372d099a0146103f45780637521796f146104145780638ae681341461042957806391d148541461043e57600080fd5b806362308e85146103905780636c426607146103b25780636cff7473146103df57600080fd5b80632f2ff15d1161016457806345077e711161013e57806345077e711461031b578063473b0d461461033b578063497d02411461035b57806353710f491461037057600080fd5b80632f2ff15d146102c657806336568abe146102e65780633e50de301461030657600080fd5b8063217ac237116101a0578063217ac23714610241578063248a9ca31461025657806329ca15bc146102865780632e1a7d4d146102a657600080fd5b806301ffc9a7146101c7578063095df57f146101fc578063126469871461021f575b600080fd5b3480156101d357600080fd5b506101e76101e2366004613038565b61050d565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b50610211610544565b6040519081526020016101f3565b34801561022b57600080fd5b5061023f61023a366004613062565b610601565b005b34801561024d57600080fd5b506101e7610788565b34801561026257600080fd5b50610211610271366004613062565b60009081526020819052604090206001015490565b34801561029257600080fd5b5061023f6102a1366004613093565b61082d565b3480156102b257600080fd5b5061023f6102c1366004613062565b610889565b3480156102d257600080fd5b5061023f6102e13660046130b0565b611071565b3480156102f257600080fd5b5061023f6103013660046130b0565b61109c565b34801561031257600080fd5b5061023f61111a565b34801561032757600080fd5b5061023f610336366004613093565b61139b565b34801561034757600080fd5b5061023f610356366004613062565b6113f7565b34801561036757600080fd5b5061021161169f565b34801561037c57600080fd5b5061023f61038b366004613062565b6116c5565b34801561039c57600080fd5b5061021160008051602061338583398151915281565b3480156103be57600080fd5b506103c76117c7565b6040516001600160a01b0390911681526020016101f3565b3480156103eb57600080fd5b506102116118a2565b34801561040057600080fd5b5061023f61040f366004613062565b6118ca565b34801561042057600080fd5b506102116119d0565b34801561043557600080fd5b506103c7611a01565b34801561044a57600080fd5b506101e76104593660046130b0565b611a3b565b34801561046a57600080fd5b50610211611a64565b34801561047f57600080fd5b50610211600081565b34801561049457600080fd5b5061023f6104a33660046130ee565b611b3a565b3480156104b457600080fd5b5061023f6104c3366004613062565b611bb4565b61023f611cc1565b3480156104dc57600080fd5b5061023f6104eb3660046130b0565b6126ec565b61023f612712565b34801561050457600080fd5b50610211612b9c565b60006001600160e01b03198216637965db0b60e01b148061053e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b600080604051602001610568906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b1580156105c357600080fd5b505afa1580156105d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fb919061310b565b91505090565b60008051602061338583398151915261061a8133612bc6565b6002546040516001600160a01b03909116906355d946559061063e90602001613124565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161067291815260200190565b60206040518083038186803b15801561068a57600080fd5b505afa15801561069e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c2919061313a565b156106e85760405162461bcd60e51b81526004016106df90613157565b60405180910390fd5b6040516a706f6f6c4d617853697a6560a81b6020820152600090602b015b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018690529092506001600160a01b0316906328192c55906044015b600060405180830381600087803b15801561076b57600080fd5b505af115801561077f573d6000803e3d6000fd5b50505050505050565b60008060405160200161079a90613124565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b1580156107f557600080fd5b505afa158015610809573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fb919061313a565b60006108398133612bc6565b610851600080516020613385833981519152836126ec565b6040516001600160a01b038316907fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd3190600090a25050565b8060006108b660405180604001604052806009815260200168141bdbdb15985d5b1d60ba1b815250612c2a565b905060006108e56040518060400160405280600a815260200169393ba2aa242a37b5b2b760b11b815250612c2a565b905060006040516020016108f890613124565b60408051601f198184030181529082905280516020909101206370a0823160e01b8252336004830152915084906001600160a01b038416906370a082319060240160206040518083038186803b15801561095157600080fd5b505afa158015610965573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610989919061310b565b10156109f55760405162461bcd60e51b815260206004820152603560248201527f596f7520646f6e27742068617665207468617420616d6f756e74206f6620746f60448201527435b2b7399037b7103cb7bab91030b1b1b7bab73a1760591b60648201526084016106df565b6040516312946fe160e01b8152600481018590526000906001600160a01b038416906312946fe19060240160206040518083038186803b158015610a3857600080fd5b505afa158015610a4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a70919061310b565b846001600160a01b031663ccfe0c8e6040518163ffffffff1660e01b815260040160206040518083038186803b158015610aa957600080fd5b505afa158015610abd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae1919061310b565b610aeb91906131a4565b1015610b485760405162461bcd60e51b815260206004820152602660248201527f506f6f6c2073697a652063616e6e6f7420626520736d616c6c6572207468616e604482015265103d32b9379760d11b60648201526084016106df565b6002546040516355d9465560e01b8152600481018390526001600160a01b03909116906355d946559060240160206040518083038186803b158015610b8c57600080fd5b505afa158015610ba0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc4919061313a565b610c105760405162461bcd60e51b815260206004820152601c60248201527f54686520706f6f6c2069732063757272656e746c79207061757365640000000060448201526064016106df565b60026001541415610c635760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106df565b600260015560408051808201909152600a815269393ba2aa242a37b5b2b760b11b6020820152600090610c9590612c2a565b90506000610cc360405180604001604052806009815260200168141bdbdb15985d5b1d60ba1b815250612c2a565b604051636eb1769f60e11b815233600482015230602482015290915087906001600160a01b0384169063dd62ed3e9060440160206040518083038186803b158015610d0d57600080fd5b505afa158015610d21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d45919061310b565b1015610db95760405162461bcd60e51b815260206004820152603860248201527f52657665727465643a20436c69656e74206c61636b7320616c6c6f77616e636560448201527f20746f20706572666f726d207468697320616374696f6e2e000000000000000060648201526084016106df565b6040516323b872dd60e01b8152336004820152306024820152604481018890526001600160a01b038316906323b872dd90606401602060405180830381600087803b158015610e0757600080fd5b505af1158015610e1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3f919061313a565b506040516312946fe160e01b8152600481018890526000906001600160a01b038416906312946fe19060240160206040518083038186803b158015610e8357600080fd5b505afa158015610e97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ebb919061310b565b604051630852cd8d60e31b8152600481018a90529091506001600160a01b038416906342966c6890602401600060405180830381600087803b158015610f0057600080fd5b505af1158015610f14573d6000803e3d6000fd5b505050506000604051602001610f4d907f746f74616c4275726e65645f7265776172644574686572000000000000000000815260170190565b60408051808303601f1901815290829052805160209091012060025462ec44af60e51b835260048301829052602483018c90529092506001600160a01b031690631d8895e090604401600060405180830381600087803b158015610fb057600080fd5b505af1158015610fc4573d6000803e3d6000fd5b505060405163522f681560e01b8152336004820152602481018590526001600160a01b038616925063522f68159150604401600060405180830381600087803b15801561101057600080fd5b505af1158015611024573d6000803e3d6000fd5b5050604080518581524260208201523393507f91405db2584f6e8463494f0e18c40f87fe3146322d19c494e8a0e0a039c3886992500160405180910390a250506001805550505050505050565b60008281526020819052604090206001015461108d8133612bc6565b6110978383612d2e565b505050565b6001600160a01b038116331461110c5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016106df565b6111168282612db2565b5050565b6000805160206133858339815191526111338133612bc6565b600060405160200161114490613124565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561119f57600080fd5b505afa1580156111b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d7919061313a565b156112245760405162461bcd60e51b815260206004820152601b60248201527f54686520706f6f6c2069732063757272656e746c79206c6976652e000000000060448201526064016106df565b60006112546040518060400160405280600d81526020016c546f6b656e42616c616e63657360981b815250612c2a565b9050600060405160200161127d906e1c995dd85c991cd51bd25b9a9958dd608a1b8152600f0190565b604051602081830303815290604052805190602001209050600061129f6119d0565b90506000620f424082856001600160a01b03166370959ff86040518163ffffffff1660e01b815260040160206040518083038186803b1580156112e157600080fd5b505afa1580156112f5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611319919061310b565b61132391906131bb565b61132d91906131da565b6002546040516328192c5560e01b815260048101869052602481018390529192506001600160a01b0316906328192c5590604401600060405180830381600087803b15801561137b57600080fd5b505af115801561138f573d6000803e3d6000fd5b50505050505050505050565b60006113a78133612bc6565b6113bf60008051602061338583398151915283611071565b6040516001600160a01b038316907fd873e3f571dc25e020cefdeb7255b3874ead3aade1f94a5fb4a5da831fd670cd90600090a25050565b6000805160206133858339815191526114108133612bc6565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b602082015260009060310160408051601f198184030181529082905280516020918201206002549093506001600160a01b0316916355d946559161146c9101613124565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b81526004016114a091815260200190565b60206040518083038186803b1580156114b857600080fd5b505afa1580156114cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f0919061313a565b1561150d5760405162461bcd60e51b81526004016106df90613157565b60025460405163afc3602b60e01b81526004810183905284916001600160a01b03169063afc3602b9060240160206040518083038186803b15801561155157600080fd5b505afa158015611565573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611589919061310b565b116115fc5760405162461bcd60e51b815260206004820152603e60248201527f546865206d696e2e20636f6e74722e206c696d6974206e6565647320746f206260448201527f6520736d616c6c6572207468616e20746865206d61782e206c696d69742e000060648201526084016106df565b6040516e36b4b721b7b73a3934b13aba34b7b760891b6020820152600090602f0160408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018790529092506001600160a01b0316906328192c5590604401600060405180830381600087803b15801561168157600080fd5b505af1158015611695573d6000803e3d6000fd5b5050505050505050565b600080604051602001610568906c64617973546f5265776172647360981b8152600d0190565b6000805160206133858339815191526116de8133612bc6565b6002546040516001600160a01b03909116906355d946559061170290602001613124565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161173691815260200190565b60206040518083038186803b15801561174e57600080fd5b505afa158015611762573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611786919061313a565b156117a35760405162461bcd60e51b81526004016106df90613157565b6040516c64617973546f5265776172647360981b6020820152600090602d01610706565b600080604051602001611803906f636f6e74726163745f6164647265737360801b815269141bdbdb10db1a595b9d60b21b6010820152601a0190565b60408051808303601f190181529082905280516020909101206002546315485dd960e11b8352600483018290529092506000916001600160a01b0390911690632a90bbb29060240160206040518083038186803b15801561186357600080fd5b505afa158015611877573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061189b91906131fc565b9392505050565b600080604051602001610568906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b6000805160206133858339815191526118e38133612bc6565b6002546040516001600160a01b03909116906355d946559061190790602001613124565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161193b91815260200190565b60206040518083038186803b15801561195357600080fd5b505afa158015611967573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061198b919061313a565b156119a85760405162461bcd60e51b81526004016106df90613157565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b6020820152600090603101610706565b60008060405160200161056890771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b600080604051602001611803906f636f6e74726163745f6164647265737360801b815267506f6f6c4261736560c01b601082015260180190565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6000600080516020613385833981519152611a7f8133612bc6565b6040516e1c995dd85c991cd51bd25b9a9958dd608a1b6020820152600090602f0160408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b158015611afb57600080fd5b505afa158015611b0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b33919061310b565b9250505090565b600080516020613385833981519152611b538133612bc6565b6000604051602001611b6490613124565b60408051808303601f1901815290829052805160209091012060025463988c515b60e01b83526004830182905285151560248401529092506001600160a01b03169063988c515b90604401610751565b600080516020613385833981519152611bcd8133612bc6565b6002546040516001600160a01b03909116906355d9465590611bf190602001613124565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401611c2591815260200190565b60206040518083038186803b158015611c3d57600080fd5b505afa158015611c51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c75919061313a565b15611c925760405162461bcd60e51b81526004016106df90613157565b604051771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b6020820152600090603801610706565b6000611ced60405180604001604052806009815260200168141bdbdb15985d5b1d60ba1b815250612c2a565b90506000604051602001611d0090613124565b6040516020818303038152906040528051906020012090506000604051602001611d3d906c64617973546f5265776172647360981b8152600d0190565b6040516020818303038152906040528051906020012090506000604051602001611d8590771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b6040516020818303038152906040528051906020012090506000604051602001611dc6907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b6040516020818303038152906040528051906020012090506000604051602001611e05906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b6040516020818303038152906040528051906020012090506000604051602001611e40906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051601f198184030181529082905280516020918201207332ba3432b92fb9ba30b5b2b22fb13cafbab9b2b960611b918301919091526bffffffffffffffffffffffff193360601b166034830152915060009060480160408051808303601f1901815290829052805160209091012060025463afc3602b60e01b83526004830182905290925060009134916001600160a01b03169063afc3602b9060240160206040518083038186803b158015611ef857600080fd5b505afa158015611f0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f30919061310b565b611f3a9190613219565b60025460405163afc3602b60e01b8152600481018a90529192506001600160a01b03169063afc3602b9060240160206040518083038186803b158015611f7f57600080fd5b505afa158015611f93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fb7919061310b565b6120145760405162461bcd60e51b815260206004820152602860248201527f546865207465616d206e6565647320746f207365742061207265776172642069604482015267373a32b93b30b61760c11b60648201526084016106df565b60025460405163afc3602b60e01b8152600481018890526001600160a01b039091169063afc3602b9060240160206040518083038186803b15801561205857600080fd5b505afa15801561206c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612090919061310b565b6120ea5760405162461bcd60e51b815260206004820152602560248201527f546865207465616d206e6565647320746f20736574206120726577617264207260448201526430ba34b79760d91b60648201526084016106df565b60025460405163afc3602b60e01b8152600481018790526001600160a01b039091169063afc3602b9060240160206040518083038186803b15801561212e57600080fd5b505afa158015612142573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612166919061310b565b6121c65760405162461bcd60e51b815260206004820152602b60248201527f546865207465616d206e6565647320746f20736574206120636f6e747269627560448201526a3a34b7b7103634b6b4ba1760a91b60648201526084016106df565b60025460405163afc3602b60e01b8152600481018790526001600160a01b039091169063afc3602b9060240160206040518083038186803b15801561220a57600080fd5b505afa15801561221e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612242919061310b565b8111156122a35760405162461bcd60e51b815260206004820152602960248201527f4d61782e2063757272656e7420636f6e747269627574696f6e206c696d69742060448201526832bc31b2b2b232b21760b91b60648201526084016106df565b60025460405163afc3602b60e01b81526004810186905234916001600160a01b03169063afc3602b9060240160206040518083038186803b1580156122e757600080fd5b505afa1580156122fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061231f919061310b565b11156123ac5760405162461bcd60e51b815260206004820152605060248201527f56616c756520746f206465706f736974206e6565647320746f2062652068696760448201527f686572207468616e207468652063757272656e74206d696e696d756d20636f6e60648201526f3a3934b13aba34b7b7103634b6b4ba1760811b608482015260a4016106df565b60025460405163afc3602b60e01b8152600481018590526001600160a01b039091169063afc3602b9060240160206040518083038186803b1580156123f057600080fd5b505afa158015612404573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612428919061310b565b348a6001600160a01b031663ccfe0c8e6040518163ffffffff1660e01b815260040160206040518083038186803b15801561246257600080fd5b505afa158015612476573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061249a919061310b565b6124a49190613219565b111561250f5760405162461bcd60e51b815260206004820152603460248201527f4d61782e20506f6f6c2073697a65206f766572666c6f772077697468207468616044820152733a1030b6b7bab73a1037b3103232b837b9b4ba1760611b60648201526084016106df565b600260015414156125625760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106df565b600260015560408051808201909152600a815269393ba2aa242a37b5b2b760b11b602082015260009061259490612c2a565b6040516340c10f1960e01b81523360048201523460248201529091506001600160a01b038216906340c10f1990604401600060405180830381600087803b1580156125de57600080fd5b505af11580156125f2573d6000803e3d6000fd5b50505050600060405160200161261f90703a37ba30b629bab838363cafa2ba3432b960791b815260110190565b60408051808303601f1901815290829052805160209091012060025462ec44af60e51b8352600483018290523460248401529092506001600160a01b031690631d8895e090604401600060405180830381600087803b15801561268157600080fd5b505af1158015612695573d6000803e3d6000fd5b5050604080513481524260208201523393507f91405db2584f6e8463494f0e18c40f87fe3146322d19c494e8a0e0a039c3886992500160405180910390a26126db612e17565b505060018055505050505050505050565b6000828152602081905260409020600101546127088133612bc6565b6110978383612db2565b60008051602061338583398151915261272b8133612bc6565b600060405160200161273c90613124565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561279757600080fd5b505afa1580156127ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127cf919061313a565b1561281c5760405162461bcd60e51b815260206004820152601b60248201527f54686520706f6f6c2069732063757272656e746c79206c6976652e000000000060448201526064016106df565b612824611a64565b34146128725760405162461bcd60e51b815260206004820181905260248201527f496e76616c696420657468657220696e74657265737420696e6a65637465642e60448201526064016106df565b600061289e60405180604001604052806009815260200168141bdbdb15985d5b1d60ba1b815250612c2a565b905060006040516020016128c6906d6c61737452657761726454696d6560901b8152600e0190565b604051602081830303815290604052805190602001209050600060405160200161290a90731d1bdd185b14995dd85c991cd25b9a9958dd195960621b815260140190565b604051602081830303815290604052805190602001209050600060405160200161294b90703a37ba30b629bab838363cafa2ba3432b960791b815260110190565b60408051808303601f190181529082905280516020909101206002546328192c5560e01b8352600483018690524260248401529092506001600160a01b0316906328192c5590604401600060405180830381600087803b1580156129ae57600080fd5b505af11580156129c2573d6000803e3d6000fd5b505060025460405162ec44af60e51b8152600481018690523460248201526001600160a01b039091169250631d8895e09150604401600060405180830381600087803b158015612a1157600080fd5b505af1158015612a25573d6000803e3d6000fd5b505060025460405162ec44af60e51b8152600481018590523460248201526001600160a01b039091169250631d8895e09150604401600060405180830381600087803b158015612a7457600080fd5b505af1158015612a88573d6000803e3d6000fd5b50505050836001600160a01b031663f9fc0d07346040518263ffffffff1660e01b81526004016000604051808303818588803b158015612ac757600080fd5b505af1158015612adb573d6000803e3d6000fd5b505060025460405163afc3602b60e01b8152600481018890527f70bf248e27883b1a6af8a9d590cc2b58fa0d74b60c83a9bb5e12de0f9b3ddfc694506001600160a01b03909116925063afc3602b915060240160206040518083038186803b158015612b4657600080fd5b505afa158015612b5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b7e919061310b565b604080519182523460208301520160405180910390a1505050505050565b600080604051602001610568907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b612bd08282611a3b565b61111657612be8816001600160a01b03166014612e9c565b612bf3836020612e9c565b604051602001612c04929190613261565b60408051601f198184030181529082905262461bcd60e51b82526106df916004016132d6565b60008082604051602001612c3e9190613309565b60408051808303601f190181529082905280516020909101206002546315485dd960e11b8352600483018290529092506000916001600160a01b0390911690632a90bbb29060240160206040518083038186803b158015612c9e57600080fd5b505afa158015612cb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cd691906131fc565b90506001600160a01b03811661189b5760405162461bcd60e51b815260206004820152601b60248201527f436f6e74726163742061646472657373206e6f7420666f756e642e000000000060448201526064016106df565b612d388282611a3b565b611116576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055612d6e3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b612dbc8282611a3b565b15611116576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000612e4360405180604001604052806009815260200168141bdbdb15985d5b1d60ba1b815250612c2a565b9050806001600160a01b031663a7cc190a346040518263ffffffff1660e01b81526004016000604051808303818588803b158015612e8057600080fd5b505af1158015612e94573d6000803e3d6000fd5b505050505050565b60606000612eab8360026131bb565b612eb6906002613219565b67ffffffffffffffff811115612ece57612ece613341565b6040519080825280601f01601f191660200182016040528015612ef8576020820181803683370190505b509050600360fc1b81600081518110612f1357612f13613357565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612f4257612f42613357565b60200101906001600160f81b031916908160001a9053506000612f668460026131bb565b612f71906001613219565b90505b6001811115612fe9576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612fa557612fa5613357565b1a60f81b828281518110612fbb57612fbb613357565b60200101906001600160f81b031916908160001a90535060049490941c93612fe28161336d565b9050612f74565b50831561189b5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016106df565b60006020828403121561304a57600080fd5b81356001600160e01b03198116811461189b57600080fd5b60006020828403121561307457600080fd5b5035919050565b6001600160a01b038116811461309057600080fd5b50565b6000602082840312156130a557600080fd5b813561189b8161307b565b600080604083850312156130c357600080fd5b8235915060208301356130d58161307b565b809150509250929050565b801515811461309057600080fd5b60006020828403121561310057600080fd5b813561189b816130e0565b60006020828403121561311d57600080fd5b5051919050565b696973506f6f6c4c69766560b01b8152600a0190565b60006020828403121561314c57600080fd5b815161189b816130e0565b6020808252601d908201527f54686520706f6f6c2069732063757272656e746c7920636c6f7365642e000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000828210156131b6576131b661318e565b500390565b60008160001904831182151516156131d5576131d561318e565b500290565b6000826131f757634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561320e57600080fd5b815161189b8161307b565b6000821982111561322c5761322c61318e565b500190565b60005b8381101561324c578181015183820152602001613234565b8381111561325b576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613299816017850160208801613231565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516132ca816028840160208801613231565b01602801949350505050565b60208152600082518060208401526132f5816040850160208701613231565b601f01601f19169190910160400192915050565b6f636f6e74726163745f6164647265737360801b815260008251613334816010850160208701613231565b9190910160100192915050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008161337c5761337c61318e565b50600019019056fe41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842a26469706673582212208f9088fbb5005bb41246c55603dc402be7376da1aabfedb5a147dfa61b40fcc464736f6c63430008090033", + "sourceMap": "653:8566:1:-:0;;;926:126;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1701:1:9;1806:22;;1269:11:0;:55;;-1:-1:-1;;;;;;1269:55:0;-1:-1:-1;;;;;1269:55:0;;;;;;1335:42;-1:-1:-1;1366:10:0;1335;:42::i;:::-;1388:36;726:25;1413:10;1388;:36::i;:::-;1435:21;:19;:21::i;:::-;-1:-1:-1;1021:23:1::1;:21;:23::i;:::-;926:126:::0;653:8566;;6257:110:7;6335:25;6346:4;6352:7;6335:10;:25::i;:::-;6257:110;;:::o;2539:269:0:-;2589:11;;2626:50;;-1:-1:-1;;;2626:50:0;;;568:30:15;-1:-1:-1;;;;;;2670:4:0;661:2:15;632:15;628:45;614:12;;;607:67;-1:-1:-1;;;;;2589:11:0;;;;:26;;690:12:15;;2626:50:0;;;-1:-1:-1;;2626:50:0;;;;;;;;;;2616:61;;2626:50;2616:61;;;;-1:-1:-1;;;;;;2589:95:0;;;;;;;;;;881:25:15;2679:4:0;922:18:15;;;915:50;854:18;;2589:95:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2695:11:0;;2735:48;;-1:-1:-1;;;2735:48:0;;;1279:31:15;-1:-1:-1;;;1326:12:15;;;1319:32;-1:-1:-1;;;;;2695:11:0;;;;-1:-1:-1;2695:29:0;;-1:-1:-1;1367:12:15;;2735:48:0;;;;-1:-1:-1;;2735:48:0;;;;;;;;;;2725:59;;2735:48;2725:59;;;;-1:-1:-1;;;;;;2695:105:0;;;;;;;;;;1564:25:15;2794:4:0;1605:18:15;;;1598:60;1537:18;;2695:105:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2539:269::o;3713:273:1:-;3765:11;;3802:50;;-1:-1:-1;;;3802:50:1;;;568:30:15;-1:-1:-1;;;;;;3846:4:1;661:2:15;632:15;628:45;614:12;;;607:67;-1:-1:-1;;;;;3765:11:1;;;;:26;;690:12:15;;3802:50:1;;;-1:-1:-1;;3802:50:1;;;;;;;;;;3792:61;;3802:50;3792:61;;;;-1:-1:-1;;;;;;3765:95:1;;;;;;;;;;881:25:15;3855:4:1;922:18:15;;;915:50;854:18;;3765:95:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3871:11:1;;3911:50;;-1:-1:-1;;;3911:50:1;;;1972:31:15;-1:-1:-1;;;2019:12:15;;;2012:34;-1:-1:-1;;;;;3871:11:1;;;;-1:-1:-1;3871:29:1;;-1:-1:-1;2062:12:15;;3911:50:1;1669:411:15;6861:233:7;2995:4;3018:12;;;;;;;;;;;-1:-1:-1;;;;;3018:29:7;;;;;;;;;;;;6939:149;;6982:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6982:29:7;;;;;;;;;:36;;-1:-1:-1;;6982:36:7;7014:4;6982:36;;;7064:12;719:10:11;;640:96;7064:12:7;-1:-1:-1;;;;;7037:40:7;7055:7;-1:-1:-1;;;;;7037:40:7;7049:4;7037:40;;;;;;;;;;6861:233;;:::o;14:319:15:-;113:6;166:2;154:9;145:7;141:23;137:32;134:52;;;182:1;179;172:12;134:52;208:16;;-1:-1:-1;;;;;253:31:15;;243:42;;233:70;;299:1;296;289:12;233:70;322:5;14:319;-1:-1:-1;;;14:319:15:o;1669:411::-;653:8566:1;;;;;;", + "deployedSourceMap": "653:8566:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2620:202:7;;;;;;;;;;-1:-1:-1;2620:202:7;;;;;:::i;:::-;;:::i;:::-;;;470:14:15;;463:22;445:41;;433:2;418:18;2620:202:7;;;;;;;;6789:205:0;;;;;;;;;;;;;:::i;:::-;;;643:25:15;;;631:2;616:18;6789:205:0;497:177:15;3298:341:0;;;;;;;;;;-1:-1:-1;3298:341:0;;;;;:::i;:::-;;:::i;:::-;;6597:184;;;;;;;;;;;;;:::i;4008:129:7:-;;;;;;;;;;-1:-1:-1;4008:129:7;;;;;:::i;:::-;4082:7;4108:12;;;;;;;;;;:22;;;;4008:129;2178:175:0;;;;;;;;;;-1:-1:-1;2178:175:0;;;;;:::i;:::-;;:::i;7977:941:1:-;;;;;;;;;;-1:-1:-1;7977:941:1;;;;;:::i;:::-;;:::i;4387:145:7:-;;;;;;;;;;-1:-1:-1;4387:145:7;;;;;:::i;:::-;;:::i;5404:214::-;;;;;;;;;;-1:-1:-1;5404:214:7;;;;;:::i;:::-;;:::i;5270:542:1:-;;;;;;;;;;;;;:::i;1998:172:0:-;;;;;;;;;;-1:-1:-1;1998:172:0;;;;;:::i;:::-;;:::i;5239:585::-;;;;;;;;;;-1:-1:-1;5239:585:0;;;;;:::i;:::-;;:::i;7002:195::-;;;;;;;;;;;;;:::i;3713:351::-;;;;;;;;;;-1:-1:-1;3713:351:0;;;;;:::i;:::-;;:::i;687:64::-;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;687:64:0;;8926:272:1;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;2103:32:15;;;2085:51;;2073:2;2058:18;8926:272:1;1939:203:15;7640:199:0;;;;;;;;;;;;;:::i;4761:362::-;;;;;;;;;;-1:-1:-1;4761:362:0;;;;;:::i;:::-;;:::i;7205:212::-;;;;;;;;;;;;;:::i;6317:268::-;;;;;;;;;;;;;:::i;2909:145:7:-;;;;;;;;;;-1:-1:-1;2909:145:7;;;;;:::i;:::-;;:::i;5878:236:1:-;;;;;;;;;;;;;:::i;2027:49:7:-;;;;;;;;;;-1:-1:-1;2027:49:7;2072:4;2027:49;;2965:198:0;;;;;;;;;;-1:-1:-1;2965:198:0;;;;;:::i;:::-;;:::i;4271:372::-;;;;;;;;;;-1:-1:-1;4271:372:0;;;;;:::i;:::-;;:::i;4417:487:1:-;;;:::i;4766:147:7:-;;;;;;;;;;-1:-1:-1;4766:147:7;;;;;:::i;:::-;;:::i;6582:949:1:-;;;:::i;7425:207:0:-;;;;;;;;;;;;;:::i;2620:202:7:-;2705:4;-1:-1:-1;;;;;;2728:47:7;;-1:-1:-1;;;2728:47:7;;:87;;-1:-1:-1;;;;;;;;;;937:40:13;;;2779:36:7;2721:94;2620:202;-1:-1:-1;;2620:202:7:o;6789:205:0:-;6835:4;6851:22;6886:31;;;;;;-1:-1:-1;;;2718:26:15;;2769:2;2760:12;;2516:262;6886:31:0;;;;;;;-1:-1:-1;;6886:31:0;;;;;;;6876:42;;6886:31;6876:42;;;;6936:11;;-1:-1:-1;;;6936:42:0;;;;;643:25:15;;;6876:42:0;;-1:-1:-1;;;;;;6936:11:0;;:26;;616:18:15;;6936:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6929:49;;;6789:205;:::o;3298:341::-;-1:-1:-1;;;;;;;;;;;2505:30:7;726:25:0;719:10:11;2505::7;:30::i;:::-;3387:11:0::1;::::0;3424:30:::1;::::0;-1:-1:-1;;;;;3387:11:0;;::::1;::::0;:26:::1;::::0;3424:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;3414:41;;;;;;3387:69;;;;;;;;;;;;;643:25:15::0;;631:2;616:18;;497:177;3387:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3386:70;3378:112;;;;-1:-1:-1::0;;;3378:112:0::1;;;;;;;:::i;:::-;;;;;;;;;3536:31;::::0;-1:-1:-1;;;3536:31:0::1;::::0;::::1;2718:26:15::0;3501:22:0::1;::::0;2760:12:15;;3536:31:0::1;;::::0;;;;::::1;-1:-1:-1::0;;3536:31:0;;;;;;;3526:42;;3536:31:::1;3526:42:::0;;::::1;::::0;3579:11:::1;::::0;-1:-1:-1;;;3579:52:0;;::::1;::::0;::::1;4020:25:15::0;;;4061:18;;;4054:34;;;3526:42:0;;-1:-1:-1;;;;;;3579:11:0::1;::::0;:26:::1;::::0;3993:18:15;;3579:52:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;3367:272;3298:341:::0;;:::o;6597:184::-;6641:4;6657:17;6687:30;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;6687:30:0;;;;;;;6677:41;;6687:30;6677:41;;;;6736:11;;-1:-1:-1;;;6736:37:0;;;;;643:25:15;;;6677:41:0;;-1:-1:-1;;;;;;6736:11:0;;:26;;616:18:15;;6736:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;2178:175::-;2072:4:7;2505:30;2072:4;719:10:11;2505::7;:30::i;:::-;2271:34:0::1;-1:-1:-1::0;;;;;;;;;;;2296:8:0::1;2271:10;:34::i;:::-;2321:24;::::0;-1:-1:-1;;;;;2321:24:0;::::1;::::0;::::1;::::0;;;::::1;2178:175:::0;;:::o;7977:941:1:-;8042:12;2720:28;2770:31;;;;;;;;;;;;;;-1:-1:-1;;;2770:31:1;;;:18;:31::i;:::-;2720:82;;2813:30;2866:32;;;;;;;;;;;;;;-1:-1:-1;;;2866:32:1;;;:18;:32::i;:::-;2813:86;;2910:17;2940:30;;;;;;;:::i;:::-;;;;-1:-1:-1;;2940:30:1;;;;;;;;;;2930:41;;2940:30;2930:41;;;;-1:-1:-1;;;2992:32:1;;3013:10;2992:32;;;2085:51:15;2930:41:1;-1:-1:-1;3028:18:1;;-1:-1:-1;;;;;2992:20:1;;;;;2058:18:15;;2992:32:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:54;;2984:120;;;;-1:-1:-1;;;2984:120:1;;4301:2:15;2984:120:1;;;4283:21:15;4340:2;4320:18;;;4313:30;4379:34;4359:18;;;4352:62;-1:-1:-1;;;4430:18:15;;;4423:51;4491:19;;2984:120:1;4099:417:15;2984:120:1;3151:43;;-1:-1:-1;;;3151:43:1;;;;;643:25:15;;;3198:1:1;;-1:-1:-1;;;;;3151:23:1;;;;;616:18:15;;3151:43:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3123:9;-1:-1:-1;;;;;3123:23:1;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:71;;;;:::i;:::-;:76;;3115:127;;;;-1:-1:-1;;;3115:127:1;;4985:2:15;3115:127:1;;;4967:21:15;5024:2;5004:18;;;4997:30;5063:34;5043:18;;;5036:62;-1:-1:-1;;;5114:18:15;;;5107:36;5160:19;;3115:127:1;4783:402:15;3115:127:1;3261:11;;:37;;-1:-1:-1;;;3261:37:1;;;;;643:25:15;;;-1:-1:-1;;;;;3261:11:1;;;;:26;;616:18:15;;3261:37:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3253:78;;;;-1:-1:-1;;;3253:78:1;;5392:2:15;3253:78:1;;;5374:21:15;5431:2;5411:18;;;5404:30;5470;5450:18;;;5443:58;5518:18;;3253:78:1;5190:352:15;3253:78:1;1744:1:9::1;2325:7;;:19;;2317:63;;;::::0;-1:-1:-1;;;2317:63:9;;5749:2:15;2317:63:9::1;::::0;::::1;5731:21:15::0;5788:2;5768:18;;;5761:30;5827:33;5807:18;;;5800:61;5878:18;;2317:63:9::1;5547:355:15::0;2317:63:9::1;1744:1;2455:7;:18:::0;8134:32:1::2;::::0;;;;::::2;::::0;;;::::2;::::0;;-1:-1:-1;;;8134:32:1::2;::::0;::::2;::::0;8081:30:::2;::::0;8134:32:::2;::::0;:18:::2;:32::i;:::-;8081:86;;8178:28;8228:31;;;;;;;;;;;;;;-1:-1:-1::0;;;8228:31:1::2;;::::0;:18:::2;:31::i;:::-;8289:47;::::0;-1:-1:-1;;;8289:47:1;;8310:10:::2;8289:47;::::0;::::2;6119:34:15::0;8330:4:1::2;6169:18:15::0;;;6162:43;8178:82:1;;-1:-1:-1;8340:12:1;;-1:-1:-1;;;;;8289:20:1;::::2;::::0;::::2;::::0;6054:18:15;;8289:47:1::2;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:63;;8281:132;;;::::0;-1:-1:-1;;;8281:132:1;;6418:2:15;8281:132:1::2;::::0;::::2;6400:21:15::0;6457:2;6437:18;;;6430:30;6496:34;6476:18;;;6469:62;6567:26;6547:18;;;6540:54;6611:19;;8281:132:1::2;6216:420:15::0;8281:132:1::2;8433:64;::::0;-1:-1:-1;;;8433:64:1;;8457:10:::2;8433:64;::::0;::::2;6881:34:15::0;8477:4:1::2;6931:18:15::0;;;6924:43;6983:18;;;6976:34;;;-1:-1:-1;;;;;8433:23:1;::::2;::::0;::::2;::::0;6816:18:15;;8433:64:1::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;8532:37:1::2;::::0;-1:-1:-1;;;8532:37:1;;::::2;::::0;::::2;643:25:15::0;;;8510:19:1::2;::::0;-1:-1:-1;;;;;8532:23:1;::::2;::::0;::::2;::::0;616:18:15;;8532:37:1::2;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8580:29;::::0;-1:-1:-1;;;8580:29:1;;::::2;::::0;::::2;643:25:15::0;;;8510:59:1;;-1:-1:-1;;;;;;8580:15:1;::::2;::::0;::::2;::::0;616:18:15;;8580:29:1::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;8620:24;8657:43;;;;;;7235:25:15::0;7223:38;;7286:2;7277:12;;7021:274;8657:43:1::2;;::::0;;;;::::2;-1:-1:-1::0;;8657:43:1;;;;;;;8647:54;;8657:43:::2;8647:54:::0;;::::2;::::0;8712:11:::2;::::0;-1:-1:-1;;;8712:63:1;;::::2;::::0;::::2;4020:25:15::0;;;4061:18;;;4054:34;;;8647:54:1;;-1:-1:-1;;;;;;8712:11:1::2;::::0;:31:::2;::::0;3993:18:15;;8712:63:1::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;8788:51:1::2;::::0;-1:-1:-1;;;8788:51:1;;8812:10:::2;8788:51;::::0;::::2;7474::15::0;7541:18;;;7534:34;;;-1:-1:-1;;;;;8788:23:1;::::2;::::0;-1:-1:-1;8788:23:1::2;::::0;-1:-1:-1;7447:18:15;;8788:51:1::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;8855:55:1::2;::::0;;4020:25:15;;;8894:15:1::2;4076:2:15::0;4061:18;;4054:34;8866:10:1::2;::::0;-1:-1:-1;8855:55:1::2;::::0;-1:-1:-1;3993:18:15;8855:55:1::2;;;;;;;-1:-1:-1::0;;1701:1:9::1;2628:22:::0;;-1:-1:-1;;;;;;;7977:941:1:o;4387:145:7:-;4082:7;4108:12;;;;;;;;;;:22;;;2505:30;2516:4;719:10:11;2505::7;:30::i;:::-;4500:25:::1;4511:4;4517:7;4500:10;:25::i;:::-;4387:145:::0;;;:::o;5404:214::-;-1:-1:-1;;;;;5499:23:7;;719:10:11;5499:23:7;5491:83;;;;-1:-1:-1;;;5491:83:7;;8034:2:15;5491:83:7;;;8016:21:15;8073:2;8053:18;;;8046:30;8112:34;8092:18;;;8085:62;-1:-1:-1;;;8163:18:15;;;8156:45;8218:19;;5491:83:7;7832:411:15;5491:83:7;5585:26;5597:4;5603:7;5585:11;:26::i;:::-;5404:214;;:::o;5270:542:1:-;-1:-1:-1;;;;;;;;;;;2505:30:7;726:25:0;719:10:11;2505::7;:30::i;:::-;3400:17:1::1;3430:30;;;;;;;:::i;:::-;;::::0;;;;::::1;-1:-1:-1::0;;3430:30:1;;;;;;;3420:41;;3430:30:::1;3420:41:::0;;::::1;::::0;3483:11:::1;::::0;-1:-1:-1;;;3483:37:1;;::::1;::::0;::::1;643:25:15::0;;;3420:41:1;;-1:-1:-1;;;;;;3483:11:1::1;::::0;:26:::1;::::0;616:18:15;;3483:37:1::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3482:38;3474:78;;;::::0;-1:-1:-1;;;3474:78:1;;8450:2:15;3474:78:1::1;::::0;::::1;8432:21:15::0;8489:2;8469:18;;;8462:30;8528:29;8508:18;;;8501:57;8575:18;;3474:78:1::1;8248:351:15::0;3474:78:1::1;5360:40:::2;5426:35;;;;;;;;;;;;;;-1:-1:-1::0;;;5426:35:1::2;;::::0;:18:::2;:35::i;:::-;5360:102;;5483:26;5522:35;;;;;;-1:-1:-1::0;;;8806:30:15;;8861:2;8852:12;;8604:266;5522:35:1::2;;;;;;;;;;;;;5512:46;;;;;;5483:75;;5586:20;5609;:18;:20::i;:::-;5586:43;;5640:20;5724:5;5705:15;5663:17;-1:-1:-1::0;;;;;5663:37:1::2;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:57;;;;:::i;:::-;:67;;;;:::i;:::-;5741:11;::::0;:63:::2;::::0;-1:-1:-1;;;5741:63:1;;::::2;::::0;::::2;4020:25:15::0;;;4061:18;;;4054:34;;;5640:90:1;;-1:-1:-1;;;;;;5741:11:1::2;::::0;:26:::2;::::0;3993:18:15;;5741:63:1::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;5349:463;;;;3389:181:::1;5270:542:::0;:::o;1998:172:0:-;2072:4:7;2505:30;2072:4;719:10:11;2505::7;:30::i;:::-;2088:33:0::1;-1:-1:-1::0;;;;;;;;;;;2112:8:0::1;2088:9;:33::i;:::-;2137:25;::::0;-1:-1:-1;;;;;2137:25:0;::::1;::::0;::::1;::::0;;;::::1;1998:172:::0;;:::o;5239:585::-;-1:-1:-1;;;;;;;;;;;2505:30:7;726:25:0;719:10:11;2505::7;:30::i;:::-;5360:37:0::1;::::0;-1:-1:-1;;;5360:37:0::1;::::0;::::1;9472:32:15::0;5326:21:0::1;::::0;9520:12:15;;5360:37:0::1;::::0;;-1:-1:-1;;5360:37:0;;::::1;::::0;;;;;;;5350:48;;5360:37:::1;5350:48:::0;;::::1;::::0;5418:11:::1;::::0;5350:48;;-1:-1:-1;;;;;;5418:11:0::1;::::0;:26:::1;::::0;5455:30:::1;::::0;::::1;;:::i;:::-;;;;;;;;;;;;;5445:41;;;;;;5418:69;;;;;;;;;;;;;643:25:15::0;;631:2;616:18;;497:177;5418:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5417:70;5409:112;;;;-1:-1:-1::0;;;5409:112:0::1;;;;;;;:::i;:::-;5540:11;::::0;:41:::1;::::0;-1:-1:-1;;;5540:41:0;;::::1;::::0;::::1;643:25:15::0;;;5584:12:0;;-1:-1:-1;;;;;5540:11:0::1;::::0;:26:::1;::::0;616:18:15;;5540:41:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;5532:131;;;::::0;-1:-1:-1;;;5532:131:0;;9745:2:15;5532:131:0::1;::::0;::::1;9727:21:15::0;9784:2;9764:18;;;9757:30;9823:34;9803:18;;;9796:62;9894:32;9874:18;;;9867:60;9944:19;;5532:131:0::1;9543:426:15::0;5532:131:0::1;5716:35;::::0;-1:-1:-1;;;5716:35:0::1;::::0;::::1;10176:30:15::0;5684:19:0::1;::::0;10222:12:15;;5716:35:0::1;::::0;;;;::::1;-1:-1:-1::0;;5716:35:0;;;;;;;5706:46;;5716:35:::1;5706:46:::0;;::::1;::::0;5763:11:::1;::::0;-1:-1:-1;;;5763:53:0;;::::1;::::0;::::1;4020:25:15::0;;;4061:18;;;4054:34;;;5706:46:0;;-1:-1:-1;;;;;;5763:11:0::1;::::0;:26:::1;::::0;3993:18:15;;5763:53:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;5315:509;;5239:585:::0;;:::o;7002:195::-;7052:4;7068:18;7099:33;;;;;;-1:-1:-1;;;10447:28:15;;10500:2;10491:12;;10245:264;3713:351:0;-1:-1:-1;;;;;;;;;;;2505:30:7;726:25:0;719:10:11;2505::7;:30::i;:::-;3812:11:0::1;::::0;3849:30:::1;::::0;-1:-1:-1;;;;;3812:11:0;;::::1;::::0;:26:::1;::::0;3849:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;3839:41;;;;;;3812:69;;;;;;;;;;;;;643:25:15::0;;631:2;616:18;;497:177;3812:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3811:70;3803:112;;;;-1:-1:-1::0;;;3803:112:0::1;;;;;;;:::i;:::-;3957:33;::::0;-1:-1:-1;;;3957:33:0::1;::::0;::::1;10447:28:15::0;3926:18:0::1;::::0;10491:12:15;;3957:33:0::1;10245:264:15::0;8926:272:1;8978:7;8997:18;9028:50;;;;;;-1:-1:-1;;;10817:31:15;;-1:-1:-1;;;10873:2:15;10864:12;;10857:34;10916:2;10907:12;;10514:411;9028:50:1;;;;;;;-1:-1:-1;;9028:50:1;;;;;;;9018:61;;9028:50;9018:61;;;;9116:11;;-1:-1:-1;;;9116:41:1;;;;;643:25:15;;;9018:61:1;;-1:-1:-1;9090:23:1;;-1:-1:-1;;;;;9116:11:1;;;;:29;;616:18:15;;9116:41:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;9090:67;8926:272;-1:-1:-1;;;8926:272:1:o;7640:199:0:-;7690:4;7706:19;7738:35;;;;;;-1:-1:-1;;;10176:30:15;;10231:2;10222:12;;9974:266;4761:362:0;-1:-1:-1;;;;;;;;;;;2505:30:7;726:25:0;719:10:11;2505::7;:30::i;:::-;4861:11:0::1;::::0;4898:30:::1;::::0;-1:-1:-1;;;;;4861:11:0;;::::1;::::0;:26:::1;::::0;4898:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;4888:41;;;;;;4861:69;;;;;;;;;;;;;643:25:15::0;;631:2;616:18;;497:177;4861:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4860:70;4852:112;;;;-1:-1:-1::0;;;4852:112:0::1;;;;;;;:::i;:::-;5009:37;::::0;-1:-1:-1;;;5009:37:0::1;::::0;::::1;9472:32:15::0;4975:21:0::1;::::0;9520:12:15;;5009:37:0::1;9270:268:15::0;7205:212:0;7255:4;7271:21;7305:44;;;;;;-1:-1:-1;;;11388:39:15;;11452:2;11443:12;;11186:275;6317:268:0;6367:7;6386:18;6417:48;;;;;;-1:-1:-1;;;11769:31:15;;-1:-1:-1;;;11825:2:15;11816:12;;11809:32;11866:2;11857:12;;11466:409;2909:145:7;2995:4;3018:12;;;;;;;;;;;-1:-1:-1;;;;;3018:29:7;;;;;;;;;;;;;;;2909:145::o;5878:236:1:-;5951:4;-1:-1:-1;;;;;;;;;;;2505:30:7;726:25:0;719:10:11;2505::7;:30::i;:::-;6006:35:1::1;::::0;-1:-1:-1;;;6006:35:1::1;::::0;::::1;8806:30:15::0;5967:26:1::1;::::0;8852:12:15;;6006:35:1::1;::::0;;;;::::1;-1:-1:-1::0;;6006:35:1;;;;;;;5996:46;;6006:35:::1;5996:46:::0;;::::1;::::0;6060:11:::1;::::0;-1:-1:-1;;;6060:46:1;;::::1;::::0;::::1;643:25:15::0;;;5996:46:1;;-1:-1:-1;;;;;;6060:11:1::1;::::0;:26:::1;::::0;616:18:15;;6060:46:1::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6053:53;;;5878:236:::0;;:::o;2965:198:0:-;-1:-1:-1;;;;;;;;;;;2505:30:7;726:25:0;719:10:11;2505::7;:30::i;:::-;3039:17:0::1;3069:30;;;;;;;:::i;:::-;;::::0;;;;::::1;-1:-1:-1::0;;3069:30:0;;;;;;;3059:41;;3069:30:::1;3059:41:::0;;::::1;::::0;3111:11:::1;::::0;-1:-1:-1;;;3111:44:0;;::::1;::::0;::::1;12048:25:15::0;;;12116:14;;12109:22;12089:18;;;12082:50;3059:41:0;;-1:-1:-1;;;;;;3111:11:0::1;::::0;:26:::1;::::0;12021:18:15;;3111:44:0::1;11880:258:15::0;4271:372:0;-1:-1:-1;;;;;;;;;;;2505:30:7;726:25:0;719:10:11;2505::7;:30::i;:::-;4372:11:0::1;::::0;4409:30:::1;::::0;-1:-1:-1;;;;;4372:11:0;;::::1;::::0;:26:::1;::::0;4409:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;4399:41;;;;;;4372:69;;;;;;;;;;;;;643:25:15::0;;631:2;616:18;;497:177;4372:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4371:70;4363:112;;;;-1:-1:-1::0;;;4363:112:0::1;;;;;;;:::i;:::-;4520:44;::::0;-1:-1:-1;;;4520:44:0::1;::::0;::::1;11388:39:15::0;4486:21:0::1;::::0;11443:12:15;;4520:44:0::1;11186:275:15::0;4417:487:1;1100:28;1150:31;;;;;;;;;;;;;;-1:-1:-1;;;1150:31:1;;;:18;:31::i;:::-;1100:82;;1193:17;1223:30;;;;;;;:::i;:::-;;;;;;;;;;;;;1213:41;;;;;;1193:61;;1265:18;1296:33;;;;;;-1:-1:-1;;;10447:28:15;;10500:2;10491:12;;10245:264;1296:33:1;;;;;;;;;;;;;1286:44;;;;;;1265:65;;1341:21;1375:44;;;;;;-1:-1:-1;;;11388:39:15;;11452:2;11443:12;;11186:275;1375:44:1;;;;;;;;;;;;;1365:55;;;;;;1341:79;;1431:21;1465:37;;;;;;-1:-1:-1;;;9472:32:15;;9529:2;9520:12;;9270:268;1465:37:1;;;;;;;;;;;;;1455:48;;;;;;1431:72;;1514:19;1546:35;;;;;;-1:-1:-1;;;10176:30:15;;10231:2;10222:12;;9974:266;1546:35:1;;;;;;;;;;;;;1536:46;;;;;;1514:68;;1593:22;1628:31;;;;;;-1:-1:-1;;;2718:26:15;;2769:2;2760:12;;2516:262;1628:31:1;;;;-1:-1:-1;;1628:31:1;;;;;;;;;;1618:42;;1628:31;1618:42;;;;-1:-1:-1;;;1707:52:1;;;12373:35:15;;;;-1:-1:-1;;1748:10:1;12446:2:15;12442:15;12438:53;12424:12;;;12417:75;1618:42:1;-1:-1:-1;1671:23:1;;12508:12:15;;1707:52:1;;;;;;-1:-1:-1;;1707:52:1;;;;;;;1697:63;;1707:52;1697:63;;;;1790:11;;-1:-1:-1;;;1790:43:1;;;;;643:25:15;;;1697:63:1;;-1:-1:-1;1771:15:1;;1836:9;;-1:-1:-1;;;;;1790:11:1;;:26;;616:18:15;;1790:43:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:55;;;;:::i;:::-;1874:11;;:38;;-1:-1:-1;;;1874:38:1;;;;;643:25:15;;;1771:74:1;;-1:-1:-1;;;;;;1874:11:1;;:26;;616:18:15;;1874:38:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1866:96;;;;-1:-1:-1;;;1866:96:1;;12866:2:15;1866:96:1;;;12848:21:15;12905:2;12885:18;;;12878:30;12944:34;12924:18;;;12917:62;-1:-1:-1;;;12995:18:15;;;12988:38;13043:19;;1866:96:1;12664:404:15;1866:96:1;1981:11;;:41;;-1:-1:-1;;;1981:41:1;;;;;643:25:15;;;-1:-1:-1;;;;;1981:11:1;;;;:26;;616:18:15;;1981:41:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1973:97;;;;-1:-1:-1;;;1973:97:1;;13275:2:15;1973:97:1;;;13257:21:15;13314:2;13294:18;;;13287:30;13353:34;13333:18;;;13326:62;-1:-1:-1;;;13404:18:15;;;13397:35;13449:19;;1973:97:1;13073:401:15;1973:97:1;2089:11;;:41;;-1:-1:-1;;;2089:41:1;;;;;643:25:15;;;-1:-1:-1;;;;;2089:11:1;;;;:26;;616:18:15;;2089:41:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2081:102;;;;-1:-1:-1;;;2081:102:1;;13681:2:15;2081:102:1;;;13663:21:15;13720:2;13700:18;;;13693:30;13759:34;13739:18;;;13732:62;-1:-1:-1;;;13810:18:15;;;13803:41;13861:19;;2081:102:1;13479:407:15;2081:102:1;2216:11;;:41;;-1:-1:-1;;;2216:41:1;;;;;643:25:15;;;-1:-1:-1;;;;;2216:11:1;;;;:26;;616:18:15;;2216:41:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2202:10;:55;;2194:109;;;;-1:-1:-1;;;2194:109:1;;14093:2:15;2194:109:1;;;14075:21:15;14132:2;14112:18;;;14105:30;14171:34;14151:18;;;14144:62;-1:-1:-1;;;14222:18:15;;;14215:39;14271:19;;2194:109:1;13891:405:15;2194:109:1;2322:11;;:39;;-1:-1:-1;;;2322:39:1;;;;;643:25:15;;;2365:9:1;;-1:-1:-1;;;;;2322:11:1;;:26;;616:18:15;;2322:39:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:52;;2314:145;;;;-1:-1:-1;;;2314:145:1;;14503:2:15;2314:145:1;;;14485:21:15;14542:2;14522:18;;;14515:30;14581:34;14561:18;;;14554:62;14652:34;14632:18;;;14625:62;-1:-1:-1;;;14703:19:15;;;14696:47;14760:19;;2314:145:1;14301:484:15;2314:145:1;2519:11;;:42;;-1:-1:-1;;;2519:42:1;;;;;643:25:15;;;-1:-1:-1;;;;;2519:11:1;;;;:26;;616:18:15;;2519:42:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2506:9;2478;-1:-1:-1;;;;;2478:23:1;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:37;;;;:::i;:::-;:83;;2470:148;;;;-1:-1:-1;;;2470:148:1;;14992:2:15;2470:148:1;;;14974:21:15;15031:2;15011:18;;;15004:30;15070:34;15050:18;;;15043:62;-1:-1:-1;;;15121:18:15;;;15114:50;15181:19;;2470:148:1;14790:416:15;2470:148:1;1744:1:9::1;2325:7;;:19;;2317:63;;;::::0;-1:-1:-1;;;2317:63:9;;5749:2:15;2317:63:9::1;::::0;::::1;5731:21:15::0;5788:2;5768:18;;;5761:30;5827:33;5807:18;;;5800:61;5878:18;;2317:63:9::1;5547:355:15::0;2317:63:9::1;1744:1;2455:7;:18:::0;4552:32:1::2;::::0;;;;::::2;::::0;;;::::2;::::0;;-1:-1:-1;;;4552:32:1::2;::::0;::::2;::::0;4499:30:::2;::::0;4552:32:::2;::::0;:18:::2;:32::i;:::-;4596:38;::::0;-1:-1:-1;;;4596:38:1;;4612:10:::2;4596:38;::::0;::::2;7474:51:15::0;4624:9:1::2;7541:18:15::0;;;7534:34;4499:86:1;;-1:-1:-1;;;;;;4596:15:1;::::2;::::0;::::2;::::0;7447:18:15;;4596:38:1::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;4647:27;4687:37;;;;;;-1:-1:-1::0;;;15413:32:15;;15470:2;15461:12;;15211:268;4687:37:1::2;;::::0;;;;::::2;-1:-1:-1::0;;4687:37:1;;;;;;;4677:48;;4687:37:::2;4677:48:::0;;::::2;::::0;4736:11:::2;::::0;-1:-1:-1;;;4736:63:1;;::::2;::::0;::::2;4020:25:15::0;;;4789:9:1::2;4061:18:15::0;;;4054:34;4677:48:1;;-1:-1:-1;;;;;;4736:11:1::2;::::0;:31:::2;::::0;3993:18:15;;4736:63:1::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;4817:51:1::2;::::0;;4840:9:::2;4020:25:15::0;;4852:15:1::2;4076:2:15::0;4061:18;;4054:34;4828:10:1::2;::::0;-1:-1:-1;4817:51:1::2;::::0;-1:-1:-1;3993:18:15;4817:51:1::2;;;;;;;4879:17;:15;:17::i;:::-;-1:-1:-1::0;;1701:1:9::1;2628:22:::0;;-1:-1:-1;;;;;;;;;4417:487:1:o;4766:147:7:-;4082:7;4108:12;;;;;;;;;;:22;;;2505:30;2516:4;719:10:11;2505::7;:30::i;:::-;4880:26:::1;4892:4;4898:7;4880:11;:26::i;6582:949:1:-:0;-1:-1:-1;;;;;;;;;;;2505:30:7;726:25:0;719:10:11;2505::7;:30::i;:::-;3400:17:1::1;3430:30;;;;;;;:::i;:::-;;::::0;;;;::::1;-1:-1:-1::0;;3430:30:1;;;;;;;3420:41;;3430:30:::1;3420:41:::0;;::::1;::::0;3483:11:::1;::::0;-1:-1:-1;;;3483:37:1;;::::1;::::0;::::1;643:25:15::0;;;3420:41:1;;-1:-1:-1;;;;;;3483:11:1::1;::::0;:26:::1;::::0;616:18:15;;3483:37:1::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3482:38;3474:78;;;::::0;-1:-1:-1;;;3474:78:1;;8450:2:15;3474:78:1::1;::::0;::::1;8432:21:15::0;8489:2;8469:18;;;8462:30;8528:29;8508:18;;;8501:57;8575:18;;3474:78:1::1;8248:351:15::0;3474:78:1::1;6700:20:::2;:18;:20::i;:::-;6687:9;:33;6679:78;;;::::0;-1:-1:-1;;;6679:78:1;;15686:2:15;6679:78:1::2;::::0;::::2;15668:21:15::0;;;15705:18;;;15698:30;15764:34;15744:18;;;15737:62;15816:18;;6679:78:1::2;15484:356:15::0;6679:78:1::2;6768:28;6818:31;;;;;;;;;;;;;;-1:-1:-1::0;;;6818:31:1::2;;::::0;:18:::2;:31::i;:::-;6768:82;;6863:25;6901:34;;;;;;-1:-1:-1::0;;;16047:29:15;;16101:2;16092:12;;15845:265;6901:34:1::2;;;;;;;;;;;;;6891:45;;;;;;6863:73;;6947:31;6991:40;;;;;;-1:-1:-1::0;;;16317:35:15;;16377:2;16368:12;;16115:271;6991:40:1::2;;;;;;;;;;;;;6981:51;;;;;;6947:85;;7046:27;7086:37;;;;;;-1:-1:-1::0;;;15413:32:15;;15470:2;15461:12;;15211:268;7086:37:1::2;;::::0;;;;::::2;-1:-1:-1::0;;7086:37:1;;;;;;;7076:48;;7086:37:::2;7076:48:::0;;::::2;::::0;7155:11:::2;::::0;-1:-1:-1;;;7155:62:1;;::::2;::::0;::::2;4020:25:15::0;;;7201:15:1::2;4061:18:15::0;;;4054:34;7076:48:1;;-1:-1:-1;;;;;;7155:11:1::2;::::0;:26:::2;::::0;3993:18:15;;7155:62:1::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;7228:11:1::2;::::0;:67:::2;::::0;-1:-1:-1;;;7228:67:1;;::::2;::::0;::::2;4020:25:15::0;;;7285:9:1::2;4061:18:15::0;;;4054:34;-1:-1:-1;;;;;7228:11:1;;::::2;::::0;-1:-1:-1;7228:31:1::2;::::0;-1:-1:-1;3993:18:15;;7228:67:1::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;7306:11:1::2;::::0;:63:::2;::::0;-1:-1:-1;;;7306:63:1;;::::2;::::0;::::2;4020:25:15::0;;;7359:9:1::2;4061:18:15::0;;;4054:34;-1:-1:-1;;;;;7306:11:1;;::::2;::::0;-1:-1:-1;7306:31:1::2;::::0;-1:-1:-1;3993:18:15;;7306:63:1::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;7390:9;-1:-1:-1::0;;;;;7390:24:1::2;;7422:9;7390:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;7466:11:1::2;::::0;:45:::2;::::0;-1:-1:-1;;;7466:45:1;;::::2;::::0;::::2;643:25:15::0;;;7450:73:1::2;::::0;-1:-1:-1;;;;;;7466:11:1;;::::2;::::0;-1:-1:-1;7466:26:1::2;::::0;-1:-1:-1;616:18:15;;7466:45:1::2;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7450:73;::::0;;4020:25:15;;;7513:9:1::2;4076:2:15::0;4061:18;;4054:34;3993:18;7450:73:1::2;;;;;;;6668:863;;;;3389:181:::1;6582:949:::0;:::o;7425:207:0:-;7477:4;7493:21;7527:37;;;;;;-1:-1:-1;;;9472:32:15;;9529:2;9520:12;;9270:268;3335:492:7;3423:22;3431:4;3437:7;3423;:22::i;:::-;3418:403;;3606:41;3634:7;-1:-1:-1;;;;;3606:41:7;3644:2;3606:19;:41::i;:::-;3718:38;3746:4;3753:2;3718:19;:38::i;:::-;3513:265;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3513:265:7;;;;;;;;;;-1:-1:-1;;;3461:349:7;;;;;;;:::i;5927:382:0:-;6006:7;6025:18;6093:13;6056:51;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;6056:51:0;;;;;;;6046:62;;6056:51;6046:62;;;;6145:11;;-1:-1:-1;;;6145:41:0;;;;;643:25:15;;;6046:62:0;;-1:-1:-1;6119:23:0;;-1:-1:-1;;;;;6145:11:0;;;;:29;;616:18:15;;6145:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6119:67;-1:-1:-1;;;;;;6205:31:0;;6197:71;;;;-1:-1:-1;;;6197:71:0;;18475:2:15;6197:71:0;;;18457:21:15;18514:2;18494:18;;;18487:30;18553:29;18533:18;;;18526:57;18600:18;;6197:71:0;18273:351:15;6861:233:7;6944:22;6952:4;6958:7;6944;:22::i;:::-;6939:149;;6982:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6982:29:7;;;;;;;;;:36;;-1:-1:-1;;6982:36:7;7014:4;6982:36;;;7064:12;719:10:11;;640:96;7064:12:7;-1:-1:-1;;;;;7037:40:7;7055:7;-1:-1:-1;;;;;7037:40:7;7049:4;7037:40;;;;;;;;;;6861:233;;:::o;7219:234::-;7302:22;7310:4;7316:7;7302;:22::i;:::-;7298:149;;;7372:5;7340:12;;;;;;;;;;;-1:-1:-1;;;;;7340:29:7;;;;;;;;;;:37;;-1:-1:-1;;7340:37:7;;;7396:40;719:10:11;;7340:12:7;;7396:40;;7372:5;7396:40;7219:234;;:::o;4967:187:1:-;5013:28;5063:31;;;;;;;;;;;;;;-1:-1:-1;;;5063:31:1;;;:18;:31::i;:::-;5013:82;;5106:9;-1:-1:-1;;;;;5106:20:1;;5134:9;5106:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5002:152;4967:187::o;1588:441:12:-;1663:13;1688:19;1720:10;1724:6;1720:1;:10;:::i;:::-;:14;;1733:1;1720:14;:::i;:::-;1710:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1710:25:12;;1688:47;;-1:-1:-1;;;1745:6:12;1752:1;1745:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1745:15:12;;;;;;;;;-1:-1:-1;;;1770:6:12;1777:1;1770:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1770:15:12;;;;;;;;-1:-1:-1;1800:9:12;1812:10;1816:6;1812:1;:10;:::i;:::-;:14;;1825:1;1812:14;:::i;:::-;1800:26;;1795:132;1832:1;1828;:5;1795:132;;;-1:-1:-1;;;1879:5:12;1887:3;1879:11;1866:25;;;;;;;:::i;:::-;;;;1854:6;1861:1;1854:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;1854:37:12;;;;;;;;-1:-1:-1;1915:1:12;1905:11;;;;;1835:3;;;:::i;:::-;;;1795:132;;;-1:-1:-1;1944:10:12;;1936:55;;;;-1:-1:-1;;;1936:55:12;;19236:2:15;1936:55:12;;;19218:21:15;;;19255:18;;;19248:30;19314:34;19294:18;;;19287:62;19366:18;;1936:55:12;19034:356:15;14:286;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:15;;209:43;;199:71;;266:1;263;256:12;679:180;738:6;791:2;779:9;770:7;766:23;762:32;759:52;;;807:1;804;797:12;759:52;-1:-1:-1;830:23:15;;679:180;-1:-1:-1;679:180:15:o;1231:131::-;-1:-1:-1;;;;;1306:31:15;;1296:42;;1286:70;;1352:1;1349;1342:12;1286:70;1231:131;:::o;1367:247::-;1426:6;1479:2;1467:9;1458:7;1454:23;1450:32;1447:52;;;1495:1;1492;1485:12;1447:52;1534:9;1521:23;1553:31;1578:5;1553:31;:::i;1619:315::-;1687:6;1695;1748:2;1736:9;1727:7;1723:23;1719:32;1716:52;;;1764:1;1761;1754:12;1716:52;1800:9;1787:23;1777:33;;1860:2;1849:9;1845:18;1832:32;1873:31;1898:5;1873:31;:::i;:::-;1923:5;1913:15;;;1619:315;;;;;:::o;2147:118::-;2233:5;2226:13;2219:21;2212:5;2209:32;2199:60;;2255:1;2252;2245:12;2270:241;2326:6;2379:2;2367:9;2358:7;2354:23;2350:32;2347:52;;;2395:1;2392;2385:12;2347:52;2434:9;2421:23;2453:28;2475:5;2453:28;:::i;2783:184::-;2853:6;2906:2;2894:9;2885:7;2881:23;2877:32;2874:52;;;2922:1;2919;2912:12;2874:52;-1:-1:-1;2945:16:15;;2783:184;-1:-1:-1;2783:184:15:o;2972:261::-;-1:-1:-1;;;3174:25:15;;3224:2;3215:12;;2972:261::o;3238:245::-;3305:6;3358:2;3346:9;3337:7;3333:23;3329:32;3326:52;;;3374:1;3371;3364:12;3326:52;3406:9;3400:16;3425:28;3447:5;3425:28;:::i;3488:353::-;3690:2;3672:21;;;3729:2;3709:18;;;3702:30;3768:31;3763:2;3748:18;;3741:59;3832:2;3817:18;;3488:353::o;4521:127::-;4582:10;4577:3;4573:20;4570:1;4563:31;4613:4;4610:1;4603:15;4637:4;4634:1;4627:15;4653:125;4693:4;4721:1;4718;4715:8;4712:34;;;4726:18;;:::i;:::-;-1:-1:-1;4763:9:15;;4653:125::o;8875:168::-;8915:7;8981:1;8977;8973:6;8969:14;8966:1;8963:21;8958:1;8951:9;8944:17;8940:45;8937:71;;;8988:18;;:::i;:::-;-1:-1:-1;9028:9:15;;8875:168::o;9048:217::-;9088:1;9114;9104:132;;9158:10;9153:3;9149:20;9146:1;9139:31;9193:4;9190:1;9183:15;9221:4;9218:1;9211:15;9104:132;-1:-1:-1;9250:9:15;;9048:217::o;10930:251::-;11000:6;11053:2;11041:9;11032:7;11028:23;11024:32;11021:52;;;11069:1;11066;11059:12;11021:52;11101:9;11095:16;11120:31;11145:5;11120:31;:::i;12531:128::-;12571:3;12602:1;12598:6;12595:1;12592:13;12589:39;;;12608:18;;:::i;:::-;-1:-1:-1;12644:9:15;;12531:128::o;16391:258::-;16463:1;16473:113;16487:6;16484:1;16481:13;16473:113;;;16563:11;;;16557:18;16544:11;;;16537:39;16509:2;16502:10;16473:113;;;16604:6;16601:1;16598:13;16595:48;;;16639:1;16630:6;16625:3;16621:16;16614:27;16595:48;;16391:258;;;:::o;16654:786::-;17065:25;17060:3;17053:38;17035:3;17120:6;17114:13;17136:62;17191:6;17186:2;17181:3;17177:12;17170:4;17162:6;17158:17;17136:62;:::i;:::-;-1:-1:-1;;;17257:2:15;17217:16;;;17249:11;;;17242:40;17307:13;;17329:63;17307:13;17378:2;17370:11;;17363:4;17351:17;;17329:63;:::i;:::-;17412:17;17431:2;17408:26;;16654:786;-1:-1:-1;;;;16654:786:15:o;17445:383::-;17594:2;17583:9;17576:21;17557:4;17626:6;17620:13;17669:6;17664:2;17653:9;17649:18;17642:34;17685:66;17744:6;17739:2;17728:9;17724:18;17719:2;17711:6;17707:15;17685:66;:::i;:::-;17812:2;17791:15;-1:-1:-1;;17787:29:15;17772:45;;;;17819:2;17768:54;;17445:383;-1:-1:-1;;17445:383:15:o;17833:435::-;-1:-1:-1;;;18090:3:15;18083:31;18065:3;18143:6;18137:13;18159:62;18214:6;18209:2;18204:3;18200:12;18193:4;18185:6;18181:17;18159:62;:::i;:::-;18241:16;;;;18259:2;18237:25;;17833:435;-1:-1:-1;;17833:435:15:o;18629:127::-;18690:10;18685:3;18681:20;18678:1;18671:31;18721:4;18718:1;18711:15;18745:4;18742:1;18735:15;18761:127;18822:10;18817:3;18813:20;18810:1;18803:31;18853:4;18850:1;18843:15;18877:4;18874:1;18867:15;18893:136;18932:3;18960:5;18950:39;;18969:18;;:::i;:::-;-1:-1:-1;;;19005:18:15;;18893:136::o", + "sourcePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolClient.sol", + "compiler": { + "name": "solc", + "version": "0.8.9+commit.e5eed63a" + }, + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolClient.sol", + "exportedSymbols": { + "AccessControl": [ + 1834 + ], + "Context": [ + 2047 + ], + "DataStorageInterface": [ + 1393 + ], + "ERC165": [ + 2274 + ], + "IAccessControl": [ + 1907 + ], + "IERC165": [ + 2286 + ], + "IERC20": [ + 2025 + ], + "PoolBase": [ + 591 + ], + "PoolClient": [ + 1293 + ], + "PoolClientInterface": [ + 1417 + ], + "PoolVaultInterface": [ + 1443 + ], + "ReentrancyGuard": [ + 1947 + ], + "Strings": [ + 2250 + ], + "TokenBalancesInterface": [ + 1478 + ], + "rwETHTokenInterface": [ + 1525 + ] + }, + "id": 1294, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 593, + "literals": [ + "solidity", + "0.8", + ".9" + ], + "nodeType": "PragmaDirective", + "src": "33:22:1" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol", + "file": "./PoolBase.sol", + "id": 594, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1294, + "sourceUnit": 592, + "src": "431:24:1", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/rwETHTokenInterface.sol", + "file": "./interfaces/rwETHTokenInterface.sol", + "id": 595, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1294, + "sourceUnit": 1526, + "src": "457:46:1", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/PoolClientInterface.sol", + "file": "./interfaces/PoolClientInterface.sol", + "id": 596, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1294, + "sourceUnit": 1418, + "src": "505:46:1", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/TokenBalancesInterface.sol", + "file": "./interfaces/TokenBalancesInterface.sol", + "id": 597, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1294, + "sourceUnit": 1479, + "src": "553:49:1", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/PoolVaultInterface.sol", + "file": "./interfaces/PoolVaultInterface.sol", + "id": 598, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1294, + "sourceUnit": 1444, + "src": "604:45:1", + "symbolAliases": [], + "unitAlias": "" + }, + { + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 599, + "name": "PoolBase", + "nodeType": "IdentifierPath", + "referencedDeclaration": 591, + "src": "676:8:1" + }, + "id": 600, + "nodeType": "InheritanceSpecifier", + "src": "676:8:1" + } + ], + "canonicalName": "PoolClient", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "id": 1293, + "linearizedBaseContracts": [ + 1293, + 591, + 1947, + 1834, + 2274, + 2286, + 1907, + 2047 + ], + "name": "PoolClient", + "nameLocation": "662:10:1", + "nodeType": "ContractDefinition", + "nodes": [ + { + "anonymous": false, + "id": 608, + "name": "UserStaked", + "nameLocation": "700:10:1", + "nodeType": "EventDefinition", + "parameters": { + "id": 607, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 602, + "indexed": true, + "mutability": "mutable", + "name": "_staker", + "nameLocation": "727:7:1", + "nodeType": "VariableDeclaration", + "scope": 608, + "src": "711:23:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 601, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "711:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 604, + "indexed": false, + "mutability": "mutable", + "name": "_ethAmount", + "nameLocation": "741:10:1", + "nodeType": "VariableDeclaration", + "scope": 608, + "src": "736:15:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 603, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "736:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 606, + "indexed": false, + "mutability": "mutable", + "name": "_time", + "nameLocation": "758:5:1", + "nodeType": "VariableDeclaration", + "scope": 608, + "src": "753:10:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 605, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "753:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "710:54:1" + }, + "src": "694:71:1" + }, + { + "anonymous": false, + "id": 614, + "name": "RewardsInjected", + "nameLocation": "777:15:1", + "nodeType": "EventDefinition", + "parameters": { + "id": 613, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 610, + "indexed": false, + "mutability": "mutable", + "name": "_lastRewardTime", + "nameLocation": "798:15:1", + "nodeType": "VariableDeclaration", + "scope": 614, + "src": "793:20:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 609, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "793:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 612, + "indexed": false, + "mutability": "mutable", + "name": "_amountInjected", + "nameLocation": "820:15:1", + "nodeType": "VariableDeclaration", + "scope": 614, + "src": "815:20:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 611, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "815:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "792:44:1" + }, + "src": "771:66:1" + }, + { + "anonymous": false, + "id": 622, + "name": "UserUnstaked", + "nameLocation": "849:12:1", + "nodeType": "EventDefinition", + "parameters": { + "id": 621, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 616, + "indexed": true, + "mutability": "mutable", + "name": "_unstaker", + "nameLocation": "878:9:1", + "nodeType": "VariableDeclaration", + "scope": 622, + "src": "862:25:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 615, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "862:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 618, + "indexed": false, + "mutability": "mutable", + "name": "_ethAmount", + "nameLocation": "894:10:1", + "nodeType": "VariableDeclaration", + "scope": 622, + "src": "889:15:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 617, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "889:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 620, + "indexed": false, + "mutability": "mutable", + "name": "_time", + "nameLocation": "911:5:1", + "nodeType": "VariableDeclaration", + "scope": 622, + "src": "906:10:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 619, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "906:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "861:56:1" + }, + "src": "843:75:1" + }, + { + "body": { + "id": 634, + "nodeType": "Block", + "src": "1010:42:1", + "statements": [ + { + "expression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 631, + "name": "_setPoolClientAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 914, + "src": "1021:21:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", + "typeString": "function ()" + } + }, + "id": 632, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1021:23:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 633, + "nodeType": "ExpressionStatement", + "src": "1021:23:1" + } + ] + }, + "id": 635, + "implemented": true, + "kind": "constructor", + "modifiers": [ + { + "arguments": [ + { + "id": 628, + "name": "_dataStorageAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 625, + "src": "989:19:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + } + ], + "id": 629, + "kind": "baseConstructorSpecifier", + "modifierName": { + "id": 627, + "name": "PoolBase", + "nodeType": "IdentifierPath", + "referencedDeclaration": 591, + "src": "980:8:1" + }, + "nodeType": "ModifierInvocation", + "src": "980:29:1" + } + ], + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 626, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 625, + "mutability": "mutable", + "name": "_dataStorageAddress", + "nameLocation": "959:19:1", + "nodeType": "VariableDeclaration", + "scope": 635, + "src": "938:40:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + }, + "typeName": { + "id": 624, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 623, + "name": "DataStorageInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1393, + "src": "938:20:1" + }, + "referencedDeclaration": 1393, + "src": "938:20:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "visibility": "internal" + } + ], + "src": "937:42:1" + }, + "returnParameters": { + "id": 630, + "nodeType": "ParameterList", + "parameters": [], + "src": "1010:0:1" + }, + "scope": 1293, + "src": "926:126:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 788, + "nodeType": "Block", + "src": "1089:1559:1", + "statements": [ + { + "assignments": [ + 639 + ], + "declarations": [ + { + "constant": false, + "id": 639, + "mutability": "mutable", + "name": "poolVault", + "nameLocation": "1119:9:1", + "nodeType": "VariableDeclaration", + "scope": 788, + "src": "1100:28:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + }, + "typeName": { + "id": 638, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 637, + "name": "PoolVaultInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1443, + "src": "1100:18:1" + }, + "referencedDeclaration": 1443, + "src": "1100:18:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + } + }, + "visibility": "internal" + } + ], + "id": 645, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "506f6f6c5661756c74", + "id": 642, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1169:11:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_a42809ef63a8477a0cc19794440877c6cd527dbf68cffc2d1d864049ac3343dc", + "typeString": "literal_string \"PoolVault\"" + }, + "value": "PoolVault" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_a42809ef63a8477a0cc19794440877c6cd527dbf68cffc2d1d864049ac3343dc", + "typeString": "literal_string \"PoolVault\"" + } + ], + "id": 641, + "name": "getContractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 445, + "src": "1150:18:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$returns$_t_address_$", + "typeString": "function (string memory) view returns (address)" + } + }, + "id": 643, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1150:31:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 640, + "name": "PoolVaultInterface", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1443, + "src": "1131:18:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_PoolVaultInterface_$1443_$", + "typeString": "type(contract PoolVaultInterface)" + } + }, + "id": 644, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1131:51:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1100:82:1" + }, + { + "assignments": [ + 647 + ], + "declarations": [ + { + "constant": false, + "id": 647, + "mutability": "mutable", + "name": "statusTag", + "nameLocation": "1201:9:1", + "nodeType": "VariableDeclaration", + "scope": 788, + "src": "1193:17:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 646, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1193:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 654, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 651, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1240:12:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 649, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1223:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 650, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1223:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 652, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1223:30:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 648, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1213:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 653, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1213:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1193:61:1" + }, + { + "assignments": [ + 656 + ], + "declarations": [ + { + "constant": false, + "id": 656, + "mutability": "mutable", + "name": "daysRewTag", + "nameLocation": "1273:10:1", + "nodeType": "VariableDeclaration", + "scope": 788, + "src": "1265:18:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 655, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1265:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 663, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "64617973546f52657761726473", + "id": 660, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1313:15:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d", + "typeString": "literal_string \"daysToRewards\"" + }, + "value": "daysToRewards" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d", + "typeString": "literal_string \"daysToRewards\"" + } + ], + "expression": { + "id": 658, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1296:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 659, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1296:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 661, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1296:33:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 657, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1286:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 662, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1286:44:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1265:65:1" + }, + { + "assignments": [ + 665 + ], + "declarations": [ + { + "constant": false, + "id": 665, + "mutability": "mutable", + "name": "rewardsIntTag", + "nameLocation": "1349:13:1", + "nodeType": "VariableDeclaration", + "scope": 788, + "src": "1341:21:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 664, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1341:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 672, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "72657761726473496e746572657374506572506572696f64", + "id": 669, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1392:26:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c", + "typeString": "literal_string \"rewardsInterestPerPeriod\"" + }, + "value": "rewardsInterestPerPeriod" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c", + "typeString": "literal_string \"rewardsInterestPerPeriod\"" + } + ], + "expression": { + "id": 667, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1375:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 668, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1375:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 670, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1375:44:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 666, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1365:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 671, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1365:55:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1341:79:1" + }, + { + "assignments": [ + 674 + ], + "declarations": [ + { + "constant": false, + "id": 674, + "mutability": "mutable", + "name": "contrLimitTag", + "nameLocation": "1439:13:1", + "nodeType": "VariableDeclaration", + "scope": 788, + "src": "1431:21:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 673, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1431:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 681, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e747269627574696f6e4c696d6974", + "id": 678, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1482:19:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044", + "typeString": "literal_string \"contributionLimit\"" + }, + "value": "contributionLimit" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044", + "typeString": "literal_string \"contributionLimit\"" + } + ], + "expression": { + "id": 676, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1465:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 677, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1465:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 679, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1465:37:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 675, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1455:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 680, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1455:48:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1431:72:1" + }, + { + "assignments": [ + 683 + ], + "declarations": [ + { + "constant": false, + "id": 683, + "mutability": "mutable", + "name": "minContrTag", + "nameLocation": "1522:11:1", + "nodeType": "VariableDeclaration", + "scope": 788, + "src": "1514:19:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 682, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1514:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 690, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6d696e436f6e747269627574696f6e", + "id": 687, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1563:17:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36", + "typeString": "literal_string \"minContribution\"" + }, + "value": "minContribution" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36", + "typeString": "literal_string \"minContribution\"" + } + ], + "expression": { + "id": 685, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1546:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 686, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1546:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 688, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1546:35:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 684, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1536:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 689, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1536:46:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1514:68:1" + }, + { + "assignments": [ + 692 + ], + "declarations": [ + { + "constant": false, + "id": 692, + "mutability": "mutable", + "name": "poolMaxSizeTag", + "nameLocation": "1601:14:1", + "nodeType": "VariableDeclaration", + "scope": 788, + "src": "1593:22:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 691, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1593:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 699, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "706f6f6c4d617853697a65", + "id": 696, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1645:13:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42", + "typeString": "literal_string \"poolMaxSize\"" + }, + "value": "poolMaxSize" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42", + "typeString": "literal_string \"poolMaxSize\"" + } + ], + "expression": { + "id": 694, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1628:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 695, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1628:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 697, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1628:31:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 693, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1618:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 698, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1618:42:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1593:67:1" + }, + { + "assignments": [ + 701 + ], + "declarations": [ + { + "constant": false, + "id": 701, + "mutability": "mutable", + "name": "stakedByUserTag", + "nameLocation": "1679:15:1", + "nodeType": "VariableDeclaration", + "scope": 788, + "src": "1671:23:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 700, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1671:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 710, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "65746865725f7374616b65645f62795f75736572", + "id": 705, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1724:22:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_d355f88ceab9b2fcbf3199ee016c1d44cd524b771481c3f28e050cb3cd8e89d0", + "typeString": "literal_string \"ether_staked_by_user\"" + }, + "value": "ether_staked_by_user" + }, + { + "expression": { + "id": 706, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1748:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 707, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "1748:10:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_d355f88ceab9b2fcbf3199ee016c1d44cd524b771481c3f28e050cb3cd8e89d0", + "typeString": "literal_string \"ether_staked_by_user\"" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 703, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1707:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 704, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1707:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 708, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1707:52:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 702, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1697:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 709, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1697:63:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1671:89:1" + }, + { + "assignments": [ + 712 + ], + "declarations": [ + { + "constant": false, + "id": 712, + "mutability": "mutable", + "name": "newBalance", + "nameLocation": "1776:10:1", + "nodeType": "VariableDeclaration", + "scope": 788, + "src": "1771:15:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 711, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1771:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 720, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 719, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "id": 715, + "name": "stakedByUserTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 701, + "src": "1817:15:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 713, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "1790:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 714, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1323, + "src": "1790:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 716, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1790:43:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "expression": { + "id": 717, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1836:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 718, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "value", + "nodeType": "MemberAccess", + "src": "1836:9:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1790:55:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1771:74:1" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 727, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "id": 724, + "name": "daysRewTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 656, + "src": "1901:10:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 722, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "1874:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 723, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1323, + "src": "1874:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 725, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1874:38:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "hexValue": "30", + "id": 726, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1916:1:1", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "1874:43:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "546865207465616d206e6565647320746f2073657420612072657761726420696e74657276616c2e", + "id": 728, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1919:42:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_f010fc206434e76995f16ddd63fbbecb124b7157b8b26af4625c4b74913836e2", + "typeString": "literal_string \"The team needs to set a reward interval.\"" + }, + "value": "The team needs to set a reward interval." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_f010fc206434e76995f16ddd63fbbecb124b7157b8b26af4625c4b74913836e2", + "typeString": "literal_string \"The team needs to set a reward interval.\"" + } + ], + "id": 721, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "1866:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 729, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1866:96:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 730, + "nodeType": "ExpressionStatement", + "src": "1866:96:1" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 737, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "id": 734, + "name": "rewardsIntTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 665, + "src": "2008:13:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 732, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "1981:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 733, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1323, + "src": "1981:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 735, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1981:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "hexValue": "30", + "id": 736, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2026:1:1", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "1981:46:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "546865207465616d206e6565647320746f2073657420612072657761726420726174696f2e", + "id": 738, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2030:39:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_80e7e51429895e9428064c782e8e47368b34fff0ea170bfe0f000de92e41742c", + "typeString": "literal_string \"The team needs to set a reward ratio.\"" + }, + "value": "The team needs to set a reward ratio." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_80e7e51429895e9428064c782e8e47368b34fff0ea170bfe0f000de92e41742c", + "typeString": "literal_string \"The team needs to set a reward ratio.\"" + } + ], + "id": 731, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "1973:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 739, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1973:97:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 740, + "nodeType": "ExpressionStatement", + "src": "1973:97:1" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 747, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "id": 744, + "name": "contrLimitTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 674, + "src": "2116:13:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 742, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "2089:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 743, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1323, + "src": "2089:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 745, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2089:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "hexValue": "30", + "id": 746, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2134:1:1", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "2089:46:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "546865207465616d206e6565647320746f20736574206120636f6e747269627574696f6e206c696d69742e", + "id": 748, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2137:45:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_19ad6c976b149899a06f253a5c7ae71e547b11a00cb20a5aadce6eafd514b15c", + "typeString": "literal_string \"The team needs to set a contribution limit.\"" + }, + "value": "The team needs to set a contribution limit." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_19ad6c976b149899a06f253a5c7ae71e547b11a00cb20a5aadce6eafd514b15c", + "typeString": "literal_string \"The team needs to set a contribution limit.\"" + } + ], + "id": 741, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "2081:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 749, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2081:102:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 750, + "nodeType": "ExpressionStatement", + "src": "2081:102:1" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 757, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 752, + "name": "newBalance", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 712, + "src": "2202:10:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<=", + "rightExpression": { + "arguments": [ + { + "id": 755, + "name": "contrLimitTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 674, + "src": "2243:13:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 753, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "2216:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 754, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1323, + "src": "2216:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 756, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2216:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2202:55:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "4d61782e2063757272656e7420636f6e747269627574696f6e206c696d69742065786365656465642e", + "id": 758, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2259:43:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_9fb3116bf034257f53d100885fe342802b7bf9d79ee87529fdfad6cf247408b2", + "typeString": "literal_string \"Max. current contribution limit exceeded.\"" + }, + "value": "Max. current contribution limit exceeded." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_9fb3116bf034257f53d100885fe342802b7bf9d79ee87529fdfad6cf247408b2", + "typeString": "literal_string \"Max. current contribution limit exceeded.\"" + } + ], + "id": 751, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "2194:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 759, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2194:109:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 760, + "nodeType": "ExpressionStatement", + "src": "2194:109:1" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 768, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "id": 764, + "name": "minContrTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 683, + "src": "2349:11:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 762, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "2322:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 763, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1323, + "src": "2322:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 765, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2322:39:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<=", + "rightExpression": { + "expression": { + "id": 766, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "2365:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 767, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "value", + "nodeType": "MemberAccess", + "src": "2365:9:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2322:52:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "56616c756520746f206465706f736974206e6565647320746f20626520686967686572207468616e207468652063757272656e74206d696e696d756d20636f6e747269627574696f6e206c696d69742e", + "id": 769, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2376:82:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_de7afb02a747890df12ae9117ae05d9a0f544d6e9a59c6692a35fb1b30ac411d", + "typeString": "literal_string \"Value to deposit needs to be higher than the current minimum contribution limit.\"" + }, + "value": "Value to deposit needs to be higher than the current minimum contribution limit." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_de7afb02a747890df12ae9117ae05d9a0f544d6e9a59c6692a35fb1b30ac411d", + "typeString": "literal_string \"Value to deposit needs to be higher than the current minimum contribution limit.\"" + } + ], + "id": 761, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "2314:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 770, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2314:145:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 771, + "nodeType": "ExpressionStatement", + "src": "2314:145:1" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 783, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 778, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 773, + "name": "poolVault", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 639, + "src": "2478:9:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + } + }, + "id": 774, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "poolEtherSize", + "nodeType": "MemberAccess", + "referencedDeclaration": 1424, + "src": "2478:23:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", + "typeString": "function () view external returns (uint256)" + } + }, + "id": 775, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2478:25:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "expression": { + "id": 776, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "2506:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 777, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "value", + "nodeType": "MemberAccess", + "src": "2506:9:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2478:37:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<=", + "rightExpression": { + "arguments": [ + { + "id": 781, + "name": "poolMaxSizeTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 692, + "src": "2546:14:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 779, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "2519:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 780, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1323, + "src": "2519:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 782, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2519:42:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2478:83:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "4d61782e20506f6f6c2073697a65206f766572666c6f772077697468207468617420616d6f756e74206f66206465706f7369742e", + "id": 784, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2563:54:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_0aca709d1d31a30dd3ccfaa34d0d4a5445deddf0a17f0e432d4d3c0e62a3f388", + "typeString": "literal_string \"Max. Pool size overflow with that amount of deposit.\"" + }, + "value": "Max. Pool size overflow with that amount of deposit." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_0aca709d1d31a30dd3ccfaa34d0d4a5445deddf0a17f0e432d4d3c0e62a3f388", + "typeString": "literal_string \"Max. Pool size overflow with that amount of deposit.\"" + } + ], + "id": 772, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "2470:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 785, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2470:148:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 786, + "nodeType": "ExpressionStatement", + "src": "2470:148:1" + }, + { + "id": 787, + "nodeType": "PlaceholderStatement", + "src": "2639:1:1" + } + ] + }, + "id": 789, + "name": "depositCompliance", + "nameLocation": "1069:17:1", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 636, + "nodeType": "ParameterList", + "parameters": [], + "src": "1086:2:1" + }, + "src": "1060:1588:1", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 854, + "nodeType": "Block", + "src": "2709:642:1", + "statements": [ + { + "assignments": [ + 795 + ], + "declarations": [ + { + "constant": false, + "id": 795, + "mutability": "mutable", + "name": "poolVault", + "nameLocation": "2739:9:1", + "nodeType": "VariableDeclaration", + "scope": 854, + "src": "2720:28:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + }, + "typeName": { + "id": 794, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 793, + "name": "PoolVaultInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1443, + "src": "2720:18:1" + }, + "referencedDeclaration": 1443, + "src": "2720:18:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + } + }, + "visibility": "internal" + } + ], + "id": 801, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "506f6f6c5661756c74", + "id": 798, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2789:11:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_a42809ef63a8477a0cc19794440877c6cd527dbf68cffc2d1d864049ac3343dc", + "typeString": "literal_string \"PoolVault\"" + }, + "value": "PoolVault" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_a42809ef63a8477a0cc19794440877c6cd527dbf68cffc2d1d864049ac3343dc", + "typeString": "literal_string \"PoolVault\"" + } + ], + "id": 797, + "name": "getContractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 445, + "src": "2770:18:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$returns$_t_address_$", + "typeString": "function (string memory) view returns (address)" + } + }, + "id": 799, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2770:31:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 796, + "name": "PoolVaultInterface", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1443, + "src": "2751:18:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_PoolVaultInterface_$1443_$", + "typeString": "type(contract PoolVaultInterface)" + } + }, + "id": 800, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2751:51:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2720:82:1" + }, + { + "assignments": [ + 804 + ], + "declarations": [ + { + "constant": false, + "id": 804, + "mutability": "mutable", + "name": "rwEthToken", + "nameLocation": "2833:10:1", + "nodeType": "VariableDeclaration", + "scope": 854, + "src": "2813:30:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHTokenInterface_$1525", + "typeString": "contract rwETHTokenInterface" + }, + "typeName": { + "id": 803, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 802, + "name": "rwETHTokenInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1525, + "src": "2813:19:1" + }, + "referencedDeclaration": 1525, + "src": "2813:19:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHTokenInterface_$1525", + "typeString": "contract rwETHTokenInterface" + } + }, + "visibility": "internal" + } + ], + "id": 810, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "7277455448546f6b656e", + "id": 807, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2885:12:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7d524a24df8794b8c8ace1bb51668b020bb309552ba8f8b2f78f8f206243afbb", + "typeString": "literal_string \"rwETHToken\"" + }, + "value": "rwETHToken" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_7d524a24df8794b8c8ace1bb51668b020bb309552ba8f8b2f78f8f206243afbb", + "typeString": "literal_string \"rwETHToken\"" + } + ], + "id": 806, + "name": "getContractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 445, + "src": "2866:18:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$returns$_t_address_$", + "typeString": "function (string memory) view returns (address)" + } + }, + "id": 808, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2866:32:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 805, + "name": "rwETHTokenInterface", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1525, + "src": "2846:19:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_rwETHTokenInterface_$1525_$", + "typeString": "type(contract rwETHTokenInterface)" + } + }, + "id": 809, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2846:53:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHTokenInterface_$1525", + "typeString": "contract rwETHTokenInterface" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2813:86:1" + }, + { + "assignments": [ + 812 + ], + "declarations": [ + { + "constant": false, + "id": 812, + "mutability": "mutable", + "name": "statusTag", + "nameLocation": "2918:9:1", + "nodeType": "VariableDeclaration", + "scope": 854, + "src": "2910:17:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 811, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2910:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 819, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 816, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2957:12:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 814, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "2940:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 815, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "2940:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 817, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2940:30:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 813, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "2930:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 818, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2930:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2910:61:1" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 827, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "expression": { + "id": 823, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "3013:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 824, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "3013:10:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 821, + "name": "rwEthToken", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 804, + "src": "2992:10:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHTokenInterface_$1525", + "typeString": "contract rwETHTokenInterface" + } + }, + "id": 822, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "balanceOf", + "nodeType": "MemberAccess", + "referencedDeclaration": 1964, + "src": "2992:20:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_address_$returns$_t_uint256_$", + "typeString": "function (address) view external returns (uint256)" + } + }, + "id": 825, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2992:32:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">=", + "rightExpression": { + "id": 826, + "name": "_rwEtherWithdrawal", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 791, + "src": "3028:18:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2992:54:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "596f7520646f6e27742068617665207468617420616d6f756e74206f6620746f6b656e73206f6e20796f7572206163636f756e742e", + "id": 828, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3048:55:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_90eb27ec9fe4931c246d4a767afde5ebee8d08c2c5cd7adf4ff3a2547356978a", + "typeString": "literal_string \"You don't have that amount of tokens on your account.\"" + }, + "value": "You don't have that amount of tokens on your account." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_90eb27ec9fe4931c246d4a767afde5ebee8d08c2c5cd7adf4ff3a2547356978a", + "typeString": "literal_string \"You don't have that amount of tokens on your account.\"" + } + ], + "id": 820, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "2984:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 829, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2984:120:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 830, + "nodeType": "ExpressionStatement", + "src": "2984:120:1" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 841, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 839, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 832, + "name": "poolVault", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 795, + "src": "3123:9:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + } + }, + "id": 833, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "poolEtherSize", + "nodeType": "MemberAccess", + "referencedDeclaration": 1424, + "src": "3123:23:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", + "typeString": "function () view external returns (uint256)" + } + }, + "id": 834, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3123:25:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "arguments": [ + { + "id": 837, + "name": "_rwEtherWithdrawal", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 791, + "src": "3175:18:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 835, + "name": "rwEthToken", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 804, + "src": "3151:10:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHTokenInterface_$1525", + "typeString": "contract rwETHTokenInterface" + } + }, + "id": 836, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "calcEthValue", + "nodeType": "MemberAccess", + "referencedDeclaration": 1493, + "src": "3151:23:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_uint256_$", + "typeString": "function (uint256) view external returns (uint256)" + } + }, + "id": 838, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3151:43:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "3123:71:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">=", + "rightExpression": { + "hexValue": "30", + "id": 840, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3198:1:1", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "3123:76:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "506f6f6c2073697a652063616e6e6f7420626520736d616c6c6572207468616e207a65726f2e", + "id": 842, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3201:40:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_e0ca9ec09210f9eb759fac6a6589e191f21a42c4e51863e166d749e6aa938d57", + "typeString": "literal_string \"Pool size cannot be smaller than zero.\"" + }, + "value": "Pool size cannot be smaller than zero." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_e0ca9ec09210f9eb759fac6a6589e191f21a42c4e51863e166d749e6aa938d57", + "typeString": "literal_string \"Pool size cannot be smaller than zero.\"" + } + ], + "id": 831, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "3115:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 843, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3115:127:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 844, + "nodeType": "ExpressionStatement", + "src": "3115:127:1" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "id": 848, + "name": "statusTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 812, + "src": "3288:9:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 846, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "3261:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 847, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1330, + "src": "3261:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 849, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3261:37:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920706175736564", + "id": 850, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3300:30:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_3b245c4f3b2203e747fb2dc59b5a8c9d4c277a57e8b5577622ddc81ae5fceeed", + "typeString": "literal_string \"The pool is currently paused\"" + }, + "value": "The pool is currently paused" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_3b245c4f3b2203e747fb2dc59b5a8c9d4c277a57e8b5577622ddc81ae5fceeed", + "typeString": "literal_string \"The pool is currently paused\"" + } + ], + "id": 845, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "3253:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 851, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3253:78:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 852, + "nodeType": "ExpressionStatement", + "src": "3253:78:1" + }, + { + "id": 853, + "nodeType": "PlaceholderStatement", + "src": "3342:1:1" + } + ] + }, + "id": 855, + "name": "withdrawCompliance", + "nameLocation": "2665:18:1", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 792, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 791, + "mutability": "mutable", + "name": "_rwEtherWithdrawal", + "nameLocation": "2689:18:1", + "nodeType": "VariableDeclaration", + "scope": 855, + "src": "2684:23:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 790, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2684:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "2683:25:1" + }, + "src": "2656:695:1", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 876, + "nodeType": "Block", + "src": "3389:181:1", + "statements": [ + { + "assignments": [ + 858 + ], + "declarations": [ + { + "constant": false, + "id": 858, + "mutability": "mutable", + "name": "statusTag", + "nameLocation": "3408:9:1", + "nodeType": "VariableDeclaration", + "scope": 876, + "src": "3400:17:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 857, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3400:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 865, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 862, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3447:12:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 860, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3430:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 861, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3430:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 863, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3430:30:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 859, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "3420:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 864, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3420:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3400:61:1" + }, + { + "expression": { + "arguments": [ + { + "id": 871, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "3482:38:1", + "subExpression": { + "arguments": [ + { + "id": 869, + "name": "statusTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 858, + "src": "3510:9:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 867, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "3483:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 868, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1330, + "src": "3483:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 870, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3483:37:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c79206c6976652e", + "id": 872, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3522:29:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_a07a9155f0fee414d04e07326b9b898321366e59564af46f456c915818839e4f", + "typeString": "literal_string \"The pool is currently live.\"" + }, + "value": "The pool is currently live." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_a07a9155f0fee414d04e07326b9b898321366e59564af46f456c915818839e4f", + "typeString": "literal_string \"The pool is currently live.\"" + } + ], + "id": 866, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "3474:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 873, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3474:78:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 874, + "nodeType": "ExpressionStatement", + "src": "3474:78:1" + }, + { + "id": 875, + "nodeType": "PlaceholderStatement", + "src": "3561:1:1" + } + ] + }, + "id": 877, + "name": "injectionComliance", + "nameLocation": "3368:18:1", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 856, + "nodeType": "ParameterList", + "parameters": [], + "src": "3386:2:1" + }, + "src": "3359:211:1", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 913, + "nodeType": "Block", + "src": "3754:232:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f657869737473", + "id": 887, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3819:17:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + "value": "contract_exists" + }, + { + "arguments": [ + { + "id": 890, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "3846:4:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolClient_$1293", + "typeString": "contract PoolClient" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_PoolClient_$1293", + "typeString": "contract PoolClient" + } + ], + "id": 889, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3838:7:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 888, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3838:7:1", + "typeDescriptions": {} + } + }, + "id": 891, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3838:13:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 885, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3802:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 886, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3802:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 892, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3802:50:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 884, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "3792:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 893, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3792:61:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "hexValue": "74727565", + "id": 894, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3855:4:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "expression": { + "id": 881, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "3765:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 883, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1356, + "src": "3765:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_bool_$returns$__$", + "typeString": "function (bytes32,bool) external" + } + }, + "id": 895, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3765:95:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 896, + "nodeType": "ExpressionStatement", + "src": "3765:95:1" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f61646472657373", + "id": 903, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3928:18:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + "value": "contract_address" + }, + { + "hexValue": "506f6f6c436c69656e74", + "id": 904, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3948:12:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_db398badece03775756fae64be2a2ed9aaf2b2ace9c216beb0e483c4a0338aa3", + "typeString": "literal_string \"PoolClient\"" + }, + "value": "PoolClient" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + { + "typeIdentifier": "t_stringliteral_db398badece03775756fae64be2a2ed9aaf2b2ace9c216beb0e483c4a0338aa3", + "typeString": "literal_string \"PoolClient\"" + } + ], + "expression": { + "id": 901, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3911:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 902, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3911:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 905, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3911:50:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 900, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "3901:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 906, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3901:61:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "arguments": [ + { + "id": 909, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "3972:4:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolClient_$1293", + "typeString": "contract PoolClient" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_PoolClient_$1293", + "typeString": "contract PoolClient" + } + ], + "id": 908, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3964:7:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 907, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3964:7:1", + "typeDescriptions": {} + } + }, + "id": 910, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3964:13:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 897, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "3871:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 899, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setAddressStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1363, + "src": "3871:29:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address) external" + } + }, + "id": 911, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3871:107:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 912, + "nodeType": "ExpressionStatement", + "src": "3871:107:1" + } + ] + }, + "documentation": { + "id": 878, + "nodeType": "StructuredDocumentation", + "src": "3581:126:1", + "text": "@dev Store this contract address and existance on the main storage.\n @notice Called while deploying the contract. " + }, + "id": 914, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_setPoolClientAddress", + "nameLocation": "3722:21:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 879, + "nodeType": "ParameterList", + "parameters": [], + "src": "3743:2:1" + }, + "returnParameters": { + "id": 880, + "nodeType": "ParameterList", + "parameters": [], + "src": "3754:0:1" + }, + "scope": 1293, + "src": "3713:273:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "private" + }, + { + "body": { + "id": 969, + "nodeType": "Block", + "src": "4488:416:1", + "statements": [ + { + "assignments": [ + 924 + ], + "declarations": [ + { + "constant": false, + "id": 924, + "mutability": "mutable", + "name": "rwEthToken", + "nameLocation": "4519:10:1", + "nodeType": "VariableDeclaration", + "scope": 969, + "src": "4499:30:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHTokenInterface_$1525", + "typeString": "contract rwETHTokenInterface" + }, + "typeName": { + "id": 923, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 922, + "name": "rwETHTokenInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1525, + "src": "4499:19:1" + }, + "referencedDeclaration": 1525, + "src": "4499:19:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHTokenInterface_$1525", + "typeString": "contract rwETHTokenInterface" + } + }, + "visibility": "internal" + } + ], + "id": 930, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "7277455448546f6b656e", + "id": 927, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4571:12:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7d524a24df8794b8c8ace1bb51668b020bb309552ba8f8b2f78f8f206243afbb", + "typeString": "literal_string \"rwETHToken\"" + }, + "value": "rwETHToken" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_7d524a24df8794b8c8ace1bb51668b020bb309552ba8f8b2f78f8f206243afbb", + "typeString": "literal_string \"rwETHToken\"" + } + ], + "id": 926, + "name": "getContractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 445, + "src": "4552:18:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$returns$_t_address_$", + "typeString": "function (string memory) view returns (address)" + } + }, + "id": 928, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4552:32:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 925, + "name": "rwETHTokenInterface", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1525, + "src": "4532:19:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_rwETHTokenInterface_$1525_$", + "typeString": "type(contract rwETHTokenInterface)" + } + }, + "id": 929, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4532:53:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHTokenInterface_$1525", + "typeString": "contract rwETHTokenInterface" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4499:86:1" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 934, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "4612:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 935, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "4612:10:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "expression": { + "id": 936, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "4624:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 937, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "value", + "nodeType": "MemberAccess", + "src": "4624:9:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 931, + "name": "rwEthToken", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 924, + "src": "4596:10:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHTokenInterface_$1525", + "typeString": "contract rwETHTokenInterface" + } + }, + "id": 933, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "mint", + "nodeType": "MemberAccess", + "referencedDeclaration": 1514, + "src": "4596:15:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256) external" + } + }, + "id": 938, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4596:38:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 939, + "nodeType": "ExpressionStatement", + "src": "4596:38:1" + }, + { + "assignments": [ + 941 + ], + "declarations": [ + { + "constant": false, + "id": 941, + "mutability": "mutable", + "name": "currentEthSupplyTag", + "nameLocation": "4655:19:1", + "nodeType": "VariableDeclaration", + "scope": 969, + "src": "4647:27:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 940, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4647:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 948, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "746f74616c537570706c795f4574686572", + "id": 945, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4704:19:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c249c8d0234c73f198edb6911269cabbcb3a87200e5c4a66aae535d12bd6112c", + "typeString": "literal_string \"totalSupply_Ether\"" + }, + "value": "totalSupply_Ether" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_c249c8d0234c73f198edb6911269cabbcb3a87200e5c4a66aae535d12bd6112c", + "typeString": "literal_string \"totalSupply_Ether\"" + } + ], + "expression": { + "id": 943, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "4687:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 944, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "4687:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 946, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4687:37:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 942, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "4677:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 947, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4677:48:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4647:78:1" + }, + { + "expression": { + "arguments": [ + { + "id": 952, + "name": "currentEthSupplyTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 941, + "src": "4768:19:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "expression": { + "id": 953, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "4789:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 954, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "value", + "nodeType": "MemberAccess", + "src": "4789:9:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 949, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "4736:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 951, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "increaseUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1370, + "src": "4736:31:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 955, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4736:63:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 956, + "nodeType": "ExpressionStatement", + "src": "4736:63:1" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 958, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "4828:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 959, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "4828:10:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "expression": { + "id": 960, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "4840:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 961, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "value", + "nodeType": "MemberAccess", + "src": "4840:9:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "expression": { + "id": 962, + "name": "block", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967292, + "src": "4852:5:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_block", + "typeString": "block" + } + }, + "id": 963, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "timestamp", + "nodeType": "MemberAccess", + "src": "4852:15:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 957, + "name": "UserStaked", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 608, + "src": "4817:10:1", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256,uint256)" + } + }, + "id": 964, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4817:51:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 965, + "nodeType": "EmitStatement", + "src": "4812:56:1" + }, + { + "expression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 966, + "name": "_depositToVault", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 992, + "src": "4879:15:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", + "typeString": "function ()" + } + }, + "id": 967, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4879:17:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 968, + "nodeType": "ExpressionStatement", + "src": "4879:17:1" + } + ] + }, + "documentation": { + "id": 915, + "nodeType": "StructuredDocumentation", + "src": "3999:412:1", + "text": "@dev Main Staking function. Allows users to deposit ether in exchange of rwEther.\n @notice The exchange rate (ETH / rwETH) is calculated within the mint function. \n @notice The minting function updates only the current rwEth supply.\n @notice The mint function comes with a built-in ether/rwEther converter.\n @notice Once the user deposits, the ether go to the vault contract." + }, + "functionSelector": "d0e30db0", + "id": 970, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [], + "id": 918, + "kind": "modifierInvocation", + "modifierName": { + "id": 917, + "name": "depositCompliance", + "nodeType": "IdentifierPath", + "referencedDeclaration": 789, + "src": "4453:17:1" + }, + "nodeType": "ModifierInvocation", + "src": "4453:19:1" + }, + { + "arguments": [], + "id": 920, + "kind": "modifierInvocation", + "modifierName": { + "id": 919, + "name": "nonReentrant", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1946, + "src": "4473:12:1" + }, + "nodeType": "ModifierInvocation", + "src": "4473:14:1" + } + ], + "name": "deposit", + "nameLocation": "4426:7:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 916, + "nodeType": "ParameterList", + "parameters": [], + "src": "4433:2:1" + }, + "returnParameters": { + "id": 921, + "nodeType": "ParameterList", + "parameters": [], + "src": "4488:0:1" + }, + "scope": 1293, + "src": "4417:487:1", + "stateMutability": "payable", + "virtual": false, + "visibility": "external" + }, + { + "body": { + "id": 991, + "nodeType": "Block", + "src": "5002:152:1", + "statements": [ + { + "assignments": [ + 976 + ], + "declarations": [ + { + "constant": false, + "id": 976, + "mutability": "mutable", + "name": "poolVault", + "nameLocation": "5032:9:1", + "nodeType": "VariableDeclaration", + "scope": 991, + "src": "5013:28:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + }, + "typeName": { + "id": 975, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 974, + "name": "PoolVaultInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1443, + "src": "5013:18:1" + }, + "referencedDeclaration": 1443, + "src": "5013:18:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + } + }, + "visibility": "internal" + } + ], + "id": 982, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "506f6f6c5661756c74", + "id": 979, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5082:11:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_a42809ef63a8477a0cc19794440877c6cd527dbf68cffc2d1d864049ac3343dc", + "typeString": "literal_string \"PoolVault\"" + }, + "value": "PoolVault" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_a42809ef63a8477a0cc19794440877c6cd527dbf68cffc2d1d864049ac3343dc", + "typeString": "literal_string \"PoolVault\"" + } + ], + "id": 978, + "name": "getContractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 445, + "src": "5063:18:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$returns$_t_address_$", + "typeString": "function (string memory) view returns (address)" + } + }, + "id": 980, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5063:31:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 977, + "name": "PoolVaultInterface", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1443, + "src": "5044:18:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_PoolVaultInterface_$1443_$", + "typeString": "type(contract PoolVaultInterface)" + } + }, + "id": 981, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5044:51:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5013:82:1" + }, + { + "expression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 983, + "name": "poolVault", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 976, + "src": "5106:9:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + } + }, + "id": 985, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "storeEther", + "nodeType": "MemberAccess", + "referencedDeclaration": 1427, + "src": "5106:20:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_payable$__$returns$__$", + "typeString": "function () payable external" + } + }, + "id": 988, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "names": [ + "value" + ], + "nodeType": "FunctionCallOptions", + "options": [ + { + "expression": { + "id": 986, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "5134:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 987, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "value", + "nodeType": "MemberAccess", + "src": "5134:9:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "src": "5106:38:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_payable$__$returns$__$value", + "typeString": "function () payable external" + } + }, + "id": 989, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5106:40:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 990, + "nodeType": "ExpressionStatement", + "src": "5106:40:1" + } + ] + }, + "documentation": { + "id": 971, + "nodeType": "StructuredDocumentation", + "src": "4912:49:1", + "text": "@dev Transfers the staked ether to the vault." + }, + "id": 992, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_depositToVault", + "nameLocation": "4976:15:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 972, + "nodeType": "ParameterList", + "parameters": [], + "src": "4991:2:1" + }, + "returnParameters": { + "id": 973, + "nodeType": "ParameterList", + "parameters": [], + "src": "5002:0:1" + }, + "scope": 1293, + "src": "4967:187:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "private" + }, + { + "body": { + "id": 1044, + "nodeType": "Block", + "src": "5349:463:1", + "statements": [ + { + "assignments": [ + 1003 + ], + "declarations": [ + { + "constant": false, + "id": 1003, + "mutability": "mutable", + "name": "poolTokenBalances", + "nameLocation": "5383:17:1", + "nodeType": "VariableDeclaration", + "scope": 1044, + "src": "5360:40:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$1478", + "typeString": "contract TokenBalancesInterface" + }, + "typeName": { + "id": 1002, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 1001, + "name": "TokenBalancesInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1478, + "src": "5360:22:1" + }, + "referencedDeclaration": 1478, + "src": "5360:22:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$1478", + "typeString": "contract TokenBalancesInterface" + } + }, + "visibility": "internal" + } + ], + "id": 1009, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "546f6b656e42616c616e636573", + "id": 1006, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5445:15:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_3b6d5f7972ed6795e7621e32620438487583050aef09a1228b0cc6a9a3f04fe9", + "typeString": "literal_string \"TokenBalances\"" + }, + "value": "TokenBalances" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_3b6d5f7972ed6795e7621e32620438487583050aef09a1228b0cc6a9a3f04fe9", + "typeString": "literal_string \"TokenBalances\"" + } + ], + "id": 1005, + "name": "getContractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 445, + "src": "5426:18:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$returns$_t_address_$", + "typeString": "function (string memory) view returns (address)" + } + }, + "id": 1007, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5426:35:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1004, + "name": "TokenBalancesInterface", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1478, + "src": "5403:22:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_TokenBalancesInterface_$1478_$", + "typeString": "type(contract TokenBalancesInterface)" + } + }, + "id": 1008, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5403:59:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$1478", + "typeString": "contract TokenBalancesInterface" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5360:102:1" + }, + { + "assignments": [ + 1011 + ], + "declarations": [ + { + "constant": false, + "id": 1011, + "mutability": "mutable", + "name": "rewardsToInjectTag", + "nameLocation": "5491:18:1", + "nodeType": "VariableDeclaration", + "scope": 1044, + "src": "5483:26:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1010, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "5483:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 1018, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "72657761726473546f496e6a656374", + "id": 1015, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5539:17:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_76edfdb8c3aa82fcf38cdc1a6e283906fb4b4d3155ae9613a513f5862659fb75", + "typeString": "literal_string \"rewardsToInject\"" + }, + "value": "rewardsToInject" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_76edfdb8c3aa82fcf38cdc1a6e283906fb4b4d3155ae9613a513f5862659fb75", + "typeString": "literal_string \"rewardsToInject\"" + } + ], + "expression": { + "id": 1013, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "5522:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 1014, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5522:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 1016, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5522:35:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1012, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "5512:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 1017, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5512:46:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5483:75:1" + }, + { + "assignments": [ + 1020 + ], + "declarations": [ + { + "constant": false, + "id": 1020, + "mutability": "mutable", + "name": "rewardsInterest", + "nameLocation": "5591:15:1", + "nodeType": "VariableDeclaration", + "scope": 1044, + "src": "5586:20:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1019, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "5586:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1023, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 1021, + "name": "getRewardsInterest", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 550, + "src": "5609:18:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$", + "typeString": "function () view returns (uint256)" + } + }, + "id": 1022, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5609:20:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5586:43:1" + }, + { + "assignments": [ + 1025 + ], + "declarations": [ + { + "constant": false, + "id": 1025, + "mutability": "mutable", + "name": "rewardsToInject", + "nameLocation": "5645:15:1", + "nodeType": "VariableDeclaration", + "scope": 1044, + "src": "5640:20:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1024, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "5640:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1036, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1035, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1030, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 1026, + "name": "poolTokenBalances", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1003, + "src": "5663:17:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$1478", + "typeString": "contract TokenBalancesInterface" + } + }, + "id": 1027, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getTotalEtherStaked", + "nodeType": "MemberAccess", + "referencedDeclaration": 1465, + "src": "5663:37:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", + "typeString": "function () view external returns (uint256)" + } + }, + "id": 1028, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5663:39:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 1029, + "name": "rewardsInterest", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1020, + "src": "5705:15:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "5663:57:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_rational_1000000_by_1", + "typeString": "int_const 1000000" + }, + "id": 1033, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "leftExpression": { + "hexValue": "3130", + "id": 1031, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5724:2:1", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "value": "10" + }, + "nodeType": "BinaryOperation", + "operator": "**", + "rightExpression": { + "hexValue": "36", + "id": 1032, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5728:1:1", + "typeDescriptions": { + "typeIdentifier": "t_rational_6_by_1", + "typeString": "int_const 6" + }, + "value": "6" + }, + "src": "5724:5:1", + "typeDescriptions": { + "typeIdentifier": "t_rational_1000000_by_1", + "typeString": "int_const 1000000" + } + } + ], + "id": 1034, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "5723:7:1", + "typeDescriptions": { + "typeIdentifier": "t_rational_1000000_by_1", + "typeString": "int_const 1000000" + } + }, + "src": "5663:67:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5640:90:1" + }, + { + "expression": { + "arguments": [ + { + "id": 1040, + "name": "rewardsToInjectTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1011, + "src": "5768:18:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1041, + "name": "rewardsToInject", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1025, + "src": "5788:15:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 1037, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "5741:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 1039, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1349, + "src": "5741:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 1042, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5741:63:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1043, + "nodeType": "ExpressionStatement", + "src": "5741:63:1" + } + ] + }, + "documentation": { + "id": 993, + "nodeType": "StructuredDocumentation", + "src": "5166:98:1", + "text": "@dev Helps the team calculate the rewards. Also, assigns the amount to inject into a variable." + }, + "functionSelector": "3e50de30", + "id": 1045, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 996, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "5314:12:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 997, + "kind": "modifierInvocation", + "modifierName": { + "id": 995, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1566, + "src": "5305:8:1" + }, + "nodeType": "ModifierInvocation", + "src": "5305:22:1" + }, + { + "arguments": [], + "id": 999, + "kind": "modifierInvocation", + "modifierName": { + "id": 998, + "name": "injectionComliance", + "nodeType": "IdentifierPath", + "referencedDeclaration": 877, + "src": "5328:18:1" + }, + "nodeType": "ModifierInvocation", + "src": "5328:20:1" + } + ], + "name": "calculateRewards", + "nameLocation": "5279:16:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 994, + "nodeType": "ParameterList", + "parameters": [], + "src": "5295:2:1" + }, + "returnParameters": { + "id": 1000, + "nodeType": "ParameterList", + "parameters": [], + "src": "5349:0:1" + }, + "scope": 1293, + "src": "5270:542:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 1068, + "nodeType": "Block", + "src": "5956:158:1", + "statements": [ + { + "assignments": [ + 1055 + ], + "declarations": [ + { + "constant": false, + "id": 1055, + "mutability": "mutable", + "name": "rewardsToInjectTag", + "nameLocation": "5975:18:1", + "nodeType": "VariableDeclaration", + "scope": 1068, + "src": "5967:26:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1054, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "5967:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 1062, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "72657761726473546f496e6a656374", + "id": 1059, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6023:17:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_76edfdb8c3aa82fcf38cdc1a6e283906fb4b4d3155ae9613a513f5862659fb75", + "typeString": "literal_string \"rewardsToInject\"" + }, + "value": "rewardsToInject" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_76edfdb8c3aa82fcf38cdc1a6e283906fb4b4d3155ae9613a513f5862659fb75", + "typeString": "literal_string \"rewardsToInject\"" + } + ], + "expression": { + "id": 1057, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "6006:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 1058, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "6006:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 1060, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6006:35:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1056, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "5996:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 1061, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5996:46:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5967:75:1" + }, + { + "expression": { + "arguments": [ + { + "id": 1065, + "name": "rewardsToInjectTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1055, + "src": "6087:18:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 1063, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "6060:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 1064, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1323, + "src": "6060:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 1066, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6060:46:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 1053, + "id": 1067, + "nodeType": "Return", + "src": "6053:53:1" + } + ] + }, + "documentation": { + "id": 1046, + "nodeType": "StructuredDocumentation", + "src": "5820:52:1", + "text": "@dev Gets the lastest amount of ether to inject." + }, + "functionSelector": "9ed03ab6", + "id": 1069, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 1049, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "5929:12:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 1050, + "kind": "modifierInvocation", + "modifierName": { + "id": 1048, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1566, + "src": "5920:8:1" + }, + "nodeType": "ModifierInvocation", + "src": "5920:22:1" + } + ], + "name": "getRewardsToInject", + "nameLocation": "5887:18:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1047, + "nodeType": "ParameterList", + "parameters": [], + "src": "5905:2:1" + }, + "returnParameters": { + "id": 1053, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1052, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1069, + "src": "5951:4:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1051, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "5951:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "5950:6:1" + }, + "scope": 1293, + "src": "5878:236:1", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 1164, + "nodeType": "Block", + "src": "6668:863:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1083, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 1079, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "6687:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1080, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "value", + "nodeType": "MemberAccess", + "src": "6687:9:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 1081, + "name": "getRewardsToInject", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1069, + "src": "6700:18:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$", + "typeString": "function () view returns (uint256)" + } + }, + "id": 1082, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6700:20:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "6687:33:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "496e76616c696420657468657220696e74657265737420696e6a65637465642e", + "id": 1084, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6722:34:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c75f434c4e7b86f1c0d9c954f2d25cfdebc766bb18ad155109871835d37640e8", + "typeString": "literal_string \"Invalid ether interest injected.\"" + }, + "value": "Invalid ether interest injected." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_c75f434c4e7b86f1c0d9c954f2d25cfdebc766bb18ad155109871835d37640e8", + "typeString": "literal_string \"Invalid ether interest injected.\"" + } + ], + "id": 1078, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "6679:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 1085, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6679:78:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1086, + "nodeType": "ExpressionStatement", + "src": "6679:78:1" + }, + { + "assignments": [ + 1089 + ], + "declarations": [ + { + "constant": false, + "id": 1089, + "mutability": "mutable", + "name": "poolVault", + "nameLocation": "6787:9:1", + "nodeType": "VariableDeclaration", + "scope": 1164, + "src": "6768:28:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + }, + "typeName": { + "id": 1088, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 1087, + "name": "PoolVaultInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1443, + "src": "6768:18:1" + }, + "referencedDeclaration": 1443, + "src": "6768:18:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + } + }, + "visibility": "internal" + } + ], + "id": 1095, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "506f6f6c5661756c74", + "id": 1092, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6837:11:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_a42809ef63a8477a0cc19794440877c6cd527dbf68cffc2d1d864049ac3343dc", + "typeString": "literal_string \"PoolVault\"" + }, + "value": "PoolVault" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_a42809ef63a8477a0cc19794440877c6cd527dbf68cffc2d1d864049ac3343dc", + "typeString": "literal_string \"PoolVault\"" + } + ], + "id": 1091, + "name": "getContractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 445, + "src": "6818:18:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$returns$_t_address_$", + "typeString": "function (string memory) view returns (address)" + } + }, + "id": 1093, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6818:31:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1090, + "name": "PoolVaultInterface", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1443, + "src": "6799:18:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_PoolVaultInterface_$1443_$", + "typeString": "type(contract PoolVaultInterface)" + } + }, + "id": 1094, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6799:51:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6768:82:1" + }, + { + "assignments": [ + 1097 + ], + "declarations": [ + { + "constant": false, + "id": 1097, + "mutability": "mutable", + "name": "lastRewardTimeTag", + "nameLocation": "6871:17:1", + "nodeType": "VariableDeclaration", + "scope": 1164, + "src": "6863:25:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1096, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6863:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 1104, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6c61737452657761726454696d65", + "id": 1101, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6918:16:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_a8e7474b45c8b24d3fc859e7598de85ce7116a6f79113863771eb36ab9bbbd50", + "typeString": "literal_string \"lastRewardTime\"" + }, + "value": "lastRewardTime" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_a8e7474b45c8b24d3fc859e7598de85ce7116a6f79113863771eb36ab9bbbd50", + "typeString": "literal_string \"lastRewardTime\"" + } + ], + "expression": { + "id": 1099, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "6901:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 1100, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "6901:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 1102, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6901:34:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1098, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "6891:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 1103, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6891:45:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6863:73:1" + }, + { + "assignments": [ + 1106 + ], + "declarations": [ + { + "constant": false, + "id": 1106, + "mutability": "mutable", + "name": "totalRewardsInjectedTag", + "nameLocation": "6955:23:1", + "nodeType": "VariableDeclaration", + "scope": 1164, + "src": "6947:31:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1105, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6947:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 1113, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "746f74616c52657761726473496e6a6563746564", + "id": 1110, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7008:22:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_3eeb3edc0bd0c927e9a425249e5fad79540544d9a606ca590d27861d0999cf35", + "typeString": "literal_string \"totalRewardsInjected\"" + }, + "value": "totalRewardsInjected" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_3eeb3edc0bd0c927e9a425249e5fad79540544d9a606ca590d27861d0999cf35", + "typeString": "literal_string \"totalRewardsInjected\"" + } + ], + "expression": { + "id": 1108, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "6991:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 1109, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "6991:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 1111, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6991:40:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1107, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "6981:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 1112, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6981:51:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6947:85:1" + }, + { + "assignments": [ + 1115 + ], + "declarations": [ + { + "constant": false, + "id": 1115, + "mutability": "mutable", + "name": "currentEthSupplyTag", + "nameLocation": "7054:19:1", + "nodeType": "VariableDeclaration", + "scope": 1164, + "src": "7046:27:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1114, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "7046:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 1122, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "746f74616c537570706c795f4574686572", + "id": 1119, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7103:19:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c249c8d0234c73f198edb6911269cabbcb3a87200e5c4a66aae535d12bd6112c", + "typeString": "literal_string \"totalSupply_Ether\"" + }, + "value": "totalSupply_Ether" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_c249c8d0234c73f198edb6911269cabbcb3a87200e5c4a66aae535d12bd6112c", + "typeString": "literal_string \"totalSupply_Ether\"" + } + ], + "expression": { + "id": 1117, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "7086:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 1118, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "7086:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 1120, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7086:37:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1116, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "7076:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 1121, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7076:48:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7046:78:1" + }, + { + "expression": { + "arguments": [ + { + "id": 1126, + "name": "lastRewardTimeTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1097, + "src": "7182:17:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "expression": { + "id": 1127, + "name": "block", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967292, + "src": "7201:5:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_block", + "typeString": "block" + } + }, + "id": 1128, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "timestamp", + "nodeType": "MemberAccess", + "src": "7201:15:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 1123, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "7155:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 1125, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1349, + "src": "7155:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 1129, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7155:62:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1130, + "nodeType": "ExpressionStatement", + "src": "7155:62:1" + }, + { + "expression": { + "arguments": [ + { + "id": 1134, + "name": "totalRewardsInjectedTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1106, + "src": "7260:23:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "expression": { + "id": 1135, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "7285:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1136, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "value", + "nodeType": "MemberAccess", + "src": "7285:9:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 1131, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "7228:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 1133, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "increaseUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1370, + "src": "7228:31:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 1137, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7228:67:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1138, + "nodeType": "ExpressionStatement", + "src": "7228:67:1" + }, + { + "expression": { + "arguments": [ + { + "id": 1142, + "name": "currentEthSupplyTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1115, + "src": "7338:19:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "expression": { + "id": 1143, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "7359:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1144, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "value", + "nodeType": "MemberAccess", + "src": "7359:9:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 1139, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "7306:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 1141, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "increaseUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1370, + "src": "7306:31:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 1145, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7306:63:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1146, + "nodeType": "ExpressionStatement", + "src": "7306:63:1" + }, + { + "expression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 1147, + "name": "poolVault", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1089, + "src": "7390:9:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + } + }, + "id": 1149, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "processRewards", + "nodeType": "MemberAccess", + "referencedDeclaration": 1430, + "src": "7390:24:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_payable$__$returns$__$", + "typeString": "function () payable external" + } + }, + "id": 1152, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "names": [ + "value" + ], + "nodeType": "FunctionCallOptions", + "options": [ + { + "expression": { + "id": 1150, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "7422:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1151, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "value", + "nodeType": "MemberAccess", + "src": "7422:9:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "src": "7390:42:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_payable$__$returns$__$value", + "typeString": "function () payable external" + } + }, + "id": 1153, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7390:44:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1154, + "nodeType": "ExpressionStatement", + "src": "7390:44:1" + }, + { + "eventCall": { + "arguments": [ + { + "arguments": [ + { + "id": 1158, + "name": "lastRewardTimeTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1097, + "src": "7493:17:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 1156, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "7466:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 1157, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1323, + "src": "7466:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 1159, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7466:45:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "expression": { + "id": 1160, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "7513:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1161, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "value", + "nodeType": "MemberAccess", + "src": "7513:9:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1155, + "name": "RewardsInjected", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 614, + "src": "7450:15:1", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_uint256_$returns$__$", + "typeString": "function (uint256,uint256)" + } + }, + "id": 1162, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7450:73:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1163, + "nodeType": "EmitStatement", + "src": "7445:78:1" + } + ] + }, + "documentation": { + "id": 1070, + "nodeType": "StructuredDocumentation", + "src": "6126:450:1", + "text": "@dev This function logic prevents the team to inject a wrong amount of ether as rewards.\n @notice With this function, both the team and the users will have the insuarance that the right amount will be injected.\n @notice the require reverts the process if a wrong amount is willed to be injected.\n @notice this function does not updates the poolEther size, it just updates the total amount of ether on the contract network." + }, + "functionSelector": "ee7d4d2b", + "id": 1165, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 1073, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "6633:12:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 1074, + "kind": "modifierInvocation", + "modifierName": { + "id": 1072, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1566, + "src": "6624:8:1" + }, + "nodeType": "ModifierInvocation", + "src": "6624:22:1" + }, + { + "arguments": [], + "id": 1076, + "kind": "modifierInvocation", + "modifierName": { + "id": 1075, + "name": "injectionComliance", + "nodeType": "IdentifierPath", + "referencedDeclaration": 877, + "src": "6647:18:1" + }, + "nodeType": "ModifierInvocation", + "src": "6647:20:1" + } + ], + "name": "rewardsInjector", + "nameLocation": "6591:15:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1071, + "nodeType": "ParameterList", + "parameters": [], + "src": "6606:2:1" + }, + "returnParameters": { + "id": 1077, + "nodeType": "ParameterList", + "parameters": [], + "src": "6668:0:1" + }, + "scope": 1293, + "src": "6582:949:1", + "stateMutability": "payable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 1266, + "nodeType": "Block", + "src": "8070:848:1", + "statements": [ + { + "assignments": [ + 1178 + ], + "declarations": [ + { + "constant": false, + "id": 1178, + "mutability": "mutable", + "name": "rwEthToken", + "nameLocation": "8101:10:1", + "nodeType": "VariableDeclaration", + "scope": 1266, + "src": "8081:30:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHTokenInterface_$1525", + "typeString": "contract rwETHTokenInterface" + }, + "typeName": { + "id": 1177, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 1176, + "name": "rwETHTokenInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1525, + "src": "8081:19:1" + }, + "referencedDeclaration": 1525, + "src": "8081:19:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHTokenInterface_$1525", + "typeString": "contract rwETHTokenInterface" + } + }, + "visibility": "internal" + } + ], + "id": 1184, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "7277455448546f6b656e", + "id": 1181, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8153:12:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7d524a24df8794b8c8ace1bb51668b020bb309552ba8f8b2f78f8f206243afbb", + "typeString": "literal_string \"rwETHToken\"" + }, + "value": "rwETHToken" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_7d524a24df8794b8c8ace1bb51668b020bb309552ba8f8b2f78f8f206243afbb", + "typeString": "literal_string \"rwETHToken\"" + } + ], + "id": 1180, + "name": "getContractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 445, + "src": "8134:18:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$returns$_t_address_$", + "typeString": "function (string memory) view returns (address)" + } + }, + "id": 1182, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8134:32:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1179, + "name": "rwETHTokenInterface", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1525, + "src": "8114:19:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_rwETHTokenInterface_$1525_$", + "typeString": "type(contract rwETHTokenInterface)" + } + }, + "id": 1183, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8114:53:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHTokenInterface_$1525", + "typeString": "contract rwETHTokenInterface" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8081:86:1" + }, + { + "assignments": [ + 1187 + ], + "declarations": [ + { + "constant": false, + "id": 1187, + "mutability": "mutable", + "name": "poolVault", + "nameLocation": "8197:9:1", + "nodeType": "VariableDeclaration", + "scope": 1266, + "src": "8178:28:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + }, + "typeName": { + "id": 1186, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 1185, + "name": "PoolVaultInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1443, + "src": "8178:18:1" + }, + "referencedDeclaration": 1443, + "src": "8178:18:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + } + }, + "visibility": "internal" + } + ], + "id": 1193, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "506f6f6c5661756c74", + "id": 1190, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8247:11:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_a42809ef63a8477a0cc19794440877c6cd527dbf68cffc2d1d864049ac3343dc", + "typeString": "literal_string \"PoolVault\"" + }, + "value": "PoolVault" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_a42809ef63a8477a0cc19794440877c6cd527dbf68cffc2d1d864049ac3343dc", + "typeString": "literal_string \"PoolVault\"" + } + ], + "id": 1189, + "name": "getContractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 445, + "src": "8228:18:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$returns$_t_address_$", + "typeString": "function (string memory) view returns (address)" + } + }, + "id": 1191, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8228:31:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1188, + "name": "PoolVaultInterface", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1443, + "src": "8209:18:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_PoolVaultInterface_$1443_$", + "typeString": "type(contract PoolVaultInterface)" + } + }, + "id": 1192, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8209:51:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8178:82:1" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1205, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "expression": { + "id": 1197, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "8310:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1198, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "8310:10:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "arguments": [ + { + "id": 1201, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "8330:4:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolClient_$1293", + "typeString": "contract PoolClient" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_PoolClient_$1293", + "typeString": "contract PoolClient" + } + ], + "id": 1200, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "8322:7:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 1199, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "8322:7:1", + "typeDescriptions": {} + } + }, + "id": 1202, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8322:13:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 1195, + "name": "rwEthToken", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1178, + "src": "8289:10:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHTokenInterface_$1525", + "typeString": "contract rwETHTokenInterface" + } + }, + "id": 1196, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "allowance", + "nodeType": "MemberAccess", + "referencedDeclaration": 1984, + "src": "8289:20:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_address_$_t_address_$returns$_t_uint256_$", + "typeString": "function (address,address) view external returns (uint256)" + } + }, + "id": 1203, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8289:47:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">=", + "rightExpression": { + "id": 1204, + "name": "_rwEthAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1168, + "src": "8340:12:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "8289:63:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "52657665727465643a20436c69656e74206c61636b7320616c6c6f77616e636520746f20706572666f726d207468697320616374696f6e2e", + "id": 1206, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8354:58:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_487e073b8bf2a8e6de00fef6e3b2f0ada7bb15bf28111ae2ad7bc74191d7800a", + "typeString": "literal_string \"Reverted: Client lacks allowance to perform this action.\"" + }, + "value": "Reverted: Client lacks allowance to perform this action." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_487e073b8bf2a8e6de00fef6e3b2f0ada7bb15bf28111ae2ad7bc74191d7800a", + "typeString": "literal_string \"Reverted: Client lacks allowance to perform this action.\"" + } + ], + "id": 1194, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "8281:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 1207, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8281:132:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1208, + "nodeType": "ExpressionStatement", + "src": "8281:132:1" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 1212, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "8457:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1213, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "8457:10:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "arguments": [ + { + "id": 1216, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "8477:4:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolClient_$1293", + "typeString": "contract PoolClient" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_PoolClient_$1293", + "typeString": "contract PoolClient" + } + ], + "id": 1215, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "8469:7:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 1214, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "8469:7:1", + "typeDescriptions": {} + } + }, + "id": 1217, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8469:13:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1218, + "name": "_rwEthAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1168, + "src": "8484:12:1", + "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": 1209, + "name": "rwEthToken", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1178, + "src": "8433:10:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHTokenInterface_$1525", + "typeString": "contract rwETHTokenInterface" + } + }, + "id": 1211, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "transferFrom", + "nodeType": "MemberAccess", + "referencedDeclaration": 2006, + "src": "8433:23:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", + "typeString": "function (address,address,uint256) external returns (bool)" + } + }, + "id": 1219, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8433:64:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1220, + "nodeType": "ExpressionStatement", + "src": "8433:64:1" + }, + { + "assignments": [ + 1222 + ], + "declarations": [ + { + "constant": false, + "id": 1222, + "mutability": "mutable", + "name": "etherToUnstake", + "nameLocation": "8515:14:1", + "nodeType": "VariableDeclaration", + "scope": 1266, + "src": "8510:19:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1221, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8510:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1227, + "initialValue": { + "arguments": [ + { + "id": 1225, + "name": "_rwEthAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1168, + "src": "8556:12:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 1223, + "name": "rwEthToken", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1178, + "src": "8532:10:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHTokenInterface_$1525", + "typeString": "contract rwETHTokenInterface" + } + }, + "id": 1224, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "calcEthValue", + "nodeType": "MemberAccess", + "referencedDeclaration": 1493, + "src": "8532:23:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_uint256_$returns$_t_uint256_$", + "typeString": "function (uint256) view external returns (uint256)" + } + }, + "id": 1226, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8532:37:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8510:59:1" + }, + { + "expression": { + "arguments": [ + { + "id": 1231, + "name": "_rwEthAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1168, + "src": "8596:12:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 1228, + "name": "rwEthToken", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1178, + "src": "8580:10:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHTokenInterface_$1525", + "typeString": "contract rwETHTokenInterface" + } + }, + "id": 1230, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "burn", + "nodeType": "MemberAccess", + "referencedDeclaration": 1519, + "src": "8580:15:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$__$", + "typeString": "function (uint256) external" + } + }, + "id": 1232, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8580:29:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1233, + "nodeType": "ExpressionStatement", + "src": "8580:29:1" + }, + { + "assignments": [ + 1235 + ], + "declarations": [ + { + "constant": false, + "id": 1235, + "mutability": "mutable", + "name": "burnedRwEtherTag", + "nameLocation": "8628:16:1", + "nodeType": "VariableDeclaration", + "scope": 1266, + "src": "8620:24:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1234, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "8620:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 1242, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "746f74616c4275726e65645f7265776172644574686572", + "id": 1239, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8674:25:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_1f2d52bb921ff8f758e0d04d1f6fb73af2c988187e5aa44799b48cc37bad9ddd", + "typeString": "literal_string \"totalBurned_rewardEther\"" + }, + "value": "totalBurned_rewardEther" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_1f2d52bb921ff8f758e0d04d1f6fb73af2c988187e5aa44799b48cc37bad9ddd", + "typeString": "literal_string \"totalBurned_rewardEther\"" + } + ], + "expression": { + "id": 1237, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "8657:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 1238, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "8657:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 1240, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8657:43:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1236, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "8647:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 1241, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8647:54:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8620:81:1" + }, + { + "expression": { + "arguments": [ + { + "id": 1246, + "name": "burnedRwEtherTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1235, + "src": "8744:16:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1247, + "name": "_rwEthAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1168, + "src": "8762:12:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 1243, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "8712:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 1245, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "increaseUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1370, + "src": "8712:31:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 1248, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8712:63:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1249, + "nodeType": "ExpressionStatement", + "src": "8712:63:1" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 1253, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "8812:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1254, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "8812:10:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1255, + "name": "etherToUnstake", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1222, + "src": "8824:14:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 1250, + "name": "poolVault", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1187, + "src": "8788:9:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVaultInterface_$1443", + "typeString": "contract PoolVaultInterface" + } + }, + "id": 1252, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "withdrawEther", + "nodeType": "MemberAccess", + "referencedDeclaration": 1437, + "src": "8788:23:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256) external" + } + }, + "id": 1256, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8788:51:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1257, + "nodeType": "ExpressionStatement", + "src": "8788:51:1" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 1259, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "8866:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1260, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "8866:10:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1261, + "name": "etherToUnstake", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1222, + "src": "8878:14:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "expression": { + "id": 1262, + "name": "block", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967292, + "src": "8894:5:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_block", + "typeString": "block" + } + }, + "id": 1263, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "timestamp", + "nodeType": "MemberAccess", + "src": "8894:15:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1258, + "name": "UserStaked", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 608, + "src": "8855:10:1", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256,uint256)" + } + }, + "id": 1264, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8855:55:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1265, + "nodeType": "EmitStatement", + "src": "8850:60:1" + } + ] + }, + "documentation": { + "id": 1166, + "nodeType": "StructuredDocumentation", + "src": "7539:432:1", + "text": "@dev Main Unstaking function. Allows users to deposit rwEther in exchange of Ether.\n @notice The withdrawEther function updates the total_ether_supply and its staked amount.\n @notice Once it is called, the rwEth amount is burned and the vault sends to this contract the ether counterpart.\n @notice User needs to provide allowance to the contract to make this call (performed on the frontend of the Dapp)." + }, + "functionSelector": "2e1a7d4d", + "id": 1267, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 1171, + "name": "_rwEthAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1168, + "src": "8042:12:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 1172, + "kind": "modifierInvocation", + "modifierName": { + "id": 1170, + "name": "withdrawCompliance", + "nodeType": "IdentifierPath", + "referencedDeclaration": 855, + "src": "8023:18:1" + }, + "nodeType": "ModifierInvocation", + "src": "8023:32:1" + }, + { + "arguments": [], + "id": 1174, + "kind": "modifierInvocation", + "modifierName": { + "id": 1173, + "name": "nonReentrant", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1946, + "src": "8056:12:1" + }, + "nodeType": "ModifierInvocation", + "src": "8056:14:1" + } + ], + "name": "withdraw", + "nameLocation": "7986:8:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1169, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1168, + "mutability": "mutable", + "name": "_rwEthAmount", + "nameLocation": "8000:12:1", + "nodeType": "VariableDeclaration", + "scope": 1267, + "src": "7995:17:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1167, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7995:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "7994:19:1" + }, + "returnParameters": { + "id": 1175, + "nodeType": "ParameterList", + "parameters": [], + "src": "8070:0:1" + }, + "scope": 1293, + "src": "7977:941:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "body": { + "id": 1291, + "nodeType": "Block", + "src": "8986:212:1", + "statements": [ + { + "assignments": [ + 1273 + ], + "declarations": [ + { + "constant": false, + "id": 1273, + "mutability": "mutable", + "name": "addressTag", + "nameLocation": "9005:10:1", + "nodeType": "VariableDeclaration", + "scope": 1291, + "src": "8997:18:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1272, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "8997:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 1281, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f61646472657373", + "id": 1277, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9045:18:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + "value": "contract_address" + }, + { + "hexValue": "506f6f6c436c69656e74", + "id": 1278, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9065:12:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_db398badece03775756fae64be2a2ed9aaf2b2ace9c216beb0e483c4a0338aa3", + "typeString": "literal_string \"PoolClient\"" + }, + "value": "PoolClient" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + { + "typeIdentifier": "t_stringliteral_db398badece03775756fae64be2a2ed9aaf2b2ace9c216beb0e483c4a0338aa3", + "typeString": "literal_string \"PoolClient\"" + } + ], + "expression": { + "id": 1275, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "9028:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 1276, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "9028:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 1279, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "9028:50:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1274, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "9018:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 1280, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "9018:61:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8997:82:1" + }, + { + "assignments": [ + 1283 + ], + "declarations": [ + { + "constant": false, + "id": 1283, + "mutability": "mutable", + "name": "contractAddress", + "nameLocation": "9098:15:1", + "nodeType": "VariableDeclaration", + "scope": 1291, + "src": "9090:23:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1282, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "9090:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "id": 1288, + "initialValue": { + "arguments": [ + { + "id": 1286, + "name": "addressTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1273, + "src": "9146:10:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 1284, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "9116:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$1393", + "typeString": "contract DataStorageInterface" + } + }, + "id": 1285, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getAddressStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 1337, + "src": "9116:29:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_address_$", + "typeString": "function (bytes32) view external returns (address)" + } + }, + "id": 1287, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "9116:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "9090:67:1" + }, + { + "expression": { + "id": 1289, + "name": "contractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1283, + "src": "9175:15:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "functionReturnParameters": 1271, + "id": 1290, + "nodeType": "Return", + "src": "9168:22:1" + } + ] + }, + "functionSelector": "6c426607", + "id": 1292, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getPoolClientAddress", + "nameLocation": "8935:20:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1268, + "nodeType": "ParameterList", + "parameters": [], + "src": "8955:2:1" + }, + "returnParameters": { + "id": 1271, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1270, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1292, + "src": "8978:7:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1269, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "8978:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "8977:9:1" + }, + "scope": 1293, + "src": "8926:272:1", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + } + ], + "scope": 1294, + "src": "653:8566:1", + "usedErrors": [] + } + ], + "src": "33:9188:1" + }, + "functionHashes": { + "DEFAULT_ADMIN_ROLE()": "a217fddf", + "POOL_MANAGER()": "62308e85", + "addPoolManager(address)": "45077e71", + "calculateRewards()": "3e50de30", + "deposit()": "d0e30db0", + "getContributionLimit()": "fa1e19e5", + "getMinContribution()": "6cff7473", + "getPoolBaseAddress()": "8ae68134", + "getPoolClientAddress()": "6c426607", + "getPoolMaxSize()": "095df57f", + "getPoolState()": "217ac237", + "getRewardsInterest()": "7521796f", + "getRewardsInterval()": "497d0241", + "getRewardsToInject()": "9ed03ab6", + "getRoleAdmin(bytes32)": "248a9ca3", + "grantRole(bytes32,address)": "2f2ff15d", + "hasRole(bytes32,address)": "91d14854", + "removePoolManager(address)": "29ca15bc", + "renounceRole(bytes32,address)": "36568abe", + "revokeRole(bytes32,address)": "d547741f", + "rewardsInjector()": "ee7d4d2b", + "setContributionLimit(uint256)": "72d099a0", + "setMinContribution(uint256)": "473b0d46", + "setPoolLive(bool)": "a4975516", + "setPoolMaxSize(uint256)": "12646987", + "setRewardsInterest(uint256)": "bf4c0036", + "setRewardsInterval(uint256)": "53710f49", + "supportsInterface(bytes4)": "01ffc9a7", + "withdraw(uint256)": "2e1a7d4d" + }, + "gasEstimates": { + "creation": { + "codeDepositCost": "2654800", + "executionCost": "infinite", + "totalCost": "infinite" + }, + "external": { + "DEFAULT_ADMIN_ROLE()": "262", + "POOL_MANAGER()": "infinite", + "addPoolManager(address)": "infinite", + "calculateRewards()": "infinite", + "deposit()": "infinite", + "getContributionLimit()": "infinite", + "getMinContribution()": "infinite", + "getPoolBaseAddress()": "infinite", + "getPoolClientAddress()": "infinite", + "getPoolMaxSize()": "infinite", + "getPoolState()": "infinite", + "getRewardsInterest()": "infinite", + "getRewardsInterval()": "infinite", + "getRewardsToInject()": "infinite", + "getRoleAdmin(bytes32)": "2515", + "grantRole(bytes32,address)": "infinite", + "hasRole(bytes32,address)": "2761", + "removePoolManager(address)": "infinite", + "renounceRole(bytes32,address)": "29062", + "revokeRole(bytes32,address)": "infinite", + "rewardsInjector()": "infinite", + "setContributionLimit(uint256)": "infinite", + "setMinContribution(uint256)": "infinite", + "setPoolLive(bool)": "infinite", + "setPoolMaxSize(uint256)": "infinite", + "setRewardsInterest(uint256)": "infinite", + "setRewardsInterval(uint256)": "infinite", + "supportsInterface(bytes4)": "473", + "withdraw(uint256)": "infinite" + }, + "internal": { + "_depositToVault()": "infinite", + "_setPoolClientAddress()": "infinite" + } + } +} \ No newline at end of file diff --git a/bin/contracts/PoolVault-solc-output.json b/bin/contracts/PoolVault-solc-output.json new file mode 100644 index 00000000..973b4f27 --- /dev/null +++ b/bin/contracts/PoolVault-solc-output.json @@ -0,0 +1,41791 @@ +{ + "contracts": { + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol": { + "PoolBase": { + "abi": [ + { + "inputs": [ + { + "internalType": "contract DataStorageInterface", + "name": "_dataStorageAddress", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_removedManager", + "type": "address" + } + ], + "name": "ManagerRemoved", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_newManager", + "type": "address" + } + ], + "name": "NewManagerAdded", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "POOL_MANAGER", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "addPoolManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "getContributionLimit", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getMinContribution", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolBaseAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolMaxSize", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolState", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardsInterest", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardsInterval", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "removePoolManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newContrLimit", + "type": "uint256" + } + ], + "name": "setContributionLimit", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newMinContr", + "type": "uint256" + } + ], + "name": "setMinContribution", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bool", + "name": "_live", + "type": "bool" + } + ], + "name": "setPoolLive", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_maxSize", + "type": "uint256" + } + ], + "name": "setPoolMaxSize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_rewardsInterest", + "type": "uint256" + } + ], + "name": "setRewardsInterest", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_daysToRewards", + "type": "uint256" + } + ], + "name": "setRewardsInterval", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "devdoc": { + "kind": "dev", + "methods": { + "getRoleAdmin(bytes32)": { + "details": "Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}." + }, + "grantRole(bytes32,address)": { + "details": "Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role." + }, + "hasRole(bytes32,address)": { + "details": "Returns `true` if `account` has been granted `role`." + }, + "renounceRole(bytes32,address)": { + "details": "Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`." + }, + "revokeRole(bytes32,address)": { + "details": "Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role." + }, + "setContributionLimit(uint256)": { + "details": "Set the max. contribution allowed for each user.", + "params": { + "_newContrLimit": "is a WEI value." + } + }, + "setMinContribution(uint256)": { + "details": "Set the min. contribution allowed for each user.", + "params": { + "_newMinContr": "is a WEI value." + } + }, + "setPoolLive(bool)": { + "details": "Toggles the Pool Investing Switch. " + }, + "setPoolMaxSize(uint256)": { + "details": "Sets the Pool Maximium size expressed on ether.", + "params": { + "_maxSize": "is a WEI value (or BigInt / BigNumber)." + } + }, + "setRewardsInterest(uint256)": { + "details": "Set the interest per effective period.", + "params": { + "_rewardsInterest": "within the storage has 6 decimals." + } + }, + "setRewardsInterval(uint256)": { + "details": "Set the interval in days of the rewards period." + }, + "supportsInterface(bytes4)": { + "details": "See {IERC165-supportsInterface}." + } + }, + "title": "This contract handles the modifiers and environmental parameters that control the pool. ", + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": { + "@_1384": { + "entryPoint": null, + "id": 1384, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_55": { + "entryPoint": null, + "id": 55, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@_grantRole_1260": { + "entryPoint": 531, + "id": 1260, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@_msgSender_1495": { + "entryPoint": null, + "id": 1495, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@_setPoolBaseAddress_162": { + "entryPoint": 173, + "id": 162, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_setupRole_1200": { + "entryPoint": 157, + "id": 1200, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@hasRole_1065": { + "entryPoint": null, + "id": 1065, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_contract$_DataStorageInterface_$936_fromMemory": { + "entryPoint": 691, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + } + }, + "generatedSources": [ + { + "ast": { + "nodeType": "YulBlock", + "src": "0:1665:12", + "statements": [ + { + "nodeType": "YulBlock", + "src": "6:3:12", + "statements": [] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "123:209:12", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "169:16:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "178:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "181:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "171:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "171:12:12" + }, + "nodeType": "YulExpressionStatement", + "src": "171:12:12" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "144:7:12" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "153:9:12" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "140:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "140:23:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "165:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "136:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "136:32:12" + }, + "nodeType": "YulIf", + "src": "133:52:12" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "194:29:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "213:9:12" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "207:5:12" + }, + "nodeType": "YulFunctionCall", + "src": "207:16:12" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "198:5:12", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "286:16:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "295:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "298:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "288:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "288:12:12" + }, + "nodeType": "YulExpressionStatement", + "src": "288:12:12" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "245:5:12" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "256:5:12" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "271:3:12", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "276:1:12", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "267:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "267:11:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "280:1:12", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "263:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "263:19:12" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "252:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "252:31:12" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "242:2:12" + }, + "nodeType": "YulFunctionCall", + "src": "242:42:12" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "235:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "235:50:12" + }, + "nodeType": "YulIf", + "src": "232:70:12" + }, + { + "nodeType": "YulAssignment", + "src": "311:15:12", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "321:5:12" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "311:6:12" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_contract$_DataStorageInterface_$936_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "89:9:12", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "100:7:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "112:6:12", + "type": "" + } + ], + "src": "14:318:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "557:150:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "574:3:12" + }, + { + "hexValue": "636f6e74726163745f657869737473", + "kind": "string", + "nodeType": "YulLiteral", + "src": "579:17:12", + "type": "", + "value": "contract_exists" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "567:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "567:30:12" + }, + "nodeType": "YulExpressionStatement", + "src": "567:30:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "617:3:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "622:2:12", + "type": "", + "value": "15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "613:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "613:12:12" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "635:2:12", + "type": "", + "value": "96" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "639:6:12" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "631:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "631:15:12" + }, + { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "660:2:12", + "type": "", + "value": "96" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "664:1:12", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "656:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "656:10:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "668:1:12", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "652:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "652:18:12" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "648:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "648:23:12" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "627:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "627:45:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "606:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "606:67:12" + }, + "nodeType": "YulExpressionStatement", + "src": "606:67:12" + }, + { + "nodeType": "YulAssignment", + "src": "682:19:12", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "693:3:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "698:2:12", + "type": "", + "value": "35" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "689:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "689:12:12" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "682:3:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "533:3:12", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "538:6:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "549:3:12", + "type": "" + } + ], + "src": "337:370:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "835:135:12", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "845:26:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "857:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "868:2:12", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "853:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "853:18:12" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "845:4:12" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "887:9:12" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "898:6:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "880:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "880:25:12" + }, + "nodeType": "YulExpressionStatement", + "src": "880:25:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "925:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "936:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "921:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "921:18:12" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "955:6:12" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "948:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "948:14:12" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "941:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "941:22:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "914:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "914:50:12" + }, + "nodeType": "YulExpressionStatement", + "src": "914:50:12" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "796:9:12", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "807:6:12", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "815:6:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "826:4:12", + "type": "" + } + ], + "src": "712:258:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1268:116:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "1285:3:12" + }, + { + "hexValue": "636f6e74726163745f61646472657373", + "kind": "string", + "nodeType": "YulLiteral", + "src": "1290:18:12", + "type": "", + "value": "contract_address" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1278:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "1278:31:12" + }, + "nodeType": "YulExpressionStatement", + "src": "1278:31:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "1329:3:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1334:2:12", + "type": "", + "value": "16" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1325:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "1325:12:12" + }, + { + "hexValue": "506f6f6c42617365", + "kind": "string", + "nodeType": "YulLiteral", + "src": "1339:10:12", + "type": "", + "value": "PoolBase" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1318:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "1318:32:12" + }, + "nodeType": "YulExpressionStatement", + "src": "1318:32:12" + }, + { + "nodeType": "YulAssignment", + "src": "1359:19:12", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "1370:3:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1375:2:12", + "type": "", + "value": "24" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1366:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "1366:12:12" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "1359:3:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "1252:3:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "1260:3:12", + "type": "" + } + ], + "src": "975:409:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1518:145:12", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "1528:26:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1540:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1551:2:12", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1536:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "1536:18:12" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "1528:4:12" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1570:9:12" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1581:6:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1563:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "1563:25:12" + }, + "nodeType": "YulExpressionStatement", + "src": "1563:25:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1608:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1619:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1604:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "1604:18:12" + }, + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "1628:6:12" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1644:3:12", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1649:1:12", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "1640:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "1640:11:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1653:1:12", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1636:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "1636:19:12" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "1624:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "1624:32:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1597:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "1597:60:12" + }, + "nodeType": "YulExpressionStatement", + "src": "1597:60:12" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1479:9:12", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "1490:6:12", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1498:6:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "1509:4:12", + "type": "" + } + ], + "src": "1389:274:12" + } + ] + }, + "contents": "{\n { }\n function abi_decode_tuple_t_contract$_DataStorageInterface_$936_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := mload(headStart)\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n value0 := value\n }\n function abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed(pos, value0) -> end\n {\n mstore(pos, \"contract_exists\")\n mstore(add(pos, 15), and(shl(96, value0), not(sub(shl(96, 1), 1))))\n end := add(pos, 35)\n }\n function abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), iszero(iszero(value1)))\n }\n function abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"contract_address\")\n mstore(add(pos, 16), \"PoolBase\")\n end := add(pos, 24)\n }\n function abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), and(value1, sub(shl(160, 1), 1)))\n }\n}", + "id": 12, + "language": "Yul", + "name": "#utility.yul" + } + ], + "linkReferences": {}, + "object": "60806040523480156200001157600080fd5b5060405162001896380380620018968339810160408190526200003491620002b3565b60018055600280546001600160a01b0319166001600160a01b038316179055620000606000336200009d565b6200008c7f41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842336200009d565b62000096620000ad565b50620002e5565b620000a9828262000213565b5050565b6002546040516e636f6e74726163745f65786973747360881b60208201526001600160601b03193060601b16602f8201526001600160a01b039091169063988c515b9060430160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b168252600482015260016024820152604401600060405180830381600087803b1580156200014757600080fd5b505af11580156200015c573d6000803e3d6000fd5b50506002546040516f636f6e74726163745f6164647265737360801b602082015267506f6f6c4261736560c01b60308201526001600160a01b039091169250637221263a915060380160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b1682526004820152306024820152604401600060405180830381600087803b158015620001f857600080fd5b505af11580156200020d573d6000803e3d6000fd5b50505050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620000a9576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556200026f3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600060208284031215620002c657600080fd5b81516001600160a01b0381168114620002de57600080fd5b9392505050565b6115a180620002f56000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c806353710f49116100c357806391d148541161007c57806391d14854146102a2578063a217fddf146102b5578063a4975516146102bd578063bf4c0036146102d0578063d547741f146102e3578063fa1e19e5146102f657600080fd5b806353710f491461023757806362308e851461024a5780636cff74731461025f57806372d099a0146102675780637521796f1461027a5780638ae681341461028257600080fd5b806329ca15bc1161011557806329ca15bc146101d05780632f2ff15d146101e357806336568abe146101f657806345077e7114610209578063473b0d461461021c578063497d02411461022f57600080fd5b806301ffc9a714610152578063095df57f1461017a5780631264698714610190578063217ac237146101a5578063248a9ca3146101ad575b600080fd5b610165610160366004611270565b6102fe565b60405190151581526020015b60405180910390f35b610182610335565b604051908152602001610171565b6101a361019e36600461129a565b6103f2565b005b610165610579565b6101826101bb36600461129a565b60009081526020819052604090206001015490565b6101a36101de3660046112cb565b61061e565b6101a36101f13660046112e8565b61067a565b6101a36102043660046112e8565b6106a5565b6101a36102173660046112cb565b610723565b6101a361022a36600461129a565b61077f565b610182610a27565b6101a361024536600461129a565b610a4d565b61018260008051602061154c83398151915281565b610182610b4f565b6101a361027536600461129a565b610b77565b610182610c7d565b61028a610cae565b6040516001600160a01b039091168152602001610171565b6101656102b03660046112e8565b610d87565b610182600081565b6101a36102cb366004611326565b610db0565b6101a36102de36600461129a565b610e2a565b6101a36102f13660046112e8565b610f37565b610182610f5d565b60006001600160e01b03198216637965db0b60e01b148061032f57506301ffc9a760e01b6001600160e01b03198316145b92915050565b600080604051602001610359906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b1580156103b457600080fd5b505afa1580156103c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103ec9190611343565b91505090565b60008051602061154c83398151915261040b8133610f87565b6002546040516001600160a01b03909116906355d946559061042f9060200161135c565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161046391815260200190565b60206040518083038186803b15801561047b57600080fd5b505afa15801561048f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104b39190611372565b156104d95760405162461bcd60e51b81526004016104d09061138f565b60405180910390fd5b6040516a706f6f6c4d617853697a6560a81b6020820152600090602b015b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018690529092506001600160a01b0316906328192c55906044015b600060405180830381600087803b15801561055c57600080fd5b505af1158015610570573d6000803e3d6000fd5b50505050505050565b60008060405160200161058b9061135c565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b1580156105e657600080fd5b505afa1580156105fa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103ec9190611372565b600061062a8133610f87565b61064260008051602061154c83398151915283610f37565b6040516001600160a01b038316907fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd3190600090a25050565b6000828152602081905260409020600101546106968133610f87565b6106a08383610feb565b505050565b6001600160a01b03811633146107155760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016104d0565b61071f828261106f565b5050565b600061072f8133610f87565b61074760008051602061154c8339815191528361067a565b6040516001600160a01b038316907fd873e3f571dc25e020cefdeb7255b3874ead3aade1f94a5fb4a5da831fd670cd90600090a25050565b60008051602061154c8339815191526107988133610f87565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b602082015260009060310160408051601f198184030181529082905280516020918201206002549093506001600160a01b0316916355d94655916107f4910161135c565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161082891815260200190565b60206040518083038186803b15801561084057600080fd5b505afa158015610854573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108789190611372565b156108955760405162461bcd60e51b81526004016104d09061138f565b60025460405163afc3602b60e01b81526004810183905284916001600160a01b03169063afc3602b9060240160206040518083038186803b1580156108d957600080fd5b505afa1580156108ed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109119190611343565b116109845760405162461bcd60e51b815260206004820152603e60248201527f546865206d696e2e20636f6e74722e206c696d6974206e6565647320746f206260448201527f6520736d616c6c6572207468616e20746865206d61782e206c696d69742e000060648201526084016104d0565b6040516e36b4b721b7b73a3934b13aba34b7b760891b6020820152600090602f0160408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018790529092506001600160a01b0316906328192c5590604401600060405180830381600087803b158015610a0957600080fd5b505af1158015610a1d573d6000803e3d6000fd5b5050505050505050565b600080604051602001610359906c64617973546f5265776172647360981b8152600d0190565b60008051602061154c833981519152610a668133610f87565b6002546040516001600160a01b03909116906355d9465590610a8a9060200161135c565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610abe91815260200190565b60206040518083038186803b158015610ad657600080fd5b505afa158015610aea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b0e9190611372565b15610b2b5760405162461bcd60e51b81526004016104d09061138f565b6040516c64617973546f5265776172647360981b6020820152600090602d016104f7565b600080604051602001610359906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b60008051602061154c833981519152610b908133610f87565b6002546040516001600160a01b03909116906355d9465590610bb49060200161135c565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610be891815260200190565b60206040518083038186803b158015610c0057600080fd5b505afa158015610c14573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c389190611372565b15610c555760405162461bcd60e51b81526004016104d09061138f565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b60208201526000906031016104f7565b60008060405160200161035990771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b600080604051602001610ce8906f636f6e74726163745f6164647265737360801b815267506f6f6c4261736560c01b601082015260180190565b60408051808303601f190181529082905280516020909101206002546315485dd960e11b8352600483018290529092506000916001600160a01b0390911690632a90bbb29060240160206040518083038186803b158015610d4857600080fd5b505afa158015610d5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d8091906113c6565b9392505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60008051602061154c833981519152610dc98133610f87565b6000604051602001610dda9061135c565b60408051808303601f1901815290829052805160209091012060025463988c515b60e01b83526004830182905285151560248401529092506001600160a01b03169063988c515b90604401610542565b60008051602061154c833981519152610e438133610f87565b6002546040516001600160a01b03909116906355d9465590610e679060200161135c565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610e9b91815260200190565b60206040518083038186803b158015610eb357600080fd5b505afa158015610ec7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eeb9190611372565b15610f085760405162461bcd60e51b81526004016104d09061138f565b604051771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b60208201526000906038016104f7565b600082815260208190526040902060010154610f538133610f87565b6106a0838361106f565b600080604051602001610359907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b610f918282610d87565b61071f57610fa9816001600160a01b031660146110d4565b610fb48360206110d4565b604051602001610fc5929190611413565b60408051601f198184030181529082905262461bcd60e51b82526104d091600401611488565b610ff58282610d87565b61071f576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905561102b3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6110798282610d87565b1561071f576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b606060006110e38360026114d1565b6110ee9060026114f0565b67ffffffffffffffff81111561110657611106611508565b6040519080825280601f01601f191660200182016040528015611130576020820181803683370190505b509050600360fc1b8160008151811061114b5761114b61151e565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061117a5761117a61151e565b60200101906001600160f81b031916908160001a905350600061119e8460026114d1565b6111a99060016114f0565b90505b6001811115611221576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106111dd576111dd61151e565b1a60f81b8282815181106111f3576111f361151e565b60200101906001600160f81b031916908160001a90535060049490941c9361121a81611534565b90506111ac565b508315610d805760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016104d0565b60006020828403121561128257600080fd5b81356001600160e01b031981168114610d8057600080fd5b6000602082840312156112ac57600080fd5b5035919050565b6001600160a01b03811681146112c857600080fd5b50565b6000602082840312156112dd57600080fd5b8135610d80816112b3565b600080604083850312156112fb57600080fd5b82359150602083013561130d816112b3565b809150509250929050565b80151581146112c857600080fd5b60006020828403121561133857600080fd5b8135610d8081611318565b60006020828403121561135557600080fd5b5051919050565b696973506f6f6c4c69766560b01b8152600a0190565b60006020828403121561138457600080fd5b8151610d8081611318565b6020808252601d908201527f54686520706f6f6c2069732063757272656e746c7920636c6f7365642e000000604082015260600190565b6000602082840312156113d857600080fd5b8151610d80816112b3565b60005b838110156113fe5781810151838201526020016113e6565b8381111561140d576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161144b8160178501602088016113e3565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161147c8160288401602088016113e3565b01602801949350505050565b60208152600082518060208401526114a78160408501602087016113e3565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156114eb576114eb6114bb565b500290565b60008219821115611503576115036114bb565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081611543576115436114bb565b50600019019056fe41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842a264697066735822122068aefc31709df53e0bd9b41a607ae0503e6debe0af5b8d983994032b47ecd3db64736f6c63430008090033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH3 0x11 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH3 0x1896 CODESIZE SUB DUP1 PUSH3 0x1896 DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH3 0x34 SWAP2 PUSH3 0x2B3 JUMP JUMPDEST PUSH1 0x1 DUP1 SSTORE PUSH1 0x2 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND OR SWAP1 SSTORE PUSH3 0x60 PUSH1 0x0 CALLER PUSH3 0x9D JUMP JUMPDEST PUSH3 0x8C PUSH32 0x41A01EC0A13B563FA452569E3FBB116366D217C2769AA1561822E65A617E3842 CALLER PUSH3 0x9D JUMP JUMPDEST PUSH3 0x96 PUSH3 0xAD JUMP JUMPDEST POP PUSH3 0x2E5 JUMP JUMPDEST PUSH3 0xA9 DUP3 DUP3 PUSH3 0x213 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH15 0x636F6E74726163745F657869737473 PUSH1 0x88 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB NOT ADDRESS PUSH1 0x60 SHL AND PUSH1 0x2F DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x988C515B SWAP1 PUSH1 0x43 ADD PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT PUSH1 0xE0 DUP5 SWAP1 SHL AND DUP3 MSTORE PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x147 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH3 0x15C JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH16 0x636F6E74726163745F61646472657373 PUSH1 0x80 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH8 0x506F6F6C42617365 PUSH1 0xC0 SHL PUSH1 0x30 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP3 POP PUSH4 0x7221263A SWAP2 POP PUSH1 0x38 ADD PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT PUSH1 0xE0 DUP5 SWAP1 SHL AND DUP3 MSTORE PUSH1 0x4 DUP3 ADD MSTORE ADDRESS PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x1F8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH3 0x20D JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH3 0xA9 JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH3 0x26F CALLER SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH3 0x2C6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH3 0x2DE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0x15A1 DUP1 PUSH3 0x2F5 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x14D JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x53710F49 GT PUSH2 0xC3 JUMPI DUP1 PUSH4 0x91D14854 GT PUSH2 0x7C JUMPI DUP1 PUSH4 0x91D14854 EQ PUSH2 0x2A2 JUMPI DUP1 PUSH4 0xA217FDDF EQ PUSH2 0x2B5 JUMPI DUP1 PUSH4 0xA4975516 EQ PUSH2 0x2BD JUMPI DUP1 PUSH4 0xBF4C0036 EQ PUSH2 0x2D0 JUMPI DUP1 PUSH4 0xD547741F EQ PUSH2 0x2E3 JUMPI DUP1 PUSH4 0xFA1E19E5 EQ PUSH2 0x2F6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x53710F49 EQ PUSH2 0x237 JUMPI DUP1 PUSH4 0x62308E85 EQ PUSH2 0x24A JUMPI DUP1 PUSH4 0x6CFF7473 EQ PUSH2 0x25F JUMPI DUP1 PUSH4 0x72D099A0 EQ PUSH2 0x267 JUMPI DUP1 PUSH4 0x7521796F EQ PUSH2 0x27A JUMPI DUP1 PUSH4 0x8AE68134 EQ PUSH2 0x282 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x29CA15BC GT PUSH2 0x115 JUMPI DUP1 PUSH4 0x29CA15BC EQ PUSH2 0x1D0 JUMPI DUP1 PUSH4 0x2F2FF15D EQ PUSH2 0x1E3 JUMPI DUP1 PUSH4 0x36568ABE EQ PUSH2 0x1F6 JUMPI DUP1 PUSH4 0x45077E71 EQ PUSH2 0x209 JUMPI DUP1 PUSH4 0x473B0D46 EQ PUSH2 0x21C JUMPI DUP1 PUSH4 0x497D0241 EQ PUSH2 0x22F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x152 JUMPI DUP1 PUSH4 0x95DF57F EQ PUSH2 0x17A JUMPI DUP1 PUSH4 0x12646987 EQ PUSH2 0x190 JUMPI DUP1 PUSH4 0x217AC237 EQ PUSH2 0x1A5 JUMPI DUP1 PUSH4 0x248A9CA3 EQ PUSH2 0x1AD JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x165 PUSH2 0x160 CALLDATASIZE PUSH1 0x4 PUSH2 0x1270 JUMP JUMPDEST PUSH2 0x2FE JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x182 PUSH2 0x335 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x171 JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x19E CALLDATASIZE PUSH1 0x4 PUSH2 0x129A JUMP JUMPDEST PUSH2 0x3F2 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x165 PUSH2 0x579 JUMP JUMPDEST PUSH2 0x182 PUSH2 0x1BB CALLDATASIZE PUSH1 0x4 PUSH2 0x129A JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x1DE CALLDATASIZE PUSH1 0x4 PUSH2 0x12CB JUMP JUMPDEST PUSH2 0x61E JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x1F1 CALLDATASIZE PUSH1 0x4 PUSH2 0x12E8 JUMP JUMPDEST PUSH2 0x67A JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x204 CALLDATASIZE PUSH1 0x4 PUSH2 0x12E8 JUMP JUMPDEST PUSH2 0x6A5 JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x217 CALLDATASIZE PUSH1 0x4 PUSH2 0x12CB JUMP JUMPDEST PUSH2 0x723 JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x22A CALLDATASIZE PUSH1 0x4 PUSH2 0x129A JUMP JUMPDEST PUSH2 0x77F JUMP JUMPDEST PUSH2 0x182 PUSH2 0xA27 JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x245 CALLDATASIZE PUSH1 0x4 PUSH2 0x129A JUMP JUMPDEST PUSH2 0xA4D JUMP JUMPDEST PUSH2 0x182 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 JUMP JUMPDEST PUSH2 0x182 PUSH2 0xB4F JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x275 CALLDATASIZE PUSH1 0x4 PUSH2 0x129A JUMP JUMPDEST PUSH2 0xB77 JUMP JUMPDEST PUSH2 0x182 PUSH2 0xC7D JUMP JUMPDEST PUSH2 0x28A PUSH2 0xCAE JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x171 JUMP JUMPDEST PUSH2 0x165 PUSH2 0x2B0 CALLDATASIZE PUSH1 0x4 PUSH2 0x12E8 JUMP JUMPDEST PUSH2 0xD87 JUMP JUMPDEST PUSH2 0x182 PUSH1 0x0 DUP2 JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x2CB CALLDATASIZE PUSH1 0x4 PUSH2 0x1326 JUMP JUMPDEST PUSH2 0xDB0 JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x2DE CALLDATASIZE PUSH1 0x4 PUSH2 0x129A JUMP JUMPDEST PUSH2 0xE2A JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x2F1 CALLDATASIZE PUSH1 0x4 PUSH2 0x12E8 JUMP JUMPDEST PUSH2 0xF37 JUMP JUMPDEST PUSH2 0x182 PUSH2 0xF5D JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH4 0x7965DB0B PUSH1 0xE0 SHL EQ DUP1 PUSH2 0x32F JUMPI POP PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP4 AND EQ JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x359 SWAP1 PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL DUP2 MSTORE PUSH1 0xB ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x3B4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x3C8 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x3EC SWAP2 SWAP1 PUSH2 0x1343 JUMP JUMPDEST SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x40B DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x42F SWAP1 PUSH1 0x20 ADD PUSH2 0x135C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x463 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x47B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x48F JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x4B3 SWAP2 SWAP1 PUSH2 0x1372 JUMP JUMPDEST ISZERO PUSH2 0x4D9 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x4D0 SWAP1 PUSH2 0x138F JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2B ADD JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP7 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x55C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x570 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x58B SWAP1 PUSH2 0x135C JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x55D94655 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x5E6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x5FA JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x3EC SWAP2 SWAP1 PUSH2 0x1372 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x62A DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH2 0x642 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0xF37 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xEF69F7D97228658C92417BE1B16B19058315DE71FECB435D07B7D23728B6BD31 SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0x696 DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH2 0x6A0 DUP4 DUP4 PUSH2 0xFEB JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND CALLER EQ PUSH2 0x715 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416363657373436F6E74726F6C3A2063616E206F6E6C792072656E6F756E6365 PUSH1 0x44 DUP3 ADD MSTORE PUSH15 0x103937B632B9903337B91039B2B633 PUSH1 0x89 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x4D0 JUMP JUMPDEST PUSH2 0x71F DUP3 DUP3 PUSH2 0x106F JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x72F DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH2 0x747 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0x67A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xD873E3F571DC25E020CEFDEB7255B3874EAD3AADE1F94A5FB4A5DA831FD670CD SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x798 DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x31 ADD PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP2 DUP3 ADD KECCAK256 PUSH1 0x2 SLOAD SWAP1 SWAP4 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 PUSH4 0x55D94655 SWAP2 PUSH2 0x7F4 SWAP2 ADD PUSH2 0x135C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x828 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x840 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x854 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x878 SWAP2 SWAP1 PUSH2 0x1372 JUMP JUMPDEST ISZERO PUSH2 0x895 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x4D0 SWAP1 PUSH2 0x138F JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP4 SWAP1 MSTORE DUP5 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x8D9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x8ED JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x911 SWAP2 SWAP1 PUSH2 0x1343 JUMP JUMPDEST GT PUSH2 0x984 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x546865206D696E2E20636F6E74722E206C696D6974206E6565647320746F2062 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6520736D616C6C6572207468616E20746865206D61782E206C696D69742E0000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x4D0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2F ADD PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP8 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xA09 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xA1D JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x359 SWAP1 PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL DUP2 MSTORE PUSH1 0xD ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xA66 DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xA8A SWAP1 PUSH1 0x20 ADD PUSH2 0x135C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xABE SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xAD6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xAEA JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xB0E SWAP2 SWAP1 PUSH2 0x1372 JUMP JUMPDEST ISZERO PUSH2 0xB2B JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x4D0 SWAP1 PUSH2 0x138F JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2D ADD PUSH2 0x4F7 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x359 SWAP1 PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL DUP2 MSTORE PUSH1 0xF ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xB90 DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xBB4 SWAP1 PUSH1 0x20 ADD PUSH2 0x135C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xBE8 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xC00 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xC14 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xC38 SWAP2 SWAP1 PUSH2 0x1372 JUMP JUMPDEST ISZERO PUSH2 0xC55 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x4D0 SWAP1 PUSH2 0x138F JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x31 ADD PUSH2 0x4F7 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x359 SWAP1 PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL DUP2 MSTORE PUSH1 0x18 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xCE8 SWAP1 PUSH16 0x636F6E74726163745F61646472657373 PUSH1 0x80 SHL DUP2 MSTORE PUSH8 0x506F6F6C42617365 PUSH1 0xC0 SHL PUSH1 0x10 DUP3 ADD MSTORE PUSH1 0x18 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x15485DD9 PUSH1 0xE1 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x0 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x2A90BBB2 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xD48 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xD5C JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xD80 SWAP2 SWAP1 PUSH2 0x13C6 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP3 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 SWAP1 SWAP4 AND DUP5 MSTORE SWAP2 SWAP1 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xDC9 DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xDDA SWAP1 PUSH2 0x135C JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x988C515B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE DUP6 ISZERO ISZERO PUSH1 0x24 DUP5 ADD MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x988C515B SWAP1 PUSH1 0x44 ADD PUSH2 0x542 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xE43 DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xE67 SWAP1 PUSH1 0x20 ADD PUSH2 0x135C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xE9B SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xEB3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xEC7 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xEEB SWAP2 SWAP1 PUSH2 0x1372 JUMP JUMPDEST ISZERO PUSH2 0xF08 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x4D0 SWAP1 PUSH2 0x138F JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x38 ADD PUSH2 0x4F7 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0xF53 DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH2 0x6A0 DUP4 DUP4 PUSH2 0x106F JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x359 SWAP1 PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL DUP2 MSTORE PUSH1 0x11 ADD SWAP1 JUMP JUMPDEST PUSH2 0xF91 DUP3 DUP3 PUSH2 0xD87 JUMP JUMPDEST PUSH2 0x71F JUMPI PUSH2 0xFA9 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x14 PUSH2 0x10D4 JUMP JUMPDEST PUSH2 0xFB4 DUP4 PUSH1 0x20 PUSH2 0x10D4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xFC5 SWAP3 SWAP2 SWAP1 PUSH2 0x1413 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE PUSH3 0x461BCD PUSH1 0xE5 SHL DUP3 MSTORE PUSH2 0x4D0 SWAP2 PUSH1 0x4 ADD PUSH2 0x1488 JUMP JUMPDEST PUSH2 0xFF5 DUP3 DUP3 PUSH2 0xD87 JUMP JUMPDEST PUSH2 0x71F JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH2 0x102B CALLER SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH2 0x1079 DUP3 DUP3 PUSH2 0xD87 JUMP JUMPDEST ISZERO PUSH2 0x71F JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP1 DUP6 MSTORE SWAP3 MSTORE DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE MLOAD CALLER SWAP3 DUP6 SWAP2 PUSH32 0xF6391F5C32D9C69D2A47EA670B442974B53935D1EDC7FD64EB21E047A839171B SWAP2 SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH2 0x10E3 DUP4 PUSH1 0x2 PUSH2 0x14D1 JUMP JUMPDEST PUSH2 0x10EE SWAP1 PUSH1 0x2 PUSH2 0x14F0 JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1106 JUMPI PUSH2 0x1106 PUSH2 0x1508 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x1130 JUMPI PUSH1 0x20 DUP3 ADD DUP2 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x3 PUSH1 0xFC SHL DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x114B JUMPI PUSH2 0x114B PUSH2 0x151E JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0xF PUSH1 0xFB SHL DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x117A JUMPI PUSH2 0x117A PUSH2 0x151E JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x0 PUSH2 0x119E DUP5 PUSH1 0x2 PUSH2 0x14D1 JUMP JUMPDEST PUSH2 0x11A9 SWAP1 PUSH1 0x1 PUSH2 0x14F0 JUMP JUMPDEST SWAP1 POP JUMPDEST PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x1221 JUMPI PUSH16 0x181899199A1A9B1B9C1CB0B131B232B3 PUSH1 0x81 SHL DUP6 PUSH1 0xF AND PUSH1 0x10 DUP2 LT PUSH2 0x11DD JUMPI PUSH2 0x11DD PUSH2 0x151E JUMP JUMPDEST BYTE PUSH1 0xF8 SHL DUP3 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x11F3 JUMPI PUSH2 0x11F3 PUSH2 0x151E JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x4 SWAP5 SWAP1 SWAP5 SHR SWAP4 PUSH2 0x121A DUP2 PUSH2 0x1534 JUMP JUMPDEST SWAP1 POP PUSH2 0x11AC JUMP JUMPDEST POP DUP4 ISZERO PUSH2 0xD80 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x537472696E67733A20686578206C656E67746820696E73756666696369656E74 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x4D0 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1282 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND DUP2 EQ PUSH2 0xD80 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x12AC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x12C8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x12DD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0xD80 DUP2 PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x12FB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x130D DUP2 PUSH2 0x12B3 JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0x12C8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1338 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0xD80 DUP2 PUSH2 0x1318 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1355 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH10 0x6973506F6F6C4C697665 PUSH1 0xB0 SHL DUP2 MSTORE PUSH1 0xA ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1384 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0xD80 DUP2 PUSH2 0x1318 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1D SWAP1 DUP3 ADD MSTORE PUSH32 0x54686520706F6F6C2069732063757272656E746C7920636C6F7365642E000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x13D8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0xD80 DUP2 PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x13FE JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x13E6 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x140D JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH32 0x416363657373436F6E74726F6C3A206163636F756E7420000000000000000000 DUP2 MSTORE PUSH1 0x0 DUP4 MLOAD PUSH2 0x144B DUP2 PUSH1 0x17 DUP6 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x13E3 JUMP JUMPDEST PUSH17 0x1034B99036B4B9B9B4B733903937B6329 PUSH1 0x7D SHL PUSH1 0x17 SWAP2 DUP5 ADD SWAP2 DUP3 ADD MSTORE DUP4 MLOAD PUSH2 0x147C DUP2 PUSH1 0x28 DUP5 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x13E3 JUMP JUMPDEST ADD PUSH1 0x28 ADD SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 DUP3 MLOAD DUP1 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x14A7 DUP2 PUSH1 0x40 DUP6 ADD PUSH1 0x20 DUP8 ADD PUSH2 0x13E3 JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP2 SWAP1 SWAP2 ADD PUSH1 0x40 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x0 NOT DIV DUP4 GT DUP3 ISZERO ISZERO AND ISZERO PUSH2 0x14EB JUMPI PUSH2 0x14EB PUSH2 0x14BB JUMP JUMPDEST POP MUL SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x1503 JUMPI PUSH2 0x1503 PUSH2 0x14BB JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH2 0x1543 JUMPI PUSH2 0x1543 PUSH2 0x14BB JUMP JUMPDEST POP PUSH1 0x0 NOT ADD SWAP1 JUMP INVALID COINBASE LOG0 0x1E 0xC0 LOG1 EXTCODESIZE JUMP EXTCODEHASH LOG4 MSTORE JUMP SWAP15 EXTCODEHASH 0xBB GT PUSH4 0x66D217C2 PUSH23 0x9AA1561822E65A617E3842A264697066735822122068AE 0xFC BALANCE PUSH17 0x9DF53E0BD9B41A607AE0503E6DEBE0AF5B DUP14 SWAP9 CODECOPY SWAP5 SUB 0x2B SELFBALANCE 0xEC 0xD3 0xDB PUSH5 0x736F6C6343 STOP ADDMOD MULMOD STOP CALLER ", + "sourceMap": "627:7231:0:-:0;;;1205:259;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1701:1:6;1806:22;;1269:11:0;:55;;-1:-1:-1;;;;;;1269:55:0;-1:-1:-1;;;;;1269:55:0;;;;;1335:42;-1:-1:-1;1366:10:0;1335;:42::i;:::-;1388:36;726:25;1413:10;1388;:36::i;:::-;1435:21;:19;:21::i;:::-;1205:259;627:7231;;6257:110:4;6335:25;6346:4;6352:7;6335:10;:25::i;:::-;6257:110;;:::o;2539:269:0:-;2589:11;;2626:50;;-1:-1:-1;;;2626:50:0;;;567:30:12;-1:-1:-1;;;;;;2670:4:0;660:2:12;631:15;627:45;613:12;;;606:67;-1:-1:-1;;;;;2589:11:0;;;;:26;;689:12:12;;2626:50:0;;;-1:-1:-1;;2626:50:0;;;;;;;;;;2616:61;;2626:50;2616:61;;;;-1:-1:-1;;;;;;2589:95:0;;;;;;;;;;880:25:12;2679:4:0;921:18:12;;;914:50;853:18;;2589:95:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2695:11:0;;2735:48;;-1:-1:-1;;;2735:48:0;;;1278:31:12;-1:-1:-1;;;1325:12:12;;;1318:32;-1:-1:-1;;;;;2695:11:0;;;;-1:-1:-1;2695:29:0;;-1:-1:-1;1366:12:12;;2735:48:0;;;-1:-1:-1;;2735:48:0;;;;;;;;;;2725:59;;2735:48;2725:59;;;;-1:-1:-1;;;;;;2695:105:0;;;;;;;;;;1563:25:12;2794:4:0;1604:18:12;;;1597:60;1536:18;;2695:105:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2539:269::o;6861:233:4:-;2995:4;3018:12;;;;;;;;;;;-1:-1:-1;;;;;3018:29:4;;;;;;;;;;;;6939:149;;6982:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6982:29:4;;;;;;;;;:36;;-1:-1:-1;;6982:36:4;7014:4;6982:36;;;7064:12;719:10:8;;640:96;7064:12:4;-1:-1:-1;;;;;7037:40:4;7055:7;-1:-1:-1;;;;;7037:40:4;7049:4;7037:40;;;;;;;;;;6861:233;;:::o;14:318:12:-;112:6;165:2;153:9;144:7;140:23;136:32;133:52;;;181:1;178;171:12;133:52;207:16;;-1:-1:-1;;;;;252:31:12;;242:42;;232:70;;298:1;295;288:12;232:70;321:5;14:318;-1:-1:-1;;;14:318:12:o;1389:274::-;627:7231:0;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": { + "@DEFAULT_ADMIN_ROLE_1011": { + "entryPoint": null, + "id": 1011, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@POOL_MANAGER_14": { + "entryPoint": null, + "id": 14, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_checkRole_1108": { + "entryPoint": 3975, + "id": 1108, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@_grantRole_1260": { + "entryPoint": 4075, + "id": 1260, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@_msgSender_1495": { + "entryPoint": null, + "id": 1495, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@_revokeRole_1291": { + "entryPoint": 4207, + "id": 1291, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@addPoolManager_107": { + "entryPoint": 1827, + "id": 107, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@getContributionLimit_570": { + "entryPoint": 3933, + "id": 570, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getMinContribution_590": { + "entryPoint": 2895, + "id": 590, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getPoolBaseAddress_470": { + "entryPoint": 3246, + "id": 470, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getPoolMaxSize_510": { + "entryPoint": 821, + "id": 510, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getPoolState_490": { + "entryPoint": 1401, + "id": 490, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getRewardsInterest_550": { + "entryPoint": 3197, + "id": 550, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getRewardsInterval_530": { + "entryPoint": 2599, + "id": 530, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getRoleAdmin_1123": { + "entryPoint": null, + "id": 1123, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@grantRole_1143": { + "entryPoint": 1658, + "id": 1143, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@hasRole_1065": { + "entryPoint": 3463, + "id": 1065, + "parameterSlots": 2, + "returnSlots": 1 + }, + "@removePoolManager_125": { + "entryPoint": 1566, + "id": 125, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@renounceRole_1186": { + "entryPoint": 1701, + "id": 1186, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@revokeRole_1163": { + "entryPoint": 3895, + "id": 1163, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@setContributionLimit_348": { + "entryPoint": 2935, + "id": 348, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setMinContribution_407": { + "entryPoint": 1919, + "id": 407, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setPoolLive_188": { + "entryPoint": 3504, + "id": 188, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setPoolMaxSize_228": { + "entryPoint": 1010, + "id": 228, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setRewardsInterest_308": { + "entryPoint": 3626, + "id": 308, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setRewardsInterval_268": { + "entryPoint": 2637, + "id": 268, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@supportsInterface_1046": { + "entryPoint": 766, + "id": 1046, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@supportsInterface_1731": { + "entryPoint": null, + "id": 1731, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@toHexString_1707": { + "entryPoint": 4308, + "id": 1707, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_address": { + "entryPoint": 4811, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_address_fromMemory": { + "entryPoint": 5062, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bool": { + "entryPoint": 4902, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bool_fromMemory": { + "entryPoint": 4978, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bytes32": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bytes32t_address": { + "entryPoint": 4840, + "id": null, + "parameterSlots": 2, + "returnSlots": 2 + }, + "abi_decode_tuple_t_bytes4": { + "entryPoint": 4720, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_uint256": { + "entryPoint": 4762, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_uint256_fromMemory": { + "entryPoint": 4931, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 4956, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874_t_string_memory_ptr_t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 5139, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_address__to_t_address__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_uint256__to_t_bytes32_t_uint256__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 5256, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_04fc88320d7c9f639317c75102c103ff0044d3075a5c627e24e76e5bbb2733c2__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 5007, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_9bfa599205b132513fe40ce547e7e6def8c4cc455992878354af4c6363b32779__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_add_t_uint256": { + "entryPoint": 5360, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_mul_t_uint256": { + "entryPoint": 5329, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "copy_memory_to_memory": { + "entryPoint": 5091, + "id": null, + "parameterSlots": 3, + "returnSlots": 0 + }, + "decrement_t_uint256": { + "entryPoint": 5428, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "panic_error_0x11": { + "entryPoint": 5307, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x32": { + "entryPoint": 5406, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x41": { + "entryPoint": 5384, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "validator_revert_address": { + "entryPoint": 4787, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "validator_revert_bool": { + "entryPoint": 4888, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + } + }, + "generatedSources": [ + { + "ast": { + "nodeType": "YulBlock", + "src": "0:9615:12", + "statements": [ + { + "nodeType": "YulBlock", + "src": "6:3:12", + "statements": [] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "83:217:12", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "129:16:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "138:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "141:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "131:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "131:12:12" + }, + "nodeType": "YulExpressionStatement", + "src": "131:12:12" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "104:7:12" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "113:9:12" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "100:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "100:23:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "125:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "96:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "96:32:12" + }, + "nodeType": "YulIf", + "src": "93:52:12" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "154:36:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "180:9:12" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "167:12:12" + }, + "nodeType": "YulFunctionCall", + "src": "167:23:12" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "158:5:12", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "254:16:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "263:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "266:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "256:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "256:12:12" + }, + "nodeType": "YulExpressionStatement", + "src": "256:12:12" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "212:5:12" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "223:5:12" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "234:3:12", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "239:10:12", + "type": "", + "value": "0xffffffff" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "230:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "230:20:12" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "219:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "219:32:12" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "209:2:12" + }, + "nodeType": "YulFunctionCall", + "src": "209:43:12" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "202:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "202:51:12" + }, + "nodeType": "YulIf", + "src": "199:71:12" + }, + { + "nodeType": "YulAssignment", + "src": "279:15:12", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "289:5:12" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "279:6:12" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bytes4", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "49:9:12", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "60:7:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "72:6:12", + "type": "" + } + ], + "src": "14:286:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "400:92:12", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "410:26:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "422:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "433:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "418:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "418:18:12" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "410:4:12" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "452:9:12" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "477:6:12" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "470:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "470:14:12" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "463:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "463:22:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "445:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "445:41:12" + }, + "nodeType": "YulExpressionStatement", + "src": "445:41:12" + } + ] + }, + "name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "369:9:12", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "380:6:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "391:4:12", + "type": "" + } + ], + "src": "305:187:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "598:76:12", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "608:26:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "620:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "631:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "616:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "616:18:12" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "608:4:12" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "650:9:12" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "661:6:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "643:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "643:25:12" + }, + "nodeType": "YulExpressionStatement", + "src": "643:25:12" + } + ] + }, + "name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "567:9:12", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "578:6:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "589:4:12", + "type": "" + } + ], + "src": "497:177:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "749:110:12", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "795:16:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "804:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "807:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "797:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "797:12:12" + }, + "nodeType": "YulExpressionStatement", + "src": "797:12:12" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "770:7:12" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "779:9:12" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "766:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "766:23:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "791:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "762:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "762:32:12" + }, + "nodeType": "YulIf", + "src": "759:52:12" + }, + { + "nodeType": "YulAssignment", + "src": "820:33:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "843:9:12" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "830:12:12" + }, + "nodeType": "YulFunctionCall", + "src": "830:23:12" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "820:6:12" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "715:9:12", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "726:7:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "738:6:12", + "type": "" + } + ], + "src": "679:180:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "934:110:12", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "980:16:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "989:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "992:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "982:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "982:12:12" + }, + "nodeType": "YulExpressionStatement", + "src": "982:12:12" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "955:7:12" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "964:9:12" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "951:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "951:23:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "976:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "947:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "947:32:12" + }, + "nodeType": "YulIf", + "src": "944:52:12" + }, + { + "nodeType": "YulAssignment", + "src": "1005:33:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1028:9:12" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1015:12:12" + }, + "nodeType": "YulFunctionCall", + "src": "1015:23:12" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1005:6:12" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bytes32", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "900:9:12", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "911:7:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "923:6:12", + "type": "" + } + ], + "src": "864:180:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1150:76:12", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "1160:26:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1172:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1183:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1168:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "1168:18:12" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "1160:4:12" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1202:9:12" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1213:6:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1195:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "1195:25:12" + }, + "nodeType": "YulExpressionStatement", + "src": "1195:25:12" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1119:9:12", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1130:6:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "1141:4:12", + "type": "" + } + ], + "src": "1049:177:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1276:86:12", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1340:16:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1349:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1352:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1342:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "1342:12:12" + }, + "nodeType": "YulExpressionStatement", + "src": "1342:12:12" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1299:5:12" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1310:5:12" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1325:3:12", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1330:1:12", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "1321:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "1321:11:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1334:1:12", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1317:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "1317:19:12" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "1306:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "1306:31:12" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "1296:2:12" + }, + "nodeType": "YulFunctionCall", + "src": "1296:42:12" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "1289:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "1289:50:12" + }, + "nodeType": "YulIf", + "src": "1286:70:12" + } + ] + }, + "name": "validator_revert_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "1265:5:12", + "type": "" + } + ], + "src": "1231:131:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1437:177:12", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1483:16:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1492:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1495:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1485:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "1485:12:12" + }, + "nodeType": "YulExpressionStatement", + "src": "1485:12:12" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "1458:7:12" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1467:9:12" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1454:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "1454:23:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1479:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "1450:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "1450:32:12" + }, + "nodeType": "YulIf", + "src": "1447:52:12" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "1508:36:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1534:9:12" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1521:12:12" + }, + "nodeType": "YulFunctionCall", + "src": "1521:23:12" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "1512:5:12", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1578:5:12" + } + ], + "functionName": { + "name": "validator_revert_address", + "nodeType": "YulIdentifier", + "src": "1553:24:12" + }, + "nodeType": "YulFunctionCall", + "src": "1553:31:12" + }, + "nodeType": "YulExpressionStatement", + "src": "1553:31:12" + }, + { + "nodeType": "YulAssignment", + "src": "1593:15:12", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1603:5:12" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1593:6:12" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1403:9:12", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "1414:7:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1426:6:12", + "type": "" + } + ], + "src": "1367:247:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1706:228:12", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1752:16:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1761:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1764:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1754:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "1754:12:12" + }, + "nodeType": "YulExpressionStatement", + "src": "1754:12:12" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "1727:7:12" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1736:9:12" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1723:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "1723:23:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1748:2:12", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "1719:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "1719:32:12" + }, + "nodeType": "YulIf", + "src": "1716:52:12" + }, + { + "nodeType": "YulAssignment", + "src": "1777:33:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1800:9:12" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1787:12:12" + }, + "nodeType": "YulFunctionCall", + "src": "1787:23:12" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1777:6:12" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "1819:45:12", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1849:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1860:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1845:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "1845:18:12" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1832:12:12" + }, + "nodeType": "YulFunctionCall", + "src": "1832:32:12" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "1823:5:12", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1898:5:12" + } + ], + "functionName": { + "name": "validator_revert_address", + "nodeType": "YulIdentifier", + "src": "1873:24:12" + }, + "nodeType": "YulFunctionCall", + "src": "1873:31:12" + }, + "nodeType": "YulExpressionStatement", + "src": "1873:31:12" + }, + { + "nodeType": "YulAssignment", + "src": "1913:15:12", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1923:5:12" + }, + "variableNames": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "1913:6:12" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bytes32t_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1664:9:12", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "1675:7:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1687:6:12", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "1695:6:12", + "type": "" + } + ], + "src": "1619:315:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2040:102:12", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "2050:26:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2062:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2073:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2058:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "2058:18:12" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "2050:4:12" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2092:9:12" + }, + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "2107:6:12" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2123:3:12", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2128:1:12", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "2119:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "2119:11:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2132:1:12", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "2115:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "2115:19:12" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "2103:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "2103:32:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2085:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "2085:51:12" + }, + "nodeType": "YulExpressionStatement", + "src": "2085:51:12" + } + ] + }, + "name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "2009:9:12", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "2020:6:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "2031:4:12", + "type": "" + } + ], + "src": "1939:203:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2189:76:12", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "2243:16:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2252:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2255:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "2245:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "2245:12:12" + }, + "nodeType": "YulExpressionStatement", + "src": "2245:12:12" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "2212:5:12" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "2233:5:12" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "2226:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "2226:13:12" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "2219:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "2219:21:12" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "2209:2:12" + }, + "nodeType": "YulFunctionCall", + "src": "2209:32:12" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "2202:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "2202:40:12" + }, + "nodeType": "YulIf", + "src": "2199:60:12" + } + ] + }, + "name": "validator_revert_bool", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "2178:5:12", + "type": "" + } + ], + "src": "2147:118:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2337:174:12", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "2383:16:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2392:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2395:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "2385:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "2385:12:12" + }, + "nodeType": "YulExpressionStatement", + "src": "2385:12:12" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "2358:7:12" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2367:9:12" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "2354:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "2354:23:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2379:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "2350:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "2350:32:12" + }, + "nodeType": "YulIf", + "src": "2347:52:12" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "2408:36:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2434:9:12" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "2421:12:12" + }, + "nodeType": "YulFunctionCall", + "src": "2421:23:12" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "2412:5:12", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "2475:5:12" + } + ], + "functionName": { + "name": "validator_revert_bool", + "nodeType": "YulIdentifier", + "src": "2453:21:12" + }, + "nodeType": "YulFunctionCall", + "src": "2453:28:12" + }, + "nodeType": "YulExpressionStatement", + "src": "2453:28:12" + }, + { + "nodeType": "YulAssignment", + "src": "2490:15:12", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "2500:5:12" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "2490:6:12" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bool", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "2303:9:12", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "2314:7:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "2326:6:12", + "type": "" + } + ], + "src": "2270:241:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2708:70:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "2725:3:12" + }, + { + "hexValue": "706f6f6c4d617853697a65", + "kind": "string", + "nodeType": "YulLiteral", + "src": "2730:13:12", + "type": "", + "value": "poolMaxSize" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2718:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "2718:26:12" + }, + "nodeType": "YulExpressionStatement", + "src": "2718:26:12" + }, + { + "nodeType": "YulAssignment", + "src": "2753:19:12", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "2764:3:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2769:2:12", + "type": "", + "value": "11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2760:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "2760:12:12" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "2753:3:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "2692:3:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "2700:3:12", + "type": "" + } + ], + "src": "2516:262:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2864:103:12", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "2910:16:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2919:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2922:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "2912:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "2912:12:12" + }, + "nodeType": "YulExpressionStatement", + "src": "2912:12:12" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "2885:7:12" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2894:9:12" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "2881:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "2881:23:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2906:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "2877:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "2877:32:12" + }, + "nodeType": "YulIf", + "src": "2874:52:12" + }, + { + "nodeType": "YulAssignment", + "src": "2935:26:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2951:9:12" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "2945:5:12" + }, + "nodeType": "YulFunctionCall", + "src": "2945:16:12" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "2935:6:12" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_uint256_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "2830:9:12", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "2841:7:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "2853:6:12", + "type": "" + } + ], + "src": "2783:184:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3164:69:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "3181:3:12" + }, + { + "hexValue": "6973506f6f6c4c697665", + "kind": "string", + "nodeType": "YulLiteral", + "src": "3186:12:12", + "type": "", + "value": "isPoolLive" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3174:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "3174:25:12" + }, + "nodeType": "YulExpressionStatement", + "src": "3174:25:12" + }, + { + "nodeType": "YulAssignment", + "src": "3208:19:12", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "3219:3:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3224:2:12", + "type": "", + "value": "10" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3215:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "3215:12:12" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "3208:3:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "3148:3:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "3156:3:12", + "type": "" + } + ], + "src": "2972:261:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3316:167:12", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "3362:16:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3371:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3374:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "3364:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "3364:12:12" + }, + "nodeType": "YulExpressionStatement", + "src": "3364:12:12" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "3337:7:12" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3346:9:12" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "3333:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "3333:23:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3358:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "3329:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "3329:32:12" + }, + "nodeType": "YulIf", + "src": "3326:52:12" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "3387:29:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3406:9:12" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "3400:5:12" + }, + "nodeType": "YulFunctionCall", + "src": "3400:16:12" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "3391:5:12", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "3447:5:12" + } + ], + "functionName": { + "name": "validator_revert_bool", + "nodeType": "YulIdentifier", + "src": "3425:21:12" + }, + "nodeType": "YulFunctionCall", + "src": "3425:28:12" + }, + "nodeType": "YulExpressionStatement", + "src": "3425:28:12" + }, + { + "nodeType": "YulAssignment", + "src": "3462:15:12", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "3472:5:12" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "3462:6:12" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bool_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "3282:9:12", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "3293:7:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "3305:6:12", + "type": "" + } + ], + "src": "3238:245:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3662:179:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3679:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3690:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3672:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "3672:21:12" + }, + "nodeType": "YulExpressionStatement", + "src": "3672:21:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3713:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3724:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3709:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "3709:18:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3729:2:12", + "type": "", + "value": "29" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3702:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "3702:30:12" + }, + "nodeType": "YulExpressionStatement", + "src": "3702:30:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3752:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3763:2:12", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3748:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "3748:18:12" + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "3768:31:12", + "type": "", + "value": "The pool is currently closed." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3741:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "3741:59:12" + }, + "nodeType": "YulExpressionStatement", + "src": "3741:59:12" + }, + { + "nodeType": "YulAssignment", + "src": "3809:26:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3821:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3832:2:12", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3817:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "3817:18:12" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "3809:4:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "3639:9:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "3653:4:12", + "type": "" + } + ], + "src": "3488:353:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3975:119:12", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "3985:26:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3997:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4008:2:12", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3993:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "3993:18:12" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "3985:4:12" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4027:9:12" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "4038:6:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4020:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "4020:25:12" + }, + "nodeType": "YulExpressionStatement", + "src": "4020:25:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4065:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4076:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4061:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "4061:18:12" + }, + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "4081:6:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4054:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "4054:34:12" + }, + "nodeType": "YulExpressionStatement", + "src": "4054:34:12" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_uint256__to_t_bytes32_t_uint256__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "3936:9:12", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "3947:6:12", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "3955:6:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "3966:4:12", + "type": "" + } + ], + "src": "3846:248:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4273:237:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4290:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4301:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4283:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "4283:21:12" + }, + "nodeType": "YulExpressionStatement", + "src": "4283:21:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4324:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4335:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4320:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "4320:18:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4340:2:12", + "type": "", + "value": "47" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4313:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "4313:30:12" + }, + "nodeType": "YulExpressionStatement", + "src": "4313:30:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4363:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4374:2:12", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4359:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "4359:18:12" + }, + { + "hexValue": "416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e6365", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4379:34:12", + "type": "", + "value": "AccessControl: can only renounce" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4352:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "4352:62:12" + }, + "nodeType": "YulExpressionStatement", + "src": "4352:62:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4434:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4445:2:12", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4430:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "4430:18:12" + }, + { + "hexValue": "20726f6c657320666f722073656c66", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4450:17:12", + "type": "", + "value": " roles for self" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4423:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "4423:45:12" + }, + "nodeType": "YulExpressionStatement", + "src": "4423:45:12" + }, + { + "nodeType": "YulAssignment", + "src": "4477:27:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4489:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4500:3:12", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4485:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "4485:19:12" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "4477:4:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "4250:9:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "4264:4:12", + "type": "" + } + ], + "src": "4099:411:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4707:76:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "4724:3:12" + }, + { + "hexValue": "636f6e747269627574696f6e4c696d6974", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4729:19:12", + "type": "", + "value": "contributionLimit" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4717:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "4717:32:12" + }, + "nodeType": "YulExpressionStatement", + "src": "4717:32:12" + }, + { + "nodeType": "YulAssignment", + "src": "4758:19:12", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "4769:3:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4774:2:12", + "type": "", + "value": "17" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4765:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "4765:12:12" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "4758:3:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "4691:3:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "4699:3:12", + "type": "" + } + ], + "src": "4515:268:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4962:252:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4979:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4990:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4972:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "4972:21:12" + }, + "nodeType": "YulExpressionStatement", + "src": "4972:21:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5013:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5024:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5009:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "5009:18:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5029:2:12", + "type": "", + "value": "62" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5002:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "5002:30:12" + }, + "nodeType": "YulExpressionStatement", + "src": "5002:30:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5052:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5063:2:12", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5048:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "5048:18:12" + }, + { + "hexValue": "546865206d696e2e20636f6e74722e206c696d6974206e6565647320746f2062", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5068:34:12", + "type": "", + "value": "The min. contr. limit needs to b" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5041:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "5041:62:12" + }, + "nodeType": "YulExpressionStatement", + "src": "5041:62:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5123:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5134:2:12", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5119:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "5119:18:12" + }, + { + "hexValue": "6520736d616c6c6572207468616e20746865206d61782e206c696d69742e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5139:32:12", + "type": "", + "value": "e smaller than the max. limit." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5112:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "5112:60:12" + }, + "nodeType": "YulExpressionStatement", + "src": "5112:60:12" + }, + { + "nodeType": "YulAssignment", + "src": "5181:27:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5193:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5204:3:12", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5189:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "5189:19:12" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "5181:4:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_9bfa599205b132513fe40ce547e7e6def8c4cc455992878354af4c6363b32779__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "4939:9:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "4953:4:12", + "type": "" + } + ], + "src": "4788:426:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5411:74:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5428:3:12" + }, + { + "hexValue": "6d696e436f6e747269627574696f6e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5433:17:12", + "type": "", + "value": "minContribution" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5421:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "5421:30:12" + }, + "nodeType": "YulExpressionStatement", + "src": "5421:30:12" + }, + { + "nodeType": "YulAssignment", + "src": "5460:19:12", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5471:3:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5476:2:12", + "type": "", + "value": "15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5467:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "5467:12:12" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "5460:3:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "5395:3:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "5403:3:12", + "type": "" + } + ], + "src": "5219:266:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5682:72:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5699:3:12" + }, + { + "hexValue": "64617973546f52657761726473", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5704:15:12", + "type": "", + "value": "daysToRewards" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5692:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "5692:28:12" + }, + "nodeType": "YulExpressionStatement", + "src": "5692:28:12" + }, + { + "nodeType": "YulAssignment", + "src": "5729:19:12", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5740:3:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5745:2:12", + "type": "", + "value": "13" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5736:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "5736:12:12" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "5729:3:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "5666:3:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "5674:3:12", + "type": "" + } + ], + "src": "5490:264:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5951:83:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5968:3:12" + }, + { + "hexValue": "72657761726473496e746572657374506572506572696f64", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5973:26:12", + "type": "", + "value": "rewardsInterestPerPeriod" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5961:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "5961:39:12" + }, + "nodeType": "YulExpressionStatement", + "src": "5961:39:12" + }, + { + "nodeType": "YulAssignment", + "src": "6009:19:12", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "6020:3:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6025:2:12", + "type": "", + "value": "24" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6016:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "6016:12:12" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "6009:3:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "5935:3:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "5943:3:12", + "type": "" + } + ], + "src": "5759:275:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6332:116:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "6349:3:12" + }, + { + "hexValue": "636f6e74726163745f61646472657373", + "kind": "string", + "nodeType": "YulLiteral", + "src": "6354:18:12", + "type": "", + "value": "contract_address" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6342:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "6342:31:12" + }, + "nodeType": "YulExpressionStatement", + "src": "6342:31:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "6393:3:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6398:2:12", + "type": "", + "value": "16" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6389:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "6389:12:12" + }, + { + "hexValue": "506f6f6c42617365", + "kind": "string", + "nodeType": "YulLiteral", + "src": "6403:10:12", + "type": "", + "value": "PoolBase" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6382:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "6382:32:12" + }, + "nodeType": "YulExpressionStatement", + "src": "6382:32:12" + }, + { + "nodeType": "YulAssignment", + "src": "6423:19:12", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "6434:3:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6439:2:12", + "type": "", + "value": "24" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6430:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "6430:12:12" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "6423:3:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "6316:3:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "6324:3:12", + "type": "" + } + ], + "src": "6039:409:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6534:170:12", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "6580:16:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6589:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6592:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "6582:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "6582:12:12" + }, + "nodeType": "YulExpressionStatement", + "src": "6582:12:12" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "6555:7:12" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6564:9:12" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "6551:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "6551:23:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6576:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "6547:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "6547:32:12" + }, + "nodeType": "YulIf", + "src": "6544:52:12" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "6605:29:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6624:9:12" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "6618:5:12" + }, + "nodeType": "YulFunctionCall", + "src": "6618:16:12" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "6609:5:12", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "6668:5:12" + } + ], + "functionName": { + "name": "validator_revert_address", + "nodeType": "YulIdentifier", + "src": "6643:24:12" + }, + "nodeType": "YulFunctionCall", + "src": "6643:31:12" + }, + "nodeType": "YulExpressionStatement", + "src": "6643:31:12" + }, + { + "nodeType": "YulAssignment", + "src": "6683:15:12", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "6693:5:12" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "6683:6:12" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_address_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "6500:9:12", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "6511:7:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "6523:6:12", + "type": "" + } + ], + "src": "6453:251:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6832:135:12", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "6842:26:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6854:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6865:2:12", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6850:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "6850:18:12" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "6842:4:12" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6884:9:12" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "6895:6:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6877:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "6877:25:12" + }, + "nodeType": "YulExpressionStatement", + "src": "6877:25:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6922:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6933:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6918:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "6918:18:12" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "6952:6:12" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "6945:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "6945:14:12" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "6938:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "6938:22:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6911:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "6911:50:12" + }, + "nodeType": "YulExpressionStatement", + "src": "6911:50:12" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "6793:9:12", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "6804:6:12", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "6812:6:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "6823:4:12", + "type": "" + } + ], + "src": "6709:258:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7025:205:12", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "7035:10:12", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7044:1:12", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "i", + "nodeType": "YulTypedName", + "src": "7039:1:12", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7104:63:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nodeType": "YulIdentifier", + "src": "7129:3:12" + }, + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "7134:1:12" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7125:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "7125:11:12" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "src", + "nodeType": "YulIdentifier", + "src": "7148:3:12" + }, + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "7153:1:12" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7144:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "7144:11:12" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "7138:5:12" + }, + "nodeType": "YulFunctionCall", + "src": "7138:18:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7118:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "7118:39:12" + }, + "nodeType": "YulExpressionStatement", + "src": "7118:39:12" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "7065:1:12" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "7068:6:12" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "7062:2:12" + }, + "nodeType": "YulFunctionCall", + "src": "7062:13:12" + }, + "nodeType": "YulForLoop", + "post": { + "nodeType": "YulBlock", + "src": "7076:19:12", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "7078:15:12", + "value": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "7087:1:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7090:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7083:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "7083:10:12" + }, + "variableNames": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "7078:1:12" + } + ] + } + ] + }, + "pre": { + "nodeType": "YulBlock", + "src": "7058:3:12", + "statements": [] + }, + "src": "7054:113:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7193:31:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nodeType": "YulIdentifier", + "src": "7206:3:12" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "7211:6:12" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7202:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "7202:16:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7220:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7195:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "7195:27:12" + }, + "nodeType": "YulExpressionStatement", + "src": "7195:27:12" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "7182:1:12" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "7185:6:12" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "7179:2:12" + }, + "nodeType": "YulFunctionCall", + "src": "7179:13:12" + }, + "nodeType": "YulIf", + "src": "7176:48:12" + } + ] + }, + "name": "copy_memory_to_memory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "src", + "nodeType": "YulTypedName", + "src": "7003:3:12", + "type": "" + }, + { + "name": "dst", + "nodeType": "YulTypedName", + "src": "7008:3:12", + "type": "" + }, + { + "name": "length", + "nodeType": "YulTypedName", + "src": "7013:6:12", + "type": "" + } + ], + "src": "6972:258:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7624:397:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7641:3:12" + }, + { + "hexValue": "416363657373436f6e74726f6c3a206163636f756e7420", + "kind": "string", + "nodeType": "YulLiteral", + "src": "7646:25:12", + "type": "", + "value": "AccessControl: account " + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7634:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "7634:38:12" + }, + "nodeType": "YulExpressionStatement", + "src": "7634:38:12" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "7681:27:12", + "value": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "7701:6:12" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "7695:5:12" + }, + "nodeType": "YulFunctionCall", + "src": "7695:13:12" + }, + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "7685:6:12", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "7743:6:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7751:4:12", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7739:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "7739:17:12" + }, + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7762:3:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7767:2:12", + "type": "", + "value": "23" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7758:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "7758:12:12" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "7772:6:12" + } + ], + "functionName": { + "name": "copy_memory_to_memory", + "nodeType": "YulIdentifier", + "src": "7717:21:12" + }, + "nodeType": "YulFunctionCall", + "src": "7717:62:12" + }, + "nodeType": "YulExpressionStatement", + "src": "7717:62:12" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "7788:26:12", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7802:3:12" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "7807:6:12" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7798:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "7798:16:12" + }, + "variables": [ + { + "name": "_1", + "nodeType": "YulTypedName", + "src": "7792:2:12", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "7834:2:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7838:2:12", + "type": "", + "value": "23" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7830:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "7830:11:12" + }, + { + "hexValue": "206973206d697373696e6720726f6c6520", + "kind": "string", + "nodeType": "YulLiteral", + "src": "7843:19:12", + "type": "", + "value": " is missing role " + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7823:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "7823:40:12" + }, + "nodeType": "YulExpressionStatement", + "src": "7823:40:12" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "7872:29:12", + "value": { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "7894:6:12" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "7888:5:12" + }, + "nodeType": "YulFunctionCall", + "src": "7888:13:12" + }, + "variables": [ + { + "name": "length_1", + "nodeType": "YulTypedName", + "src": "7876:8:12", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "7936:6:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7944:4:12", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7932:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "7932:17:12" + }, + { + "arguments": [ + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "7955:2:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7959:2:12", + "type": "", + "value": "40" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7951:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "7951:11:12" + }, + { + "name": "length_1", + "nodeType": "YulIdentifier", + "src": "7964:8:12" + } + ], + "functionName": { + "name": "copy_memory_to_memory", + "nodeType": "YulIdentifier", + "src": "7910:21:12" + }, + "nodeType": "YulFunctionCall", + "src": "7910:63:12" + }, + "nodeType": "YulExpressionStatement", + "src": "7910:63:12" + }, + { + "nodeType": "YulAssignment", + "src": "7982:33:12", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "7997:2:12" + }, + { + "name": "length_1", + "nodeType": "YulIdentifier", + "src": "8001:8:12" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7993:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "7993:17:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8012:2:12", + "type": "", + "value": "40" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7989:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "7989:26:12" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "7982:3:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874_t_string_memory_ptr_t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "7592:3:12", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "7597:6:12", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "7605:6:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "7616:3:12", + "type": "" + } + ], + "src": "7235:786:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8147:262:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8164:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8175:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8157:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "8157:21:12" + }, + "nodeType": "YulExpressionStatement", + "src": "8157:21:12" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "8187:27:12", + "value": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "8207:6:12" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "8201:5:12" + }, + "nodeType": "YulFunctionCall", + "src": "8201:13:12" + }, + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "8191:6:12", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8234:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8245:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8230:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "8230:18:12" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "8250:6:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8223:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "8223:34:12" + }, + "nodeType": "YulExpressionStatement", + "src": "8223:34:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "8292:6:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8300:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8288:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "8288:15:12" + }, + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8309:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8320:2:12", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8305:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "8305:18:12" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "8325:6:12" + } + ], + "functionName": { + "name": "copy_memory_to_memory", + "nodeType": "YulIdentifier", + "src": "8266:21:12" + }, + "nodeType": "YulFunctionCall", + "src": "8266:66:12" + }, + "nodeType": "YulExpressionStatement", + "src": "8266:66:12" + }, + { + "nodeType": "YulAssignment", + "src": "8341:62:12", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8357:9:12" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "8376:6:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8384:2:12", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8372:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "8372:15:12" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8393:2:12", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "8389:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "8389:7:12" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "8368:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "8368:29:12" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8353:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "8353:45:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8400:2:12", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8349:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "8349:54:12" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "8341:4:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "8116:9:12", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "8127:6:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "8138:4:12", + "type": "" + } + ], + "src": "8026:383:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8446:95:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8463:1:12", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8470:3:12", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8475:10:12", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "8466:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "8466:20:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8456:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "8456:31:12" + }, + "nodeType": "YulExpressionStatement", + "src": "8456:31:12" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8503:1:12", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8506:4:12", + "type": "", + "value": "0x11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8496:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "8496:15:12" + }, + "nodeType": "YulExpressionStatement", + "src": "8496:15:12" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8527:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8530:4:12", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "8520:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "8520:15:12" + }, + "nodeType": "YulExpressionStatement", + "src": "8520:15:12" + } + ] + }, + "name": "panic_error_0x11", + "nodeType": "YulFunctionDefinition", + "src": "8414:127:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8598:116:12", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "8657:22:12", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "8659:16:12" + }, + "nodeType": "YulFunctionCall", + "src": "8659:18:12" + }, + "nodeType": "YulExpressionStatement", + "src": "8659:18:12" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "8629:1:12" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "8622:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "8622:9:12" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "8615:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "8615:17:12" + }, + { + "arguments": [ + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "8637:1:12" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8648:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "8644:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "8644:6:12" + }, + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "8652:1:12" + } + ], + "functionName": { + "name": "div", + "nodeType": "YulIdentifier", + "src": "8640:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "8640:14:12" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "8634:2:12" + }, + "nodeType": "YulFunctionCall", + "src": "8634:21:12" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "8611:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "8611:45:12" + }, + "nodeType": "YulIf", + "src": "8608:71:12" + }, + { + "nodeType": "YulAssignment", + "src": "8688:20:12", + "value": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "8703:1:12" + }, + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "8706:1:12" + } + ], + "functionName": { + "name": "mul", + "nodeType": "YulIdentifier", + "src": "8699:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "8699:9:12" + }, + "variableNames": [ + { + "name": "product", + "nodeType": "YulIdentifier", + "src": "8688:7:12" + } + ] + } + ] + }, + "name": "checked_mul_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "x", + "nodeType": "YulTypedName", + "src": "8577:1:12", + "type": "" + }, + { + "name": "y", + "nodeType": "YulTypedName", + "src": "8580:1:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "product", + "nodeType": "YulTypedName", + "src": "8586:7:12", + "type": "" + } + ], + "src": "8546:168:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8767:80:12", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "8794:22:12", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "8796:16:12" + }, + "nodeType": "YulFunctionCall", + "src": "8796:18:12" + }, + "nodeType": "YulExpressionStatement", + "src": "8796:18:12" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "8783:1:12" + }, + { + "arguments": [ + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "8790:1:12" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "8786:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "8786:6:12" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "8780:2:12" + }, + "nodeType": "YulFunctionCall", + "src": "8780:13:12" + }, + "nodeType": "YulIf", + "src": "8777:39:12" + }, + { + "nodeType": "YulAssignment", + "src": "8825:16:12", + "value": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "8836:1:12" + }, + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "8839:1:12" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8832:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "8832:9:12" + }, + "variableNames": [ + { + "name": "sum", + "nodeType": "YulIdentifier", + "src": "8825:3:12" + } + ] + } + ] + }, + "name": "checked_add_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "x", + "nodeType": "YulTypedName", + "src": "8750:1:12", + "type": "" + }, + { + "name": "y", + "nodeType": "YulTypedName", + "src": "8753:1:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "sum", + "nodeType": "YulTypedName", + "src": "8759:3:12", + "type": "" + } + ], + "src": "8719:128:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8884:95:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8901:1:12", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8908:3:12", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8913:10:12", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "8904:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "8904:20:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8894:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "8894:31:12" + }, + "nodeType": "YulExpressionStatement", + "src": "8894:31:12" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8941:1:12", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8944:4:12", + "type": "", + "value": "0x41" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8934:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "8934:15:12" + }, + "nodeType": "YulExpressionStatement", + "src": "8934:15:12" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8965:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8968:4:12", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "8958:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "8958:15:12" + }, + "nodeType": "YulExpressionStatement", + "src": "8958:15:12" + } + ] + }, + "name": "panic_error_0x41", + "nodeType": "YulFunctionDefinition", + "src": "8852:127:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "9016:95:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9033:1:12", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9040:3:12", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9045:10:12", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "9036:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "9036:20:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9026:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "9026:31:12" + }, + "nodeType": "YulExpressionStatement", + "src": "9026:31:12" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9073:1:12", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9076:4:12", + "type": "", + "value": "0x32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9066:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "9066:15:12" + }, + "nodeType": "YulExpressionStatement", + "src": "9066:15:12" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9097:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9100:4:12", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "9090:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "9090:15:12" + }, + "nodeType": "YulExpressionStatement", + "src": "9090:15:12" + } + ] + }, + "name": "panic_error_0x32", + "nodeType": "YulFunctionDefinition", + "src": "8984:127:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "9163:89:12", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "9190:22:12", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "9192:16:12" + }, + "nodeType": "YulFunctionCall", + "src": "9192:18:12" + }, + "nodeType": "YulExpressionStatement", + "src": "9192:18:12" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "9183:5:12" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "9176:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "9176:13:12" + }, + "nodeType": "YulIf", + "src": "9173:39:12" + }, + { + "nodeType": "YulAssignment", + "src": "9221:25:12", + "value": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "9232:5:12" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9243:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "9239:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "9239:6:12" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9228:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "9228:18:12" + }, + "variableNames": [ + { + "name": "ret", + "nodeType": "YulIdentifier", + "src": "9221:3:12" + } + ] + } + ] + }, + "name": "decrement_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "9145:5:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "ret", + "nodeType": "YulTypedName", + "src": "9155:3:12", + "type": "" + } + ], + "src": "9116:136:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "9431:182:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9448:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9459:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9441:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "9441:21:12" + }, + "nodeType": "YulExpressionStatement", + "src": "9441:21:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9482:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9493:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9478:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "9478:18:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9498:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9471:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "9471:30:12" + }, + "nodeType": "YulExpressionStatement", + "src": "9471:30:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9521:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9532:2:12", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9517:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "9517:18:12" + }, + { + "hexValue": "537472696e67733a20686578206c656e67746820696e73756666696369656e74", + "kind": "string", + "nodeType": "YulLiteral", + "src": "9537:34:12", + "type": "", + "value": "Strings: hex length insufficient" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9510:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "9510:62:12" + }, + "nodeType": "YulExpressionStatement", + "src": "9510:62:12" + }, + { + "nodeType": "YulAssignment", + "src": "9581:26:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9593:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9604:2:12", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9589:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "9589:18:12" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "9581:4:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_04fc88320d7c9f639317c75102c103ff0044d3075a5c627e24e76e5bbb2733c2__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "9408:9:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "9422:4:12", + "type": "" + } + ], + "src": "9257:356:12" + } + ] + }, + "contents": "{\n { }\n function abi_decode_tuple_t_bytes4(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n if iszero(eq(value, and(value, shl(224, 0xffffffff)))) { revert(0, 0) }\n value0 := value\n }\n function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, iszero(iszero(value0)))\n }\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := calldataload(headStart)\n }\n function abi_decode_tuple_t_bytes32(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := calldataload(headStart)\n }\n function abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function validator_revert_address(value)\n {\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n }\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_address(value)\n value0 := value\n }\n function abi_decode_tuple_t_bytes32t_address(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n value0 := calldataload(headStart)\n let value := calldataload(add(headStart, 32))\n validator_revert_address(value)\n value1 := value\n }\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, sub(shl(160, 1), 1)))\n }\n function validator_revert_bool(value)\n {\n if iszero(eq(value, iszero(iszero(value)))) { revert(0, 0) }\n }\n function abi_decode_tuple_t_bool(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_bool(value)\n value0 := value\n }\n function abi_encode_tuple_packed_t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"poolMaxSize\")\n end := add(pos, 11)\n }\n function abi_decode_tuple_t_uint256_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := mload(headStart)\n }\n function abi_encode_tuple_packed_t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"isPoolLive\")\n end := add(pos, 10)\n }\n function abi_decode_tuple_t_bool_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := mload(headStart)\n validator_revert_bool(value)\n value0 := value\n }\n function abi_encode_tuple_t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 29)\n mstore(add(headStart, 64), \"The pool is currently closed.\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_bytes32_t_uint256__to_t_bytes32_t_uint256__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), value1)\n }\n function abi_encode_tuple_t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 47)\n mstore(add(headStart, 64), \"AccessControl: can only renounce\")\n mstore(add(headStart, 96), \" roles for self\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_packed_t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"contributionLimit\")\n end := add(pos, 17)\n }\n function abi_encode_tuple_t_stringliteral_9bfa599205b132513fe40ce547e7e6def8c4cc455992878354af4c6363b32779__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 62)\n mstore(add(headStart, 64), \"The min. contr. limit needs to b\")\n mstore(add(headStart, 96), \"e smaller than the max. limit.\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_packed_t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"minContribution\")\n end := add(pos, 15)\n }\n function abi_encode_tuple_packed_t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"daysToRewards\")\n end := add(pos, 13)\n }\n function abi_encode_tuple_packed_t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"rewardsInterestPerPeriod\")\n end := add(pos, 24)\n }\n function abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"contract_address\")\n mstore(add(pos, 16), \"PoolBase\")\n end := add(pos, 24)\n }\n function abi_decode_tuple_t_address_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := mload(headStart)\n validator_revert_address(value)\n value0 := value\n }\n function abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), iszero(iszero(value1)))\n }\n function copy_memory_to_memory(src, dst, length)\n {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n if gt(i, length) { mstore(add(dst, length), 0) }\n }\n function abi_encode_tuple_packed_t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874_t_string_memory_ptr_t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos, value1, value0) -> end\n {\n mstore(pos, \"AccessControl: account \")\n let length := mload(value0)\n copy_memory_to_memory(add(value0, 0x20), add(pos, 23), length)\n let _1 := add(pos, length)\n mstore(add(_1, 23), \" is missing role \")\n let length_1 := mload(value1)\n copy_memory_to_memory(add(value1, 0x20), add(_1, 40), length_1)\n end := add(add(_1, length_1), 40)\n }\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n mstore(headStart, 32)\n let length := mload(value0)\n mstore(add(headStart, 32), length)\n copy_memory_to_memory(add(value0, 32), add(headStart, 64), length)\n tail := add(add(headStart, and(add(length, 31), not(31))), 64)\n }\n function panic_error_0x11()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n function checked_mul_t_uint256(x, y) -> product\n {\n if and(iszero(iszero(x)), gt(y, div(not(0), x))) { panic_error_0x11() }\n product := mul(x, y)\n }\n function checked_add_t_uint256(x, y) -> sum\n {\n if gt(x, not(y)) { panic_error_0x11() }\n sum := add(x, y)\n }\n function panic_error_0x41()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n function panic_error_0x32()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x32)\n revert(0, 0x24)\n }\n function decrement_t_uint256(value) -> ret\n {\n if iszero(value) { panic_error_0x11() }\n ret := add(value, not(0))\n }\n function abi_encode_tuple_t_stringliteral_04fc88320d7c9f639317c75102c103ff0044d3075a5c627e24e76e5bbb2733c2__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 32)\n mstore(add(headStart, 64), \"Strings: hex length insufficient\")\n tail := add(headStart, 96)\n }\n}", + "id": 12, + "language": "Yul", + "name": "#utility.yul" + } + ], + "immutableReferences": {}, + "linkReferences": {}, + "object": "608060405234801561001057600080fd5b506004361061014d5760003560e01c806353710f49116100c357806391d148541161007c57806391d14854146102a2578063a217fddf146102b5578063a4975516146102bd578063bf4c0036146102d0578063d547741f146102e3578063fa1e19e5146102f657600080fd5b806353710f491461023757806362308e851461024a5780636cff74731461025f57806372d099a0146102675780637521796f1461027a5780638ae681341461028257600080fd5b806329ca15bc1161011557806329ca15bc146101d05780632f2ff15d146101e357806336568abe146101f657806345077e7114610209578063473b0d461461021c578063497d02411461022f57600080fd5b806301ffc9a714610152578063095df57f1461017a5780631264698714610190578063217ac237146101a5578063248a9ca3146101ad575b600080fd5b610165610160366004611270565b6102fe565b60405190151581526020015b60405180910390f35b610182610335565b604051908152602001610171565b6101a361019e36600461129a565b6103f2565b005b610165610579565b6101826101bb36600461129a565b60009081526020819052604090206001015490565b6101a36101de3660046112cb565b61061e565b6101a36101f13660046112e8565b61067a565b6101a36102043660046112e8565b6106a5565b6101a36102173660046112cb565b610723565b6101a361022a36600461129a565b61077f565b610182610a27565b6101a361024536600461129a565b610a4d565b61018260008051602061154c83398151915281565b610182610b4f565b6101a361027536600461129a565b610b77565b610182610c7d565b61028a610cae565b6040516001600160a01b039091168152602001610171565b6101656102b03660046112e8565b610d87565b610182600081565b6101a36102cb366004611326565b610db0565b6101a36102de36600461129a565b610e2a565b6101a36102f13660046112e8565b610f37565b610182610f5d565b60006001600160e01b03198216637965db0b60e01b148061032f57506301ffc9a760e01b6001600160e01b03198316145b92915050565b600080604051602001610359906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b1580156103b457600080fd5b505afa1580156103c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103ec9190611343565b91505090565b60008051602061154c83398151915261040b8133610f87565b6002546040516001600160a01b03909116906355d946559061042f9060200161135c565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161046391815260200190565b60206040518083038186803b15801561047b57600080fd5b505afa15801561048f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104b39190611372565b156104d95760405162461bcd60e51b81526004016104d09061138f565b60405180910390fd5b6040516a706f6f6c4d617853697a6560a81b6020820152600090602b015b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018690529092506001600160a01b0316906328192c55906044015b600060405180830381600087803b15801561055c57600080fd5b505af1158015610570573d6000803e3d6000fd5b50505050505050565b60008060405160200161058b9061135c565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b1580156105e657600080fd5b505afa1580156105fa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103ec9190611372565b600061062a8133610f87565b61064260008051602061154c83398151915283610f37565b6040516001600160a01b038316907fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd3190600090a25050565b6000828152602081905260409020600101546106968133610f87565b6106a08383610feb565b505050565b6001600160a01b03811633146107155760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016104d0565b61071f828261106f565b5050565b600061072f8133610f87565b61074760008051602061154c8339815191528361067a565b6040516001600160a01b038316907fd873e3f571dc25e020cefdeb7255b3874ead3aade1f94a5fb4a5da831fd670cd90600090a25050565b60008051602061154c8339815191526107988133610f87565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b602082015260009060310160408051601f198184030181529082905280516020918201206002549093506001600160a01b0316916355d94655916107f4910161135c565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161082891815260200190565b60206040518083038186803b15801561084057600080fd5b505afa158015610854573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108789190611372565b156108955760405162461bcd60e51b81526004016104d09061138f565b60025460405163afc3602b60e01b81526004810183905284916001600160a01b03169063afc3602b9060240160206040518083038186803b1580156108d957600080fd5b505afa1580156108ed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109119190611343565b116109845760405162461bcd60e51b815260206004820152603e60248201527f546865206d696e2e20636f6e74722e206c696d6974206e6565647320746f206260448201527f6520736d616c6c6572207468616e20746865206d61782e206c696d69742e000060648201526084016104d0565b6040516e36b4b721b7b73a3934b13aba34b7b760891b6020820152600090602f0160408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018790529092506001600160a01b0316906328192c5590604401600060405180830381600087803b158015610a0957600080fd5b505af1158015610a1d573d6000803e3d6000fd5b5050505050505050565b600080604051602001610359906c64617973546f5265776172647360981b8152600d0190565b60008051602061154c833981519152610a668133610f87565b6002546040516001600160a01b03909116906355d9465590610a8a9060200161135c565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610abe91815260200190565b60206040518083038186803b158015610ad657600080fd5b505afa158015610aea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b0e9190611372565b15610b2b5760405162461bcd60e51b81526004016104d09061138f565b6040516c64617973546f5265776172647360981b6020820152600090602d016104f7565b600080604051602001610359906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b60008051602061154c833981519152610b908133610f87565b6002546040516001600160a01b03909116906355d9465590610bb49060200161135c565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610be891815260200190565b60206040518083038186803b158015610c0057600080fd5b505afa158015610c14573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c389190611372565b15610c555760405162461bcd60e51b81526004016104d09061138f565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b60208201526000906031016104f7565b60008060405160200161035990771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b600080604051602001610ce8906f636f6e74726163745f6164647265737360801b815267506f6f6c4261736560c01b601082015260180190565b60408051808303601f190181529082905280516020909101206002546315485dd960e11b8352600483018290529092506000916001600160a01b0390911690632a90bbb29060240160206040518083038186803b158015610d4857600080fd5b505afa158015610d5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d8091906113c6565b9392505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60008051602061154c833981519152610dc98133610f87565b6000604051602001610dda9061135c565b60408051808303601f1901815290829052805160209091012060025463988c515b60e01b83526004830182905285151560248401529092506001600160a01b03169063988c515b90604401610542565b60008051602061154c833981519152610e438133610f87565b6002546040516001600160a01b03909116906355d9465590610e679060200161135c565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610e9b91815260200190565b60206040518083038186803b158015610eb357600080fd5b505afa158015610ec7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eeb9190611372565b15610f085760405162461bcd60e51b81526004016104d09061138f565b604051771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b60208201526000906038016104f7565b600082815260208190526040902060010154610f538133610f87565b6106a0838361106f565b600080604051602001610359907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b610f918282610d87565b61071f57610fa9816001600160a01b031660146110d4565b610fb48360206110d4565b604051602001610fc5929190611413565b60408051601f198184030181529082905262461bcd60e51b82526104d091600401611488565b610ff58282610d87565b61071f576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905561102b3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6110798282610d87565b1561071f576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b606060006110e38360026114d1565b6110ee9060026114f0565b67ffffffffffffffff81111561110657611106611508565b6040519080825280601f01601f191660200182016040528015611130576020820181803683370190505b509050600360fc1b8160008151811061114b5761114b61151e565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061117a5761117a61151e565b60200101906001600160f81b031916908160001a905350600061119e8460026114d1565b6111a99060016114f0565b90505b6001811115611221576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106111dd576111dd61151e565b1a60f81b8282815181106111f3576111f361151e565b60200101906001600160f81b031916908160001a90535060049490941c9361121a81611534565b90506111ac565b508315610d805760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016104d0565b60006020828403121561128257600080fd5b81356001600160e01b031981168114610d8057600080fd5b6000602082840312156112ac57600080fd5b5035919050565b6001600160a01b03811681146112c857600080fd5b50565b6000602082840312156112dd57600080fd5b8135610d80816112b3565b600080604083850312156112fb57600080fd5b82359150602083013561130d816112b3565b809150509250929050565b80151581146112c857600080fd5b60006020828403121561133857600080fd5b8135610d8081611318565b60006020828403121561135557600080fd5b5051919050565b696973506f6f6c4c69766560b01b8152600a0190565b60006020828403121561138457600080fd5b8151610d8081611318565b6020808252601d908201527f54686520706f6f6c2069732063757272656e746c7920636c6f7365642e000000604082015260600190565b6000602082840312156113d857600080fd5b8151610d80816112b3565b60005b838110156113fe5781810151838201526020016113e6565b8381111561140d576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161144b8160178501602088016113e3565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161147c8160288401602088016113e3565b01602801949350505050565b60208152600082518060208401526114a78160408501602087016113e3565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156114eb576114eb6114bb565b500290565b60008219821115611503576115036114bb565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081611543576115436114bb565b50600019019056fe41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842a264697066735822122068aefc31709df53e0bd9b41a607ae0503e6debe0af5b8d983994032b47ecd3db64736f6c63430008090033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x14D JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x53710F49 GT PUSH2 0xC3 JUMPI DUP1 PUSH4 0x91D14854 GT PUSH2 0x7C JUMPI DUP1 PUSH4 0x91D14854 EQ PUSH2 0x2A2 JUMPI DUP1 PUSH4 0xA217FDDF EQ PUSH2 0x2B5 JUMPI DUP1 PUSH4 0xA4975516 EQ PUSH2 0x2BD JUMPI DUP1 PUSH4 0xBF4C0036 EQ PUSH2 0x2D0 JUMPI DUP1 PUSH4 0xD547741F EQ PUSH2 0x2E3 JUMPI DUP1 PUSH4 0xFA1E19E5 EQ PUSH2 0x2F6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x53710F49 EQ PUSH2 0x237 JUMPI DUP1 PUSH4 0x62308E85 EQ PUSH2 0x24A JUMPI DUP1 PUSH4 0x6CFF7473 EQ PUSH2 0x25F JUMPI DUP1 PUSH4 0x72D099A0 EQ PUSH2 0x267 JUMPI DUP1 PUSH4 0x7521796F EQ PUSH2 0x27A JUMPI DUP1 PUSH4 0x8AE68134 EQ PUSH2 0x282 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x29CA15BC GT PUSH2 0x115 JUMPI DUP1 PUSH4 0x29CA15BC EQ PUSH2 0x1D0 JUMPI DUP1 PUSH4 0x2F2FF15D EQ PUSH2 0x1E3 JUMPI DUP1 PUSH4 0x36568ABE EQ PUSH2 0x1F6 JUMPI DUP1 PUSH4 0x45077E71 EQ PUSH2 0x209 JUMPI DUP1 PUSH4 0x473B0D46 EQ PUSH2 0x21C JUMPI DUP1 PUSH4 0x497D0241 EQ PUSH2 0x22F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x152 JUMPI DUP1 PUSH4 0x95DF57F EQ PUSH2 0x17A JUMPI DUP1 PUSH4 0x12646987 EQ PUSH2 0x190 JUMPI DUP1 PUSH4 0x217AC237 EQ PUSH2 0x1A5 JUMPI DUP1 PUSH4 0x248A9CA3 EQ PUSH2 0x1AD JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x165 PUSH2 0x160 CALLDATASIZE PUSH1 0x4 PUSH2 0x1270 JUMP JUMPDEST PUSH2 0x2FE JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x182 PUSH2 0x335 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x171 JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x19E CALLDATASIZE PUSH1 0x4 PUSH2 0x129A JUMP JUMPDEST PUSH2 0x3F2 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x165 PUSH2 0x579 JUMP JUMPDEST PUSH2 0x182 PUSH2 0x1BB CALLDATASIZE PUSH1 0x4 PUSH2 0x129A JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x1DE CALLDATASIZE PUSH1 0x4 PUSH2 0x12CB JUMP JUMPDEST PUSH2 0x61E JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x1F1 CALLDATASIZE PUSH1 0x4 PUSH2 0x12E8 JUMP JUMPDEST PUSH2 0x67A JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x204 CALLDATASIZE PUSH1 0x4 PUSH2 0x12E8 JUMP JUMPDEST PUSH2 0x6A5 JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x217 CALLDATASIZE PUSH1 0x4 PUSH2 0x12CB JUMP JUMPDEST PUSH2 0x723 JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x22A CALLDATASIZE PUSH1 0x4 PUSH2 0x129A JUMP JUMPDEST PUSH2 0x77F JUMP JUMPDEST PUSH2 0x182 PUSH2 0xA27 JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x245 CALLDATASIZE PUSH1 0x4 PUSH2 0x129A JUMP JUMPDEST PUSH2 0xA4D JUMP JUMPDEST PUSH2 0x182 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 JUMP JUMPDEST PUSH2 0x182 PUSH2 0xB4F JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x275 CALLDATASIZE PUSH1 0x4 PUSH2 0x129A JUMP JUMPDEST PUSH2 0xB77 JUMP JUMPDEST PUSH2 0x182 PUSH2 0xC7D JUMP JUMPDEST PUSH2 0x28A PUSH2 0xCAE JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x171 JUMP JUMPDEST PUSH2 0x165 PUSH2 0x2B0 CALLDATASIZE PUSH1 0x4 PUSH2 0x12E8 JUMP JUMPDEST PUSH2 0xD87 JUMP JUMPDEST PUSH2 0x182 PUSH1 0x0 DUP2 JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x2CB CALLDATASIZE PUSH1 0x4 PUSH2 0x1326 JUMP JUMPDEST PUSH2 0xDB0 JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x2DE CALLDATASIZE PUSH1 0x4 PUSH2 0x129A JUMP JUMPDEST PUSH2 0xE2A JUMP JUMPDEST PUSH2 0x1A3 PUSH2 0x2F1 CALLDATASIZE PUSH1 0x4 PUSH2 0x12E8 JUMP JUMPDEST PUSH2 0xF37 JUMP JUMPDEST PUSH2 0x182 PUSH2 0xF5D JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH4 0x7965DB0B PUSH1 0xE0 SHL EQ DUP1 PUSH2 0x32F JUMPI POP PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP4 AND EQ JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x359 SWAP1 PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL DUP2 MSTORE PUSH1 0xB ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x3B4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x3C8 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x3EC SWAP2 SWAP1 PUSH2 0x1343 JUMP JUMPDEST SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x40B DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x42F SWAP1 PUSH1 0x20 ADD PUSH2 0x135C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x463 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x47B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x48F JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x4B3 SWAP2 SWAP1 PUSH2 0x1372 JUMP JUMPDEST ISZERO PUSH2 0x4D9 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x4D0 SWAP1 PUSH2 0x138F JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2B ADD JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP7 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x55C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x570 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x58B SWAP1 PUSH2 0x135C JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x55D94655 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x5E6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x5FA JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x3EC SWAP2 SWAP1 PUSH2 0x1372 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x62A DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH2 0x642 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0xF37 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xEF69F7D97228658C92417BE1B16B19058315DE71FECB435D07B7D23728B6BD31 SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0x696 DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH2 0x6A0 DUP4 DUP4 PUSH2 0xFEB JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND CALLER EQ PUSH2 0x715 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416363657373436F6E74726F6C3A2063616E206F6E6C792072656E6F756E6365 PUSH1 0x44 DUP3 ADD MSTORE PUSH15 0x103937B632B9903337B91039B2B633 PUSH1 0x89 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x4D0 JUMP JUMPDEST PUSH2 0x71F DUP3 DUP3 PUSH2 0x106F JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x72F DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH2 0x747 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0x67A JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xD873E3F571DC25E020CEFDEB7255B3874EAD3AADE1F94A5FB4A5DA831FD670CD SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x798 DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x31 ADD PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP2 DUP3 ADD KECCAK256 PUSH1 0x2 SLOAD SWAP1 SWAP4 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 PUSH4 0x55D94655 SWAP2 PUSH2 0x7F4 SWAP2 ADD PUSH2 0x135C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x828 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x840 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x854 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x878 SWAP2 SWAP1 PUSH2 0x1372 JUMP JUMPDEST ISZERO PUSH2 0x895 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x4D0 SWAP1 PUSH2 0x138F JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP4 SWAP1 MSTORE DUP5 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x8D9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x8ED JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x911 SWAP2 SWAP1 PUSH2 0x1343 JUMP JUMPDEST GT PUSH2 0x984 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x546865206D696E2E20636F6E74722E206C696D6974206E6565647320746F2062 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6520736D616C6C6572207468616E20746865206D61782E206C696D69742E0000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x4D0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2F ADD PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP8 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xA09 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xA1D JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x359 SWAP1 PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL DUP2 MSTORE PUSH1 0xD ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xA66 DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xA8A SWAP1 PUSH1 0x20 ADD PUSH2 0x135C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xABE SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xAD6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xAEA JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xB0E SWAP2 SWAP1 PUSH2 0x1372 JUMP JUMPDEST ISZERO PUSH2 0xB2B JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x4D0 SWAP1 PUSH2 0x138F JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2D ADD PUSH2 0x4F7 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x359 SWAP1 PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL DUP2 MSTORE PUSH1 0xF ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xB90 DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xBB4 SWAP1 PUSH1 0x20 ADD PUSH2 0x135C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xBE8 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xC00 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xC14 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xC38 SWAP2 SWAP1 PUSH2 0x1372 JUMP JUMPDEST ISZERO PUSH2 0xC55 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x4D0 SWAP1 PUSH2 0x138F JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x31 ADD PUSH2 0x4F7 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x359 SWAP1 PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL DUP2 MSTORE PUSH1 0x18 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xCE8 SWAP1 PUSH16 0x636F6E74726163745F61646472657373 PUSH1 0x80 SHL DUP2 MSTORE PUSH8 0x506F6F6C42617365 PUSH1 0xC0 SHL PUSH1 0x10 DUP3 ADD MSTORE PUSH1 0x18 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x15485DD9 PUSH1 0xE1 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x0 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x2A90BBB2 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xD48 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xD5C JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xD80 SWAP2 SWAP1 PUSH2 0x13C6 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP3 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 SWAP1 SWAP4 AND DUP5 MSTORE SWAP2 SWAP1 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xDC9 DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xDDA SWAP1 PUSH2 0x135C JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x988C515B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE DUP6 ISZERO ISZERO PUSH1 0x24 DUP5 ADD MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x988C515B SWAP1 PUSH1 0x44 ADD PUSH2 0x542 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x154C DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xE43 DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xE67 SWAP1 PUSH1 0x20 ADD PUSH2 0x135C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xE9B SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xEB3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xEC7 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xEEB SWAP2 SWAP1 PUSH2 0x1372 JUMP JUMPDEST ISZERO PUSH2 0xF08 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x4D0 SWAP1 PUSH2 0x138F JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x38 ADD PUSH2 0x4F7 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0xF53 DUP2 CALLER PUSH2 0xF87 JUMP JUMPDEST PUSH2 0x6A0 DUP4 DUP4 PUSH2 0x106F JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x359 SWAP1 PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL DUP2 MSTORE PUSH1 0x11 ADD SWAP1 JUMP JUMPDEST PUSH2 0xF91 DUP3 DUP3 PUSH2 0xD87 JUMP JUMPDEST PUSH2 0x71F JUMPI PUSH2 0xFA9 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x14 PUSH2 0x10D4 JUMP JUMPDEST PUSH2 0xFB4 DUP4 PUSH1 0x20 PUSH2 0x10D4 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xFC5 SWAP3 SWAP2 SWAP1 PUSH2 0x1413 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE PUSH3 0x461BCD PUSH1 0xE5 SHL DUP3 MSTORE PUSH2 0x4D0 SWAP2 PUSH1 0x4 ADD PUSH2 0x1488 JUMP JUMPDEST PUSH2 0xFF5 DUP3 DUP3 PUSH2 0xD87 JUMP JUMPDEST PUSH2 0x71F JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH2 0x102B CALLER SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH2 0x1079 DUP3 DUP3 PUSH2 0xD87 JUMP JUMPDEST ISZERO PUSH2 0x71F JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP1 DUP6 MSTORE SWAP3 MSTORE DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE MLOAD CALLER SWAP3 DUP6 SWAP2 PUSH32 0xF6391F5C32D9C69D2A47EA670B442974B53935D1EDC7FD64EB21E047A839171B SWAP2 SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH2 0x10E3 DUP4 PUSH1 0x2 PUSH2 0x14D1 JUMP JUMPDEST PUSH2 0x10EE SWAP1 PUSH1 0x2 PUSH2 0x14F0 JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1106 JUMPI PUSH2 0x1106 PUSH2 0x1508 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x1130 JUMPI PUSH1 0x20 DUP3 ADD DUP2 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x3 PUSH1 0xFC SHL DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x114B JUMPI PUSH2 0x114B PUSH2 0x151E JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0xF PUSH1 0xFB SHL DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x117A JUMPI PUSH2 0x117A PUSH2 0x151E JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x0 PUSH2 0x119E DUP5 PUSH1 0x2 PUSH2 0x14D1 JUMP JUMPDEST PUSH2 0x11A9 SWAP1 PUSH1 0x1 PUSH2 0x14F0 JUMP JUMPDEST SWAP1 POP JUMPDEST PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x1221 JUMPI PUSH16 0x181899199A1A9B1B9C1CB0B131B232B3 PUSH1 0x81 SHL DUP6 PUSH1 0xF AND PUSH1 0x10 DUP2 LT PUSH2 0x11DD JUMPI PUSH2 0x11DD PUSH2 0x151E JUMP JUMPDEST BYTE PUSH1 0xF8 SHL DUP3 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x11F3 JUMPI PUSH2 0x11F3 PUSH2 0x151E JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x4 SWAP5 SWAP1 SWAP5 SHR SWAP4 PUSH2 0x121A DUP2 PUSH2 0x1534 JUMP JUMPDEST SWAP1 POP PUSH2 0x11AC JUMP JUMPDEST POP DUP4 ISZERO PUSH2 0xD80 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x537472696E67733A20686578206C656E67746820696E73756666696369656E74 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x4D0 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1282 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND DUP2 EQ PUSH2 0xD80 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x12AC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x12C8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x12DD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0xD80 DUP2 PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x12FB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x130D DUP2 PUSH2 0x12B3 JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0x12C8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1338 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0xD80 DUP2 PUSH2 0x1318 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1355 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH10 0x6973506F6F6C4C697665 PUSH1 0xB0 SHL DUP2 MSTORE PUSH1 0xA ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1384 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0xD80 DUP2 PUSH2 0x1318 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1D SWAP1 DUP3 ADD MSTORE PUSH32 0x54686520706F6F6C2069732063757272656E746C7920636C6F7365642E000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x13D8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0xD80 DUP2 PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x13FE JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x13E6 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x140D JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH32 0x416363657373436F6E74726F6C3A206163636F756E7420000000000000000000 DUP2 MSTORE PUSH1 0x0 DUP4 MLOAD PUSH2 0x144B DUP2 PUSH1 0x17 DUP6 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x13E3 JUMP JUMPDEST PUSH17 0x1034B99036B4B9B9B4B733903937B6329 PUSH1 0x7D SHL PUSH1 0x17 SWAP2 DUP5 ADD SWAP2 DUP3 ADD MSTORE DUP4 MLOAD PUSH2 0x147C DUP2 PUSH1 0x28 DUP5 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x13E3 JUMP JUMPDEST ADD PUSH1 0x28 ADD SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 DUP3 MLOAD DUP1 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x14A7 DUP2 PUSH1 0x40 DUP6 ADD PUSH1 0x20 DUP8 ADD PUSH2 0x13E3 JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP2 SWAP1 SWAP2 ADD PUSH1 0x40 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x0 NOT DIV DUP4 GT DUP3 ISZERO ISZERO AND ISZERO PUSH2 0x14EB JUMPI PUSH2 0x14EB PUSH2 0x14BB JUMP JUMPDEST POP MUL SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x1503 JUMPI PUSH2 0x1503 PUSH2 0x14BB JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH2 0x1543 JUMPI PUSH2 0x1543 PUSH2 0x14BB JUMP JUMPDEST POP PUSH1 0x0 NOT ADD SWAP1 JUMP INVALID COINBASE LOG0 0x1E 0xC0 LOG1 EXTCODESIZE JUMP EXTCODEHASH LOG4 MSTORE JUMP SWAP15 EXTCODEHASH 0xBB GT PUSH4 0x66D217C2 PUSH23 0x9AA1561822E65A617E3842A264697066735822122068AE 0xFC BALANCE PUSH17 0x9DF53E0BD9B41A607AE0503E6DEBE0AF5B DUP14 SWAP9 CODECOPY SWAP5 SUB 0x2B SELFBALANCE 0xEC 0xD3 0xDB PUSH5 0x736F6C6343 STOP ADDMOD MULMOD STOP CALLER ", + "sourceMap": "627:7231:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2620:202:4;;;;;;:::i;:::-;;:::i;:::-;;;470:14:12;;463:22;445:41;;433:2;418:18;2620:202:4;;;;;;;;6789:205:0;;;:::i;:::-;;;643:25:12;;;631:2;616:18;6789:205:0;497:177:12;3298:341:0;;;;;;:::i;:::-;;:::i;:::-;;6597:184;;;:::i;4008:129:4:-;;;;;;:::i;:::-;4082:7;4108:12;;;;;;;;;;:22;;;;4008:129;2178:175:0;;;;;;:::i;:::-;;:::i;4387:145:4:-;;;;;;:::i;:::-;;:::i;5404:214::-;;;;;;:::i;:::-;;:::i;1998:172:0:-;;;;;;:::i;:::-;;:::i;5239:585::-;;;;;;:::i;:::-;;:::i;7002:195::-;;;:::i;3713:351::-;;;;;;:::i;:::-;;:::i;687:64::-;;-1:-1:-1;;;;;;;;;;;687:64:0;;7640:199;;;:::i;4761:362::-;;;;;;:::i;:::-;;:::i;7205:212::-;;;:::i;6317:268::-;;;:::i;:::-;;;-1:-1:-1;;;;;2103:32:12;;;2085:51;;2073:2;2058:18;6317:268:0;1939:203:12;2909:145:4;;;;;;:::i;:::-;;:::i;2027:49::-;;2072:4;2027:49;;2965:198:0;;;;;;:::i;:::-;;:::i;4271:372::-;;;;;;:::i;:::-;;:::i;4766:147:4:-;;;;;;:::i;:::-;;:::i;7425:207:0:-;;;:::i;2620:202:4:-;2705:4;-1:-1:-1;;;;;;2728:47:4;;-1:-1:-1;;;2728:47:4;;:87;;-1:-1:-1;;;;;;;;;;937:40:10;;;2779:36:4;2721:94;2620:202;-1:-1:-1;;2620:202:4:o;6789:205:0:-;6835:4;6851:22;6886:31;;;;;;-1:-1:-1;;;2718:26:12;;2769:2;2760:12;;2516:262;6886:31:0;;;;;;;-1:-1:-1;;6886:31:0;;;;;;;6876:42;;6886:31;6876:42;;;;6936:11;;-1:-1:-1;;;6936:42:0;;;;;643:25:12;;;6876:42:0;;-1:-1:-1;;;;;;6936:11:0;;:26;;616:18:12;;6936:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6929:49;;;6789:205;:::o;3298:341::-;-1:-1:-1;;;;;;;;;;;2505:30:4;726:25:0;719:10:8;2505::4;:30::i;:::-;3387:11:0::1;::::0;3424:30:::1;::::0;-1:-1:-1;;;;;3387:11:0;;::::1;::::0;:26:::1;::::0;3424:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;3414:41;;;;;;3387:69;;;;;;;;;;;;;643:25:12::0;;631:2;616:18;;497:177;3387:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3386:70;3378:112;;;;-1:-1:-1::0;;;3378:112:0::1;;;;;;;:::i;:::-;;;;;;;;;3536:31;::::0;-1:-1:-1;;;3536:31:0::1;::::0;::::1;2718:26:12::0;3501:22:0::1;::::0;2760:12:12;;3536:31:0::1;;::::0;;;;::::1;-1:-1:-1::0;;3536:31:0;;;;;;;3526:42;;3536:31:::1;3526:42:::0;;::::1;::::0;3579:11:::1;::::0;-1:-1:-1;;;3579:52:0;;::::1;::::0;::::1;4020:25:12::0;;;4061:18;;;4054:34;;;3526:42:0;;-1:-1:-1;;;;;;3579:11:0::1;::::0;:26:::1;::::0;3993:18:12;;3579:52:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;3367:272;3298:341:::0;;:::o;6597:184::-;6641:4;6657:17;6687:30;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;6687:30:0;;;;;;;6677:41;;6687:30;6677:41;;;;6736:11;;-1:-1:-1;;;6736:37:0;;;;;643:25:12;;;6677:41:0;;-1:-1:-1;;;;;;6736:11:0;;:26;;616:18:12;;6736:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;2178:175::-;2072:4:4;2505:30;2072:4;719:10:8;2505::4;:30::i;:::-;2271:34:0::1;-1:-1:-1::0;;;;;;;;;;;2296:8:0::1;2271:10;:34::i;:::-;2321:24;::::0;-1:-1:-1;;;;;2321:24:0;::::1;::::0;::::1;::::0;;;::::1;2178:175:::0;;:::o;4387:145:4:-;4082:7;4108:12;;;;;;;;;;:22;;;2505:30;2516:4;719:10:8;2505::4;:30::i;:::-;4500:25:::1;4511:4;4517:7;4500:10;:25::i;:::-;4387:145:::0;;;:::o;5404:214::-;-1:-1:-1;;;;;5499:23:4;;719:10:8;5499:23:4;5491:83;;;;-1:-1:-1;;;5491:83:4;;4301:2:12;5491:83:4;;;4283:21:12;4340:2;4320:18;;;4313:30;4379:34;4359:18;;;4352:62;-1:-1:-1;;;4430:18:12;;;4423:45;4485:19;;5491:83:4;4099:411:12;5491:83:4;5585:26;5597:4;5603:7;5585:11;:26::i;:::-;5404:214;;:::o;1998:172:0:-;2072:4:4;2505:30;2072:4;719:10:8;2505::4;:30::i;:::-;2088:33:0::1;-1:-1:-1::0;;;;;;;;;;;2112:8:0::1;2088:9;:33::i;:::-;2137:25;::::0;-1:-1:-1;;;;;2137:25:0;::::1;::::0;::::1;::::0;;;::::1;1998:172:::0;;:::o;5239:585::-;-1:-1:-1;;;;;;;;;;;2505:30:4;726:25:0;719:10:8;2505::4;:30::i;:::-;5360:37:0::1;::::0;-1:-1:-1;;;5360:37:0::1;::::0;::::1;4717:32:12::0;5326:21:0::1;::::0;4765:12:12;;5360:37:0::1;::::0;;-1:-1:-1;;5360:37:0;;::::1;::::0;;;;;;;5350:48;;5360:37:::1;5350:48:::0;;::::1;::::0;5418:11:::1;::::0;5350:48;;-1:-1:-1;;;;;;5418:11:0::1;::::0;:26:::1;::::0;5455:30:::1;::::0;::::1;;:::i;:::-;;;;;;;;;;;;;5445:41;;;;;;5418:69;;;;;;;;;;;;;643:25:12::0;;631:2;616:18;;497:177;5418:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5417:70;5409:112;;;;-1:-1:-1::0;;;5409:112:0::1;;;;;;;:::i;:::-;5540:11;::::0;:41:::1;::::0;-1:-1:-1;;;5540:41:0;;::::1;::::0;::::1;643:25:12::0;;;5584:12:0;;-1:-1:-1;;;;;5540:11:0::1;::::0;:26:::1;::::0;616:18:12;;5540:41:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;5532:131;;;::::0;-1:-1:-1;;;5532:131:0;;4990:2:12;5532:131:0::1;::::0;::::1;4972:21:12::0;5029:2;5009:18;;;5002:30;5068:34;5048:18;;;5041:62;5139:32;5119:18;;;5112:60;5189:19;;5532:131:0::1;4788:426:12::0;5532:131:0::1;5716:35;::::0;-1:-1:-1;;;5716:35:0::1;::::0;::::1;5421:30:12::0;5684:19:0::1;::::0;5467:12:12;;5716:35:0::1;::::0;;;;::::1;-1:-1:-1::0;;5716:35:0;;;;;;;5706:46;;5716:35:::1;5706:46:::0;;::::1;::::0;5763:11:::1;::::0;-1:-1:-1;;;5763:53:0;;::::1;::::0;::::1;4020:25:12::0;;;4061:18;;;4054:34;;;5706:46:0;;-1:-1:-1;;;;;;5763:11:0::1;::::0;:26:::1;::::0;3993:18:12;;5763:53:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;5315:509;;5239:585:::0;;:::o;7002:195::-;7052:4;7068:18;7099:33;;;;;;-1:-1:-1;;;5692:28:12;;5745:2;5736:12;;5490:264;3713:351:0;-1:-1:-1;;;;;;;;;;;2505:30:4;726:25:0;719:10:8;2505::4;:30::i;:::-;3812:11:0::1;::::0;3849:30:::1;::::0;-1:-1:-1;;;;;3812:11:0;;::::1;::::0;:26:::1;::::0;3849:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;3839:41;;;;;;3812:69;;;;;;;;;;;;;643:25:12::0;;631:2;616:18;;497:177;3812:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3811:70;3803:112;;;;-1:-1:-1::0;;;3803:112:0::1;;;;;;;:::i;:::-;3957:33;::::0;-1:-1:-1;;;3957:33:0::1;::::0;::::1;5692:28:12::0;3926:18:0::1;::::0;5736:12:12;;3957:33:0::1;5490:264:12::0;7640:199:0;7690:4;7706:19;7738:35;;;;;;-1:-1:-1;;;5421:30:12;;5476:2;5467:12;;5219:266;4761:362:0;-1:-1:-1;;;;;;;;;;;2505:30:4;726:25:0;719:10:8;2505::4;:30::i;:::-;4861:11:0::1;::::0;4898:30:::1;::::0;-1:-1:-1;;;;;4861:11:0;;::::1;::::0;:26:::1;::::0;4898:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;4888:41;;;;;;4861:69;;;;;;;;;;;;;643:25:12::0;;631:2;616:18;;497:177;4861:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4860:70;4852:112;;;;-1:-1:-1::0;;;4852:112:0::1;;;;;;;:::i;:::-;5009:37;::::0;-1:-1:-1;;;5009:37:0::1;::::0;::::1;4717:32:12::0;4975:21:0::1;::::0;4765:12:12;;5009:37:0::1;4515:268:12::0;7205:212:0;7255:4;7271:21;7305:44;;;;;;-1:-1:-1;;;5961:39:12;;6025:2;6016:12;;5759:275;6317:268:0;6367:7;6386:18;6417:48;;;;;;-1:-1:-1;;;6342:31:12;;-1:-1:-1;;;6398:2:12;6389:12;;6382:32;6439:2;6430:12;;6039:409;6417:48:0;;;;;;;-1:-1:-1;;6417:48:0;;;;;;;6407:59;;6417:48;6407:59;;;;6503:11;;-1:-1:-1;;;6503:41:0;;;;;643:25:12;;;6407:59:0;;-1:-1:-1;6477:23:0;;-1:-1:-1;;;;;6503:11:0;;;;:29;;616:18:12;;6503:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6477:67;6317:268;-1:-1:-1;;;6317:268:0:o;2909:145:4:-;2995:4;3018:12;;;;;;;;;;;-1:-1:-1;;;;;3018:29:4;;;;;;;;;;;;;;;2909:145::o;2965:198:0:-;-1:-1:-1;;;;;;;;;;;2505:30:4;726:25:0;719:10:8;2505::4;:30::i;:::-;3039:17:0::1;3069:30;;;;;;;:::i;:::-;;::::0;;;;::::1;-1:-1:-1::0;;3069:30:0;;;;;;;3059:41;;3069:30:::1;3059:41:::0;;::::1;::::0;3111:11:::1;::::0;-1:-1:-1;;;3111:44:0;;::::1;::::0;::::1;6877:25:12::0;;;6945:14;;6938:22;6918:18;;;6911:50;3059:41:0;;-1:-1:-1;;;;;;3111:11:0::1;::::0;:26:::1;::::0;6850:18:12;;3111:44:0::1;6709:258:12::0;4271:372:0;-1:-1:-1;;;;;;;;;;;2505:30:4;726:25:0;719:10:8;2505::4;:30::i;:::-;4372:11:0::1;::::0;4409:30:::1;::::0;-1:-1:-1;;;;;4372:11:0;;::::1;::::0;:26:::1;::::0;4409:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;4399:41;;;;;;4372:69;;;;;;;;;;;;;643:25:12::0;;631:2;616:18;;497:177;4372:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4371:70;4363:112;;;;-1:-1:-1::0;;;4363:112:0::1;;;;;;;:::i;:::-;4520:44;::::0;-1:-1:-1;;;4520:44:0::1;::::0;::::1;5961:39:12::0;4486:21:0::1;::::0;6016:12:12;;4520:44:0::1;5759:275:12::0;4766:147:4;4082:7;4108:12;;;;;;;;;;:22;;;2505:30;2516:4;719:10:8;2505::4;:30::i;:::-;4880:26:::1;4892:4;4898:7;4880:11;:26::i;7425:207:0:-:0;7477:4;7493:21;7527:37;;;;;;-1:-1:-1;;;4717:32:12;;4774:2;4765:12;;4515:268;3335:492:4;3423:22;3431:4;3437:7;3423;:22::i;:::-;3418:403;;3606:41;3634:7;-1:-1:-1;;;;;3606:41:4;3644:2;3606:19;:41::i;:::-;3718:38;3746:4;3753:2;3718:19;:38::i;:::-;3513:265;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3513:265:4;;;;;;;;;;-1:-1:-1;;;3461:349:4;;;;;;;:::i;6861:233::-;6944:22;6952:4;6958:7;6944;:22::i;:::-;6939:149;;6982:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6982:29:4;;;;;;;;;:36;;-1:-1:-1;;6982:36:4;7014:4;6982:36;;;7064:12;719:10:8;;640:96;7064:12:4;-1:-1:-1;;;;;7037:40:4;7055:7;-1:-1:-1;;;;;7037:40:4;7049:4;7037:40;;;;;;;;;;6861:233;;:::o;7219:234::-;7302:22;7310:4;7316:7;7302;:22::i;:::-;7298:149;;;7372:5;7340:12;;;;;;;;;;;-1:-1:-1;;;;;7340:29:4;;;;;;;;;;:37;;-1:-1:-1;;7340:37:4;;;7396:40;719:10:8;;7340:12:4;;7396:40;;7372:5;7396:40;7219:234;;:::o;1588:441:9:-;1663:13;1688:19;1720:10;1724:6;1720:1;:10;:::i;:::-;:14;;1733:1;1720:14;:::i;:::-;1710:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1710:25:9;;1688:47;;-1:-1:-1;;;1745:6:9;1752:1;1745:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1745:15:9;;;;;;;;;-1:-1:-1;;;1770:6:9;1777:1;1770:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1770:15:9;;;;;;;;-1:-1:-1;1800:9:9;1812:10;1816:6;1812:1;:10;:::i;:::-;:14;;1825:1;1812:14;:::i;:::-;1800:26;;1795:132;1832:1;1828;:5;1795:132;;;-1:-1:-1;;;1879:5:9;1887:3;1879:11;1866:25;;;;;;;:::i;:::-;;;;1854:6;1861:1;1854:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;1854:37:9;;;;;;;;-1:-1:-1;1915:1:9;1905:11;;;;;1835:3;;;:::i;:::-;;;1795:132;;;-1:-1:-1;1944:10:9;;1936:55;;;;-1:-1:-1;;;1936:55:9;;9459:2:12;1936:55:9;;;9441:21:12;;;9478:18;;;9471:30;9537:34;9517:18;;;9510:62;9589:18;;1936:55:9;9257:356:12;14:286;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:12;;209:43;;199:71;;266:1;263;256:12;679:180;738:6;791:2;779:9;770:7;766:23;762:32;759:52;;;807:1;804;797:12;759:52;-1:-1:-1;830:23:12;;679:180;-1:-1:-1;679:180:12:o;1231:131::-;-1:-1:-1;;;;;1306:31:12;;1296:42;;1286:70;;1352:1;1349;1342:12;1286:70;1231:131;:::o;1367:247::-;1426:6;1479:2;1467:9;1458:7;1454:23;1450:32;1447:52;;;1495:1;1492;1485:12;1447:52;1534:9;1521:23;1553:31;1578:5;1553:31;:::i;1619:315::-;1687:6;1695;1748:2;1736:9;1727:7;1723:23;1719:32;1716:52;;;1764:1;1761;1754:12;1716:52;1800:9;1787:23;1777:33;;1860:2;1849:9;1845:18;1832:32;1873:31;1898:5;1873:31;:::i;:::-;1923:5;1913:15;;;1619:315;;;;;:::o;2147:118::-;2233:5;2226:13;2219:21;2212:5;2209:32;2199:60;;2255:1;2252;2245:12;2270:241;2326:6;2379:2;2367:9;2358:7;2354:23;2350:32;2347:52;;;2395:1;2392;2385:12;2347:52;2434:9;2421:23;2453:28;2475:5;2453:28;:::i;2783:184::-;2853:6;2906:2;2894:9;2885:7;2881:23;2877:32;2874:52;;;2922:1;2919;2912:12;2874:52;-1:-1:-1;2945:16:12;;2783:184;-1:-1:-1;2783:184:12:o;2972:261::-;-1:-1:-1;;;3174:25:12;;3224:2;3215:12;;2972:261::o;3238:245::-;3305:6;3358:2;3346:9;3337:7;3333:23;3329:32;3326:52;;;3374:1;3371;3364:12;3326:52;3406:9;3400:16;3425:28;3447:5;3425:28;:::i;3488:353::-;3690:2;3672:21;;;3729:2;3709:18;;;3702:30;3768:31;3763:2;3748:18;;3741:59;3832:2;3817:18;;3488:353::o;6453:251::-;6523:6;6576:2;6564:9;6555:7;6551:23;6547:32;6544:52;;;6592:1;6589;6582:12;6544:52;6624:9;6618:16;6643:31;6668:5;6643:31;:::i;6972:258::-;7044:1;7054:113;7068:6;7065:1;7062:13;7054:113;;;7144:11;;;7138:18;7125:11;;;7118:39;7090:2;7083:10;7054:113;;;7185:6;7182:1;7179:13;7176:48;;;7220:1;7211:6;7206:3;7202:16;7195:27;7176:48;;6972:258;;;:::o;7235:786::-;7646:25;7641:3;7634:38;7616:3;7701:6;7695:13;7717:62;7772:6;7767:2;7762:3;7758:12;7751:4;7743:6;7739:17;7717:62;:::i;:::-;-1:-1:-1;;;7838:2:12;7798:16;;;7830:11;;;7823:40;7888:13;;7910:63;7888:13;7959:2;7951:11;;7944:4;7932:17;;7910:63;:::i;:::-;7993:17;8012:2;7989:26;;7235:786;-1:-1:-1;;;;7235:786:12:o;8026:383::-;8175:2;8164:9;8157:21;8138:4;8207:6;8201:13;8250:6;8245:2;8234:9;8230:18;8223:34;8266:66;8325:6;8320:2;8309:9;8305:18;8300:2;8292:6;8288:15;8266:66;:::i;:::-;8393:2;8372:15;-1:-1:-1;;8368:29:12;8353:45;;;;8400:2;8349:54;;8026:383;-1:-1:-1;;8026:383:12:o;8414:127::-;8475:10;8470:3;8466:20;8463:1;8456:31;8506:4;8503:1;8496:15;8530:4;8527:1;8520:15;8546:168;8586:7;8652:1;8648;8644:6;8640:14;8637:1;8634:21;8629:1;8622:9;8615:17;8611:45;8608:71;;;8659:18;;:::i;:::-;-1:-1:-1;8699:9:12;;8546:168::o;8719:128::-;8759:3;8790:1;8786:6;8783:1;8780:13;8777:39;;;8796:18;;:::i;:::-;-1:-1:-1;8832:9:12;;8719:128::o;8852:127::-;8913:10;8908:3;8904:20;8901:1;8894:31;8944:4;8941:1;8934:15;8968:4;8965:1;8958:15;8984:127;9045:10;9040:3;9036:20;9033:1;9026:31;9076:4;9073:1;9066:15;9100:4;9097:1;9090:15;9116:136;9155:3;9183:5;9173:39;;9192:18;;:::i;:::-;-1:-1:-1;;;9228:18:12;;9116:136::o" + }, + "gasEstimates": { + "creation": { + "codeDepositCost": "1107400", + "executionCost": "infinite", + "totalCost": "infinite" + }, + "external": { + "DEFAULT_ADMIN_ROLE()": "239", + "POOL_MANAGER()": "infinite", + "addPoolManager(address)": "infinite", + "getContributionLimit()": "infinite", + "getMinContribution()": "infinite", + "getPoolBaseAddress()": "infinite", + "getPoolMaxSize()": "infinite", + "getPoolState()": "infinite", + "getRewardsInterest()": "infinite", + "getRewardsInterval()": "infinite", + "getRoleAdmin(bytes32)": "2559", + "grantRole(bytes32,address)": "infinite", + "hasRole(bytes32,address)": "2672", + "removePoolManager(address)": "infinite", + "renounceRole(bytes32,address)": "29061", + "revokeRole(bytes32,address)": "infinite", + "setContributionLimit(uint256)": "infinite", + "setMinContribution(uint256)": "infinite", + "setPoolLive(bool)": "infinite", + "setPoolMaxSize(uint256)": "infinite", + "setRewardsInterest(uint256)": "infinite", + "setRewardsInterval(uint256)": "infinite", + "supportsInterface(bytes4)": "450" + }, + "internal": { + "_setPoolBaseAddress()": "infinite", + "getContractAddress(string memory)": "infinite" + } + }, + "methodIdentifiers": { + "DEFAULT_ADMIN_ROLE()": "a217fddf", + "POOL_MANAGER()": "62308e85", + "addPoolManager(address)": "45077e71", + "getContributionLimit()": "fa1e19e5", + "getMinContribution()": "6cff7473", + "getPoolBaseAddress()": "8ae68134", + "getPoolMaxSize()": "095df57f", + "getPoolState()": "217ac237", + "getRewardsInterest()": "7521796f", + "getRewardsInterval()": "497d0241", + "getRoleAdmin(bytes32)": "248a9ca3", + "grantRole(bytes32,address)": "2f2ff15d", + "hasRole(bytes32,address)": "91d14854", + "removePoolManager(address)": "29ca15bc", + "renounceRole(bytes32,address)": "36568abe", + "revokeRole(bytes32,address)": "d547741f", + "setContributionLimit(uint256)": "72d099a0", + "setMinContribution(uint256)": "473b0d46", + "setPoolLive(bool)": "a4975516", + "setPoolMaxSize(uint256)": "12646987", + "setRewardsInterest(uint256)": "bf4c0036", + "setRewardsInterval(uint256)": "53710f49", + "supportsInterface(bytes4)": "01ffc9a7" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract DataStorageInterface\",\"name\":\"_dataStorageAddress\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_removedManager\",\"type\":\"address\"}],\"name\":\"ManagerRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_newManager\",\"type\":\"address\"}],\"name\":\"NewManagerAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"POOL_MANAGER\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"addPoolManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getContributionLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMinContribution\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolBaseAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolMaxSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolState\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsInterest\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsInterval\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"removePoolManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newContrLimit\",\"type\":\"uint256\"}],\"name\":\"setContributionLimit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newMinContr\",\"type\":\"uint256\"}],\"name\":\"setMinContribution\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_live\",\"type\":\"bool\"}],\"name\":\"setPoolLive\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxSize\",\"type\":\"uint256\"}],\"name\":\"setPoolMaxSize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_rewardsInterest\",\"type\":\"uint256\"}],\"name\":\"setRewardsInterest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_daysToRewards\",\"type\":\"uint256\"}],\"name\":\"setRewardsInterval\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role.\"},\"setContributionLimit(uint256)\":{\"details\":\"Set the max. contribution allowed for each user.\",\"params\":{\"_newContrLimit\":\"is a WEI value.\"}},\"setMinContribution(uint256)\":{\"details\":\"Set the min. contribution allowed for each user.\",\"params\":{\"_newMinContr\":\"is a WEI value.\"}},\"setPoolLive(bool)\":{\"details\":\"Toggles the Pool Investing Switch. \"},\"setPoolMaxSize(uint256)\":{\"details\":\"Sets the Pool Maximium size expressed on ether.\",\"params\":{\"_maxSize\":\"is a WEI value (or BigInt / BigNumber).\"}},\"setRewardsInterest(uint256)\":{\"details\":\"Set the interest per effective period.\",\"params\":{\"_rewardsInterest\":\"within the storage has 6 decimals.\"}},\"setRewardsInterval(uint256)\":{\"details\":\"Set the interval in days of the rewards period.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"}},\"title\":\"This contract handles the modifiers and environmental parameters that control the pool. \",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"constructor\":{\"notice\":\"This contract will be deployed by the same address of the initial guardian. Afterwards Guardian may not be the same as the adminif the guardian renounces to their guard.\"},\"setPoolLive(bool)\":{\"notice\":\"While live, anyone can invest but any state variable can be modified nor deleted.\"},\"setRewardsInterest(uint256)\":{\"notice\":\"E.G. If 0.001134 rate is desired, 0.001134 * (10**6) = 1134.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol\":\"PoolBase\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol\":{\"keccak256\":\"0x3975407e20a5345cd87826b306c7396e1dbb89c869df5e22338573a6ae16bc10\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1edcadb90f5e1fecf0d1f1f3d3aba9ae54f0ff97819b3ef07294b1d0aca1220d\",\"dweb:/ipfs/QmRA9ZSxbGGb1cKEzjTbxfBaWtnZmpb152Z2JhobRxuhnw\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol\":{\"keccak256\":\"0xf4a98c1519c0382a5c40cb047b7c1a33713d46062b68907c38eba7e24ce87773\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5921b6865f1504704ffbb252f719db25619236bed2ae94b18df01e1333bb4161\",\"dweb:/ipfs/QmR5TQmepq7zVfLD4WPUnVgHRRwYXDghwdrDqzgCWBmVvP\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0x4a1a0ba12bf1a33f10d9fe226278cf59675c0b929d29e4da99658a079b27fb84\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bda1319db846d6d6f92d8a57a9bdee8bde1dc39aa7546165791692c24dd6f30a\",\"dweb:/ipfs/Qma5oZ7DmbdAjd8mpiW7mx896PDtwsQtCQ2hj9Upf7b7JK\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol\":{\"keccak256\":\"0x0e9621f60b2faabe65549f7ed0f24e8853a45c1b7990d47e8160e523683f3935\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://287a2f8d5814dd0f05f22b740f18ca8321acc21c9bd03a6cb2203ea626e2f3f2\",\"dweb:/ipfs/QmZRQv9iuwU817VuqkA2WweiaibKii69x9QxYBBEfbNEud\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}", + "storageLayout": { + "storage": [ + { + "astId": 1008, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol:PoolBase", + "label": "_roles", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_bytes32,t_struct(RoleData)1003_storage)" + }, + { + "astId": 1376, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol:PoolBase", + "label": "_status", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 26, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol:PoolBase", + "label": "dataStorage", + "offset": 0, + "slot": "2", + "type": "t_contract(DataStorageInterface)936" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_contract(DataStorageInterface)936": { + "encoding": "inplace", + "label": "contract DataStorageInterface", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_bool)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_bytes32,t_struct(RoleData)1003_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => struct AccessControl.RoleData)", + "numberOfBytes": "32", + "value": "t_struct(RoleData)1003_storage" + }, + "t_struct(RoleData)1003_storage": { + "encoding": "inplace", + "label": "struct AccessControl.RoleData", + "members": [ + { + "astId": 1000, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol:PoolBase", + "label": "members", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 1002, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol:PoolBase", + "label": "adminRole", + "offset": 0, + "slot": "1", + "type": "t_bytes32" + } + ], + "numberOfBytes": "64" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } + }, + "userdoc": { + "kind": "user", + "methods": { + "constructor": { + "notice": "This contract will be deployed by the same address of the initial guardian. Afterwards Guardian may not be the same as the adminif the guardian renounces to their guard." + }, + "setPoolLive(bool)": { + "notice": "While live, anyone can invest but any state variable can be modified nor deleted." + }, + "setRewardsInterest(uint256)": { + "notice": "E.G. If 0.001134 rate is desired, 0.001134 * (10**6) = 1134." + } + }, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolVault.sol": { + "PoolVault": { + "abi": [ + { + "inputs": [ + { + "internalType": "contract DataStorageInterface", + "name": "_dataStorageAddress", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_removedManager", + "type": "address" + } + ], + "name": "ManagerRemoved", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_newManager", + "type": "address" + } + ], + "name": "NewManagerAdded", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "POOL_MANAGER", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "addPoolManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "getContributionLimit", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getMinContribution", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolBaseAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolMaxSize", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolState", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolVaultAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardsInterest", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardsInterval", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "poolEtherSize", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "processRewards", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "removePoolManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newContrLimit", + "type": "uint256" + } + ], + "name": "setContributionLimit", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newMinContr", + "type": "uint256" + } + ], + "name": "setMinContribution", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bool", + "name": "_live", + "type": "bool" + } + ], + "name": "setPoolLive", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_maxSize", + "type": "uint256" + } + ], + "name": "setPoolMaxSize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_rewardsInterest", + "type": "uint256" + } + ], + "name": "setRewardsInterest", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_daysToRewards", + "type": "uint256" + } + ], + "name": "setRewardsInterval", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "storeEther", + "outputs": [], + "stateMutability": "payable", + "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": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_ethAmount", + "type": "uint256" + } + ], + "name": "withdrawEther", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "devdoc": { + "kind": "dev", + "methods": { + "getRoleAdmin(bytes32)": { + "details": "Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}." + }, + "grantRole(bytes32,address)": { + "details": "Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role." + }, + "hasRole(bytes32,address)": { + "details": "Returns `true` if `account` has been granted `role`." + }, + "renounceRole(bytes32,address)": { + "details": "Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`." + }, + "revokeRole(bytes32,address)": { + "details": "Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role." + }, + "setContributionLimit(uint256)": { + "details": "Set the max. contribution allowed for each user.", + "params": { + "_newContrLimit": "is a WEI value." + } + }, + "setMinContribution(uint256)": { + "details": "Set the min. contribution allowed for each user.", + "params": { + "_newMinContr": "is a WEI value." + } + }, + "setPoolLive(bool)": { + "details": "Toggles the Pool Investing Switch. " + }, + "setPoolMaxSize(uint256)": { + "details": "Sets the Pool Maximium size expressed on ether.", + "params": { + "_maxSize": "is a WEI value (or BigInt / BigNumber)." + } + }, + "setRewardsInterest(uint256)": { + "details": "Set the interest per effective period.", + "params": { + "_rewardsInterest": "within the storage has 6 decimals." + } + }, + "setRewardsInterval(uint256)": { + "details": "Set the interval in days of the rewards period." + }, + "supportsInterface(bytes4)": { + "details": "See {IERC165-supportsInterface}." + } + }, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": { + "@_1384": { + "entryPoint": null, + "id": 1384, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_55": { + "entryPoint": null, + "id": 55, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@_610": { + "entryPoint": null, + "id": 610, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@_grantRole_1260": { + "entryPoint": 799, + "id": 1260, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@_msgSender_1495": { + "entryPoint": null, + "id": 1495, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@_setPoolBaseAddress_162": { + "entryPoint": 185, + "id": 162, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_setPoolVaultAddress_670": { + "entryPoint": 544, + "id": 670, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_setupRole_1200": { + "entryPoint": 169, + "id": 1200, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@hasRole_1065": { + "entryPoint": null, + "id": 1065, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_contract$_DataStorageInterface_$936_fromMemory": { + "entryPoint": 959, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_a42809ef63a8477a0cc19794440877c6cd527dbf68cffc2d1d864049ac3343dc__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + } + }, + "generatedSources": [ + { + "ast": { + "nodeType": "YulBlock", + "src": "0:2080:12", + "statements": [ + { + "nodeType": "YulBlock", + "src": "6:3:12", + "statements": [] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "123:209:12", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "169:16:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "178:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "181:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "171:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "171:12:12" + }, + "nodeType": "YulExpressionStatement", + "src": "171:12:12" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "144:7:12" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "153:9:12" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "140:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "140:23:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "165:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "136:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "136:32:12" + }, + "nodeType": "YulIf", + "src": "133:52:12" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "194:29:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "213:9:12" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "207:5:12" + }, + "nodeType": "YulFunctionCall", + "src": "207:16:12" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "198:5:12", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "286:16:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "295:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "298:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "288:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "288:12:12" + }, + "nodeType": "YulExpressionStatement", + "src": "288:12:12" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "245:5:12" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "256:5:12" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "271:3:12", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "276:1:12", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "267:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "267:11:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "280:1:12", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "263:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "263:19:12" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "252:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "252:31:12" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "242:2:12" + }, + "nodeType": "YulFunctionCall", + "src": "242:42:12" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "235:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "235:50:12" + }, + "nodeType": "YulIf", + "src": "232:70:12" + }, + { + "nodeType": "YulAssignment", + "src": "311:15:12", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "321:5:12" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "311:6:12" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_contract$_DataStorageInterface_$936_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "89:9:12", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "100:7:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "112:6:12", + "type": "" + } + ], + "src": "14:318:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "557:150:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "574:3:12" + }, + { + "hexValue": "636f6e74726163745f657869737473", + "kind": "string", + "nodeType": "YulLiteral", + "src": "579:17:12", + "type": "", + "value": "contract_exists" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "567:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "567:30:12" + }, + "nodeType": "YulExpressionStatement", + "src": "567:30:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "617:3:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "622:2:12", + "type": "", + "value": "15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "613:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "613:12:12" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "635:2:12", + "type": "", + "value": "96" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "639:6:12" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "631:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "631:15:12" + }, + { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "660:2:12", + "type": "", + "value": "96" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "664:1:12", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "656:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "656:10:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "668:1:12", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "652:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "652:18:12" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "648:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "648:23:12" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "627:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "627:45:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "606:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "606:67:12" + }, + "nodeType": "YulExpressionStatement", + "src": "606:67:12" + }, + { + "nodeType": "YulAssignment", + "src": "682:19:12", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "693:3:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "698:2:12", + "type": "", + "value": "35" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "689:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "689:12:12" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "682:3:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "533:3:12", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "538:6:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "549:3:12", + "type": "" + } + ], + "src": "337:370:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "835:135:12", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "845:26:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "857:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "868:2:12", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "853:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "853:18:12" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "845:4:12" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "887:9:12" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "898:6:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "880:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "880:25:12" + }, + "nodeType": "YulExpressionStatement", + "src": "880:25:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "925:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "936:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "921:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "921:18:12" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "955:6:12" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "948:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "948:14:12" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "941:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "941:22:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "914:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "914:50:12" + }, + "nodeType": "YulExpressionStatement", + "src": "914:50:12" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "796:9:12", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "807:6:12", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "815:6:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "826:4:12", + "type": "" + } + ], + "src": "712:258:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1268:116:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "1285:3:12" + }, + { + "hexValue": "636f6e74726163745f61646472657373", + "kind": "string", + "nodeType": "YulLiteral", + "src": "1290:18:12", + "type": "", + "value": "contract_address" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1278:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "1278:31:12" + }, + "nodeType": "YulExpressionStatement", + "src": "1278:31:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "1329:3:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1334:2:12", + "type": "", + "value": "16" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1325:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "1325:12:12" + }, + { + "hexValue": "506f6f6c42617365", + "kind": "string", + "nodeType": "YulLiteral", + "src": "1339:10:12", + "type": "", + "value": "PoolBase" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1318:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "1318:32:12" + }, + "nodeType": "YulExpressionStatement", + "src": "1318:32:12" + }, + { + "nodeType": "YulAssignment", + "src": "1359:19:12", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "1370:3:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1375:2:12", + "type": "", + "value": "24" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1366:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "1366:12:12" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "1359:3:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "1252:3:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "1260:3:12", + "type": "" + } + ], + "src": "975:409:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1518:145:12", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "1528:26:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1540:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1551:2:12", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1536:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "1536:18:12" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "1528:4:12" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1570:9:12" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1581:6:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1563:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "1563:25:12" + }, + "nodeType": "YulExpressionStatement", + "src": "1563:25:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1608:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1619:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1604:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "1604:18:12" + }, + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "1628:6:12" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1644:3:12", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1649:1:12", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "1640:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "1640:11:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1653:1:12", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1636:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "1636:19:12" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "1624:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "1624:32:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1597:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "1597:60:12" + }, + "nodeType": "YulExpressionStatement", + "src": "1597:60:12" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1479:9:12", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "1490:6:12", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1498:6:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "1509:4:12", + "type": "" + } + ], + "src": "1389:274:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1961:117:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "1978:3:12" + }, + { + "hexValue": "636f6e74726163745f61646472657373", + "kind": "string", + "nodeType": "YulLiteral", + "src": "1983:18:12", + "type": "", + "value": "contract_address" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1971:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "1971:31:12" + }, + "nodeType": "YulExpressionStatement", + "src": "1971:31:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "2022:3:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2027:2:12", + "type": "", + "value": "16" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2018:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "2018:12:12" + }, + { + "hexValue": "506f6f6c5661756c74", + "kind": "string", + "nodeType": "YulLiteral", + "src": "2032:11:12", + "type": "", + "value": "PoolVault" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2011:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "2011:33:12" + }, + "nodeType": "YulExpressionStatement", + "src": "2011:33:12" + }, + { + "nodeType": "YulAssignment", + "src": "2053:19:12", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "2064:3:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2069:2:12", + "type": "", + "value": "25" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2060:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "2060:12:12" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "2053:3:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_a42809ef63a8477a0cc19794440877c6cd527dbf68cffc2d1d864049ac3343dc__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "1945:3:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "1953:3:12", + "type": "" + } + ], + "src": "1668:410:12" + } + ] + }, + "contents": "{\n { }\n function abi_decode_tuple_t_contract$_DataStorageInterface_$936_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := mload(headStart)\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n value0 := value\n }\n function abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed(pos, value0) -> end\n {\n mstore(pos, \"contract_exists\")\n mstore(add(pos, 15), and(shl(96, value0), not(sub(shl(96, 1), 1))))\n end := add(pos, 35)\n }\n function abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), iszero(iszero(value1)))\n }\n function abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"contract_address\")\n mstore(add(pos, 16), \"PoolBase\")\n end := add(pos, 24)\n }\n function abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), and(value1, sub(shl(160, 1), 1)))\n }\n function abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_a42809ef63a8477a0cc19794440877c6cd527dbf68cffc2d1d864049ac3343dc__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"contract_address\")\n mstore(add(pos, 16), \"PoolVault\")\n end := add(pos, 25)\n }\n}", + "id": 12, + "language": "Yul", + "name": "#utility.yul" + } + ], + "linkReferences": {}, + "object": "60806040523480156200001157600080fd5b5060405162002377380380620023778339810160408190526200003491620003bf565b60018055600280546001600160a01b0319166001600160a01b0383161790558062000061600033620000a9565b6200008d7f41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e384233620000a9565b62000097620000b9565b50620000a262000220565b50620003f1565b620000b582826200031f565b5050565b6002546040516e636f6e74726163745f65786973747360881b60208201526001600160601b03193060601b16602f8201526001600160a01b039091169063988c515b9060430160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b168252600482015260016024820152604401600060405180830381600087803b1580156200015357600080fd5b505af115801562000168573d6000803e3d6000fd5b50506002546040516f636f6e74726163745f6164647265737360801b602082015267506f6f6c4261736560c01b60308201526001600160a01b039091169250637221263a91506038015b60408051601f198184030181529082905280516020909101206001600160e01b031960e084901b1682526004820152306024820152604401600060405180830381600087803b1580156200020557600080fd5b505af11580156200021a573d6000803e3d6000fd5b50505050565b6002546040516e636f6e74726163745f65786973747360881b60208201526001600160601b03193060601b16602f8201526001600160a01b039091169063988c515b9060430160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b168252600482015260016024820152604401600060405180830381600087803b158015620002ba57600080fd5b505af1158015620002cf573d6000803e3d6000fd5b50506002546040516f636f6e74726163745f6164647265737360801b602082015268141bdbdb15985d5b1d60ba1b60308201526001600160a01b039091169250637221263a9150603901620001b2565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620000b5576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556200037b3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600060208284031215620003d257600080fd5b81516001600160a01b0381168114620003ea57600080fd5b9392505050565b611f7680620004016000396000f3fe6080604052600436106101b75760003560e01c80636cff7473116100ec578063a7cc190a1161008a578063ccfe0c8e11610064578063ccfe0c8e1461049b578063d547741f146104b0578063f9fc0d07146104d0578063fa1e19e5146104d857600080fd5b8063a7cc190a1461045e578063bf4c003614610466578063c3577d481461048657600080fd5b80638ae68134116100c65780638ae68134146103dc57806391d1485414610409578063a217fddf14610429578063a49755161461043e57600080fd5b80636cff74731461039257806372d099a0146103a75780637521796f146103c757600080fd5b806336568abe11610159578063497d024111610133578063497d02411461031b578063522f68151461033057806353710f491461035057806362308e851461037057600080fd5b806336568abe146102bb57806345077e71146102db578063473b0d46146102fb57600080fd5b8063217ac23711610195578063217ac23714610236578063248a9ca31461024b57806329ca15bc1461027b5780632f2ff15d1461029b57600080fd5b806301ffc9a7146101bc578063095df57f146101f15780631264698714610214575b600080fd5b3480156101c857600080fd5b506101dc6101d7366004611b98565b6104ed565b60405190151581526020015b60405180910390f35b3480156101fd57600080fd5b50610206610524565b6040519081526020016101e8565b34801561022057600080fd5b5061023461022f366004611bc2565b6105e1565b005b34801561024257600080fd5b506101dc610768565b34801561025757600080fd5b50610206610266366004611bc2565b60009081526020819052604090206001015490565b34801561028757600080fd5b50610234610296366004611bf3565b61080d565b3480156102a757600080fd5b506102346102b6366004611c10565b610869565b3480156102c757600080fd5b506102346102d6366004611c10565b610894565b3480156102e757600080fd5b506102346102f6366004611bf3565b610912565b34801561030757600080fd5b50610234610316366004611bc2565b61096e565b34801561032757600080fd5b50610206610c16565b34801561033c57600080fd5b5061023461034b366004611c40565b610c3c565b34801561035c57600080fd5b5061023461036b366004611bc2565b610ff7565b34801561037c57600080fd5b50610206600080516020611f2183398151915281565b34801561039e57600080fd5b506102066110f9565b3480156103b357600080fd5b506102346103c2366004611bc2565b611121565b3480156103d357600080fd5b50610206611227565b3480156103e857600080fd5b506103f1611258565b6040516001600160a01b0390911681526020016101e8565b34801561041557600080fd5b506101dc610424366004611c10565b611331565b34801561043557600080fd5b50610206600081565b34801561044a57600080fd5b50610234610459366004611c7a565b61135a565b6102346113d4565b34801561047257600080fd5b50610234610481366004611bc2565b611538565b34801561049257600080fd5b506103f1611645565b3480156104a757600080fd5b50610206611680565b3480156104bc57600080fd5b506102346104cb366004611c10565b6116ab565b6102346116d1565b3480156104e457600080fd5b50610206611885565b60006001600160e01b03198216637965db0b60e01b148061051e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b600080604051602001610548906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b1580156105a357600080fd5b505afa1580156105b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105db9190611c97565b91505090565b600080516020611f218339815191526105fa81336118af565b6002546040516001600160a01b03909116906355d946559061061e90602001611cb0565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161065291815260200190565b60206040518083038186803b15801561066a57600080fd5b505afa15801561067e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a29190611cc6565b156106c85760405162461bcd60e51b81526004016106bf90611ce3565b60405180910390fd5b6040516a706f6f6c4d617853697a6560a81b6020820152600090602b015b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018690529092506001600160a01b0316906328192c55906044015b600060405180830381600087803b15801561074b57600080fd5b505af115801561075f573d6000803e3d6000fd5b50505050505050565b60008060405160200161077a90611cb0565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b1580156107d557600080fd5b505afa1580156107e9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105db9190611cc6565b600061081981336118af565b610831600080516020611f21833981519152836116ab565b6040516001600160a01b038316907fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd3190600090a25050565b60008281526020819052604090206001015461088581336118af565b61088f8383611913565b505050565b6001600160a01b03811633146109045760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016106bf565b61090e8282611997565b5050565b600061091e81336118af565b610936600080516020611f2183398151915283610869565b6040516001600160a01b038316907fd873e3f571dc25e020cefdeb7255b3874ead3aade1f94a5fb4a5da831fd670cd90600090a25050565b600080516020611f2183398151915261098781336118af565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b602082015260009060310160408051601f198184030181529082905280516020918201206002549093506001600160a01b0316916355d94655916109e39101611cb0565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610a1791815260200190565b60206040518083038186803b158015610a2f57600080fd5b505afa158015610a43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a679190611cc6565b15610a845760405162461bcd60e51b81526004016106bf90611ce3565b60025460405163afc3602b60e01b81526004810183905284916001600160a01b03169063afc3602b9060240160206040518083038186803b158015610ac857600080fd5b505afa158015610adc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b009190611c97565b11610b735760405162461bcd60e51b815260206004820152603e60248201527f546865206d696e2e20636f6e74722e206c696d6974206e6565647320746f206260448201527f6520736d616c6c6572207468616e20746865206d61782e206c696d69742e000060648201526084016106bf565b6040516e36b4b721b7b73a3934b13aba34b7b760891b6020820152600090602f0160408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018790529092506001600160a01b0316906328192c5590604401600060405180830381600087803b158015610bf857600080fd5b505af1158015610c0c573d6000803e3d6000fd5b5050505050505050565b600080604051602001610548906c64617973546f5265776172647360981b8152600d0190565b600033604051602001610c4f9190611d1a565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b158015610caa57600080fd5b505afa158015610cbe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce29190611cc6565b610cfe5760405162461bcd60e51b81526004016106bf90611d4f565b60026001541415610d515760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106bf565b6002600155604051711d1bdd185b17d95d1a195c97dcdd185ad95960721b60208201526000906032016040516020818303038152906040528051906020012090506000604051602001610dbb90703a37ba30b629bab838363cafa2ba3432b960791b815260110190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b83526004830185905290925060009186916001600160a01b03169063afc3602b9060240160206040518083038186803b158015610e1b57600080fd5b505afa158015610e2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e539190611c97565b610e5d9190611d9a565b1015610ec15760405162461bcd60e51b815260206004820152602d60248201527f506f6f6c206c61636b696e67206f6620657468657220746f20706572666f726d60448201526c103a3434b99030b1ba34b7b71760991b60648201526084016106bf565b600254604051635bcfee6760e01b815260048101849052602481018690526001600160a01b0390911690635bcfee6790604401600060405180830381600087803b158015610f0e57600080fd5b505af1158015610f22573d6000803e3d6000fd5b5050600254604051635bcfee6760e01b815260048101859052602481018890526001600160a01b039091169250635bcfee679150604401600060405180830381600087803b158015610f7357600080fd5b505af1158015610f87573d6000803e3d6000fd5b505050506000856001600160a01b03168560405160006040518083038185875af1925050503d8060008114610fd8576040519150601f19603f3d011682016040523d82523d6000602084013e610fdd565b606091505b5050905080610feb57600080fd5b50506001805550505050565b600080516020611f2183398151915261101081336118af565b6002546040516001600160a01b03909116906355d946559061103490602001611cb0565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161106891815260200190565b60206040518083038186803b15801561108057600080fd5b505afa158015611094573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b89190611cc6565b156110d55760405162461bcd60e51b81526004016106bf90611ce3565b6040516c64617973546f5265776172647360981b6020820152600090602d016106e6565b600080604051602001610548906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b600080516020611f2183398151915261113a81336118af565b6002546040516001600160a01b03909116906355d946559061115e90602001611cb0565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161119291815260200190565b60206040518083038186803b1580156111aa57600080fd5b505afa1580156111be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e29190611cc6565b156111ff5760405162461bcd60e51b81526004016106bf90611ce3565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b60208201526000906031016106e6565b60008060405160200161054890771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b600080604051602001611292906f636f6e74726163745f6164647265737360801b815267506f6f6c4261736560c01b601082015260180190565b60408051808303601f190181529082905280516020909101206002546315485dd960e11b8352600483018290529092506000916001600160a01b0390911690632a90bbb29060240160206040518083038186803b1580156112f257600080fd5b505afa158015611306573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061132a9190611db1565b9392505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020611f2183398151915261137381336118af565b600060405160200161138490611cb0565b60408051808303601f1901815290829052805160209091012060025463988c515b60e01b83526004830182905285151560248401529092506001600160a01b03169063988c515b90604401610731565b6000336040516020016113e79190611d1a565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561144257600080fd5b505afa158015611456573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061147a9190611cc6565b6114965760405162461bcd60e51b81526004016106bf90611d4f565b604051711d1bdd185b17d95d1a195c97dcdd185ad95960721b602082015260009060320160408051808303601f1901815290829052805160209091012060025462ec44af60e51b8352600483018290523460248401529092506001600160a01b031690631d8895e090604401600060405180830381600087803b15801561151c57600080fd5b505af1158015611530573d6000803e3d6000fd5b505050505050565b600080516020611f2183398151915261155181336118af565b6002546040516001600160a01b03909116906355d946559061157590602001611cb0565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b81526004016115a991815260200190565b60206040518083038186803b1580156115c157600080fd5b505afa1580156115d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f99190611cc6565b156116165760405162461bcd60e51b81526004016106bf90611ce3565b604051771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b60208201526000906038016106e6565b600080604051602001611292906f636f6e74726163745f6164647265737360801b815268141bdbdb15985d5b1d60ba1b601082015260190190565b60008060405160200161054890711d1bdd185b17d95d1a195c97dcdd185ad95960721b815260120190565b6000828152602081905260409020600101546116c781336118af565b61088f8383611997565b6000336040516020016116e49190611d1a565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561173f57600080fd5b505afa158015611753573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117779190611cc6565b6117935760405162461bcd60e51b81526004016106bf90611d4f565b600260015414156117e65760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106bf565b6002600155604051711d1bdd185b17d95d1a195c97dcdd185ad95960721b602082015260009060320160408051808303601f1901815290829052805160209091012060025462ec44af60e51b8352600483018290523460248401529092506001600160a01b031690631d8895e090604401600060405180830381600087803b15801561187157600080fd5b505af1158015610feb573d6000803e3d6000fd5b600080604051602001610548907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b6118b98282611331565b61090e576118d1816001600160a01b031660146119fc565b6118dc8360206119fc565b6040516020016118ed929190611dfe565b60408051601f198184030181529082905262461bcd60e51b82526106bf91600401611e73565b61191d8282611331565b61090e576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556119533390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6119a18282611331565b1561090e576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60606000611a0b836002611ea6565b611a16906002611ec5565b67ffffffffffffffff811115611a2e57611a2e611edd565b6040519080825280601f01601f191660200182016040528015611a58576020820181803683370190505b509050600360fc1b81600081518110611a7357611a73611ef3565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611aa257611aa2611ef3565b60200101906001600160f81b031916908160001a9053506000611ac6846002611ea6565b611ad1906001611ec5565b90505b6001811115611b49576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611b0557611b05611ef3565b1a60f81b828281518110611b1b57611b1b611ef3565b60200101906001600160f81b031916908160001a90535060049490941c93611b4281611f09565b9050611ad4565b50831561132a5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016106bf565b600060208284031215611baa57600080fd5b81356001600160e01b03198116811461132a57600080fd5b600060208284031215611bd457600080fd5b5035919050565b6001600160a01b0381168114611bf057600080fd5b50565b600060208284031215611c0557600080fd5b813561132a81611bdb565b60008060408385031215611c2357600080fd5b823591506020830135611c3581611bdb565b809150509250929050565b60008060408385031215611c5357600080fd5b8235611c5e81611bdb565b946020939093013593505050565b8015158114611bf057600080fd5b600060208284031215611c8c57600080fd5b813561132a81611c6c565b600060208284031215611ca957600080fd5b5051919050565b696973506f6f6c4c69766560b01b8152600a0190565b600060208284031215611cd857600080fd5b815161132a81611c6c565b6020808252601d908201527f54686520706f6f6c2069732063757272656e746c7920636c6f7365642e000000604082015260600190565b6e636f6e74726163745f65786973747360881b815260609190911b6bffffffffffffffffffffffff1916600f82015260230190565b6020808252818101527f54686520636f6e7472616374206164647265737320697320696e76616c69642e604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082821015611dac57611dac611d84565b500390565b600060208284031215611dc357600080fd5b815161132a81611bdb565b60005b83811015611de9578181015183820152602001611dd1565b83811115611df8576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611e36816017850160208801611dce565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611e67816028840160208801611dce565b01602801949350505050565b6020815260008251806020840152611e92816040850160208701611dce565b601f01601f19169190910160400192915050565b6000816000190483118215151615611ec057611ec0611d84565b500290565b60008219821115611ed857611ed8611d84565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081611f1857611f18611d84565b50600019019056fe41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842a26469706673582212205683fbe808f0e43c1ca994bf72a03d508f376b2b332730e2895efb1ee23cfe1364736f6c63430008090033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH3 0x11 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH3 0x2377 CODESIZE SUB DUP1 PUSH3 0x2377 DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH3 0x34 SWAP2 PUSH3 0x3BF JUMP JUMPDEST PUSH1 0x1 DUP1 SSTORE PUSH1 0x2 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND OR SWAP1 SSTORE DUP1 PUSH3 0x61 PUSH1 0x0 CALLER PUSH3 0xA9 JUMP JUMPDEST PUSH3 0x8D PUSH32 0x41A01EC0A13B563FA452569E3FBB116366D217C2769AA1561822E65A617E3842 CALLER PUSH3 0xA9 JUMP JUMPDEST PUSH3 0x97 PUSH3 0xB9 JUMP JUMPDEST POP PUSH3 0xA2 PUSH3 0x220 JUMP JUMPDEST POP PUSH3 0x3F1 JUMP JUMPDEST PUSH3 0xB5 DUP3 DUP3 PUSH3 0x31F JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH15 0x636F6E74726163745F657869737473 PUSH1 0x88 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB NOT ADDRESS PUSH1 0x60 SHL AND PUSH1 0x2F DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x988C515B SWAP1 PUSH1 0x43 ADD PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT PUSH1 0xE0 DUP5 SWAP1 SHL AND DUP3 MSTORE PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x153 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH3 0x168 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH16 0x636F6E74726163745F61646472657373 PUSH1 0x80 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH8 0x506F6F6C42617365 PUSH1 0xC0 SHL PUSH1 0x30 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP3 POP PUSH4 0x7221263A SWAP2 POP PUSH1 0x38 ADD JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT PUSH1 0xE0 DUP5 SWAP1 SHL AND DUP3 MSTORE PUSH1 0x4 DUP3 ADD MSTORE ADDRESS PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x205 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH3 0x21A JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH15 0x636F6E74726163745F657869737473 PUSH1 0x88 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB NOT ADDRESS PUSH1 0x60 SHL AND PUSH1 0x2F DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x988C515B SWAP1 PUSH1 0x43 ADD PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT PUSH1 0xE0 DUP5 SWAP1 SHL AND DUP3 MSTORE PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x2BA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH3 0x2CF JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH16 0x636F6E74726163745F61646472657373 PUSH1 0x80 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH9 0x141BDBDB15985D5B1D PUSH1 0xBA SHL PUSH1 0x30 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP3 POP PUSH4 0x7221263A SWAP2 POP PUSH1 0x39 ADD PUSH3 0x1B2 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH3 0xB5 JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH3 0x37B CALLER SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH3 0x3D2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH3 0x3EA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0x1F76 DUP1 PUSH3 0x401 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x1B7 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x6CFF7473 GT PUSH2 0xEC JUMPI DUP1 PUSH4 0xA7CC190A GT PUSH2 0x8A JUMPI DUP1 PUSH4 0xCCFE0C8E GT PUSH2 0x64 JUMPI DUP1 PUSH4 0xCCFE0C8E EQ PUSH2 0x49B JUMPI DUP1 PUSH4 0xD547741F EQ PUSH2 0x4B0 JUMPI DUP1 PUSH4 0xF9FC0D07 EQ PUSH2 0x4D0 JUMPI DUP1 PUSH4 0xFA1E19E5 EQ PUSH2 0x4D8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xA7CC190A EQ PUSH2 0x45E JUMPI DUP1 PUSH4 0xBF4C0036 EQ PUSH2 0x466 JUMPI DUP1 PUSH4 0xC3577D48 EQ PUSH2 0x486 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x8AE68134 GT PUSH2 0xC6 JUMPI DUP1 PUSH4 0x8AE68134 EQ PUSH2 0x3DC JUMPI DUP1 PUSH4 0x91D14854 EQ PUSH2 0x409 JUMPI DUP1 PUSH4 0xA217FDDF EQ PUSH2 0x429 JUMPI DUP1 PUSH4 0xA4975516 EQ PUSH2 0x43E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x6CFF7473 EQ PUSH2 0x392 JUMPI DUP1 PUSH4 0x72D099A0 EQ PUSH2 0x3A7 JUMPI DUP1 PUSH4 0x7521796F EQ PUSH2 0x3C7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x36568ABE GT PUSH2 0x159 JUMPI DUP1 PUSH4 0x497D0241 GT PUSH2 0x133 JUMPI DUP1 PUSH4 0x497D0241 EQ PUSH2 0x31B JUMPI DUP1 PUSH4 0x522F6815 EQ PUSH2 0x330 JUMPI DUP1 PUSH4 0x53710F49 EQ PUSH2 0x350 JUMPI DUP1 PUSH4 0x62308E85 EQ PUSH2 0x370 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x36568ABE EQ PUSH2 0x2BB JUMPI DUP1 PUSH4 0x45077E71 EQ PUSH2 0x2DB JUMPI DUP1 PUSH4 0x473B0D46 EQ PUSH2 0x2FB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x217AC237 GT PUSH2 0x195 JUMPI DUP1 PUSH4 0x217AC237 EQ PUSH2 0x236 JUMPI DUP1 PUSH4 0x248A9CA3 EQ PUSH2 0x24B JUMPI DUP1 PUSH4 0x29CA15BC EQ PUSH2 0x27B JUMPI DUP1 PUSH4 0x2F2FF15D EQ PUSH2 0x29B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x1BC JUMPI DUP1 PUSH4 0x95DF57F EQ PUSH2 0x1F1 JUMPI DUP1 PUSH4 0x12646987 EQ PUSH2 0x214 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x1C8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1DC PUSH2 0x1D7 CALLDATASIZE PUSH1 0x4 PUSH2 0x1B98 JUMP JUMPDEST PUSH2 0x4ED JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x1FD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x206 PUSH2 0x524 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1E8 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x220 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x234 PUSH2 0x22F CALLDATASIZE PUSH1 0x4 PUSH2 0x1BC2 JUMP JUMPDEST PUSH2 0x5E1 JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x242 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1DC PUSH2 0x768 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x257 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x206 PUSH2 0x266 CALLDATASIZE PUSH1 0x4 PUSH2 0x1BC2 JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD SWAP1 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x287 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x234 PUSH2 0x296 CALLDATASIZE PUSH1 0x4 PUSH2 0x1BF3 JUMP JUMPDEST PUSH2 0x80D JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x2A7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x234 PUSH2 0x2B6 CALLDATASIZE PUSH1 0x4 PUSH2 0x1C10 JUMP JUMPDEST PUSH2 0x869 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x2C7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x234 PUSH2 0x2D6 CALLDATASIZE PUSH1 0x4 PUSH2 0x1C10 JUMP JUMPDEST PUSH2 0x894 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x2E7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x234 PUSH2 0x2F6 CALLDATASIZE PUSH1 0x4 PUSH2 0x1BF3 JUMP JUMPDEST PUSH2 0x912 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x307 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x234 PUSH2 0x316 CALLDATASIZE PUSH1 0x4 PUSH2 0x1BC2 JUMP JUMPDEST PUSH2 0x96E JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x327 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x206 PUSH2 0xC16 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x33C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x234 PUSH2 0x34B CALLDATASIZE PUSH1 0x4 PUSH2 0x1C40 JUMP JUMPDEST PUSH2 0xC3C JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x35C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x234 PUSH2 0x36B CALLDATASIZE PUSH1 0x4 PUSH2 0x1BC2 JUMP JUMPDEST PUSH2 0xFF7 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x37C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x206 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1F21 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x39E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x206 PUSH2 0x10F9 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x3B3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x234 PUSH2 0x3C2 CALLDATASIZE PUSH1 0x4 PUSH2 0x1BC2 JUMP JUMPDEST PUSH2 0x1121 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x3D3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x206 PUSH2 0x1227 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x3E8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x3F1 PUSH2 0x1258 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1E8 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x415 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1DC PUSH2 0x424 CALLDATASIZE PUSH1 0x4 PUSH2 0x1C10 JUMP JUMPDEST PUSH2 0x1331 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x435 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x206 PUSH1 0x0 DUP2 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x44A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x234 PUSH2 0x459 CALLDATASIZE PUSH1 0x4 PUSH2 0x1C7A JUMP JUMPDEST PUSH2 0x135A JUMP JUMPDEST PUSH2 0x234 PUSH2 0x13D4 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x472 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x234 PUSH2 0x481 CALLDATASIZE PUSH1 0x4 PUSH2 0x1BC2 JUMP JUMPDEST PUSH2 0x1538 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x492 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x3F1 PUSH2 0x1645 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x4A7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x206 PUSH2 0x1680 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x4BC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x234 PUSH2 0x4CB CALLDATASIZE PUSH1 0x4 PUSH2 0x1C10 JUMP JUMPDEST PUSH2 0x16AB JUMP JUMPDEST PUSH2 0x234 PUSH2 0x16D1 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x4E4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x206 PUSH2 0x1885 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH4 0x7965DB0B PUSH1 0xE0 SHL EQ DUP1 PUSH2 0x51E JUMPI POP PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP4 AND EQ JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x548 SWAP1 PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL DUP2 MSTORE PUSH1 0xB ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x5A3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x5B7 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x5DB SWAP2 SWAP1 PUSH2 0x1C97 JUMP JUMPDEST SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1F21 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x5FA DUP2 CALLER PUSH2 0x18AF JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x61E SWAP1 PUSH1 0x20 ADD PUSH2 0x1CB0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x652 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x66A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x67E JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x6A2 SWAP2 SWAP1 PUSH2 0x1CC6 JUMP JUMPDEST ISZERO PUSH2 0x6C8 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6BF SWAP1 PUSH2 0x1CE3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2B ADD JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP7 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x74B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x75F JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x77A SWAP1 PUSH2 0x1CB0 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x55D94655 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x7D5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x7E9 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x5DB SWAP2 SWAP1 PUSH2 0x1CC6 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x819 DUP2 CALLER PUSH2 0x18AF JUMP JUMPDEST PUSH2 0x831 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1F21 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0x16AB JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xEF69F7D97228658C92417BE1B16B19058315DE71FECB435D07B7D23728B6BD31 SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0x885 DUP2 CALLER PUSH2 0x18AF JUMP JUMPDEST PUSH2 0x88F DUP4 DUP4 PUSH2 0x1913 JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND CALLER EQ PUSH2 0x904 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416363657373436F6E74726F6C3A2063616E206F6E6C792072656E6F756E6365 PUSH1 0x44 DUP3 ADD MSTORE PUSH15 0x103937B632B9903337B91039B2B633 PUSH1 0x89 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6BF JUMP JUMPDEST PUSH2 0x90E DUP3 DUP3 PUSH2 0x1997 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x91E DUP2 CALLER PUSH2 0x18AF JUMP JUMPDEST PUSH2 0x936 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1F21 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0x869 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xD873E3F571DC25E020CEFDEB7255B3874EAD3AADE1F94A5FB4A5DA831FD670CD SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1F21 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x987 DUP2 CALLER PUSH2 0x18AF JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x31 ADD PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP2 DUP3 ADD KECCAK256 PUSH1 0x2 SLOAD SWAP1 SWAP4 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 PUSH4 0x55D94655 SWAP2 PUSH2 0x9E3 SWAP2 ADD PUSH2 0x1CB0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xA17 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xA2F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xA43 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xA67 SWAP2 SWAP1 PUSH2 0x1CC6 JUMP JUMPDEST ISZERO PUSH2 0xA84 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6BF SWAP1 PUSH2 0x1CE3 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP4 SWAP1 MSTORE DUP5 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xAC8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xADC JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xB00 SWAP2 SWAP1 PUSH2 0x1C97 JUMP JUMPDEST GT PUSH2 0xB73 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x546865206D696E2E20636F6E74722E206C696D6974206E6565647320746F2062 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6520736D616C6C6572207468616E20746865206D61782E206C696D69742E0000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6BF JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2F ADD PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP8 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xBF8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xC0C JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x548 SWAP1 PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL DUP2 MSTORE PUSH1 0xD ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xC4F SWAP2 SWAP1 PUSH2 0x1D1A JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x55D94655 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xCAA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xCBE JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xCE2 SWAP2 SWAP1 PUSH2 0x1CC6 JUMP JUMPDEST PUSH2 0xCFE JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6BF SWAP1 PUSH2 0x1D4F JUMP JUMPDEST PUSH1 0x2 PUSH1 0x1 SLOAD EQ ISZERO PUSH2 0xD51 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x5265656E7472616E637947756172643A207265656E7472616E742063616C6C00 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6BF JUMP JUMPDEST PUSH1 0x2 PUSH1 0x1 SSTORE PUSH1 0x40 MLOAD PUSH18 0x1D1BDD185B17D95D1A195C97DCDD185AD959 PUSH1 0x72 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x32 ADD PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xDBB SWAP1 PUSH17 0x3A37BA30B629BAB838363CAFA2BA3432B9 PUSH1 0x79 SHL DUP2 MSTORE PUSH1 0x11 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP6 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x0 SWAP2 DUP7 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xE1B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xE2F JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xE53 SWAP2 SWAP1 PUSH2 0x1C97 JUMP JUMPDEST PUSH2 0xE5D SWAP2 SWAP1 PUSH2 0x1D9A JUMP JUMPDEST LT ISZERO PUSH2 0xEC1 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x506F6F6C206C61636B696E67206F6620657468657220746F20706572666F726D PUSH1 0x44 DUP3 ADD MSTORE PUSH13 0x103A3434B99030B1BA34B7B717 PUSH1 0x99 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6BF JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0x5BCFEE67 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP5 SWAP1 MSTORE PUSH1 0x24 DUP2 ADD DUP7 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x5BCFEE67 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xF0E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xF22 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0x5BCFEE67 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP6 SWAP1 MSTORE PUSH1 0x24 DUP2 ADD DUP9 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP3 POP PUSH4 0x5BCFEE67 SWAP2 POP PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xF73 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xF87 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x0 DUP6 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP6 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP8 GAS CALL SWAP3 POP POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0xFD8 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0xFDD JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP POP SWAP1 POP DUP1 PUSH2 0xFEB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP PUSH1 0x1 DUP1 SSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1F21 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x1010 DUP2 CALLER PUSH2 0x18AF JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x1034 SWAP1 PUSH1 0x20 ADD PUSH2 0x1CB0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1068 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1080 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1094 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x10B8 SWAP2 SWAP1 PUSH2 0x1CC6 JUMP JUMPDEST ISZERO PUSH2 0x10D5 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6BF SWAP1 PUSH2 0x1CE3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2D ADD PUSH2 0x6E6 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x548 SWAP1 PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL DUP2 MSTORE PUSH1 0xF ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1F21 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x113A DUP2 CALLER PUSH2 0x18AF JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x115E SWAP1 PUSH1 0x20 ADD PUSH2 0x1CB0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1192 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x11AA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x11BE JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x11E2 SWAP2 SWAP1 PUSH2 0x1CC6 JUMP JUMPDEST ISZERO PUSH2 0x11FF JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6BF SWAP1 PUSH2 0x1CE3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x31 ADD PUSH2 0x6E6 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x548 SWAP1 PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL DUP2 MSTORE PUSH1 0x18 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1292 SWAP1 PUSH16 0x636F6E74726163745F61646472657373 PUSH1 0x80 SHL DUP2 MSTORE PUSH8 0x506F6F6C42617365 PUSH1 0xC0 SHL PUSH1 0x10 DUP3 ADD MSTORE PUSH1 0x18 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x15485DD9 PUSH1 0xE1 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x0 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x2A90BBB2 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x12F2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1306 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x132A SWAP2 SWAP1 PUSH2 0x1DB1 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP3 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 SWAP1 SWAP4 AND DUP5 MSTORE SWAP2 SWAP1 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1F21 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x1373 DUP2 CALLER PUSH2 0x18AF JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1384 SWAP1 PUSH2 0x1CB0 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x988C515B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE DUP6 ISZERO ISZERO PUSH1 0x24 DUP5 ADD MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x988C515B SWAP1 PUSH1 0x44 ADD PUSH2 0x731 JUMP JUMPDEST PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x13E7 SWAP2 SWAP1 PUSH2 0x1D1A JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x55D94655 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1442 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1456 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x147A SWAP2 SWAP1 PUSH2 0x1CC6 JUMP JUMPDEST PUSH2 0x1496 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6BF SWAP1 PUSH2 0x1D4F JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH18 0x1D1BDD185B17D95D1A195C97DCDD185AD959 PUSH1 0x72 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x32 ADD PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH3 0xEC44AF PUSH1 0xE5 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE CALLVALUE PUSH1 0x24 DUP5 ADD MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x1D8895E0 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x151C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1530 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1F21 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x1551 DUP2 CALLER PUSH2 0x18AF JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x1575 SWAP1 PUSH1 0x20 ADD PUSH2 0x1CB0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x15A9 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x15C1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x15D5 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x15F9 SWAP2 SWAP1 PUSH2 0x1CC6 JUMP JUMPDEST ISZERO PUSH2 0x1616 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6BF SWAP1 PUSH2 0x1CE3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x38 ADD PUSH2 0x6E6 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1292 SWAP1 PUSH16 0x636F6E74726163745F61646472657373 PUSH1 0x80 SHL DUP2 MSTORE PUSH9 0x141BDBDB15985D5B1D PUSH1 0xBA SHL PUSH1 0x10 DUP3 ADD MSTORE PUSH1 0x19 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x548 SWAP1 PUSH18 0x1D1BDD185B17D95D1A195C97DCDD185AD959 PUSH1 0x72 SHL DUP2 MSTORE PUSH1 0x12 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0x16C7 DUP2 CALLER PUSH2 0x18AF JUMP JUMPDEST PUSH2 0x88F DUP4 DUP4 PUSH2 0x1997 JUMP JUMPDEST PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x16E4 SWAP2 SWAP1 PUSH2 0x1D1A JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x55D94655 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x173F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1753 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x1777 SWAP2 SWAP1 PUSH2 0x1CC6 JUMP JUMPDEST PUSH2 0x1793 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6BF SWAP1 PUSH2 0x1D4F JUMP JUMPDEST PUSH1 0x2 PUSH1 0x1 SLOAD EQ ISZERO PUSH2 0x17E6 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x5265656E7472616E637947756172643A207265656E7472616E742063616C6C00 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6BF JUMP JUMPDEST PUSH1 0x2 PUSH1 0x1 SSTORE PUSH1 0x40 MLOAD PUSH18 0x1D1BDD185B17D95D1A195C97DCDD185AD959 PUSH1 0x72 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x32 ADD PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH3 0xEC44AF PUSH1 0xE5 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE CALLVALUE PUSH1 0x24 DUP5 ADD MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x1D8895E0 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1871 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xFEB JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x548 SWAP1 PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL DUP2 MSTORE PUSH1 0x11 ADD SWAP1 JUMP JUMPDEST PUSH2 0x18B9 DUP3 DUP3 PUSH2 0x1331 JUMP JUMPDEST PUSH2 0x90E JUMPI PUSH2 0x18D1 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x14 PUSH2 0x19FC JUMP JUMPDEST PUSH2 0x18DC DUP4 PUSH1 0x20 PUSH2 0x19FC JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x18ED SWAP3 SWAP2 SWAP1 PUSH2 0x1DFE JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE PUSH3 0x461BCD PUSH1 0xE5 SHL DUP3 MSTORE PUSH2 0x6BF SWAP2 PUSH1 0x4 ADD PUSH2 0x1E73 JUMP JUMPDEST PUSH2 0x191D DUP3 DUP3 PUSH2 0x1331 JUMP JUMPDEST PUSH2 0x90E JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH2 0x1953 CALLER SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH2 0x19A1 DUP3 DUP3 PUSH2 0x1331 JUMP JUMPDEST ISZERO PUSH2 0x90E JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP1 DUP6 MSTORE SWAP3 MSTORE DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE MLOAD CALLER SWAP3 DUP6 SWAP2 PUSH32 0xF6391F5C32D9C69D2A47EA670B442974B53935D1EDC7FD64EB21E047A839171B SWAP2 SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH2 0x1A0B DUP4 PUSH1 0x2 PUSH2 0x1EA6 JUMP JUMPDEST PUSH2 0x1A16 SWAP1 PUSH1 0x2 PUSH2 0x1EC5 JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1A2E JUMPI PUSH2 0x1A2E PUSH2 0x1EDD JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x1A58 JUMPI PUSH1 0x20 DUP3 ADD DUP2 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x3 PUSH1 0xFC SHL DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x1A73 JUMPI PUSH2 0x1A73 PUSH2 0x1EF3 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0xF PUSH1 0xFB SHL DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x1AA2 JUMPI PUSH2 0x1AA2 PUSH2 0x1EF3 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x0 PUSH2 0x1AC6 DUP5 PUSH1 0x2 PUSH2 0x1EA6 JUMP JUMPDEST PUSH2 0x1AD1 SWAP1 PUSH1 0x1 PUSH2 0x1EC5 JUMP JUMPDEST SWAP1 POP JUMPDEST PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x1B49 JUMPI PUSH16 0x181899199A1A9B1B9C1CB0B131B232B3 PUSH1 0x81 SHL DUP6 PUSH1 0xF AND PUSH1 0x10 DUP2 LT PUSH2 0x1B05 JUMPI PUSH2 0x1B05 PUSH2 0x1EF3 JUMP JUMPDEST BYTE PUSH1 0xF8 SHL DUP3 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x1B1B JUMPI PUSH2 0x1B1B PUSH2 0x1EF3 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x4 SWAP5 SWAP1 SWAP5 SHR SWAP4 PUSH2 0x1B42 DUP2 PUSH2 0x1F09 JUMP JUMPDEST SWAP1 POP PUSH2 0x1AD4 JUMP JUMPDEST POP DUP4 ISZERO PUSH2 0x132A JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x537472696E67733A20686578206C656E67746820696E73756666696369656E74 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6BF JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1BAA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND DUP2 EQ PUSH2 0x132A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1BD4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x1BF0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1C05 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x132A DUP2 PUSH2 0x1BDB JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1C23 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x1C35 DUP2 PUSH2 0x1BDB JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1C53 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH2 0x1C5E DUP2 PUSH2 0x1BDB JUMP JUMPDEST SWAP5 PUSH1 0x20 SWAP4 SWAP1 SWAP4 ADD CALLDATALOAD SWAP4 POP POP POP JUMP JUMPDEST DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0x1BF0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1C8C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x132A DUP2 PUSH2 0x1C6C JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1CA9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH10 0x6973506F6F6C4C697665 PUSH1 0xB0 SHL DUP2 MSTORE PUSH1 0xA ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1CD8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x132A DUP2 PUSH2 0x1C6C JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1D SWAP1 DUP3 ADD MSTORE PUSH32 0x54686520706F6F6C2069732063757272656E746C7920636C6F7365642E000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH15 0x636F6E74726163745F657869737473 PUSH1 0x88 SHL DUP2 MSTORE PUSH1 0x60 SWAP2 SWAP1 SWAP2 SHL PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF NOT AND PUSH1 0xF DUP3 ADD MSTORE PUSH1 0x23 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 DUP2 ADD MSTORE PUSH32 0x54686520636F6E7472616374206164647265737320697320696E76616C69642E PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH2 0x1DAC JUMPI PUSH2 0x1DAC PUSH2 0x1D84 JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1DC3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x132A DUP2 PUSH2 0x1BDB JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x1DE9 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x1DD1 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x1DF8 JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH32 0x416363657373436F6E74726F6C3A206163636F756E7420000000000000000000 DUP2 MSTORE PUSH1 0x0 DUP4 MLOAD PUSH2 0x1E36 DUP2 PUSH1 0x17 DUP6 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x1DCE JUMP JUMPDEST PUSH17 0x1034B99036B4B9B9B4B733903937B6329 PUSH1 0x7D SHL PUSH1 0x17 SWAP2 DUP5 ADD SWAP2 DUP3 ADD MSTORE DUP4 MLOAD PUSH2 0x1E67 DUP2 PUSH1 0x28 DUP5 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x1DCE JUMP JUMPDEST ADD PUSH1 0x28 ADD SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 DUP3 MLOAD DUP1 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x1E92 DUP2 PUSH1 0x40 DUP6 ADD PUSH1 0x20 DUP8 ADD PUSH2 0x1DCE JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP2 SWAP1 SWAP2 ADD PUSH1 0x40 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x0 NOT DIV DUP4 GT DUP3 ISZERO ISZERO AND ISZERO PUSH2 0x1EC0 JUMPI PUSH2 0x1EC0 PUSH2 0x1D84 JUMP JUMPDEST POP MUL SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x1ED8 JUMPI PUSH2 0x1ED8 PUSH2 0x1D84 JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH2 0x1F18 JUMPI PUSH2 0x1F18 PUSH2 0x1D84 JUMP JUMPDEST POP PUSH1 0x0 NOT ADD SWAP1 JUMP INVALID COINBASE LOG0 0x1E 0xC0 LOG1 EXTCODESIZE JUMP EXTCODEHASH LOG4 MSTORE JUMP SWAP15 EXTCODEHASH 0xBB GT PUSH4 0x66D217C2 PUSH23 0x9AA1561822E65A617E3842A26469706673582212205683 0xFB 0xE8 ADDMOD CREATE 0xE4 EXTCODECOPY SHR 0xA9 SWAP5 0xBF PUSH19 0xA03D508F376B2B332730E2895EFB1EE23CFE13 PUSH5 0x736F6C6343 STOP ADDMOD MULMOD STOP CALLER ", + "sourceMap": "482:2471:1:-:0;;;522:125;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1701:1:6;1806:22;;1269:11:0;:55;;-1:-1:-1;;;;;;1269:55:0;-1:-1:-1;;;;;1269:55:0;;;;;;1335:42;-1:-1:-1;1366:10:0;1335;:42::i;:::-;1388:36;726:25;1413:10;1388;:36::i;:::-;1435:21;:19;:21::i;:::-;-1:-1:-1;617:22:1::1;:20;:22::i;:::-;522:125:::0;482:2471;;6257:110:4;6335:25;6346:4;6352:7;6335:10;:25::i;:::-;6257:110;;:::o;2539:269:0:-;2589:11;;2626:50;;-1:-1:-1;;;2626:50:0;;;567:30:12;-1:-1:-1;;;;;;2670:4:0;660:2:12;631:15;627:45;613:12;;;606:67;-1:-1:-1;;;;;2589:11:0;;;;:26;;689:12:12;;2626:50:0;;;-1:-1:-1;;2626:50:0;;;;;;;;;;2616:61;;2626:50;2616:61;;;;-1:-1:-1;;;;;;2589:95:0;;;;;;;;;;880:25:12;2679:4:0;921:18:12;;;914:50;853:18;;2589:95:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2695:11:0;;2735:48;;-1:-1:-1;;;2735:48:0;;;1278:31:12;-1:-1:-1;;;1325:12:12;;;1318:32;-1:-1:-1;;;;;2695:11:0;;;;-1:-1:-1;2695:29:0;;-1:-1:-1;1366:12:12;;2735:48:0;;;;-1:-1:-1;;2735:48:0;;;;;;;;;;2725:59;;2735:48;2725:59;;;;-1:-1:-1;;;;;;2695:105:0;;;;;;;;;;1563:25:12;2794:4:0;1604:18:12;;;1597:60;1536:18;;2695:105:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2539:269::o;1027:271:1:-;1078:11;;1115:50;;-1:-1:-1;;;1115:50:1;;;567:30:12;-1:-1:-1;;;;;;1159:4:1;660:2:12;631:15;627:45;613:12;;;606:67;-1:-1:-1;;;;;1078:11:1;;;;:26;;689:12:12;;1115:50:1;;;-1:-1:-1;;1115:50:1;;;;;;;;;;1105:61;;1115:50;1105:61;;;;-1:-1:-1;;;;;;1078:95:1;;;;;;;;;;880:25:12;1168:4:1;921:18:12;;;914:50;853:18;;1078:95:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1184:11:1;;1224:49;;-1:-1:-1;;;1224:49:1;;;1971:31:12;-1:-1:-1;;;2018:12:12;;;2011:33;-1:-1:-1;;;;;1184:11:1;;;;-1:-1:-1;1184:29:1;;-1:-1:-1;2060:12:12;;1224:49:1;1668:410:12;6861:233:4;2995:4;3018:12;;;;;;;;;;;-1:-1:-1;;;;;3018:29:4;;;;;;;;;;;;6939:149;;6982:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6982:29:4;;;;;;;;;:36;;-1:-1:-1;;6982:36:4;7014:4;6982:36;;;7064:12;719:10:8;;640:96;7064:12:4;-1:-1:-1;;;;;7037:40:4;7055:7;-1:-1:-1;;;;;7037:40:4;7049:4;7037:40;;;;;;;;;;6861:233;;:::o;14:318:12:-;112:6;165:2;153:9;144:7;140:23;136:32;133:52;;;181:1;178;171:12;133:52;207:16;;-1:-1:-1;;;;;252:31:12;;242:42;;232:70;;298:1;295;288:12;232:70;321:5;14:318;-1:-1:-1;;;14:318:12:o;1668:410::-;482:2471:1;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": { + "@DEFAULT_ADMIN_ROLE_1011": { + "entryPoint": null, + "id": 1011, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@POOL_MANAGER_14": { + "entryPoint": null, + "id": 14, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_checkRole_1108": { + "entryPoint": 6319, + "id": 1108, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@_grantRole_1260": { + "entryPoint": 6419, + "id": 1260, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@_msgSender_1495": { + "entryPoint": null, + "id": 1495, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@_revokeRole_1291": { + "entryPoint": 6551, + "id": 1291, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@addPoolManager_107": { + "entryPoint": 2322, + "id": 107, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@getContributionLimit_570": { + "entryPoint": 6277, + "id": 570, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getMinContribution_590": { + "entryPoint": 4345, + "id": 590, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getPoolBaseAddress_470": { + "entryPoint": 4696, + "id": 470, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getPoolMaxSize_510": { + "entryPoint": 1316, + "id": 510, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getPoolState_490": { + "entryPoint": 1896, + "id": 490, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getPoolVaultAddress_835": { + "entryPoint": 5701, + "id": 835, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getRewardsInterest_550": { + "entryPoint": 4647, + "id": 550, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getRewardsInterval_530": { + "entryPoint": 3094, + "id": 530, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getRoleAdmin_1123": { + "entryPoint": null, + "id": 1123, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@grantRole_1143": { + "entryPoint": 2153, + "id": 1143, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@hasRole_1065": { + "entryPoint": 4913, + "id": 1065, + "parameterSlots": 2, + "returnSlots": 1 + }, + "@poolEtherSize_690": { + "entryPoint": 5760, + "id": 690, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@processRewards_810": { + "entryPoint": 5841, + "id": 810, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@removePoolManager_125": { + "entryPoint": 2061, + "id": 125, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@renounceRole_1186": { + "entryPoint": 2196, + "id": 1186, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@revokeRole_1163": { + "entryPoint": 5803, + "id": 1163, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@setContributionLimit_348": { + "entryPoint": 4385, + "id": 348, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setMinContribution_407": { + "entryPoint": 2414, + "id": 407, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setPoolLive_188": { + "entryPoint": 4954, + "id": 188, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setPoolMaxSize_228": { + "entryPoint": 1505, + "id": 228, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setRewardsInterest_308": { + "entryPoint": 5432, + "id": 308, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setRewardsInterval_268": { + "entryPoint": 4087, + "id": 268, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@storeEther_713": { + "entryPoint": 5076, + "id": 713, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@supportsInterface_1046": { + "entryPoint": 1261, + "id": 1046, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@supportsInterface_1731": { + "entryPoint": null, + "id": 1731, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@toHexString_1707": { + "entryPoint": 6652, + "id": 1707, + "parameterSlots": 2, + "returnSlots": 1 + }, + "@withdrawEther_785": { + "entryPoint": 3132, + "id": 785, + "parameterSlots": 2, + "returnSlots": 0 + }, + "abi_decode_tuple_t_address": { + "entryPoint": 7155, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_address_fromMemory": { + "entryPoint": 7601, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_addresst_uint256": { + "entryPoint": 7232, + "id": null, + "parameterSlots": 2, + "returnSlots": 2 + }, + "abi_decode_tuple_t_bool": { + "entryPoint": 7290, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bool_fromMemory": { + "entryPoint": 7366, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bytes32": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bytes32t_address": { + "entryPoint": 7184, + "id": null, + "parameterSlots": 2, + "returnSlots": 2 + }, + "abi_decode_tuple_t_bytes4": { + "entryPoint": 7064, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_uint256": { + "entryPoint": 7106, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_uint256_fromMemory": { + "entryPoint": 7319, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_08d24c6ea30ae17d4a7786174d0af4df8c618dc9aba31a2ac06c137f095be1ab__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 7344, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 7450, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_a42809ef63a8477a0cc19794440877c6cd527dbf68cffc2d1d864049ac3343dc__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_c249c8d0234c73f198edb6911269cabbcb3a87200e5c4a66aae535d12bd6112c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874_t_string_memory_ptr_t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 7678, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_address__to_t_address__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_uint256__to_t_bytes32_t_uint256__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 7795, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_04b6a9f5785cefa0a7b0b76940bf72c578fa53b59a070204e2d81f0894030f98__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_04fc88320d7c9f639317c75102c103ff0044d3075a5c627e24e76e5bbb2733c2__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_52947e86c93a579273e5f21ebf440dc6320ec8caf45ae7affc09187f501ed96f__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 7503, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 7395, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_9bfa599205b132513fe40ce547e7e6def8c4cc455992878354af4c6363b32779__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_ebf73bba305590e4764d5cb53b69bffd6d4d092d1a67551cb346f8cfcdab8619__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_add_t_uint256": { + "entryPoint": 7877, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_mul_t_uint256": { + "entryPoint": 7846, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_sub_t_uint256": { + "entryPoint": 7578, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "copy_memory_to_memory": { + "entryPoint": 7630, + "id": null, + "parameterSlots": 3, + "returnSlots": 0 + }, + "decrement_t_uint256": { + "entryPoint": 7945, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "panic_error_0x11": { + "entryPoint": 7556, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x32": { + "entryPoint": 7923, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x41": { + "entryPoint": 7901, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "validator_revert_address": { + "entryPoint": 7131, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "validator_revert_bool": { + "entryPoint": 7276, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + } + }, + "generatedSources": [ + { + "ast": { + "nodeType": "YulBlock", + "src": "0:12755:12", + "statements": [ + { + "nodeType": "YulBlock", + "src": "6:3:12", + "statements": [] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "83:217:12", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "129:16:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "138:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "141:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "131:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "131:12:12" + }, + "nodeType": "YulExpressionStatement", + "src": "131:12:12" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "104:7:12" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "113:9:12" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "100:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "100:23:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "125:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "96:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "96:32:12" + }, + "nodeType": "YulIf", + "src": "93:52:12" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "154:36:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "180:9:12" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "167:12:12" + }, + "nodeType": "YulFunctionCall", + "src": "167:23:12" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "158:5:12", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "254:16:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "263:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "266:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "256:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "256:12:12" + }, + "nodeType": "YulExpressionStatement", + "src": "256:12:12" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "212:5:12" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "223:5:12" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "234:3:12", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "239:10:12", + "type": "", + "value": "0xffffffff" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "230:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "230:20:12" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "219:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "219:32:12" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "209:2:12" + }, + "nodeType": "YulFunctionCall", + "src": "209:43:12" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "202:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "202:51:12" + }, + "nodeType": "YulIf", + "src": "199:71:12" + }, + { + "nodeType": "YulAssignment", + "src": "279:15:12", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "289:5:12" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "279:6:12" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bytes4", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "49:9:12", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "60:7:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "72:6:12", + "type": "" + } + ], + "src": "14:286:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "400:92:12", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "410:26:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "422:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "433:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "418:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "418:18:12" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "410:4:12" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "452:9:12" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "477:6:12" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "470:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "470:14:12" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "463:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "463:22:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "445:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "445:41:12" + }, + "nodeType": "YulExpressionStatement", + "src": "445:41:12" + } + ] + }, + "name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "369:9:12", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "380:6:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "391:4:12", + "type": "" + } + ], + "src": "305:187:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "598:76:12", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "608:26:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "620:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "631:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "616:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "616:18:12" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "608:4:12" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "650:9:12" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "661:6:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "643:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "643:25:12" + }, + "nodeType": "YulExpressionStatement", + "src": "643:25:12" + } + ] + }, + "name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "567:9:12", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "578:6:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "589:4:12", + "type": "" + } + ], + "src": "497:177:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "749:110:12", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "795:16:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "804:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "807:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "797:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "797:12:12" + }, + "nodeType": "YulExpressionStatement", + "src": "797:12:12" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "770:7:12" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "779:9:12" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "766:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "766:23:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "791:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "762:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "762:32:12" + }, + "nodeType": "YulIf", + "src": "759:52:12" + }, + { + "nodeType": "YulAssignment", + "src": "820:33:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "843:9:12" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "830:12:12" + }, + "nodeType": "YulFunctionCall", + "src": "830:23:12" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "820:6:12" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "715:9:12", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "726:7:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "738:6:12", + "type": "" + } + ], + "src": "679:180:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "934:110:12", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "980:16:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "989:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "992:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "982:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "982:12:12" + }, + "nodeType": "YulExpressionStatement", + "src": "982:12:12" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "955:7:12" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "964:9:12" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "951:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "951:23:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "976:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "947:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "947:32:12" + }, + "nodeType": "YulIf", + "src": "944:52:12" + }, + { + "nodeType": "YulAssignment", + "src": "1005:33:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1028:9:12" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1015:12:12" + }, + "nodeType": "YulFunctionCall", + "src": "1015:23:12" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1005:6:12" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bytes32", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "900:9:12", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "911:7:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "923:6:12", + "type": "" + } + ], + "src": "864:180:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1150:76:12", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "1160:26:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1172:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1183:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1168:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "1168:18:12" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "1160:4:12" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1202:9:12" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1213:6:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1195:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "1195:25:12" + }, + "nodeType": "YulExpressionStatement", + "src": "1195:25:12" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1119:9:12", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1130:6:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "1141:4:12", + "type": "" + } + ], + "src": "1049:177:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1276:86:12", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1340:16:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1349:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1352:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1342:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "1342:12:12" + }, + "nodeType": "YulExpressionStatement", + "src": "1342:12:12" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1299:5:12" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1310:5:12" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1325:3:12", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1330:1:12", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "1321:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "1321:11:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1334:1:12", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1317:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "1317:19:12" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "1306:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "1306:31:12" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "1296:2:12" + }, + "nodeType": "YulFunctionCall", + "src": "1296:42:12" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "1289:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "1289:50:12" + }, + "nodeType": "YulIf", + "src": "1286:70:12" + } + ] + }, + "name": "validator_revert_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "1265:5:12", + "type": "" + } + ], + "src": "1231:131:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1437:177:12", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1483:16:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1492:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1495:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1485:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "1485:12:12" + }, + "nodeType": "YulExpressionStatement", + "src": "1485:12:12" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "1458:7:12" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1467:9:12" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1454:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "1454:23:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1479:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "1450:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "1450:32:12" + }, + "nodeType": "YulIf", + "src": "1447:52:12" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "1508:36:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1534:9:12" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1521:12:12" + }, + "nodeType": "YulFunctionCall", + "src": "1521:23:12" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "1512:5:12", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1578:5:12" + } + ], + "functionName": { + "name": "validator_revert_address", + "nodeType": "YulIdentifier", + "src": "1553:24:12" + }, + "nodeType": "YulFunctionCall", + "src": "1553:31:12" + }, + "nodeType": "YulExpressionStatement", + "src": "1553:31:12" + }, + { + "nodeType": "YulAssignment", + "src": "1593:15:12", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1603:5:12" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1593:6:12" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1403:9:12", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "1414:7:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1426:6:12", + "type": "" + } + ], + "src": "1367:247:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1706:228:12", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1752:16:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1761:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1764:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1754:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "1754:12:12" + }, + "nodeType": "YulExpressionStatement", + "src": "1754:12:12" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "1727:7:12" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1736:9:12" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1723:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "1723:23:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1748:2:12", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "1719:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "1719:32:12" + }, + "nodeType": "YulIf", + "src": "1716:52:12" + }, + { + "nodeType": "YulAssignment", + "src": "1777:33:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1800:9:12" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1787:12:12" + }, + "nodeType": "YulFunctionCall", + "src": "1787:23:12" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1777:6:12" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "1819:45:12", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1849:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1860:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1845:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "1845:18:12" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1832:12:12" + }, + "nodeType": "YulFunctionCall", + "src": "1832:32:12" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "1823:5:12", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1898:5:12" + } + ], + "functionName": { + "name": "validator_revert_address", + "nodeType": "YulIdentifier", + "src": "1873:24:12" + }, + "nodeType": "YulFunctionCall", + "src": "1873:31:12" + }, + "nodeType": "YulExpressionStatement", + "src": "1873:31:12" + }, + { + "nodeType": "YulAssignment", + "src": "1913:15:12", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1923:5:12" + }, + "variableNames": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "1913:6:12" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bytes32t_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1664:9:12", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "1675:7:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1687:6:12", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "1695:6:12", + "type": "" + } + ], + "src": "1619:315:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2026:228:12", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "2072:16:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2081:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2084:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "2074:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "2074:12:12" + }, + "nodeType": "YulExpressionStatement", + "src": "2074:12:12" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "2047:7:12" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2056:9:12" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "2043:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "2043:23:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2068:2:12", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "2039:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "2039:32:12" + }, + "nodeType": "YulIf", + "src": "2036:52:12" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "2097:36:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2123:9:12" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "2110:12:12" + }, + "nodeType": "YulFunctionCall", + "src": "2110:23:12" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "2101:5:12", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "2167:5:12" + } + ], + "functionName": { + "name": "validator_revert_address", + "nodeType": "YulIdentifier", + "src": "2142:24:12" + }, + "nodeType": "YulFunctionCall", + "src": "2142:31:12" + }, + "nodeType": "YulExpressionStatement", + "src": "2142:31:12" + }, + { + "nodeType": "YulAssignment", + "src": "2182:15:12", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "2192:5:12" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "2182:6:12" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "2206:42:12", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2233:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2244:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2229:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "2229:18:12" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "2216:12:12" + }, + "nodeType": "YulFunctionCall", + "src": "2216:32:12" + }, + "variableNames": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "2206:6:12" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_addresst_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1984:9:12", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "1995:7:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "2007:6:12", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "2015:6:12", + "type": "" + } + ], + "src": "1939:315:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2360:102:12", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "2370:26:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2382:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2393:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2378:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "2378:18:12" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "2370:4:12" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2412:9:12" + }, + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "2427:6:12" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2443:3:12", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2448:1:12", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "2439:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "2439:11:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2452:1:12", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "2435:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "2435:19:12" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "2423:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "2423:32:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2405:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "2405:51:12" + }, + "nodeType": "YulExpressionStatement", + "src": "2405:51:12" + } + ] + }, + "name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "2329:9:12", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "2340:6:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "2351:4:12", + "type": "" + } + ], + "src": "2259:203:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2509:76:12", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "2563:16:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2572:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2575:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "2565:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "2565:12:12" + }, + "nodeType": "YulExpressionStatement", + "src": "2565:12:12" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "2532:5:12" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "2553:5:12" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "2546:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "2546:13:12" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "2539:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "2539:21:12" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "2529:2:12" + }, + "nodeType": "YulFunctionCall", + "src": "2529:32:12" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "2522:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "2522:40:12" + }, + "nodeType": "YulIf", + "src": "2519:60:12" + } + ] + }, + "name": "validator_revert_bool", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "2498:5:12", + "type": "" + } + ], + "src": "2467:118:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2657:174:12", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "2703:16:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2712:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2715:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "2705:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "2705:12:12" + }, + "nodeType": "YulExpressionStatement", + "src": "2705:12:12" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "2678:7:12" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2687:9:12" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "2674:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "2674:23:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2699:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "2670:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "2670:32:12" + }, + "nodeType": "YulIf", + "src": "2667:52:12" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "2728:36:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2754:9:12" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "2741:12:12" + }, + "nodeType": "YulFunctionCall", + "src": "2741:23:12" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "2732:5:12", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "2795:5:12" + } + ], + "functionName": { + "name": "validator_revert_bool", + "nodeType": "YulIdentifier", + "src": "2773:21:12" + }, + "nodeType": "YulFunctionCall", + "src": "2773:28:12" + }, + "nodeType": "YulExpressionStatement", + "src": "2773:28:12" + }, + { + "nodeType": "YulAssignment", + "src": "2810:15:12", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "2820:5:12" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "2810:6:12" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bool", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "2623:9:12", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "2634:7:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "2646:6:12", + "type": "" + } + ], + "src": "2590:241:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3028:70:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "3045:3:12" + }, + { + "hexValue": "706f6f6c4d617853697a65", + "kind": "string", + "nodeType": "YulLiteral", + "src": "3050:13:12", + "type": "", + "value": "poolMaxSize" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3038:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "3038:26:12" + }, + "nodeType": "YulExpressionStatement", + "src": "3038:26:12" + }, + { + "nodeType": "YulAssignment", + "src": "3073:19:12", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "3084:3:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3089:2:12", + "type": "", + "value": "11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3080:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "3080:12:12" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "3073:3:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "3012:3:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "3020:3:12", + "type": "" + } + ], + "src": "2836:262:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3184:103:12", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "3230:16:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3239:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3242:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "3232:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "3232:12:12" + }, + "nodeType": "YulExpressionStatement", + "src": "3232:12:12" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "3205:7:12" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3214:9:12" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "3201:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "3201:23:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3226:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "3197:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "3197:32:12" + }, + "nodeType": "YulIf", + "src": "3194:52:12" + }, + { + "nodeType": "YulAssignment", + "src": "3255:26:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3271:9:12" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "3265:5:12" + }, + "nodeType": "YulFunctionCall", + "src": "3265:16:12" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "3255:6:12" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_uint256_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "3150:9:12", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "3161:7:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "3173:6:12", + "type": "" + } + ], + "src": "3103:184:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3484:69:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "3501:3:12" + }, + { + "hexValue": "6973506f6f6c4c697665", + "kind": "string", + "nodeType": "YulLiteral", + "src": "3506:12:12", + "type": "", + "value": "isPoolLive" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3494:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "3494:25:12" + }, + "nodeType": "YulExpressionStatement", + "src": "3494:25:12" + }, + { + "nodeType": "YulAssignment", + "src": "3528:19:12", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "3539:3:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3544:2:12", + "type": "", + "value": "10" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3535:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "3535:12:12" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "3528:3:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "3468:3:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "3476:3:12", + "type": "" + } + ], + "src": "3292:261:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3636:167:12", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "3682:16:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3691:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3694:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "3684:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "3684:12:12" + }, + "nodeType": "YulExpressionStatement", + "src": "3684:12:12" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "3657:7:12" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3666:9:12" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "3653:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "3653:23:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3678:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "3649:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "3649:32:12" + }, + "nodeType": "YulIf", + "src": "3646:52:12" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "3707:29:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3726:9:12" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "3720:5:12" + }, + "nodeType": "YulFunctionCall", + "src": "3720:16:12" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "3711:5:12", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "3767:5:12" + } + ], + "functionName": { + "name": "validator_revert_bool", + "nodeType": "YulIdentifier", + "src": "3745:21:12" + }, + "nodeType": "YulFunctionCall", + "src": "3745:28:12" + }, + "nodeType": "YulExpressionStatement", + "src": "3745:28:12" + }, + { + "nodeType": "YulAssignment", + "src": "3782:15:12", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "3792:5:12" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "3782:6:12" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bool_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "3602:9:12", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "3613:7:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "3625:6:12", + "type": "" + } + ], + "src": "3558:245:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3982:179:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3999:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4010:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3992:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "3992:21:12" + }, + "nodeType": "YulExpressionStatement", + "src": "3992:21:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4033:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4044:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4029:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "4029:18:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4049:2:12", + "type": "", + "value": "29" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4022:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "4022:30:12" + }, + "nodeType": "YulExpressionStatement", + "src": "4022:30:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4072:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4083:2:12", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4068:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "4068:18:12" + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4088:31:12", + "type": "", + "value": "The pool is currently closed." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4061:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "4061:59:12" + }, + "nodeType": "YulExpressionStatement", + "src": "4061:59:12" + }, + { + "nodeType": "YulAssignment", + "src": "4129:26:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4141:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4152:2:12", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4137:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "4137:18:12" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "4129:4:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "3959:9:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "3973:4:12", + "type": "" + } + ], + "src": "3808:353:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4295:119:12", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "4305:26:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4317:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4328:2:12", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4313:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "4313:18:12" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "4305:4:12" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4347:9:12" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "4358:6:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4340:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "4340:25:12" + }, + "nodeType": "YulExpressionStatement", + "src": "4340:25:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4385:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4396:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4381:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "4381:18:12" + }, + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "4401:6:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4374:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "4374:34:12" + }, + "nodeType": "YulExpressionStatement", + "src": "4374:34:12" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_uint256__to_t_bytes32_t_uint256__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "4256:9:12", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "4267:6:12", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "4275:6:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "4286:4:12", + "type": "" + } + ], + "src": "4166:248:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4593:237:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4610:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4621:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4603:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "4603:21:12" + }, + "nodeType": "YulExpressionStatement", + "src": "4603:21:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4644:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4655:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4640:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "4640:18:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4660:2:12", + "type": "", + "value": "47" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4633:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "4633:30:12" + }, + "nodeType": "YulExpressionStatement", + "src": "4633:30:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4683:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4694:2:12", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4679:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "4679:18:12" + }, + { + "hexValue": "416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e6365", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4699:34:12", + "type": "", + "value": "AccessControl: can only renounce" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4672:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "4672:62:12" + }, + "nodeType": "YulExpressionStatement", + "src": "4672:62:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4754:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4765:2:12", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4750:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "4750:18:12" + }, + { + "hexValue": "20726f6c657320666f722073656c66", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4770:17:12", + "type": "", + "value": " roles for self" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4743:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "4743:45:12" + }, + "nodeType": "YulExpressionStatement", + "src": "4743:45:12" + }, + { + "nodeType": "YulAssignment", + "src": "4797:27:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4809:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4820:3:12", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4805:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "4805:19:12" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "4797:4:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "4570:9:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "4584:4:12", + "type": "" + } + ], + "src": "4419:411:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5027:76:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5044:3:12" + }, + { + "hexValue": "636f6e747269627574696f6e4c696d6974", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5049:19:12", + "type": "", + "value": "contributionLimit" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5037:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "5037:32:12" + }, + "nodeType": "YulExpressionStatement", + "src": "5037:32:12" + }, + { + "nodeType": "YulAssignment", + "src": "5078:19:12", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5089:3:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5094:2:12", + "type": "", + "value": "17" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5085:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "5085:12:12" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "5078:3:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "5011:3:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "5019:3:12", + "type": "" + } + ], + "src": "4835:268:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5282:252:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5299:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5310:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5292:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "5292:21:12" + }, + "nodeType": "YulExpressionStatement", + "src": "5292:21:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5333:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5344:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5329:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "5329:18:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5349:2:12", + "type": "", + "value": "62" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5322:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "5322:30:12" + }, + "nodeType": "YulExpressionStatement", + "src": "5322:30:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5372:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5383:2:12", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5368:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "5368:18:12" + }, + { + "hexValue": "546865206d696e2e20636f6e74722e206c696d6974206e6565647320746f2062", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5388:34:12", + "type": "", + "value": "The min. contr. limit needs to b" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5361:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "5361:62:12" + }, + "nodeType": "YulExpressionStatement", + "src": "5361:62:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5443:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5454:2:12", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5439:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "5439:18:12" + }, + { + "hexValue": "6520736d616c6c6572207468616e20746865206d61782e206c696d69742e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5459:32:12", + "type": "", + "value": "e smaller than the max. limit." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5432:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "5432:60:12" + }, + "nodeType": "YulExpressionStatement", + "src": "5432:60:12" + }, + { + "nodeType": "YulAssignment", + "src": "5501:27:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5513:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5524:3:12", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5509:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "5509:19:12" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "5501:4:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_9bfa599205b132513fe40ce547e7e6def8c4cc455992878354af4c6363b32779__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "5259:9:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "5273:4:12", + "type": "" + } + ], + "src": "5108:426:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5731:74:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5748:3:12" + }, + { + "hexValue": "6d696e436f6e747269627574696f6e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5753:17:12", + "type": "", + "value": "minContribution" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5741:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "5741:30:12" + }, + "nodeType": "YulExpressionStatement", + "src": "5741:30:12" + }, + { + "nodeType": "YulAssignment", + "src": "5780:19:12", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5791:3:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5796:2:12", + "type": "", + "value": "15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5787:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "5787:12:12" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "5780:3:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "5715:3:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "5723:3:12", + "type": "" + } + ], + "src": "5539:266:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6002:72:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "6019:3:12" + }, + { + "hexValue": "64617973546f52657761726473", + "kind": "string", + "nodeType": "YulLiteral", + "src": "6024:15:12", + "type": "", + "value": "daysToRewards" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6012:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "6012:28:12" + }, + "nodeType": "YulExpressionStatement", + "src": "6012:28:12" + }, + { + "nodeType": "YulAssignment", + "src": "6049:19:12", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "6060:3:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6065:2:12", + "type": "", + "value": "13" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6056:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "6056:12:12" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "6049:3:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "5986:3:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "5994:3:12", + "type": "" + } + ], + "src": "5810:264:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6299:158:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "6316:3:12" + }, + { + "hexValue": "636f6e74726163745f657869737473", + "kind": "string", + "nodeType": "YulLiteral", + "src": "6321:17:12", + "type": "", + "value": "contract_exists" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6309:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "6309:30:12" + }, + "nodeType": "YulExpressionStatement", + "src": "6309:30:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "6359:3:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6364:2:12", + "type": "", + "value": "15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6355:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "6355:12:12" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6377:2:12", + "type": "", + "value": "96" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "6381:6:12" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "6373:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "6373:15:12" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6394:26:12", + "type": "", + "value": "0xffffffffffffffffffffffff" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "6390:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "6390:31:12" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "6369:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "6369:53:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6348:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "6348:75:12" + }, + "nodeType": "YulExpressionStatement", + "src": "6348:75:12" + }, + { + "nodeType": "YulAssignment", + "src": "6432:19:12", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "6443:3:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6448:2:12", + "type": "", + "value": "35" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6439:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "6439:12:12" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "6432:3:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "6275:3:12", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "6280:6:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "6291:3:12", + "type": "" + } + ], + "src": "6079:378:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6636:182:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6653:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6664:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6646:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "6646:21:12" + }, + "nodeType": "YulExpressionStatement", + "src": "6646:21:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6687:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6698:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6683:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "6683:18:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6703:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6676:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "6676:30:12" + }, + "nodeType": "YulExpressionStatement", + "src": "6676:30:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6726:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6737:2:12", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6722:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "6722:18:12" + }, + { + "hexValue": "54686520636f6e7472616374206164647265737320697320696e76616c69642e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "6742:34:12", + "type": "", + "value": "The contract address is invalid." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6715:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "6715:62:12" + }, + "nodeType": "YulExpressionStatement", + "src": "6715:62:12" + }, + { + "nodeType": "YulAssignment", + "src": "6786:26:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6798:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6809:2:12", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6794:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "6794:18:12" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "6786:4:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_52947e86c93a579273e5f21ebf440dc6320ec8caf45ae7affc09187f501ed96f__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "6613:9:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "6627:4:12", + "type": "" + } + ], + "src": "6462:356:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6997:181:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7014:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7025:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7007:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "7007:21:12" + }, + "nodeType": "YulExpressionStatement", + "src": "7007:21:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7048:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7059:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7044:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "7044:18:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7064:2:12", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7037:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "7037:30:12" + }, + "nodeType": "YulExpressionStatement", + "src": "7037:30:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7087:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7098:2:12", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7083:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "7083:18:12" + }, + { + "hexValue": "5265656e7472616e637947756172643a207265656e7472616e742063616c6c", + "kind": "string", + "nodeType": "YulLiteral", + "src": "7103:33:12", + "type": "", + "value": "ReentrancyGuard: reentrant call" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7076:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "7076:61:12" + }, + "nodeType": "YulExpressionStatement", + "src": "7076:61:12" + }, + { + "nodeType": "YulAssignment", + "src": "7146:26:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7158:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7169:2:12", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7154:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "7154:18:12" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "7146:4:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_ebf73bba305590e4764d5cb53b69bffd6d4d092d1a67551cb346f8cfcdab8619__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "6974:9:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "6988:4:12", + "type": "" + } + ], + "src": "6823:355:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7375:77:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7392:3:12" + }, + { + "hexValue": "746f74616c5f65746865725f7374616b6564", + "kind": "string", + "nodeType": "YulLiteral", + "src": "7397:20:12", + "type": "", + "value": "total_ether_staked" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7385:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "7385:33:12" + }, + "nodeType": "YulExpressionStatement", + "src": "7385:33:12" + }, + { + "nodeType": "YulAssignment", + "src": "7427:19:12", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7438:3:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7443:2:12", + "type": "", + "value": "18" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7434:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "7434:12:12" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "7427:3:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_08d24c6ea30ae17d4a7786174d0af4df8c618dc9aba31a2ac06c137f095be1ab__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "7359:3:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "7367:3:12", + "type": "" + } + ], + "src": "7183:269:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7649:76:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7666:3:12" + }, + { + "hexValue": "746f74616c537570706c795f4574686572", + "kind": "string", + "nodeType": "YulLiteral", + "src": "7671:19:12", + "type": "", + "value": "totalSupply_Ether" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7659:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "7659:32:12" + }, + "nodeType": "YulExpressionStatement", + "src": "7659:32:12" + }, + { + "nodeType": "YulAssignment", + "src": "7700:19:12", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7711:3:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7716:2:12", + "type": "", + "value": "17" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7707:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "7707:12:12" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "7700:3:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_c249c8d0234c73f198edb6911269cabbcb3a87200e5c4a66aae535d12bd6112c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "7633:3:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "7641:3:12", + "type": "" + } + ], + "src": "7457:268:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7762:95:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7779:1:12", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7786:3:12", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7791:10:12", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "7782:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "7782:20:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7772:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "7772:31:12" + }, + "nodeType": "YulExpressionStatement", + "src": "7772:31:12" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7819:1:12", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7822:4:12", + "type": "", + "value": "0x11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7812:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "7812:15:12" + }, + "nodeType": "YulExpressionStatement", + "src": "7812:15:12" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7843:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7846:4:12", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "7836:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "7836:15:12" + }, + "nodeType": "YulExpressionStatement", + "src": "7836:15:12" + } + ] + }, + "name": "panic_error_0x11", + "nodeType": "YulFunctionDefinition", + "src": "7730:127:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7911:76:12", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "7933:22:12", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "7935:16:12" + }, + "nodeType": "YulFunctionCall", + "src": "7935:18:12" + }, + "nodeType": "YulExpressionStatement", + "src": "7935:18:12" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "7927:1:12" + }, + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "7930:1:12" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "7924:2:12" + }, + "nodeType": "YulFunctionCall", + "src": "7924:8:12" + }, + "nodeType": "YulIf", + "src": "7921:34:12" + }, + { + "nodeType": "YulAssignment", + "src": "7964:17:12", + "value": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "7976:1:12" + }, + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "7979:1:12" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "7972:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "7972:9:12" + }, + "variableNames": [ + { + "name": "diff", + "nodeType": "YulIdentifier", + "src": "7964:4:12" + } + ] + } + ] + }, + "name": "checked_sub_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "x", + "nodeType": "YulTypedName", + "src": "7893:1:12", + "type": "" + }, + { + "name": "y", + "nodeType": "YulTypedName", + "src": "7896:1:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "diff", + "nodeType": "YulTypedName", + "src": "7902:4:12", + "type": "" + } + ], + "src": "7862:125:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8166:235:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8183:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8194:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8176:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "8176:21:12" + }, + "nodeType": "YulExpressionStatement", + "src": "8176:21:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8217:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8228:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8213:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "8213:18:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8233:2:12", + "type": "", + "value": "45" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8206:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "8206:30:12" + }, + "nodeType": "YulExpressionStatement", + "src": "8206:30:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8256:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8267:2:12", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8252:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "8252:18:12" + }, + { + "hexValue": "506f6f6c206c61636b696e67206f6620657468657220746f20706572666f726d", + "kind": "string", + "nodeType": "YulLiteral", + "src": "8272:34:12", + "type": "", + "value": "Pool lacking of ether to perform" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8245:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "8245:62:12" + }, + "nodeType": "YulExpressionStatement", + "src": "8245:62:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8327:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8338:2:12", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8323:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "8323:18:12" + }, + { + "hexValue": "207468697320616374696f6e2e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "8343:15:12", + "type": "", + "value": " this action." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8316:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "8316:43:12" + }, + "nodeType": "YulExpressionStatement", + "src": "8316:43:12" + }, + { + "nodeType": "YulAssignment", + "src": "8368:27:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8380:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8391:3:12", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8376:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "8376:19:12" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "8368:4:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_04b6a9f5785cefa0a7b0b76940bf72c578fa53b59a070204e2d81f0894030f98__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "8143:9:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "8157:4:12", + "type": "" + } + ], + "src": "7992:409:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8597:14:12", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "8599:10:12", + "value": { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "8606:3:12" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "8599:3:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "8581:3:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "8589:3:12", + "type": "" + } + ], + "src": "8406:205:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8808:83:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "8825:3:12" + }, + { + "hexValue": "72657761726473496e746572657374506572506572696f64", + "kind": "string", + "nodeType": "YulLiteral", + "src": "8830:26:12", + "type": "", + "value": "rewardsInterestPerPeriod" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8818:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "8818:39:12" + }, + "nodeType": "YulExpressionStatement", + "src": "8818:39:12" + }, + { + "nodeType": "YulAssignment", + "src": "8866:19:12", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "8877:3:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8882:2:12", + "type": "", + "value": "24" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8873:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "8873:12:12" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "8866:3:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "8792:3:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "8800:3:12", + "type": "" + } + ], + "src": "8616:275:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "9189:116:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "9206:3:12" + }, + { + "hexValue": "636f6e74726163745f61646472657373", + "kind": "string", + "nodeType": "YulLiteral", + "src": "9211:18:12", + "type": "", + "value": "contract_address" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9199:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "9199:31:12" + }, + "nodeType": "YulExpressionStatement", + "src": "9199:31:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "9250:3:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9255:2:12", + "type": "", + "value": "16" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9246:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "9246:12:12" + }, + { + "hexValue": "506f6f6c42617365", + "kind": "string", + "nodeType": "YulLiteral", + "src": "9260:10:12", + "type": "", + "value": "PoolBase" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9239:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "9239:32:12" + }, + "nodeType": "YulExpressionStatement", + "src": "9239:32:12" + }, + { + "nodeType": "YulAssignment", + "src": "9280:19:12", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "9291:3:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9296:2:12", + "type": "", + "value": "24" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9287:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "9287:12:12" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "9280:3:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "9173:3:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "9181:3:12", + "type": "" + } + ], + "src": "8896:409:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "9391:170:12", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "9437:16:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9446:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9449:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "9439:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "9439:12:12" + }, + "nodeType": "YulExpressionStatement", + "src": "9439:12:12" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "9412:7:12" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9421:9:12" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "9408:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "9408:23:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9433:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "9404:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "9404:32:12" + }, + "nodeType": "YulIf", + "src": "9401:52:12" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "9462:29:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9481:9:12" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "9475:5:12" + }, + "nodeType": "YulFunctionCall", + "src": "9475:16:12" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "9466:5:12", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "9525:5:12" + } + ], + "functionName": { + "name": "validator_revert_address", + "nodeType": "YulIdentifier", + "src": "9500:24:12" + }, + "nodeType": "YulFunctionCall", + "src": "9500:31:12" + }, + "nodeType": "YulExpressionStatement", + "src": "9500:31:12" + }, + { + "nodeType": "YulAssignment", + "src": "9540:15:12", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "9550:5:12" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "9540:6:12" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_address_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "9357:9:12", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "9368:7:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "9380:6:12", + "type": "" + } + ], + "src": "9310:251:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "9689:135:12", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "9699:26:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9711:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9722:2:12", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9707:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "9707:18:12" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "9699:4:12" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9741:9:12" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "9752:6:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9734:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "9734:25:12" + }, + "nodeType": "YulExpressionStatement", + "src": "9734:25:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9779:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9790:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9775:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "9775:18:12" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "9809:6:12" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "9802:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "9802:14:12" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "9795:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "9795:22:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9768:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "9768:50:12" + }, + "nodeType": "YulExpressionStatement", + "src": "9768:50:12" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "9650:9:12", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "9661:6:12", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "9669:6:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "9680:4:12", + "type": "" + } + ], + "src": "9566:258:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "10122:117:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "10139:3:12" + }, + { + "hexValue": "636f6e74726163745f61646472657373", + "kind": "string", + "nodeType": "YulLiteral", + "src": "10144:18:12", + "type": "", + "value": "contract_address" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "10132:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "10132:31:12" + }, + "nodeType": "YulExpressionStatement", + "src": "10132:31:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "10183:3:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10188:2:12", + "type": "", + "value": "16" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10179:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "10179:12:12" + }, + { + "hexValue": "506f6f6c5661756c74", + "kind": "string", + "nodeType": "YulLiteral", + "src": "10193:11:12", + "type": "", + "value": "PoolVault" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "10172:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "10172:33:12" + }, + "nodeType": "YulExpressionStatement", + "src": "10172:33:12" + }, + { + "nodeType": "YulAssignment", + "src": "10214:19:12", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "10225:3:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10230:2:12", + "type": "", + "value": "25" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10221:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "10221:12:12" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "10214:3:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_a42809ef63a8477a0cc19794440877c6cd527dbf68cffc2d1d864049ac3343dc__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "10106:3:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "10114:3:12", + "type": "" + } + ], + "src": "9829:410:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "10297:205:12", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "10307:10:12", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10316:1:12", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "i", + "nodeType": "YulTypedName", + "src": "10311:1:12", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "10376:63:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nodeType": "YulIdentifier", + "src": "10401:3:12" + }, + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "10406:1:12" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10397:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "10397:11:12" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "src", + "nodeType": "YulIdentifier", + "src": "10420:3:12" + }, + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "10425:1:12" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10416:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "10416:11:12" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "10410:5:12" + }, + "nodeType": "YulFunctionCall", + "src": "10410:18:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "10390:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "10390:39:12" + }, + "nodeType": "YulExpressionStatement", + "src": "10390:39:12" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "10337:1:12" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "10340:6:12" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "10334:2:12" + }, + "nodeType": "YulFunctionCall", + "src": "10334:13:12" + }, + "nodeType": "YulForLoop", + "post": { + "nodeType": "YulBlock", + "src": "10348:19:12", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "10350:15:12", + "value": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "10359:1:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10362:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10355:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "10355:10:12" + }, + "variableNames": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "10350:1:12" + } + ] + } + ] + }, + "pre": { + "nodeType": "YulBlock", + "src": "10330:3:12", + "statements": [] + }, + "src": "10326:113:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "10465:31:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nodeType": "YulIdentifier", + "src": "10478:3:12" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "10483:6:12" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10474:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "10474:16:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10492:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "10467:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "10467:27:12" + }, + "nodeType": "YulExpressionStatement", + "src": "10467:27:12" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "10454:1:12" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "10457:6:12" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "10451:2:12" + }, + "nodeType": "YulFunctionCall", + "src": "10451:13:12" + }, + "nodeType": "YulIf", + "src": "10448:48:12" + } + ] + }, + "name": "copy_memory_to_memory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "src", + "nodeType": "YulTypedName", + "src": "10275:3:12", + "type": "" + }, + { + "name": "dst", + "nodeType": "YulTypedName", + "src": "10280:3:12", + "type": "" + }, + { + "name": "length", + "nodeType": "YulTypedName", + "src": "10285:6:12", + "type": "" + } + ], + "src": "10244:258:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "10896:397:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "10913:3:12" + }, + { + "hexValue": "416363657373436f6e74726f6c3a206163636f756e7420", + "kind": "string", + "nodeType": "YulLiteral", + "src": "10918:25:12", + "type": "", + "value": "AccessControl: account " + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "10906:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "10906:38:12" + }, + "nodeType": "YulExpressionStatement", + "src": "10906:38:12" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "10953:27:12", + "value": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "10973:6:12" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "10967:5:12" + }, + "nodeType": "YulFunctionCall", + "src": "10967:13:12" + }, + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "10957:6:12", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "11015:6:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11023:4:12", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11011:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "11011:17:12" + }, + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "11034:3:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11039:2:12", + "type": "", + "value": "23" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11030:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "11030:12:12" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "11044:6:12" + } + ], + "functionName": { + "name": "copy_memory_to_memory", + "nodeType": "YulIdentifier", + "src": "10989:21:12" + }, + "nodeType": "YulFunctionCall", + "src": "10989:62:12" + }, + "nodeType": "YulExpressionStatement", + "src": "10989:62:12" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "11060:26:12", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "11074:3:12" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "11079:6:12" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11070:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "11070:16:12" + }, + "variables": [ + { + "name": "_1", + "nodeType": "YulTypedName", + "src": "11064:2:12", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "11106:2:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11110:2:12", + "type": "", + "value": "23" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11102:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "11102:11:12" + }, + { + "hexValue": "206973206d697373696e6720726f6c6520", + "kind": "string", + "nodeType": "YulLiteral", + "src": "11115:19:12", + "type": "", + "value": " is missing role " + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "11095:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "11095:40:12" + }, + "nodeType": "YulExpressionStatement", + "src": "11095:40:12" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "11144:29:12", + "value": { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "11166:6:12" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "11160:5:12" + }, + "nodeType": "YulFunctionCall", + "src": "11160:13:12" + }, + "variables": [ + { + "name": "length_1", + "nodeType": "YulTypedName", + "src": "11148:8:12", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "11208:6:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11216:4:12", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11204:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "11204:17:12" + }, + { + "arguments": [ + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "11227:2:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11231:2:12", + "type": "", + "value": "40" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11223:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "11223:11:12" + }, + { + "name": "length_1", + "nodeType": "YulIdentifier", + "src": "11236:8:12" + } + ], + "functionName": { + "name": "copy_memory_to_memory", + "nodeType": "YulIdentifier", + "src": "11182:21:12" + }, + "nodeType": "YulFunctionCall", + "src": "11182:63:12" + }, + "nodeType": "YulExpressionStatement", + "src": "11182:63:12" + }, + { + "nodeType": "YulAssignment", + "src": "11254:33:12", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "11269:2:12" + }, + { + "name": "length_1", + "nodeType": "YulIdentifier", + "src": "11273:8:12" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11265:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "11265:17:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11284:2:12", + "type": "", + "value": "40" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11261:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "11261:26:12" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "11254:3:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874_t_string_memory_ptr_t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "10864:3:12", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "10869:6:12", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "10877:6:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "10888:3:12", + "type": "" + } + ], + "src": "10507:786:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "11419:262:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "11436:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11447:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "11429:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "11429:21:12" + }, + "nodeType": "YulExpressionStatement", + "src": "11429:21:12" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "11459:27:12", + "value": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "11479:6:12" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "11473:5:12" + }, + "nodeType": "YulFunctionCall", + "src": "11473:13:12" + }, + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "11463:6:12", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "11506:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11517:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11502:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "11502:18:12" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "11522:6:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "11495:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "11495:34:12" + }, + "nodeType": "YulExpressionStatement", + "src": "11495:34:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "11564:6:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11572:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11560:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "11560:15:12" + }, + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "11581:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11592:2:12", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11577:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "11577:18:12" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "11597:6:12" + } + ], + "functionName": { + "name": "copy_memory_to_memory", + "nodeType": "YulIdentifier", + "src": "11538:21:12" + }, + "nodeType": "YulFunctionCall", + "src": "11538:66:12" + }, + "nodeType": "YulExpressionStatement", + "src": "11538:66:12" + }, + { + "nodeType": "YulAssignment", + "src": "11613:62:12", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "11629:9:12" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "11648:6:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11656:2:12", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11644:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "11644:15:12" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11665:2:12", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "11661:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "11661:7:12" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "11640:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "11640:29:12" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11625:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "11625:45:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11672:2:12", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11621:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "11621:54:12" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "11613:4:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "11388:9:12", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "11399:6:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "11410:4:12", + "type": "" + } + ], + "src": "11298:383:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "11738:116:12", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "11797:22:12", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "11799:16:12" + }, + "nodeType": "YulFunctionCall", + "src": "11799:18:12" + }, + "nodeType": "YulExpressionStatement", + "src": "11799:18:12" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "11769:1:12" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "11762:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "11762:9:12" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "11755:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "11755:17:12" + }, + { + "arguments": [ + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "11777:1:12" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11788:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "11784:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "11784:6:12" + }, + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "11792:1:12" + } + ], + "functionName": { + "name": "div", + "nodeType": "YulIdentifier", + "src": "11780:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "11780:14:12" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "11774:2:12" + }, + "nodeType": "YulFunctionCall", + "src": "11774:21:12" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "11751:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "11751:45:12" + }, + "nodeType": "YulIf", + "src": "11748:71:12" + }, + { + "nodeType": "YulAssignment", + "src": "11828:20:12", + "value": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "11843:1:12" + }, + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "11846:1:12" + } + ], + "functionName": { + "name": "mul", + "nodeType": "YulIdentifier", + "src": "11839:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "11839:9:12" + }, + "variableNames": [ + { + "name": "product", + "nodeType": "YulIdentifier", + "src": "11828:7:12" + } + ] + } + ] + }, + "name": "checked_mul_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "x", + "nodeType": "YulTypedName", + "src": "11717:1:12", + "type": "" + }, + { + "name": "y", + "nodeType": "YulTypedName", + "src": "11720:1:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "product", + "nodeType": "YulTypedName", + "src": "11726:7:12", + "type": "" + } + ], + "src": "11686:168:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "11907:80:12", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "11934:22:12", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "11936:16:12" + }, + "nodeType": "YulFunctionCall", + "src": "11936:18:12" + }, + "nodeType": "YulExpressionStatement", + "src": "11936:18:12" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "11923:1:12" + }, + { + "arguments": [ + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "11930:1:12" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "11926:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "11926:6:12" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "11920:2:12" + }, + "nodeType": "YulFunctionCall", + "src": "11920:13:12" + }, + "nodeType": "YulIf", + "src": "11917:39:12" + }, + { + "nodeType": "YulAssignment", + "src": "11965:16:12", + "value": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "11976:1:12" + }, + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "11979:1:12" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11972:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "11972:9:12" + }, + "variableNames": [ + { + "name": "sum", + "nodeType": "YulIdentifier", + "src": "11965:3:12" + } + ] + } + ] + }, + "name": "checked_add_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "x", + "nodeType": "YulTypedName", + "src": "11890:1:12", + "type": "" + }, + { + "name": "y", + "nodeType": "YulTypedName", + "src": "11893:1:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "sum", + "nodeType": "YulTypedName", + "src": "11899:3:12", + "type": "" + } + ], + "src": "11859:128:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "12024:95:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12041:1:12", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12048:3:12", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12053:10:12", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "12044:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "12044:20:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "12034:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "12034:31:12" + }, + "nodeType": "YulExpressionStatement", + "src": "12034:31:12" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12081:1:12", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12084:4:12", + "type": "", + "value": "0x41" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "12074:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "12074:15:12" + }, + "nodeType": "YulExpressionStatement", + "src": "12074:15:12" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12105:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12108:4:12", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "12098:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "12098:15:12" + }, + "nodeType": "YulExpressionStatement", + "src": "12098:15:12" + } + ] + }, + "name": "panic_error_0x41", + "nodeType": "YulFunctionDefinition", + "src": "11992:127:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "12156:95:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12173:1:12", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12180:3:12", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12185:10:12", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "12176:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "12176:20:12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "12166:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "12166:31:12" + }, + "nodeType": "YulExpressionStatement", + "src": "12166:31:12" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12213:1:12", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12216:4:12", + "type": "", + "value": "0x32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "12206:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "12206:15:12" + }, + "nodeType": "YulExpressionStatement", + "src": "12206:15:12" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12237:1:12", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12240:4:12", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "12230:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "12230:15:12" + }, + "nodeType": "YulExpressionStatement", + "src": "12230:15:12" + } + ] + }, + "name": "panic_error_0x32", + "nodeType": "YulFunctionDefinition", + "src": "12124:127:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "12303:89:12", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "12330:22:12", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "12332:16:12" + }, + "nodeType": "YulFunctionCall", + "src": "12332:18:12" + }, + "nodeType": "YulExpressionStatement", + "src": "12332:18:12" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "12323:5:12" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "12316:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "12316:13:12" + }, + "nodeType": "YulIf", + "src": "12313:39:12" + }, + { + "nodeType": "YulAssignment", + "src": "12361:25:12", + "value": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "12372:5:12" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12383:1:12", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "12379:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "12379:6:12" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "12368:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "12368:18:12" + }, + "variableNames": [ + { + "name": "ret", + "nodeType": "YulIdentifier", + "src": "12361:3:12" + } + ] + } + ] + }, + "name": "decrement_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "12285:5:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "ret", + "nodeType": "YulTypedName", + "src": "12295:3:12", + "type": "" + } + ], + "src": "12256:136:12" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "12571:182:12", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "12588:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12599:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "12581:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "12581:21:12" + }, + "nodeType": "YulExpressionStatement", + "src": "12581:21:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "12622:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12633:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "12618:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "12618:18:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12638:2:12", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "12611:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "12611:30:12" + }, + "nodeType": "YulExpressionStatement", + "src": "12611:30:12" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "12661:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12672:2:12", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "12657:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "12657:18:12" + }, + { + "hexValue": "537472696e67733a20686578206c656e67746820696e73756666696369656e74", + "kind": "string", + "nodeType": "YulLiteral", + "src": "12677:34:12", + "type": "", + "value": "Strings: hex length insufficient" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "12650:6:12" + }, + "nodeType": "YulFunctionCall", + "src": "12650:62:12" + }, + "nodeType": "YulExpressionStatement", + "src": "12650:62:12" + }, + { + "nodeType": "YulAssignment", + "src": "12721:26:12", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "12733:9:12" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12744:2:12", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "12729:3:12" + }, + "nodeType": "YulFunctionCall", + "src": "12729:18:12" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "12721:4:12" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_04fc88320d7c9f639317c75102c103ff0044d3075a5c627e24e76e5bbb2733c2__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "12548:9:12", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "12562:4:12", + "type": "" + } + ], + "src": "12397:356:12" + } + ] + }, + "contents": "{\n { }\n function abi_decode_tuple_t_bytes4(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n if iszero(eq(value, and(value, shl(224, 0xffffffff)))) { revert(0, 0) }\n value0 := value\n }\n function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, iszero(iszero(value0)))\n }\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := calldataload(headStart)\n }\n function abi_decode_tuple_t_bytes32(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := calldataload(headStart)\n }\n function abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function validator_revert_address(value)\n {\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n }\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_address(value)\n value0 := value\n }\n function abi_decode_tuple_t_bytes32t_address(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n value0 := calldataload(headStart)\n let value := calldataload(add(headStart, 32))\n validator_revert_address(value)\n value1 := value\n }\n function abi_decode_tuple_t_addresst_uint256(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_address(value)\n value0 := value\n value1 := calldataload(add(headStart, 32))\n }\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, sub(shl(160, 1), 1)))\n }\n function validator_revert_bool(value)\n {\n if iszero(eq(value, iszero(iszero(value)))) { revert(0, 0) }\n }\n function abi_decode_tuple_t_bool(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_bool(value)\n value0 := value\n }\n function abi_encode_tuple_packed_t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"poolMaxSize\")\n end := add(pos, 11)\n }\n function abi_decode_tuple_t_uint256_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := mload(headStart)\n }\n function abi_encode_tuple_packed_t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"isPoolLive\")\n end := add(pos, 10)\n }\n function abi_decode_tuple_t_bool_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := mload(headStart)\n validator_revert_bool(value)\n value0 := value\n }\n function abi_encode_tuple_t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 29)\n mstore(add(headStart, 64), \"The pool is currently closed.\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_bytes32_t_uint256__to_t_bytes32_t_uint256__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), value1)\n }\n function abi_encode_tuple_t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 47)\n mstore(add(headStart, 64), \"AccessControl: can only renounce\")\n mstore(add(headStart, 96), \" roles for self\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_packed_t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"contributionLimit\")\n end := add(pos, 17)\n }\n function abi_encode_tuple_t_stringliteral_9bfa599205b132513fe40ce547e7e6def8c4cc455992878354af4c6363b32779__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 62)\n mstore(add(headStart, 64), \"The min. contr. limit needs to b\")\n mstore(add(headStart, 96), \"e smaller than the max. limit.\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_packed_t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"minContribution\")\n end := add(pos, 15)\n }\n function abi_encode_tuple_packed_t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"daysToRewards\")\n end := add(pos, 13)\n }\n function abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed(pos, value0) -> end\n {\n mstore(pos, \"contract_exists\")\n mstore(add(pos, 15), and(shl(96, value0), not(0xffffffffffffffffffffffff)))\n end := add(pos, 35)\n }\n function abi_encode_tuple_t_stringliteral_52947e86c93a579273e5f21ebf440dc6320ec8caf45ae7affc09187f501ed96f__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 32)\n mstore(add(headStart, 64), \"The contract address is invalid.\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_ebf73bba305590e4764d5cb53b69bffd6d4d092d1a67551cb346f8cfcdab8619__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 31)\n mstore(add(headStart, 64), \"ReentrancyGuard: reentrant call\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_packed_t_stringliteral_08d24c6ea30ae17d4a7786174d0af4df8c618dc9aba31a2ac06c137f095be1ab__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"total_ether_staked\")\n end := add(pos, 18)\n }\n function abi_encode_tuple_packed_t_stringliteral_c249c8d0234c73f198edb6911269cabbcb3a87200e5c4a66aae535d12bd6112c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"totalSupply_Ether\")\n end := add(pos, 17)\n }\n function panic_error_0x11()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n function checked_sub_t_uint256(x, y) -> diff\n {\n if lt(x, y) { panic_error_0x11() }\n diff := sub(x, y)\n }\n function abi_encode_tuple_t_stringliteral_04b6a9f5785cefa0a7b0b76940bf72c578fa53b59a070204e2d81f0894030f98__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 45)\n mstore(add(headStart, 64), \"Pool lacking of ether to perform\")\n mstore(add(headStart, 96), \" this action.\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_packed_t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n { end := pos }\n function abi_encode_tuple_packed_t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"rewardsInterestPerPeriod\")\n end := add(pos, 24)\n }\n function abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"contract_address\")\n mstore(add(pos, 16), \"PoolBase\")\n end := add(pos, 24)\n }\n function abi_decode_tuple_t_address_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := mload(headStart)\n validator_revert_address(value)\n value0 := value\n }\n function abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), iszero(iszero(value1)))\n }\n function abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_a42809ef63a8477a0cc19794440877c6cd527dbf68cffc2d1d864049ac3343dc__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"contract_address\")\n mstore(add(pos, 16), \"PoolVault\")\n end := add(pos, 25)\n }\n function copy_memory_to_memory(src, dst, length)\n {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n if gt(i, length) { mstore(add(dst, length), 0) }\n }\n function abi_encode_tuple_packed_t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874_t_string_memory_ptr_t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos, value1, value0) -> end\n {\n mstore(pos, \"AccessControl: account \")\n let length := mload(value0)\n copy_memory_to_memory(add(value0, 0x20), add(pos, 23), length)\n let _1 := add(pos, length)\n mstore(add(_1, 23), \" is missing role \")\n let length_1 := mload(value1)\n copy_memory_to_memory(add(value1, 0x20), add(_1, 40), length_1)\n end := add(add(_1, length_1), 40)\n }\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n mstore(headStart, 32)\n let length := mload(value0)\n mstore(add(headStart, 32), length)\n copy_memory_to_memory(add(value0, 32), add(headStart, 64), length)\n tail := add(add(headStart, and(add(length, 31), not(31))), 64)\n }\n function checked_mul_t_uint256(x, y) -> product\n {\n if and(iszero(iszero(x)), gt(y, div(not(0), x))) { panic_error_0x11() }\n product := mul(x, y)\n }\n function checked_add_t_uint256(x, y) -> sum\n {\n if gt(x, not(y)) { panic_error_0x11() }\n sum := add(x, y)\n }\n function panic_error_0x41()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n function panic_error_0x32()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x32)\n revert(0, 0x24)\n }\n function decrement_t_uint256(value) -> ret\n {\n if iszero(value) { panic_error_0x11() }\n ret := add(value, not(0))\n }\n function abi_encode_tuple_t_stringliteral_04fc88320d7c9f639317c75102c103ff0044d3075a5c627e24e76e5bbb2733c2__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 32)\n mstore(add(headStart, 64), \"Strings: hex length insufficient\")\n tail := add(headStart, 96)\n }\n}", + "id": 12, + "language": "Yul", + "name": "#utility.yul" + } + ], + "immutableReferences": {}, + "linkReferences": {}, + "object": "6080604052600436106101b75760003560e01c80636cff7473116100ec578063a7cc190a1161008a578063ccfe0c8e11610064578063ccfe0c8e1461049b578063d547741f146104b0578063f9fc0d07146104d0578063fa1e19e5146104d857600080fd5b8063a7cc190a1461045e578063bf4c003614610466578063c3577d481461048657600080fd5b80638ae68134116100c65780638ae68134146103dc57806391d1485414610409578063a217fddf14610429578063a49755161461043e57600080fd5b80636cff74731461039257806372d099a0146103a75780637521796f146103c757600080fd5b806336568abe11610159578063497d024111610133578063497d02411461031b578063522f68151461033057806353710f491461035057806362308e851461037057600080fd5b806336568abe146102bb57806345077e71146102db578063473b0d46146102fb57600080fd5b8063217ac23711610195578063217ac23714610236578063248a9ca31461024b57806329ca15bc1461027b5780632f2ff15d1461029b57600080fd5b806301ffc9a7146101bc578063095df57f146101f15780631264698714610214575b600080fd5b3480156101c857600080fd5b506101dc6101d7366004611b98565b6104ed565b60405190151581526020015b60405180910390f35b3480156101fd57600080fd5b50610206610524565b6040519081526020016101e8565b34801561022057600080fd5b5061023461022f366004611bc2565b6105e1565b005b34801561024257600080fd5b506101dc610768565b34801561025757600080fd5b50610206610266366004611bc2565b60009081526020819052604090206001015490565b34801561028757600080fd5b50610234610296366004611bf3565b61080d565b3480156102a757600080fd5b506102346102b6366004611c10565b610869565b3480156102c757600080fd5b506102346102d6366004611c10565b610894565b3480156102e757600080fd5b506102346102f6366004611bf3565b610912565b34801561030757600080fd5b50610234610316366004611bc2565b61096e565b34801561032757600080fd5b50610206610c16565b34801561033c57600080fd5b5061023461034b366004611c40565b610c3c565b34801561035c57600080fd5b5061023461036b366004611bc2565b610ff7565b34801561037c57600080fd5b50610206600080516020611f2183398151915281565b34801561039e57600080fd5b506102066110f9565b3480156103b357600080fd5b506102346103c2366004611bc2565b611121565b3480156103d357600080fd5b50610206611227565b3480156103e857600080fd5b506103f1611258565b6040516001600160a01b0390911681526020016101e8565b34801561041557600080fd5b506101dc610424366004611c10565b611331565b34801561043557600080fd5b50610206600081565b34801561044a57600080fd5b50610234610459366004611c7a565b61135a565b6102346113d4565b34801561047257600080fd5b50610234610481366004611bc2565b611538565b34801561049257600080fd5b506103f1611645565b3480156104a757600080fd5b50610206611680565b3480156104bc57600080fd5b506102346104cb366004611c10565b6116ab565b6102346116d1565b3480156104e457600080fd5b50610206611885565b60006001600160e01b03198216637965db0b60e01b148061051e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b600080604051602001610548906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b1580156105a357600080fd5b505afa1580156105b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105db9190611c97565b91505090565b600080516020611f218339815191526105fa81336118af565b6002546040516001600160a01b03909116906355d946559061061e90602001611cb0565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161065291815260200190565b60206040518083038186803b15801561066a57600080fd5b505afa15801561067e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a29190611cc6565b156106c85760405162461bcd60e51b81526004016106bf90611ce3565b60405180910390fd5b6040516a706f6f6c4d617853697a6560a81b6020820152600090602b015b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018690529092506001600160a01b0316906328192c55906044015b600060405180830381600087803b15801561074b57600080fd5b505af115801561075f573d6000803e3d6000fd5b50505050505050565b60008060405160200161077a90611cb0565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b1580156107d557600080fd5b505afa1580156107e9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105db9190611cc6565b600061081981336118af565b610831600080516020611f21833981519152836116ab565b6040516001600160a01b038316907fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd3190600090a25050565b60008281526020819052604090206001015461088581336118af565b61088f8383611913565b505050565b6001600160a01b03811633146109045760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016106bf565b61090e8282611997565b5050565b600061091e81336118af565b610936600080516020611f2183398151915283610869565b6040516001600160a01b038316907fd873e3f571dc25e020cefdeb7255b3874ead3aade1f94a5fb4a5da831fd670cd90600090a25050565b600080516020611f2183398151915261098781336118af565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b602082015260009060310160408051601f198184030181529082905280516020918201206002549093506001600160a01b0316916355d94655916109e39101611cb0565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610a1791815260200190565b60206040518083038186803b158015610a2f57600080fd5b505afa158015610a43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a679190611cc6565b15610a845760405162461bcd60e51b81526004016106bf90611ce3565b60025460405163afc3602b60e01b81526004810183905284916001600160a01b03169063afc3602b9060240160206040518083038186803b158015610ac857600080fd5b505afa158015610adc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b009190611c97565b11610b735760405162461bcd60e51b815260206004820152603e60248201527f546865206d696e2e20636f6e74722e206c696d6974206e6565647320746f206260448201527f6520736d616c6c6572207468616e20746865206d61782e206c696d69742e000060648201526084016106bf565b6040516e36b4b721b7b73a3934b13aba34b7b760891b6020820152600090602f0160408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018790529092506001600160a01b0316906328192c5590604401600060405180830381600087803b158015610bf857600080fd5b505af1158015610c0c573d6000803e3d6000fd5b5050505050505050565b600080604051602001610548906c64617973546f5265776172647360981b8152600d0190565b600033604051602001610c4f9190611d1a565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b158015610caa57600080fd5b505afa158015610cbe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce29190611cc6565b610cfe5760405162461bcd60e51b81526004016106bf90611d4f565b60026001541415610d515760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106bf565b6002600155604051711d1bdd185b17d95d1a195c97dcdd185ad95960721b60208201526000906032016040516020818303038152906040528051906020012090506000604051602001610dbb90703a37ba30b629bab838363cafa2ba3432b960791b815260110190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b83526004830185905290925060009186916001600160a01b03169063afc3602b9060240160206040518083038186803b158015610e1b57600080fd5b505afa158015610e2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e539190611c97565b610e5d9190611d9a565b1015610ec15760405162461bcd60e51b815260206004820152602d60248201527f506f6f6c206c61636b696e67206f6620657468657220746f20706572666f726d60448201526c103a3434b99030b1ba34b7b71760991b60648201526084016106bf565b600254604051635bcfee6760e01b815260048101849052602481018690526001600160a01b0390911690635bcfee6790604401600060405180830381600087803b158015610f0e57600080fd5b505af1158015610f22573d6000803e3d6000fd5b5050600254604051635bcfee6760e01b815260048101859052602481018890526001600160a01b039091169250635bcfee679150604401600060405180830381600087803b158015610f7357600080fd5b505af1158015610f87573d6000803e3d6000fd5b505050506000856001600160a01b03168560405160006040518083038185875af1925050503d8060008114610fd8576040519150601f19603f3d011682016040523d82523d6000602084013e610fdd565b606091505b5050905080610feb57600080fd5b50506001805550505050565b600080516020611f2183398151915261101081336118af565b6002546040516001600160a01b03909116906355d946559061103490602001611cb0565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161106891815260200190565b60206040518083038186803b15801561108057600080fd5b505afa158015611094573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b89190611cc6565b156110d55760405162461bcd60e51b81526004016106bf90611ce3565b6040516c64617973546f5265776172647360981b6020820152600090602d016106e6565b600080604051602001610548906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b600080516020611f2183398151915261113a81336118af565b6002546040516001600160a01b03909116906355d946559061115e90602001611cb0565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161119291815260200190565b60206040518083038186803b1580156111aa57600080fd5b505afa1580156111be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e29190611cc6565b156111ff5760405162461bcd60e51b81526004016106bf90611ce3565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b60208201526000906031016106e6565b60008060405160200161054890771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b600080604051602001611292906f636f6e74726163745f6164647265737360801b815267506f6f6c4261736560c01b601082015260180190565b60408051808303601f190181529082905280516020909101206002546315485dd960e11b8352600483018290529092506000916001600160a01b0390911690632a90bbb29060240160206040518083038186803b1580156112f257600080fd5b505afa158015611306573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061132a9190611db1565b9392505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020611f2183398151915261137381336118af565b600060405160200161138490611cb0565b60408051808303601f1901815290829052805160209091012060025463988c515b60e01b83526004830182905285151560248401529092506001600160a01b03169063988c515b90604401610731565b6000336040516020016113e79190611d1a565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561144257600080fd5b505afa158015611456573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061147a9190611cc6565b6114965760405162461bcd60e51b81526004016106bf90611d4f565b604051711d1bdd185b17d95d1a195c97dcdd185ad95960721b602082015260009060320160408051808303601f1901815290829052805160209091012060025462ec44af60e51b8352600483018290523460248401529092506001600160a01b031690631d8895e090604401600060405180830381600087803b15801561151c57600080fd5b505af1158015611530573d6000803e3d6000fd5b505050505050565b600080516020611f2183398151915261155181336118af565b6002546040516001600160a01b03909116906355d946559061157590602001611cb0565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b81526004016115a991815260200190565b60206040518083038186803b1580156115c157600080fd5b505afa1580156115d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f99190611cc6565b156116165760405162461bcd60e51b81526004016106bf90611ce3565b604051771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b60208201526000906038016106e6565b600080604051602001611292906f636f6e74726163745f6164647265737360801b815268141bdbdb15985d5b1d60ba1b601082015260190190565b60008060405160200161054890711d1bdd185b17d95d1a195c97dcdd185ad95960721b815260120190565b6000828152602081905260409020600101546116c781336118af565b61088f8383611997565b6000336040516020016116e49190611d1a565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561173f57600080fd5b505afa158015611753573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117779190611cc6565b6117935760405162461bcd60e51b81526004016106bf90611d4f565b600260015414156117e65760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106bf565b6002600155604051711d1bdd185b17d95d1a195c97dcdd185ad95960721b602082015260009060320160408051808303601f1901815290829052805160209091012060025462ec44af60e51b8352600483018290523460248401529092506001600160a01b031690631d8895e090604401600060405180830381600087803b15801561187157600080fd5b505af1158015610feb573d6000803e3d6000fd5b600080604051602001610548907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b6118b98282611331565b61090e576118d1816001600160a01b031660146119fc565b6118dc8360206119fc565b6040516020016118ed929190611dfe565b60408051601f198184030181529082905262461bcd60e51b82526106bf91600401611e73565b61191d8282611331565b61090e576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556119533390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6119a18282611331565b1561090e576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60606000611a0b836002611ea6565b611a16906002611ec5565b67ffffffffffffffff811115611a2e57611a2e611edd565b6040519080825280601f01601f191660200182016040528015611a58576020820181803683370190505b509050600360fc1b81600081518110611a7357611a73611ef3565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611aa257611aa2611ef3565b60200101906001600160f81b031916908160001a9053506000611ac6846002611ea6565b611ad1906001611ec5565b90505b6001811115611b49576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611b0557611b05611ef3565b1a60f81b828281518110611b1b57611b1b611ef3565b60200101906001600160f81b031916908160001a90535060049490941c93611b4281611f09565b9050611ad4565b50831561132a5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016106bf565b600060208284031215611baa57600080fd5b81356001600160e01b03198116811461132a57600080fd5b600060208284031215611bd457600080fd5b5035919050565b6001600160a01b0381168114611bf057600080fd5b50565b600060208284031215611c0557600080fd5b813561132a81611bdb565b60008060408385031215611c2357600080fd5b823591506020830135611c3581611bdb565b809150509250929050565b60008060408385031215611c5357600080fd5b8235611c5e81611bdb565b946020939093013593505050565b8015158114611bf057600080fd5b600060208284031215611c8c57600080fd5b813561132a81611c6c565b600060208284031215611ca957600080fd5b5051919050565b696973506f6f6c4c69766560b01b8152600a0190565b600060208284031215611cd857600080fd5b815161132a81611c6c565b6020808252601d908201527f54686520706f6f6c2069732063757272656e746c7920636c6f7365642e000000604082015260600190565b6e636f6e74726163745f65786973747360881b815260609190911b6bffffffffffffffffffffffff1916600f82015260230190565b6020808252818101527f54686520636f6e7472616374206164647265737320697320696e76616c69642e604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082821015611dac57611dac611d84565b500390565b600060208284031215611dc357600080fd5b815161132a81611bdb565b60005b83811015611de9578181015183820152602001611dd1565b83811115611df8576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611e36816017850160208801611dce565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611e67816028840160208801611dce565b01602801949350505050565b6020815260008251806020840152611e92816040850160208701611dce565b601f01601f19169190910160400192915050565b6000816000190483118215151615611ec057611ec0611d84565b500290565b60008219821115611ed857611ed8611d84565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081611f1857611f18611d84565b50600019019056fe41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842a26469706673582212205683fbe808f0e43c1ca994bf72a03d508f376b2b332730e2895efb1ee23cfe1364736f6c63430008090033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x1B7 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x6CFF7473 GT PUSH2 0xEC JUMPI DUP1 PUSH4 0xA7CC190A GT PUSH2 0x8A JUMPI DUP1 PUSH4 0xCCFE0C8E GT PUSH2 0x64 JUMPI DUP1 PUSH4 0xCCFE0C8E EQ PUSH2 0x49B JUMPI DUP1 PUSH4 0xD547741F EQ PUSH2 0x4B0 JUMPI DUP1 PUSH4 0xF9FC0D07 EQ PUSH2 0x4D0 JUMPI DUP1 PUSH4 0xFA1E19E5 EQ PUSH2 0x4D8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xA7CC190A EQ PUSH2 0x45E JUMPI DUP1 PUSH4 0xBF4C0036 EQ PUSH2 0x466 JUMPI DUP1 PUSH4 0xC3577D48 EQ PUSH2 0x486 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x8AE68134 GT PUSH2 0xC6 JUMPI DUP1 PUSH4 0x8AE68134 EQ PUSH2 0x3DC JUMPI DUP1 PUSH4 0x91D14854 EQ PUSH2 0x409 JUMPI DUP1 PUSH4 0xA217FDDF EQ PUSH2 0x429 JUMPI DUP1 PUSH4 0xA4975516 EQ PUSH2 0x43E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x6CFF7473 EQ PUSH2 0x392 JUMPI DUP1 PUSH4 0x72D099A0 EQ PUSH2 0x3A7 JUMPI DUP1 PUSH4 0x7521796F EQ PUSH2 0x3C7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x36568ABE GT PUSH2 0x159 JUMPI DUP1 PUSH4 0x497D0241 GT PUSH2 0x133 JUMPI DUP1 PUSH4 0x497D0241 EQ PUSH2 0x31B JUMPI DUP1 PUSH4 0x522F6815 EQ PUSH2 0x330 JUMPI DUP1 PUSH4 0x53710F49 EQ PUSH2 0x350 JUMPI DUP1 PUSH4 0x62308E85 EQ PUSH2 0x370 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x36568ABE EQ PUSH2 0x2BB JUMPI DUP1 PUSH4 0x45077E71 EQ PUSH2 0x2DB JUMPI DUP1 PUSH4 0x473B0D46 EQ PUSH2 0x2FB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x217AC237 GT PUSH2 0x195 JUMPI DUP1 PUSH4 0x217AC237 EQ PUSH2 0x236 JUMPI DUP1 PUSH4 0x248A9CA3 EQ PUSH2 0x24B JUMPI DUP1 PUSH4 0x29CA15BC EQ PUSH2 0x27B JUMPI DUP1 PUSH4 0x2F2FF15D EQ PUSH2 0x29B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x1BC JUMPI DUP1 PUSH4 0x95DF57F EQ PUSH2 0x1F1 JUMPI DUP1 PUSH4 0x12646987 EQ PUSH2 0x214 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x1C8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1DC PUSH2 0x1D7 CALLDATASIZE PUSH1 0x4 PUSH2 0x1B98 JUMP JUMPDEST PUSH2 0x4ED JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x1FD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x206 PUSH2 0x524 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1E8 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x220 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x234 PUSH2 0x22F CALLDATASIZE PUSH1 0x4 PUSH2 0x1BC2 JUMP JUMPDEST PUSH2 0x5E1 JUMP JUMPDEST STOP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x242 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1DC PUSH2 0x768 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x257 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x206 PUSH2 0x266 CALLDATASIZE PUSH1 0x4 PUSH2 0x1BC2 JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD SWAP1 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x287 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x234 PUSH2 0x296 CALLDATASIZE PUSH1 0x4 PUSH2 0x1BF3 JUMP JUMPDEST PUSH2 0x80D JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x2A7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x234 PUSH2 0x2B6 CALLDATASIZE PUSH1 0x4 PUSH2 0x1C10 JUMP JUMPDEST PUSH2 0x869 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x2C7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x234 PUSH2 0x2D6 CALLDATASIZE PUSH1 0x4 PUSH2 0x1C10 JUMP JUMPDEST PUSH2 0x894 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x2E7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x234 PUSH2 0x2F6 CALLDATASIZE PUSH1 0x4 PUSH2 0x1BF3 JUMP JUMPDEST PUSH2 0x912 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x307 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x234 PUSH2 0x316 CALLDATASIZE PUSH1 0x4 PUSH2 0x1BC2 JUMP JUMPDEST PUSH2 0x96E JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x327 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x206 PUSH2 0xC16 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x33C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x234 PUSH2 0x34B CALLDATASIZE PUSH1 0x4 PUSH2 0x1C40 JUMP JUMPDEST PUSH2 0xC3C JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x35C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x234 PUSH2 0x36B CALLDATASIZE PUSH1 0x4 PUSH2 0x1BC2 JUMP JUMPDEST PUSH2 0xFF7 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x37C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x206 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1F21 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x39E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x206 PUSH2 0x10F9 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x3B3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x234 PUSH2 0x3C2 CALLDATASIZE PUSH1 0x4 PUSH2 0x1BC2 JUMP JUMPDEST PUSH2 0x1121 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x3D3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x206 PUSH2 0x1227 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x3E8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x3F1 PUSH2 0x1258 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1E8 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x415 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1DC PUSH2 0x424 CALLDATASIZE PUSH1 0x4 PUSH2 0x1C10 JUMP JUMPDEST PUSH2 0x1331 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x435 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x206 PUSH1 0x0 DUP2 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x44A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x234 PUSH2 0x459 CALLDATASIZE PUSH1 0x4 PUSH2 0x1C7A JUMP JUMPDEST PUSH2 0x135A JUMP JUMPDEST PUSH2 0x234 PUSH2 0x13D4 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x472 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x234 PUSH2 0x481 CALLDATASIZE PUSH1 0x4 PUSH2 0x1BC2 JUMP JUMPDEST PUSH2 0x1538 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x492 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x3F1 PUSH2 0x1645 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x4A7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x206 PUSH2 0x1680 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x4BC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x234 PUSH2 0x4CB CALLDATASIZE PUSH1 0x4 PUSH2 0x1C10 JUMP JUMPDEST PUSH2 0x16AB JUMP JUMPDEST PUSH2 0x234 PUSH2 0x16D1 JUMP JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x4E4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x206 PUSH2 0x1885 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH4 0x7965DB0B PUSH1 0xE0 SHL EQ DUP1 PUSH2 0x51E JUMPI POP PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP4 AND EQ JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x548 SWAP1 PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL DUP2 MSTORE PUSH1 0xB ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x5A3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x5B7 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x5DB SWAP2 SWAP1 PUSH2 0x1C97 JUMP JUMPDEST SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1F21 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x5FA DUP2 CALLER PUSH2 0x18AF JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x61E SWAP1 PUSH1 0x20 ADD PUSH2 0x1CB0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x652 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x66A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x67E JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x6A2 SWAP2 SWAP1 PUSH2 0x1CC6 JUMP JUMPDEST ISZERO PUSH2 0x6C8 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6BF SWAP1 PUSH2 0x1CE3 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x40 MLOAD PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2B ADD JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP7 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x74B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x75F JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x77A SWAP1 PUSH2 0x1CB0 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x55D94655 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x7D5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x7E9 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x5DB SWAP2 SWAP1 PUSH2 0x1CC6 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x819 DUP2 CALLER PUSH2 0x18AF JUMP JUMPDEST PUSH2 0x831 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1F21 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0x16AB JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xEF69F7D97228658C92417BE1B16B19058315DE71FECB435D07B7D23728B6BD31 SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0x885 DUP2 CALLER PUSH2 0x18AF JUMP JUMPDEST PUSH2 0x88F DUP4 DUP4 PUSH2 0x1913 JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND CALLER EQ PUSH2 0x904 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416363657373436F6E74726F6C3A2063616E206F6E6C792072656E6F756E6365 PUSH1 0x44 DUP3 ADD MSTORE PUSH15 0x103937B632B9903337B91039B2B633 PUSH1 0x89 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6BF JUMP JUMPDEST PUSH2 0x90E DUP3 DUP3 PUSH2 0x1997 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x91E DUP2 CALLER PUSH2 0x18AF JUMP JUMPDEST PUSH2 0x936 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1F21 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0x869 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xD873E3F571DC25E020CEFDEB7255B3874EAD3AADE1F94A5FB4A5DA831FD670CD SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1F21 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x987 DUP2 CALLER PUSH2 0x18AF JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x31 ADD PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP2 DUP3 ADD KECCAK256 PUSH1 0x2 SLOAD SWAP1 SWAP4 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP2 PUSH4 0x55D94655 SWAP2 PUSH2 0x9E3 SWAP2 ADD PUSH2 0x1CB0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xA17 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xA2F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xA43 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xA67 SWAP2 SWAP1 PUSH2 0x1CC6 JUMP JUMPDEST ISZERO PUSH2 0xA84 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6BF SWAP1 PUSH2 0x1CE3 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP4 SWAP1 MSTORE DUP5 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xAC8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xADC JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xB00 SWAP2 SWAP1 PUSH2 0x1C97 JUMP JUMPDEST GT PUSH2 0xB73 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x546865206D696E2E20636F6E74722E206C696D6974206E6565647320746F2062 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x6520736D616C6C6572207468616E20746865206D61782E206C696D69742E0000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6BF JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2F ADD PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP8 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xBF8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xC0C JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x548 SWAP1 PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL DUP2 MSTORE PUSH1 0xD ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xC4F SWAP2 SWAP1 PUSH2 0x1D1A JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x55D94655 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xCAA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xCBE JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xCE2 SWAP2 SWAP1 PUSH2 0x1CC6 JUMP JUMPDEST PUSH2 0xCFE JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6BF SWAP1 PUSH2 0x1D4F JUMP JUMPDEST PUSH1 0x2 PUSH1 0x1 SLOAD EQ ISZERO PUSH2 0xD51 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x5265656E7472616E637947756172643A207265656E7472616E742063616C6C00 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6BF JUMP JUMPDEST PUSH1 0x2 PUSH1 0x1 SSTORE PUSH1 0x40 MLOAD PUSH18 0x1D1BDD185B17D95D1A195C97DCDD185AD959 PUSH1 0x72 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x32 ADD PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xDBB SWAP1 PUSH17 0x3A37BA30B629BAB838363CAFA2BA3432B9 PUSH1 0x79 SHL DUP2 MSTORE PUSH1 0x11 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP6 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x0 SWAP2 DUP7 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xE1B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xE2F JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xE53 SWAP2 SWAP1 PUSH2 0x1C97 JUMP JUMPDEST PUSH2 0xE5D SWAP2 SWAP1 PUSH2 0x1D9A JUMP JUMPDEST LT ISZERO PUSH2 0xEC1 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x506F6F6C206C61636B696E67206F6620657468657220746F20706572666F726D PUSH1 0x44 DUP3 ADD MSTORE PUSH13 0x103A3434B99030B1BA34B7B717 PUSH1 0x99 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x6BF JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0x5BCFEE67 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP5 SWAP1 MSTORE PUSH1 0x24 DUP2 ADD DUP7 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x5BCFEE67 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xF0E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xF22 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0x5BCFEE67 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP6 SWAP1 MSTORE PUSH1 0x24 DUP2 ADD DUP9 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP3 POP PUSH4 0x5BCFEE67 SWAP2 POP PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xF73 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xF87 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x0 DUP6 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP6 PUSH1 0x40 MLOAD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP8 GAS CALL SWAP3 POP POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0xFD8 JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0xFDD JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP POP SWAP1 POP DUP1 PUSH2 0xFEB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP POP PUSH1 0x1 DUP1 SSTORE POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1F21 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x1010 DUP2 CALLER PUSH2 0x18AF JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x1034 SWAP1 PUSH1 0x20 ADD PUSH2 0x1CB0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1068 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1080 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1094 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x10B8 SWAP2 SWAP1 PUSH2 0x1CC6 JUMP JUMPDEST ISZERO PUSH2 0x10D5 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6BF SWAP1 PUSH2 0x1CE3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2D ADD PUSH2 0x6E6 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x548 SWAP1 PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL DUP2 MSTORE PUSH1 0xF ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1F21 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x113A DUP2 CALLER PUSH2 0x18AF JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x115E SWAP1 PUSH1 0x20 ADD PUSH2 0x1CB0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1192 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x11AA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x11BE JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x11E2 SWAP2 SWAP1 PUSH2 0x1CC6 JUMP JUMPDEST ISZERO PUSH2 0x11FF JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6BF SWAP1 PUSH2 0x1CE3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x31 ADD PUSH2 0x6E6 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x548 SWAP1 PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL DUP2 MSTORE PUSH1 0x18 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1292 SWAP1 PUSH16 0x636F6E74726163745F61646472657373 PUSH1 0x80 SHL DUP2 MSTORE PUSH8 0x506F6F6C42617365 PUSH1 0xC0 SHL PUSH1 0x10 DUP3 ADD MSTORE PUSH1 0x18 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x15485DD9 PUSH1 0xE1 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x0 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x2A90BBB2 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x12F2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1306 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x132A SWAP2 SWAP1 PUSH2 0x1DB1 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP3 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 SWAP1 SWAP4 AND DUP5 MSTORE SWAP2 SWAP1 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1F21 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x1373 DUP2 CALLER PUSH2 0x18AF JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1384 SWAP1 PUSH2 0x1CB0 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x988C515B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE DUP6 ISZERO ISZERO PUSH1 0x24 DUP5 ADD MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x988C515B SWAP1 PUSH1 0x44 ADD PUSH2 0x731 JUMP JUMPDEST PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x13E7 SWAP2 SWAP1 PUSH2 0x1D1A JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x55D94655 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1442 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1456 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x147A SWAP2 SWAP1 PUSH2 0x1CC6 JUMP JUMPDEST PUSH2 0x1496 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6BF SWAP1 PUSH2 0x1D4F JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH18 0x1D1BDD185B17D95D1A195C97DCDD185AD959 PUSH1 0x72 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x32 ADD PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH3 0xEC44AF PUSH1 0xE5 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE CALLVALUE PUSH1 0x24 DUP5 ADD MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x1D8895E0 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x151C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1530 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1F21 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x1551 DUP2 CALLER PUSH2 0x18AF JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x1575 SWAP1 PUSH1 0x20 ADD PUSH2 0x1CB0 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x15A9 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x15C1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x15D5 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x15F9 SWAP2 SWAP1 PUSH2 0x1CC6 JUMP JUMPDEST ISZERO PUSH2 0x1616 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6BF SWAP1 PUSH2 0x1CE3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x38 ADD PUSH2 0x6E6 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1292 SWAP1 PUSH16 0x636F6E74726163745F61646472657373 PUSH1 0x80 SHL DUP2 MSTORE PUSH9 0x141BDBDB15985D5B1D PUSH1 0xBA SHL PUSH1 0x10 DUP3 ADD MSTORE PUSH1 0x19 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x548 SWAP1 PUSH18 0x1D1BDD185B17D95D1A195C97DCDD185AD959 PUSH1 0x72 SHL DUP2 MSTORE PUSH1 0x12 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0x16C7 DUP2 CALLER PUSH2 0x18AF JUMP JUMPDEST PUSH2 0x88F DUP4 DUP4 PUSH2 0x1997 JUMP JUMPDEST PUSH1 0x0 CALLER PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x16E4 SWAP2 SWAP1 PUSH2 0x1D1A JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x55D94655 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x173F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1753 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x1777 SWAP2 SWAP1 PUSH2 0x1CC6 JUMP JUMPDEST PUSH2 0x1793 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6BF SWAP1 PUSH2 0x1D4F JUMP JUMPDEST PUSH1 0x2 PUSH1 0x1 SLOAD EQ ISZERO PUSH2 0x17E6 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x5265656E7472616E637947756172643A207265656E7472616E742063616C6C00 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6BF JUMP JUMPDEST PUSH1 0x2 PUSH1 0x1 SSTORE PUSH1 0x40 MLOAD PUSH18 0x1D1BDD185B17D95D1A195C97DCDD185AD959 PUSH1 0x72 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x32 ADD PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH3 0xEC44AF PUSH1 0xE5 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE CALLVALUE PUSH1 0x24 DUP5 ADD MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x1D8895E0 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1871 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xFEB JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x548 SWAP1 PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL DUP2 MSTORE PUSH1 0x11 ADD SWAP1 JUMP JUMPDEST PUSH2 0x18B9 DUP3 DUP3 PUSH2 0x1331 JUMP JUMPDEST PUSH2 0x90E JUMPI PUSH2 0x18D1 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x14 PUSH2 0x19FC JUMP JUMPDEST PUSH2 0x18DC DUP4 PUSH1 0x20 PUSH2 0x19FC JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x18ED SWAP3 SWAP2 SWAP1 PUSH2 0x1DFE JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE PUSH3 0x461BCD PUSH1 0xE5 SHL DUP3 MSTORE PUSH2 0x6BF SWAP2 PUSH1 0x4 ADD PUSH2 0x1E73 JUMP JUMPDEST PUSH2 0x191D DUP3 DUP3 PUSH2 0x1331 JUMP JUMPDEST PUSH2 0x90E JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH2 0x1953 CALLER SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH2 0x19A1 DUP3 DUP3 PUSH2 0x1331 JUMP JUMPDEST ISZERO PUSH2 0x90E JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP1 DUP6 MSTORE SWAP3 MSTORE DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE MLOAD CALLER SWAP3 DUP6 SWAP2 PUSH32 0xF6391F5C32D9C69D2A47EA670B442974B53935D1EDC7FD64EB21E047A839171B SWAP2 SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH2 0x1A0B DUP4 PUSH1 0x2 PUSH2 0x1EA6 JUMP JUMPDEST PUSH2 0x1A16 SWAP1 PUSH1 0x2 PUSH2 0x1EC5 JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1A2E JUMPI PUSH2 0x1A2E PUSH2 0x1EDD JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x1A58 JUMPI PUSH1 0x20 DUP3 ADD DUP2 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x3 PUSH1 0xFC SHL DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x1A73 JUMPI PUSH2 0x1A73 PUSH2 0x1EF3 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0xF PUSH1 0xFB SHL DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x1AA2 JUMPI PUSH2 0x1AA2 PUSH2 0x1EF3 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x0 PUSH2 0x1AC6 DUP5 PUSH1 0x2 PUSH2 0x1EA6 JUMP JUMPDEST PUSH2 0x1AD1 SWAP1 PUSH1 0x1 PUSH2 0x1EC5 JUMP JUMPDEST SWAP1 POP JUMPDEST PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x1B49 JUMPI PUSH16 0x181899199A1A9B1B9C1CB0B131B232B3 PUSH1 0x81 SHL DUP6 PUSH1 0xF AND PUSH1 0x10 DUP2 LT PUSH2 0x1B05 JUMPI PUSH2 0x1B05 PUSH2 0x1EF3 JUMP JUMPDEST BYTE PUSH1 0xF8 SHL DUP3 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x1B1B JUMPI PUSH2 0x1B1B PUSH2 0x1EF3 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x4 SWAP5 SWAP1 SWAP5 SHR SWAP4 PUSH2 0x1B42 DUP2 PUSH2 0x1F09 JUMP JUMPDEST SWAP1 POP PUSH2 0x1AD4 JUMP JUMPDEST POP DUP4 ISZERO PUSH2 0x132A JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x537472696E67733A20686578206C656E67746820696E73756666696369656E74 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6BF JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1BAA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND DUP2 EQ PUSH2 0x132A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1BD4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x1BF0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1C05 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x132A DUP2 PUSH2 0x1BDB JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1C23 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x1C35 DUP2 PUSH2 0x1BDB JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1C53 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH2 0x1C5E DUP2 PUSH2 0x1BDB JUMP JUMPDEST SWAP5 PUSH1 0x20 SWAP4 SWAP1 SWAP4 ADD CALLDATALOAD SWAP4 POP POP POP JUMP JUMPDEST DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0x1BF0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1C8C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x132A DUP2 PUSH2 0x1C6C JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1CA9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH10 0x6973506F6F6C4C697665 PUSH1 0xB0 SHL DUP2 MSTORE PUSH1 0xA ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1CD8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x132A DUP2 PUSH2 0x1C6C JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1D SWAP1 DUP3 ADD MSTORE PUSH32 0x54686520706F6F6C2069732063757272656E746C7920636C6F7365642E000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH15 0x636F6E74726163745F657869737473 PUSH1 0x88 SHL DUP2 MSTORE PUSH1 0x60 SWAP2 SWAP1 SWAP2 SHL PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF NOT AND PUSH1 0xF DUP3 ADD MSTORE PUSH1 0x23 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE DUP2 DUP2 ADD MSTORE PUSH32 0x54686520636F6E7472616374206164647265737320697320696E76616C69642E PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH2 0x1DAC JUMPI PUSH2 0x1DAC PUSH2 0x1D84 JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1DC3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x132A DUP2 PUSH2 0x1BDB JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x1DE9 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x1DD1 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x1DF8 JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH32 0x416363657373436F6E74726F6C3A206163636F756E7420000000000000000000 DUP2 MSTORE PUSH1 0x0 DUP4 MLOAD PUSH2 0x1E36 DUP2 PUSH1 0x17 DUP6 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x1DCE JUMP JUMPDEST PUSH17 0x1034B99036B4B9B9B4B733903937B6329 PUSH1 0x7D SHL PUSH1 0x17 SWAP2 DUP5 ADD SWAP2 DUP3 ADD MSTORE DUP4 MLOAD PUSH2 0x1E67 DUP2 PUSH1 0x28 DUP5 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x1DCE JUMP JUMPDEST ADD PUSH1 0x28 ADD SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 DUP3 MLOAD DUP1 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x1E92 DUP2 PUSH1 0x40 DUP6 ADD PUSH1 0x20 DUP8 ADD PUSH2 0x1DCE JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP2 SWAP1 SWAP2 ADD PUSH1 0x40 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x0 NOT DIV DUP4 GT DUP3 ISZERO ISZERO AND ISZERO PUSH2 0x1EC0 JUMPI PUSH2 0x1EC0 PUSH2 0x1D84 JUMP JUMPDEST POP MUL SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x1ED8 JUMPI PUSH2 0x1ED8 PUSH2 0x1D84 JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH2 0x1F18 JUMPI PUSH2 0x1F18 PUSH2 0x1D84 JUMP JUMPDEST POP PUSH1 0x0 NOT ADD SWAP1 JUMP INVALID COINBASE LOG0 0x1E 0xC0 LOG1 EXTCODESIZE JUMP EXTCODEHASH LOG4 MSTORE JUMP SWAP15 EXTCODEHASH 0xBB GT PUSH4 0x66D217C2 PUSH23 0x9AA1561822E65A617E3842A26469706673582212205683 0xFB 0xE8 ADDMOD CREATE 0xE4 EXTCODECOPY SHR 0xA9 SWAP5 0xBF PUSH19 0xA03D508F376B2B332730E2895EFB1EE23CFE13 PUSH5 0x736F6C6343 STOP ADDMOD MULMOD STOP CALLER ", + "sourceMap": "482:2471:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2620:202:4;;;;;;;;;;-1:-1:-1;2620:202:4;;;;;:::i;:::-;;:::i;:::-;;;470:14:12;;463:22;445:41;;433:2;418:18;2620:202:4;;;;;;;;6789:205:0;;;;;;;;;;;;;:::i;:::-;;;643:25:12;;;631:2;616:18;6789:205:0;497:177:12;3298:341:0;;;;;;;;;;-1:-1:-1;3298:341:0;;;;;:::i;:::-;;:::i;:::-;;6597:184;;;;;;;;;;;;;:::i;4008:129:4:-;;;;;;;;;;-1:-1:-1;4008:129:4;;;;;:::i;:::-;4082:7;4108:12;;;;;;;;;;:22;;;;4008:129;2178:175:0;;;;;;;;;;-1:-1:-1;2178:175:0;;;;;:::i;:::-;;:::i;4387:145:4:-;;;;;;;;;;-1:-1:-1;4387:145:4;;;;;:::i;:::-;;:::i;5404:214::-;;;;;;;;;;-1:-1:-1;5404:214:4;;;;;:::i;:::-;;:::i;1998:172:0:-;;;;;;;;;;-1:-1:-1;1998:172:0;;;;;:::i;:::-;;:::i;5239:585::-;;;;;;;;;;-1:-1:-1;5239:585:0;;;;;:::i;:::-;;:::i;7002:195::-;;;;;;;;;;;;;:::i;1760:645:1:-;;;;;;;;;;-1:-1:-1;1760:645:1;;;;;:::i;:::-;;:::i;3713:351:0:-;;;;;;;;;;-1:-1:-1;3713:351:0;;;;;:::i;:::-;;:::i;687:64::-;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;687:64:0;;7640:199;;;;;;;;;;;;;:::i;4761:362::-;;;;;;;;;;-1:-1:-1;4761:362:0;;;;;:::i;:::-;;:::i;7205:212::-;;;;;;;;;;;;;:::i;6317:268::-;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;2423:32:12;;;2405:51;;2393:2;2378:18;6317:268:0;2259:203:12;2909:145:4;;;;;;;;;;-1:-1:-1;2909:145:4;;;;;:::i;:::-;;:::i;2027:49::-;;;;;;;;;;-1:-1:-1;2027:49:4;2072:4;2027:49;;2965:198:0;;;;;;;;;;-1:-1:-1;2965:198:0;;;;;:::i;:::-;;:::i;1526:222:1:-;;;:::i;4271:372:0:-;;;;;;;;;;-1:-1:-1;4271:372:0;;;;;:::i;:::-;;:::i;2661:270:1:-;;;;;;;;;;;;;:::i;1311:207::-;;;;;;;;;;;;;:::i;4766:147:4:-;;;;;;;;;;-1:-1:-1;4766:147:4;;;;;:::i;:::-;;:::i;2413:240:1:-;;;:::i;7425:207:0:-;;;;;;;;;;;;;:::i;2620:202:4:-;2705:4;-1:-1:-1;;;;;;2728:47:4;;-1:-1:-1;;;2728:47:4;;:87;;-1:-1:-1;;;;;;;;;;937:40:10;;;2779:36:4;2721:94;2620:202;-1:-1:-1;;2620:202:4:o;6789:205:0:-;6835:4;6851:22;6886:31;;;;;;-1:-1:-1;;;3038:26:12;;3089:2;3080:12;;2836:262;6886:31:0;;;;;;;-1:-1:-1;;6886:31:0;;;;;;;6876:42;;6886:31;6876:42;;;;6936:11;;-1:-1:-1;;;6936:42:0;;;;;643:25:12;;;6876:42:0;;-1:-1:-1;;;;;;6936:11:0;;:26;;616:18:12;;6936:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6929:49;;;6789:205;:::o;3298:341::-;-1:-1:-1;;;;;;;;;;;2505:30:4;726:25:0;719:10:8;2505::4;:30::i;:::-;3387:11:0::1;::::0;3424:30:::1;::::0;-1:-1:-1;;;;;3387:11:0;;::::1;::::0;:26:::1;::::0;3424:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;3414:41;;;;;;3387:69;;;;;;;;;;;;;643:25:12::0;;631:2;616:18;;497:177;3387:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3386:70;3378:112;;;;-1:-1:-1::0;;;3378:112:0::1;;;;;;;:::i;:::-;;;;;;;;;3536:31;::::0;-1:-1:-1;;;3536:31:0::1;::::0;::::1;3038:26:12::0;3501:22:0::1;::::0;3080:12:12;;3536:31:0::1;;::::0;;;;::::1;-1:-1:-1::0;;3536:31:0;;;;;;;3526:42;;3536:31:::1;3526:42:::0;;::::1;::::0;3579:11:::1;::::0;-1:-1:-1;;;3579:52:0;;::::1;::::0;::::1;4340:25:12::0;;;4381:18;;;4374:34;;;3526:42:0;;-1:-1:-1;;;;;;3579:11:0::1;::::0;:26:::1;::::0;4313:18:12;;3579:52:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;3367:272;3298:341:::0;;:::o;6597:184::-;6641:4;6657:17;6687:30;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;6687:30:0;;;;;;;6677:41;;6687:30;6677:41;;;;6736:11;;-1:-1:-1;;;6736:37:0;;;;;643:25:12;;;6677:41:0;;-1:-1:-1;;;;;;6736:11:0;;:26;;616:18:12;;6736:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;2178:175::-;2072:4:4;2505:30;2072:4;719:10:8;2505::4;:30::i;:::-;2271:34:0::1;-1:-1:-1::0;;;;;;;;;;;2296:8:0::1;2271:10;:34::i;:::-;2321:24;::::0;-1:-1:-1;;;;;2321:24:0;::::1;::::0;::::1;::::0;;;::::1;2178:175:::0;;:::o;4387:145:4:-;4082:7;4108:12;;;;;;;;;;:22;;;2505:30;2516:4;719:10:8;2505::4;:30::i;:::-;4500:25:::1;4511:4;4517:7;4500:10;:25::i;:::-;4387:145:::0;;;:::o;5404:214::-;-1:-1:-1;;;;;5499:23:4;;719:10:8;5499:23:4;5491:83;;;;-1:-1:-1;;;5491:83:4;;4621:2:12;5491:83:4;;;4603:21:12;4660:2;4640:18;;;4633:30;4699:34;4679:18;;;4672:62;-1:-1:-1;;;4750:18:12;;;4743:45;4805:19;;5491:83:4;4419:411:12;5491:83:4;5585:26;5597:4;5603:7;5585:11;:26::i;:::-;5404:214;;:::o;1998:172:0:-;2072:4:4;2505:30;2072:4;719:10:8;2505::4;:30::i;:::-;2088:33:0::1;-1:-1:-1::0;;;;;;;;;;;2112:8:0::1;2088:9;:33::i;:::-;2137:25;::::0;-1:-1:-1;;;;;2137:25:0;::::1;::::0;::::1;::::0;;;::::1;1998:172:::0;;:::o;5239:585::-;-1:-1:-1;;;;;;;;;;;2505:30:4;726:25:0;719:10:8;2505::4;:30::i;:::-;5360:37:0::1;::::0;-1:-1:-1;;;5360:37:0::1;::::0;::::1;5037:32:12::0;5326:21:0::1;::::0;5085:12:12;;5360:37:0::1;::::0;;-1:-1:-1;;5360:37:0;;::::1;::::0;;;;;;;5350:48;;5360:37:::1;5350:48:::0;;::::1;::::0;5418:11:::1;::::0;5350:48;;-1:-1:-1;;;;;;5418:11:0::1;::::0;:26:::1;::::0;5455:30:::1;::::0;::::1;;:::i;:::-;;;;;;;;;;;;;5445:41;;;;;;5418:69;;;;;;;;;;;;;643:25:12::0;;631:2;616:18;;497:177;5418:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5417:70;5409:112;;;;-1:-1:-1::0;;;5409:112:0::1;;;;;;;:::i;:::-;5540:11;::::0;:41:::1;::::0;-1:-1:-1;;;5540:41:0;;::::1;::::0;::::1;643:25:12::0;;;5584:12:0;;-1:-1:-1;;;;;5540:11:0::1;::::0;:26:::1;::::0;616:18:12;;5540:41:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;5532:131;;;::::0;-1:-1:-1;;;5532:131:0;;5310:2:12;5532:131:0::1;::::0;::::1;5292:21:12::0;5349:2;5329:18;;;5322:30;5388:34;5368:18;;;5361:62;5459:32;5439:18;;;5432:60;5509:19;;5532:131:0::1;5108:426:12::0;5532:131:0::1;5716:35;::::0;-1:-1:-1;;;5716:35:0::1;::::0;::::1;5741:30:12::0;5684:19:0::1;::::0;5787:12:12;;5716:35:0::1;::::0;;;;::::1;-1:-1:-1::0;;5716:35:0;;;;;;;5706:46;;5716:35:::1;5706:46:::0;;::::1;::::0;5763:11:::1;::::0;-1:-1:-1;;;5763:53:0;;::::1;::::0;::::1;4340:25:12::0;;;4381:18;;;4374:34;;;5706:46:0;;-1:-1:-1;;;;;;5763:11:0::1;::::0;:26:::1;::::0;4313:18:12;;5763:53:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;5315:509;;5239:585:::0;;:::o;7002:195::-;7052:4;7068:18;7099:33;;;;;;-1:-1:-1;;;6012:28:12;;6065:2;6056:12;;5810:264;1760:645:1;694:19;762:10;726:47;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;726:47:1;;;;;;;716:58;;726:47;716:58;;;;793:11;;-1:-1:-1;;;793:39:1;;;;;643:25:12;;;716:58:1;;-1:-1:-1;;;;;;793:11:1;;:26;;616:18:12;;793:39:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;785:84;;;;-1:-1:-1;;;785:84:1;;;;;;;:::i;:::-;1744:1:6::1;2325:7;;:19;;2317:63;;;::::0;-1:-1:-1;;;2317:63:6;;7025:2:12;2317:63:6::1;::::0;::::1;7007:21:12::0;7064:2;7044:18;;;7037:30;7103:33;7083:18;;;7076:61;7154:18;;2317:63:6::1;6823:355:12::0;2317:63:6::1;1744:1;2455:7;:18:::0;1903:38:1::2;::::0;-1:-1:-1;;;1903:38:1::2;::::0;::::2;7385:33:12::0;1867:23:1::2;::::0;7434:12:12;;1903:38:1::2;;;;;;;;;;;;1893:49;;;;;;1867:75;;1953:17;1983:37;;;;;;-1:-1:-1::0;;;7659:32:12;;7716:2;7707:12;;7457:268;1983:37:1::2;;::::0;;;;::::2;-1:-1:-1::0;;1983:37:1;;;;;;;1973:48;;1983:37:::2;1973:48:::0;;::::2;::::0;2042:11:::2;::::0;-1:-1:-1;;;2042:43:1;;::::2;::::0;::::2;643:25:12::0;;;1973:48:1;;-1:-1:-1;2102:1:1::2;::::0;2088:10;;-1:-1:-1;;;;;2042:11:1::2;::::0;:26:::2;::::0;616:18:12;;2042:43:1::2;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;;;;:::i;:::-;:61;;2034:120;;;::::0;-1:-1:-1;;;2034:120:1;;8194:2:12;2034:120:1::2;::::0;::::2;8176:21:12::0;8233:2;8213:18;;;8206:30;8272:34;8252:18;;;8245:62;-1:-1:-1;;;8323:18:12;;;8316:43;8376:19;;2034:120:1::2;7992:409:12::0;2034:120:1::2;2167:11;::::0;:60:::2;::::0;-1:-1:-1;;;2167:60:1;;::::2;::::0;::::2;4340:25:12::0;;;4381:18;;;4374:34;;;-1:-1:-1;;;;;2167:11:1;;::::2;::::0;:31:::2;::::0;4313:18:12;;2167:60:1::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;2241:11:1::2;::::0;:54:::2;::::0;-1:-1:-1;;;2241:54:1;;::::2;::::0;::::2;4340:25:12::0;;;4381:18;;;4374:34;;;-1:-1:-1;;;;;2241:11:1;;::::2;::::0;-1:-1:-1;2241:31:1::2;::::0;-1:-1:-1;4313:18:12;;2241:54:1::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;2312:12;2338:3;-1:-1:-1::0;;;;;2330:17:1::2;2355:10;2330:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2311:59;;;2389:7;2381:16;;;::::0;::::2;;-1:-1:-1::0;;1701:1:6::1;2628:22:::0;;-1:-1:-1;;;;1760:645:1:o;3713:351:0:-;-1:-1:-1;;;;;;;;;;;2505:30:4;726:25:0;719:10:8;2505::4;:30::i;:::-;3812:11:0::1;::::0;3849:30:::1;::::0;-1:-1:-1;;;;;3812:11:0;;::::1;::::0;:26:::1;::::0;3849:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;3839:41;;;;;;3812:69;;;;;;;;;;;;;643:25:12::0;;631:2;616:18;;497:177;3812:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3811:70;3803:112;;;;-1:-1:-1::0;;;3803:112:0::1;;;;;;;:::i;:::-;3957:33;::::0;-1:-1:-1;;;3957:33:0::1;::::0;::::1;6012:28:12::0;3926:18:0::1;::::0;6056:12:12;;3957:33:0::1;5810:264:12::0;7640:199:0;7690:4;7706:19;7738:35;;;;;;-1:-1:-1;;;5741:30:12;;5796:2;5787:12;;5539:266;4761:362:0;-1:-1:-1;;;;;;;;;;;2505:30:4;726:25:0;719:10:8;2505::4;:30::i;:::-;4861:11:0::1;::::0;4898:30:::1;::::0;-1:-1:-1;;;;;4861:11:0;;::::1;::::0;:26:::1;::::0;4898:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;4888:41;;;;;;4861:69;;;;;;;;;;;;;643:25:12::0;;631:2;616:18;;497:177;4861:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4860:70;4852:112;;;;-1:-1:-1::0;;;4852:112:0::1;;;;;;;:::i;:::-;5009:37;::::0;-1:-1:-1;;;5009:37:0::1;::::0;::::1;5037:32:12::0;4975:21:0::1;::::0;5085:12:12;;5009:37:0::1;4835:268:12::0;7205:212:0;7255:4;7271:21;7305:44;;;;;;-1:-1:-1;;;8818:39:12;;8882:2;8873:12;;8616:275;6317:268:0;6367:7;6386:18;6417:48;;;;;;-1:-1:-1;;;9199:31:12;;-1:-1:-1;;;9255:2:12;9246:12;;9239:32;9296:2;9287:12;;8896:409;6417:48:0;;;;;;;-1:-1:-1;;6417:48:0;;;;;;;6407:59;;6417:48;6407:59;;;;6503:11;;-1:-1:-1;;;6503:41:0;;;;;643:25:12;;;6407:59:0;;-1:-1:-1;6477:23:0;;-1:-1:-1;;;;;6503:11:0;;;;:29;;616:18:12;;6503:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6477:67;6317:268;-1:-1:-1;;;6317:268:0:o;2909:145:4:-;2995:4;3018:12;;;;;;;;;;;-1:-1:-1;;;;;3018:29:4;;;;;;;;;;;;;;;2909:145::o;2965:198:0:-;-1:-1:-1;;;;;;;;;;;2505:30:4;726:25:0;719:10:8;2505::4;:30::i;:::-;3039:17:0::1;3069:30;;;;;;;:::i;:::-;;::::0;;;;::::1;-1:-1:-1::0;;3069:30:0;;;;;;;3059:41;;3069:30:::1;3059:41:::0;;::::1;::::0;3111:11:::1;::::0;-1:-1:-1;;;3111:44:0;;::::1;::::0;::::1;9734:25:12::0;;;9802:14;;9795:22;9775:18;;;9768:50;3059:41:0;;-1:-1:-1;;;;;;3111:11:0::1;::::0;:26:::1;::::0;9707:18:12;;3111:44:0::1;9566:258:12::0;1526:222:1;694:19;762:10;726:47;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;726:47:1;;;;;;;716:58;;726:47;716:58;;;;793:11;;-1:-1:-1;;;793:39:1;;;;;643:25:12;;;716:58:1;;-1:-1:-1;;;;;;793:11:1;;:26;;616:18:12;;793:39:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;785:84;;;;-1:-1:-1;;;785:84:1;;;;;;;:::i;:::-;1631:38:::1;::::0;-1:-1:-1;;;1631:38:1::1;::::0;::::1;7385:33:12::0;1595:23:1::1;::::0;7434:12:12;;1631:38:1::1;::::0;;;;::::1;-1:-1:-1::0;;1631:38:1;;;;;;;1621:49;;1631:38:::1;1621:49:::0;;::::1;::::0;1681:11:::1;::::0;-1:-1:-1;;;1681:59:1;;::::1;::::0;::::1;4340:25:12::0;;;1730:9:1::1;4381:18:12::0;;;4374:34;1621:49:1;;-1:-1:-1;;;;;;1681:11:1::1;::::0;:31:::1;::::0;4313:18:12;;1681:59:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;1584:164;683:204:::0;1526:222::o;4271:372:0:-;-1:-1:-1;;;;;;;;;;;2505:30:4;726:25:0;719:10:8;2505::4;:30::i;:::-;4372:11:0::1;::::0;4409:30:::1;::::0;-1:-1:-1;;;;;4372:11:0;;::::1;::::0;:26:::1;::::0;4409:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;4399:41;;;;;;4372:69;;;;;;;;;;;;;643:25:12::0;;631:2;616:18;;497:177;4372:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4371:70;4363:112;;;;-1:-1:-1::0;;;4363:112:0::1;;;;;;;:::i;:::-;4520:44;::::0;-1:-1:-1;;;4520:44:0::1;::::0;::::1;8818:39:12::0;4486:21:0::1;::::0;8873:12:12;;4520:44:0::1;8616:275:12::0;2661:270:1;2712:7;2731:18;2762:49;;;;;;-1:-1:-1;;;10132:31:12;;-1:-1:-1;;;10188:2:12;10179:12;;10172:33;10230:2;10221:12;;9829:410;1311:207:1;1358:4;1374:23;1410:38;;;;;;-1:-1:-1;;;7385:33:12;;7443:2;7434:12;;7183:269;4766:147:4;4082:7;4108:12;;;;;;;;;;:22;;;2505:30;2516:4;719:10:8;2505::4;:30::i;:::-;4880:26:::1;4892:4;4898:7;4880:11;:26::i;2413:240:1:-:0;694:19;762:10;726:47;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;726:47:1;;;;;;;716:58;;726:47;716:58;;;;793:11;;-1:-1:-1;;;793:39:1;;;;;643:25:12;;;716:58:1;;-1:-1:-1;;;;;;793:11:1;;:26;;616:18:12;;793:39:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;785:84;;;;-1:-1:-1;;;785:84:1;;;;;;;:::i;:::-;1744:1:6::1;2325:7;;:19;;2317:63;;;::::0;-1:-1:-1;;;2317:63:6;;7025:2:12;2317:63:6::1;::::0;::::1;7007:21:12::0;7064:2;7044:18;;;7037:30;7103:33;7083:18;;;7076:61;7154:18;;2317:63:6::1;6823:355:12::0;2317:63:6::1;1744:1;2455:7;:18:::0;2536:38:1::2;::::0;-1:-1:-1;;;2536:38:1::2;::::0;::::2;7385:33:12::0;2500:23:1::2;::::0;7434:12:12;;2536:38:1::2;::::0;;;;::::2;-1:-1:-1::0;;2536:38:1;;;;;;;2526:49;;2536:38:::2;2526:49:::0;;::::2;::::0;2586:11:::2;::::0;-1:-1:-1;;;2586:59:1;;::::2;::::0;::::2;4340:25:12::0;;;2635:9:1::2;4381:18:12::0;;;4374:34;2526:49:1;;-1:-1:-1;;;;;;2586:11:1::2;::::0;:31:::2;::::0;4313:18:12;;2586:59:1::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;7425:207:0::0;7477:4;7493:21;7527:37;;;;;;-1:-1:-1;;;5037:32:12;;5094:2;5085:12;;4835:268;3335:492:4;3423:22;3431:4;3437:7;3423;:22::i;:::-;3418:403;;3606:41;3634:7;-1:-1:-1;;;;;3606:41:4;3644:2;3606:19;:41::i;:::-;3718:38;3746:4;3753:2;3718:19;:38::i;:::-;3513:265;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3513:265:4;;;;;;;;;;-1:-1:-1;;;3461:349:4;;;;;;;:::i;6861:233::-;6944:22;6952:4;6958:7;6944;:22::i;:::-;6939:149;;6982:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6982:29:4;;;;;;;;;:36;;-1:-1:-1;;6982:36:4;7014:4;6982:36;;;7064:12;719:10:8;;640:96;7064:12:4;-1:-1:-1;;;;;7037:40:4;7055:7;-1:-1:-1;;;;;7037:40:4;7049:4;7037:40;;;;;;;;;;6861:233;;:::o;7219:234::-;7302:22;7310:4;7316:7;7302;:22::i;:::-;7298:149;;;7372:5;7340:12;;;;;;;;;;;-1:-1:-1;;;;;7340:29:4;;;;;;;;;;:37;;-1:-1:-1;;7340:37:4;;;7396:40;719:10:8;;7340:12:4;;7396:40;;7372:5;7396:40;7219:234;;:::o;1588:441:9:-;1663:13;1688:19;1720:10;1724:6;1720:1;:10;:::i;:::-;:14;;1733:1;1720:14;:::i;:::-;1710:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1710:25:9;;1688:47;;-1:-1:-1;;;1745:6:9;1752:1;1745:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1745:15:9;;;;;;;;;-1:-1:-1;;;1770:6:9;1777:1;1770:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1770:15:9;;;;;;;;-1:-1:-1;1800:9:9;1812:10;1816:6;1812:1;:10;:::i;:::-;:14;;1825:1;1812:14;:::i;:::-;1800:26;;1795:132;1832:1;1828;:5;1795:132;;;-1:-1:-1;;;1879:5:9;1887:3;1879:11;1866:25;;;;;;;:::i;:::-;;;;1854:6;1861:1;1854:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;1854:37:9;;;;;;;;-1:-1:-1;1915:1:9;1905:11;;;;;1835:3;;;:::i;:::-;;;1795:132;;;-1:-1:-1;1944:10:9;;1936:55;;;;-1:-1:-1;;;1936:55:9;;12599:2:12;1936:55:9;;;12581:21:12;;;12618:18;;;12611:30;12677:34;12657:18;;;12650:62;12729:18;;1936:55:9;12397:356:12;14:286;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:12;;209:43;;199:71;;266:1;263;256:12;679:180;738:6;791:2;779:9;770:7;766:23;762:32;759:52;;;807:1;804;797:12;759:52;-1:-1:-1;830:23:12;;679:180;-1:-1:-1;679:180:12:o;1231:131::-;-1:-1:-1;;;;;1306:31:12;;1296:42;;1286:70;;1352:1;1349;1342:12;1286:70;1231:131;:::o;1367:247::-;1426:6;1479:2;1467:9;1458:7;1454:23;1450:32;1447:52;;;1495:1;1492;1485:12;1447:52;1534:9;1521:23;1553:31;1578:5;1553:31;:::i;1619:315::-;1687:6;1695;1748:2;1736:9;1727:7;1723:23;1719:32;1716:52;;;1764:1;1761;1754:12;1716:52;1800:9;1787:23;1777:33;;1860:2;1849:9;1845:18;1832:32;1873:31;1898:5;1873:31;:::i;:::-;1923:5;1913:15;;;1619:315;;;;;:::o;1939:::-;2007:6;2015;2068:2;2056:9;2047:7;2043:23;2039:32;2036:52;;;2084:1;2081;2074:12;2036:52;2123:9;2110:23;2142:31;2167:5;2142:31;:::i;:::-;2192:5;2244:2;2229:18;;;;2216:32;;-1:-1:-1;;;1939:315:12:o;2467:118::-;2553:5;2546:13;2539:21;2532:5;2529:32;2519:60;;2575:1;2572;2565:12;2590:241;2646:6;2699:2;2687:9;2678:7;2674:23;2670:32;2667:52;;;2715:1;2712;2705:12;2667:52;2754:9;2741:23;2773:28;2795:5;2773:28;:::i;3103:184::-;3173:6;3226:2;3214:9;3205:7;3201:23;3197:32;3194:52;;;3242:1;3239;3232:12;3194:52;-1:-1:-1;3265:16:12;;3103:184;-1:-1:-1;3103:184:12:o;3292:261::-;-1:-1:-1;;;3494:25:12;;3544:2;3535:12;;3292:261::o;3558:245::-;3625:6;3678:2;3666:9;3657:7;3653:23;3649:32;3646:52;;;3694:1;3691;3684:12;3646:52;3726:9;3720:16;3745:28;3767:5;3745:28;:::i;3808:353::-;4010:2;3992:21;;;4049:2;4029:18;;;4022:30;4088:31;4083:2;4068:18;;4061:59;4152:2;4137:18;;3808:353::o;6079:378::-;-1:-1:-1;;;6309:30:12;;6377:2;6373:15;;;;-1:-1:-1;;6369:53:12;6364:2;6355:12;;6348:75;6448:2;6439:12;;6079:378::o;6462:356::-;6664:2;6646:21;;;6683:18;;;6676:30;6742:34;6737:2;6722:18;;6715:62;6809:2;6794:18;;6462:356::o;7730:127::-;7791:10;7786:3;7782:20;7779:1;7772:31;7822:4;7819:1;7812:15;7846:4;7843:1;7836:15;7862:125;7902:4;7930:1;7927;7924:8;7921:34;;;7935:18;;:::i;:::-;-1:-1:-1;7972:9:12;;7862:125::o;9310:251::-;9380:6;9433:2;9421:9;9412:7;9408:23;9404:32;9401:52;;;9449:1;9446;9439:12;9401:52;9481:9;9475:16;9500:31;9525:5;9500:31;:::i;10244:258::-;10316:1;10326:113;10340:6;10337:1;10334:13;10326:113;;;10416:11;;;10410:18;10397:11;;;10390:39;10362:2;10355:10;10326:113;;;10457:6;10454:1;10451:13;10448:48;;;10492:1;10483:6;10478:3;10474:16;10467:27;10448:48;;10244:258;;;:::o;10507:786::-;10918:25;10913:3;10906:38;10888:3;10973:6;10967:13;10989:62;11044:6;11039:2;11034:3;11030:12;11023:4;11015:6;11011:17;10989:62;:::i;:::-;-1:-1:-1;;;11110:2:12;11070:16;;;11102:11;;;11095:40;11160:13;;11182:63;11160:13;11231:2;11223:11;;11216:4;11204:17;;11182:63;:::i;:::-;11265:17;11284:2;11261:26;;10507:786;-1:-1:-1;;;;10507:786:12:o;11298:383::-;11447:2;11436:9;11429:21;11410:4;11479:6;11473:13;11522:6;11517:2;11506:9;11502:18;11495:34;11538:66;11597:6;11592:2;11581:9;11577:18;11572:2;11564:6;11560:15;11538:66;:::i;:::-;11665:2;11644:15;-1:-1:-1;;11640:29:12;11625:45;;;;11672:2;11621:54;;11298:383;-1:-1:-1;;11298:383:12:o;11686:168::-;11726:7;11792:1;11788;11784:6;11780:14;11777:1;11774:21;11769:1;11762:9;11755:17;11751:45;11748:71;;;11799:18;;:::i;:::-;-1:-1:-1;11839:9:12;;11686:168::o;11859:128::-;11899:3;11930:1;11926:6;11923:1;11920:13;11917:39;;;11936:18;;:::i;:::-;-1:-1:-1;11972:9:12;;11859:128::o;11992:127::-;12053:10;12048:3;12044:20;12041:1;12034:31;12084:4;12081:1;12074:15;12108:4;12105:1;12098:15;12124:127;12185:10;12180:3;12176:20;12173:1;12166:31;12216:4;12213:1;12206:15;12240:4;12237:1;12230:15;12256:136;12295:3;12323:5;12313:39;;12332:18;;:::i;:::-;-1:-1:-1;;;12368:18:12;;12256:136::o" + }, + "gasEstimates": { + "creation": { + "codeDepositCost": "1610800", + "executionCost": "infinite", + "totalCost": "infinite" + }, + "external": { + "DEFAULT_ADMIN_ROLE()": "284", + "POOL_MANAGER()": "infinite", + "addPoolManager(address)": "infinite", + "getContributionLimit()": "infinite", + "getMinContribution()": "infinite", + "getPoolBaseAddress()": "infinite", + "getPoolMaxSize()": "infinite", + "getPoolState()": "infinite", + "getPoolVaultAddress()": "infinite", + "getRewardsInterest()": "infinite", + "getRewardsInterval()": "infinite", + "getRoleAdmin(bytes32)": "2515", + "grantRole(bytes32,address)": "infinite", + "hasRole(bytes32,address)": "2717", + "poolEtherSize()": "infinite", + "processRewards()": "infinite", + "removePoolManager(address)": "infinite", + "renounceRole(bytes32,address)": "29040", + "revokeRole(bytes32,address)": "infinite", + "setContributionLimit(uint256)": "infinite", + "setMinContribution(uint256)": "infinite", + "setPoolLive(bool)": "infinite", + "setPoolMaxSize(uint256)": "infinite", + "setRewardsInterest(uint256)": "infinite", + "setRewardsInterval(uint256)": "infinite", + "storeEther()": "infinite", + "supportsInterface(bytes4)": "473", + "withdrawEther(address,uint256)": "infinite" + }, + "internal": { + "_setPoolVaultAddress()": "infinite" + } + }, + "methodIdentifiers": { + "DEFAULT_ADMIN_ROLE()": "a217fddf", + "POOL_MANAGER()": "62308e85", + "addPoolManager(address)": "45077e71", + "getContributionLimit()": "fa1e19e5", + "getMinContribution()": "6cff7473", + "getPoolBaseAddress()": "8ae68134", + "getPoolMaxSize()": "095df57f", + "getPoolState()": "217ac237", + "getPoolVaultAddress()": "c3577d48", + "getRewardsInterest()": "7521796f", + "getRewardsInterval()": "497d0241", + "getRoleAdmin(bytes32)": "248a9ca3", + "grantRole(bytes32,address)": "2f2ff15d", + "hasRole(bytes32,address)": "91d14854", + "poolEtherSize()": "ccfe0c8e", + "processRewards()": "f9fc0d07", + "removePoolManager(address)": "29ca15bc", + "renounceRole(bytes32,address)": "36568abe", + "revokeRole(bytes32,address)": "d547741f", + "setContributionLimit(uint256)": "72d099a0", + "setMinContribution(uint256)": "473b0d46", + "setPoolLive(bool)": "a4975516", + "setPoolMaxSize(uint256)": "12646987", + "setRewardsInterest(uint256)": "bf4c0036", + "setRewardsInterval(uint256)": "53710f49", + "storeEther()": "a7cc190a", + "supportsInterface(bytes4)": "01ffc9a7", + "withdrawEther(address,uint256)": "522f6815" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract DataStorageInterface\",\"name\":\"_dataStorageAddress\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_removedManager\",\"type\":\"address\"}],\"name\":\"ManagerRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_newManager\",\"type\":\"address\"}],\"name\":\"NewManagerAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"POOL_MANAGER\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"addPoolManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getContributionLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMinContribution\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolBaseAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolMaxSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolState\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolVaultAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsInterest\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsInterval\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolEtherSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"processRewards\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"removePoolManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newContrLimit\",\"type\":\"uint256\"}],\"name\":\"setContributionLimit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newMinContr\",\"type\":\"uint256\"}],\"name\":\"setMinContribution\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_live\",\"type\":\"bool\"}],\"name\":\"setPoolLive\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxSize\",\"type\":\"uint256\"}],\"name\":\"setPoolMaxSize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_rewardsInterest\",\"type\":\"uint256\"}],\"name\":\"setRewardsInterest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_daysToRewards\",\"type\":\"uint256\"}],\"name\":\"setRewardsInterval\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"storeEther\",\"outputs\":[],\"stateMutability\":\"payable\",\"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\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_ethAmount\",\"type\":\"uint256\"}],\"name\":\"withdrawEther\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role.\"},\"setContributionLimit(uint256)\":{\"details\":\"Set the max. contribution allowed for each user.\",\"params\":{\"_newContrLimit\":\"is a WEI value.\"}},\"setMinContribution(uint256)\":{\"details\":\"Set the min. contribution allowed for each user.\",\"params\":{\"_newMinContr\":\"is a WEI value.\"}},\"setPoolLive(bool)\":{\"details\":\"Toggles the Pool Investing Switch. \"},\"setPoolMaxSize(uint256)\":{\"details\":\"Sets the Pool Maximium size expressed on ether.\",\"params\":{\"_maxSize\":\"is a WEI value (or BigInt / BigNumber).\"}},\"setRewardsInterest(uint256)\":{\"details\":\"Set the interest per effective period.\",\"params\":{\"_rewardsInterest\":\"within the storage has 6 decimals.\"}},\"setRewardsInterval(uint256)\":{\"details\":\"Set the interval in days of the rewards period.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"setPoolLive(bool)\":{\"notice\":\"While live, anyone can invest but any state variable can be modified nor deleted.\"},\"setRewardsInterest(uint256)\":{\"notice\":\"E.G. If 0.001134 rate is desired, 0.001134 * (10**6) = 1134.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolVault.sol\":\"PoolVault\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol\":{\"keccak256\":\"0x3975407e20a5345cd87826b306c7396e1dbb89c869df5e22338573a6ae16bc10\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1edcadb90f5e1fecf0d1f1f3d3aba9ae54f0ff97819b3ef07294b1d0aca1220d\",\"dweb:/ipfs/QmRA9ZSxbGGb1cKEzjTbxfBaWtnZmpb152Z2JhobRxuhnw\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolVault.sol\":{\"keccak256\":\"0x7a91be4df3f554ec5e002086737ac3ba445ae127ec0be51aacb9d3c6622ddfd3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9fa1fee27d2bb22613c0c444487ada390f7a4bb07e7e6cde77fab2895f84c12\",\"dweb:/ipfs/QmRvc1nToyjgjbSVVSfrmYtRJ47LCkt9Hpi1J3ZZ9KH9Sh\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol\":{\"keccak256\":\"0xf4a98c1519c0382a5c40cb047b7c1a33713d46062b68907c38eba7e24ce87773\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5921b6865f1504704ffbb252f719db25619236bed2ae94b18df01e1333bb4161\",\"dweb:/ipfs/QmR5TQmepq7zVfLD4WPUnVgHRRwYXDghwdrDqzgCWBmVvP\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/rwETHTokenInterface.sol\":{\"keccak256\":\"0x6717fc36882425132d1466f1c6e9ddd6b527bcb228c2bebba10f352f1db9d171\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3b49d4927ebdfeb63c9ba8c2a749cb4293b1c36ef4e5e844de0e6b971d7f9a9b\",\"dweb:/ipfs/QmdAFy37toxrpLcGaR3smweP5vHYwjpLapAHJMQYC6vFL8\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0x4a1a0ba12bf1a33f10d9fe226278cf59675c0b929d29e4da99658a079b27fb84\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bda1319db846d6d6f92d8a57a9bdee8bde1dc39aa7546165791692c24dd6f30a\",\"dweb:/ipfs/Qma5oZ7DmbdAjd8mpiW7mx896PDtwsQtCQ2hj9Upf7b7JK\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol\":{\"keccak256\":\"0x0e9621f60b2faabe65549f7ed0f24e8853a45c1b7990d47e8160e523683f3935\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://287a2f8d5814dd0f05f22b740f18ca8321acc21c9bd03a6cb2203ea626e2f3f2\",\"dweb:/ipfs/QmZRQv9iuwU817VuqkA2WweiaibKii69x9QxYBBEfbNEud\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xbbc8ac883ac3c0078ce5ad3e288fbb3ffcc8a30c3a98c0fda0114d64fc44fca2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87a7a5d2f6f63f84598af02b8c50ca2df2631cb8ba2453e8d95fcb17e4be9824\",\"dweb:/ipfs/QmR76hqtAcRqoFj33tmNjcWTLrgNsAaakYwnKZ8zoJtKei\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}", + "storageLayout": { + "storage": [ + { + "astId": 1008, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolVault.sol:PoolVault", + "label": "_roles", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_bytes32,t_struct(RoleData)1003_storage)" + }, + { + "astId": 1376, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolVault.sol:PoolVault", + "label": "_status", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 26, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolVault.sol:PoolVault", + "label": "dataStorage", + "offset": 0, + "slot": "2", + "type": "t_contract(DataStorageInterface)936" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_contract(DataStorageInterface)936": { + "encoding": "inplace", + "label": "contract DataStorageInterface", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_bool)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_bytes32,t_struct(RoleData)1003_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => struct AccessControl.RoleData)", + "numberOfBytes": "32", + "value": "t_struct(RoleData)1003_storage" + }, + "t_struct(RoleData)1003_storage": { + "encoding": "inplace", + "label": "struct AccessControl.RoleData", + "members": [ + { + "astId": 1000, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolVault.sol:PoolVault", + "label": "members", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 1002, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolVault.sol:PoolVault", + "label": "adminRole", + "offset": 0, + "slot": "1", + "type": "t_bytes32" + } + ], + "numberOfBytes": "64" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } + }, + "userdoc": { + "kind": "user", + "methods": { + "setPoolLive(bool)": { + "notice": "While live, anyone can invest but any state variable can be modified nor deleted." + }, + "setRewardsInterest(uint256)": { + "notice": "E.G. If 0.001134 rate is desired, 0.001134 * (10**6) = 1134." + } + }, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol": { + "DataStorageInterface": { + "abi": [ + { + "inputs": [], + "name": "confirmGuard", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_decrement", + "type": "uint256" + } + ], + "name": "decreaseUintStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "deleteAddressStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "deleteBoolStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "deleteUintStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getAddressStorage", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getBoolStorage", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getCurrentGuardian", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getDataStorageAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getStorageStatus", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getUintStorage", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_increment", + "type": "uint256" + } + ], + "name": "increaseUintStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_value", + "type": "address" + } + ], + "name": "setAddressStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bool", + "name": "_value", + "type": "bool" + } + ], + "name": "setBoolStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_newGuardian", + "type": "address" + } + ], + "name": "setNewGuardian", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "setStorageLive", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "setUintStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "confirmGuard()": "27918182", + "decreaseUintStorage(bytes32,uint256)": "5bcfee67", + "deleteAddressStorage(bytes32)": "e732da72", + "deleteBoolStorage(bytes32)": "b240da3f", + "deleteUintStorage(bytes32)": "8a2c6738", + "getAddressStorage(bytes32)": "2a90bbb2", + "getBoolStorage(bytes32)": "55d94655", + "getCurrentGuardian()": "0bc169a5", + "getDataStorageAddress()": "638f8360", + "getStorageStatus()": "545e1b52", + "getUintStorage(bytes32)": "afc3602b", + "increaseUintStorage(bytes32,uint256)": "1d8895e0", + "setAddressStorage(bytes32,address)": "7221263a", + "setBoolStorage(bytes32,bool)": "988c515b", + "setNewGuardian(address)": "e87f7c31", + "setStorageLive()": "66b80832", + "setUintStorage(bytes32,uint256)": "28192c55" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"confirmGuard\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_decrement\",\"type\":\"uint256\"}],\"name\":\"decreaseUintStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"deleteAddressStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"deleteBoolStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"deleteUintStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"getAddressStorage\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"getBoolStorage\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCurrentGuardian\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDataStorageAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getStorageStatus\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"getUintStorage\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_increment\",\"type\":\"uint256\"}],\"name\":\"increaseUintStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_value\",\"type\":\"address\"}],\"name\":\"setAddressStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"_value\",\"type\":\"bool\"}],\"name\":\"setBoolStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newGuardian\",\"type\":\"address\"}],\"name\":\"setNewGuardian\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"setStorageLive\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"setUintStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol\":\"DataStorageInterface\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol\":{\"keccak256\":\"0xf4a98c1519c0382a5c40cb047b7c1a33713d46062b68907c38eba7e24ce87773\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5921b6865f1504704ffbb252f719db25619236bed2ae94b18df01e1333bb4161\",\"dweb:/ipfs/QmR5TQmepq7zVfLD4WPUnVgHRRwYXDghwdrDqzgCWBmVvP\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/rwETHTokenInterface.sol": { + "rwETHTokenInterface": { + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "spender", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_rwEthAmount", + "type": "uint256" + } + ], + "name": "burn", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_rwEthAmount", + "type": "uint256" + } + ], + "name": "calcEthValue", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_ethAmount", + "type": "uint256" + } + ], + "name": "calcRwEthValue", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRwETHTokenAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_ethAmount", + "type": "uint256" + } + ], + "name": "getUnitPrice", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_ethAmount", + "type": "uint256" + } + ], + "name": "mint", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "setRwETHTokenAddress", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "devdoc": { + "kind": "dev", + "methods": { + "allowance(address,address)": { + "details": "Returns the remaining number of tokens that `spender` will be allowed to spend on behalf of `owner` through {transferFrom}. This is zero by default. This value changes when {approve} or {transferFrom} are called." + }, + "approve(address,uint256)": { + "details": "Sets `amount` as the allowance of `spender` over the caller's tokens. Returns a boolean value indicating whether the operation succeeded. IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 Emits an {Approval} event." + }, + "balanceOf(address)": { + "details": "Returns the amount of tokens owned by `account`." + }, + "totalSupply()": { + "details": "Returns the amount of tokens in existence." + }, + "transfer(address,uint256)": { + "details": "Moves `amount` tokens from the caller's account to `to`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event." + }, + "transferFrom(address,address,uint256)": { + "details": "Moves `amount` tokens from `from` to `to` using the allowance mechanism. `amount` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event." + } + }, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "allowance(address,address)": "dd62ed3e", + "approve(address,uint256)": "095ea7b3", + "balanceOf(address)": "70a08231", + "burn(uint256)": "42966c68", + "calcEthValue(uint256)": "12946fe1", + "calcRwEthValue(uint256)": "3ef3183c", + "getRwETHTokenAddress()": "d00283ce", + "getUnitPrice(uint256)": "64c0e52f", + "mint(address,uint256)": "40c10f19", + "setRwETHTokenAddress()": "e8022195", + "totalSupply()": "18160ddd", + "transfer(address,uint256)": "a9059cbb", + "transferFrom(address,address,uint256)": "23b872dd" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_rwEthAmount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_rwEthAmount\",\"type\":\"uint256\"}],\"name\":\"calcEthValue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_ethAmount\",\"type\":\"uint256\"}],\"name\":\"calcRwEthValue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRwETHTokenAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_ethAmount\",\"type\":\"uint256\"}],\"name\":\"getUnitPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_ethAmount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"setRwETHTokenAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"allowance(address,address)\":{\"details\":\"Returns the remaining number of tokens that `spender` will be allowed to spend on behalf of `owner` through {transferFrom}. This is zero by default. This value changes when {approve} or {transferFrom} are called.\"},\"approve(address,uint256)\":{\"details\":\"Sets `amount` as the allowance of `spender` over the caller's tokens. Returns a boolean value indicating whether the operation succeeded. IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the amount of tokens owned by `account`.\"},\"totalSupply()\":{\"details\":\"Returns the amount of tokens in existence.\"},\"transfer(address,uint256)\":{\"details\":\"Moves `amount` tokens from the caller's account to `to`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Moves `amount` tokens from `from` to `to` using the allowance mechanism. `amount` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/rwETHTokenInterface.sol\":\"rwETHTokenInterface\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/rwETHTokenInterface.sol\":{\"keccak256\":\"0x6717fc36882425132d1466f1c6e9ddd6b527bcb228c2bebba10f352f1db9d171\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3b49d4927ebdfeb63c9ba8c2a749cb4293b1c36ef4e5e844de0e6b971d7f9a9b\",\"dweb:/ipfs/QmdAFy37toxrpLcGaR3smweP5vHYwjpLapAHJMQYC6vFL8\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xbbc8ac883ac3c0078ce5ad3e288fbb3ffcc8a30c3a98c0fda0114d64fc44fca2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87a7a5d2f6f63f84598af02b8c50ca2df2631cb8ba2453e8d95fcb17e4be9824\",\"dweb:/ipfs/QmR76hqtAcRqoFj33tmNjcWTLrgNsAaakYwnKZ8zoJtKei\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol": { + "AccessControl": { + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "devdoc": { + "details": "Contract module that allows children to implement role-based access control mechanisms. This is a lightweight version that doesn't allow enumerating role members except through off-chain means by accessing the contract event logs. Some applications may benefit from on-chain enumerability, for those cases see {AccessControlEnumerable}. Roles are referred to by their `bytes32` identifier. These should be exposed in the external API and be unique. The best way to achieve this is by using `public constant` hash digests: ``` bytes32 public constant MY_ROLE = keccak256(\"MY_ROLE\"); ``` Roles can be used to represent a set of permissions. To restrict access to a function call, use {hasRole}: ``` function foo() public { require(hasRole(MY_ROLE, msg.sender)); ... } ``` Roles can be granted and revoked dynamically via the {grantRole} and {revokeRole} functions. Each role has an associated admin role, and only accounts that have a role's admin role can call {grantRole} and {revokeRole}. By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means that only accounts with this role will be able to grant or revoke other roles. More complex role relationships can be created by using {_setRoleAdmin}. WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to grant and revoke this role. Extra precautions should be taken to secure accounts that have been granted it.", + "kind": "dev", + "methods": { + "getRoleAdmin(bytes32)": { + "details": "Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}." + }, + "grantRole(bytes32,address)": { + "details": "Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role." + }, + "hasRole(bytes32,address)": { + "details": "Returns `true` if `account` has been granted `role`." + }, + "renounceRole(bytes32,address)": { + "details": "Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`." + }, + "revokeRole(bytes32,address)": { + "details": "Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role." + }, + "supportsInterface(bytes4)": { + "details": "See {IERC165-supportsInterface}." + } + }, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "DEFAULT_ADMIN_ROLE()": "a217fddf", + "getRoleAdmin(bytes32)": "248a9ca3", + "grantRole(bytes32,address)": "2f2ff15d", + "hasRole(bytes32,address)": "91d14854", + "renounceRole(bytes32,address)": "36568abe", + "revokeRole(bytes32,address)": "d547741f", + "supportsInterface(bytes4)": "01ffc9a7" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Contract module that allows children to implement role-based access control mechanisms. This is a lightweight version that doesn't allow enumerating role members except through off-chain means by accessing the contract event logs. Some applications may benefit from on-chain enumerability, for those cases see {AccessControlEnumerable}. Roles are referred to by their `bytes32` identifier. These should be exposed in the external API and be unique. The best way to achieve this is by using `public constant` hash digests: ``` bytes32 public constant MY_ROLE = keccak256(\\\"MY_ROLE\\\"); ``` Roles can be used to represent a set of permissions. To restrict access to a function call, use {hasRole}: ``` function foo() public { require(hasRole(MY_ROLE, msg.sender)); ... } ``` Roles can be granted and revoked dynamically via the {grantRole} and {revokeRole} functions. Each role has an associated admin role, and only accounts that have a role's admin role can call {grantRole} and {revokeRole}. By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means that only accounts with this role will be able to grant or revoke other roles. More complex role relationships can be created by using {_setRoleAdmin}. WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to grant and revoke this role. Extra precautions should be taken to secure accounts that have been granted it.\",\"kind\":\"dev\",\"methods\":{\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol\":\"AccessControl\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0x4a1a0ba12bf1a33f10d9fe226278cf59675c0b929d29e4da99658a079b27fb84\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bda1319db846d6d6f92d8a57a9bdee8bde1dc39aa7546165791692c24dd6f30a\",\"dweb:/ipfs/Qma5oZ7DmbdAjd8mpiW7mx896PDtwsQtCQ2hj9Upf7b7JK\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}", + "storageLayout": { + "storage": [ + { + "astId": 1008, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol:AccessControl", + "label": "_roles", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_bytes32,t_struct(RoleData)1003_storage)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_bool)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_bytes32,t_struct(RoleData)1003_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => struct AccessControl.RoleData)", + "numberOfBytes": "32", + "value": "t_struct(RoleData)1003_storage" + }, + "t_struct(RoleData)1003_storage": { + "encoding": "inplace", + "label": "struct AccessControl.RoleData", + "members": [ + { + "astId": 1000, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol:AccessControl", + "label": "members", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 1002, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol:AccessControl", + "label": "adminRole", + "offset": 0, + "slot": "1", + "type": "t_bytes32" + } + ], + "numberOfBytes": "64" + } + } + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol": { + "IAccessControl": { + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "devdoc": { + "details": "External interface of AccessControl declared to support ERC165 detection.", + "events": { + "RoleAdminChanged(bytes32,bytes32,bytes32)": { + "details": "Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite {RoleAdminChanged} not being emitted signaling this. _Available since v3.1._" + }, + "RoleGranted(bytes32,address,address)": { + "details": "Emitted when `account` is granted `role`. `sender` is the account that originated the contract call, an admin role bearer except when using {AccessControl-_setupRole}." + }, + "RoleRevoked(bytes32,address,address)": { + "details": "Emitted when `account` is revoked `role`. `sender` is the account that originated the contract call: - if using `revokeRole`, it is the admin role bearer - if using `renounceRole`, it is the role bearer (i.e. `account`)" + } + }, + "kind": "dev", + "methods": { + "getRoleAdmin(bytes32)": { + "details": "Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {AccessControl-_setRoleAdmin}." + }, + "grantRole(bytes32,address)": { + "details": "Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role." + }, + "hasRole(bytes32,address)": { + "details": "Returns `true` if `account` has been granted `role`." + }, + "renounceRole(bytes32,address)": { + "details": "Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`." + }, + "revokeRole(bytes32,address)": { + "details": "Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role." + } + }, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "getRoleAdmin(bytes32)": "248a9ca3", + "grantRole(bytes32,address)": "2f2ff15d", + "hasRole(bytes32,address)": "91d14854", + "renounceRole(bytes32,address)": "36568abe", + "revokeRole(bytes32,address)": "d547741f" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"External interface of AccessControl declared to support ERC165 detection.\",\"events\":{\"RoleAdminChanged(bytes32,bytes32,bytes32)\":{\"details\":\"Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite {RoleAdminChanged} not being emitted signaling this. _Available since v3.1._\"},\"RoleGranted(bytes32,address,address)\":{\"details\":\"Emitted when `account` is granted `role`. `sender` is the account that originated the contract call, an admin role bearer except when using {AccessControl-_setupRole}.\"},\"RoleRevoked(bytes32,address,address)\":{\"details\":\"Emitted when `account` is revoked `role`. `sender` is the account that originated the contract call: - if using `revokeRole`, it is the admin role bearer - if using `renounceRole`, it is the role bearer (i.e. `account`)\"}},\"kind\":\"dev\",\"methods\":{\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {AccessControl-_setRoleAdmin}.\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":\"IAccessControl\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol": { + "ReentrancyGuard": { + "abi": [], + "devdoc": { + "details": "Contract module that helps prevent reentrant calls to a function. Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier available, which can be applied to functions to make sure there are no nested (reentrant) calls to them. Note that because there is a single `nonReentrant` guard, functions marked as `nonReentrant` may not call one another. This can be worked around by making those functions `private`, and then adding `external` `nonReentrant` entry points to them. TIP: If you would like to learn more about reentrancy and alternative ways to protect against it, check out our blog post https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].", + "kind": "dev", + "methods": {}, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": {} + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Contract module that helps prevent reentrant calls to a function. Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier available, which can be applied to functions to make sure there are no nested (reentrant) calls to them. Note that because there is a single `nonReentrant` guard, functions marked as `nonReentrant` may not call one another. This can be worked around by making those functions `private`, and then adding `external` `nonReentrant` entry points to them. TIP: If you would like to learn more about reentrancy and alternative ways to protect against it, check out our blog post https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol\":\"ReentrancyGuard\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol\":{\"keccak256\":\"0x0e9621f60b2faabe65549f7ed0f24e8853a45c1b7990d47e8160e523683f3935\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://287a2f8d5814dd0f05f22b740f18ca8321acc21c9bd03a6cb2203ea626e2f3f2\",\"dweb:/ipfs/QmZRQv9iuwU817VuqkA2WweiaibKii69x9QxYBBEfbNEud\"]}},\"version\":1}", + "storageLayout": { + "storage": [ + { + "astId": 1376, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol:ReentrancyGuard", + "label": "_status", + "offset": 0, + "slot": "0", + "type": "t_uint256" + } + ], + "types": { + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol": { + "IERC20": { + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "spender", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "devdoc": { + "details": "Interface of the ERC20 standard as defined in the EIP.", + "events": { + "Approval(address,address,uint256)": { + "details": "Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance." + }, + "Transfer(address,address,uint256)": { + "details": "Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero." + } + }, + "kind": "dev", + "methods": { + "allowance(address,address)": { + "details": "Returns the remaining number of tokens that `spender` will be allowed to spend on behalf of `owner` through {transferFrom}. This is zero by default. This value changes when {approve} or {transferFrom} are called." + }, + "approve(address,uint256)": { + "details": "Sets `amount` as the allowance of `spender` over the caller's tokens. Returns a boolean value indicating whether the operation succeeded. IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 Emits an {Approval} event." + }, + "balanceOf(address)": { + "details": "Returns the amount of tokens owned by `account`." + }, + "totalSupply()": { + "details": "Returns the amount of tokens in existence." + }, + "transfer(address,uint256)": { + "details": "Moves `amount` tokens from the caller's account to `to`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event." + }, + "transferFrom(address,address,uint256)": { + "details": "Moves `amount` tokens from `from` to `to` using the allowance mechanism. `amount` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event." + } + }, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "allowance(address,address)": "dd62ed3e", + "approve(address,uint256)": "095ea7b3", + "balanceOf(address)": "70a08231", + "totalSupply()": "18160ddd", + "transfer(address,uint256)": "a9059cbb", + "transferFrom(address,address,uint256)": "23b872dd" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface of the ERC20 standard as defined in the EIP.\",\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero.\"}},\"kind\":\"dev\",\"methods\":{\"allowance(address,address)\":{\"details\":\"Returns the remaining number of tokens that `spender` will be allowed to spend on behalf of `owner` through {transferFrom}. This is zero by default. This value changes when {approve} or {transferFrom} are called.\"},\"approve(address,uint256)\":{\"details\":\"Sets `amount` as the allowance of `spender` over the caller's tokens. Returns a boolean value indicating whether the operation succeeded. IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the amount of tokens owned by `account`.\"},\"totalSupply()\":{\"details\":\"Returns the amount of tokens in existence.\"},\"transfer(address,uint256)\":{\"details\":\"Moves `amount` tokens from the caller's account to `to`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Moves `amount` tokens from `from` to `to` using the allowance mechanism. `amount` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\":\"IERC20\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xbbc8ac883ac3c0078ce5ad3e288fbb3ffcc8a30c3a98c0fda0114d64fc44fca2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87a7a5d2f6f63f84598af02b8c50ca2df2631cb8ba2453e8d95fcb17e4be9824\",\"dweb:/ipfs/QmR76hqtAcRqoFj33tmNjcWTLrgNsAaakYwnKZ8zoJtKei\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol": { + "Context": { + "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 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": {} + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"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\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol\":\"Context\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol": { + "Strings": { + "abi": [], + "devdoc": { + "details": "String operations.", + "kind": "dev", + "methods": {}, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202f9345af5ae9c45c24126d0cdf967b54d208ff8960058323c80bace4d36c3bae64736f6c63430008090033", + "opcodes": "PUSH1 0x56 PUSH1 0x37 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x2A JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST ADDRESS PUSH1 0x0 MSTORE PUSH1 0x73 DUP2 MSTORE8 DUP3 DUP2 RETURN INVALID PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x2F SWAP4 GASLIMIT 0xAF GAS 0xE9 0xC4 0x5C 0x24 SLT PUSH14 0xCDF967B54D208FF8960058323C8 SIGNEXTEND 0xAC 0xE4 0xD3 PUSH13 0x3BAE64736F6C63430008090033 ", + "sourceMap": "146:1885:9:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;146:1885:9;;;;;;;;;;;;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202f9345af5ae9c45c24126d0cdf967b54d208ff8960058323c80bace4d36c3bae64736f6c63430008090033", + "opcodes": "PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x2F SWAP4 GASLIMIT 0xAF GAS 0xE9 0xC4 0x5C 0x24 SLT PUSH14 0xCDF967B54D208FF8960058323C8 SIGNEXTEND 0xAC 0xE4 0xD3 PUSH13 0x3BAE64736F6C63430008090033 ", + "sourceMap": "146:1885:9:-:0;;;;;;;;" + }, + "gasEstimates": { + "creation": { + "codeDepositCost": "17200", + "executionCost": "103", + "totalCost": "17303" + }, + "internal": { + "toHexString(uint256)": "infinite", + "toHexString(uint256,uint256)": "infinite", + "toString(uint256)": "infinite" + } + }, + "methodIdentifiers": {} + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"String operations.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol\":\"Strings\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol": { + "ERC165": { + "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 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "supportsInterface(bytes4)": "01ffc9a7" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"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\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":\"ERC165\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol": { + "IERC165": { + "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 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "supportsInterface(bytes4)": "01ffc9a7" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"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\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":\"IERC165\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + } + }, + "sources": { + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol", + "exportedSymbols": { + "AccessControl": [ + 1292 + ], + "Context": [ + 1505 + ], + "DataStorageInterface": [ + 936 + ], + "ERC165": [ + 1732 + ], + "IAccessControl": [ + 1365 + ], + "IERC165": [ + 1744 + ], + "PoolBase": [ + 591 + ], + "ReentrancyGuard": [ + 1405 + ], + "Strings": [ + 1708 + ] + }, + "id": 592, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1, + "literals": [ + "solidity", + "0.8", + ".9" + ], + "nodeType": "PragmaDirective", + "src": "33:22:0" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol", + "file": "./interfaces/DataStorageInterface.sol", + "id": 2, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 592, + "sourceUnit": 937, + "src": "201:47:0", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol", + "file": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol", + "id": 3, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 592, + "sourceUnit": 1293, + "src": "250:132:0", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol", + "file": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol", + "id": 4, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 592, + "sourceUnit": 1406, + "src": "384:136:0", + "symbolAliases": [], + "unitAlias": "" + }, + { + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 6, + "name": "AccessControl", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1292, + "src": "648:13:0" + }, + "id": 7, + "nodeType": "InheritanceSpecifier", + "src": "648:13:0" + }, + { + "baseName": { + "id": 8, + "name": "ReentrancyGuard", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1405, + "src": "663:15:0" + }, + "id": 9, + "nodeType": "InheritanceSpecifier", + "src": "663:15:0" + } + ], + "canonicalName": "PoolBase", + "contractDependencies": [], + "contractKind": "contract", + "documentation": { + "id": 5, + "nodeType": "StructuredDocumentation", + "src": "524:101:0", + "text": "@title This contract handles the modifiers and environmental parameters that control the pool. " + }, + "fullyImplemented": true, + "id": 591, + "linearizedBaseContracts": [ + 591, + 1405, + 1292, + 1732, + 1744, + 1365, + 1505 + ], + "name": "PoolBase", + "nameLocation": "636:8:0", + "nodeType": "ContractDefinition", + "nodes": [ + { + "constant": true, + "functionSelector": "62308e85", + "id": 14, + "mutability": "constant", + "name": "POOL_MANAGER", + "nameLocation": "711:12:0", + "nodeType": "VariableDeclaration", + "scope": 591, + "src": "687:64:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 10, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "687:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": { + "arguments": [ + { + "hexValue": "504f4f4c5f4d414e41474552", + "id": 12, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "736:14:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842", + "typeString": "literal_string \"POOL_MANAGER\"" + }, + "value": "POOL_MANAGER" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842", + "typeString": "literal_string \"POOL_MANAGER\"" + } + ], + "id": 11, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "726:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 13, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "726:25:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "public" + }, + { + "anonymous": false, + "id": 18, + "name": "NewManagerAdded", + "nameLocation": "781:15:0", + "nodeType": "EventDefinition", + "parameters": { + "id": 17, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 16, + "indexed": true, + "mutability": "mutable", + "name": "_newManager", + "nameLocation": "813:11:0", + "nodeType": "VariableDeclaration", + "scope": 18, + "src": "797:27:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 15, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "797:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "796:29:0" + }, + "src": "775:51:0" + }, + { + "anonymous": false, + "id": 22, + "name": "ManagerRemoved", + "nameLocation": "838:14:0", + "nodeType": "EventDefinition", + "parameters": { + "id": 21, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 20, + "indexed": true, + "mutability": "mutable", + "name": "_removedManager", + "nameLocation": "869:15:0", + "nodeType": "VariableDeclaration", + "scope": 22, + "src": "853:31:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 19, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "853:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "852:33:0" + }, + "src": "832:54:0" + }, + { + "constant": false, + "documentation": { + "id": 23, + "nodeType": "StructuredDocumentation", + "src": "894:55:0", + "text": "@notice Getting access to the DataStorage Contract." + }, + "id": 26, + "mutability": "mutable", + "name": "dataStorage", + "nameLocation": "976:11:0", + "nodeType": "VariableDeclaration", + "scope": 591, + "src": "955:32:0", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + }, + "typeName": { + "id": 25, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 24, + "name": "DataStorageInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 936, + "src": "955:20:0" + }, + "referencedDeclaration": 936, + "src": "955:20:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "visibility": "internal" + }, + { + "body": { + "id": 54, + "nodeType": "Block", + "src": "1258:206:0", + "statements": [ + { + "expression": { + "id": 37, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 33, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "1269:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "id": 35, + "name": "_dataStorageAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 30, + "src": "1304:19:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + ], + "id": 34, + "name": "DataStorageInterface", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 936, + "src": "1283:20:0", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_DataStorageInterface_$936_$", + "typeString": "type(contract DataStorageInterface)" + } + }, + "id": 36, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1283:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "src": "1269:55:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 38, + "nodeType": "ExpressionStatement", + "src": "1269:55:0" + }, + { + "expression": { + "arguments": [ + { + "id": 40, + "name": "DEFAULT_ADMIN_ROLE", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1011, + "src": "1346:18:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "expression": { + "id": 41, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1366:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 42, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "1366:10:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 39, + "name": "_setupRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1200, + "src": "1335:10:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 43, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1335:42:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 44, + "nodeType": "ExpressionStatement", + "src": "1335:42:0" + }, + { + "expression": { + "arguments": [ + { + "id": 46, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "1399:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "expression": { + "id": 47, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1413:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 48, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "1413:10:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 45, + "name": "_setupRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1200, + "src": "1388:10:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 49, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1388:36:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 50, + "nodeType": "ExpressionStatement", + "src": "1388:36:0" + }, + { + "expression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 51, + "name": "_setPoolBaseAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 162, + "src": "1435:19:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", + "typeString": "function ()" + } + }, + "id": 52, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1435:21:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 53, + "nodeType": "ExpressionStatement", + "src": "1435:21:0" + } + ] + }, + "documentation": { + "id": 27, + "nodeType": "StructuredDocumentation", + "src": "1000:199:0", + "text": "@notice This contract will be deployed by the same address of the initial guardian. Afterwards Guardian may not be the same as the admin\n @notice if the guardian renounces to their guard." + }, + "id": 55, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 31, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 30, + "mutability": "mutable", + "name": "_dataStorageAddress", + "nameLocation": "1238:19:0", + "nodeType": "VariableDeclaration", + "scope": 55, + "src": "1217:40:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + }, + "typeName": { + "id": 29, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 28, + "name": "DataStorageInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 936, + "src": "1217:20:0" + }, + "referencedDeclaration": 936, + "src": "1217:20:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "visibility": "internal" + } + ], + "src": "1216:42:0" + }, + "returnParameters": { + "id": 32, + "nodeType": "ParameterList", + "parameters": [], + "src": "1258:0:0" + }, + "scope": 591, + "src": "1205:259:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 69, + "nodeType": "Block", + "src": "1638:124:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 64, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 59, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1657:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 60, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "1657:10:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 61, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "1671:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 62, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getCurrentGuardian", + "nodeType": "MemberAccess", + "referencedDeclaration": 848, + "src": "1671:30:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", + "typeString": "function () view external returns (address)" + } + }, + "id": 63, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1671:32:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "1657:46:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "4f6e6c792063616c6c61626c652062792063757272656e7420677561726469616e2e", + "id": 65, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1705:36:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c295098e4653db03d2d22453c3eb7ae49307d50964fb5a9a1311d3fef2f9e749", + "typeString": "literal_string \"Only callable by current guardian.\"" + }, + "value": "Only callable by current guardian." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_c295098e4653db03d2d22453c3eb7ae49307d50964fb5a9a1311d3fef2f9e749", + "typeString": "literal_string \"Only callable by current guardian.\"" + } + ], + "id": 58, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "1649:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 66, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1649:93:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 67, + "nodeType": "ExpressionStatement", + "src": "1649:93:0" + }, + { + "id": 68, + "nodeType": "PlaceholderStatement", + "src": "1753:1:0" + } + ] + }, + "documentation": { + "id": 56, + "nodeType": "StructuredDocumentation", + "src": "1515:86:0", + "text": "@notice Besides the access control contract, the following modifiers will be used." + }, + "id": 70, + "name": "onlyCurrentGuardian", + "nameLocation": "1616:19:0", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 57, + "nodeType": "ParameterList", + "parameters": [], + "src": "1635:2:0" + }, + "src": "1607:155:0", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 88, + "nodeType": "Block", + "src": "1797:155:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f657869737473", + "id": 78, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1870:17:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + "value": "contract_exists" + }, + { + "expression": { + "id": 79, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1889:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 80, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "1889:10:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 76, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1853:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 77, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1853:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 81, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1853:47:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 75, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1843:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 82, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1843:58:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 73, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "1816:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 74, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 873, + "src": "1816:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 83, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1816:86:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "496e76616c696420436f6e747261637420416464726573732e", + "id": 84, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1904:27:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_d36e2fdd2f4d349fc44a9cc6ea1a2b4f2a7eb320cfe91d40a3a9a6af97aada24", + "typeString": "literal_string \"Invalid Contract Address.\"" + }, + "value": "Invalid Contract Address." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_d36e2fdd2f4d349fc44a9cc6ea1a2b4f2a7eb320cfe91d40a3a9a6af97aada24", + "typeString": "literal_string \"Invalid Contract Address.\"" + } + ], + "id": 72, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "1808:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 85, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1808:124:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 86, + "nodeType": "ExpressionStatement", + "src": "1808:124:0" + }, + { + "id": 87, + "nodeType": "PlaceholderStatement", + "src": "1943:1:0" + } + ] + }, + "id": 89, + "name": "onlyPoolContract", + "nameLocation": "1779:16:0", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 71, + "nodeType": "ParameterList", + "parameters": [], + "src": "1795:2:0" + }, + "src": "1770:182:0", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 106, + "nodeType": "Block", + "src": "2077:93:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 98, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "2098:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 99, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 91, + "src": "2112:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 97, + "name": "grantRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1143, + "src": "2088:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 100, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2088:33:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 101, + "nodeType": "ExpressionStatement", + "src": "2088:33:0" + }, + { + "eventCall": { + "arguments": [ + { + "id": 103, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 91, + "src": "2153:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 102, + "name": "NewManagerAdded", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 18, + "src": "2137:15:0", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 104, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2137:25:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 105, + "nodeType": "EmitStatement", + "src": "2132:30:0" + } + ] + }, + "functionSelector": "45077e71", + "id": 107, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 94, + "name": "DEFAULT_ADMIN_ROLE", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1011, + "src": "2057:18:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 95, + "kind": "modifierInvocation", + "modifierName": { + "id": 93, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1024, + "src": "2048:8:0" + }, + "nodeType": "ModifierInvocation", + "src": "2048:28:0" + } + ], + "name": "addPoolManager", + "nameLocation": "2007:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 92, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 91, + "mutability": "mutable", + "name": "_address", + "nameLocation": "2031:8:0", + "nodeType": "VariableDeclaration", + "scope": 107, + "src": "2023:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 90, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2023:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2022:18:0" + }, + "returnParameters": { + "id": 96, + "nodeType": "ParameterList", + "parameters": [], + "src": "2077:0:0" + }, + "scope": 591, + "src": "1998:172:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 124, + "nodeType": "Block", + "src": "2260:93:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 116, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "2282:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 117, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 109, + "src": "2296:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 115, + "name": "revokeRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1163, + "src": "2271:10:0", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 118, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2271:34:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 119, + "nodeType": "ExpressionStatement", + "src": "2271:34:0" + }, + { + "eventCall": { + "arguments": [ + { + "id": 121, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 109, + "src": "2336:8:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 120, + "name": "ManagerRemoved", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 22, + "src": "2321:14:0", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 122, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2321:24:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 123, + "nodeType": "EmitStatement", + "src": "2316:29:0" + } + ] + }, + "functionSelector": "29ca15bc", + "id": 125, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 112, + "name": "DEFAULT_ADMIN_ROLE", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1011, + "src": "2240:18:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 113, + "kind": "modifierInvocation", + "modifierName": { + "id": 111, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1024, + "src": "2231:8:0" + }, + "nodeType": "ModifierInvocation", + "src": "2231:28:0" + } + ], + "name": "removePoolManager", + "nameLocation": "2187:17:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 110, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 109, + "mutability": "mutable", + "name": "_address", + "nameLocation": "2214:8:0", + "nodeType": "VariableDeclaration", + "scope": 125, + "src": "2206:16:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 108, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2206:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2205:18:0" + }, + "returnParameters": { + "id": 114, + "nodeType": "ParameterList", + "parameters": [], + "src": "2260:0:0" + }, + "scope": 591, + "src": "2178:175:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 161, + "nodeType": "Block", + "src": "2578:230:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f657869737473", + "id": 135, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2643:17:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + "value": "contract_exists" + }, + { + "arguments": [ + { + "id": 138, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "2670:4:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolBase_$591", + "typeString": "contract PoolBase" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_PoolBase_$591", + "typeString": "contract PoolBase" + } + ], + "id": 137, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2662:7:0", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 136, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2662:7:0", + "typeDescriptions": {} + } + }, + "id": 139, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2662:13:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 133, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "2626:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 134, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "2626:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 140, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2626:50:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 132, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "2616:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 141, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2616:61:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "hexValue": "74727565", + "id": 142, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2679:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "expression": { + "id": 129, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "2589:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 131, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 899, + "src": "2589:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_bool_$returns$__$", + "typeString": "function (bytes32,bool) external" + } + }, + "id": 143, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2589:95:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 144, + "nodeType": "ExpressionStatement", + "src": "2589:95:0" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f61646472657373", + "id": 151, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2752:18:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + "value": "contract_address" + }, + { + "hexValue": "506f6f6c42617365", + "id": 152, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2772:10:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27", + "typeString": "literal_string \"PoolBase\"" + }, + "value": "PoolBase" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + { + "typeIdentifier": "t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27", + "typeString": "literal_string \"PoolBase\"" + } + ], + "expression": { + "id": 149, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "2735:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 150, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "2735:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 153, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2735:48:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 148, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "2725:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 154, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2725:59:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "arguments": [ + { + "id": 157, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "2794:4:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolBase_$591", + "typeString": "contract PoolBase" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_PoolBase_$591", + "typeString": "contract PoolBase" + } + ], + "id": 156, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2786:7:0", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 155, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2786:7:0", + "typeDescriptions": {} + } + }, + "id": 158, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2786:13:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 145, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "2695:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 147, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setAddressStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 906, + "src": "2695:29:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address) external" + } + }, + "id": 159, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2695:105:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 160, + "nodeType": "ExpressionStatement", + "src": "2695:105:0" + } + ] + }, + "documentation": { + "id": 126, + "nodeType": "StructuredDocumentation", + "src": "2407:126:0", + "text": "@dev Store this contract address and existance on the main storage.\n @notice Called while deploying the contract. " + }, + "id": 162, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_setPoolBaseAddress", + "nameLocation": "2548:19:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 127, + "nodeType": "ParameterList", + "parameters": [], + "src": "2567:2:0" + }, + "returnParameters": { + "id": 128, + "nodeType": "ParameterList", + "parameters": [], + "src": "2578:0:0" + }, + "scope": 591, + "src": "2539:269:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "private" + }, + { + "body": { + "id": 187, + "nodeType": "Block", + "src": "3028:135:0", + "statements": [ + { + "assignments": [ + 172 + ], + "declarations": [ + { + "constant": false, + "id": 172, + "mutability": "mutable", + "name": "statusTag", + "nameLocation": "3047:9:0", + "nodeType": "VariableDeclaration", + "scope": 187, + "src": "3039:17:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 171, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3039:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 179, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 176, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3086:12:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 174, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3069:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 175, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3069:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 177, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3069:30:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 173, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "3059:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 178, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3059:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3039:61:0" + }, + { + "expression": { + "arguments": [ + { + "id": 183, + "name": "statusTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 172, + "src": "3138:9:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 184, + "name": "_live", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 165, + "src": "3149:5:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "expression": { + "id": 180, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "3111:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 182, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 899, + "src": "3111:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_bool_$returns$__$", + "typeString": "function (bytes32,bool) external" + } + }, + "id": 185, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3111:44:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 186, + "nodeType": "ExpressionStatement", + "src": "3111:44:0" + } + ] + }, + "documentation": { + "id": 163, + "nodeType": "StructuredDocumentation", + "src": "2816:143:0", + "text": "@dev Toggles the Pool Investing Switch. \n @notice While live, anyone can invest but any state variable can be modified nor deleted." + }, + "functionSelector": "a4975516", + "id": 188, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 168, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "3014:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 169, + "kind": "modifierInvocation", + "modifierName": { + "id": 167, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1024, + "src": "3005:8:0" + }, + "nodeType": "ModifierInvocation", + "src": "3005:22:0" + } + ], + "name": "setPoolLive", + "nameLocation": "2974:11:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 166, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 165, + "mutability": "mutable", + "name": "_live", + "nameLocation": "2991:5:0", + "nodeType": "VariableDeclaration", + "scope": 188, + "src": "2986:10:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 164, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2986:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "2985:12:0" + }, + "returnParameters": { + "id": 170, + "nodeType": "ParameterList", + "parameters": [], + "src": "3028:0:0" + }, + "scope": 591, + "src": "2965:198:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 227, + "nodeType": "Block", + "src": "3367:272:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 207, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "3386:70:0", + "subExpression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 203, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3441:12:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 201, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3424:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 202, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3424:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 204, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3424:30:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 200, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "3414:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 205, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3414:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 198, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "3387:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 199, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 873, + "src": "3387:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 206, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3387:69:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "id": 208, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3458:31:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + }, + "value": "The pool is currently closed." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + } + ], + "id": 197, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "3378:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 209, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3378:112:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 210, + "nodeType": "ExpressionStatement", + "src": "3378:112:0" + }, + { + "assignments": [ + 212 + ], + "declarations": [ + { + "constant": false, + "id": 212, + "mutability": "mutable", + "name": "poolMaxSizeTag", + "nameLocation": "3509:14:0", + "nodeType": "VariableDeclaration", + "scope": 227, + "src": "3501:22:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 211, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3501:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 219, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "706f6f6c4d617853697a65", + "id": 216, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3553:13:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42", + "typeString": "literal_string \"poolMaxSize\"" + }, + "value": "poolMaxSize" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42", + "typeString": "literal_string \"poolMaxSize\"" + } + ], + "expression": { + "id": 214, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3536:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 215, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3536:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 217, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3536:31:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 213, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "3526:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 218, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3526:42:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3501:67:0" + }, + { + "expression": { + "arguments": [ + { + "id": 223, + "name": "poolMaxSizeTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 212, + "src": "3606:14:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 224, + "name": "_maxSize", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 191, + "src": "3622:8:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 220, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "3579:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 222, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 892, + "src": "3579:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 225, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3579:52:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 226, + "nodeType": "ExpressionStatement", + "src": "3579:52:0" + } + ] + }, + "documentation": { + "id": 189, + "nodeType": "StructuredDocumentation", + "src": "3171:121:0", + "text": "@dev Sets the Pool Maximium size expressed on ether.\n @param _maxSize is a WEI value (or BigInt / BigNumber)." + }, + "functionSelector": "12646987", + "id": 228, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 194, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "3353:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 195, + "kind": "modifierInvocation", + "modifierName": { + "id": 193, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1024, + "src": "3344:8:0" + }, + "nodeType": "ModifierInvocation", + "src": "3344:22:0" + } + ], + "name": "setPoolMaxSize", + "nameLocation": "3307:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 192, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 191, + "mutability": "mutable", + "name": "_maxSize", + "nameLocation": "3327:8:0", + "nodeType": "VariableDeclaration", + "scope": 228, + "src": "3322:13:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 190, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3322:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3321:15:0" + }, + "returnParameters": { + "id": 196, + "nodeType": "ParameterList", + "parameters": [], + "src": "3367:0:0" + }, + "scope": 591, + "src": "3298:341:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 267, + "nodeType": "Block", + "src": "3792:272:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 247, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "3811:70:0", + "subExpression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 243, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3866:12:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 241, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3849:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 242, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3849:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 244, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3849:30:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 240, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "3839:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 245, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3839:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 238, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "3812:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 239, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 873, + "src": "3812:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 246, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3812:69:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "id": 248, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3883:31:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + }, + "value": "The pool is currently closed." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + } + ], + "id": 237, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "3803:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 249, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3803:112:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 250, + "nodeType": "ExpressionStatement", + "src": "3803:112:0" + }, + { + "assignments": [ + 252 + ], + "declarations": [ + { + "constant": false, + "id": 252, + "mutability": "mutable", + "name": "daysRewTag", + "nameLocation": "3934:10:0", + "nodeType": "VariableDeclaration", + "scope": 267, + "src": "3926:18:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 251, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3926:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 259, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "64617973546f52657761726473", + "id": 256, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3974:15:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d", + "typeString": "literal_string \"daysToRewards\"" + }, + "value": "daysToRewards" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d", + "typeString": "literal_string \"daysToRewards\"" + } + ], + "expression": { + "id": 254, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3957:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 255, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3957:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 257, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3957:33:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 253, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "3947:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 258, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3947:44:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3926:65:0" + }, + { + "expression": { + "arguments": [ + { + "id": 263, + "name": "daysRewTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 252, + "src": "4029:10:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 264, + "name": "_daysToRewards", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 231, + "src": "4041:14:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 260, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "4002:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 262, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 892, + "src": "4002:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 265, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4002:54:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 266, + "nodeType": "ExpressionStatement", + "src": "4002:54:0" + } + ] + }, + "documentation": { + "id": 229, + "nodeType": "StructuredDocumentation", + "src": "3651:56:0", + "text": "@dev Set the interval in days of the rewards period." + }, + "functionSelector": "53710f49", + "id": 268, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 234, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "3778:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 235, + "kind": "modifierInvocation", + "modifierName": { + "id": 233, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1024, + "src": "3769:8:0" + }, + "nodeType": "ModifierInvocation", + "src": "3769:22:0" + } + ], + "name": "setRewardsInterval", + "nameLocation": "3722:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 232, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 231, + "mutability": "mutable", + "name": "_daysToRewards", + "nameLocation": "3746:14:0", + "nodeType": "VariableDeclaration", + "scope": 268, + "src": "3741:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 230, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3741:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3740:21:0" + }, + "returnParameters": { + "id": 236, + "nodeType": "ParameterList", + "parameters": [], + "src": "3792:0:0" + }, + "scope": 591, + "src": "3713:351:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 307, + "nodeType": "Block", + "src": "4352:291:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 287, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "4371:70:0", + "subExpression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 283, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4426:12:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 281, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "4409:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 282, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "4409:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 284, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4409:30:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 280, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "4399:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 285, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4399:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 278, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "4372:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 279, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 873, + "src": "4372:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 286, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4372:69:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "id": 288, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4443:31:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + }, + "value": "The pool is currently closed." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + } + ], + "id": 277, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "4363:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 289, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4363:112:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 290, + "nodeType": "ExpressionStatement", + "src": "4363:112:0" + }, + { + "assignments": [ + 292 + ], + "declarations": [ + { + "constant": false, + "id": 292, + "mutability": "mutable", + "name": "rewardsIntTag", + "nameLocation": "4494:13:0", + "nodeType": "VariableDeclaration", + "scope": 307, + "src": "4486:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 291, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4486:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 299, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "72657761726473496e746572657374506572506572696f64", + "id": 296, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4537:26:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c", + "typeString": "literal_string \"rewardsInterestPerPeriod\"" + }, + "value": "rewardsInterestPerPeriod" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c", + "typeString": "literal_string \"rewardsInterestPerPeriod\"" + } + ], + "expression": { + "id": 294, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "4520:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 295, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "4520:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 297, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4520:44:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 293, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "4510:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 298, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4510:55:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4486:79:0" + }, + { + "expression": { + "arguments": [ + { + "id": 303, + "name": "rewardsIntTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 292, + "src": "4603:13:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 304, + "name": "_rewardsInterest", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 271, + "src": "4618:16:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 300, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "4576:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 302, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 892, + "src": "4576:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 305, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4576:59:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 306, + "nodeType": "ExpressionStatement", + "src": "4576:59:0" + } + ] + }, + "documentation": { + "id": 269, + "nodeType": "StructuredDocumentation", + "src": "4072:193:0", + "text": "@dev Set the interest per effective period.\n @param _rewardsInterest within the storage has 6 decimals.\n @notice E.G. If 0.001134 rate is desired, 0.001134 * (10**6) = 1134." + }, + "functionSelector": "bf4c0036", + "id": 308, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 274, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "4338:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 275, + "kind": "modifierInvocation", + "modifierName": { + "id": 273, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1024, + "src": "4329:8:0" + }, + "nodeType": "ModifierInvocation", + "src": "4329:22:0" + } + ], + "name": "setRewardsInterest", + "nameLocation": "4280:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 272, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 271, + "mutability": "mutable", + "name": "_rewardsInterest", + "nameLocation": "4304:16:0", + "nodeType": "VariableDeclaration", + "scope": 308, + "src": "4299:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 270, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "4299:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "4298:23:0" + }, + "returnParameters": { + "id": 276, + "nodeType": "ParameterList", + "parameters": [], + "src": "4352:0:0" + }, + "scope": 591, + "src": "4271:372:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 347, + "nodeType": "Block", + "src": "4841:282:0", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 327, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "4860:70:0", + "subExpression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 323, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4915:12:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 321, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "4898:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 322, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "4898:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 324, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4898:30:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 320, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "4888:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 325, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4888:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 318, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "4861:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 319, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 873, + "src": "4861:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 326, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4861:69:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "id": 328, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4932:31:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + }, + "value": "The pool is currently closed." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + } + ], + "id": 317, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "4852:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 329, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4852:112:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 330, + "nodeType": "ExpressionStatement", + "src": "4852:112:0" + }, + { + "assignments": [ + 332 + ], + "declarations": [ + { + "constant": false, + "id": 332, + "mutability": "mutable", + "name": "contrLimitTag", + "nameLocation": "4983:13:0", + "nodeType": "VariableDeclaration", + "scope": 347, + "src": "4975:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 331, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4975:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 339, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e747269627574696f6e4c696d6974", + "id": 336, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5026:19:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044", + "typeString": "literal_string \"contributionLimit\"" + }, + "value": "contributionLimit" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044", + "typeString": "literal_string \"contributionLimit\"" + } + ], + "expression": { + "id": 334, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "5009:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 335, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5009:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 337, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5009:37:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 333, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "4999:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 338, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4999:48:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4975:72:0" + }, + { + "expression": { + "arguments": [ + { + "id": 343, + "name": "contrLimitTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 332, + "src": "5085:13:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 344, + "name": "_newContrLimit", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 311, + "src": "5100:14:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 340, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "5058:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 342, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 892, + "src": "5058:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 345, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5058:57:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 346, + "nodeType": "ExpressionStatement", + "src": "5058:57:0" + } + ] + }, + "documentation": { + "id": 309, + "nodeType": "StructuredDocumentation", + "src": "4651:104:0", + "text": "@dev Set the max. contribution allowed for each user.\n @param _newContrLimit is a WEI value." + }, + "functionSelector": "72d099a0", + "id": 348, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 314, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "4828:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 315, + "kind": "modifierInvocation", + "modifierName": { + "id": 313, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1024, + "src": "4819:8:0" + }, + "nodeType": "ModifierInvocation", + "src": "4819:22:0" + } + ], + "name": "setContributionLimit", + "nameLocation": "4770:20:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 312, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 311, + "mutability": "mutable", + "name": "_newContrLimit", + "nameLocation": "4796:14:0", + "nodeType": "VariableDeclaration", + "scope": 348, + "src": "4791:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 310, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "4791:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "4790:21:0" + }, + "returnParameters": { + "id": 316, + "nodeType": "ParameterList", + "parameters": [], + "src": "4841:0:0" + }, + "scope": 591, + "src": "4761:362:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 406, + "nodeType": "Block", + "src": "5315:509:0", + "statements": [ + { + "assignments": [ + 358 + ], + "declarations": [ + { + "constant": false, + "id": 358, + "mutability": "mutable", + "name": "contrLimitTag", + "nameLocation": "5334:13:0", + "nodeType": "VariableDeclaration", + "scope": 406, + "src": "5326:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 357, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "5326:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 365, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e747269627574696f6e4c696d6974", + "id": 362, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5377:19:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044", + "typeString": "literal_string \"contributionLimit\"" + }, + "value": "contributionLimit" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044", + "typeString": "literal_string \"contributionLimit\"" + } + ], + "expression": { + "id": 360, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "5360:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 361, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5360:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 363, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5360:37:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 359, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "5350:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 364, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5350:48:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5326:72:0" + }, + { + "expression": { + "arguments": [ + { + "id": 376, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "5417:70:0", + "subExpression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 372, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5472:12:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 370, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "5455:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 371, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5455:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 373, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5455:30:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 369, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "5445:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 374, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5445:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 367, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "5418:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 368, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 873, + "src": "5418:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 375, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5418:69:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "id": 377, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5489:31:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + }, + "value": "The pool is currently closed." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + } + ], + "id": 366, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "5409:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 378, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5409:112:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 379, + "nodeType": "ExpressionStatement", + "src": "5409:112:0" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 386, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "id": 383, + "name": "contrLimitTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 358, + "src": "5567:13:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 381, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "5540:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 382, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 866, + "src": "5540:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 384, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5540:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "id": 385, + "name": "_newMinContr", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 351, + "src": "5584:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "5540:56:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "546865206d696e2e20636f6e74722e206c696d6974206e6565647320746f20626520736d616c6c6572207468616e20746865206d61782e206c696d69742e", + "id": 387, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5598:64:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_9bfa599205b132513fe40ce547e7e6def8c4cc455992878354af4c6363b32779", + "typeString": "literal_string \"The min. contr. limit needs to be smaller than the max. limit.\"" + }, + "value": "The min. contr. limit needs to be smaller than the max. limit." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_9bfa599205b132513fe40ce547e7e6def8c4cc455992878354af4c6363b32779", + "typeString": "literal_string \"The min. contr. limit needs to be smaller than the max. limit.\"" + } + ], + "id": 380, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "5532:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 388, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5532:131:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 389, + "nodeType": "ExpressionStatement", + "src": "5532:131:0" + }, + { + "assignments": [ + 391 + ], + "declarations": [ + { + "constant": false, + "id": 391, + "mutability": "mutable", + "name": "minContrTag", + "nameLocation": "5692:11:0", + "nodeType": "VariableDeclaration", + "scope": 406, + "src": "5684:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 390, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "5684:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 398, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6d696e436f6e747269627574696f6e", + "id": 395, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5733:17:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36", + "typeString": "literal_string \"minContribution\"" + }, + "value": "minContribution" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36", + "typeString": "literal_string \"minContribution\"" + } + ], + "expression": { + "id": 393, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "5716:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 394, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5716:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 396, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5716:35:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 392, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "5706:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 397, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5706:46:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5684:68:0" + }, + { + "expression": { + "arguments": [ + { + "id": 402, + "name": "minContrTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 391, + "src": "5790:11:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 403, + "name": "_newMinContr", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 351, + "src": "5803:12:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 399, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "5763:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 401, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 892, + "src": "5763:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 404, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5763:53:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 405, + "nodeType": "ExpressionStatement", + "src": "5763:53:0" + } + ] + }, + "documentation": { + "id": 349, + "nodeType": "StructuredDocumentation", + "src": "5131:102:0", + "text": "@dev Set the min. contribution allowed for each user.\n @param _newMinContr is a WEI value." + }, + "functionSelector": "473b0d46", + "id": 407, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 354, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 14, + "src": "5302:12:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 355, + "kind": "modifierInvocation", + "modifierName": { + "id": 353, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1024, + "src": "5293:8:0" + }, + "nodeType": "ModifierInvocation", + "src": "5293:22:0" + } + ], + "name": "setMinContribution", + "nameLocation": "5248:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 352, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 351, + "mutability": "mutable", + "name": "_newMinContr", + "nameLocation": "5272:12:0", + "nodeType": "VariableDeclaration", + "scope": 407, + "src": "5267:17:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 350, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "5267:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "5266:19:0" + }, + "returnParameters": { + "id": 356, + "nodeType": "ParameterList", + "parameters": [], + "src": "5315:0:0" + }, + "scope": 591, + "src": "5239:585:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 444, + "nodeType": "Block", + "src": "6014:295:0", + "statements": [ + { + "assignments": [ + 416 + ], + "declarations": [ + { + "constant": false, + "id": 416, + "mutability": "mutable", + "name": "addressTag", + "nameLocation": "6033:10:0", + "nodeType": "VariableDeclaration", + "scope": 444, + "src": "6025:18:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 415, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6025:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 424, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f61646472657373", + "id": 420, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6073:18:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + "value": "contract_address" + }, + { + "id": 421, + "name": "_contractName", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 410, + "src": "6093:13:0", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 418, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "6056:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 419, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "6056:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 422, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6056:51:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 417, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "6046:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 423, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6046:62:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6025:83:0" + }, + { + "assignments": [ + 426 + ], + "declarations": [ + { + "constant": false, + "id": 426, + "mutability": "mutable", + "name": "contractAddress", + "nameLocation": "6127:15:0", + "nodeType": "VariableDeclaration", + "scope": 444, + "src": "6119:23:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 425, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6119:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "id": 431, + "initialValue": { + "arguments": [ + { + "id": 429, + "name": "addressTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 416, + "src": "6175:10:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 427, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "6145:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 428, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getAddressStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 880, + "src": "6145:29:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_address_$", + "typeString": "function (bytes32) view external returns (address)" + } + }, + "id": 430, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6145:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6119:67:0" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 438, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 433, + "name": "contractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 426, + "src": "6205:15:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "arguments": [ + { + "hexValue": "307830", + "id": 436, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6232:3:0", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0x0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 435, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "6224:7:0", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 434, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6224:7:0", + "typeDescriptions": {} + } + }, + "id": 437, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6224:12:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "6205:31:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "436f6e74726163742061646472657373206e6f7420666f756e642e", + "id": 439, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6238:29:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_308638a0d46b73b9203c635ec2b36574c482f0f0b0c13080ce12f9b33ca2d5c6", + "typeString": "literal_string \"Contract address not found.\"" + }, + "value": "Contract address not found." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_308638a0d46b73b9203c635ec2b36574c482f0f0b0c13080ce12f9b33ca2d5c6", + "typeString": "literal_string \"Contract address not found.\"" + } + ], + "id": 432, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "6197:7:0", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 440, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6197:71:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 441, + "nodeType": "ExpressionStatement", + "src": "6197:71:0" + }, + { + "expression": { + "id": 442, + "name": "contractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 426, + "src": "6286:15:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "functionReturnParameters": 414, + "id": 443, + "nodeType": "Return", + "src": "6279:22:0" + } + ] + }, + "documentation": { + "id": 408, + "nodeType": "StructuredDocumentation", + "src": "5879:42:0", + "text": "@dev Getters for each pool variable." + }, + "id": 445, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getContractAddress", + "nameLocation": "5936:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 411, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 410, + "mutability": "mutable", + "name": "_contractName", + "nameLocation": "5969:13:0", + "nodeType": "VariableDeclaration", + "scope": 445, + "src": "5955:27:0", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 409, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "5955:6:0", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "5954:29:0" + }, + "returnParameters": { + "id": 414, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 413, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 445, + "src": "6006:7:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 412, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6006:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "6005:9:0" + }, + "scope": 591, + "src": "5927:382:0", + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 469, + "nodeType": "Block", + "src": "6375:210:0", + "statements": [ + { + "assignments": [ + 451 + ], + "declarations": [ + { + "constant": false, + "id": 451, + "mutability": "mutable", + "name": "addressTag", + "nameLocation": "6394:10:0", + "nodeType": "VariableDeclaration", + "scope": 469, + "src": "6386:18:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 450, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6386:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 459, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f61646472657373", + "id": 455, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6434:18:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + "value": "contract_address" + }, + { + "hexValue": "506f6f6c42617365", + "id": 456, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6454:10:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27", + "typeString": "literal_string \"PoolBase\"" + }, + "value": "PoolBase" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + { + "typeIdentifier": "t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27", + "typeString": "literal_string \"PoolBase\"" + } + ], + "expression": { + "id": 453, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "6417:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 454, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "6417:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 457, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6417:48:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 452, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "6407:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 458, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6407:59:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6386:80:0" + }, + { + "assignments": [ + 461 + ], + "declarations": [ + { + "constant": false, + "id": 461, + "mutability": "mutable", + "name": "contractAddress", + "nameLocation": "6485:15:0", + "nodeType": "VariableDeclaration", + "scope": 469, + "src": "6477:23:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 460, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6477:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "id": 466, + "initialValue": { + "arguments": [ + { + "id": 464, + "name": "addressTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 451, + "src": "6533:10:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 462, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "6503:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 463, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getAddressStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 880, + "src": "6503:29:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_address_$", + "typeString": "function (bytes32) view external returns (address)" + } + }, + "id": 465, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6503:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6477:67:0" + }, + { + "expression": { + "id": 467, + "name": "contractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 461, + "src": "6562:15:0", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "functionReturnParameters": 449, + "id": 468, + "nodeType": "Return", + "src": "6555:22:0" + } + ] + }, + "functionSelector": "8ae68134", + "id": 470, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getPoolBaseAddress", + "nameLocation": "6326:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 446, + "nodeType": "ParameterList", + "parameters": [], + "src": "6344:2:0" + }, + "returnParameters": { + "id": 449, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 448, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 470, + "src": "6367:7:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 447, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6367:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "6366:9:0" + }, + "scope": 591, + "src": "6317:268:0", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 489, + "nodeType": "Block", + "src": "6646:135:0", + "statements": [ + { + "assignments": [ + 476 + ], + "declarations": [ + { + "constant": false, + "id": 476, + "mutability": "mutable", + "name": "statusTag", + "nameLocation": "6665:9:0", + "nodeType": "VariableDeclaration", + "scope": 489, + "src": "6657:17:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 475, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6657:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 483, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 480, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6704:12:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 478, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "6687:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 479, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "6687:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 481, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6687:30:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 477, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "6677:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 482, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6677:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6657:61:0" + }, + { + "expression": { + "arguments": [ + { + "id": 486, + "name": "statusTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 476, + "src": "6763:9:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 484, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "6736:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 485, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 873, + "src": "6736:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 487, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6736:37:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "functionReturnParameters": 474, + "id": 488, + "nodeType": "Return", + "src": "6729:44:0" + } + ] + }, + "functionSelector": "217ac237", + "id": 490, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getPoolState", + "nameLocation": "6606:12:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 471, + "nodeType": "ParameterList", + "parameters": [], + "src": "6618:2:0" + }, + "returnParameters": { + "id": 474, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 473, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 490, + "src": "6641:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 472, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "6641:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "6640:6:0" + }, + "scope": 591, + "src": "6597:184:0", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 509, + "nodeType": "Block", + "src": "6840:154:0", + "statements": [ + { + "assignments": [ + 496 + ], + "declarations": [ + { + "constant": false, + "id": 496, + "mutability": "mutable", + "name": "poolMaxSizeTag", + "nameLocation": "6859:14:0", + "nodeType": "VariableDeclaration", + "scope": 509, + "src": "6851:22:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 495, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6851:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 503, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "706f6f6c4d617853697a65", + "id": 500, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6903:13:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42", + "typeString": "literal_string \"poolMaxSize\"" + }, + "value": "poolMaxSize" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42", + "typeString": "literal_string \"poolMaxSize\"" + } + ], + "expression": { + "id": 498, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "6886:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 499, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "6886:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 501, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6886:31:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 497, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "6876:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 502, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6876:42:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6851:67:0" + }, + { + "expression": { + "arguments": [ + { + "id": 506, + "name": "poolMaxSizeTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 496, + "src": "6963:14:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 504, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "6936:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 505, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 866, + "src": "6936:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 507, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6936:42:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 494, + "id": 508, + "nodeType": "Return", + "src": "6929:49:0" + } + ] + }, + "functionSelector": "095df57f", + "id": 510, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getPoolMaxSize", + "nameLocation": "6798:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 491, + "nodeType": "ParameterList", + "parameters": [], + "src": "6812:2:0" + }, + "returnParameters": { + "id": 494, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 493, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 510, + "src": "6835:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 492, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "6835:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "6834:6:0" + }, + "scope": 591, + "src": "6789:205:0", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 529, + "nodeType": "Block", + "src": "7057:140:0", + "statements": [ + { + "assignments": [ + 516 + ], + "declarations": [ + { + "constant": false, + "id": 516, + "mutability": "mutable", + "name": "daysRewTag", + "nameLocation": "7076:10:0", + "nodeType": "VariableDeclaration", + "scope": 529, + "src": "7068:18:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 515, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "7068:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 523, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "64617973546f52657761726473", + "id": 520, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7116:15:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d", + "typeString": "literal_string \"daysToRewards\"" + }, + "value": "daysToRewards" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d", + "typeString": "literal_string \"daysToRewards\"" + } + ], + "expression": { + "id": 518, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "7099:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 519, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "7099:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 521, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7099:33:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 517, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "7089:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 522, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7089:44:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7068:65:0" + }, + { + "expression": { + "arguments": [ + { + "id": 526, + "name": "daysRewTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 516, + "src": "7178:10:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 524, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "7151:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 525, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 866, + "src": "7151:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 527, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7151:38:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 514, + "id": 528, + "nodeType": "Return", + "src": "7144:45:0" + } + ] + }, + "functionSelector": "497d0241", + "id": 530, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getRewardsInterval", + "nameLocation": "7011:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 511, + "nodeType": "ParameterList", + "parameters": [], + "src": "7029:2:0" + }, + "returnParameters": { + "id": 514, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 513, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 530, + "src": "7052:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 512, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7052:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "7051:6:0" + }, + "scope": 591, + "src": "7002:195:0", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 549, + "nodeType": "Block", + "src": "7260:157:0", + "statements": [ + { + "assignments": [ + 536 + ], + "declarations": [ + { + "constant": false, + "id": 536, + "mutability": "mutable", + "name": "rewardsIntTag", + "nameLocation": "7279:13:0", + "nodeType": "VariableDeclaration", + "scope": 549, + "src": "7271:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 535, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "7271:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 543, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "72657761726473496e746572657374506572506572696f64", + "id": 540, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7322:26:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c", + "typeString": "literal_string \"rewardsInterestPerPeriod\"" + }, + "value": "rewardsInterestPerPeriod" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c", + "typeString": "literal_string \"rewardsInterestPerPeriod\"" + } + ], + "expression": { + "id": 538, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "7305:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 539, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "7305:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 541, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7305:44:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 537, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "7295:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 542, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7295:55:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7271:79:0" + }, + { + "expression": { + "arguments": [ + { + "id": 546, + "name": "rewardsIntTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 536, + "src": "7395:13:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 544, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "7368:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 545, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 866, + "src": "7368:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 547, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7368:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 534, + "id": 548, + "nodeType": "Return", + "src": "7361:48:0" + } + ] + }, + "functionSelector": "7521796f", + "id": 550, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getRewardsInterest", + "nameLocation": "7214:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 531, + "nodeType": "ParameterList", + "parameters": [], + "src": "7232:2:0" + }, + "returnParameters": { + "id": 534, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 533, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 550, + "src": "7255:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 532, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7255:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "7254:6:0" + }, + "scope": 591, + "src": "7205:212:0", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 569, + "nodeType": "Block", + "src": "7482:150:0", + "statements": [ + { + "assignments": [ + 556 + ], + "declarations": [ + { + "constant": false, + "id": 556, + "mutability": "mutable", + "name": "contrLimitTag", + "nameLocation": "7501:13:0", + "nodeType": "VariableDeclaration", + "scope": 569, + "src": "7493:21:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 555, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "7493:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 563, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e747269627574696f6e4c696d6974", + "id": 560, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7544:19:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044", + "typeString": "literal_string \"contributionLimit\"" + }, + "value": "contributionLimit" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044", + "typeString": "literal_string \"contributionLimit\"" + } + ], + "expression": { + "id": 558, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "7527:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 559, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "7527:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 561, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7527:37:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 557, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "7517:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 562, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7517:48:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7493:72:0" + }, + { + "expression": { + "arguments": [ + { + "id": 566, + "name": "contrLimitTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 556, + "src": "7610:13:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 564, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "7583:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 565, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 866, + "src": "7583:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 567, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7583:41:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 554, + "id": 568, + "nodeType": "Return", + "src": "7576:48:0" + } + ] + }, + "functionSelector": "fa1e19e5", + "id": 570, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getContributionLimit", + "nameLocation": "7434:20:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 551, + "nodeType": "ParameterList", + "parameters": [], + "src": "7454:2:0" + }, + "returnParameters": { + "id": 554, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 553, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 570, + "src": "7477:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 552, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7477:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "7476:6:0" + }, + "scope": 591, + "src": "7425:207:0", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 589, + "nodeType": "Block", + "src": "7695:144:0", + "statements": [ + { + "assignments": [ + 576 + ], + "declarations": [ + { + "constant": false, + "id": 576, + "mutability": "mutable", + "name": "minContrTag", + "nameLocation": "7714:11:0", + "nodeType": "VariableDeclaration", + "scope": 589, + "src": "7706:19:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 575, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "7706:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 583, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6d696e436f6e747269627574696f6e", + "id": 580, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7755:17:0", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36", + "typeString": "literal_string \"minContribution\"" + }, + "value": "minContribution" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36", + "typeString": "literal_string \"minContribution\"" + } + ], + "expression": { + "id": 578, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "7738:3:0", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 579, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "7738:16:0", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 581, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7738:35:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 577, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "7728:9:0", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 582, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7728:46:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7706:68:0" + }, + { + "expression": { + "arguments": [ + { + "id": 586, + "name": "minContrTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 576, + "src": "7819:11:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 584, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "7792:11:0", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 585, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 866, + "src": "7792:26:0", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 587, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7792:39:0", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 574, + "id": 588, + "nodeType": "Return", + "src": "7785:46:0" + } + ] + }, + "functionSelector": "6cff7473", + "id": 590, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getMinContribution", + "nameLocation": "7649:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 571, + "nodeType": "ParameterList", + "parameters": [], + "src": "7667:2:0" + }, + "returnParameters": { + "id": 574, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 573, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 590, + "src": "7690:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 572, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7690:4:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "7689:6:0" + }, + "scope": 591, + "src": "7640:199:0", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + } + ], + "scope": 592, + "src": "627:7231:0", + "usedErrors": [] + } + ], + "src": "33:7825:0" + }, + "id": 0 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolVault.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolVault.sol", + "exportedSymbols": { + "AccessControl": [ + 1292 + ], + "Context": [ + 1505 + ], + "DataStorageInterface": [ + 936 + ], + "ERC165": [ + 1732 + ], + "IAccessControl": [ + 1365 + ], + "IERC165": [ + 1744 + ], + "IERC20": [ + 1483 + ], + "PoolBase": [ + 591 + ], + "PoolVault": [ + 836 + ], + "ReentrancyGuard": [ + 1405 + ], + "Strings": [ + 1708 + ], + "rwETHTokenInterface": [ + 983 + ] + }, + "id": 837, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 593, + "literals": [ + "solidity", + "0.8", + ".9" + ], + "nodeType": "PragmaDirective", + "src": "33:22:1" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol", + "file": "./PoolBase.sol", + "id": 594, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 837, + "sourceUnit": 592, + "src": "406:24:1", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/rwETHTokenInterface.sol", + "file": "./interfaces/rwETHTokenInterface.sol", + "id": 595, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 837, + "sourceUnit": 984, + "src": "432:46:1", + "symbolAliases": [], + "unitAlias": "" + }, + { + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 596, + "name": "PoolBase", + "nodeType": "IdentifierPath", + "referencedDeclaration": 591, + "src": "504:8:1" + }, + "id": 597, + "nodeType": "InheritanceSpecifier", + "src": "504:8:1" + } + ], + "canonicalName": "PoolVault", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "id": 836, + "linearizedBaseContracts": [ + 836, + 591, + 1405, + 1292, + 1732, + 1744, + 1365, + 1505 + ], + "name": "PoolVault", + "nameLocation": "491:9:1", + "nodeType": "ContractDefinition", + "nodes": [ + { + "body": { + "id": 609, + "nodeType": "Block", + "src": "606:41:1", + "statements": [ + { + "expression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 606, + "name": "_setPoolVaultAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 670, + "src": "617:20:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", + "typeString": "function ()" + } + }, + "id": 607, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "617:22:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 608, + "nodeType": "ExpressionStatement", + "src": "617:22:1" + } + ] + }, + "id": 610, + "implemented": true, + "kind": "constructor", + "modifiers": [ + { + "arguments": [ + { + "id": 603, + "name": "_dataStorageAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 600, + "src": "585:19:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + } + ], + "id": 604, + "kind": "baseConstructorSpecifier", + "modifierName": { + "id": 602, + "name": "PoolBase", + "nodeType": "IdentifierPath", + "referencedDeclaration": 591, + "src": "576:8:1" + }, + "nodeType": "ModifierInvocation", + "src": "576:29:1" + } + ], + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 601, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 600, + "mutability": "mutable", + "name": "_dataStorageAddress", + "nameLocation": "555:19:1", + "nodeType": "VariableDeclaration", + "scope": 610, + "src": "534:40:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + }, + "typeName": { + "id": 599, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 598, + "name": "DataStorageInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 936, + "src": "534:20:1" + }, + "referencedDeclaration": 936, + "src": "534:20:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "visibility": "internal" + } + ], + "src": "533:42:1" + }, + "returnParameters": { + "id": 605, + "nodeType": "ParameterList", + "parameters": [], + "src": "606:0:1" + }, + "scope": 836, + "src": "522:125:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 632, + "nodeType": "Block", + "src": "683:204:1", + "statements": [ + { + "assignments": [ + 613 + ], + "declarations": [ + { + "constant": false, + "id": 613, + "mutability": "mutable", + "name": "contractTag", + "nameLocation": "702:11:1", + "nodeType": "VariableDeclaration", + "scope": 632, + "src": "694:19:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 612, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "694:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 622, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f657869737473", + "id": 617, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "743:17:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + "value": "contract_exists" + }, + { + "expression": { + "id": 618, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "762:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 619, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "762:10:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 615, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "726:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 616, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "726:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 620, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "726:47:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 614, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "716:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 621, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "716:58:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "694:80:1" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "id": 626, + "name": "contractTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 613, + "src": "820:11:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 624, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "793:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 625, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 873, + "src": "793:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 627, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "793:39:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520636f6e7472616374206164647265737320697320696e76616c69642e", + "id": 628, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "834:34:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_52947e86c93a579273e5f21ebf440dc6320ec8caf45ae7affc09187f501ed96f", + "typeString": "literal_string \"The contract address is invalid.\"" + }, + "value": "The contract address is invalid." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_52947e86c93a579273e5f21ebf440dc6320ec8caf45ae7affc09187f501ed96f", + "typeString": "literal_string \"The contract address is invalid.\"" + } + ], + "id": 623, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "785:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 629, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "785:84:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 630, + "nodeType": "ExpressionStatement", + "src": "785:84:1" + }, + { + "id": 631, + "nodeType": "PlaceholderStatement", + "src": "878:1:1" + } + ] + }, + "id": 633, + "name": "onlyByPoolContract", + "nameLocation": "664:18:1", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 611, + "nodeType": "ParameterList", + "parameters": [], + "src": "683:0:1" + }, + "src": "655:232:1", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 669, + "nodeType": "Block", + "src": "1067:231:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f657869737473", + "id": 643, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1132:17:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + "value": "contract_exists" + }, + { + "arguments": [ + { + "id": 646, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "1159:4:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVault_$836", + "typeString": "contract PoolVault" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_PoolVault_$836", + "typeString": "contract PoolVault" + } + ], + "id": 645, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1151:7:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 644, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1151:7:1", + "typeDescriptions": {} + } + }, + "id": 647, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1151:13:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 641, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1115:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 642, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1115:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 648, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1115:50:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 640, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1105:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 649, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1105:61:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "hexValue": "74727565", + "id": 650, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1168:4:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "expression": { + "id": 637, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "1078:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 639, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 899, + "src": "1078:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_bool_$returns$__$", + "typeString": "function (bytes32,bool) external" + } + }, + "id": 651, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1078:95:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 652, + "nodeType": "ExpressionStatement", + "src": "1078:95:1" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f61646472657373", + "id": 659, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1241:18:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + "value": "contract_address" + }, + { + "hexValue": "506f6f6c5661756c74", + "id": 660, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1261:11:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_a42809ef63a8477a0cc19794440877c6cd527dbf68cffc2d1d864049ac3343dc", + "typeString": "literal_string \"PoolVault\"" + }, + "value": "PoolVault" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + { + "typeIdentifier": "t_stringliteral_a42809ef63a8477a0cc19794440877c6cd527dbf68cffc2d1d864049ac3343dc", + "typeString": "literal_string \"PoolVault\"" + } + ], + "expression": { + "id": 657, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1224:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 658, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1224:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 661, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1224:49:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 656, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1214:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 662, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1214:60:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "arguments": [ + { + "id": 665, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "1284:4:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVault_$836", + "typeString": "contract PoolVault" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_PoolVault_$836", + "typeString": "contract PoolVault" + } + ], + "id": 664, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1276:7:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 663, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1276:7:1", + "typeDescriptions": {} + } + }, + "id": 666, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1276:13:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 653, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "1184:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 655, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setAddressStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 906, + "src": "1184:29:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address) external" + } + }, + "id": 667, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1184:106:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 668, + "nodeType": "ExpressionStatement", + "src": "1184:106:1" + } + ] + }, + "documentation": { + "id": 634, + "nodeType": "StructuredDocumentation", + "src": "895:126:1", + "text": "@dev Store this contract address and existance on the main storage.\n @notice Called while deploying the contract. " + }, + "id": 670, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_setPoolVaultAddress", + "nameLocation": "1036:20:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 635, + "nodeType": "ParameterList", + "parameters": [], + "src": "1056:2:1" + }, + "returnParameters": { + "id": 636, + "nodeType": "ParameterList", + "parameters": [], + "src": "1067:0:1" + }, + "scope": 836, + "src": "1027:271:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "private" + }, + { + "body": { + "id": 689, + "nodeType": "Block", + "src": "1363:155:1", + "statements": [ + { + "assignments": [ + 676 + ], + "declarations": [ + { + "constant": false, + "id": 676, + "mutability": "mutable", + "name": "etherVaultedTag", + "nameLocation": "1382:15:1", + "nodeType": "VariableDeclaration", + "scope": 689, + "src": "1374:23:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 675, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1374:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 683, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "746f74616c5f65746865725f7374616b6564", + "id": 680, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1427:20:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_08d24c6ea30ae17d4a7786174d0af4df8c618dc9aba31a2ac06c137f095be1ab", + "typeString": "literal_string \"total_ether_staked\"" + }, + "value": "total_ether_staked" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_08d24c6ea30ae17d4a7786174d0af4df8c618dc9aba31a2ac06c137f095be1ab", + "typeString": "literal_string \"total_ether_staked\"" + } + ], + "expression": { + "id": 678, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1410:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 679, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1410:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 681, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1410:38:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 677, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1400:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 682, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1400:49:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1374:75:1" + }, + { + "expression": { + "arguments": [ + { + "id": 686, + "name": "etherVaultedTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 676, + "src": "1494:15:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 684, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "1467:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 685, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 866, + "src": "1467:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 687, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1467:43:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 674, + "id": 688, + "nodeType": "Return", + "src": "1460:50:1" + } + ] + }, + "functionSelector": "ccfe0c8e", + "id": 690, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "poolEtherSize", + "nameLocation": "1320:13:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 671, + "nodeType": "ParameterList", + "parameters": [], + "src": "1333:2:1" + }, + "returnParameters": { + "id": 674, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 673, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 690, + "src": "1358:4:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 672, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1358:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1357:6:1" + }, + "scope": 836, + "src": "1311:207:1", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "body": { + "id": 712, + "nodeType": "Block", + "src": "1584:164:1", + "statements": [ + { + "assignments": [ + 696 + ], + "declarations": [ + { + "constant": false, + "id": 696, + "mutability": "mutable", + "name": "etherVaultedTag", + "nameLocation": "1603:15:1", + "nodeType": "VariableDeclaration", + "scope": 712, + "src": "1595:23:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 695, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1595:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 703, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "746f74616c5f65746865725f7374616b6564", + "id": 700, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1648:20:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_08d24c6ea30ae17d4a7786174d0af4df8c618dc9aba31a2ac06c137f095be1ab", + "typeString": "literal_string \"total_ether_staked\"" + }, + "value": "total_ether_staked" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_08d24c6ea30ae17d4a7786174d0af4df8c618dc9aba31a2ac06c137f095be1ab", + "typeString": "literal_string \"total_ether_staked\"" + } + ], + "expression": { + "id": 698, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1631:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 699, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1631:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 701, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1631:38:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 697, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1621:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 702, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1621:49:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1595:75:1" + }, + { + "expression": { + "arguments": [ + { + "id": 707, + "name": "etherVaultedTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 696, + "src": "1713:15:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "expression": { + "id": 708, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1730:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 709, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "value", + "nodeType": "MemberAccess", + "src": "1730:9:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 704, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "1681:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 706, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "increaseUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 913, + "src": "1681:31:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 710, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1681:59:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 711, + "nodeType": "ExpressionStatement", + "src": "1681:59:1" + } + ] + }, + "functionSelector": "a7cc190a", + "id": 713, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "id": 693, + "kind": "modifierInvocation", + "modifierName": { + "id": 692, + "name": "onlyByPoolContract", + "nodeType": "IdentifierPath", + "referencedDeclaration": 633, + "src": "1565:18:1" + }, + "nodeType": "ModifierInvocation", + "src": "1565:18:1" + } + ], + "name": "storeEther", + "nameLocation": "1535:10:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 691, + "nodeType": "ParameterList", + "parameters": [], + "src": "1545:2:1" + }, + "returnParameters": { + "id": 694, + "nodeType": "ParameterList", + "parameters": [], + "src": "1584:0:1" + }, + "scope": 836, + "src": "1526:222:1", + "stateMutability": "payable", + "virtual": false, + "visibility": "external" + }, + { + "body": { + "id": 784, + "nodeType": "Block", + "src": "1856:549:1", + "statements": [ + { + "assignments": [ + 725 + ], + "declarations": [ + { + "constant": false, + "id": 725, + "mutability": "mutable", + "name": "etherVaultedTag", + "nameLocation": "1875:15:1", + "nodeType": "VariableDeclaration", + "scope": 784, + "src": "1867:23:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 724, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1867:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 732, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "746f74616c5f65746865725f7374616b6564", + "id": 729, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1920:20:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_08d24c6ea30ae17d4a7786174d0af4df8c618dc9aba31a2ac06c137f095be1ab", + "typeString": "literal_string \"total_ether_staked\"" + }, + "value": "total_ether_staked" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_08d24c6ea30ae17d4a7786174d0af4df8c618dc9aba31a2ac06c137f095be1ab", + "typeString": "literal_string \"total_ether_staked\"" + } + ], + "expression": { + "id": 727, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1903:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 728, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1903:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 730, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1903:38:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 726, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1893:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 731, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1893:49:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1867:75:1" + }, + { + "assignments": [ + 734 + ], + "declarations": [ + { + "constant": false, + "id": 734, + "mutability": "mutable", + "name": "ethBalTag", + "nameLocation": "1961:9:1", + "nodeType": "VariableDeclaration", + "scope": 784, + "src": "1953:17:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 733, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1953:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 741, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "746f74616c537570706c795f4574686572", + "id": 738, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2000:19:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c249c8d0234c73f198edb6911269cabbcb3a87200e5c4a66aae535d12bd6112c", + "typeString": "literal_string \"totalSupply_Ether\"" + }, + "value": "totalSupply_Ether" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_c249c8d0234c73f198edb6911269cabbcb3a87200e5c4a66aae535d12bd6112c", + "typeString": "literal_string \"totalSupply_Ether\"" + } + ], + "expression": { + "id": 736, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1983:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 737, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1983:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 739, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1983:37:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 735, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1973:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 740, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1973:48:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1953:68:1" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 750, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 748, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "id": 745, + "name": "etherVaultedTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 725, + "src": "2069:15:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 743, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "2042:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 744, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 866, + "src": "2042:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 746, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2042:43:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "id": 747, + "name": "_ethAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 717, + "src": "2088:10:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2042:56:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">=", + "rightExpression": { + "hexValue": "30", + "id": 749, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2102:1:1", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "2042:61:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "506f6f6c206c61636b696e67206f6620657468657220746f20706572666f726d207468697320616374696f6e2e", + "id": 751, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2106:47:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_04b6a9f5785cefa0a7b0b76940bf72c578fa53b59a070204e2d81f0894030f98", + "typeString": "literal_string \"Pool lacking of ether to perform this action.\"" + }, + "value": "Pool lacking of ether to perform this action." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_04b6a9f5785cefa0a7b0b76940bf72c578fa53b59a070204e2d81f0894030f98", + "typeString": "literal_string \"Pool lacking of ether to perform this action.\"" + } + ], + "id": 742, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "2034:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 752, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2034:120:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 753, + "nodeType": "ExpressionStatement", + "src": "2034:120:1" + }, + { + "expression": { + "arguments": [ + { + "id": 757, + "name": "etherVaultedTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 725, + "src": "2199:15:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 758, + "name": "_ethAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 717, + "src": "2216:10:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 754, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "2167:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 756, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "decreaseUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 920, + "src": "2167:31:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 759, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2167:60:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 760, + "nodeType": "ExpressionStatement", + "src": "2167:60:1" + }, + { + "expression": { + "arguments": [ + { + "id": 764, + "name": "ethBalTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 734, + "src": "2273:9:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 765, + "name": "_ethAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 717, + "src": "2284:10:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 761, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "2241:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 763, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "decreaseUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 920, + "src": "2241:31:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 766, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2241:54:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 767, + "nodeType": "ExpressionStatement", + "src": "2241:54:1" + }, + { + "assignments": [ + 769, + null + ], + "declarations": [ + { + "constant": false, + "id": 769, + "mutability": "mutable", + "name": "success", + "nameLocation": "2317:7:1", + "nodeType": "VariableDeclaration", + "scope": 784, + "src": "2312:12:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 768, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2312:4:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + }, + null + ], + "id": 779, + "initialValue": { + "arguments": [ + { + "hexValue": "", + "id": 777, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2367:2:1", + "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": { + "arguments": [ + { + "id": 772, + "name": "_to", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 715, + "src": "2338:3:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 771, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2330:8:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_payable_$", + "typeString": "type(address payable)" + }, + "typeName": { + "id": 770, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2330:8:1", + "stateMutability": "payable", + "typeDescriptions": {} + } + }, + "id": 773, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2330:12:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "id": 774, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "call", + "nodeType": "MemberAccess", + "src": "2330:17:1", + "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": 776, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "names": [ + "value" + ], + "nodeType": "FunctionCallOptions", + "options": [ + { + "id": 775, + "name": "_ethAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 717, + "src": "2355:10:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "src": "2330:36:1", + "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": 778, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2330:40:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "tuple(bool,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2311:59:1" + }, + { + "expression": { + "arguments": [ + { + "id": 781, + "name": "success", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 769, + "src": "2389:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 780, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "2381:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 782, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2381:16:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 783, + "nodeType": "ExpressionStatement", + "src": "2381:16:1" + } + ] + }, + "functionSelector": "522f6815", + "id": 785, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "id": 720, + "kind": "modifierInvocation", + "modifierName": { + "id": 719, + "name": "onlyByPoolContract", + "nodeType": "IdentifierPath", + "referencedDeclaration": 633, + "src": "1822:18:1" + }, + "nodeType": "ModifierInvocation", + "src": "1822:18:1" + }, + { + "arguments": [], + "id": 722, + "kind": "modifierInvocation", + "modifierName": { + "id": 721, + "name": "nonReentrant", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1404, + "src": "1841:12:1" + }, + "nodeType": "ModifierInvocation", + "src": "1841:14:1" + } + ], + "name": "withdrawEther", + "nameLocation": "1769:13:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 718, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 715, + "mutability": "mutable", + "name": "_to", + "nameLocation": "1791:3:1", + "nodeType": "VariableDeclaration", + "scope": 785, + "src": "1783:11:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 714, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1783:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 717, + "mutability": "mutable", + "name": "_ethAmount", + "nameLocation": "1801:10:1", + "nodeType": "VariableDeclaration", + "scope": 785, + "src": "1796:15:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 716, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1796:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1782:30:1" + }, + "returnParameters": { + "id": 723, + "nodeType": "ParameterList", + "parameters": [], + "src": "1856:0:1" + }, + "scope": 836, + "src": "1760:645:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "body": { + "id": 809, + "nodeType": "Block", + "src": "2489:164:1", + "statements": [ + { + "assignments": [ + 793 + ], + "declarations": [ + { + "constant": false, + "id": 793, + "mutability": "mutable", + "name": "etherVaultedTag", + "nameLocation": "2508:15:1", + "nodeType": "VariableDeclaration", + "scope": 809, + "src": "2500:23:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 792, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2500:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 800, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "746f74616c5f65746865725f7374616b6564", + "id": 797, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2553:20:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_08d24c6ea30ae17d4a7786174d0af4df8c618dc9aba31a2ac06c137f095be1ab", + "typeString": "literal_string \"total_ether_staked\"" + }, + "value": "total_ether_staked" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_08d24c6ea30ae17d4a7786174d0af4df8c618dc9aba31a2ac06c137f095be1ab", + "typeString": "literal_string \"total_ether_staked\"" + } + ], + "expression": { + "id": 795, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "2536:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 796, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "2536:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 798, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2536:38:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 794, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "2526:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 799, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2526:49:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2500:75:1" + }, + { + "expression": { + "arguments": [ + { + "id": 804, + "name": "etherVaultedTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 793, + "src": "2618:15:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "expression": { + "id": 805, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "2635:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 806, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "value", + "nodeType": "MemberAccess", + "src": "2635:9:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 801, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "2586:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 803, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "increaseUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 913, + "src": "2586:31:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 807, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2586:59:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 808, + "nodeType": "ExpressionStatement", + "src": "2586:59:1" + } + ] + }, + "functionSelector": "f9fc0d07", + "id": 810, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "id": 788, + "kind": "modifierInvocation", + "modifierName": { + "id": 787, + "name": "onlyByPoolContract", + "nodeType": "IdentifierPath", + "referencedDeclaration": 633, + "src": "2456:18:1" + }, + "nodeType": "ModifierInvocation", + "src": "2456:18:1" + }, + { + "arguments": [], + "id": 790, + "kind": "modifierInvocation", + "modifierName": { + "id": 789, + "name": "nonReentrant", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1404, + "src": "2475:12:1" + }, + "nodeType": "ModifierInvocation", + "src": "2475:14:1" + } + ], + "name": "processRewards", + "nameLocation": "2422:14:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 786, + "nodeType": "ParameterList", + "parameters": [], + "src": "2436:2:1" + }, + "returnParameters": { + "id": 791, + "nodeType": "ParameterList", + "parameters": [], + "src": "2489:0:1" + }, + "scope": 836, + "src": "2413:240:1", + "stateMutability": "payable", + "virtual": false, + "visibility": "external" + }, + { + "body": { + "id": 834, + "nodeType": "Block", + "src": "2720:211:1", + "statements": [ + { + "assignments": [ + 816 + ], + "declarations": [ + { + "constant": false, + "id": 816, + "mutability": "mutable", + "name": "addressTag", + "nameLocation": "2739:10:1", + "nodeType": "VariableDeclaration", + "scope": 834, + "src": "2731:18:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 815, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2731:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 824, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f61646472657373", + "id": 820, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2779:18:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + "value": "contract_address" + }, + { + "hexValue": "506f6f6c5661756c74", + "id": 821, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2799:11:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_a42809ef63a8477a0cc19794440877c6cd527dbf68cffc2d1d864049ac3343dc", + "typeString": "literal_string \"PoolVault\"" + }, + "value": "PoolVault" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + { + "typeIdentifier": "t_stringliteral_a42809ef63a8477a0cc19794440877c6cd527dbf68cffc2d1d864049ac3343dc", + "typeString": "literal_string \"PoolVault\"" + } + ], + "expression": { + "id": 818, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "2762:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 819, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "2762:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 822, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2762:49:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 817, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "2752:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 823, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2752:60:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2731:81:1" + }, + { + "assignments": [ + 826 + ], + "declarations": [ + { + "constant": false, + "id": 826, + "mutability": "mutable", + "name": "contractAddress", + "nameLocation": "2831:15:1", + "nodeType": "VariableDeclaration", + "scope": 834, + "src": "2823:23:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 825, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2823:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "id": 831, + "initialValue": { + "arguments": [ + { + "id": 829, + "name": "addressTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 816, + "src": "2879:10:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 827, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "2849:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 828, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getAddressStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 880, + "src": "2849:29:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_address_$", + "typeString": "function (bytes32) view external returns (address)" + } + }, + "id": 830, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2849:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2823:67:1" + }, + { + "expression": { + "id": 832, + "name": "contractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 826, + "src": "2908:15:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "functionReturnParameters": 814, + "id": 833, + "nodeType": "Return", + "src": "2901:22:1" + } + ] + }, + "functionSelector": "c3577d48", + "id": 835, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getPoolVaultAddress", + "nameLocation": "2670:19:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 811, + "nodeType": "ParameterList", + "parameters": [], + "src": "2689:2:1" + }, + "returnParameters": { + "id": 814, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 813, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 835, + "src": "2712:7:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 812, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2712:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2711:9:1" + }, + "scope": 836, + "src": "2661:270:1", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + } + ], + "scope": 837, + "src": "482:2471:1", + "usedErrors": [] + } + ], + "src": "33:2922:1" + }, + "id": 1 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol", + "exportedSymbols": { + "DataStorageInterface": [ + 936 + ] + }, + "id": 937, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 838, + "literals": [ + "solidity", + "0.8", + ".9" + ], + "nodeType": "PragmaDirective", + "src": "33:22:2" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "DataStorageInterface", + "contractDependencies": [], + "contractKind": "interface", + "fullyImplemented": false, + "id": 936, + "linearizedBaseContracts": [ + 936 + ], + "name": "DataStorageInterface", + "nameLocation": "69:20:2", + "nodeType": "ContractDefinition", + "nodes": [ + { + "functionSelector": "545e1b52", + "id": 843, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getStorageStatus", + "nameLocation": "155:16:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 839, + "nodeType": "ParameterList", + "parameters": [], + "src": "171:2:2" + }, + "returnParameters": { + "id": 842, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 841, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 843, + "src": "196:4:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 840, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "196:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "195:6:2" + }, + "scope": 936, + "src": "146:56:2", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "0bc169a5", + "id": 848, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getCurrentGuardian", + "nameLocation": "217:18:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 844, + "nodeType": "ParameterList", + "parameters": [], + "src": "235:2:2" + }, + "returnParameters": { + "id": 847, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 846, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 848, + "src": "260:7:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 845, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "260:7:2", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "259:9:2" + }, + "scope": 936, + "src": "208:61:2", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "e87f7c31", + "id": 853, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setNewGuardian", + "nameLocation": "284:14:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 851, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 850, + "mutability": "mutable", + "name": "_newGuardian", + "nameLocation": "307:12:2", + "nodeType": "VariableDeclaration", + "scope": 853, + "src": "299:20:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 849, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "299:7:2", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "298:22:2" + }, + "returnParameters": { + "id": 852, + "nodeType": "ParameterList", + "parameters": [], + "src": "329:0:2" + }, + "scope": 936, + "src": "275:55:2", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "27918182", + "id": 856, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "confirmGuard", + "nameLocation": "345:12:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 854, + "nodeType": "ParameterList", + "parameters": [], + "src": "357:2:2" + }, + "returnParameters": { + "id": 855, + "nodeType": "ParameterList", + "parameters": [], + "src": "368:0:2" + }, + "scope": 936, + "src": "336:33:2", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "66b80832", + "id": 859, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setStorageLive", + "nameLocation": "384:14:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 857, + "nodeType": "ParameterList", + "parameters": [], + "src": "398:2:2" + }, + "returnParameters": { + "id": 858, + "nodeType": "ParameterList", + "parameters": [], + "src": "409:0:2" + }, + "scope": 936, + "src": "375:35:2", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "afc3602b", + "id": 866, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getUintStorage", + "nameLocation": "474:14:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 862, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 861, + "mutability": "mutable", + "name": "_id", + "nameLocation": "497:3:2", + "nodeType": "VariableDeclaration", + "scope": 866, + "src": "489:11:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 860, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "489:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "488:13:2" + }, + "returnParameters": { + "id": 865, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 864, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 866, + "src": "524:7:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 863, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "524:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "523:9:2" + }, + "scope": 936, + "src": "465:68:2", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "55d94655", + "id": 873, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getBoolStorage", + "nameLocation": "548:14:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 869, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 868, + "mutability": "mutable", + "name": "_id", + "nameLocation": "571:3:2", + "nodeType": "VariableDeclaration", + "scope": 873, + "src": "563:11:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 867, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "563:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "562:13:2" + }, + "returnParameters": { + "id": 872, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 871, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 873, + "src": "598:4:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 870, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "598:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "597:6:2" + }, + "scope": 936, + "src": "539:65:2", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "2a90bbb2", + "id": 880, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getAddressStorage", + "nameLocation": "619:17:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 876, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 875, + "mutability": "mutable", + "name": "_id", + "nameLocation": "645:3:2", + "nodeType": "VariableDeclaration", + "scope": 880, + "src": "637:11:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 874, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "637:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "636:13:2" + }, + "returnParameters": { + "id": 879, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 878, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 880, + "src": "672:7:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 877, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "672:7:2", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "671:9:2" + }, + "scope": 936, + "src": "610:71:2", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "638f8360", + "id": 885, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getDataStorageAddress", + "nameLocation": "696:21:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 881, + "nodeType": "ParameterList", + "parameters": [], + "src": "717:2:2" + }, + "returnParameters": { + "id": 884, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 883, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 885, + "src": "742:7:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 882, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "742:7:2", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "741:9:2" + }, + "scope": 936, + "src": "687:64:2", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "28192c55", + "id": 892, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setUintStorage", + "nameLocation": "815:14:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 890, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 887, + "mutability": "mutable", + "name": "_id", + "nameLocation": "838:3:2", + "nodeType": "VariableDeclaration", + "scope": 892, + "src": "830:11:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 886, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "830:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 889, + "mutability": "mutable", + "name": "_value", + "nameLocation": "851:6:2", + "nodeType": "VariableDeclaration", + "scope": 892, + "src": "843:14:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 888, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "843:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "829:29:2" + }, + "returnParameters": { + "id": 891, + "nodeType": "ParameterList", + "parameters": [], + "src": "867:0:2" + }, + "scope": 936, + "src": "806:62:2", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "988c515b", + "id": 899, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setBoolStorage", + "nameLocation": "883:14:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 897, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 894, + "mutability": "mutable", + "name": "_id", + "nameLocation": "906:3:2", + "nodeType": "VariableDeclaration", + "scope": 899, + "src": "898:11:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 893, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "898:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 896, + "mutability": "mutable", + "name": "_value", + "nameLocation": "916:6:2", + "nodeType": "VariableDeclaration", + "scope": 899, + "src": "911:11:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 895, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "911:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "897:26:2" + }, + "returnParameters": { + "id": 898, + "nodeType": "ParameterList", + "parameters": [], + "src": "932:0:2" + }, + "scope": 936, + "src": "874:59:2", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "7221263a", + "id": 906, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setAddressStorage", + "nameLocation": "948:17:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 904, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 901, + "mutability": "mutable", + "name": "_id", + "nameLocation": "974:3:2", + "nodeType": "VariableDeclaration", + "scope": 906, + "src": "966:11:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 900, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "966:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 903, + "mutability": "mutable", + "name": "_value", + "nameLocation": "987:6:2", + "nodeType": "VariableDeclaration", + "scope": 906, + "src": "979:14:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 902, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "979:7:2", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "965:29:2" + }, + "returnParameters": { + "id": 905, + "nodeType": "ParameterList", + "parameters": [], + "src": "1003:0:2" + }, + "scope": 936, + "src": "939:65:2", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "1d8895e0", + "id": 913, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "increaseUintStorage", + "nameLocation": "1020:19:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 911, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 908, + "mutability": "mutable", + "name": "_id", + "nameLocation": "1048:3:2", + "nodeType": "VariableDeclaration", + "scope": 913, + "src": "1040:11:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 907, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1040:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 910, + "mutability": "mutable", + "name": "_increment", + "nameLocation": "1061:10:2", + "nodeType": "VariableDeclaration", + "scope": 913, + "src": "1053:18:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 909, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1053:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1039:33:2" + }, + "returnParameters": { + "id": 912, + "nodeType": "ParameterList", + "parameters": [], + "src": "1081:0:2" + }, + "scope": 936, + "src": "1011:71:2", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "5bcfee67", + "id": 920, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "decreaseUintStorage", + "nameLocation": "1097:19:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 918, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 915, + "mutability": "mutable", + "name": "_id", + "nameLocation": "1125:3:2", + "nodeType": "VariableDeclaration", + "scope": 920, + "src": "1117:11:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 914, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1117:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 917, + "mutability": "mutable", + "name": "_decrement", + "nameLocation": "1138:10:2", + "nodeType": "VariableDeclaration", + "scope": 920, + "src": "1130:18:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 916, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1130:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1116:33:2" + }, + "returnParameters": { + "id": 919, + "nodeType": "ParameterList", + "parameters": [], + "src": "1158:0:2" + }, + "scope": 936, + "src": "1088:71:2", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "8a2c6738", + "id": 925, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "deleteUintStorage", + "nameLocation": "1232:17:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 923, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 922, + "mutability": "mutable", + "name": "_id", + "nameLocation": "1258:3:2", + "nodeType": "VariableDeclaration", + "scope": 925, + "src": "1250:11:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 921, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1250:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "1249:13:2" + }, + "returnParameters": { + "id": 924, + "nodeType": "ParameterList", + "parameters": [], + "src": "1271:0:2" + }, + "scope": 936, + "src": "1223:49:2", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "b240da3f", + "id": 930, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "deleteBoolStorage", + "nameLocation": "1287:17:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 928, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 927, + "mutability": "mutable", + "name": "_id", + "nameLocation": "1313:3:2", + "nodeType": "VariableDeclaration", + "scope": 930, + "src": "1305:11:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 926, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1305:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "1304:13:2" + }, + "returnParameters": { + "id": 929, + "nodeType": "ParameterList", + "parameters": [], + "src": "1326:0:2" + }, + "scope": 936, + "src": "1278:49:2", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "e732da72", + "id": 935, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "deleteAddressStorage", + "nameLocation": "1342:20:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 933, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 932, + "mutability": "mutable", + "name": "_id", + "nameLocation": "1371:3:2", + "nodeType": "VariableDeclaration", + "scope": 935, + "src": "1363:11:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 931, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1363:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "1362:13:2" + }, + "returnParameters": { + "id": 934, + "nodeType": "ParameterList", + "parameters": [], + "src": "1384:0:2" + }, + "scope": 936, + "src": "1333:52:2", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + } + ], + "scope": 937, + "src": "59:1331:2", + "usedErrors": [] + } + ], + "src": "33:1357:2" + }, + "id": 2 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/rwETHTokenInterface.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/rwETHTokenInterface.sol", + "exportedSymbols": { + "IERC20": [ + 1483 + ], + "rwETHTokenInterface": [ + 983 + ] + }, + "id": 984, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 938, + "literals": [ + "solidity", + "0.8", + ".9" + ], + "nodeType": "PragmaDirective", + "src": "33:22:3" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol", + "file": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol", + "id": 939, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 984, + "sourceUnit": 1484, + "src": "59:130:3", + "symbolAliases": [], + "unitAlias": "" + }, + { + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 940, + "name": "IERC20", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1483, + "src": "227:6:3" + }, + "id": 941, + "nodeType": "InheritanceSpecifier", + "src": "227:6:3" + } + ], + "canonicalName": "rwETHTokenInterface", + "contractDependencies": [], + "contractKind": "interface", + "fullyImplemented": false, + "id": 983, + "linearizedBaseContracts": [ + 983, + 1483 + ], + "name": "rwETHTokenInterface", + "nameLocation": "204:19:3", + "nodeType": "ContractDefinition", + "nodes": [ + { + "functionSelector": "e8022195", + "id": 944, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setRwETHTokenAddress", + "nameLocation": "252:20:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 942, + "nodeType": "ParameterList", + "parameters": [], + "src": "272:2:3" + }, + "returnParameters": { + "id": 943, + "nodeType": "ParameterList", + "parameters": [], + "src": "283:0:3" + }, + "scope": 983, + "src": "243:41:3", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "12946fe1", + "id": 951, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "calcEthValue", + "nameLocation": "303:12:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 947, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 946, + "mutability": "mutable", + "name": "_rwEthAmount", + "nameLocation": "321:12:3", + "nodeType": "VariableDeclaration", + "scope": 951, + "src": "316:17:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 945, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "316:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "315:19:3" + }, + "returnParameters": { + "id": 950, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 949, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 951, + "src": "357:4:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 948, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "357:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "356:6:3" + }, + "scope": 983, + "src": "294:69:3", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "3ef3183c", + "id": 958, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "calcRwEthValue", + "nameLocation": "378:14:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 954, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 953, + "mutability": "mutable", + "name": "_ethAmount", + "nameLocation": "398:10:3", + "nodeType": "VariableDeclaration", + "scope": 958, + "src": "393:15:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 952, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "393:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "392:17:3" + }, + "returnParameters": { + "id": 957, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 956, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 958, + "src": "432:4:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 955, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "432:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "431:6:3" + }, + "scope": 983, + "src": "369:69:3", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "64c0e52f", + "id": 965, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getUnitPrice", + "nameLocation": "453:12:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 961, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 960, + "mutability": "mutable", + "name": "_ethAmount", + "nameLocation": "471:10:3", + "nodeType": "VariableDeclaration", + "scope": 965, + "src": "466:15:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 959, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "466:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "465:17:3" + }, + "returnParameters": { + "id": 964, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 963, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 965, + "src": "505:4:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 962, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "505:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "504:6:3" + }, + "scope": 983, + "src": "444:67:3", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "40c10f19", + "id": 972, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "mint", + "nameLocation": "526:4:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 970, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 967, + "mutability": "mutable", + "name": "_to", + "nameLocation": "539:3:3", + "nodeType": "VariableDeclaration", + "scope": 972, + "src": "531:11:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 966, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "531:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 969, + "mutability": "mutable", + "name": "_ethAmount", + "nameLocation": "549:10:3", + "nodeType": "VariableDeclaration", + "scope": 972, + "src": "544:15:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 968, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "544:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "530:30:3" + }, + "returnParameters": { + "id": 971, + "nodeType": "ParameterList", + "parameters": [], + "src": "569:0:3" + }, + "scope": 983, + "src": "517:53:3", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "42966c68", + "id": 977, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "burn", + "nameLocation": "585:4:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 975, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 974, + "mutability": "mutable", + "name": "_rwEthAmount", + "nameLocation": "595:12:3", + "nodeType": "VariableDeclaration", + "scope": 977, + "src": "590:17:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 973, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "590:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "589:19:3" + }, + "returnParameters": { + "id": 976, + "nodeType": "ParameterList", + "parameters": [], + "src": "617:0:3" + }, + "scope": 983, + "src": "576:42:3", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "d00283ce", + "id": 982, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getRwETHTokenAddress", + "nameLocation": "633:20:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 978, + "nodeType": "ParameterList", + "parameters": [], + "src": "653:2:3" + }, + "returnParameters": { + "id": 981, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 980, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 982, + "src": "678:7:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 979, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "678:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "677:9:3" + }, + "scope": 983, + "src": "624:63:3", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + } + ], + "scope": 984, + "src": "194:513:3", + "usedErrors": [] + } + ], + "src": "33:674:3" + }, + "id": 3 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol", + "exportedSymbols": { + "AccessControl": [ + 1292 + ], + "Context": [ + 1505 + ], + "ERC165": [ + 1732 + ], + "IAccessControl": [ + 1365 + ], + "IERC165": [ + 1744 + ], + "Strings": [ + 1708 + ] + }, + "id": 1293, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 985, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "108:23:4" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol", + "file": "./IAccessControl.sol", + "id": 986, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1293, + "sourceUnit": 1366, + "src": "133:30:4", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol", + "file": "../utils/Context.sol", + "id": 987, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1293, + "sourceUnit": 1506, + "src": "164:30:4", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol", + "file": "../utils/Strings.sol", + "id": 988, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1293, + "sourceUnit": 1709, + "src": "195:30:4", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol", + "file": "../utils/introspection/ERC165.sol", + "id": 989, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1293, + "sourceUnit": 1733, + "src": "226:43:4", + "symbolAliases": [], + "unitAlias": "" + }, + { + "abstract": true, + "baseContracts": [ + { + "baseName": { + "id": 991, + "name": "Context", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1505, + "src": "1841:7:4" + }, + "id": 992, + "nodeType": "InheritanceSpecifier", + "src": "1841:7:4" + }, + { + "baseName": { + "id": 993, + "name": "IAccessControl", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1365, + "src": "1850:14:4" + }, + "id": 994, + "nodeType": "InheritanceSpecifier", + "src": "1850:14:4" + }, + { + "baseName": { + "id": 995, + "name": "ERC165", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1732, + "src": "1866:6:4" + }, + "id": 996, + "nodeType": "InheritanceSpecifier", + "src": "1866:6:4" + } + ], + "canonicalName": "AccessControl", + "contractDependencies": [], + "contractKind": "contract", + "documentation": { + "id": 990, + "nodeType": "StructuredDocumentation", + "src": "271:1534:4", + "text": " @dev Contract module that allows children to implement role-based access\n control mechanisms. This is a lightweight version that doesn't allow enumerating role\n members except through off-chain means by accessing the contract event logs. Some\n applications may benefit from on-chain enumerability, for those cases see\n {AccessControlEnumerable}.\n Roles are referred to by their `bytes32` identifier. These should be exposed\n in the external API and be unique. The best way to achieve this is by\n using `public constant` hash digests:\n ```\n bytes32 public constant MY_ROLE = keccak256(\"MY_ROLE\");\n ```\n Roles can be used to represent a set of permissions. To restrict access to a\n function call, use {hasRole}:\n ```\n function foo() public {\n require(hasRole(MY_ROLE, msg.sender));\n ...\n }\n ```\n Roles can be granted and revoked dynamically via the {grantRole} and\n {revokeRole} functions. Each role has an associated admin role, and only\n accounts that have a role's admin role can call {grantRole} and {revokeRole}.\n By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means\n that only accounts with this role will be able to grant or revoke other\n roles. More complex role relationships can be created by using\n {_setRoleAdmin}.\n WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to\n grant and revoke this role. Extra precautions should be taken to secure\n accounts that have been granted it." + }, + "fullyImplemented": true, + "id": 1292, + "linearizedBaseContracts": [ + 1292, + 1732, + 1744, + 1365, + 1505 + ], + "name": "AccessControl", + "nameLocation": "1824:13:4", + "nodeType": "ContractDefinition", + "nodes": [ + { + "canonicalName": "AccessControl.RoleData", + "id": 1003, + "members": [ + { + "constant": false, + "id": 1000, + "mutability": "mutable", + "name": "members", + "nameLocation": "1930:7:4", + "nodeType": "VariableDeclaration", + "scope": 1003, + "src": "1905:32:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + }, + "typeName": { + "id": 999, + "keyType": { + "id": 997, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1913:7:4", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Mapping", + "src": "1905:24:4", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + }, + "valueType": { + "id": 998, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "1924:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1002, + "mutability": "mutable", + "name": "adminRole", + "nameLocation": "1955:9:4", + "nodeType": "VariableDeclaration", + "scope": 1003, + "src": "1947:17:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1001, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1947:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "name": "RoleData", + "nameLocation": "1886:8:4", + "nodeType": "StructDefinition", + "scope": 1292, + "src": "1879:92:4", + "visibility": "public" + }, + { + "constant": false, + "id": 1008, + "mutability": "mutable", + "name": "_roles", + "nameLocation": "2014:6:4", + "nodeType": "VariableDeclaration", + "scope": 1292, + "src": "1977:43:4", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$1003_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData)" + }, + "typeName": { + "id": 1007, + "keyType": { + "id": 1004, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1985:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "Mapping", + "src": "1977:28:4", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$1003_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData)" + }, + "valueType": { + "id": 1006, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 1005, + "name": "RoleData", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1003, + "src": "1996:8:4" + }, + "referencedDeclaration": 1003, + "src": "1996:8:4", + "typeDescriptions": { + "typeIdentifier": "t_struct$_RoleData_$1003_storage_ptr", + "typeString": "struct AccessControl.RoleData" + } + } + }, + "visibility": "private" + }, + { + "constant": true, + "functionSelector": "a217fddf", + "id": 1011, + "mutability": "constant", + "name": "DEFAULT_ADMIN_ROLE", + "nameLocation": "2051:18:4", + "nodeType": "VariableDeclaration", + "scope": 1292, + "src": "2027:49:4", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1009, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2027:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": { + "hexValue": "30783030", + "id": 1010, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2072:4:4", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0x00" + }, + "visibility": "public" + }, + { + "body": { + "id": 1023, + "nodeType": "Block", + "src": "2495:58:4", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 1017, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1014, + "src": "2516:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 1018, + "name": "_msgSender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1495, + "src": "2522:10:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", + "typeString": "function () view returns (address)" + } + }, + "id": 1019, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2522:12:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1016, + "name": "_checkRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1108, + "src": "2505:10:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address) view" + } + }, + "id": 1020, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2505:30:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1021, + "nodeType": "ExpressionStatement", + "src": "2505:30:4" + }, + { + "id": 1022, + "nodeType": "PlaceholderStatement", + "src": "2545:1:4" + } + ] + }, + "documentation": { + "id": 1012, + "nodeType": "StructuredDocumentation", + "src": "2083:375:4", + "text": " @dev Modifier that checks that an account has a specific role. Reverts\n with a standardized message including the required role.\n The format of the revert reason is given by the following regular expression:\n /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/\n _Available since v4.1._" + }, + "id": 1024, + "name": "onlyRole", + "nameLocation": "2472:8:4", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 1015, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1014, + "mutability": "mutable", + "name": "role", + "nameLocation": "2489:4:4", + "nodeType": "VariableDeclaration", + "scope": 1024, + "src": "2481:12:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1013, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2481:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "2480:14:4" + }, + "src": "2463:90:4", + "virtual": false, + "visibility": "internal" + }, + { + "baseFunctions": [ + 1731 + ], + "body": { + "id": 1045, + "nodeType": "Block", + "src": "2711:111:4", + "statements": [ + { + "expression": { + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 1043, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + "id": 1038, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1033, + "name": "interfaceId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1027, + "src": "2728:11:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "expression": { + "arguments": [ + { + "id": 1035, + "name": "IAccessControl", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1365, + "src": "2748:14:4", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_IAccessControl_$1365_$", + "typeString": "type(contract IAccessControl)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_type$_t_contract$_IAccessControl_$1365_$", + "typeString": "type(contract IAccessControl)" + } + ], + "id": 1034, + "name": "type", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967269, + "src": "2743:4:4", + "typeDescriptions": { + "typeIdentifier": "t_function_metatype_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 1036, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2743:20:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_magic_meta_type_t_contract$_IAccessControl_$1365", + "typeString": "type(contract IAccessControl)" + } + }, + "id": 1037, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "interfaceId", + "nodeType": "MemberAccess", + "src": "2743:32:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "src": "2728:47:4", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "BinaryOperation", + "operator": "||", + "rightExpression": { + "arguments": [ + { + "id": 1041, + "name": "interfaceId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1027, + "src": "2803:11:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + ], + "expression": { + "id": 1039, + "name": "super", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967271, + "src": "2779:5:4", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_super$_AccessControl_$1292_$", + "typeString": "type(contract super AccessControl)" + } + }, + "id": 1040, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "supportsInterface", + "nodeType": "MemberAccess", + "referencedDeclaration": 1731, + "src": "2779:23:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes4_$returns$_t_bool_$", + "typeString": "function (bytes4) view returns (bool)" + } + }, + "id": 1042, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2779:36:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "src": "2728:87:4", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "functionReturnParameters": 1032, + "id": 1044, + "nodeType": "Return", + "src": "2721:94:4" + } + ] + }, + "documentation": { + "id": 1025, + "nodeType": "StructuredDocumentation", + "src": "2559:56:4", + "text": " @dev See {IERC165-supportsInterface}." + }, + "functionSelector": "01ffc9a7", + "id": 1046, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "supportsInterface", + "nameLocation": "2629:17:4", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 1029, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "2687:8:4" + }, + "parameters": { + "id": 1028, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1027, + "mutability": "mutable", + "name": "interfaceId", + "nameLocation": "2654:11:4", + "nodeType": "VariableDeclaration", + "scope": 1046, + "src": "2647:18:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + "typeName": { + "id": 1026, + "name": "bytes4", + "nodeType": "ElementaryTypeName", + "src": "2647:6:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "visibility": "internal" + } + ], + "src": "2646:20:4" + }, + "returnParameters": { + "id": 1032, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1031, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1046, + "src": "2705:4:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1030, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2705:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "2704:6:4" + }, + "scope": 1292, + "src": "2620:202:4", + "stateMutability": "view", + "virtual": true, + "visibility": "public" + }, + { + "baseFunctions": [ + 1332 + ], + "body": { + "id": 1064, + "nodeType": "Block", + "src": "3001:53:4", + "statements": [ + { + "expression": { + "baseExpression": { + "expression": { + "baseExpression": { + "id": 1057, + "name": "_roles", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1008, + "src": "3018:6:4", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$1003_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" + } + }, + "id": 1059, + "indexExpression": { + "id": 1058, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1049, + "src": "3025:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3018:12:4", + "typeDescriptions": { + "typeIdentifier": "t_struct$_RoleData_$1003_storage", + "typeString": "struct AccessControl.RoleData storage ref" + } + }, + "id": 1060, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "members", + "nodeType": "MemberAccess", + "referencedDeclaration": 1000, + "src": "3018:20:4", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 1062, + "indexExpression": { + "id": 1061, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1051, + "src": "3039:7:4", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3018:29:4", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "functionReturnParameters": 1056, + "id": 1063, + "nodeType": "Return", + "src": "3011:36:4" + } + ] + }, + "documentation": { + "id": 1047, + "nodeType": "StructuredDocumentation", + "src": "2828:76:4", + "text": " @dev Returns `true` if `account` has been granted `role`." + }, + "functionSelector": "91d14854", + "id": 1065, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "hasRole", + "nameLocation": "2918:7:4", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 1053, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "2977:8:4" + }, + "parameters": { + "id": 1052, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1049, + "mutability": "mutable", + "name": "role", + "nameLocation": "2934:4:4", + "nodeType": "VariableDeclaration", + "scope": 1065, + "src": "2926:12:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1048, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2926:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1051, + "mutability": "mutable", + "name": "account", + "nameLocation": "2948:7:4", + "nodeType": "VariableDeclaration", + "scope": 1065, + "src": "2940:15:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1050, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2940:7:4", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2925:31:4" + }, + "returnParameters": { + "id": 1056, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1055, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1065, + "src": "2995:4:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1054, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2995:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "2994:6:4" + }, + "scope": 1292, + "src": "2909:145:4", + "stateMutability": "view", + "virtual": true, + "visibility": "public" + }, + { + "body": { + "id": 1107, + "nodeType": "Block", + "src": "3408:419:4", + "statements": [ + { + "condition": { + "id": 1077, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "3422:23:4", + "subExpression": { + "arguments": [ + { + "id": 1074, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1068, + "src": "3431:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1075, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1070, + "src": "3437:7:4", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1073, + "name": "hasRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1065, + "src": "3423:7:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$", + "typeString": "function (bytes32,address) view returns (bool)" + } + }, + "id": 1076, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3423:22:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1106, + "nodeType": "IfStatement", + "src": "3418:403:4", + "trueBody": { + "id": 1105, + "nodeType": "Block", + "src": "3447:374:4", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "416363657373436f6e74726f6c3a206163636f756e7420", + "id": 1083, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3555:25:4", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874", + "typeString": "literal_string \"AccessControl: account \"" + }, + "value": "AccessControl: account " + }, + { + "arguments": [ + { + "arguments": [ + { + "id": 1088, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1070, + "src": "3634:7:4", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1087, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3626:7:4", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint160_$", + "typeString": "type(uint160)" + }, + "typeName": { + "id": 1086, + "name": "uint160", + "nodeType": "ElementaryTypeName", + "src": "3626:7:4", + "typeDescriptions": {} + } + }, + "id": 1089, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3626:16:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint160", + "typeString": "uint160" + } + }, + { + "hexValue": "3230", + "id": 1090, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3644:2:4", + "typeDescriptions": { + "typeIdentifier": "t_rational_20_by_1", + "typeString": "int_const 20" + }, + "value": "20" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint160", + "typeString": "uint160" + }, + { + "typeIdentifier": "t_rational_20_by_1", + "typeString": "int_const 20" + } + ], + "expression": { + "id": 1084, + "name": "Strings", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1708, + "src": "3606:7:4", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Strings_$1708_$", + "typeString": "type(library Strings)" + } + }, + "id": 1085, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "toHexString", + "nodeType": "MemberAccess", + "referencedDeclaration": 1707, + "src": "3606:19:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_string_memory_ptr_$", + "typeString": "function (uint256,uint256) pure returns (string memory)" + } + }, + "id": 1091, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3606:41:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + { + "hexValue": "206973206d697373696e6720726f6c6520", + "id": 1092, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3673:19:4", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69", + "typeString": "literal_string \" is missing role \"" + }, + "value": " is missing role " + }, + { + "arguments": [ + { + "arguments": [ + { + "id": 1097, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1068, + "src": "3746:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "id": 1096, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3738:7:4", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint256_$", + "typeString": "type(uint256)" + }, + "typeName": { + "id": 1095, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3738:7:4", + "typeDescriptions": {} + } + }, + "id": 1098, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3738:13:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "hexValue": "3332", + "id": 1099, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3753:2:4", + "typeDescriptions": { + "typeIdentifier": "t_rational_32_by_1", + "typeString": "int_const 32" + }, + "value": "32" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_rational_32_by_1", + "typeString": "int_const 32" + } + ], + "expression": { + "id": 1093, + "name": "Strings", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1708, + "src": "3718:7:4", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Strings_$1708_$", + "typeString": "type(library Strings)" + } + }, + "id": 1094, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "toHexString", + "nodeType": "MemberAccess", + "referencedDeclaration": 1707, + "src": "3718:19:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_string_memory_ptr_$", + "typeString": "function (uint256,uint256) pure returns (string memory)" + } + }, + "id": 1100, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3718:38:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874", + "typeString": "literal_string \"AccessControl: account \"" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + }, + { + "typeIdentifier": "t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69", + "typeString": "literal_string \" is missing role \"" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 1081, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3513:3:4", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 1082, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3513:16:4", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 1101, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3513:265:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1080, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3485:6:4", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_string_storage_ptr_$", + "typeString": "type(string storage pointer)" + }, + "typeName": { + "id": 1079, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "3485:6:4", + "typeDescriptions": {} + } + }, + "id": 1102, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3485:311:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "id": 1078, + "name": "revert", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967277, + 4294967277 + ], + "referencedDeclaration": 4294967277, + "src": "3461:6:4", + "typeDescriptions": { + "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", + "typeString": "function (string memory) pure" + } + }, + "id": 1103, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3461:349:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1104, + "nodeType": "ExpressionStatement", + "src": "3461:349:4" + } + ] + } + } + ] + }, + "documentation": { + "id": 1066, + "nodeType": "StructuredDocumentation", + "src": "3060:270:4", + "text": " @dev Revert with a standard message if `account` is missing `role`.\n The format of the revert reason is given by the following regular expression:\n /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/" + }, + "id": 1108, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_checkRole", + "nameLocation": "3344:10:4", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1071, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1068, + "mutability": "mutable", + "name": "role", + "nameLocation": "3363:4:4", + "nodeType": "VariableDeclaration", + "scope": 1108, + "src": "3355:12:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1067, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3355:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1070, + "mutability": "mutable", + "name": "account", + "nameLocation": "3377:7:4", + "nodeType": "VariableDeclaration", + "scope": 1108, + "src": "3369:15:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1069, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3369:7:4", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "3354:31:4" + }, + "returnParameters": { + "id": 1072, + "nodeType": "ParameterList", + "parameters": [], + "src": "3408:0:4" + }, + "scope": 1292, + "src": "3335:492:4", + "stateMutability": "view", + "virtual": true, + "visibility": "internal" + }, + { + "baseFunctions": [ + 1340 + ], + "body": { + "id": 1122, + "nodeType": "Block", + "src": "4091:46:4", + "statements": [ + { + "expression": { + "expression": { + "baseExpression": { + "id": 1117, + "name": "_roles", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1008, + "src": "4108:6:4", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$1003_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" + } + }, + "id": 1119, + "indexExpression": { + "id": 1118, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1111, + "src": "4115:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4108:12:4", + "typeDescriptions": { + "typeIdentifier": "t_struct$_RoleData_$1003_storage", + "typeString": "struct AccessControl.RoleData storage ref" + } + }, + "id": 1120, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "adminRole", + "nodeType": "MemberAccess", + "referencedDeclaration": 1002, + "src": "4108:22:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "functionReturnParameters": 1116, + "id": 1121, + "nodeType": "Return", + "src": "4101:29:4" + } + ] + }, + "documentation": { + "id": 1109, + "nodeType": "StructuredDocumentation", + "src": "3833:170:4", + "text": " @dev Returns the admin role that controls `role`. See {grantRole} and\n {revokeRole}.\n To change a role's admin, use {_setRoleAdmin}." + }, + "functionSelector": "248a9ca3", + "id": 1123, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getRoleAdmin", + "nameLocation": "4017:12:4", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 1113, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "4064:8:4" + }, + "parameters": { + "id": 1112, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1111, + "mutability": "mutable", + "name": "role", + "nameLocation": "4038:4:4", + "nodeType": "VariableDeclaration", + "scope": 1123, + "src": "4030:12:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1110, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4030:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "4029:14:4" + }, + "returnParameters": { + "id": 1116, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1115, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1123, + "src": "4082:7:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1114, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4082:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "4081:9:4" + }, + "scope": 1292, + "src": "4008:129:4", + "stateMutability": "view", + "virtual": true, + "visibility": "public" + }, + { + "baseFunctions": [ + 1348 + ], + "body": { + "id": 1142, + "nodeType": "Block", + "src": "4490:42:4", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 1138, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1126, + "src": "4511:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1139, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1128, + "src": "4517:7:4", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1137, + "name": "_grantRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1260, + "src": "4500:10:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 1140, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4500:25:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1141, + "nodeType": "ExpressionStatement", + "src": "4500:25:4" + } + ] + }, + "documentation": { + "id": 1124, + "nodeType": "StructuredDocumentation", + "src": "4143:239:4", + "text": " @dev Grants `role` to `account`.\n If `account` had not been already granted `role`, emits a {RoleGranted}\n event.\n Requirements:\n - the caller must have ``role``'s admin role." + }, + "functionSelector": "2f2ff15d", + "id": 1143, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "arguments": [ + { + "id": 1133, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1126, + "src": "4483:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "id": 1132, + "name": "getRoleAdmin", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1123, + "src": "4470:12:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_bytes32_$", + "typeString": "function (bytes32) view returns (bytes32)" + } + }, + "id": 1134, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4470:18:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 1135, + "kind": "modifierInvocation", + "modifierName": { + "id": 1131, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1024, + "src": "4461:8:4" + }, + "nodeType": "ModifierInvocation", + "src": "4461:28:4" + } + ], + "name": "grantRole", + "nameLocation": "4396:9:4", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 1130, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "4452:8:4" + }, + "parameters": { + "id": 1129, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1126, + "mutability": "mutable", + "name": "role", + "nameLocation": "4414:4:4", + "nodeType": "VariableDeclaration", + "scope": 1143, + "src": "4406:12:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1125, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4406:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1128, + "mutability": "mutable", + "name": "account", + "nameLocation": "4428:7:4", + "nodeType": "VariableDeclaration", + "scope": 1143, + "src": "4420:15:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1127, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4420:7:4", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "4405:31:4" + }, + "returnParameters": { + "id": 1136, + "nodeType": "ParameterList", + "parameters": [], + "src": "4490:0:4" + }, + "scope": 1292, + "src": "4387:145:4", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + }, + { + "baseFunctions": [ + 1356 + ], + "body": { + "id": 1162, + "nodeType": "Block", + "src": "4870:43:4", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 1158, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1146, + "src": "4892:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1159, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1148, + "src": "4898:7:4", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1157, + "name": "_revokeRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1291, + "src": "4880:11:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 1160, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4880:26:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1161, + "nodeType": "ExpressionStatement", + "src": "4880:26:4" + } + ] + }, + "documentation": { + "id": 1144, + "nodeType": "StructuredDocumentation", + "src": "4538:223:4", + "text": " @dev Revokes `role` from `account`.\n If `account` had been granted `role`, emits a {RoleRevoked} event.\n Requirements:\n - the caller must have ``role``'s admin role." + }, + "functionSelector": "d547741f", + "id": 1163, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "arguments": [ + { + "id": 1153, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1146, + "src": "4863:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "id": 1152, + "name": "getRoleAdmin", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1123, + "src": "4850:12:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_bytes32_$", + "typeString": "function (bytes32) view returns (bytes32)" + } + }, + "id": 1154, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4850:18:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 1155, + "kind": "modifierInvocation", + "modifierName": { + "id": 1151, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1024, + "src": "4841:8:4" + }, + "nodeType": "ModifierInvocation", + "src": "4841:28:4" + } + ], + "name": "revokeRole", + "nameLocation": "4775:10:4", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 1150, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "4832:8:4" + }, + "parameters": { + "id": 1149, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1146, + "mutability": "mutable", + "name": "role", + "nameLocation": "4794:4:4", + "nodeType": "VariableDeclaration", + "scope": 1163, + "src": "4786:12:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1145, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4786:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1148, + "mutability": "mutable", + "name": "account", + "nameLocation": "4808:7:4", + "nodeType": "VariableDeclaration", + "scope": 1163, + "src": "4800:15:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1147, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4800:7:4", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "4785:31:4" + }, + "returnParameters": { + "id": 1156, + "nodeType": "ParameterList", + "parameters": [], + "src": "4870:0:4" + }, + "scope": 1292, + "src": "4766:147:4", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + }, + { + "baseFunctions": [ + 1364 + ], + "body": { + "id": 1185, + "nodeType": "Block", + "src": "5481:137:4", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 1176, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1173, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1168, + "src": "5499:7:4", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 1174, + "name": "_msgSender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1495, + "src": "5510:10:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", + "typeString": "function () view returns (address)" + } + }, + "id": 1175, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5510:12:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "5499:23:4", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66", + "id": 1177, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5524:49:4", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b", + "typeString": "literal_string \"AccessControl: can only renounce roles for self\"" + }, + "value": "AccessControl: can only renounce roles for self" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b", + "typeString": "literal_string \"AccessControl: can only renounce roles for self\"" + } + ], + "id": 1172, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "5491:7:4", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 1178, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5491:83:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1179, + "nodeType": "ExpressionStatement", + "src": "5491:83:4" + }, + { + "expression": { + "arguments": [ + { + "id": 1181, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1166, + "src": "5597:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1182, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1168, + "src": "5603:7:4", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1180, + "name": "_revokeRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1291, + "src": "5585:11:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 1183, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5585:26:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1184, + "nodeType": "ExpressionStatement", + "src": "5585:26:4" + } + ] + }, + "documentation": { + "id": 1164, + "nodeType": "StructuredDocumentation", + "src": "4919:480:4", + "text": " @dev Revokes `role` from the calling account.\n Roles are often managed via {grantRole} and {revokeRole}: this function's\n purpose is to provide a mechanism for accounts to lose their privileges\n if they are compromised (such as when a trusted device is misplaced).\n If the calling account had been revoked `role`, emits a {RoleRevoked}\n event.\n Requirements:\n - the caller must be `account`." + }, + "functionSelector": "36568abe", + "id": 1186, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "renounceRole", + "nameLocation": "5413:12:4", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 1170, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "5472:8:4" + }, + "parameters": { + "id": 1169, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1166, + "mutability": "mutable", + "name": "role", + "nameLocation": "5434:4:4", + "nodeType": "VariableDeclaration", + "scope": 1186, + "src": "5426:12:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1165, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "5426:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1168, + "mutability": "mutable", + "name": "account", + "nameLocation": "5448:7:4", + "nodeType": "VariableDeclaration", + "scope": 1186, + "src": "5440:15:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1167, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5440:7:4", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "5425:31:4" + }, + "returnParameters": { + "id": 1171, + "nodeType": "ParameterList", + "parameters": [], + "src": "5481:0:4" + }, + "scope": 1292, + "src": "5404:214:4", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + }, + { + "body": { + "id": 1199, + "nodeType": "Block", + "src": "6325:42:4", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 1195, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1189, + "src": "6346:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1196, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1191, + "src": "6352:7:4", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1194, + "name": "_grantRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1260, + "src": "6335:10:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 1197, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6335:25:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1198, + "nodeType": "ExpressionStatement", + "src": "6335:25:4" + } + ] + }, + "documentation": { + "id": 1187, + "nodeType": "StructuredDocumentation", + "src": "5624:628:4", + "text": " @dev Grants `role` to `account`.\n If `account` had not been already granted `role`, emits a {RoleGranted}\n event. Note that unlike {grantRole}, this function doesn't perform any\n checks on the calling account.\n [WARNING]\n ====\n This function should only be called from the constructor when setting\n up the initial roles for the system.\n Using this function in any other way is effectively circumventing the admin\n system imposed by {AccessControl}.\n ====\n NOTE: This function is deprecated in favor of {_grantRole}." + }, + "id": 1200, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_setupRole", + "nameLocation": "6266:10:4", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1192, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1189, + "mutability": "mutable", + "name": "role", + "nameLocation": "6285:4:4", + "nodeType": "VariableDeclaration", + "scope": 1200, + "src": "6277:12:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1188, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6277:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1191, + "mutability": "mutable", + "name": "account", + "nameLocation": "6299:7:4", + "nodeType": "VariableDeclaration", + "scope": 1200, + "src": "6291:15:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1190, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6291:7:4", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "6276:31:4" + }, + "returnParameters": { + "id": 1193, + "nodeType": "ParameterList", + "parameters": [], + "src": "6325:0:4" + }, + "scope": 1292, + "src": "6257:110:4", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + }, + { + "body": { + "id": 1227, + "nodeType": "Block", + "src": "6565:174:4", + "statements": [ + { + "assignments": [ + 1209 + ], + "declarations": [ + { + "constant": false, + "id": 1209, + "mutability": "mutable", + "name": "previousAdminRole", + "nameLocation": "6583:17:4", + "nodeType": "VariableDeclaration", + "scope": 1227, + "src": "6575:25:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1208, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6575:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 1213, + "initialValue": { + "arguments": [ + { + "id": 1211, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1203, + "src": "6616:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "id": 1210, + "name": "getRoleAdmin", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1123, + "src": "6603:12:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_bytes32_$", + "typeString": "function (bytes32) view returns (bytes32)" + } + }, + "id": 1212, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6603:18:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6575:46:4" + }, + { + "expression": { + "id": 1219, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "expression": { + "baseExpression": { + "id": 1214, + "name": "_roles", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1008, + "src": "6631:6:4", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$1003_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" + } + }, + "id": 1216, + "indexExpression": { + "id": 1215, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1203, + "src": "6638:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6631:12:4", + "typeDescriptions": { + "typeIdentifier": "t_struct$_RoleData_$1003_storage", + "typeString": "struct AccessControl.RoleData storage ref" + } + }, + "id": 1217, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "adminRole", + "nodeType": "MemberAccess", + "referencedDeclaration": 1002, + "src": "6631:22:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 1218, + "name": "adminRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1205, + "src": "6656:9:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "src": "6631:34:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "id": 1220, + "nodeType": "ExpressionStatement", + "src": "6631:34:4" + }, + { + "eventCall": { + "arguments": [ + { + "id": 1222, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1203, + "src": "6697:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1223, + "name": "previousAdminRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1209, + "src": "6703:17:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1224, + "name": "adminRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1205, + "src": "6722:9:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "id": 1221, + "name": "RoleAdminChanged", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1304, + "src": "6680:16:4", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_bytes32_$_t_bytes32_$returns$__$", + "typeString": "function (bytes32,bytes32,bytes32)" + } + }, + "id": 1225, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6680:52:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1226, + "nodeType": "EmitStatement", + "src": "6675:57:4" + } + ] + }, + "documentation": { + "id": 1201, + "nodeType": "StructuredDocumentation", + "src": "6373:114:4", + "text": " @dev Sets `adminRole` as ``role``'s admin role.\n Emits a {RoleAdminChanged} event." + }, + "id": 1228, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_setRoleAdmin", + "nameLocation": "6501:13:4", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1206, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1203, + "mutability": "mutable", + "name": "role", + "nameLocation": "6523:4:4", + "nodeType": "VariableDeclaration", + "scope": 1228, + "src": "6515:12:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1202, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6515:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1205, + "mutability": "mutable", + "name": "adminRole", + "nameLocation": "6537:9:4", + "nodeType": "VariableDeclaration", + "scope": 1228, + "src": "6529:17:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1204, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6529:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "6514:33:4" + }, + "returnParameters": { + "id": 1207, + "nodeType": "ParameterList", + "parameters": [], + "src": "6565:0:4" + }, + "scope": 1292, + "src": "6492:247:4", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + }, + { + "body": { + "id": 1259, + "nodeType": "Block", + "src": "6929:165:4", + "statements": [ + { + "condition": { + "id": 1240, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "6943:23:4", + "subExpression": { + "arguments": [ + { + "id": 1237, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1231, + "src": "6952:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1238, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1233, + "src": "6958:7:4", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1236, + "name": "hasRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1065, + "src": "6944:7:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$", + "typeString": "function (bytes32,address) view returns (bool)" + } + }, + "id": 1239, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6944:22:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1258, + "nodeType": "IfStatement", + "src": "6939:149:4", + "trueBody": { + "id": 1257, + "nodeType": "Block", + "src": "6968:120:4", + "statements": [ + { + "expression": { + "id": 1248, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "expression": { + "baseExpression": { + "id": 1241, + "name": "_roles", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1008, + "src": "6982:6:4", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$1003_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" + } + }, + "id": 1243, + "indexExpression": { + "id": 1242, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1231, + "src": "6989:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6982:12:4", + "typeDescriptions": { + "typeIdentifier": "t_struct$_RoleData_$1003_storage", + "typeString": "struct AccessControl.RoleData storage ref" + } + }, + "id": 1244, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "members", + "nodeType": "MemberAccess", + "referencedDeclaration": 1000, + "src": "6982:20:4", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 1246, + "indexExpression": { + "id": 1245, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1233, + "src": "7003:7:4", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "6982:29:4", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "74727565", + "id": 1247, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7014:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "src": "6982:36:4", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1249, + "nodeType": "ExpressionStatement", + "src": "6982:36:4" + }, + { + "eventCall": { + "arguments": [ + { + "id": 1251, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1231, + "src": "7049:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1252, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1233, + "src": "7055:7:4", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 1253, + "name": "_msgSender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1495, + "src": "7064:10:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", + "typeString": "function () view returns (address)" + } + }, + "id": 1254, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7064:12:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1250, + "name": "RoleGranted", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1313, + "src": "7037:11:4", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_address_$returns$__$", + "typeString": "function (bytes32,address,address)" + } + }, + "id": 1255, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7037:40:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1256, + "nodeType": "EmitStatement", + "src": "7032:45:4" + } + ] + } + } + ] + }, + "documentation": { + "id": 1229, + "nodeType": "StructuredDocumentation", + "src": "6745:111:4", + "text": " @dev Grants `role` to `account`.\n Internal function without access restriction." + }, + "id": 1260, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_grantRole", + "nameLocation": "6870:10:4", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1234, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1231, + "mutability": "mutable", + "name": "role", + "nameLocation": "6889:4:4", + "nodeType": "VariableDeclaration", + "scope": 1260, + "src": "6881:12:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1230, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6881:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1233, + "mutability": "mutable", + "name": "account", + "nameLocation": "6903:7:4", + "nodeType": "VariableDeclaration", + "scope": 1260, + "src": "6895:15:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1232, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6895:7:4", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "6880:31:4" + }, + "returnParameters": { + "id": 1235, + "nodeType": "ParameterList", + "parameters": [], + "src": "6929:0:4" + }, + "scope": 1292, + "src": "6861:233:4", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + }, + { + "body": { + "id": 1290, + "nodeType": "Block", + "src": "7288:165:4", + "statements": [ + { + "condition": { + "arguments": [ + { + "id": 1269, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1263, + "src": "7310:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1270, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1265, + "src": "7316:7:4", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1268, + "name": "hasRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1065, + "src": "7302:7:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$", + "typeString": "function (bytes32,address) view returns (bool)" + } + }, + "id": 1271, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7302:22:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1289, + "nodeType": "IfStatement", + "src": "7298:149:4", + "trueBody": { + "id": 1288, + "nodeType": "Block", + "src": "7326:121:4", + "statements": [ + { + "expression": { + "id": 1279, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "expression": { + "baseExpression": { + "id": 1272, + "name": "_roles", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1008, + "src": "7340:6:4", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$1003_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" + } + }, + "id": 1274, + "indexExpression": { + "id": 1273, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1263, + "src": "7347:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7340:12:4", + "typeDescriptions": { + "typeIdentifier": "t_struct$_RoleData_$1003_storage", + "typeString": "struct AccessControl.RoleData storage ref" + } + }, + "id": 1275, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "members", + "nodeType": "MemberAccess", + "referencedDeclaration": 1000, + "src": "7340:20:4", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 1277, + "indexExpression": { + "id": 1276, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1265, + "src": "7361:7:4", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7340:29:4", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "66616c7365", + "id": 1278, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7372:5:4", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "src": "7340:37:4", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1280, + "nodeType": "ExpressionStatement", + "src": "7340:37:4" + }, + { + "eventCall": { + "arguments": [ + { + "id": 1282, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1263, + "src": "7408:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1283, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1265, + "src": "7414:7:4", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 1284, + "name": "_msgSender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1495, + "src": "7423:10:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", + "typeString": "function () view returns (address)" + } + }, + "id": 1285, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7423:12:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1281, + "name": "RoleRevoked", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1322, + "src": "7396:11:4", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_address_$returns$__$", + "typeString": "function (bytes32,address,address)" + } + }, + "id": 1286, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7396:40:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1287, + "nodeType": "EmitStatement", + "src": "7391:45:4" + } + ] + } + } + ] + }, + "documentation": { + "id": 1261, + "nodeType": "StructuredDocumentation", + "src": "7100:114:4", + "text": " @dev Revokes `role` from `account`.\n Internal function without access restriction." + }, + "id": 1291, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_revokeRole", + "nameLocation": "7228:11:4", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1266, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1263, + "mutability": "mutable", + "name": "role", + "nameLocation": "7248:4:4", + "nodeType": "VariableDeclaration", + "scope": 1291, + "src": "7240:12:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1262, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "7240:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1265, + "mutability": "mutable", + "name": "account", + "nameLocation": "7262:7:4", + "nodeType": "VariableDeclaration", + "scope": 1291, + "src": "7254:15:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1264, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "7254:7:4", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "7239:31:4" + }, + "returnParameters": { + "id": 1267, + "nodeType": "ParameterList", + "parameters": [], + "src": "7288:0:4" + }, + "scope": 1292, + "src": "7219:234:4", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "scope": 1293, + "src": "1806:5649:4", + "usedErrors": [] + } + ], + "src": "108:7348:4" + }, + "id": 4 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol", + "exportedSymbols": { + "IAccessControl": [ + 1365 + ] + }, + "id": 1366, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1294, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "94:23:5" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "IAccessControl", + "contractDependencies": [], + "contractKind": "interface", + "documentation": { + "id": 1295, + "nodeType": "StructuredDocumentation", + "src": "119:89:5", + "text": " @dev External interface of AccessControl declared to support ERC165 detection." + }, + "fullyImplemented": false, + "id": 1365, + "linearizedBaseContracts": [ + 1365 + ], + "name": "IAccessControl", + "nameLocation": "219:14:5", + "nodeType": "ContractDefinition", + "nodes": [ + { + "anonymous": false, + "documentation": { + "id": 1296, + "nodeType": "StructuredDocumentation", + "src": "240:292:5", + "text": " @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`\n `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite\n {RoleAdminChanged} not being emitted signaling this.\n _Available since v3.1._" + }, + "id": 1304, + "name": "RoleAdminChanged", + "nameLocation": "543:16:5", + "nodeType": "EventDefinition", + "parameters": { + "id": 1303, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1298, + "indexed": true, + "mutability": "mutable", + "name": "role", + "nameLocation": "576:4:5", + "nodeType": "VariableDeclaration", + "scope": 1304, + "src": "560:20:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1297, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "560:7:5", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1300, + "indexed": true, + "mutability": "mutable", + "name": "previousAdminRole", + "nameLocation": "598:17:5", + "nodeType": "VariableDeclaration", + "scope": 1304, + "src": "582:33:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1299, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "582:7:5", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1302, + "indexed": true, + "mutability": "mutable", + "name": "newAdminRole", + "nameLocation": "633:12:5", + "nodeType": "VariableDeclaration", + "scope": 1304, + "src": "617:28:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1301, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "617:7:5", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "559:87:5" + }, + "src": "537:110:5" + }, + { + "anonymous": false, + "documentation": { + "id": 1305, + "nodeType": "StructuredDocumentation", + "src": "653:212:5", + "text": " @dev Emitted when `account` is granted `role`.\n `sender` is the account that originated the contract call, an admin role\n bearer except when using {AccessControl-_setupRole}." + }, + "id": 1313, + "name": "RoleGranted", + "nameLocation": "876:11:5", + "nodeType": "EventDefinition", + "parameters": { + "id": 1312, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1307, + "indexed": true, + "mutability": "mutable", + "name": "role", + "nameLocation": "904:4:5", + "nodeType": "VariableDeclaration", + "scope": 1313, + "src": "888:20:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1306, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "888:7:5", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1309, + "indexed": true, + "mutability": "mutable", + "name": "account", + "nameLocation": "926:7:5", + "nodeType": "VariableDeclaration", + "scope": 1313, + "src": "910:23:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1308, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "910:7:5", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1311, + "indexed": true, + "mutability": "mutable", + "name": "sender", + "nameLocation": "951:6:5", + "nodeType": "VariableDeclaration", + "scope": 1313, + "src": "935:22:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1310, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "935:7:5", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "887:71:5" + }, + "src": "870:89:5" + }, + { + "anonymous": false, + "documentation": { + "id": 1314, + "nodeType": "StructuredDocumentation", + "src": "965:275:5", + "text": " @dev Emitted when `account` is revoked `role`.\n `sender` is the account that originated the contract call:\n - if using `revokeRole`, it is the admin role bearer\n - if using `renounceRole`, it is the role bearer (i.e. `account`)" + }, + "id": 1322, + "name": "RoleRevoked", + "nameLocation": "1251:11:5", + "nodeType": "EventDefinition", + "parameters": { + "id": 1321, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1316, + "indexed": true, + "mutability": "mutable", + "name": "role", + "nameLocation": "1279:4:5", + "nodeType": "VariableDeclaration", + "scope": 1322, + "src": "1263:20:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1315, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1263:7:5", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1318, + "indexed": true, + "mutability": "mutable", + "name": "account", + "nameLocation": "1301:7:5", + "nodeType": "VariableDeclaration", + "scope": 1322, + "src": "1285:23:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1317, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1285:7:5", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1320, + "indexed": true, + "mutability": "mutable", + "name": "sender", + "nameLocation": "1326:6:5", + "nodeType": "VariableDeclaration", + "scope": 1322, + "src": "1310:22:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1319, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1310:7:5", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "1262:71:5" + }, + "src": "1245:89:5" + }, + { + "documentation": { + "id": 1323, + "nodeType": "StructuredDocumentation", + "src": "1340:76:5", + "text": " @dev Returns `true` if `account` has been granted `role`." + }, + "functionSelector": "91d14854", + "id": 1332, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "hasRole", + "nameLocation": "1430:7:5", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1328, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1325, + "mutability": "mutable", + "name": "role", + "nameLocation": "1446:4:5", + "nodeType": "VariableDeclaration", + "scope": 1332, + "src": "1438:12:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1324, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1438:7:5", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1327, + "mutability": "mutable", + "name": "account", + "nameLocation": "1460:7:5", + "nodeType": "VariableDeclaration", + "scope": 1332, + "src": "1452:15:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1326, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1452:7:5", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "1437:31:5" + }, + "returnParameters": { + "id": 1331, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1330, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1332, + "src": "1492:4:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1329, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "1492:4:5", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "1491:6:5" + }, + "scope": 1365, + "src": "1421:77:5", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 1333, + "nodeType": "StructuredDocumentation", + "src": "1504:184:5", + "text": " @dev Returns the admin role that controls `role`. See {grantRole} and\n {revokeRole}.\n To change a role's admin, use {AccessControl-_setRoleAdmin}." + }, + "functionSelector": "248a9ca3", + "id": 1340, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getRoleAdmin", + "nameLocation": "1702:12:5", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1336, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1335, + "mutability": "mutable", + "name": "role", + "nameLocation": "1723:4:5", + "nodeType": "VariableDeclaration", + "scope": 1340, + "src": "1715:12:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1334, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1715:7:5", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "1714:14:5" + }, + "returnParameters": { + "id": 1339, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1338, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1340, + "src": "1752:7:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1337, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1752:7:5", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "1751:9:5" + }, + "scope": 1365, + "src": "1693:68:5", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 1341, + "nodeType": "StructuredDocumentation", + "src": "1767:239:5", + "text": " @dev Grants `role` to `account`.\n If `account` had not been already granted `role`, emits a {RoleGranted}\n event.\n Requirements:\n - the caller must have ``role``'s admin role." + }, + "functionSelector": "2f2ff15d", + "id": 1348, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "grantRole", + "nameLocation": "2020:9:5", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1346, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1343, + "mutability": "mutable", + "name": "role", + "nameLocation": "2038:4:5", + "nodeType": "VariableDeclaration", + "scope": 1348, + "src": "2030:12:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1342, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2030:7:5", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1345, + "mutability": "mutable", + "name": "account", + "nameLocation": "2052:7:5", + "nodeType": "VariableDeclaration", + "scope": 1348, + "src": "2044:15:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1344, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2044:7:5", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2029:31:5" + }, + "returnParameters": { + "id": 1347, + "nodeType": "ParameterList", + "parameters": [], + "src": "2069:0:5" + }, + "scope": 1365, + "src": "2011:59:5", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 1349, + "nodeType": "StructuredDocumentation", + "src": "2076:223:5", + "text": " @dev Revokes `role` from `account`.\n If `account` had been granted `role`, emits a {RoleRevoked} event.\n Requirements:\n - the caller must have ``role``'s admin role." + }, + "functionSelector": "d547741f", + "id": 1356, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "revokeRole", + "nameLocation": "2313:10:5", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1354, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1351, + "mutability": "mutable", + "name": "role", + "nameLocation": "2332:4:5", + "nodeType": "VariableDeclaration", + "scope": 1356, + "src": "2324:12:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1350, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2324:7:5", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1353, + "mutability": "mutable", + "name": "account", + "nameLocation": "2346:7:5", + "nodeType": "VariableDeclaration", + "scope": 1356, + "src": "2338:15:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1352, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2338:7:5", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2323:31:5" + }, + "returnParameters": { + "id": 1355, + "nodeType": "ParameterList", + "parameters": [], + "src": "2363:0:5" + }, + "scope": 1365, + "src": "2304:60:5", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 1357, + "nodeType": "StructuredDocumentation", + "src": "2370:480:5", + "text": " @dev Revokes `role` from the calling account.\n Roles are often managed via {grantRole} and {revokeRole}: this function's\n purpose is to provide a mechanism for accounts to lose their privileges\n if they are compromised (such as when a trusted device is misplaced).\n If the calling account had been granted `role`, emits a {RoleRevoked}\n event.\n Requirements:\n - the caller must be `account`." + }, + "functionSelector": "36568abe", + "id": 1364, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "renounceRole", + "nameLocation": "2864:12:5", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1362, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1359, + "mutability": "mutable", + "name": "role", + "nameLocation": "2885:4:5", + "nodeType": "VariableDeclaration", + "scope": 1364, + "src": "2877:12:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1358, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2877:7:5", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1361, + "mutability": "mutable", + "name": "account", + "nameLocation": "2899:7:5", + "nodeType": "VariableDeclaration", + "scope": 1364, + "src": "2891:15:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1360, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2891:7:5", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2876:31:5" + }, + "returnParameters": { + "id": 1363, + "nodeType": "ParameterList", + "parameters": [], + "src": "2916:0:5" + }, + "scope": 1365, + "src": "2855:62:5", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + } + ], + "scope": 1366, + "src": "209:2710:5", + "usedErrors": [] + } + ], + "src": "94:2826:5" + }, + "id": 5 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol", + "exportedSymbols": { + "ReentrancyGuard": [ + 1405 + ] + }, + "id": 1406, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1367, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "97:23:6" + }, + { + "abstract": true, + "baseContracts": [], + "canonicalName": "ReentrancyGuard", + "contractDependencies": [], + "contractKind": "contract", + "documentation": { + "id": 1368, + "nodeType": "StructuredDocumentation", + "src": "122:750:6", + "text": " @dev Contract module that helps prevent reentrant calls to a function.\n Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\n available, which can be applied to functions to make sure there are no nested\n (reentrant) calls to them.\n Note that because there is a single `nonReentrant` guard, functions marked as\n `nonReentrant` may not call one another. This can be worked around by making\n those functions `private`, and then adding `external` `nonReentrant` entry\n points to them.\n TIP: If you would like to learn more about reentrancy and alternative ways\n to protect against it, check out our blog post\n https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]." + }, + "fullyImplemented": true, + "id": 1405, + "linearizedBaseContracts": [ + 1405 + ], + "name": "ReentrancyGuard", + "nameLocation": "891:15:6", + "nodeType": "ContractDefinition", + "nodes": [ + { + "constant": true, + "id": 1371, + "mutability": "constant", + "name": "_NOT_ENTERED", + "nameLocation": "1686:12:6", + "nodeType": "VariableDeclaration", + "scope": 1405, + "src": "1661:41:6", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1369, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1661:7:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": { + "hexValue": "31", + "id": 1370, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1701:1:6", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "visibility": "private" + }, + { + "constant": true, + "id": 1374, + "mutability": "constant", + "name": "_ENTERED", + "nameLocation": "1733:8:6", + "nodeType": "VariableDeclaration", + "scope": 1405, + "src": "1708:37:6", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1372, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1708:7:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": { + "hexValue": "32", + "id": 1373, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1744:1:6", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "visibility": "private" + }, + { + "constant": false, + "id": 1376, + "mutability": "mutable", + "name": "_status", + "nameLocation": "1768:7:6", + "nodeType": "VariableDeclaration", + "scope": 1405, + "src": "1752:23:6", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1375, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1752:7:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "private" + }, + { + "body": { + "id": 1383, + "nodeType": "Block", + "src": "1796:39:6", + "statements": [ + { + "expression": { + "id": 1381, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1379, + "name": "_status", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1376, + "src": "1806:7:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 1380, + "name": "_NOT_ENTERED", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1371, + "src": "1816:12:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1806:22:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1382, + "nodeType": "ExpressionStatement", + "src": "1806:22:6" + } + ] + }, + "id": 1384, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1377, + "nodeType": "ParameterList", + "parameters": [], + "src": "1793:2:6" + }, + "returnParameters": { + "id": 1378, + "nodeType": "ParameterList", + "parameters": [], + "src": "1796:0:6" + }, + "scope": 1405, + "src": "1782:53:6", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 1403, + "nodeType": "Block", + "src": "2236:421:6", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1390, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1388, + "name": "_status", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1376, + "src": "2325:7:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "id": 1389, + "name": "_ENTERED", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1374, + "src": "2336:8:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2325:19:6", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "5265656e7472616e637947756172643a207265656e7472616e742063616c6c", + "id": 1391, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2346:33:6", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_ebf73bba305590e4764d5cb53b69bffd6d4d092d1a67551cb346f8cfcdab8619", + "typeString": "literal_string \"ReentrancyGuard: reentrant call\"" + }, + "value": "ReentrancyGuard: reentrant call" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_ebf73bba305590e4764d5cb53b69bffd6d4d092d1a67551cb346f8cfcdab8619", + "typeString": "literal_string \"ReentrancyGuard: reentrant call\"" + } + ], + "id": 1387, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "2317:7:6", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 1392, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2317:63:6", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1393, + "nodeType": "ExpressionStatement", + "src": "2317:63:6" + }, + { + "expression": { + "id": 1396, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1394, + "name": "_status", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1376, + "src": "2455:7:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 1395, + "name": "_ENTERED", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1374, + "src": "2465:8:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2455:18:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1397, + "nodeType": "ExpressionStatement", + "src": "2455:18:6" + }, + { + "id": 1398, + "nodeType": "PlaceholderStatement", + "src": "2484:1:6" + }, + { + "expression": { + "id": 1401, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1399, + "name": "_status", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1376, + "src": "2628:7:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 1400, + "name": "_NOT_ENTERED", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1371, + "src": "2638:12:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2628:22:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1402, + "nodeType": "ExpressionStatement", + "src": "2628:22:6" + } + ] + }, + "documentation": { + "id": 1385, + "nodeType": "StructuredDocumentation", + "src": "1841:366:6", + "text": " @dev Prevents a contract from calling itself, directly or indirectly.\n Calling a `nonReentrant` function from another `nonReentrant`\n function is not supported. It is possible to prevent this from happening\n by making the `nonReentrant` function external, and making it call a\n `private` function that does the actual work." + }, + "id": 1404, + "name": "nonReentrant", + "nameLocation": "2221:12:6", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 1386, + "nodeType": "ParameterList", + "parameters": [], + "src": "2233:2:6" + }, + "src": "2212:445:6", + "virtual": false, + "visibility": "internal" + } + ], + "scope": 1406, + "src": "873:1786:6", + "usedErrors": [] + } + ], + "src": "97:2563:6" + }, + "id": 6 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol", + "exportedSymbols": { + "IERC20": [ + 1483 + ] + }, + "id": 1484, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1407, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "106:23:7" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "IERC20", + "contractDependencies": [], + "contractKind": "interface", + "documentation": { + "id": 1408, + "nodeType": "StructuredDocumentation", + "src": "131:70:7", + "text": " @dev Interface of the ERC20 standard as defined in the EIP." + }, + "fullyImplemented": false, + "id": 1483, + "linearizedBaseContracts": [ + 1483 + ], + "name": "IERC20", + "nameLocation": "212:6:7", + "nodeType": "ContractDefinition", + "nodes": [ + { + "documentation": { + "id": 1409, + "nodeType": "StructuredDocumentation", + "src": "225:66:7", + "text": " @dev Returns the amount of tokens in existence." + }, + "functionSelector": "18160ddd", + "id": 1414, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "totalSupply", + "nameLocation": "305:11:7", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1410, + "nodeType": "ParameterList", + "parameters": [], + "src": "316:2:7" + }, + "returnParameters": { + "id": 1413, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1412, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1414, + "src": "342:7:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1411, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "342:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "341:9:7" + }, + "scope": 1483, + "src": "296:55:7", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 1415, + "nodeType": "StructuredDocumentation", + "src": "357:72:7", + "text": " @dev Returns the amount of tokens owned by `account`." + }, + "functionSelector": "70a08231", + "id": 1422, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "balanceOf", + "nameLocation": "443:9:7", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1418, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1417, + "mutability": "mutable", + "name": "account", + "nameLocation": "461:7:7", + "nodeType": "VariableDeclaration", + "scope": 1422, + "src": "453:15:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1416, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "453:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "452:17:7" + }, + "returnParameters": { + "id": 1421, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1420, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1422, + "src": "493:7:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1419, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "493:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "492:9:7" + }, + "scope": 1483, + "src": "434:68:7", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 1423, + "nodeType": "StructuredDocumentation", + "src": "508:202:7", + "text": " @dev Moves `amount` tokens from the caller's account to `to`.\n Returns a boolean value indicating whether the operation succeeded.\n Emits a {Transfer} event." + }, + "functionSelector": "a9059cbb", + "id": 1432, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "transfer", + "nameLocation": "724:8:7", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1428, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1425, + "mutability": "mutable", + "name": "to", + "nameLocation": "741:2:7", + "nodeType": "VariableDeclaration", + "scope": 1432, + "src": "733:10:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1424, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "733:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1427, + "mutability": "mutable", + "name": "amount", + "nameLocation": "753:6:7", + "nodeType": "VariableDeclaration", + "scope": 1432, + "src": "745:14:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1426, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "745:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "732:28:7" + }, + "returnParameters": { + "id": 1431, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1430, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1432, + "src": "779:4:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1429, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "779:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "778:6:7" + }, + "scope": 1483, + "src": "715:70:7", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 1433, + "nodeType": "StructuredDocumentation", + "src": "791:264:7", + "text": " @dev Returns the remaining number of tokens that `spender` will be\n allowed to spend on behalf of `owner` through {transferFrom}. This is\n zero by default.\n This value changes when {approve} or {transferFrom} are called." + }, + "functionSelector": "dd62ed3e", + "id": 1442, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "allowance", + "nameLocation": "1069:9:7", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1438, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1435, + "mutability": "mutable", + "name": "owner", + "nameLocation": "1087:5:7", + "nodeType": "VariableDeclaration", + "scope": 1442, + "src": "1079:13:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1434, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1079:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1437, + "mutability": "mutable", + "name": "spender", + "nameLocation": "1102:7:7", + "nodeType": "VariableDeclaration", + "scope": 1442, + "src": "1094:15:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1436, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1094:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "1078:32:7" + }, + "returnParameters": { + "id": 1441, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1440, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1442, + "src": "1134:7:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1439, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1134:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1133:9:7" + }, + "scope": 1483, + "src": "1060:83:7", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 1443, + "nodeType": "StructuredDocumentation", + "src": "1149:642:7", + "text": " @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\n Returns a boolean value indicating whether the operation succeeded.\n IMPORTANT: Beware that changing an allowance with this method brings the risk\n that someone may use both the old and the new allowance by unfortunate\n transaction ordering. One possible solution to mitigate this race\n condition is to first reduce the spender's allowance to 0 and set the\n desired value afterwards:\n https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n Emits an {Approval} event." + }, + "functionSelector": "095ea7b3", + "id": 1452, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "approve", + "nameLocation": "1805:7:7", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1448, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1445, + "mutability": "mutable", + "name": "spender", + "nameLocation": "1821:7:7", + "nodeType": "VariableDeclaration", + "scope": 1452, + "src": "1813:15:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1444, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1813:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1447, + "mutability": "mutable", + "name": "amount", + "nameLocation": "1838:6:7", + "nodeType": "VariableDeclaration", + "scope": 1452, + "src": "1830:14:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1446, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1830:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1812:33:7" + }, + "returnParameters": { + "id": 1451, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1450, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1452, + "src": "1864:4:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1449, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "1864:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "1863:6:7" + }, + "scope": 1483, + "src": "1796:74:7", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 1453, + "nodeType": "StructuredDocumentation", + "src": "1876:287:7", + "text": " @dev Moves `amount` tokens from `from` to `to` using the\n allowance mechanism. `amount` is then deducted from the caller's\n allowance.\n Returns a boolean value indicating whether the operation succeeded.\n Emits a {Transfer} event." + }, + "functionSelector": "23b872dd", + "id": 1464, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "transferFrom", + "nameLocation": "2177:12:7", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1460, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1455, + "mutability": "mutable", + "name": "from", + "nameLocation": "2207:4:7", + "nodeType": "VariableDeclaration", + "scope": 1464, + "src": "2199:12:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1454, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2199:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1457, + "mutability": "mutable", + "name": "to", + "nameLocation": "2229:2:7", + "nodeType": "VariableDeclaration", + "scope": 1464, + "src": "2221:10:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1456, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2221:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1459, + "mutability": "mutable", + "name": "amount", + "nameLocation": "2249:6:7", + "nodeType": "VariableDeclaration", + "scope": 1464, + "src": "2241:14:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1458, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2241:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "2189:72:7" + }, + "returnParameters": { + "id": 1463, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1462, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1464, + "src": "2280:4:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1461, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2280:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "2279:6:7" + }, + "scope": 1483, + "src": "2168:118:7", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "anonymous": false, + "documentation": { + "id": 1465, + "nodeType": "StructuredDocumentation", + "src": "2292:158:7", + "text": " @dev Emitted when `value` tokens are moved from one account (`from`) to\n another (`to`).\n Note that `value` may be zero." + }, + "id": 1473, + "name": "Transfer", + "nameLocation": "2461:8:7", + "nodeType": "EventDefinition", + "parameters": { + "id": 1472, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1467, + "indexed": true, + "mutability": "mutable", + "name": "from", + "nameLocation": "2486:4:7", + "nodeType": "VariableDeclaration", + "scope": 1473, + "src": "2470:20:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1466, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2470:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1469, + "indexed": true, + "mutability": "mutable", + "name": "to", + "nameLocation": "2508:2:7", + "nodeType": "VariableDeclaration", + "scope": 1473, + "src": "2492:18:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1468, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2492:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1471, + "indexed": false, + "mutability": "mutable", + "name": "value", + "nameLocation": "2520:5:7", + "nodeType": "VariableDeclaration", + "scope": 1473, + "src": "2512:13:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1470, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2512:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "2469:57:7" + }, + "src": "2455:72:7" + }, + { + "anonymous": false, + "documentation": { + "id": 1474, + "nodeType": "StructuredDocumentation", + "src": "2533:148:7", + "text": " @dev Emitted when the allowance of a `spender` for an `owner` is set by\n a call to {approve}. `value` is the new allowance." + }, + "id": 1482, + "name": "Approval", + "nameLocation": "2692:8:7", + "nodeType": "EventDefinition", + "parameters": { + "id": 1481, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1476, + "indexed": true, + "mutability": "mutable", + "name": "owner", + "nameLocation": "2717:5:7", + "nodeType": "VariableDeclaration", + "scope": 1482, + "src": "2701:21:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1475, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2701:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1478, + "indexed": true, + "mutability": "mutable", + "name": "spender", + "nameLocation": "2740:7:7", + "nodeType": "VariableDeclaration", + "scope": 1482, + "src": "2724:23:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1477, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2724:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1480, + "indexed": false, + "mutability": "mutable", + "name": "value", + "nameLocation": "2757:5:7", + "nodeType": "VariableDeclaration", + "scope": 1482, + "src": "2749:13:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1479, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2749:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "2700:63:7" + }, + "src": "2686:78:7" + } + ], + "scope": 1484, + "src": "202:2564:7", + "usedErrors": [] + } + ], + "src": "106:2661:7" + }, + "id": 7 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol", + "exportedSymbols": { + "Context": [ + 1505 + ] + }, + "id": 1506, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1485, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "86:23:8" + }, + { + "abstract": true, + "baseContracts": [], + "canonicalName": "Context", + "contractDependencies": [], + "contractKind": "contract", + "documentation": { + "id": 1486, + "nodeType": "StructuredDocumentation", + "src": "111:496:8", + "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, + "id": 1505, + "linearizedBaseContracts": [ + 1505 + ], + "name": "Context", + "nameLocation": "626:7:8", + "nodeType": "ContractDefinition", + "nodes": [ + { + "body": { + "id": 1494, + "nodeType": "Block", + "src": "702:34:8", + "statements": [ + { + "expression": { + "expression": { + "id": 1491, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "719:3:8", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1492, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "719:10:8", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "functionReturnParameters": 1490, + "id": 1493, + "nodeType": "Return", + "src": "712:17:8" + } + ] + }, + "id": 1495, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_msgSender", + "nameLocation": "649:10:8", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1487, + "nodeType": "ParameterList", + "parameters": [], + "src": "659:2:8" + }, + "returnParameters": { + "id": 1490, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1489, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1495, + "src": "693:7:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1488, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "693:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "692:9:8" + }, + "scope": 1505, + "src": "640:96:8", + "stateMutability": "view", + "virtual": true, + "visibility": "internal" + }, + { + "body": { + "id": 1503, + "nodeType": "Block", + "src": "809:32:8", + "statements": [ + { + "expression": { + "expression": { + "id": 1500, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "826:3:8", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1501, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "data", + "nodeType": "MemberAccess", + "src": "826:8:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_calldata_ptr", + "typeString": "bytes calldata" + } + }, + "functionReturnParameters": 1499, + "id": 1502, + "nodeType": "Return", + "src": "819:15:8" + } + ] + }, + "id": 1504, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_msgData", + "nameLocation": "751:8:8", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1496, + "nodeType": "ParameterList", + "parameters": [], + "src": "759:2:8" + }, + "returnParameters": { + "id": 1499, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1498, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1504, + "src": "793:14:8", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_bytes_calldata_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 1497, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "793:5:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "792:16:8" + }, + "scope": 1505, + "src": "742:99:8", + "stateMutability": "view", + "virtual": true, + "visibility": "internal" + } + ], + "scope": 1506, + "src": "608:235:8", + "usedErrors": [] + } + ], + "src": "86:758:8" + }, + "id": 8 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol", + "exportedSymbols": { + "Strings": [ + 1708 + ] + }, + "id": 1709, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1507, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "86:23:9" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "Strings", + "contractDependencies": [], + "contractKind": "library", + "documentation": { + "id": 1508, + "nodeType": "StructuredDocumentation", + "src": "111:34:9", + "text": " @dev String operations." + }, + "fullyImplemented": true, + "id": 1708, + "linearizedBaseContracts": [ + 1708 + ], + "name": "Strings", + "nameLocation": "154:7:9", + "nodeType": "ContractDefinition", + "nodes": [ + { + "constant": true, + "id": 1511, + "mutability": "constant", + "name": "_HEX_SYMBOLS", + "nameLocation": "193:12:9", + "nodeType": "VariableDeclaration", + "scope": 1708, + "src": "168:58:9", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + }, + "typeName": { + "id": 1509, + "name": "bytes16", + "nodeType": "ElementaryTypeName", + "src": "168:7:9", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + } + }, + "value": { + "hexValue": "30313233343536373839616263646566", + "id": 1510, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "208:18:9", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_cb29997ed99ead0db59ce4d12b7d3723198c827273e5796737c926d78019c39f", + "typeString": "literal_string \"0123456789abcdef\"" + }, + "value": "0123456789abcdef" + }, + "visibility": "private" + }, + { + "body": { + "id": 1589, + "nodeType": "Block", + "src": "399:632:9", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1521, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1519, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1514, + "src": "601:5:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 1520, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "610:1:9", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "601:10:9", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1525, + "nodeType": "IfStatement", + "src": "597:51:9", + "trueBody": { + "id": 1524, + "nodeType": "Block", + "src": "613:35:9", + "statements": [ + { + "expression": { + "hexValue": "30", + "id": 1522, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "634:3:9", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "typeString": "literal_string \"0\"" + }, + "value": "0" + }, + "functionReturnParameters": 1518, + "id": 1523, + "nodeType": "Return", + "src": "627:10:9" + } + ] + } + }, + { + "assignments": [ + 1527 + ], + "declarations": [ + { + "constant": false, + "id": 1527, + "mutability": "mutable", + "name": "temp", + "nameLocation": "665:4:9", + "nodeType": "VariableDeclaration", + "scope": 1589, + "src": "657:12:9", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1526, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "657:7:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1529, + "initialValue": { + "id": 1528, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1514, + "src": "672:5:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "657:20:9" + }, + { + "assignments": [ + 1531 + ], + "declarations": [ + { + "constant": false, + "id": 1531, + "mutability": "mutable", + "name": "digits", + "nameLocation": "695:6:9", + "nodeType": "VariableDeclaration", + "scope": 1589, + "src": "687:14:9", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1530, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "687:7:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1532, + "nodeType": "VariableDeclarationStatement", + "src": "687:14:9" + }, + { + "body": { + "id": 1543, + "nodeType": "Block", + "src": "729:57:9", + "statements": [ + { + "expression": { + "id": 1537, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "743:8:9", + "subExpression": { + "id": 1536, + "name": "digits", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1531, + "src": "743:6:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1538, + "nodeType": "ExpressionStatement", + "src": "743:8:9" + }, + { + "expression": { + "id": 1541, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1539, + "name": "temp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1527, + "src": "765:4:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "/=", + "rightHandSide": { + "hexValue": "3130", + "id": 1540, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "773:2:9", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "value": "10" + }, + "src": "765:10:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1542, + "nodeType": "ExpressionStatement", + "src": "765:10:9" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1535, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1533, + "name": "temp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1527, + "src": "718:4:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "hexValue": "30", + "id": 1534, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "726:1:9", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "718:9:9", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1544, + "nodeType": "WhileStatement", + "src": "711:75:9" + }, + { + "assignments": [ + 1546 + ], + "declarations": [ + { + "constant": false, + "id": 1546, + "mutability": "mutable", + "name": "buffer", + "nameLocation": "808:6:9", + "nodeType": "VariableDeclaration", + "scope": 1589, + "src": "795:19:9", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 1545, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "795:5:9", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 1551, + "initialValue": { + "arguments": [ + { + "id": 1549, + "name": "digits", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1531, + "src": "827:6:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1548, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "817:9:9", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (uint256) pure returns (bytes memory)" + }, + "typeName": { + "id": 1547, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "821:5:9", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + } + }, + "id": 1550, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "817:17:9", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "795:39:9" + }, + { + "body": { + "id": 1582, + "nodeType": "Block", + "src": "863:131:9", + "statements": [ + { + "expression": { + "id": 1557, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1555, + "name": "digits", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1531, + "src": "877:6:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "-=", + "rightHandSide": { + "hexValue": "31", + "id": 1556, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "887:1:9", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "877:11:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1558, + "nodeType": "ExpressionStatement", + "src": "877:11:9" + }, + { + "expression": { + "id": 1576, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 1559, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1546, + "src": "902:6:9", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 1561, + "indexExpression": { + "id": 1560, + "name": "digits", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1531, + "src": "909:6:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "902:14:9", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1573, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "3438", + "id": 1566, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "932:2:9", + "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": 1571, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1569, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1514, + "src": "945:5:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "%", + "rightExpression": { + "hexValue": "3130", + "id": 1570, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "953:2:9", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "value": "10" + }, + "src": "945:10:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1568, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "937:7:9", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint256_$", + "typeString": "type(uint256)" + }, + "typeName": { + "id": 1567, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "937:7:9", + "typeDescriptions": {} + } + }, + "id": 1572, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "937:19:9", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "932:24:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1565, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "926:5:9", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint8_$", + "typeString": "type(uint8)" + }, + "typeName": { + "id": 1564, + "name": "uint8", + "nodeType": "ElementaryTypeName", + "src": "926:5:9", + "typeDescriptions": {} + } + }, + "id": 1574, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "926:31:9", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + ], + "id": 1563, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "919:6:9", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes1_$", + "typeString": "type(bytes1)" + }, + "typeName": { + "id": 1562, + "name": "bytes1", + "nodeType": "ElementaryTypeName", + "src": "919:6:9", + "typeDescriptions": {} + } + }, + "id": 1575, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "919:39:9", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "src": "902:56:9", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "id": 1577, + "nodeType": "ExpressionStatement", + "src": "902:56:9" + }, + { + "expression": { + "id": 1580, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1578, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1514, + "src": "972:5:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "/=", + "rightHandSide": { + "hexValue": "3130", + "id": 1579, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "981:2:9", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "value": "10" + }, + "src": "972:11:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1581, + "nodeType": "ExpressionStatement", + "src": "972:11:9" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1554, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1552, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1514, + "src": "851:5:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "hexValue": "30", + "id": 1553, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "860:1:9", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "851:10:9", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1583, + "nodeType": "WhileStatement", + "src": "844:150:9" + }, + { + "expression": { + "arguments": [ + { + "id": 1586, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1546, + "src": "1017:6:9", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1585, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1010:6:9", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_string_storage_ptr_$", + "typeString": "type(string storage pointer)" + }, + "typeName": { + "id": 1584, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1010:6:9", + "typeDescriptions": {} + } + }, + "id": 1587, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1010:14:9", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "functionReturnParameters": 1518, + "id": 1588, + "nodeType": "Return", + "src": "1003:21:9" + } + ] + }, + "documentation": { + "id": 1512, + "nodeType": "StructuredDocumentation", + "src": "233:90:9", + "text": " @dev Converts a `uint256` to its ASCII `string` decimal representation." + }, + "id": 1590, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "toString", + "nameLocation": "337:8:9", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1515, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1514, + "mutability": "mutable", + "name": "value", + "nameLocation": "354:5:9", + "nodeType": "VariableDeclaration", + "scope": 1590, + "src": "346:13:9", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1513, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "346:7:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "345:15:9" + }, + "returnParameters": { + "id": 1518, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1517, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1590, + "src": "384:13:9", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 1516, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "384:6:9", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "383:15:9" + }, + "scope": 1708, + "src": "328:703:9", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 1630, + "nodeType": "Block", + "src": "1210:255:9", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1600, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1598, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1593, + "src": "1224:5:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 1599, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1233:1:9", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "1224:10:9", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1604, + "nodeType": "IfStatement", + "src": "1220:54:9", + "trueBody": { + "id": 1603, + "nodeType": "Block", + "src": "1236:38:9", + "statements": [ + { + "expression": { + "hexValue": "30783030", + "id": 1601, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1257:6:9", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_27489e20a0060b723a1748bdff5e44570ee9fae64141728105692eac6031e8a4", + "typeString": "literal_string \"0x00\"" + }, + "value": "0x00" + }, + "functionReturnParameters": 1597, + "id": 1602, + "nodeType": "Return", + "src": "1250:13:9" + } + ] + } + }, + { + "assignments": [ + 1606 + ], + "declarations": [ + { + "constant": false, + "id": 1606, + "mutability": "mutable", + "name": "temp", + "nameLocation": "1291:4:9", + "nodeType": "VariableDeclaration", + "scope": 1630, + "src": "1283:12:9", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1605, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1283:7:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1608, + "initialValue": { + "id": 1607, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1593, + "src": "1298:5:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1283:20:9" + }, + { + "assignments": [ + 1610 + ], + "declarations": [ + { + "constant": false, + "id": 1610, + "mutability": "mutable", + "name": "length", + "nameLocation": "1321:6:9", + "nodeType": "VariableDeclaration", + "scope": 1630, + "src": "1313:14:9", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1609, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1313:7:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1612, + "initialValue": { + "hexValue": "30", + "id": 1611, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1330:1:9", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "1313:18:9" + }, + { + "body": { + "id": 1623, + "nodeType": "Block", + "src": "1359:57:9", + "statements": [ + { + "expression": { + "id": 1617, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "1373:8:9", + "subExpression": { + "id": 1616, + "name": "length", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1610, + "src": "1373:6:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1618, + "nodeType": "ExpressionStatement", + "src": "1373:8:9" + }, + { + "expression": { + "id": 1621, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1619, + "name": "temp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1606, + "src": "1395:4:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": ">>=", + "rightHandSide": { + "hexValue": "38", + "id": 1620, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1404:1:9", + "typeDescriptions": { + "typeIdentifier": "t_rational_8_by_1", + "typeString": "int_const 8" + }, + "value": "8" + }, + "src": "1395:10:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1622, + "nodeType": "ExpressionStatement", + "src": "1395:10:9" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1615, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1613, + "name": "temp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1606, + "src": "1348:4:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "hexValue": "30", + "id": 1614, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1356:1:9", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "1348:9:9", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1624, + "nodeType": "WhileStatement", + "src": "1341:75:9" + }, + { + "expression": { + "arguments": [ + { + "id": 1626, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1593, + "src": "1444:5:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "id": 1627, + "name": "length", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1610, + "src": "1451:6:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1625, + "name": "toHexString", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 1631, + 1707 + ], + "referencedDeclaration": 1707, + "src": "1432:11:9", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_string_memory_ptr_$", + "typeString": "function (uint256,uint256) pure returns (string memory)" + } + }, + "id": 1628, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1432:26:9", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "functionReturnParameters": 1597, + "id": 1629, + "nodeType": "Return", + "src": "1425:33:9" + } + ] + }, + "documentation": { + "id": 1591, + "nodeType": "StructuredDocumentation", + "src": "1037:94:9", + "text": " @dev Converts a `uint256` to its ASCII `string` hexadecimal representation." + }, + "id": 1631, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "toHexString", + "nameLocation": "1145:11:9", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1594, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1593, + "mutability": "mutable", + "name": "value", + "nameLocation": "1165:5:9", + "nodeType": "VariableDeclaration", + "scope": 1631, + "src": "1157:13:9", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1592, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1157:7:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1156:15:9" + }, + "returnParameters": { + "id": 1597, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1596, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1631, + "src": "1195:13:9", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 1595, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1195:6:9", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "1194:15:9" + }, + "scope": 1708, + "src": "1136:329:9", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 1706, + "nodeType": "Block", + "src": "1678:351:9", + "statements": [ + { + "assignments": [ + 1642 + ], + "declarations": [ + { + "constant": false, + "id": 1642, + "mutability": "mutable", + "name": "buffer", + "nameLocation": "1701:6:9", + "nodeType": "VariableDeclaration", + "scope": 1706, + "src": "1688:19:9", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 1641, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1688:5:9", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 1651, + "initialValue": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1649, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1647, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "32", + "id": 1645, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1720:1:9", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 1646, + "name": "length", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1636, + "src": "1724:6:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1720:10:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "32", + "id": 1648, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1733:1:9", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "src": "1720:14:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1644, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "1710:9:9", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (uint256) pure returns (bytes memory)" + }, + "typeName": { + "id": 1643, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1714:5:9", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + } + }, + "id": 1650, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1710:25:9", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1688:47:9" + }, + { + "expression": { + "id": 1656, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 1652, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1642, + "src": "1745:6:9", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 1654, + "indexExpression": { + "hexValue": "30", + "id": 1653, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1752:1:9", + "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:9", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "30", + "id": 1655, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1757:3:9", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "typeString": "literal_string \"0\"" + }, + "value": "0" + }, + "src": "1745:15:9", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "id": 1657, + "nodeType": "ExpressionStatement", + "src": "1745:15:9" + }, + { + "expression": { + "id": 1662, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 1658, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1642, + "src": "1770:6:9", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 1660, + "indexExpression": { + "hexValue": "31", + "id": 1659, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1777:1:9", + "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:9", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "78", + "id": 1661, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1782:3:9", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7521d1cadbcfa91eec65aa16715b94ffc1c9654ba57ea2ef1a2127bca1127a83", + "typeString": "literal_string \"x\"" + }, + "value": "x" + }, + "src": "1770:15:9", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "id": 1663, + "nodeType": "ExpressionStatement", + "src": "1770:15:9" + }, + { + "body": { + "id": 1692, + "nodeType": "Block", + "src": "1840:87:9", + "statements": [ + { + "expression": { + "id": 1686, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 1678, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1642, + "src": "1854:6:9", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 1680, + "indexExpression": { + "id": 1679, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1665, + "src": "1861:1:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "1854:9:9", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "baseExpression": { + "id": 1681, + "name": "_HEX_SYMBOLS", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1511, + "src": "1866:12:9", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + } + }, + "id": 1685, + "indexExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1684, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1682, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1634, + "src": "1879:5:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "&", + "rightExpression": { + "hexValue": "307866", + "id": 1683, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1887:3:9", + "typeDescriptions": { + "typeIdentifier": "t_rational_15_by_1", + "typeString": "int_const 15" + }, + "value": "0xf" + }, + "src": "1879:11:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1866:25:9", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "src": "1854:37:9", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "id": 1687, + "nodeType": "ExpressionStatement", + "src": "1854:37:9" + }, + { + "expression": { + "id": 1690, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1688, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1634, + "src": "1905:5:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": ">>=", + "rightHandSide": { + "hexValue": "34", + "id": 1689, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1915:1:9", + "typeDescriptions": { + "typeIdentifier": "t_rational_4_by_1", + "typeString": "int_const 4" + }, + "value": "4" + }, + "src": "1905:11:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1691, + "nodeType": "ExpressionStatement", + "src": "1905:11:9" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1674, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1672, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1665, + "src": "1828:1:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "hexValue": "31", + "id": 1673, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1832:1:9", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "1828:5:9", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1693, + "initializationExpression": { + "assignments": [ + 1665 + ], + "declarations": [ + { + "constant": false, + "id": 1665, + "mutability": "mutable", + "name": "i", + "nameLocation": "1808:1:9", + "nodeType": "VariableDeclaration", + "scope": 1693, + "src": "1800:9:9", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1664, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1800:7:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1671, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1670, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1668, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "32", + "id": 1666, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1812:1:9", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 1667, + "name": "length", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1636, + "src": "1816:6:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1812:10:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "31", + "id": 1669, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1825:1:9", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "1812:14:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1800:26:9" + }, + "loopExpression": { + "expression": { + "id": 1676, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "--", + "prefix": true, + "src": "1835:3:9", + "subExpression": { + "id": 1675, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1665, + "src": "1837:1:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1677, + "nodeType": "ExpressionStatement", + "src": "1835:3:9" + }, + "nodeType": "ForStatement", + "src": "1795:132:9" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1697, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1695, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1634, + "src": "1944:5:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 1696, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1953:1:9", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "1944:10:9", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "537472696e67733a20686578206c656e67746820696e73756666696369656e74", + "id": 1698, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1956:34:9", + "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": 1694, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "1936:7:9", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 1699, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1936:55:9", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1700, + "nodeType": "ExpressionStatement", + "src": "1936:55:9" + }, + { + "expression": { + "arguments": [ + { + "id": 1703, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1642, + "src": "2015:6:9", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1702, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2008:6:9", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_string_storage_ptr_$", + "typeString": "type(string storage pointer)" + }, + "typeName": { + "id": 1701, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "2008:6:9", + "typeDescriptions": {} + } + }, + "id": 1704, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2008:14:9", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "functionReturnParameters": 1640, + "id": 1705, + "nodeType": "Return", + "src": "2001:21:9" + } + ] + }, + "documentation": { + "id": 1632, + "nodeType": "StructuredDocumentation", + "src": "1471:112:9", + "text": " @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length." + }, + "id": 1707, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "toHexString", + "nameLocation": "1597:11:9", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1637, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1634, + "mutability": "mutable", + "name": "value", + "nameLocation": "1617:5:9", + "nodeType": "VariableDeclaration", + "scope": 1707, + "src": "1609:13:9", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1633, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1609:7:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1636, + "mutability": "mutable", + "name": "length", + "nameLocation": "1632:6:9", + "nodeType": "VariableDeclaration", + "scope": 1707, + "src": "1624:14:9", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1635, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1624:7:9", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1608:31:9" + }, + "returnParameters": { + "id": 1640, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1639, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1707, + "src": "1663:13:9", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 1638, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1663:6:9", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "1662:15:9" + }, + "scope": 1708, + "src": "1588:441:9", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + } + ], + "scope": 1709, + "src": "146:1885:9", + "usedErrors": [] + } + ], + "src": "86:1946:9" + }, + "id": 9 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol", + "exportedSymbols": { + "ERC165": [ + 1732 + ], + "IERC165": [ + 1744 + ] + }, + "id": 1733, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1710, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "99:23:10" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol", + "file": "./IERC165.sol", + "id": 1711, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1733, + "sourceUnit": 1745, + "src": "124:23:10", + "symbolAliases": [], + "unitAlias": "" + }, + { + "abstract": true, + "baseContracts": [ + { + "baseName": { + "id": 1713, + "name": "IERC165", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1744, + "src": "754:7:10" + }, + "id": 1714, + "nodeType": "InheritanceSpecifier", + "src": "754:7:10" + } + ], + "canonicalName": "ERC165", + "contractDependencies": [], + "contractKind": "contract", + "documentation": { + "id": 1712, + "nodeType": "StructuredDocumentation", + "src": "149:576:10", + "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, + "id": 1732, + "linearizedBaseContracts": [ + 1732, + 1744 + ], + "name": "ERC165", + "nameLocation": "744:6:10", + "nodeType": "ContractDefinition", + "nodes": [ + { + "baseFunctions": [ + 1743 + ], + "body": { + "id": 1730, + "nodeType": "Block", + "src": "920:64:10", + "statements": [ + { + "expression": { + "commonType": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + "id": 1728, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1723, + "name": "interfaceId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1717, + "src": "937:11:10", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "expression": { + "arguments": [ + { + "id": 1725, + "name": "IERC165", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1744, + "src": "957:7:10", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_IERC165_$1744_$", + "typeString": "type(contract IERC165)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_type$_t_contract$_IERC165_$1744_$", + "typeString": "type(contract IERC165)" + } + ], + "id": 1724, + "name": "type", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967269, + "src": "952:4:10", + "typeDescriptions": { + "typeIdentifier": "t_function_metatype_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 1726, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "952:13:10", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_magic_meta_type_t_contract$_IERC165_$1744", + "typeString": "type(contract IERC165)" + } + }, + "id": 1727, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "interfaceId", + "nodeType": "MemberAccess", + "src": "952:25:10", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "src": "937:40:10", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "functionReturnParameters": 1722, + "id": 1729, + "nodeType": "Return", + "src": "930:47:10" + } + ] + }, + "documentation": { + "id": 1715, + "nodeType": "StructuredDocumentation", + "src": "768:56:10", + "text": " @dev See {IERC165-supportsInterface}." + }, + "functionSelector": "01ffc9a7", + "id": 1731, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "supportsInterface", + "nameLocation": "838:17:10", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 1719, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "896:8:10" + }, + "parameters": { + "id": 1718, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1717, + "mutability": "mutable", + "name": "interfaceId", + "nameLocation": "863:11:10", + "nodeType": "VariableDeclaration", + "scope": 1731, + "src": "856:18:10", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + "typeName": { + "id": 1716, + "name": "bytes4", + "nodeType": "ElementaryTypeName", + "src": "856:6:10", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "visibility": "internal" + } + ], + "src": "855:20:10" + }, + "returnParameters": { + "id": 1722, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1721, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1731, + "src": "914:4:10", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1720, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "914:4:10", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "913:6:10" + }, + "scope": 1732, + "src": "829:155:10", + "stateMutability": "view", + "virtual": true, + "visibility": "public" + } + ], + "scope": 1733, + "src": "726:260:10", + "usedErrors": [] + } + ], + "src": "99:888:10" + }, + "id": 10 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol", + "exportedSymbols": { + "IERC165": [ + 1744 + ] + }, + "id": 1745, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1734, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "100:23:11" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "IERC165", + "contractDependencies": [], + "contractKind": "interface", + "documentation": { + "id": 1735, + "nodeType": "StructuredDocumentation", + "src": "125:279:11", + "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, + "id": 1744, + "linearizedBaseContracts": [ + 1744 + ], + "name": "IERC165", + "nameLocation": "415:7:11", + "nodeType": "ContractDefinition", + "nodes": [ + { + "documentation": { + "id": 1736, + "nodeType": "StructuredDocumentation", + "src": "429:340:11", + "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", + "id": 1743, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "supportsInterface", + "nameLocation": "783:17:11", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1739, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1738, + "mutability": "mutable", + "name": "interfaceId", + "nameLocation": "808:11:11", + "nodeType": "VariableDeclaration", + "scope": 1743, + "src": "801:18:11", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + "typeName": { + "id": 1737, + "name": "bytes4", + "nodeType": "ElementaryTypeName", + "src": "801:6:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "visibility": "internal" + } + ], + "src": "800:20:11" + }, + "returnParameters": { + "id": 1742, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1741, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1743, + "src": "844:4:11", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1740, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "844:4:11", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "843:6:11" + }, + "scope": 1744, + "src": "774:76:11", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + } + ], + "scope": 1745, + "src": "405:447:11", + "usedErrors": [] + } + ], + "src": "100:753:11" + }, + "id": 11 + } + } +} \ No newline at end of file diff --git a/bin/contracts/PoolVault.abi b/bin/contracts/PoolVault.abi new file mode 100644 index 00000000..9a28130a --- /dev/null +++ b/bin/contracts/PoolVault.abi @@ -0,0 +1 @@ +[{"inputs":[{"internalType":"contract DataStorageInterface","name":"_dataStorageAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_removedManager","type":"address"}],"name":"ManagerRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_newManager","type":"address"}],"name":"NewManagerAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"POOL_MANAGER","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"addPoolManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getContributionLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMinContribution","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPoolBaseAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPoolMaxSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPoolState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPoolVaultAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewardsInterest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewardsInterval","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolEtherSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"processRewards","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"removePoolManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newContrLimit","type":"uint256"}],"name":"setContributionLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMinContr","type":"uint256"}],"name":"setMinContribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_live","type":"bool"}],"name":"setPoolLive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSize","type":"uint256"}],"name":"setPoolMaxSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardsInterest","type":"uint256"}],"name":"setRewardsInterest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_daysToRewards","type":"uint256"}],"name":"setRewardsInterval","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"storeEther","outputs":[],"stateMutability":"payable","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":"_to","type":"address"},{"internalType":"uint256","name":"_ethAmount","type":"uint256"}],"name":"withdrawEther","outputs":[],"stateMutability":"nonpayable","type":"function"}] \ No newline at end of file diff --git a/bin/contracts/PoolVault.bin b/bin/contracts/PoolVault.bin new file mode 100644 index 00000000..b0cddef0 --- /dev/null +++ b/bin/contracts/PoolVault.bin @@ -0,0 +1 @@ +60806040523480156200001157600080fd5b5060405162002377380380620023778339810160408190526200003491620003bf565b60018055600280546001600160a01b0319166001600160a01b0383161790558062000061600033620000a9565b6200008d7f41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e384233620000a9565b62000097620000b9565b50620000a262000220565b50620003f1565b620000b582826200031f565b5050565b6002546040516e636f6e74726163745f65786973747360881b60208201526001600160601b03193060601b16602f8201526001600160a01b039091169063988c515b9060430160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b168252600482015260016024820152604401600060405180830381600087803b1580156200015357600080fd5b505af115801562000168573d6000803e3d6000fd5b50506002546040516f636f6e74726163745f6164647265737360801b602082015267506f6f6c4261736560c01b60308201526001600160a01b039091169250637221263a91506038015b60408051601f198184030181529082905280516020909101206001600160e01b031960e084901b1682526004820152306024820152604401600060405180830381600087803b1580156200020557600080fd5b505af11580156200021a573d6000803e3d6000fd5b50505050565b6002546040516e636f6e74726163745f65786973747360881b60208201526001600160601b03193060601b16602f8201526001600160a01b039091169063988c515b9060430160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b168252600482015260016024820152604401600060405180830381600087803b158015620002ba57600080fd5b505af1158015620002cf573d6000803e3d6000fd5b50506002546040516f636f6e74726163745f6164647265737360801b602082015268141bdbdb15985d5b1d60ba1b60308201526001600160a01b039091169250637221263a9150603901620001b2565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620000b5576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556200037b3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600060208284031215620003d257600080fd5b81516001600160a01b0381168114620003ea57600080fd5b9392505050565b611f7680620004016000396000f3fe6080604052600436106101b75760003560e01c80636cff7473116100ec578063a7cc190a1161008a578063ccfe0c8e11610064578063ccfe0c8e1461049b578063d547741f146104b0578063f9fc0d07146104d0578063fa1e19e5146104d857600080fd5b8063a7cc190a1461045e578063bf4c003614610466578063c3577d481461048657600080fd5b80638ae68134116100c65780638ae68134146103dc57806391d1485414610409578063a217fddf14610429578063a49755161461043e57600080fd5b80636cff74731461039257806372d099a0146103a75780637521796f146103c757600080fd5b806336568abe11610159578063497d024111610133578063497d02411461031b578063522f68151461033057806353710f491461035057806362308e851461037057600080fd5b806336568abe146102bb57806345077e71146102db578063473b0d46146102fb57600080fd5b8063217ac23711610195578063217ac23714610236578063248a9ca31461024b57806329ca15bc1461027b5780632f2ff15d1461029b57600080fd5b806301ffc9a7146101bc578063095df57f146101f15780631264698714610214575b600080fd5b3480156101c857600080fd5b506101dc6101d7366004611b98565b6104ed565b60405190151581526020015b60405180910390f35b3480156101fd57600080fd5b50610206610524565b6040519081526020016101e8565b34801561022057600080fd5b5061023461022f366004611bc2565b6105e1565b005b34801561024257600080fd5b506101dc610768565b34801561025757600080fd5b50610206610266366004611bc2565b60009081526020819052604090206001015490565b34801561028757600080fd5b50610234610296366004611bf3565b61080d565b3480156102a757600080fd5b506102346102b6366004611c10565b610869565b3480156102c757600080fd5b506102346102d6366004611c10565b610894565b3480156102e757600080fd5b506102346102f6366004611bf3565b610912565b34801561030757600080fd5b50610234610316366004611bc2565b61096e565b34801561032757600080fd5b50610206610c16565b34801561033c57600080fd5b5061023461034b366004611c40565b610c3c565b34801561035c57600080fd5b5061023461036b366004611bc2565b610ff7565b34801561037c57600080fd5b50610206600080516020611f2183398151915281565b34801561039e57600080fd5b506102066110f9565b3480156103b357600080fd5b506102346103c2366004611bc2565b611121565b3480156103d357600080fd5b50610206611227565b3480156103e857600080fd5b506103f1611258565b6040516001600160a01b0390911681526020016101e8565b34801561041557600080fd5b506101dc610424366004611c10565b611331565b34801561043557600080fd5b50610206600081565b34801561044a57600080fd5b50610234610459366004611c7a565b61135a565b6102346113d4565b34801561047257600080fd5b50610234610481366004611bc2565b611538565b34801561049257600080fd5b506103f1611645565b3480156104a757600080fd5b50610206611680565b3480156104bc57600080fd5b506102346104cb366004611c10565b6116ab565b6102346116d1565b3480156104e457600080fd5b50610206611885565b60006001600160e01b03198216637965db0b60e01b148061051e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b600080604051602001610548906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b1580156105a357600080fd5b505afa1580156105b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105db9190611c97565b91505090565b600080516020611f218339815191526105fa81336118af565b6002546040516001600160a01b03909116906355d946559061061e90602001611cb0565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161065291815260200190565b60206040518083038186803b15801561066a57600080fd5b505afa15801561067e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a29190611cc6565b156106c85760405162461bcd60e51b81526004016106bf90611ce3565b60405180910390fd5b6040516a706f6f6c4d617853697a6560a81b6020820152600090602b015b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018690529092506001600160a01b0316906328192c55906044015b600060405180830381600087803b15801561074b57600080fd5b505af115801561075f573d6000803e3d6000fd5b50505050505050565b60008060405160200161077a90611cb0565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b1580156107d557600080fd5b505afa1580156107e9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105db9190611cc6565b600061081981336118af565b610831600080516020611f21833981519152836116ab565b6040516001600160a01b038316907fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd3190600090a25050565b60008281526020819052604090206001015461088581336118af565b61088f8383611913565b505050565b6001600160a01b03811633146109045760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016106bf565b61090e8282611997565b5050565b600061091e81336118af565b610936600080516020611f2183398151915283610869565b6040516001600160a01b038316907fd873e3f571dc25e020cefdeb7255b3874ead3aade1f94a5fb4a5da831fd670cd90600090a25050565b600080516020611f2183398151915261098781336118af565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b602082015260009060310160408051601f198184030181529082905280516020918201206002549093506001600160a01b0316916355d94655916109e39101611cb0565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610a1791815260200190565b60206040518083038186803b158015610a2f57600080fd5b505afa158015610a43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a679190611cc6565b15610a845760405162461bcd60e51b81526004016106bf90611ce3565b60025460405163afc3602b60e01b81526004810183905284916001600160a01b03169063afc3602b9060240160206040518083038186803b158015610ac857600080fd5b505afa158015610adc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b009190611c97565b11610b735760405162461bcd60e51b815260206004820152603e60248201527f546865206d696e2e20636f6e74722e206c696d6974206e6565647320746f206260448201527f6520736d616c6c6572207468616e20746865206d61782e206c696d69742e000060648201526084016106bf565b6040516e36b4b721b7b73a3934b13aba34b7b760891b6020820152600090602f0160408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018790529092506001600160a01b0316906328192c5590604401600060405180830381600087803b158015610bf857600080fd5b505af1158015610c0c573d6000803e3d6000fd5b5050505050505050565b600080604051602001610548906c64617973546f5265776172647360981b8152600d0190565b600033604051602001610c4f9190611d1a565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b158015610caa57600080fd5b505afa158015610cbe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce29190611cc6565b610cfe5760405162461bcd60e51b81526004016106bf90611d4f565b60026001541415610d515760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106bf565b6002600155604051711d1bdd185b17d95d1a195c97dcdd185ad95960721b60208201526000906032016040516020818303038152906040528051906020012090506000604051602001610dbb90703a37ba30b629bab838363cafa2ba3432b960791b815260110190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b83526004830185905290925060009186916001600160a01b03169063afc3602b9060240160206040518083038186803b158015610e1b57600080fd5b505afa158015610e2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e539190611c97565b610e5d9190611d9a565b1015610ec15760405162461bcd60e51b815260206004820152602d60248201527f506f6f6c206c61636b696e67206f6620657468657220746f20706572666f726d60448201526c103a3434b99030b1ba34b7b71760991b60648201526084016106bf565b600254604051635bcfee6760e01b815260048101849052602481018690526001600160a01b0390911690635bcfee6790604401600060405180830381600087803b158015610f0e57600080fd5b505af1158015610f22573d6000803e3d6000fd5b5050600254604051635bcfee6760e01b815260048101859052602481018890526001600160a01b039091169250635bcfee679150604401600060405180830381600087803b158015610f7357600080fd5b505af1158015610f87573d6000803e3d6000fd5b505050506000856001600160a01b03168560405160006040518083038185875af1925050503d8060008114610fd8576040519150601f19603f3d011682016040523d82523d6000602084013e610fdd565b606091505b5050905080610feb57600080fd5b50506001805550505050565b600080516020611f2183398151915261101081336118af565b6002546040516001600160a01b03909116906355d946559061103490602001611cb0565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161106891815260200190565b60206040518083038186803b15801561108057600080fd5b505afa158015611094573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b89190611cc6565b156110d55760405162461bcd60e51b81526004016106bf90611ce3565b6040516c64617973546f5265776172647360981b6020820152600090602d016106e6565b600080604051602001610548906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b600080516020611f2183398151915261113a81336118af565b6002546040516001600160a01b03909116906355d946559061115e90602001611cb0565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161119291815260200190565b60206040518083038186803b1580156111aa57600080fd5b505afa1580156111be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e29190611cc6565b156111ff5760405162461bcd60e51b81526004016106bf90611ce3565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b60208201526000906031016106e6565b60008060405160200161054890771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b600080604051602001611292906f636f6e74726163745f6164647265737360801b815267506f6f6c4261736560c01b601082015260180190565b60408051808303601f190181529082905280516020909101206002546315485dd960e11b8352600483018290529092506000916001600160a01b0390911690632a90bbb29060240160206040518083038186803b1580156112f257600080fd5b505afa158015611306573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061132a9190611db1565b9392505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020611f2183398151915261137381336118af565b600060405160200161138490611cb0565b60408051808303601f1901815290829052805160209091012060025463988c515b60e01b83526004830182905285151560248401529092506001600160a01b03169063988c515b90604401610731565b6000336040516020016113e79190611d1a565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561144257600080fd5b505afa158015611456573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061147a9190611cc6565b6114965760405162461bcd60e51b81526004016106bf90611d4f565b604051711d1bdd185b17d95d1a195c97dcdd185ad95960721b602082015260009060320160408051808303601f1901815290829052805160209091012060025462ec44af60e51b8352600483018290523460248401529092506001600160a01b031690631d8895e090604401600060405180830381600087803b15801561151c57600080fd5b505af1158015611530573d6000803e3d6000fd5b505050505050565b600080516020611f2183398151915261155181336118af565b6002546040516001600160a01b03909116906355d946559061157590602001611cb0565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b81526004016115a991815260200190565b60206040518083038186803b1580156115c157600080fd5b505afa1580156115d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f99190611cc6565b156116165760405162461bcd60e51b81526004016106bf90611ce3565b604051771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b60208201526000906038016106e6565b600080604051602001611292906f636f6e74726163745f6164647265737360801b815268141bdbdb15985d5b1d60ba1b601082015260190190565b60008060405160200161054890711d1bdd185b17d95d1a195c97dcdd185ad95960721b815260120190565b6000828152602081905260409020600101546116c781336118af565b61088f8383611997565b6000336040516020016116e49190611d1a565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561173f57600080fd5b505afa158015611753573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117779190611cc6565b6117935760405162461bcd60e51b81526004016106bf90611d4f565b600260015414156117e65760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106bf565b6002600155604051711d1bdd185b17d95d1a195c97dcdd185ad95960721b602082015260009060320160408051808303601f1901815290829052805160209091012060025462ec44af60e51b8352600483018290523460248401529092506001600160a01b031690631d8895e090604401600060405180830381600087803b15801561187157600080fd5b505af1158015610feb573d6000803e3d6000fd5b600080604051602001610548907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b6118b98282611331565b61090e576118d1816001600160a01b031660146119fc565b6118dc8360206119fc565b6040516020016118ed929190611dfe565b60408051601f198184030181529082905262461bcd60e51b82526106bf91600401611e73565b61191d8282611331565b61090e576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556119533390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6119a18282611331565b1561090e576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60606000611a0b836002611ea6565b611a16906002611ec5565b67ffffffffffffffff811115611a2e57611a2e611edd565b6040519080825280601f01601f191660200182016040528015611a58576020820181803683370190505b509050600360fc1b81600081518110611a7357611a73611ef3565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611aa257611aa2611ef3565b60200101906001600160f81b031916908160001a9053506000611ac6846002611ea6565b611ad1906001611ec5565b90505b6001811115611b49576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611b0557611b05611ef3565b1a60f81b828281518110611b1b57611b1b611ef3565b60200101906001600160f81b031916908160001a90535060049490941c93611b4281611f09565b9050611ad4565b50831561132a5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016106bf565b600060208284031215611baa57600080fd5b81356001600160e01b03198116811461132a57600080fd5b600060208284031215611bd457600080fd5b5035919050565b6001600160a01b0381168114611bf057600080fd5b50565b600060208284031215611c0557600080fd5b813561132a81611bdb565b60008060408385031215611c2357600080fd5b823591506020830135611c3581611bdb565b809150509250929050565b60008060408385031215611c5357600080fd5b8235611c5e81611bdb565b946020939093013593505050565b8015158114611bf057600080fd5b600060208284031215611c8c57600080fd5b813561132a81611c6c565b600060208284031215611ca957600080fd5b5051919050565b696973506f6f6c4c69766560b01b8152600a0190565b600060208284031215611cd857600080fd5b815161132a81611c6c565b6020808252601d908201527f54686520706f6f6c2069732063757272656e746c7920636c6f7365642e000000604082015260600190565b6e636f6e74726163745f65786973747360881b815260609190911b6bffffffffffffffffffffffff1916600f82015260230190565b6020808252818101527f54686520636f6e7472616374206164647265737320697320696e76616c69642e604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082821015611dac57611dac611d84565b500390565b600060208284031215611dc357600080fd5b815161132a81611bdb565b60005b83811015611de9578181015183820152602001611dd1565b83811115611df8576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611e36816017850160208801611dce565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611e67816028840160208801611dce565b01602801949350505050565b6020815260008251806020840152611e92816040850160208701611dce565b601f01601f19169190910160400192915050565b6000816000190483118215151615611ec057611ec0611d84565b500290565b60008219821115611ed857611ed8611d84565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081611f1857611f18611d84565b50600019019056fe41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842a26469706673582212205683fbe808f0e43c1ca994bf72a03d508f376b2b332730e2895efb1ee23cfe1364736f6c63430008090033 \ No newline at end of file diff --git a/bin/contracts/PoolVault.json b/bin/contracts/PoolVault.json new file mode 100644 index 00000000..a698ee23 --- /dev/null +++ b/bin/contracts/PoolVault.json @@ -0,0 +1,3874 @@ +{ + "contractName": "PoolVault", + "abi": [ + { + "inputs": [ + { + "internalType": "contract DataStorageInterface", + "name": "_dataStorageAddress", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_removedManager", + "type": "address" + } + ], + "name": "ManagerRemoved", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_newManager", + "type": "address" + } + ], + "name": "NewManagerAdded", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "POOL_MANAGER", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "addPoolManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "getContributionLimit", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getMinContribution", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolBaseAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolMaxSize", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolState", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolVaultAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardsInterest", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardsInterval", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "poolEtherSize", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "processRewards", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "removePoolManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newContrLimit", + "type": "uint256" + } + ], + "name": "setContributionLimit", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newMinContr", + "type": "uint256" + } + ], + "name": "setMinContribution", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bool", + "name": "_live", + "type": "bool" + } + ], + "name": "setPoolLive", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_maxSize", + "type": "uint256" + } + ], + "name": "setPoolMaxSize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_rewardsInterest", + "type": "uint256" + } + ], + "name": "setRewardsInterest", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_daysToRewards", + "type": "uint256" + } + ], + "name": "setRewardsInterval", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "storeEther", + "outputs": [], + "stateMutability": "payable", + "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": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_ethAmount", + "type": "uint256" + } + ], + "name": "withdrawEther", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract DataStorageInterface\",\"name\":\"_dataStorageAddress\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_removedManager\",\"type\":\"address\"}],\"name\":\"ManagerRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_newManager\",\"type\":\"address\"}],\"name\":\"NewManagerAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"POOL_MANAGER\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"addPoolManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getContributionLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMinContribution\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolBaseAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolMaxSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolState\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolVaultAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsInterest\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsInterval\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolEtherSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"processRewards\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"removePoolManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newContrLimit\",\"type\":\"uint256\"}],\"name\":\"setContributionLimit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newMinContr\",\"type\":\"uint256\"}],\"name\":\"setMinContribution\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_live\",\"type\":\"bool\"}],\"name\":\"setPoolLive\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxSize\",\"type\":\"uint256\"}],\"name\":\"setPoolMaxSize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_rewardsInterest\",\"type\":\"uint256\"}],\"name\":\"setRewardsInterest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_daysToRewards\",\"type\":\"uint256\"}],\"name\":\"setRewardsInterval\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"storeEther\",\"outputs\":[],\"stateMutability\":\"payable\",\"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\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_ethAmount\",\"type\":\"uint256\"}],\"name\":\"withdrawEther\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role.\"},\"setContributionLimit(uint256)\":{\"details\":\"Set the max. contribution allowed for each user.\",\"params\":{\"_newContrLimit\":\"is a WEI value.\"}},\"setMinContribution(uint256)\":{\"details\":\"Set the min. contribution allowed for each user.\",\"params\":{\"_newMinContr\":\"is a WEI value.\"}},\"setPoolLive(bool)\":{\"details\":\"Toggles the Pool Investing Switch. \"},\"setPoolMaxSize(uint256)\":{\"details\":\"Sets the Pool Maximium size expressed on ether.\",\"params\":{\"_maxSize\":\"is a WEI value (or BigInt / BigNumber).\"}},\"setRewardsInterest(uint256)\":{\"details\":\"Set the interest per effective period.\",\"params\":{\"_rewardsInterest\":\"within the storage has 6 decimals.\"}},\"setRewardsInterval(uint256)\":{\"details\":\"Set the interval in days of the rewards period.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"setPoolLive(bool)\":{\"notice\":\"While live, anyone can invest but any state variable can be modified nor deleted.\"},\"setRewardsInterest(uint256)\":{\"notice\":\"E.G. If 0.001134 rate is desired, 0.001134 * (10**6) = 1134.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolVault.sol\":\"PoolVault\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol\":{\"keccak256\":\"0x3975407e20a5345cd87826b306c7396e1dbb89c869df5e22338573a6ae16bc10\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1edcadb90f5e1fecf0d1f1f3d3aba9ae54f0ff97819b3ef07294b1d0aca1220d\",\"dweb:/ipfs/QmRA9ZSxbGGb1cKEzjTbxfBaWtnZmpb152Z2JhobRxuhnw\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolVault.sol\":{\"keccak256\":\"0x7a91be4df3f554ec5e002086737ac3ba445ae127ec0be51aacb9d3c6622ddfd3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c9fa1fee27d2bb22613c0c444487ada390f7a4bb07e7e6cde77fab2895f84c12\",\"dweb:/ipfs/QmRvc1nToyjgjbSVVSfrmYtRJ47LCkt9Hpi1J3ZZ9KH9Sh\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/DataStorageInterface.sol\":{\"keccak256\":\"0xf4a98c1519c0382a5c40cb047b7c1a33713d46062b68907c38eba7e24ce87773\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5921b6865f1504704ffbb252f719db25619236bed2ae94b18df01e1333bb4161\",\"dweb:/ipfs/QmR5TQmepq7zVfLD4WPUnVgHRRwYXDghwdrDqzgCWBmVvP\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/rwETHTokenInterface.sol\":{\"keccak256\":\"0x6717fc36882425132d1466f1c6e9ddd6b527bcb228c2bebba10f352f1db9d171\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3b49d4927ebdfeb63c9ba8c2a749cb4293b1c36ef4e5e844de0e6b971d7f9a9b\",\"dweb:/ipfs/QmdAFy37toxrpLcGaR3smweP5vHYwjpLapAHJMQYC6vFL8\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0x4a1a0ba12bf1a33f10d9fe226278cf59675c0b929d29e4da99658a079b27fb84\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bda1319db846d6d6f92d8a57a9bdee8bde1dc39aa7546165791692c24dd6f30a\",\"dweb:/ipfs/Qma5oZ7DmbdAjd8mpiW7mx896PDtwsQtCQ2hj9Upf7b7JK\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol\":{\"keccak256\":\"0x0e9621f60b2faabe65549f7ed0f24e8853a45c1b7990d47e8160e523683f3935\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://287a2f8d5814dd0f05f22b740f18ca8321acc21c9bd03a6cb2203ea626e2f3f2\",\"dweb:/ipfs/QmZRQv9iuwU817VuqkA2WweiaibKii69x9QxYBBEfbNEud\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xbbc8ac883ac3c0078ce5ad3e288fbb3ffcc8a30c3a98c0fda0114d64fc44fca2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87a7a5d2f6f63f84598af02b8c50ca2df2631cb8ba2453e8d95fcb17e4be9824\",\"dweb:/ipfs/QmR76hqtAcRqoFj33tmNjcWTLrgNsAaakYwnKZ8zoJtKei\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}", + "bytecode": "60806040523480156200001157600080fd5b5060405162002377380380620023778339810160408190526200003491620003bf565b60018055600280546001600160a01b0319166001600160a01b0383161790558062000061600033620000a9565b6200008d7f41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e384233620000a9565b62000097620000b9565b50620000a262000220565b50620003f1565b620000b582826200031f565b5050565b6002546040516e636f6e74726163745f65786973747360881b60208201526001600160601b03193060601b16602f8201526001600160a01b039091169063988c515b9060430160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b168252600482015260016024820152604401600060405180830381600087803b1580156200015357600080fd5b505af115801562000168573d6000803e3d6000fd5b50506002546040516f636f6e74726163745f6164647265737360801b602082015267506f6f6c4261736560c01b60308201526001600160a01b039091169250637221263a91506038015b60408051601f198184030181529082905280516020909101206001600160e01b031960e084901b1682526004820152306024820152604401600060405180830381600087803b1580156200020557600080fd5b505af11580156200021a573d6000803e3d6000fd5b50505050565b6002546040516e636f6e74726163745f65786973747360881b60208201526001600160601b03193060601b16602f8201526001600160a01b039091169063988c515b9060430160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b168252600482015260016024820152604401600060405180830381600087803b158015620002ba57600080fd5b505af1158015620002cf573d6000803e3d6000fd5b50506002546040516f636f6e74726163745f6164647265737360801b602082015268141bdbdb15985d5b1d60ba1b60308201526001600160a01b039091169250637221263a9150603901620001b2565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620000b5576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556200037b3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600060208284031215620003d257600080fd5b81516001600160a01b0381168114620003ea57600080fd5b9392505050565b611f7680620004016000396000f3fe6080604052600436106101b75760003560e01c80636cff7473116100ec578063a7cc190a1161008a578063ccfe0c8e11610064578063ccfe0c8e1461049b578063d547741f146104b0578063f9fc0d07146104d0578063fa1e19e5146104d857600080fd5b8063a7cc190a1461045e578063bf4c003614610466578063c3577d481461048657600080fd5b80638ae68134116100c65780638ae68134146103dc57806391d1485414610409578063a217fddf14610429578063a49755161461043e57600080fd5b80636cff74731461039257806372d099a0146103a75780637521796f146103c757600080fd5b806336568abe11610159578063497d024111610133578063497d02411461031b578063522f68151461033057806353710f491461035057806362308e851461037057600080fd5b806336568abe146102bb57806345077e71146102db578063473b0d46146102fb57600080fd5b8063217ac23711610195578063217ac23714610236578063248a9ca31461024b57806329ca15bc1461027b5780632f2ff15d1461029b57600080fd5b806301ffc9a7146101bc578063095df57f146101f15780631264698714610214575b600080fd5b3480156101c857600080fd5b506101dc6101d7366004611b98565b6104ed565b60405190151581526020015b60405180910390f35b3480156101fd57600080fd5b50610206610524565b6040519081526020016101e8565b34801561022057600080fd5b5061023461022f366004611bc2565b6105e1565b005b34801561024257600080fd5b506101dc610768565b34801561025757600080fd5b50610206610266366004611bc2565b60009081526020819052604090206001015490565b34801561028757600080fd5b50610234610296366004611bf3565b61080d565b3480156102a757600080fd5b506102346102b6366004611c10565b610869565b3480156102c757600080fd5b506102346102d6366004611c10565b610894565b3480156102e757600080fd5b506102346102f6366004611bf3565b610912565b34801561030757600080fd5b50610234610316366004611bc2565b61096e565b34801561032757600080fd5b50610206610c16565b34801561033c57600080fd5b5061023461034b366004611c40565b610c3c565b34801561035c57600080fd5b5061023461036b366004611bc2565b610ff7565b34801561037c57600080fd5b50610206600080516020611f2183398151915281565b34801561039e57600080fd5b506102066110f9565b3480156103b357600080fd5b506102346103c2366004611bc2565b611121565b3480156103d357600080fd5b50610206611227565b3480156103e857600080fd5b506103f1611258565b6040516001600160a01b0390911681526020016101e8565b34801561041557600080fd5b506101dc610424366004611c10565b611331565b34801561043557600080fd5b50610206600081565b34801561044a57600080fd5b50610234610459366004611c7a565b61135a565b6102346113d4565b34801561047257600080fd5b50610234610481366004611bc2565b611538565b34801561049257600080fd5b506103f1611645565b3480156104a757600080fd5b50610206611680565b3480156104bc57600080fd5b506102346104cb366004611c10565b6116ab565b6102346116d1565b3480156104e457600080fd5b50610206611885565b60006001600160e01b03198216637965db0b60e01b148061051e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b600080604051602001610548906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b1580156105a357600080fd5b505afa1580156105b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105db9190611c97565b91505090565b600080516020611f218339815191526105fa81336118af565b6002546040516001600160a01b03909116906355d946559061061e90602001611cb0565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161065291815260200190565b60206040518083038186803b15801561066a57600080fd5b505afa15801561067e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a29190611cc6565b156106c85760405162461bcd60e51b81526004016106bf90611ce3565b60405180910390fd5b6040516a706f6f6c4d617853697a6560a81b6020820152600090602b015b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018690529092506001600160a01b0316906328192c55906044015b600060405180830381600087803b15801561074b57600080fd5b505af115801561075f573d6000803e3d6000fd5b50505050505050565b60008060405160200161077a90611cb0565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b1580156107d557600080fd5b505afa1580156107e9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105db9190611cc6565b600061081981336118af565b610831600080516020611f21833981519152836116ab565b6040516001600160a01b038316907fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd3190600090a25050565b60008281526020819052604090206001015461088581336118af565b61088f8383611913565b505050565b6001600160a01b03811633146109045760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016106bf565b61090e8282611997565b5050565b600061091e81336118af565b610936600080516020611f2183398151915283610869565b6040516001600160a01b038316907fd873e3f571dc25e020cefdeb7255b3874ead3aade1f94a5fb4a5da831fd670cd90600090a25050565b600080516020611f2183398151915261098781336118af565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b602082015260009060310160408051601f198184030181529082905280516020918201206002549093506001600160a01b0316916355d94655916109e39101611cb0565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610a1791815260200190565b60206040518083038186803b158015610a2f57600080fd5b505afa158015610a43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a679190611cc6565b15610a845760405162461bcd60e51b81526004016106bf90611ce3565b60025460405163afc3602b60e01b81526004810183905284916001600160a01b03169063afc3602b9060240160206040518083038186803b158015610ac857600080fd5b505afa158015610adc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b009190611c97565b11610b735760405162461bcd60e51b815260206004820152603e60248201527f546865206d696e2e20636f6e74722e206c696d6974206e6565647320746f206260448201527f6520736d616c6c6572207468616e20746865206d61782e206c696d69742e000060648201526084016106bf565b6040516e36b4b721b7b73a3934b13aba34b7b760891b6020820152600090602f0160408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018790529092506001600160a01b0316906328192c5590604401600060405180830381600087803b158015610bf857600080fd5b505af1158015610c0c573d6000803e3d6000fd5b5050505050505050565b600080604051602001610548906c64617973546f5265776172647360981b8152600d0190565b600033604051602001610c4f9190611d1a565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b158015610caa57600080fd5b505afa158015610cbe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce29190611cc6565b610cfe5760405162461bcd60e51b81526004016106bf90611d4f565b60026001541415610d515760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106bf565b6002600155604051711d1bdd185b17d95d1a195c97dcdd185ad95960721b60208201526000906032016040516020818303038152906040528051906020012090506000604051602001610dbb90703a37ba30b629bab838363cafa2ba3432b960791b815260110190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b83526004830185905290925060009186916001600160a01b03169063afc3602b9060240160206040518083038186803b158015610e1b57600080fd5b505afa158015610e2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e539190611c97565b610e5d9190611d9a565b1015610ec15760405162461bcd60e51b815260206004820152602d60248201527f506f6f6c206c61636b696e67206f6620657468657220746f20706572666f726d60448201526c103a3434b99030b1ba34b7b71760991b60648201526084016106bf565b600254604051635bcfee6760e01b815260048101849052602481018690526001600160a01b0390911690635bcfee6790604401600060405180830381600087803b158015610f0e57600080fd5b505af1158015610f22573d6000803e3d6000fd5b5050600254604051635bcfee6760e01b815260048101859052602481018890526001600160a01b039091169250635bcfee679150604401600060405180830381600087803b158015610f7357600080fd5b505af1158015610f87573d6000803e3d6000fd5b505050506000856001600160a01b03168560405160006040518083038185875af1925050503d8060008114610fd8576040519150601f19603f3d011682016040523d82523d6000602084013e610fdd565b606091505b5050905080610feb57600080fd5b50506001805550505050565b600080516020611f2183398151915261101081336118af565b6002546040516001600160a01b03909116906355d946559061103490602001611cb0565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161106891815260200190565b60206040518083038186803b15801561108057600080fd5b505afa158015611094573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b89190611cc6565b156110d55760405162461bcd60e51b81526004016106bf90611ce3565b6040516c64617973546f5265776172647360981b6020820152600090602d016106e6565b600080604051602001610548906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b600080516020611f2183398151915261113a81336118af565b6002546040516001600160a01b03909116906355d946559061115e90602001611cb0565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161119291815260200190565b60206040518083038186803b1580156111aa57600080fd5b505afa1580156111be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e29190611cc6565b156111ff5760405162461bcd60e51b81526004016106bf90611ce3565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b60208201526000906031016106e6565b60008060405160200161054890771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b600080604051602001611292906f636f6e74726163745f6164647265737360801b815267506f6f6c4261736560c01b601082015260180190565b60408051808303601f190181529082905280516020909101206002546315485dd960e11b8352600483018290529092506000916001600160a01b0390911690632a90bbb29060240160206040518083038186803b1580156112f257600080fd5b505afa158015611306573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061132a9190611db1565b9392505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020611f2183398151915261137381336118af565b600060405160200161138490611cb0565b60408051808303601f1901815290829052805160209091012060025463988c515b60e01b83526004830182905285151560248401529092506001600160a01b03169063988c515b90604401610731565b6000336040516020016113e79190611d1a565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561144257600080fd5b505afa158015611456573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061147a9190611cc6565b6114965760405162461bcd60e51b81526004016106bf90611d4f565b604051711d1bdd185b17d95d1a195c97dcdd185ad95960721b602082015260009060320160408051808303601f1901815290829052805160209091012060025462ec44af60e51b8352600483018290523460248401529092506001600160a01b031690631d8895e090604401600060405180830381600087803b15801561151c57600080fd5b505af1158015611530573d6000803e3d6000fd5b505050505050565b600080516020611f2183398151915261155181336118af565b6002546040516001600160a01b03909116906355d946559061157590602001611cb0565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b81526004016115a991815260200190565b60206040518083038186803b1580156115c157600080fd5b505afa1580156115d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f99190611cc6565b156116165760405162461bcd60e51b81526004016106bf90611ce3565b604051771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b60208201526000906038016106e6565b600080604051602001611292906f636f6e74726163745f6164647265737360801b815268141bdbdb15985d5b1d60ba1b601082015260190190565b60008060405160200161054890711d1bdd185b17d95d1a195c97dcdd185ad95960721b815260120190565b6000828152602081905260409020600101546116c781336118af565b61088f8383611997565b6000336040516020016116e49190611d1a565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561173f57600080fd5b505afa158015611753573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117779190611cc6565b6117935760405162461bcd60e51b81526004016106bf90611d4f565b600260015414156117e65760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106bf565b6002600155604051711d1bdd185b17d95d1a195c97dcdd185ad95960721b602082015260009060320160408051808303601f1901815290829052805160209091012060025462ec44af60e51b8352600483018290523460248401529092506001600160a01b031690631d8895e090604401600060405180830381600087803b15801561187157600080fd5b505af1158015610feb573d6000803e3d6000fd5b600080604051602001610548907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b6118b98282611331565b61090e576118d1816001600160a01b031660146119fc565b6118dc8360206119fc565b6040516020016118ed929190611dfe565b60408051601f198184030181529082905262461bcd60e51b82526106bf91600401611e73565b61191d8282611331565b61090e576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556119533390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6119a18282611331565b1561090e576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60606000611a0b836002611ea6565b611a16906002611ec5565b67ffffffffffffffff811115611a2e57611a2e611edd565b6040519080825280601f01601f191660200182016040528015611a58576020820181803683370190505b509050600360fc1b81600081518110611a7357611a73611ef3565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611aa257611aa2611ef3565b60200101906001600160f81b031916908160001a9053506000611ac6846002611ea6565b611ad1906001611ec5565b90505b6001811115611b49576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611b0557611b05611ef3565b1a60f81b828281518110611b1b57611b1b611ef3565b60200101906001600160f81b031916908160001a90535060049490941c93611b4281611f09565b9050611ad4565b50831561132a5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016106bf565b600060208284031215611baa57600080fd5b81356001600160e01b03198116811461132a57600080fd5b600060208284031215611bd457600080fd5b5035919050565b6001600160a01b0381168114611bf057600080fd5b50565b600060208284031215611c0557600080fd5b813561132a81611bdb565b60008060408385031215611c2357600080fd5b823591506020830135611c3581611bdb565b809150509250929050565b60008060408385031215611c5357600080fd5b8235611c5e81611bdb565b946020939093013593505050565b8015158114611bf057600080fd5b600060208284031215611c8c57600080fd5b813561132a81611c6c565b600060208284031215611ca957600080fd5b5051919050565b696973506f6f6c4c69766560b01b8152600a0190565b600060208284031215611cd857600080fd5b815161132a81611c6c565b6020808252601d908201527f54686520706f6f6c2069732063757272656e746c7920636c6f7365642e000000604082015260600190565b6e636f6e74726163745f65786973747360881b815260609190911b6bffffffffffffffffffffffff1916600f82015260230190565b6020808252818101527f54686520636f6e7472616374206164647265737320697320696e76616c69642e604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082821015611dac57611dac611d84565b500390565b600060208284031215611dc357600080fd5b815161132a81611bdb565b60005b83811015611de9578181015183820152602001611dd1565b83811115611df8576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611e36816017850160208801611dce565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611e67816028840160208801611dce565b01602801949350505050565b6020815260008251806020840152611e92816040850160208701611dce565b601f01601f19169190910160400192915050565b6000816000190483118215151615611ec057611ec0611d84565b500290565b60008219821115611ed857611ed8611d84565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081611f1857611f18611d84565b50600019019056fe41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842a26469706673582212205683fbe808f0e43c1ca994bf72a03d508f376b2b332730e2895efb1ee23cfe1364736f6c63430008090033", + "deployedBytecode": "6080604052600436106101b75760003560e01c80636cff7473116100ec578063a7cc190a1161008a578063ccfe0c8e11610064578063ccfe0c8e1461049b578063d547741f146104b0578063f9fc0d07146104d0578063fa1e19e5146104d857600080fd5b8063a7cc190a1461045e578063bf4c003614610466578063c3577d481461048657600080fd5b80638ae68134116100c65780638ae68134146103dc57806391d1485414610409578063a217fddf14610429578063a49755161461043e57600080fd5b80636cff74731461039257806372d099a0146103a75780637521796f146103c757600080fd5b806336568abe11610159578063497d024111610133578063497d02411461031b578063522f68151461033057806353710f491461035057806362308e851461037057600080fd5b806336568abe146102bb57806345077e71146102db578063473b0d46146102fb57600080fd5b8063217ac23711610195578063217ac23714610236578063248a9ca31461024b57806329ca15bc1461027b5780632f2ff15d1461029b57600080fd5b806301ffc9a7146101bc578063095df57f146101f15780631264698714610214575b600080fd5b3480156101c857600080fd5b506101dc6101d7366004611b98565b6104ed565b60405190151581526020015b60405180910390f35b3480156101fd57600080fd5b50610206610524565b6040519081526020016101e8565b34801561022057600080fd5b5061023461022f366004611bc2565b6105e1565b005b34801561024257600080fd5b506101dc610768565b34801561025757600080fd5b50610206610266366004611bc2565b60009081526020819052604090206001015490565b34801561028757600080fd5b50610234610296366004611bf3565b61080d565b3480156102a757600080fd5b506102346102b6366004611c10565b610869565b3480156102c757600080fd5b506102346102d6366004611c10565b610894565b3480156102e757600080fd5b506102346102f6366004611bf3565b610912565b34801561030757600080fd5b50610234610316366004611bc2565b61096e565b34801561032757600080fd5b50610206610c16565b34801561033c57600080fd5b5061023461034b366004611c40565b610c3c565b34801561035c57600080fd5b5061023461036b366004611bc2565b610ff7565b34801561037c57600080fd5b50610206600080516020611f2183398151915281565b34801561039e57600080fd5b506102066110f9565b3480156103b357600080fd5b506102346103c2366004611bc2565b611121565b3480156103d357600080fd5b50610206611227565b3480156103e857600080fd5b506103f1611258565b6040516001600160a01b0390911681526020016101e8565b34801561041557600080fd5b506101dc610424366004611c10565b611331565b34801561043557600080fd5b50610206600081565b34801561044a57600080fd5b50610234610459366004611c7a565b61135a565b6102346113d4565b34801561047257600080fd5b50610234610481366004611bc2565b611538565b34801561049257600080fd5b506103f1611645565b3480156104a757600080fd5b50610206611680565b3480156104bc57600080fd5b506102346104cb366004611c10565b6116ab565b6102346116d1565b3480156104e457600080fd5b50610206611885565b60006001600160e01b03198216637965db0b60e01b148061051e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b600080604051602001610548906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b1580156105a357600080fd5b505afa1580156105b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105db9190611c97565b91505090565b600080516020611f218339815191526105fa81336118af565b6002546040516001600160a01b03909116906355d946559061061e90602001611cb0565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161065291815260200190565b60206040518083038186803b15801561066a57600080fd5b505afa15801561067e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a29190611cc6565b156106c85760405162461bcd60e51b81526004016106bf90611ce3565b60405180910390fd5b6040516a706f6f6c4d617853697a6560a81b6020820152600090602b015b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018690529092506001600160a01b0316906328192c55906044015b600060405180830381600087803b15801561074b57600080fd5b505af115801561075f573d6000803e3d6000fd5b50505050505050565b60008060405160200161077a90611cb0565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b1580156107d557600080fd5b505afa1580156107e9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105db9190611cc6565b600061081981336118af565b610831600080516020611f21833981519152836116ab565b6040516001600160a01b038316907fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd3190600090a25050565b60008281526020819052604090206001015461088581336118af565b61088f8383611913565b505050565b6001600160a01b03811633146109045760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016106bf565b61090e8282611997565b5050565b600061091e81336118af565b610936600080516020611f2183398151915283610869565b6040516001600160a01b038316907fd873e3f571dc25e020cefdeb7255b3874ead3aade1f94a5fb4a5da831fd670cd90600090a25050565b600080516020611f2183398151915261098781336118af565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b602082015260009060310160408051601f198184030181529082905280516020918201206002549093506001600160a01b0316916355d94655916109e39101611cb0565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610a1791815260200190565b60206040518083038186803b158015610a2f57600080fd5b505afa158015610a43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a679190611cc6565b15610a845760405162461bcd60e51b81526004016106bf90611ce3565b60025460405163afc3602b60e01b81526004810183905284916001600160a01b03169063afc3602b9060240160206040518083038186803b158015610ac857600080fd5b505afa158015610adc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b009190611c97565b11610b735760405162461bcd60e51b815260206004820152603e60248201527f546865206d696e2e20636f6e74722e206c696d6974206e6565647320746f206260448201527f6520736d616c6c6572207468616e20746865206d61782e206c696d69742e000060648201526084016106bf565b6040516e36b4b721b7b73a3934b13aba34b7b760891b6020820152600090602f0160408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018790529092506001600160a01b0316906328192c5590604401600060405180830381600087803b158015610bf857600080fd5b505af1158015610c0c573d6000803e3d6000fd5b5050505050505050565b600080604051602001610548906c64617973546f5265776172647360981b8152600d0190565b600033604051602001610c4f9190611d1a565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b158015610caa57600080fd5b505afa158015610cbe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce29190611cc6565b610cfe5760405162461bcd60e51b81526004016106bf90611d4f565b60026001541415610d515760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106bf565b6002600155604051711d1bdd185b17d95d1a195c97dcdd185ad95960721b60208201526000906032016040516020818303038152906040528051906020012090506000604051602001610dbb90703a37ba30b629bab838363cafa2ba3432b960791b815260110190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b83526004830185905290925060009186916001600160a01b03169063afc3602b9060240160206040518083038186803b158015610e1b57600080fd5b505afa158015610e2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e539190611c97565b610e5d9190611d9a565b1015610ec15760405162461bcd60e51b815260206004820152602d60248201527f506f6f6c206c61636b696e67206f6620657468657220746f20706572666f726d60448201526c103a3434b99030b1ba34b7b71760991b60648201526084016106bf565b600254604051635bcfee6760e01b815260048101849052602481018690526001600160a01b0390911690635bcfee6790604401600060405180830381600087803b158015610f0e57600080fd5b505af1158015610f22573d6000803e3d6000fd5b5050600254604051635bcfee6760e01b815260048101859052602481018890526001600160a01b039091169250635bcfee679150604401600060405180830381600087803b158015610f7357600080fd5b505af1158015610f87573d6000803e3d6000fd5b505050506000856001600160a01b03168560405160006040518083038185875af1925050503d8060008114610fd8576040519150601f19603f3d011682016040523d82523d6000602084013e610fdd565b606091505b5050905080610feb57600080fd5b50506001805550505050565b600080516020611f2183398151915261101081336118af565b6002546040516001600160a01b03909116906355d946559061103490602001611cb0565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161106891815260200190565b60206040518083038186803b15801561108057600080fd5b505afa158015611094573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b89190611cc6565b156110d55760405162461bcd60e51b81526004016106bf90611ce3565b6040516c64617973546f5265776172647360981b6020820152600090602d016106e6565b600080604051602001610548906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b600080516020611f2183398151915261113a81336118af565b6002546040516001600160a01b03909116906355d946559061115e90602001611cb0565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161119291815260200190565b60206040518083038186803b1580156111aa57600080fd5b505afa1580156111be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e29190611cc6565b156111ff5760405162461bcd60e51b81526004016106bf90611ce3565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b60208201526000906031016106e6565b60008060405160200161054890771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b600080604051602001611292906f636f6e74726163745f6164647265737360801b815267506f6f6c4261736560c01b601082015260180190565b60408051808303601f190181529082905280516020909101206002546315485dd960e11b8352600483018290529092506000916001600160a01b0390911690632a90bbb29060240160206040518083038186803b1580156112f257600080fd5b505afa158015611306573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061132a9190611db1565b9392505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020611f2183398151915261137381336118af565b600060405160200161138490611cb0565b60408051808303601f1901815290829052805160209091012060025463988c515b60e01b83526004830182905285151560248401529092506001600160a01b03169063988c515b90604401610731565b6000336040516020016113e79190611d1a565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561144257600080fd5b505afa158015611456573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061147a9190611cc6565b6114965760405162461bcd60e51b81526004016106bf90611d4f565b604051711d1bdd185b17d95d1a195c97dcdd185ad95960721b602082015260009060320160408051808303601f1901815290829052805160209091012060025462ec44af60e51b8352600483018290523460248401529092506001600160a01b031690631d8895e090604401600060405180830381600087803b15801561151c57600080fd5b505af1158015611530573d6000803e3d6000fd5b505050505050565b600080516020611f2183398151915261155181336118af565b6002546040516001600160a01b03909116906355d946559061157590602001611cb0565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b81526004016115a991815260200190565b60206040518083038186803b1580156115c157600080fd5b505afa1580156115d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f99190611cc6565b156116165760405162461bcd60e51b81526004016106bf90611ce3565b604051771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b60208201526000906038016106e6565b600080604051602001611292906f636f6e74726163745f6164647265737360801b815268141bdbdb15985d5b1d60ba1b601082015260190190565b60008060405160200161054890711d1bdd185b17d95d1a195c97dcdd185ad95960721b815260120190565b6000828152602081905260409020600101546116c781336118af565b61088f8383611997565b6000336040516020016116e49190611d1a565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561173f57600080fd5b505afa158015611753573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117779190611cc6565b6117935760405162461bcd60e51b81526004016106bf90611d4f565b600260015414156117e65760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106bf565b6002600155604051711d1bdd185b17d95d1a195c97dcdd185ad95960721b602082015260009060320160408051808303601f1901815290829052805160209091012060025462ec44af60e51b8352600483018290523460248401529092506001600160a01b031690631d8895e090604401600060405180830381600087803b15801561187157600080fd5b505af1158015610feb573d6000803e3d6000fd5b600080604051602001610548907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b6118b98282611331565b61090e576118d1816001600160a01b031660146119fc565b6118dc8360206119fc565b6040516020016118ed929190611dfe565b60408051601f198184030181529082905262461bcd60e51b82526106bf91600401611e73565b61191d8282611331565b61090e576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556119533390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6119a18282611331565b1561090e576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60606000611a0b836002611ea6565b611a16906002611ec5565b67ffffffffffffffff811115611a2e57611a2e611edd565b6040519080825280601f01601f191660200182016040528015611a58576020820181803683370190505b509050600360fc1b81600081518110611a7357611a73611ef3565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611aa257611aa2611ef3565b60200101906001600160f81b031916908160001a9053506000611ac6846002611ea6565b611ad1906001611ec5565b90505b6001811115611b49576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611b0557611b05611ef3565b1a60f81b828281518110611b1b57611b1b611ef3565b60200101906001600160f81b031916908160001a90535060049490941c93611b4281611f09565b9050611ad4565b50831561132a5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016106bf565b600060208284031215611baa57600080fd5b81356001600160e01b03198116811461132a57600080fd5b600060208284031215611bd457600080fd5b5035919050565b6001600160a01b0381168114611bf057600080fd5b50565b600060208284031215611c0557600080fd5b813561132a81611bdb565b60008060408385031215611c2357600080fd5b823591506020830135611c3581611bdb565b809150509250929050565b60008060408385031215611c5357600080fd5b8235611c5e81611bdb565b946020939093013593505050565b8015158114611bf057600080fd5b600060208284031215611c8c57600080fd5b813561132a81611c6c565b600060208284031215611ca957600080fd5b5051919050565b696973506f6f6c4c69766560b01b8152600a0190565b600060208284031215611cd857600080fd5b815161132a81611c6c565b6020808252601d908201527f54686520706f6f6c2069732063757272656e746c7920636c6f7365642e000000604082015260600190565b6e636f6e74726163745f65786973747360881b815260609190911b6bffffffffffffffffffffffff1916600f82015260230190565b6020808252818101527f54686520636f6e7472616374206164647265737320697320696e76616c69642e604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082821015611dac57611dac611d84565b500390565b600060208284031215611dc357600080fd5b815161132a81611bdb565b60005b83811015611de9578181015183820152602001611dd1565b83811115611df8576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611e36816017850160208801611dce565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611e67816028840160208801611dce565b01602801949350505050565b6020815260008251806020840152611e92816040850160208701611dce565b601f01601f19169190910160400192915050565b6000816000190483118215151615611ec057611ec0611d84565b500290565b60008219821115611ed857611ed8611d84565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081611f1857611f18611d84565b50600019019056fe41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842a26469706673582212205683fbe808f0e43c1ca994bf72a03d508f376b2b332730e2895efb1ee23cfe1364736f6c63430008090033", + "sourceMap": "482:2471:1:-:0;;;522:125;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1701:1:6;1806:22;;1269:11:0;:55;;-1:-1:-1;;;;;;1269:55:0;-1:-1:-1;;;;;1269:55:0;;;;;;1335:42;-1:-1:-1;1366:10:0;1335;:42::i;:::-;1388:36;726:25;1413:10;1388;:36::i;:::-;1435:21;:19;:21::i;:::-;-1:-1:-1;617:22:1::1;:20;:22::i;:::-;522:125:::0;482:2471;;6257:110:4;6335:25;6346:4;6352:7;6335:10;:25::i;:::-;6257:110;;:::o;2539:269:0:-;2589:11;;2626:50;;-1:-1:-1;;;2626:50:0;;;567:30:12;-1:-1:-1;;;;;;2670:4:0;660:2:12;631:15;627:45;613:12;;;606:67;-1:-1:-1;;;;;2589:11:0;;;;:26;;689:12:12;;2626:50:0;;;-1:-1:-1;;2626:50:0;;;;;;;;;;2616:61;;2626:50;2616:61;;;;-1:-1:-1;;;;;;2589:95:0;;;;;;;;;;880:25:12;2679:4:0;921:18:12;;;914:50;853:18;;2589:95:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2695:11:0;;2735:48;;-1:-1:-1;;;2735:48:0;;;1278:31:12;-1:-1:-1;;;1325:12:12;;;1318:32;-1:-1:-1;;;;;2695:11:0;;;;-1:-1:-1;2695:29:0;;-1:-1:-1;1366:12:12;;2735:48:0;;;;-1:-1:-1;;2735:48:0;;;;;;;;;;2725:59;;2735:48;2725:59;;;;-1:-1:-1;;;;;;2695:105:0;;;;;;;;;;1563:25:12;2794:4:0;1604:18:12;;;1597:60;1536:18;;2695:105:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2539:269::o;1027:271:1:-;1078:11;;1115:50;;-1:-1:-1;;;1115:50:1;;;567:30:12;-1:-1:-1;;;;;;1159:4:1;660:2:12;631:15;627:45;613:12;;;606:67;-1:-1:-1;;;;;1078:11:1;;;;:26;;689:12:12;;1115:50:1;;;-1:-1:-1;;1115:50:1;;;;;;;;;;1105:61;;1115:50;1105:61;;;;-1:-1:-1;;;;;;1078:95:1;;;;;;;;;;880:25:12;1168:4:1;921:18:12;;;914:50;853:18;;1078:95:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1184:11:1;;1224:49;;-1:-1:-1;;;1224:49:1;;;1971:31:12;-1:-1:-1;;;2018:12:12;;;2011:33;-1:-1:-1;;;;;1184:11:1;;;;-1:-1:-1;1184:29:1;;-1:-1:-1;2060:12:12;;1224:49:1;1668:410:12;6861:233:4;2995:4;3018:12;;;;;;;;;;;-1:-1:-1;;;;;3018:29:4;;;;;;;;;;;;6939:149;;6982:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6982:29:4;;;;;;;;;:36;;-1:-1:-1;;6982:36:4;7014:4;6982:36;;;7064:12;719:10:8;;640:96;7064:12:4;-1:-1:-1;;;;;7037:40:4;7055:7;-1:-1:-1;;;;;7037:40:4;7049:4;7037:40;;;;;;;;;;6861:233;;:::o;14:318:12:-;112:6;165:2;153:9;144:7;140:23;136:32;133:52;;;181:1;178;171:12;133:52;207:16;;-1:-1:-1;;;;;252:31:12;;242:42;;232:70;;298:1;295;288:12;232:70;321:5;14:318;-1:-1:-1;;;14:318:12:o;1668:410::-;482:2471:1;;;;;;", + "deployedSourceMap": "482:2471:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2620:202:4;;;;;;;;;;-1:-1:-1;2620:202:4;;;;;:::i;:::-;;:::i;:::-;;;470:14:12;;463:22;445:41;;433:2;418:18;2620:202:4;;;;;;;;6789:205:0;;;;;;;;;;;;;:::i;:::-;;;643:25:12;;;631:2;616:18;6789:205:0;497:177:12;3298:341:0;;;;;;;;;;-1:-1:-1;3298:341:0;;;;;:::i;:::-;;:::i;:::-;;6597:184;;;;;;;;;;;;;:::i;4008:129:4:-;;;;;;;;;;-1:-1:-1;4008:129:4;;;;;:::i;:::-;4082:7;4108:12;;;;;;;;;;:22;;;;4008:129;2178:175:0;;;;;;;;;;-1:-1:-1;2178:175:0;;;;;:::i;:::-;;:::i;4387:145:4:-;;;;;;;;;;-1:-1:-1;4387:145:4;;;;;:::i;:::-;;:::i;5404:214::-;;;;;;;;;;-1:-1:-1;5404:214:4;;;;;:::i;:::-;;:::i;1998:172:0:-;;;;;;;;;;-1:-1:-1;1998:172:0;;;;;:::i;:::-;;:::i;5239:585::-;;;;;;;;;;-1:-1:-1;5239:585:0;;;;;:::i;:::-;;:::i;7002:195::-;;;;;;;;;;;;;:::i;1760:645:1:-;;;;;;;;;;-1:-1:-1;1760:645:1;;;;;:::i;:::-;;:::i;3713:351:0:-;;;;;;;;;;-1:-1:-1;3713:351:0;;;;;:::i;:::-;;:::i;687:64::-;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;687:64:0;;7640:199;;;;;;;;;;;;;:::i;4761:362::-;;;;;;;;;;-1:-1:-1;4761:362:0;;;;;:::i;:::-;;:::i;7205:212::-;;;;;;;;;;;;;:::i;6317:268::-;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;2423:32:12;;;2405:51;;2393:2;2378:18;6317:268:0;2259:203:12;2909:145:4;;;;;;;;;;-1:-1:-1;2909:145:4;;;;;:::i;:::-;;:::i;2027:49::-;;;;;;;;;;-1:-1:-1;2027:49:4;2072:4;2027:49;;2965:198:0;;;;;;;;;;-1:-1:-1;2965:198:0;;;;;:::i;:::-;;:::i;1526:222:1:-;;;:::i;4271:372:0:-;;;;;;;;;;-1:-1:-1;4271:372:0;;;;;:::i;:::-;;:::i;2661:270:1:-;;;;;;;;;;;;;:::i;1311:207::-;;;;;;;;;;;;;:::i;4766:147:4:-;;;;;;;;;;-1:-1:-1;4766:147:4;;;;;:::i;:::-;;:::i;2413:240:1:-;;;:::i;7425:207:0:-;;;;;;;;;;;;;:::i;2620:202:4:-;2705:4;-1:-1:-1;;;;;;2728:47:4;;-1:-1:-1;;;2728:47:4;;:87;;-1:-1:-1;;;;;;;;;;937:40:10;;;2779:36:4;2721:94;2620:202;-1:-1:-1;;2620:202:4:o;6789:205:0:-;6835:4;6851:22;6886:31;;;;;;-1:-1:-1;;;3038:26:12;;3089:2;3080:12;;2836:262;6886:31:0;;;;;;;-1:-1:-1;;6886:31:0;;;;;;;6876:42;;6886:31;6876:42;;;;6936:11;;-1:-1:-1;;;6936:42:0;;;;;643:25:12;;;6876:42:0;;-1:-1:-1;;;;;;6936:11:0;;:26;;616:18:12;;6936:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6929:49;;;6789:205;:::o;3298:341::-;-1:-1:-1;;;;;;;;;;;2505:30:4;726:25:0;719:10:8;2505::4;:30::i;:::-;3387:11:0::1;::::0;3424:30:::1;::::0;-1:-1:-1;;;;;3387:11:0;;::::1;::::0;:26:::1;::::0;3424:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;3414:41;;;;;;3387:69;;;;;;;;;;;;;643:25:12::0;;631:2;616:18;;497:177;3387:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3386:70;3378:112;;;;-1:-1:-1::0;;;3378:112:0::1;;;;;;;:::i;:::-;;;;;;;;;3536:31;::::0;-1:-1:-1;;;3536:31:0::1;::::0;::::1;3038:26:12::0;3501:22:0::1;::::0;3080:12:12;;3536:31:0::1;;::::0;;;;::::1;-1:-1:-1::0;;3536:31:0;;;;;;;3526:42;;3536:31:::1;3526:42:::0;;::::1;::::0;3579:11:::1;::::0;-1:-1:-1;;;3579:52:0;;::::1;::::0;::::1;4340:25:12::0;;;4381:18;;;4374:34;;;3526:42:0;;-1:-1:-1;;;;;;3579:11:0::1;::::0;:26:::1;::::0;4313:18:12;;3579:52:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;3367:272;3298:341:::0;;:::o;6597:184::-;6641:4;6657:17;6687:30;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;6687:30:0;;;;;;;6677:41;;6687:30;6677:41;;;;6736:11;;-1:-1:-1;;;6736:37:0;;;;;643:25:12;;;6677:41:0;;-1:-1:-1;;;;;;6736:11:0;;:26;;616:18:12;;6736:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;2178:175::-;2072:4:4;2505:30;2072:4;719:10:8;2505::4;:30::i;:::-;2271:34:0::1;-1:-1:-1::0;;;;;;;;;;;2296:8:0::1;2271:10;:34::i;:::-;2321:24;::::0;-1:-1:-1;;;;;2321:24:0;::::1;::::0;::::1;::::0;;;::::1;2178:175:::0;;:::o;4387:145:4:-;4082:7;4108:12;;;;;;;;;;:22;;;2505:30;2516:4;719:10:8;2505::4;:30::i;:::-;4500:25:::1;4511:4;4517:7;4500:10;:25::i;:::-;4387:145:::0;;;:::o;5404:214::-;-1:-1:-1;;;;;5499:23:4;;719:10:8;5499:23:4;5491:83;;;;-1:-1:-1;;;5491:83:4;;4621:2:12;5491:83:4;;;4603:21:12;4660:2;4640:18;;;4633:30;4699:34;4679:18;;;4672:62;-1:-1:-1;;;4750:18:12;;;4743:45;4805:19;;5491:83:4;4419:411:12;5491:83:4;5585:26;5597:4;5603:7;5585:11;:26::i;:::-;5404:214;;:::o;1998:172:0:-;2072:4:4;2505:30;2072:4;719:10:8;2505::4;:30::i;:::-;2088:33:0::1;-1:-1:-1::0;;;;;;;;;;;2112:8:0::1;2088:9;:33::i;:::-;2137:25;::::0;-1:-1:-1;;;;;2137:25:0;::::1;::::0;::::1;::::0;;;::::1;1998:172:::0;;:::o;5239:585::-;-1:-1:-1;;;;;;;;;;;2505:30:4;726:25:0;719:10:8;2505::4;:30::i;:::-;5360:37:0::1;::::0;-1:-1:-1;;;5360:37:0::1;::::0;::::1;5037:32:12::0;5326:21:0::1;::::0;5085:12:12;;5360:37:0::1;::::0;;-1:-1:-1;;5360:37:0;;::::1;::::0;;;;;;;5350:48;;5360:37:::1;5350:48:::0;;::::1;::::0;5418:11:::1;::::0;5350:48;;-1:-1:-1;;;;;;5418:11:0::1;::::0;:26:::1;::::0;5455:30:::1;::::0;::::1;;:::i;:::-;;;;;;;;;;;;;5445:41;;;;;;5418:69;;;;;;;;;;;;;643:25:12::0;;631:2;616:18;;497:177;5418:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5417:70;5409:112;;;;-1:-1:-1::0;;;5409:112:0::1;;;;;;;:::i;:::-;5540:11;::::0;:41:::1;::::0;-1:-1:-1;;;5540:41:0;;::::1;::::0;::::1;643:25:12::0;;;5584:12:0;;-1:-1:-1;;;;;5540:11:0::1;::::0;:26:::1;::::0;616:18:12;;5540:41:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;5532:131;;;::::0;-1:-1:-1;;;5532:131:0;;5310:2:12;5532:131:0::1;::::0;::::1;5292:21:12::0;5349:2;5329:18;;;5322:30;5388:34;5368:18;;;5361:62;5459:32;5439:18;;;5432:60;5509:19;;5532:131:0::1;5108:426:12::0;5532:131:0::1;5716:35;::::0;-1:-1:-1;;;5716:35:0::1;::::0;::::1;5741:30:12::0;5684:19:0::1;::::0;5787:12:12;;5716:35:0::1;::::0;;;;::::1;-1:-1:-1::0;;5716:35:0;;;;;;;5706:46;;5716:35:::1;5706:46:::0;;::::1;::::0;5763:11:::1;::::0;-1:-1:-1;;;5763:53:0;;::::1;::::0;::::1;4340:25:12::0;;;4381:18;;;4374:34;;;5706:46:0;;-1:-1:-1;;;;;;5763:11:0::1;::::0;:26:::1;::::0;4313:18:12;;5763:53:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;5315:509;;5239:585:::0;;:::o;7002:195::-;7052:4;7068:18;7099:33;;;;;;-1:-1:-1;;;6012:28:12;;6065:2;6056:12;;5810:264;1760:645:1;694:19;762:10;726:47;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;726:47:1;;;;;;;716:58;;726:47;716:58;;;;793:11;;-1:-1:-1;;;793:39:1;;;;;643:25:12;;;716:58:1;;-1:-1:-1;;;;;;793:11:1;;:26;;616:18:12;;793:39:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;785:84;;;;-1:-1:-1;;;785:84:1;;;;;;;:::i;:::-;1744:1:6::1;2325:7;;:19;;2317:63;;;::::0;-1:-1:-1;;;2317:63:6;;7025:2:12;2317:63:6::1;::::0;::::1;7007:21:12::0;7064:2;7044:18;;;7037:30;7103:33;7083:18;;;7076:61;7154:18;;2317:63:6::1;6823:355:12::0;2317:63:6::1;1744:1;2455:7;:18:::0;1903:38:1::2;::::0;-1:-1:-1;;;1903:38:1::2;::::0;::::2;7385:33:12::0;1867:23:1::2;::::0;7434:12:12;;1903:38:1::2;;;;;;;;;;;;1893:49;;;;;;1867:75;;1953:17;1983:37;;;;;;-1:-1:-1::0;;;7659:32:12;;7716:2;7707:12;;7457:268;1983:37:1::2;;::::0;;;;::::2;-1:-1:-1::0;;1983:37:1;;;;;;;1973:48;;1983:37:::2;1973:48:::0;;::::2;::::0;2042:11:::2;::::0;-1:-1:-1;;;2042:43:1;;::::2;::::0;::::2;643:25:12::0;;;1973:48:1;;-1:-1:-1;2102:1:1::2;::::0;2088:10;;-1:-1:-1;;;;;2042:11:1::2;::::0;:26:::2;::::0;616:18:12;;2042:43:1::2;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:56;;;;:::i;:::-;:61;;2034:120;;;::::0;-1:-1:-1;;;2034:120:1;;8194:2:12;2034:120:1::2;::::0;::::2;8176:21:12::0;8233:2;8213:18;;;8206:30;8272:34;8252:18;;;8245:62;-1:-1:-1;;;8323:18:12;;;8316:43;8376:19;;2034:120:1::2;7992:409:12::0;2034:120:1::2;2167:11;::::0;:60:::2;::::0;-1:-1:-1;;;2167:60:1;;::::2;::::0;::::2;4340:25:12::0;;;4381:18;;;4374:34;;;-1:-1:-1;;;;;2167:11:1;;::::2;::::0;:31:::2;::::0;4313:18:12;;2167:60:1::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;2241:11:1::2;::::0;:54:::2;::::0;-1:-1:-1;;;2241:54:1;;::::2;::::0;::::2;4340:25:12::0;;;4381:18;;;4374:34;;;-1:-1:-1;;;;;2241:11:1;;::::2;::::0;-1:-1:-1;2241:31:1::2;::::0;-1:-1:-1;4313:18:12;;2241:54:1::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;2312:12;2338:3;-1:-1:-1::0;;;;;2330:17:1::2;2355:10;2330:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2311:59;;;2389:7;2381:16;;;::::0;::::2;;-1:-1:-1::0;;1701:1:6::1;2628:22:::0;;-1:-1:-1;;;;1760:645:1:o;3713:351:0:-;-1:-1:-1;;;;;;;;;;;2505:30:4;726:25:0;719:10:8;2505::4;:30::i;:::-;3812:11:0::1;::::0;3849:30:::1;::::0;-1:-1:-1;;;;;3812:11:0;;::::1;::::0;:26:::1;::::0;3849:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;3839:41;;;;;;3812:69;;;;;;;;;;;;;643:25:12::0;;631:2;616:18;;497:177;3812:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3811:70;3803:112;;;;-1:-1:-1::0;;;3803:112:0::1;;;;;;;:::i;:::-;3957:33;::::0;-1:-1:-1;;;3957:33:0::1;::::0;::::1;6012:28:12::0;3926:18:0::1;::::0;6056:12:12;;3957:33:0::1;5810:264:12::0;7640:199:0;7690:4;7706:19;7738:35;;;;;;-1:-1:-1;;;5741:30:12;;5796:2;5787:12;;5539:266;4761:362:0;-1:-1:-1;;;;;;;;;;;2505:30:4;726:25:0;719:10:8;2505::4;:30::i;:::-;4861:11:0::1;::::0;4898:30:::1;::::0;-1:-1:-1;;;;;4861:11:0;;::::1;::::0;:26:::1;::::0;4898:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;4888:41;;;;;;4861:69;;;;;;;;;;;;;643:25:12::0;;631:2;616:18;;497:177;4861:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4860:70;4852:112;;;;-1:-1:-1::0;;;4852:112:0::1;;;;;;;:::i;:::-;5009:37;::::0;-1:-1:-1;;;5009:37:0::1;::::0;::::1;5037:32:12::0;4975:21:0::1;::::0;5085:12:12;;5009:37:0::1;4835:268:12::0;7205:212:0;7255:4;7271:21;7305:44;;;;;;-1:-1:-1;;;8818:39:12;;8882:2;8873:12;;8616:275;6317:268:0;6367:7;6386:18;6417:48;;;;;;-1:-1:-1;;;9199:31:12;;-1:-1:-1;;;9255:2:12;9246:12;;9239:32;9296:2;9287:12;;8896:409;6417:48:0;;;;;;;-1:-1:-1;;6417:48:0;;;;;;;6407:59;;6417:48;6407:59;;;;6503:11;;-1:-1:-1;;;6503:41:0;;;;;643:25:12;;;6407:59:0;;-1:-1:-1;6477:23:0;;-1:-1:-1;;;;;6503:11:0;;;;:29;;616:18:12;;6503:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6477:67;6317:268;-1:-1:-1;;;6317:268:0:o;2909:145:4:-;2995:4;3018:12;;;;;;;;;;;-1:-1:-1;;;;;3018:29:4;;;;;;;;;;;;;;;2909:145::o;2965:198:0:-;-1:-1:-1;;;;;;;;;;;2505:30:4;726:25:0;719:10:8;2505::4;:30::i;:::-;3039:17:0::1;3069:30;;;;;;;:::i;:::-;;::::0;;;;::::1;-1:-1:-1::0;;3069:30:0;;;;;;;3059:41;;3069:30:::1;3059:41:::0;;::::1;::::0;3111:11:::1;::::0;-1:-1:-1;;;3111:44:0;;::::1;::::0;::::1;9734:25:12::0;;;9802:14;;9795:22;9775:18;;;9768:50;3059:41:0;;-1:-1:-1;;;;;;3111:11:0::1;::::0;:26:::1;::::0;9707:18:12;;3111:44:0::1;9566:258:12::0;1526:222:1;694:19;762:10;726:47;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;726:47:1;;;;;;;716:58;;726:47;716:58;;;;793:11;;-1:-1:-1;;;793:39:1;;;;;643:25:12;;;716:58:1;;-1:-1:-1;;;;;;793:11:1;;:26;;616:18:12;;793:39:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;785:84;;;;-1:-1:-1;;;785:84:1;;;;;;;:::i;:::-;1631:38:::1;::::0;-1:-1:-1;;;1631:38:1::1;::::0;::::1;7385:33:12::0;1595:23:1::1;::::0;7434:12:12;;1631:38:1::1;::::0;;;;::::1;-1:-1:-1::0;;1631:38:1;;;;;;;1621:49;;1631:38:::1;1621:49:::0;;::::1;::::0;1681:11:::1;::::0;-1:-1:-1;;;1681:59:1;;::::1;::::0;::::1;4340:25:12::0;;;1730:9:1::1;4381:18:12::0;;;4374:34;1621:49:1;;-1:-1:-1;;;;;;1681:11:1::1;::::0;:31:::1;::::0;4313:18:12;;1681:59:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;1584:164;683:204:::0;1526:222::o;4271:372:0:-;-1:-1:-1;;;;;;;;;;;2505:30:4;726:25:0;719:10:8;2505::4;:30::i;:::-;4372:11:0::1;::::0;4409:30:::1;::::0;-1:-1:-1;;;;;4372:11:0;;::::1;::::0;:26:::1;::::0;4409:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;4399:41;;;;;;4372:69;;;;;;;;;;;;;643:25:12::0;;631:2;616:18;;497:177;4372:69:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4371:70;4363:112;;;;-1:-1:-1::0;;;4363:112:0::1;;;;;;;:::i;:::-;4520:44;::::0;-1:-1:-1;;;4520:44:0::1;::::0;::::1;8818:39:12::0;4486:21:0::1;::::0;8873:12:12;;4520:44:0::1;8616:275:12::0;2661:270:1;2712:7;2731:18;2762:49;;;;;;-1:-1:-1;;;10132:31:12;;-1:-1:-1;;;10188:2:12;10179:12;;10172:33;10230:2;10221:12;;9829:410;1311:207:1;1358:4;1374:23;1410:38;;;;;;-1:-1:-1;;;7385:33:12;;7443:2;7434:12;;7183:269;4766:147:4;4082:7;4108:12;;;;;;;;;;:22;;;2505:30;2516:4;719:10:8;2505::4;:30::i;:::-;4880:26:::1;4892:4;4898:7;4880:11;:26::i;2413:240:1:-:0;694:19;762:10;726:47;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;726:47:1;;;;;;;716:58;;726:47;716:58;;;;793:11;;-1:-1:-1;;;793:39:1;;;;;643:25:12;;;716:58:1;;-1:-1:-1;;;;;;793:11:1;;:26;;616:18:12;;793:39:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;785:84;;;;-1:-1:-1;;;785:84:1;;;;;;;:::i;:::-;1744:1:6::1;2325:7;;:19;;2317:63;;;::::0;-1:-1:-1;;;2317:63:6;;7025:2:12;2317:63:6::1;::::0;::::1;7007:21:12::0;7064:2;7044:18;;;7037:30;7103:33;7083:18;;;7076:61;7154:18;;2317:63:6::1;6823:355:12::0;2317:63:6::1;1744:1;2455:7;:18:::0;2536:38:1::2;::::0;-1:-1:-1;;;2536:38:1::2;::::0;::::2;7385:33:12::0;2500:23:1::2;::::0;7434:12:12;;2536:38:1::2;::::0;;;;::::2;-1:-1:-1::0;;2536:38:1;;;;;;;2526:49;;2536:38:::2;2526:49:::0;;::::2;::::0;2586:11:::2;::::0;-1:-1:-1;;;2586:59:1;;::::2;::::0;::::2;4340:25:12::0;;;2635:9:1::2;4381:18:12::0;;;4374:34;2526:49:1;;-1:-1:-1;;;;;;2586:11:1::2;::::0;:31:::2;::::0;4313:18:12;;2586:59:1::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;7425:207:0::0;7477:4;7493:21;7527:37;;;;;;-1:-1:-1;;;5037:32:12;;5094:2;5085:12;;4835:268;3335:492:4;3423:22;3431:4;3437:7;3423;:22::i;:::-;3418:403;;3606:41;3634:7;-1:-1:-1;;;;;3606:41:4;3644:2;3606:19;:41::i;:::-;3718:38;3746:4;3753:2;3718:19;:38::i;:::-;3513:265;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3513:265:4;;;;;;;;;;-1:-1:-1;;;3461:349:4;;;;;;;:::i;6861:233::-;6944:22;6952:4;6958:7;6944;:22::i;:::-;6939:149;;6982:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6982:29:4;;;;;;;;;:36;;-1:-1:-1;;6982:36:4;7014:4;6982:36;;;7064:12;719:10:8;;640:96;7064:12:4;-1:-1:-1;;;;;7037:40:4;7055:7;-1:-1:-1;;;;;7037:40:4;7049:4;7037:40;;;;;;;;;;6861:233;;:::o;7219:234::-;7302:22;7310:4;7316:7;7302;:22::i;:::-;7298:149;;;7372:5;7340:12;;;;;;;;;;;-1:-1:-1;;;;;7340:29:4;;;;;;;;;;:37;;-1:-1:-1;;7340:37:4;;;7396:40;719:10:8;;7340:12:4;;7396:40;;7372:5;7396:40;7219:234;;:::o;1588:441:9:-;1663:13;1688:19;1720:10;1724:6;1720:1;:10;:::i;:::-;:14;;1733:1;1720:14;:::i;:::-;1710:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1710:25:9;;1688:47;;-1:-1:-1;;;1745:6:9;1752:1;1745:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1745:15:9;;;;;;;;;-1:-1:-1;;;1770:6:9;1777:1;1770:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1770:15:9;;;;;;;;-1:-1:-1;1800:9:9;1812:10;1816:6;1812:1;:10;:::i;:::-;:14;;1825:1;1812:14;:::i;:::-;1800:26;;1795:132;1832:1;1828;:5;1795:132;;;-1:-1:-1;;;1879:5:9;1887:3;1879:11;1866:25;;;;;;;:::i;:::-;;;;1854:6;1861:1;1854:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;1854:37:9;;;;;;;;-1:-1:-1;1915:1:9;1905:11;;;;;1835:3;;;:::i;:::-;;;1795:132;;;-1:-1:-1;1944:10:9;;1936:55;;;;-1:-1:-1;;;1936:55:9;;12599:2:12;1936:55:9;;;12581:21:12;;;12618:18;;;12611:30;12677:34;12657:18;;;12650:62;12729:18;;1936:55:9;12397:356:12;14:286;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:12;;209:43;;199:71;;266:1;263;256:12;679:180;738:6;791:2;779:9;770:7;766:23;762:32;759:52;;;807:1;804;797:12;759:52;-1:-1:-1;830:23:12;;679:180;-1:-1:-1;679:180:12:o;1231:131::-;-1:-1:-1;;;;;1306:31:12;;1296:42;;1286:70;;1352:1;1349;1342:12;1286:70;1231:131;:::o;1367:247::-;1426:6;1479:2;1467:9;1458:7;1454:23;1450:32;1447:52;;;1495:1;1492;1485:12;1447:52;1534:9;1521:23;1553:31;1578:5;1553:31;:::i;1619:315::-;1687:6;1695;1748:2;1736:9;1727:7;1723:23;1719:32;1716:52;;;1764:1;1761;1754:12;1716:52;1800:9;1787:23;1777:33;;1860:2;1849:9;1845:18;1832:32;1873:31;1898:5;1873:31;:::i;:::-;1923:5;1913:15;;;1619:315;;;;;:::o;1939:::-;2007:6;2015;2068:2;2056:9;2047:7;2043:23;2039:32;2036:52;;;2084:1;2081;2074:12;2036:52;2123:9;2110:23;2142:31;2167:5;2142:31;:::i;:::-;2192:5;2244:2;2229:18;;;;2216:32;;-1:-1:-1;;;1939:315:12:o;2467:118::-;2553:5;2546:13;2539:21;2532:5;2529:32;2519:60;;2575:1;2572;2565:12;2590:241;2646:6;2699:2;2687:9;2678:7;2674:23;2670:32;2667:52;;;2715:1;2712;2705:12;2667:52;2754:9;2741:23;2773:28;2795:5;2773:28;:::i;3103:184::-;3173:6;3226:2;3214:9;3205:7;3201:23;3197:32;3194:52;;;3242:1;3239;3232:12;3194:52;-1:-1:-1;3265:16:12;;3103:184;-1:-1:-1;3103:184:12:o;3292:261::-;-1:-1:-1;;;3494:25:12;;3544:2;3535:12;;3292:261::o;3558:245::-;3625:6;3678:2;3666:9;3657:7;3653:23;3649:32;3646:52;;;3694:1;3691;3684:12;3646:52;3726:9;3720:16;3745:28;3767:5;3745:28;:::i;3808:353::-;4010:2;3992:21;;;4049:2;4029:18;;;4022:30;4088:31;4083:2;4068:18;;4061:59;4152:2;4137:18;;3808:353::o;6079:378::-;-1:-1:-1;;;6309:30:12;;6377:2;6373:15;;;;-1:-1:-1;;6369:53:12;6364:2;6355:12;;6348:75;6448:2;6439:12;;6079:378::o;6462:356::-;6664:2;6646:21;;;6683:18;;;6676:30;6742:34;6737:2;6722:18;;6715:62;6809:2;6794:18;;6462:356::o;7730:127::-;7791:10;7786:3;7782:20;7779:1;7772:31;7822:4;7819:1;7812:15;7846:4;7843:1;7836:15;7862:125;7902:4;7930:1;7927;7924:8;7921:34;;;7935:18;;:::i;:::-;-1:-1:-1;7972:9:12;;7862:125::o;9310:251::-;9380:6;9433:2;9421:9;9412:7;9408:23;9404:32;9401:52;;;9449:1;9446;9439:12;9401:52;9481:9;9475:16;9500:31;9525:5;9500:31;:::i;10244:258::-;10316:1;10326:113;10340:6;10337:1;10334:13;10326:113;;;10416:11;;;10410:18;10397:11;;;10390:39;10362:2;10355:10;10326:113;;;10457:6;10454:1;10451:13;10448:48;;;10492:1;10483:6;10478:3;10474:16;10467:27;10448:48;;10244:258;;;:::o;10507:786::-;10918:25;10913:3;10906:38;10888:3;10973:6;10967:13;10989:62;11044:6;11039:2;11034:3;11030:12;11023:4;11015:6;11011:17;10989:62;:::i;:::-;-1:-1:-1;;;11110:2:12;11070:16;;;11102:11;;;11095:40;11160:13;;11182:63;11160:13;11231:2;11223:11;;11216:4;11204:17;;11182:63;:::i;:::-;11265:17;11284:2;11261:26;;10507:786;-1:-1:-1;;;;10507:786:12:o;11298:383::-;11447:2;11436:9;11429:21;11410:4;11479:6;11473:13;11522:6;11517:2;11506:9;11502:18;11495:34;11538:66;11597:6;11592:2;11581:9;11577:18;11572:2;11564:6;11560:15;11538:66;:::i;:::-;11665:2;11644:15;-1:-1:-1;;11640:29:12;11625:45;;;;11672:2;11621:54;;11298:383;-1:-1:-1;;11298:383:12:o;11686:168::-;11726:7;11792:1;11788;11784:6;11780:14;11777:1;11774:21;11769:1;11762:9;11755:17;11751:45;11748:71;;;11799:18;;:::i;:::-;-1:-1:-1;11839:9:12;;11686:168::o;11859:128::-;11899:3;11930:1;11926:6;11923:1;11920:13;11917:39;;;11936:18;;:::i;:::-;-1:-1:-1;11972:9:12;;11859:128::o;11992:127::-;12053:10;12048:3;12044:20;12041:1;12034:31;12084:4;12081:1;12074:15;12108:4;12105:1;12098:15;12124:127;12185:10;12180:3;12176:20;12173:1;12166:31;12216:4;12213:1;12206:15;12240:4;12237:1;12230:15;12256:136;12295:3;12323:5;12313:39;;12332:18;;:::i;:::-;-1:-1:-1;;;12368:18:12;;12256:136::o", + "sourcePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolVault.sol", + "compiler": { + "name": "solc", + "version": "0.8.9+commit.e5eed63a" + }, + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolVault.sol", + "exportedSymbols": { + "AccessControl": [ + 1292 + ], + "Context": [ + 1505 + ], + "DataStorageInterface": [ + 936 + ], + "ERC165": [ + 1732 + ], + "IAccessControl": [ + 1365 + ], + "IERC165": [ + 1744 + ], + "IERC20": [ + 1483 + ], + "PoolBase": [ + 591 + ], + "PoolVault": [ + 836 + ], + "ReentrancyGuard": [ + 1405 + ], + "Strings": [ + 1708 + ], + "rwETHTokenInterface": [ + 983 + ] + }, + "id": 837, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 593, + "literals": [ + "solidity", + "0.8", + ".9" + ], + "nodeType": "PragmaDirective", + "src": "33:22:1" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol", + "file": "./PoolBase.sol", + "id": 594, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 837, + "sourceUnit": 592, + "src": "406:24:1", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/interfaces/rwETHTokenInterface.sol", + "file": "./interfaces/rwETHTokenInterface.sol", + "id": 595, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 837, + "sourceUnit": 984, + "src": "432:46:1", + "symbolAliases": [], + "unitAlias": "" + }, + { + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 596, + "name": "PoolBase", + "nodeType": "IdentifierPath", + "referencedDeclaration": 591, + "src": "504:8:1" + }, + "id": 597, + "nodeType": "InheritanceSpecifier", + "src": "504:8:1" + } + ], + "canonicalName": "PoolVault", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "id": 836, + "linearizedBaseContracts": [ + 836, + 591, + 1405, + 1292, + 1732, + 1744, + 1365, + 1505 + ], + "name": "PoolVault", + "nameLocation": "491:9:1", + "nodeType": "ContractDefinition", + "nodes": [ + { + "body": { + "id": 609, + "nodeType": "Block", + "src": "606:41:1", + "statements": [ + { + "expression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 606, + "name": "_setPoolVaultAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 670, + "src": "617:20:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", + "typeString": "function ()" + } + }, + "id": 607, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "617:22:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 608, + "nodeType": "ExpressionStatement", + "src": "617:22:1" + } + ] + }, + "id": 610, + "implemented": true, + "kind": "constructor", + "modifiers": [ + { + "arguments": [ + { + "id": 603, + "name": "_dataStorageAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 600, + "src": "585:19:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + } + ], + "id": 604, + "kind": "baseConstructorSpecifier", + "modifierName": { + "id": 602, + "name": "PoolBase", + "nodeType": "IdentifierPath", + "referencedDeclaration": 591, + "src": "576:8:1" + }, + "nodeType": "ModifierInvocation", + "src": "576:29:1" + } + ], + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 601, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 600, + "mutability": "mutable", + "name": "_dataStorageAddress", + "nameLocation": "555:19:1", + "nodeType": "VariableDeclaration", + "scope": 610, + "src": "534:40:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + }, + "typeName": { + "id": 599, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 598, + "name": "DataStorageInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 936, + "src": "534:20:1" + }, + "referencedDeclaration": 936, + "src": "534:20:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "visibility": "internal" + } + ], + "src": "533:42:1" + }, + "returnParameters": { + "id": 605, + "nodeType": "ParameterList", + "parameters": [], + "src": "606:0:1" + }, + "scope": 836, + "src": "522:125:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 632, + "nodeType": "Block", + "src": "683:204:1", + "statements": [ + { + "assignments": [ + 613 + ], + "declarations": [ + { + "constant": false, + "id": 613, + "mutability": "mutable", + "name": "contractTag", + "nameLocation": "702:11:1", + "nodeType": "VariableDeclaration", + "scope": 632, + "src": "694:19:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 612, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "694:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 622, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f657869737473", + "id": 617, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "743:17:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + "value": "contract_exists" + }, + { + "expression": { + "id": 618, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "762:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 619, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "762:10:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 615, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "726:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 616, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "726:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 620, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "726:47:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 614, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "716:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 621, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "716:58:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "694:80:1" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "id": 626, + "name": "contractTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 613, + "src": "820:11:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 624, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "793:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 625, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 873, + "src": "793:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 627, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "793:39:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520636f6e7472616374206164647265737320697320696e76616c69642e", + "id": 628, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "834:34:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_52947e86c93a579273e5f21ebf440dc6320ec8caf45ae7affc09187f501ed96f", + "typeString": "literal_string \"The contract address is invalid.\"" + }, + "value": "The contract address is invalid." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_52947e86c93a579273e5f21ebf440dc6320ec8caf45ae7affc09187f501ed96f", + "typeString": "literal_string \"The contract address is invalid.\"" + } + ], + "id": 623, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "785:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 629, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "785:84:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 630, + "nodeType": "ExpressionStatement", + "src": "785:84:1" + }, + { + "id": 631, + "nodeType": "PlaceholderStatement", + "src": "878:1:1" + } + ] + }, + "id": 633, + "name": "onlyByPoolContract", + "nameLocation": "664:18:1", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 611, + "nodeType": "ParameterList", + "parameters": [], + "src": "683:0:1" + }, + "src": "655:232:1", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 669, + "nodeType": "Block", + "src": "1067:231:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f657869737473", + "id": 643, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1132:17:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + "value": "contract_exists" + }, + { + "arguments": [ + { + "id": 646, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "1159:4:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVault_$836", + "typeString": "contract PoolVault" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_PoolVault_$836", + "typeString": "contract PoolVault" + } + ], + "id": 645, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1151:7:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 644, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1151:7:1", + "typeDescriptions": {} + } + }, + "id": 647, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1151:13:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 641, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1115:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 642, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1115:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 648, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1115:50:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 640, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1105:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 649, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1105:61:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "hexValue": "74727565", + "id": 650, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1168:4:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "expression": { + "id": 637, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "1078:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 639, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 899, + "src": "1078:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_bool_$returns$__$", + "typeString": "function (bytes32,bool) external" + } + }, + "id": 651, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1078:95:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 652, + "nodeType": "ExpressionStatement", + "src": "1078:95:1" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f61646472657373", + "id": 659, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1241:18:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + "value": "contract_address" + }, + { + "hexValue": "506f6f6c5661756c74", + "id": 660, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1261:11:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_a42809ef63a8477a0cc19794440877c6cd527dbf68cffc2d1d864049ac3343dc", + "typeString": "literal_string \"PoolVault\"" + }, + "value": "PoolVault" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + { + "typeIdentifier": "t_stringliteral_a42809ef63a8477a0cc19794440877c6cd527dbf68cffc2d1d864049ac3343dc", + "typeString": "literal_string \"PoolVault\"" + } + ], + "expression": { + "id": 657, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1224:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 658, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1224:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 661, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1224:49:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 656, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1214:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 662, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1214:60:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "arguments": [ + { + "id": 665, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "1284:4:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolVault_$836", + "typeString": "contract PoolVault" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_PoolVault_$836", + "typeString": "contract PoolVault" + } + ], + "id": 664, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1276:7:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 663, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1276:7:1", + "typeDescriptions": {} + } + }, + "id": 666, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1276:13:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 653, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "1184:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 655, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setAddressStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 906, + "src": "1184:29:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address) external" + } + }, + "id": 667, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1184:106:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 668, + "nodeType": "ExpressionStatement", + "src": "1184:106:1" + } + ] + }, + "documentation": { + "id": 634, + "nodeType": "StructuredDocumentation", + "src": "895:126:1", + "text": "@dev Store this contract address and existance on the main storage.\n @notice Called while deploying the contract. " + }, + "id": 670, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_setPoolVaultAddress", + "nameLocation": "1036:20:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 635, + "nodeType": "ParameterList", + "parameters": [], + "src": "1056:2:1" + }, + "returnParameters": { + "id": 636, + "nodeType": "ParameterList", + "parameters": [], + "src": "1067:0:1" + }, + "scope": 836, + "src": "1027:271:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "private" + }, + { + "body": { + "id": 689, + "nodeType": "Block", + "src": "1363:155:1", + "statements": [ + { + "assignments": [ + 676 + ], + "declarations": [ + { + "constant": false, + "id": 676, + "mutability": "mutable", + "name": "etherVaultedTag", + "nameLocation": "1382:15:1", + "nodeType": "VariableDeclaration", + "scope": 689, + "src": "1374:23:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 675, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1374:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 683, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "746f74616c5f65746865725f7374616b6564", + "id": 680, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1427:20:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_08d24c6ea30ae17d4a7786174d0af4df8c618dc9aba31a2ac06c137f095be1ab", + "typeString": "literal_string \"total_ether_staked\"" + }, + "value": "total_ether_staked" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_08d24c6ea30ae17d4a7786174d0af4df8c618dc9aba31a2ac06c137f095be1ab", + "typeString": "literal_string \"total_ether_staked\"" + } + ], + "expression": { + "id": 678, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1410:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 679, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1410:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 681, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1410:38:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 677, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1400:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 682, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1400:49:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1374:75:1" + }, + { + "expression": { + "arguments": [ + { + "id": 686, + "name": "etherVaultedTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 676, + "src": "1494:15:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 684, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "1467:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 685, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 866, + "src": "1467:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 687, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1467:43:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 674, + "id": 688, + "nodeType": "Return", + "src": "1460:50:1" + } + ] + }, + "functionSelector": "ccfe0c8e", + "id": 690, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "poolEtherSize", + "nameLocation": "1320:13:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 671, + "nodeType": "ParameterList", + "parameters": [], + "src": "1333:2:1" + }, + "returnParameters": { + "id": 674, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 673, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 690, + "src": "1358:4:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 672, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1358:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1357:6:1" + }, + "scope": 836, + "src": "1311:207:1", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "body": { + "id": 712, + "nodeType": "Block", + "src": "1584:164:1", + "statements": [ + { + "assignments": [ + 696 + ], + "declarations": [ + { + "constant": false, + "id": 696, + "mutability": "mutable", + "name": "etherVaultedTag", + "nameLocation": "1603:15:1", + "nodeType": "VariableDeclaration", + "scope": 712, + "src": "1595:23:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 695, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1595:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 703, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "746f74616c5f65746865725f7374616b6564", + "id": 700, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1648:20:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_08d24c6ea30ae17d4a7786174d0af4df8c618dc9aba31a2ac06c137f095be1ab", + "typeString": "literal_string \"total_ether_staked\"" + }, + "value": "total_ether_staked" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_08d24c6ea30ae17d4a7786174d0af4df8c618dc9aba31a2ac06c137f095be1ab", + "typeString": "literal_string \"total_ether_staked\"" + } + ], + "expression": { + "id": 698, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1631:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 699, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1631:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 701, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1631:38:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 697, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1621:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 702, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1621:49:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1595:75:1" + }, + { + "expression": { + "arguments": [ + { + "id": 707, + "name": "etherVaultedTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 696, + "src": "1713:15:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "expression": { + "id": 708, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1730:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 709, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "value", + "nodeType": "MemberAccess", + "src": "1730:9:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 704, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "1681:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 706, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "increaseUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 913, + "src": "1681:31:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 710, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1681:59:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 711, + "nodeType": "ExpressionStatement", + "src": "1681:59:1" + } + ] + }, + "functionSelector": "a7cc190a", + "id": 713, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "id": 693, + "kind": "modifierInvocation", + "modifierName": { + "id": 692, + "name": "onlyByPoolContract", + "nodeType": "IdentifierPath", + "referencedDeclaration": 633, + "src": "1565:18:1" + }, + "nodeType": "ModifierInvocation", + "src": "1565:18:1" + } + ], + "name": "storeEther", + "nameLocation": "1535:10:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 691, + "nodeType": "ParameterList", + "parameters": [], + "src": "1545:2:1" + }, + "returnParameters": { + "id": 694, + "nodeType": "ParameterList", + "parameters": [], + "src": "1584:0:1" + }, + "scope": 836, + "src": "1526:222:1", + "stateMutability": "payable", + "virtual": false, + "visibility": "external" + }, + { + "body": { + "id": 784, + "nodeType": "Block", + "src": "1856:549:1", + "statements": [ + { + "assignments": [ + 725 + ], + "declarations": [ + { + "constant": false, + "id": 725, + "mutability": "mutable", + "name": "etherVaultedTag", + "nameLocation": "1875:15:1", + "nodeType": "VariableDeclaration", + "scope": 784, + "src": "1867:23:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 724, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1867:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 732, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "746f74616c5f65746865725f7374616b6564", + "id": 729, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1920:20:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_08d24c6ea30ae17d4a7786174d0af4df8c618dc9aba31a2ac06c137f095be1ab", + "typeString": "literal_string \"total_ether_staked\"" + }, + "value": "total_ether_staked" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_08d24c6ea30ae17d4a7786174d0af4df8c618dc9aba31a2ac06c137f095be1ab", + "typeString": "literal_string \"total_ether_staked\"" + } + ], + "expression": { + "id": 727, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1903:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 728, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1903:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 730, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1903:38:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 726, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1893:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 731, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1893:49:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1867:75:1" + }, + { + "assignments": [ + 734 + ], + "declarations": [ + { + "constant": false, + "id": 734, + "mutability": "mutable", + "name": "ethBalTag", + "nameLocation": "1961:9:1", + "nodeType": "VariableDeclaration", + "scope": 784, + "src": "1953:17:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 733, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1953:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 741, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "746f74616c537570706c795f4574686572", + "id": 738, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2000:19:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c249c8d0234c73f198edb6911269cabbcb3a87200e5c4a66aae535d12bd6112c", + "typeString": "literal_string \"totalSupply_Ether\"" + }, + "value": "totalSupply_Ether" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_c249c8d0234c73f198edb6911269cabbcb3a87200e5c4a66aae535d12bd6112c", + "typeString": "literal_string \"totalSupply_Ether\"" + } + ], + "expression": { + "id": 736, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1983:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 737, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1983:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 739, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1983:37:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 735, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1973:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 740, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1973:48:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1953:68:1" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 750, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 748, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "id": 745, + "name": "etherVaultedTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 725, + "src": "2069:15:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 743, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "2042:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 744, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 866, + "src": "2042:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 746, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2042:43:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "id": 747, + "name": "_ethAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 717, + "src": "2088:10:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2042:56:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">=", + "rightExpression": { + "hexValue": "30", + "id": 749, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2102:1:1", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "2042:61:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "506f6f6c206c61636b696e67206f6620657468657220746f20706572666f726d207468697320616374696f6e2e", + "id": 751, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2106:47:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_04b6a9f5785cefa0a7b0b76940bf72c578fa53b59a070204e2d81f0894030f98", + "typeString": "literal_string \"Pool lacking of ether to perform this action.\"" + }, + "value": "Pool lacking of ether to perform this action." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_04b6a9f5785cefa0a7b0b76940bf72c578fa53b59a070204e2d81f0894030f98", + "typeString": "literal_string \"Pool lacking of ether to perform this action.\"" + } + ], + "id": 742, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "2034:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 752, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2034:120:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 753, + "nodeType": "ExpressionStatement", + "src": "2034:120:1" + }, + { + "expression": { + "arguments": [ + { + "id": 757, + "name": "etherVaultedTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 725, + "src": "2199:15:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 758, + "name": "_ethAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 717, + "src": "2216:10:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 754, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "2167:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 756, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "decreaseUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 920, + "src": "2167:31:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 759, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2167:60:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 760, + "nodeType": "ExpressionStatement", + "src": "2167:60:1" + }, + { + "expression": { + "arguments": [ + { + "id": 764, + "name": "ethBalTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 734, + "src": "2273:9:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 765, + "name": "_ethAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 717, + "src": "2284:10:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 761, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "2241:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 763, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "decreaseUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 920, + "src": "2241:31:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 766, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2241:54:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 767, + "nodeType": "ExpressionStatement", + "src": "2241:54:1" + }, + { + "assignments": [ + 769, + null + ], + "declarations": [ + { + "constant": false, + "id": 769, + "mutability": "mutable", + "name": "success", + "nameLocation": "2317:7:1", + "nodeType": "VariableDeclaration", + "scope": 784, + "src": "2312:12:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 768, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2312:4:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + }, + null + ], + "id": 779, + "initialValue": { + "arguments": [ + { + "hexValue": "", + "id": 777, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2367:2:1", + "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": { + "arguments": [ + { + "id": 772, + "name": "_to", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 715, + "src": "2338:3:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 771, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2330:8:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_payable_$", + "typeString": "type(address payable)" + }, + "typeName": { + "id": 770, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2330:8:1", + "stateMutability": "payable", + "typeDescriptions": {} + } + }, + "id": 773, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2330:12:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "id": 774, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "call", + "nodeType": "MemberAccess", + "src": "2330:17:1", + "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": 776, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "names": [ + "value" + ], + "nodeType": "FunctionCallOptions", + "options": [ + { + "id": 775, + "name": "_ethAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 717, + "src": "2355:10:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "src": "2330:36:1", + "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": 778, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2330:40:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", + "typeString": "tuple(bool,bytes memory)" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2311:59:1" + }, + { + "expression": { + "arguments": [ + { + "id": 781, + "name": "success", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 769, + "src": "2389:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 780, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "2381:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 782, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2381:16:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 783, + "nodeType": "ExpressionStatement", + "src": "2381:16:1" + } + ] + }, + "functionSelector": "522f6815", + "id": 785, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "id": 720, + "kind": "modifierInvocation", + "modifierName": { + "id": 719, + "name": "onlyByPoolContract", + "nodeType": "IdentifierPath", + "referencedDeclaration": 633, + "src": "1822:18:1" + }, + "nodeType": "ModifierInvocation", + "src": "1822:18:1" + }, + { + "arguments": [], + "id": 722, + "kind": "modifierInvocation", + "modifierName": { + "id": 721, + "name": "nonReentrant", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1404, + "src": "1841:12:1" + }, + "nodeType": "ModifierInvocation", + "src": "1841:14:1" + } + ], + "name": "withdrawEther", + "nameLocation": "1769:13:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 718, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 715, + "mutability": "mutable", + "name": "_to", + "nameLocation": "1791:3:1", + "nodeType": "VariableDeclaration", + "scope": 785, + "src": "1783:11:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 714, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1783:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 717, + "mutability": "mutable", + "name": "_ethAmount", + "nameLocation": "1801:10:1", + "nodeType": "VariableDeclaration", + "scope": 785, + "src": "1796:15:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 716, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1796:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1782:30:1" + }, + "returnParameters": { + "id": 723, + "nodeType": "ParameterList", + "parameters": [], + "src": "1856:0:1" + }, + "scope": 836, + "src": "1760:645:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "body": { + "id": 809, + "nodeType": "Block", + "src": "2489:164:1", + "statements": [ + { + "assignments": [ + 793 + ], + "declarations": [ + { + "constant": false, + "id": 793, + "mutability": "mutable", + "name": "etherVaultedTag", + "nameLocation": "2508:15:1", + "nodeType": "VariableDeclaration", + "scope": 809, + "src": "2500:23:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 792, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2500:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 800, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "746f74616c5f65746865725f7374616b6564", + "id": 797, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2553:20:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_08d24c6ea30ae17d4a7786174d0af4df8c618dc9aba31a2ac06c137f095be1ab", + "typeString": "literal_string \"total_ether_staked\"" + }, + "value": "total_ether_staked" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_08d24c6ea30ae17d4a7786174d0af4df8c618dc9aba31a2ac06c137f095be1ab", + "typeString": "literal_string \"total_ether_staked\"" + } + ], + "expression": { + "id": 795, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "2536:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 796, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "2536:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 798, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2536:38:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 794, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "2526:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 799, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2526:49:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2500:75:1" + }, + { + "expression": { + "arguments": [ + { + "id": 804, + "name": "etherVaultedTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 793, + "src": "2618:15:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "expression": { + "id": 805, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "2635:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 806, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "value", + "nodeType": "MemberAccess", + "src": "2635:9:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 801, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "2586:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 803, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "increaseUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 913, + "src": "2586:31:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 807, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2586:59:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 808, + "nodeType": "ExpressionStatement", + "src": "2586:59:1" + } + ] + }, + "functionSelector": "f9fc0d07", + "id": 810, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "id": 788, + "kind": "modifierInvocation", + "modifierName": { + "id": 787, + "name": "onlyByPoolContract", + "nodeType": "IdentifierPath", + "referencedDeclaration": 633, + "src": "2456:18:1" + }, + "nodeType": "ModifierInvocation", + "src": "2456:18:1" + }, + { + "arguments": [], + "id": 790, + "kind": "modifierInvocation", + "modifierName": { + "id": 789, + "name": "nonReentrant", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1404, + "src": "2475:12:1" + }, + "nodeType": "ModifierInvocation", + "src": "2475:14:1" + } + ], + "name": "processRewards", + "nameLocation": "2422:14:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 786, + "nodeType": "ParameterList", + "parameters": [], + "src": "2436:2:1" + }, + "returnParameters": { + "id": 791, + "nodeType": "ParameterList", + "parameters": [], + "src": "2489:0:1" + }, + "scope": 836, + "src": "2413:240:1", + "stateMutability": "payable", + "virtual": false, + "visibility": "external" + }, + { + "body": { + "id": 834, + "nodeType": "Block", + "src": "2720:211:1", + "statements": [ + { + "assignments": [ + 816 + ], + "declarations": [ + { + "constant": false, + "id": 816, + "mutability": "mutable", + "name": "addressTag", + "nameLocation": "2739:10:1", + "nodeType": "VariableDeclaration", + "scope": 834, + "src": "2731:18:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 815, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2731:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 824, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f61646472657373", + "id": 820, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2779:18:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + "value": "contract_address" + }, + { + "hexValue": "506f6f6c5661756c74", + "id": 821, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2799:11:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_a42809ef63a8477a0cc19794440877c6cd527dbf68cffc2d1d864049ac3343dc", + "typeString": "literal_string \"PoolVault\"" + }, + "value": "PoolVault" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + { + "typeIdentifier": "t_stringliteral_a42809ef63a8477a0cc19794440877c6cd527dbf68cffc2d1d864049ac3343dc", + "typeString": "literal_string \"PoolVault\"" + } + ], + "expression": { + "id": 818, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "2762:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 819, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "2762:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 822, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2762:49:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 817, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "2752:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 823, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2752:60:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2731:81:1" + }, + { + "assignments": [ + 826 + ], + "declarations": [ + { + "constant": false, + "id": 826, + "mutability": "mutable", + "name": "contractAddress", + "nameLocation": "2831:15:1", + "nodeType": "VariableDeclaration", + "scope": 834, + "src": "2823:23:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 825, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2823:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "id": 831, + "initialValue": { + "arguments": [ + { + "id": 829, + "name": "addressTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 816, + "src": "2879:10:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 827, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 26, + "src": "2849:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$936", + "typeString": "contract DataStorageInterface" + } + }, + "id": 828, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getAddressStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 880, + "src": "2849:29:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_address_$", + "typeString": "function (bytes32) view external returns (address)" + } + }, + "id": 830, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2849:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2823:67:1" + }, + { + "expression": { + "id": 832, + "name": "contractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 826, + "src": "2908:15:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "functionReturnParameters": 814, + "id": 833, + "nodeType": "Return", + "src": "2901:22:1" + } + ] + }, + "functionSelector": "c3577d48", + "id": 835, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getPoolVaultAddress", + "nameLocation": "2670:19:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 811, + "nodeType": "ParameterList", + "parameters": [], + "src": "2689:2:1" + }, + "returnParameters": { + "id": 814, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 813, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 835, + "src": "2712:7:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 812, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2712:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2711:9:1" + }, + "scope": 836, + "src": "2661:270:1", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + } + ], + "scope": 837, + "src": "482:2471:1", + "usedErrors": [] + } + ], + "src": "33:2922:1" + }, + "functionHashes": { + "DEFAULT_ADMIN_ROLE()": "a217fddf", + "POOL_MANAGER()": "62308e85", + "addPoolManager(address)": "45077e71", + "getContributionLimit()": "fa1e19e5", + "getMinContribution()": "6cff7473", + "getPoolBaseAddress()": "8ae68134", + "getPoolMaxSize()": "095df57f", + "getPoolState()": "217ac237", + "getPoolVaultAddress()": "c3577d48", + "getRewardsInterest()": "7521796f", + "getRewardsInterval()": "497d0241", + "getRoleAdmin(bytes32)": "248a9ca3", + "grantRole(bytes32,address)": "2f2ff15d", + "hasRole(bytes32,address)": "91d14854", + "poolEtherSize()": "ccfe0c8e", + "processRewards()": "f9fc0d07", + "removePoolManager(address)": "29ca15bc", + "renounceRole(bytes32,address)": "36568abe", + "revokeRole(bytes32,address)": "d547741f", + "setContributionLimit(uint256)": "72d099a0", + "setMinContribution(uint256)": "473b0d46", + "setPoolLive(bool)": "a4975516", + "setPoolMaxSize(uint256)": "12646987", + "setRewardsInterest(uint256)": "bf4c0036", + "setRewardsInterval(uint256)": "53710f49", + "storeEther()": "a7cc190a", + "supportsInterface(bytes4)": "01ffc9a7", + "withdrawEther(address,uint256)": "522f6815" + }, + "gasEstimates": { + "creation": { + "codeDepositCost": "1610800", + "executionCost": "infinite", + "totalCost": "infinite" + }, + "external": { + "DEFAULT_ADMIN_ROLE()": "284", + "POOL_MANAGER()": "infinite", + "addPoolManager(address)": "infinite", + "getContributionLimit()": "infinite", + "getMinContribution()": "infinite", + "getPoolBaseAddress()": "infinite", + "getPoolMaxSize()": "infinite", + "getPoolState()": "infinite", + "getPoolVaultAddress()": "infinite", + "getRewardsInterest()": "infinite", + "getRewardsInterval()": "infinite", + "getRoleAdmin(bytes32)": "2515", + "grantRole(bytes32,address)": "infinite", + "hasRole(bytes32,address)": "2717", + "poolEtherSize()": "infinite", + "processRewards()": "infinite", + "removePoolManager(address)": "infinite", + "renounceRole(bytes32,address)": "29040", + "revokeRole(bytes32,address)": "infinite", + "setContributionLimit(uint256)": "infinite", + "setMinContribution(uint256)": "infinite", + "setPoolLive(bool)": "infinite", + "setPoolMaxSize(uint256)": "infinite", + "setRewardsInterest(uint256)": "infinite", + "setRewardsInterval(uint256)": "infinite", + "storeEther()": "infinite", + "supportsInterface(bytes4)": "473", + "withdrawEther(address,uint256)": "infinite" + }, + "internal": { + "_setPoolVaultAddress()": "infinite" + } + } +} \ No newline at end of file diff --git a/bin/contracts/TokenBalances-solc-output.json b/bin/contracts/TokenBalances-solc-output.json new file mode 100644 index 00000000..57f867fa --- /dev/null +++ b/bin/contracts/TokenBalances-solc-output.json @@ -0,0 +1,36004 @@ +{ + "contracts": { + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/DataStorageInterface.sol": { + "DataStorageInterface": { + "abi": [ + { + "inputs": [], + "name": "confirmGuard", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_decrement", + "type": "uint256" + } + ], + "name": "decreaseUintStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "deleteAddressStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "deleteBoolStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "deleteBytes32Storage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "deleteUintStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getAddressStorage", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getBoolStorage", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getBytes32Storage", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getCurrentGuardian", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getStorageStatus", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getUintStorage", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_increment", + "type": "uint256" + } + ], + "name": "increaseUintStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_value", + "type": "address" + } + ], + "name": "setAddressStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bool", + "name": "_value", + "type": "bool" + } + ], + "name": "setBoolStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_value", + "type": "bytes32" + } + ], + "name": "setBytes32Storage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_newGuardian", + "type": "address" + } + ], + "name": "setNewGuardian", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "setStorageLive", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "setUintStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "confirmGuard()": "27918182", + "decreaseUintStorage(bytes32,uint256)": "5bcfee67", + "deleteAddressStorage(bytes32)": "e732da72", + "deleteBoolStorage(bytes32)": "b240da3f", + "deleteBytes32Storage(bytes32)": "540ec89c", + "deleteUintStorage(bytes32)": "8a2c6738", + "getAddressStorage(bytes32)": "2a90bbb2", + "getBoolStorage(bytes32)": "55d94655", + "getBytes32Storage(bytes32)": "b47f11e7", + "getCurrentGuardian()": "0bc169a5", + "getStorageStatus()": "545e1b52", + "getUintStorage(bytes32)": "afc3602b", + "increaseUintStorage(bytes32,uint256)": "1d8895e0", + "setAddressStorage(bytes32,address)": "7221263a", + "setBoolStorage(bytes32,bool)": "988c515b", + "setBytes32Storage(bytes32,bytes32)": "8d42b4af", + "setNewGuardian(address)": "e87f7c31", + "setStorageLive()": "66b80832", + "setUintStorage(bytes32,uint256)": "28192c55" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"confirmGuard\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_decrement\",\"type\":\"uint256\"}],\"name\":\"decreaseUintStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"deleteAddressStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"deleteBoolStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"deleteBytes32Storage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"deleteUintStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"getAddressStorage\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"getBoolStorage\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"getBytes32Storage\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCurrentGuardian\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getStorageStatus\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"getUintStorage\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_increment\",\"type\":\"uint256\"}],\"name\":\"increaseUintStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_value\",\"type\":\"address\"}],\"name\":\"setAddressStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"_value\",\"type\":\"bool\"}],\"name\":\"setBoolStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_value\",\"type\":\"bytes32\"}],\"name\":\"setBytes32Storage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newGuardian\",\"type\":\"address\"}],\"name\":\"setNewGuardian\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"setStorageLive\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"setUintStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/DataStorageInterface.sol\":\"DataStorageInterface\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/DataStorageInterface.sol\":{\"keccak256\":\"0x2136bae23b43613eea5248f48da3a33c0fd5c9090337d43a31b943912ef8203b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7a084874e9224800b6b710f304a926ef04eab7cd361d9fb87a073b52dd4e2a6\",\"dweb:/ipfs/QmWZJKF1ReW1d3aXvZRL75QuuGfskLLvi2TwbtV4QRFTob\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol": { + "PoolBase": { + "abi": [ + { + "inputs": [ + { + "internalType": "contract DataStorageInterface", + "name": "_dataStorageAddress", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_removedManager", + "type": "address" + } + ], + "name": "ManagerRemoved", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_newManager", + "type": "address" + } + ], + "name": "NewManagerAdded", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "POOL_MANAGER", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "addPoolManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "getContributionLimit", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolFees", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolMaxSize", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolState", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardsInterest", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardsInterval", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "removePoolManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newContrLimit", + "type": "uint256" + } + ], + "name": "setContributionLimit", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newMinContr", + "type": "uint256" + } + ], + "name": "setMinContribution", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "setMinContribution", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_poolFees", + "type": "uint256" + } + ], + "name": "setPoolFees", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bool", + "name": "_live", + "type": "bool" + } + ], + "name": "setPoolLive", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_maxSize", + "type": "uint256" + } + ], + "name": "setPoolMaxSize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_rewardsInterest", + "type": "uint256" + } + ], + "name": "setRewardsInterest", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_daysToRewards", + "type": "uint256" + } + ], + "name": "setRewardsInterval", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "devdoc": { + "kind": "dev", + "methods": { + "getRoleAdmin(bytes32)": { + "details": "Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}." + }, + "grantRole(bytes32,address)": { + "details": "Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role." + }, + "hasRole(bytes32,address)": { + "details": "Returns `true` if `account` has been granted `role`." + }, + "renounceRole(bytes32,address)": { + "details": "Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`." + }, + "revokeRole(bytes32,address)": { + "details": "Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role." + }, + "setContributionLimit(uint256)": { + "details": "Set the max. contribution allowed for each user.", + "params": { + "_newContrLimit": "is a WEI value." + } + }, + "setMinContribution(uint256)": { + "details": "Set the min. contribution allowed for each user.", + "params": { + "_newMinContr": "is a WEI value." + } + }, + "setPoolFees(uint256)": { + "details": "Set the pool fees fraction that the pool charges for each deposit.", + "params": { + "_poolFees": "within the storage has 6 decimals." + } + }, + "setPoolLive(bool)": { + "details": "Toggles the Pool Investing Switch. " + }, + "setPoolMaxSize(uint256)": { + "details": "Sets the Pool Maximium size expressed on ether.", + "params": { + "_maxSize": "is a WEI value (or BigInt / BigNumber)." + } + }, + "setRewardsInterest(uint256)": { + "details": "Set the interest per effective period.", + "params": { + "_rewardsInterest": "within the storage has 6 decimals." + } + }, + "setRewardsInterval(uint256)": { + "details": "Set the interval in days of the rewards period." + }, + "supportsInterface(bytes4)": { + "details": "See {IERC165-supportsInterface}." + } + }, + "title": "This contract handles the modifiers and environmental parameters that control the pool. ", + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": { + "@_1237": { + "entryPoint": null, + "id": 1237, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_169": { + "entryPoint": null, + "id": 169, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@_grantRole_1113": { + "entryPoint": 531, + "id": 1113, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@_msgSender_1270": { + "entryPoint": null, + "id": 1270, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@_setPoolBaseAddress_276": { + "entryPoint": 173, + "id": 276, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_setupRole_1053": { + "entryPoint": 157, + "id": 1053, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@hasRole_918": { + "entryPoint": null, + "id": 918, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_contract$_DataStorageInterface_$113_fromMemory": { + "entryPoint": 691, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + } + }, + "generatedSources": [ + { + "ast": { + "nodeType": "YulBlock", + "src": "0:1665:10", + "statements": [ + { + "nodeType": "YulBlock", + "src": "6:3:10", + "statements": [] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "123:209:10", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "169:16:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "178:1:10", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "181:1:10", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "171:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "171:12:10" + }, + "nodeType": "YulExpressionStatement", + "src": "171:12:10" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "144:7:10" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "153:9:10" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "140:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "140:23:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "165:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "136:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "136:32:10" + }, + "nodeType": "YulIf", + "src": "133:52:10" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "194:29:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "213:9:10" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "207:5:10" + }, + "nodeType": "YulFunctionCall", + "src": "207:16:10" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "198:5:10", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "286:16:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "295:1:10", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "298:1:10", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "288:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "288:12:10" + }, + "nodeType": "YulExpressionStatement", + "src": "288:12:10" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "245:5:10" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "256:5:10" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "271:3:10", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "276:1:10", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "267:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "267:11:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "280:1:10", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "263:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "263:19:10" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "252:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "252:31:10" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "242:2:10" + }, + "nodeType": "YulFunctionCall", + "src": "242:42:10" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "235:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "235:50:10" + }, + "nodeType": "YulIf", + "src": "232:70:10" + }, + { + "nodeType": "YulAssignment", + "src": "311:15:10", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "321:5:10" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "311:6:10" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_contract$_DataStorageInterface_$113_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "89:9:10", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "100:7:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "112:6:10", + "type": "" + } + ], + "src": "14:318:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "557:150:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "574:3:10" + }, + { + "hexValue": "636f6e74726163745f657869737473", + "kind": "string", + "nodeType": "YulLiteral", + "src": "579:17:10", + "type": "", + "value": "contract_exists" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "567:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "567:30:10" + }, + "nodeType": "YulExpressionStatement", + "src": "567:30:10" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "617:3:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "622:2:10", + "type": "", + "value": "15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "613:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "613:12:10" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "635:2:10", + "type": "", + "value": "96" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "639:6:10" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "631:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "631:15:10" + }, + { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "660:2:10", + "type": "", + "value": "96" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "664:1:10", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "656:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "656:10:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "668:1:10", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "652:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "652:18:10" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "648:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "648:23:10" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "627:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "627:45:10" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "606:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "606:67:10" + }, + "nodeType": "YulExpressionStatement", + "src": "606:67:10" + }, + { + "nodeType": "YulAssignment", + "src": "682:19:10", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "693:3:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "698:2:10", + "type": "", + "value": "35" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "689:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "689:12:10" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "682:3:10" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "533:3:10", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "538:6:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "549:3:10", + "type": "" + } + ], + "src": "337:370:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "835:135:10", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "845:26:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "857:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "868:2:10", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "853:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "853:18:10" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "845:4:10" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "887:9:10" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "898:6:10" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "880:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "880:25:10" + }, + "nodeType": "YulExpressionStatement", + "src": "880:25:10" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "925:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "936:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "921:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "921:18:10" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "955:6:10" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "948:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "948:14:10" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "941:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "941:22:10" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "914:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "914:50:10" + }, + "nodeType": "YulExpressionStatement", + "src": "914:50:10" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "796:9:10", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "807:6:10", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "815:6:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "826:4:10", + "type": "" + } + ], + "src": "712:258:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1268:116:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "1285:3:10" + }, + { + "hexValue": "636f6e74726163745f61646472657373", + "kind": "string", + "nodeType": "YulLiteral", + "src": "1290:18:10", + "type": "", + "value": "contract_address" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1278:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "1278:31:10" + }, + "nodeType": "YulExpressionStatement", + "src": "1278:31:10" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "1329:3:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1334:2:10", + "type": "", + "value": "16" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1325:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "1325:12:10" + }, + { + "hexValue": "506f6f6c42617365", + "kind": "string", + "nodeType": "YulLiteral", + "src": "1339:10:10", + "type": "", + "value": "PoolBase" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1318:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "1318:32:10" + }, + "nodeType": "YulExpressionStatement", + "src": "1318:32:10" + }, + { + "nodeType": "YulAssignment", + "src": "1359:19:10", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "1370:3:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1375:2:10", + "type": "", + "value": "24" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1366:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "1366:12:10" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "1359:3:10" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "1252:3:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "1260:3:10", + "type": "" + } + ], + "src": "975:409:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1518:145:10", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "1528:26:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1540:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1551:2:10", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1536:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "1536:18:10" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "1528:4:10" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1570:9:10" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1581:6:10" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1563:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "1563:25:10" + }, + "nodeType": "YulExpressionStatement", + "src": "1563:25:10" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1608:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1619:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1604:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "1604:18:10" + }, + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "1628:6:10" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1644:3:10", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1649:1:10", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "1640:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "1640:11:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1653:1:10", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1636:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "1636:19:10" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "1624:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "1624:32:10" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1597:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "1597:60:10" + }, + "nodeType": "YulExpressionStatement", + "src": "1597:60:10" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1479:9:10", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "1490:6:10", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1498:6:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "1509:4:10", + "type": "" + } + ], + "src": "1389:274:10" + } + ] + }, + "contents": "{\n { }\n function abi_decode_tuple_t_contract$_DataStorageInterface_$113_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := mload(headStart)\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n value0 := value\n }\n function abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed(pos, value0) -> end\n {\n mstore(pos, \"contract_exists\")\n mstore(add(pos, 15), and(shl(96, value0), not(sub(shl(96, 1), 1))))\n end := add(pos, 35)\n }\n function abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), iszero(iszero(value1)))\n }\n function abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"contract_address\")\n mstore(add(pos, 16), \"PoolBase\")\n end := add(pos, 24)\n }\n function abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), and(value1, sub(shl(160, 1), 1)))\n }\n}", + "id": 10, + "language": "Yul", + "name": "#utility.yul" + } + ], + "linkReferences": {}, + "object": "60806040523480156200001157600080fd5b50604051620017d0380380620017d08339810160408190526200003491620002b3565b60018055600280546001600160a01b0319166001600160a01b038316179055620000606000336200009d565b6200008c7f41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842336200009d565b62000096620000ad565b50620002e5565b620000a9828262000213565b5050565b6002546040516e636f6e74726163745f65786973747360881b60208201526001600160601b03193060601b16602f8201526001600160a01b039091169063988c515b9060430160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b168252600482015260016024820152604401600060405180830381600087803b1580156200014757600080fd5b505af11580156200015c573d6000803e3d6000fd5b50506002546040516f636f6e74726163745f6164647265737360801b602082015267506f6f6c4261736560c01b60308201526001600160a01b039091169250637221263a915060380160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b1682526004820152306024820152604401600060405180830381600087803b158015620001f857600080fd5b505af11580156200020d573d6000803e3d6000fd5b50505050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620000a9576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556200026f3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600060208284031215620002c657600080fd5b81516001600160a01b0381168114620002de57600080fd5b9392505050565b6114db80620002f56000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c8063543edfb6116100c3578063a217fddf1161007c578063a217fddf146102b3578063a4975516146102bb578063bf4c0036146102ce578063d1d8d060146102e1578063d547741f146102e9578063fa1e19e5146102fc57600080fd5b8063543edfb61461025557806362308e851461025d57806372d099a0146102725780637521796f146102855780638dd225d51461028d57806391d14854146102a057600080fd5b80632f2ff15d116101155780632f2ff15d146101ee57806336568abe1461020157806345077e7114610214578063473b0d4614610227578063497d02411461023a57806353710f491461024257600080fd5b806301ffc9a71461015d578063095df57f14610185578063126469871461019b578063217ac237146101b0578063248a9ca3146101b857806329ca15bc146101db575b600080fd5b61017061016b3660046111c6565b610304565b60405190151581526020015b60405180910390f35b61018d61033b565b60405190815260200161017c565b6101ae6101a93660046111f0565b6103f8565b005b6101706104b1565b61018d6101c63660046111f0565b60009081526020819052604090206001015490565b6101ae6101e9366004611225565b610556565b6101ae6101fc366004611240565b6105b2565b6101ae61020f366004611240565b6105dd565b6101ae610222366004611225565b610660565b6101ae6102353660046111f0565b6106bc565b61018d6107bf565b6101ae6102503660046111f0565b6107e5565b61018d61093f565b61018d60008051602061148683398151915281565b6101ae6102803660046111f0565b610967565b61018d610a6c565b6101ae61029b3660046111f0565b610a9d565b6101706102ae366004611240565b610cb6565b61018d600081565b6101ae6102c936600461127d565b610cdf565b6101ae6102dc3660046111f0565b610d59565b61018d610e65565b6101ae6102f7366004611240565b610e86565b61018d610eac565b60006001600160e01b03198216637965db0b60e01b148061033557506301ffc9a760e01b6001600160e01b03198316145b92915050565b60008060405160200161035f906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b1580156103ba57600080fd5b505afa1580156103ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f2919061129a565b91505090565b6000805160206114868339815191526104118133610ed6565b6040516a706f6f6c4d617853697a6560a81b6020820152600090602b015b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018690529092506001600160a01b0316906328192c55906044015b600060405180830381600087803b15801561049457600080fd5b505af11580156104a8573d6000803e3d6000fd5b50505050505050565b6000806040516020016104c3906112b3565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561051e57600080fd5b505afa158015610532573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f291906112c9565b60006105628133610ed6565b61057a60008051602061148683398151915283610e86565b6040516001600160a01b038316907fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd3190600090a25050565b6000828152602081905260409020600101546105ce8133610ed6565b6105d88383610f3a565b505050565b6001600160a01b03811633146106525760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b61065c8282610fbe565b5050565b600061066c8133610ed6565b610684600080516020611486833981519152836105b2565b6040516001600160a01b038316907fd873e3f571dc25e020cefdeb7255b3874ead3aade1f94a5fb4a5da831fd670cd90600090a25050565b6000805160206114868339815191526106d58133610ed6565b6002546040516001600160a01b03909116906355d94655906106f9906020016112b3565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161072d91815260200190565b60206040518083038186803b15801561074557600080fd5b505afa158015610759573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077d91906112c9565b6107995760405162461bcd60e51b8152600401610649906112e6565b6040516e36b4b721b7b73a3934b13aba34b7b760891b6020820152600090602f0161042f565b60008060405160200161035f906c64617973546f5265776172647360981b8152600d0190565b6000805160206114868339815191526107fe8133610ed6565b6002546040516001600160a01b03909116906355d9465590610822906020016112b3565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161085691815260200190565b60206040518083038186803b15801561086e57600080fd5b505afa158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a691906112c9565b6108c25760405162461bcd60e51b8152600401610649906112e6565b604080516c64617973546f5265776172647360981b6020808301919091528251600d818403018152602d90920190925280519101206002546001600160a01b03166328192c55826109168662015180611333565b6040516001600160e01b031960e085901b1681526004810192909252602482015260440161047a565b60008060405160200161035f906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b6000805160206114868339815191526109808133610ed6565b6002546040516001600160a01b03909116906355d94655906109a4906020016112b3565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b81526004016109d891815260200190565b60206040518083038186803b1580156109f057600080fd5b505afa158015610a04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a2891906112c9565b610a445760405162461bcd60e51b8152600401610649906112e6565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b602082015260009060310161042f565b60008060405160200161035f90771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b600080516020611486833981519152610ab68133610ed6565b6002546040516001600160a01b03909116906355d9465590610ada906020016112b3565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610b0e91815260200190565b60206040518083038186803b158015610b2657600080fd5b505afa158015610b3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5e91906112c9565b610b7a5760405162461bcd60e51b8152600401610649906112e6565b60405167706f6f6c4665657360c01b60208201526000906028016040516020818303038152906040528051906020012090506000604051602001610bcf906a1c1bdbdb1199595cd4d95d60aa1b8152600b0190565b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301859052602483018790529092506001600160a01b0316906328192c5590604401600060405180830381600087803b158015610c3357600080fd5b505af1158015610c47573d6000803e3d6000fd5b505060025460405163988c515b60e01b815260048101859052600160248201526001600160a01b03909116925063988c515b9150604401600060405180830381600087803b158015610c9857600080fd5b505af1158015610cac573d6000803e3d6000fd5b5050505050505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020611486833981519152610cf88133610ed6565b6000604051602001610d09906112b3565b60408051808303601f1901815290829052805160209091012060025463988c515b60e01b83526004830182905285151560248401529092506001600160a01b03169063988c515b9060440161047a565b600080516020611486833981519152610d728133610ed6565b6002546040516001600160a01b03909116906355d9465590610d96906020016112b3565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610dca91815260200190565b60206040518083038186803b158015610de257600080fd5b505afa158015610df6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1a91906112c9565b610e365760405162461bcd60e51b8152600401610649906112e6565b604051771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b602082015260009060380161042f565b60008060405160200161035f9067706f6f6c4665657360c01b815260080190565b600082815260208190526040902060010154610ea28133610ed6565b6105d88383610fbe565b60008060405160200161035f907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b610ee08282610cb6565b61065c57610ef8816001600160a01b03166014611023565b610f03836020611023565b604051602001610f14929190611382565b60408051601f198184030181529082905262461bcd60e51b8252610649916004016113f7565b610f448282610cb6565b61065c576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055610f7a3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610fc88282610cb6565b1561065c576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60606000611032836002611333565b61103d90600261142a565b67ffffffffffffffff81111561105557611055611442565b6040519080825280601f01601f19166020018201604052801561107f576020820181803683370190505b509050600360fc1b8160008151811061109a5761109a611458565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106110c9576110c9611458565b60200101906001600160f81b031916908160001a90535060006110ed846002611333565b6110f890600161142a565b90505b6001811115611170576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061112c5761112c611458565b1a60f81b82828151811061114257611142611458565b60200101906001600160f81b031916908160001a90535060049490941c936111698161146e565b90506110fb565b5083156111bf5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610649565b9392505050565b6000602082840312156111d857600080fd5b81356001600160e01b0319811681146111bf57600080fd5b60006020828403121561120257600080fd5b5035919050565b80356001600160a01b038116811461122057600080fd5b919050565b60006020828403121561123757600080fd5b6111bf82611209565b6000806040838503121561125357600080fd5b8235915061126360208401611209565b90509250929050565b801515811461127a57600080fd5b50565b60006020828403121561128f57600080fd5b81356111bf8161126c565b6000602082840312156112ac57600080fd5b5051919050565b696973506f6f6c4c69766560b01b8152600a0190565b6000602082840312156112db57600080fd5b81516111bf8161126c565b6020808252601d908201527f54686520706f6f6c2069732063757272656e746c7920636c6f7365642e000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561134d5761134d61131d565b500290565b60005b8381101561136d578181015183820152602001611355565b8381111561137c576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516113ba816017850160208801611352565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516113eb816028840160208801611352565b01602801949350505050565b6020815260008251806020840152611416816040850160208701611352565b601f01601f19169190910160400192915050565b6000821982111561143d5761143d61131d565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008161147d5761147d61131d565b50600019019056fe41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842a2646970667358221220d8b3c0aadd811f2a444ea408495622894b768a5da3dc0f58e2d1788729f1bd0a64736f6c63430008090033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH3 0x11 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH3 0x17D0 CODESIZE SUB DUP1 PUSH3 0x17D0 DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH3 0x34 SWAP2 PUSH3 0x2B3 JUMP JUMPDEST PUSH1 0x1 DUP1 SSTORE PUSH1 0x2 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND OR SWAP1 SSTORE PUSH3 0x60 PUSH1 0x0 CALLER PUSH3 0x9D JUMP JUMPDEST PUSH3 0x8C PUSH32 0x41A01EC0A13B563FA452569E3FBB116366D217C2769AA1561822E65A617E3842 CALLER PUSH3 0x9D JUMP JUMPDEST PUSH3 0x96 PUSH3 0xAD JUMP JUMPDEST POP PUSH3 0x2E5 JUMP JUMPDEST PUSH3 0xA9 DUP3 DUP3 PUSH3 0x213 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH15 0x636F6E74726163745F657869737473 PUSH1 0x88 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB NOT ADDRESS PUSH1 0x60 SHL AND PUSH1 0x2F DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x988C515B SWAP1 PUSH1 0x43 ADD PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT PUSH1 0xE0 DUP5 SWAP1 SHL AND DUP3 MSTORE PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x147 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH3 0x15C JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH16 0x636F6E74726163745F61646472657373 PUSH1 0x80 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH8 0x506F6F6C42617365 PUSH1 0xC0 SHL PUSH1 0x30 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP3 POP PUSH4 0x7221263A SWAP2 POP PUSH1 0x38 ADD PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT PUSH1 0xE0 DUP5 SWAP1 SHL AND DUP3 MSTORE PUSH1 0x4 DUP3 ADD MSTORE ADDRESS PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x1F8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH3 0x20D JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH3 0xA9 JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH3 0x26F CALLER SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH3 0x2C6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH3 0x2DE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0x14DB DUP1 PUSH3 0x2F5 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x158 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x543EDFB6 GT PUSH2 0xC3 JUMPI DUP1 PUSH4 0xA217FDDF GT PUSH2 0x7C JUMPI DUP1 PUSH4 0xA217FDDF EQ PUSH2 0x2B3 JUMPI DUP1 PUSH4 0xA4975516 EQ PUSH2 0x2BB JUMPI DUP1 PUSH4 0xBF4C0036 EQ PUSH2 0x2CE JUMPI DUP1 PUSH4 0xD1D8D060 EQ PUSH2 0x2E1 JUMPI DUP1 PUSH4 0xD547741F EQ PUSH2 0x2E9 JUMPI DUP1 PUSH4 0xFA1E19E5 EQ PUSH2 0x2FC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x543EDFB6 EQ PUSH2 0x255 JUMPI DUP1 PUSH4 0x62308E85 EQ PUSH2 0x25D JUMPI DUP1 PUSH4 0x72D099A0 EQ PUSH2 0x272 JUMPI DUP1 PUSH4 0x7521796F EQ PUSH2 0x285 JUMPI DUP1 PUSH4 0x8DD225D5 EQ PUSH2 0x28D JUMPI DUP1 PUSH4 0x91D14854 EQ PUSH2 0x2A0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x2F2FF15D GT PUSH2 0x115 JUMPI DUP1 PUSH4 0x2F2FF15D EQ PUSH2 0x1EE JUMPI DUP1 PUSH4 0x36568ABE EQ PUSH2 0x201 JUMPI DUP1 PUSH4 0x45077E71 EQ PUSH2 0x214 JUMPI DUP1 PUSH4 0x473B0D46 EQ PUSH2 0x227 JUMPI DUP1 PUSH4 0x497D0241 EQ PUSH2 0x23A JUMPI DUP1 PUSH4 0x53710F49 EQ PUSH2 0x242 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x15D JUMPI DUP1 PUSH4 0x95DF57F EQ PUSH2 0x185 JUMPI DUP1 PUSH4 0x12646987 EQ PUSH2 0x19B JUMPI DUP1 PUSH4 0x217AC237 EQ PUSH2 0x1B0 JUMPI DUP1 PUSH4 0x248A9CA3 EQ PUSH2 0x1B8 JUMPI DUP1 PUSH4 0x29CA15BC EQ PUSH2 0x1DB JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x170 PUSH2 0x16B CALLDATASIZE PUSH1 0x4 PUSH2 0x11C6 JUMP JUMPDEST PUSH2 0x304 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x18D PUSH2 0x33B JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x17C JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x1A9 CALLDATASIZE PUSH1 0x4 PUSH2 0x11F0 JUMP JUMPDEST PUSH2 0x3F8 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x170 PUSH2 0x4B1 JUMP JUMPDEST PUSH2 0x18D PUSH2 0x1C6 CALLDATASIZE PUSH1 0x4 PUSH2 0x11F0 JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x1E9 CALLDATASIZE PUSH1 0x4 PUSH2 0x1225 JUMP JUMPDEST PUSH2 0x556 JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x1FC CALLDATASIZE PUSH1 0x4 PUSH2 0x1240 JUMP JUMPDEST PUSH2 0x5B2 JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x20F CALLDATASIZE PUSH1 0x4 PUSH2 0x1240 JUMP JUMPDEST PUSH2 0x5DD JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x222 CALLDATASIZE PUSH1 0x4 PUSH2 0x1225 JUMP JUMPDEST PUSH2 0x660 JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x235 CALLDATASIZE PUSH1 0x4 PUSH2 0x11F0 JUMP JUMPDEST PUSH2 0x6BC JUMP JUMPDEST PUSH2 0x18D PUSH2 0x7BF JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x250 CALLDATASIZE PUSH1 0x4 PUSH2 0x11F0 JUMP JUMPDEST PUSH2 0x7E5 JUMP JUMPDEST PUSH2 0x18D PUSH2 0x93F JUMP JUMPDEST PUSH2 0x18D PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x280 CALLDATASIZE PUSH1 0x4 PUSH2 0x11F0 JUMP JUMPDEST PUSH2 0x967 JUMP JUMPDEST PUSH2 0x18D PUSH2 0xA6C JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x29B CALLDATASIZE PUSH1 0x4 PUSH2 0x11F0 JUMP JUMPDEST PUSH2 0xA9D JUMP JUMPDEST PUSH2 0x170 PUSH2 0x2AE CALLDATASIZE PUSH1 0x4 PUSH2 0x1240 JUMP JUMPDEST PUSH2 0xCB6 JUMP JUMPDEST PUSH2 0x18D PUSH1 0x0 DUP2 JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x2C9 CALLDATASIZE PUSH1 0x4 PUSH2 0x127D JUMP JUMPDEST PUSH2 0xCDF JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x2DC CALLDATASIZE PUSH1 0x4 PUSH2 0x11F0 JUMP JUMPDEST PUSH2 0xD59 JUMP JUMPDEST PUSH2 0x18D PUSH2 0xE65 JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x2F7 CALLDATASIZE PUSH1 0x4 PUSH2 0x1240 JUMP JUMPDEST PUSH2 0xE86 JUMP JUMPDEST PUSH2 0x18D PUSH2 0xEAC JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH4 0x7965DB0B PUSH1 0xE0 SHL EQ DUP1 PUSH2 0x335 JUMPI POP PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP4 AND EQ JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x35F SWAP1 PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL DUP2 MSTORE PUSH1 0xB ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x3BA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x3CE JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x3F2 SWAP2 SWAP1 PUSH2 0x129A JUMP JUMPDEST SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x411 DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2B ADD JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP7 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x494 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x4A8 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x4C3 SWAP1 PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x55D94655 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x51E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x532 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x3F2 SWAP2 SWAP1 PUSH2 0x12C9 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x562 DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH2 0x57A PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0xE86 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xEF69F7D97228658C92417BE1B16B19058315DE71FECB435D07B7D23728B6BD31 SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0x5CE DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH2 0x5D8 DUP4 DUP4 PUSH2 0xF3A JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND CALLER EQ PUSH2 0x652 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416363657373436F6E74726F6C3A2063616E206F6E6C792072656E6F756E6365 PUSH1 0x44 DUP3 ADD MSTORE PUSH15 0x103937B632B9903337B91039B2B633 PUSH1 0x89 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x65C DUP3 DUP3 PUSH2 0xFBE JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x66C DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH2 0x684 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0x5B2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xD873E3F571DC25E020CEFDEB7255B3874EAD3AADE1F94A5FB4A5DA831FD670CD SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x6D5 DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x6F9 SWAP1 PUSH1 0x20 ADD PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x72D SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x745 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x759 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x77D SWAP2 SWAP1 PUSH2 0x12C9 JUMP JUMPDEST PUSH2 0x799 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x649 SWAP1 PUSH2 0x12E6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2F ADD PUSH2 0x42F JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x35F SWAP1 PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL DUP2 MSTORE PUSH1 0xD ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x7FE DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x822 SWAP1 PUSH1 0x20 ADD PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x856 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x86E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x882 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x8A6 SWAP2 SWAP1 PUSH2 0x12C9 JUMP JUMPDEST PUSH2 0x8C2 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x649 SWAP1 PUSH2 0x12E6 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL PUSH1 0x20 DUP1 DUP4 ADD SWAP2 SWAP1 SWAP2 MSTORE DUP3 MLOAD PUSH1 0xD DUP2 DUP5 SUB ADD DUP2 MSTORE PUSH1 0x2D SWAP1 SWAP3 ADD SWAP1 SWAP3 MSTORE DUP1 MLOAD SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x28192C55 DUP3 PUSH2 0x916 DUP7 PUSH3 0x15180 PUSH2 0x1333 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT PUSH1 0xE0 DUP6 SWAP1 SHL AND DUP2 MSTORE PUSH1 0x4 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH2 0x47A JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x35F SWAP1 PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL DUP2 MSTORE PUSH1 0xF ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x980 DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x9A4 SWAP1 PUSH1 0x20 ADD PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x9D8 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x9F0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xA04 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xA28 SWAP2 SWAP1 PUSH2 0x12C9 JUMP JUMPDEST PUSH2 0xA44 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x649 SWAP1 PUSH2 0x12E6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x31 ADD PUSH2 0x42F JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x35F SWAP1 PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL DUP2 MSTORE PUSH1 0x18 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xAB6 DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xADA SWAP1 PUSH1 0x20 ADD PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xB0E SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xB26 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xB3A JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xB5E SWAP2 SWAP1 PUSH2 0x12C9 JUMP JUMPDEST PUSH2 0xB7A JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x649 SWAP1 PUSH2 0x12E6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH8 0x706F6F6C46656573 PUSH1 0xC0 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x28 ADD PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xBCF SWAP1 PUSH11 0x1C1BDBDB1199595CD4D95D PUSH1 0xAA SHL DUP2 MSTORE PUSH1 0xB ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP6 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP8 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xC33 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xC47 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0x988C515B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP6 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP3 POP PUSH4 0x988C515B SWAP2 POP PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xC98 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xCAC JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP3 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 SWAP1 SWAP4 AND DUP5 MSTORE SWAP2 SWAP1 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xCF8 DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xD09 SWAP1 PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x988C515B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE DUP6 ISZERO ISZERO PUSH1 0x24 DUP5 ADD MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x988C515B SWAP1 PUSH1 0x44 ADD PUSH2 0x47A JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xD72 DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xD96 SWAP1 PUSH1 0x20 ADD PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xDCA SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xDE2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xDF6 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xE1A SWAP2 SWAP1 PUSH2 0x12C9 JUMP JUMPDEST PUSH2 0xE36 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x649 SWAP1 PUSH2 0x12E6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x38 ADD PUSH2 0x42F JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x35F SWAP1 PUSH8 0x706F6F6C46656573 PUSH1 0xC0 SHL DUP2 MSTORE PUSH1 0x8 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0xEA2 DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH2 0x5D8 DUP4 DUP4 PUSH2 0xFBE JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x35F SWAP1 PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL DUP2 MSTORE PUSH1 0x11 ADD SWAP1 JUMP JUMPDEST PUSH2 0xEE0 DUP3 DUP3 PUSH2 0xCB6 JUMP JUMPDEST PUSH2 0x65C JUMPI PUSH2 0xEF8 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x14 PUSH2 0x1023 JUMP JUMPDEST PUSH2 0xF03 DUP4 PUSH1 0x20 PUSH2 0x1023 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xF14 SWAP3 SWAP2 SWAP1 PUSH2 0x1382 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE PUSH3 0x461BCD PUSH1 0xE5 SHL DUP3 MSTORE PUSH2 0x649 SWAP2 PUSH1 0x4 ADD PUSH2 0x13F7 JUMP JUMPDEST PUSH2 0xF44 DUP3 DUP3 PUSH2 0xCB6 JUMP JUMPDEST PUSH2 0x65C JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH2 0xF7A CALLER SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH2 0xFC8 DUP3 DUP3 PUSH2 0xCB6 JUMP JUMPDEST ISZERO PUSH2 0x65C JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP1 DUP6 MSTORE SWAP3 MSTORE DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE MLOAD CALLER SWAP3 DUP6 SWAP2 PUSH32 0xF6391F5C32D9C69D2A47EA670B442974B53935D1EDC7FD64EB21E047A839171B SWAP2 SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH2 0x1032 DUP4 PUSH1 0x2 PUSH2 0x1333 JUMP JUMPDEST PUSH2 0x103D SWAP1 PUSH1 0x2 PUSH2 0x142A JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1055 JUMPI PUSH2 0x1055 PUSH2 0x1442 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x107F JUMPI PUSH1 0x20 DUP3 ADD DUP2 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x3 PUSH1 0xFC SHL DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x109A JUMPI PUSH2 0x109A PUSH2 0x1458 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0xF PUSH1 0xFB SHL DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x10C9 JUMPI PUSH2 0x10C9 PUSH2 0x1458 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x0 PUSH2 0x10ED DUP5 PUSH1 0x2 PUSH2 0x1333 JUMP JUMPDEST PUSH2 0x10F8 SWAP1 PUSH1 0x1 PUSH2 0x142A JUMP JUMPDEST SWAP1 POP JUMPDEST PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x1170 JUMPI PUSH16 0x181899199A1A9B1B9C1CB0B131B232B3 PUSH1 0x81 SHL DUP6 PUSH1 0xF AND PUSH1 0x10 DUP2 LT PUSH2 0x112C JUMPI PUSH2 0x112C PUSH2 0x1458 JUMP JUMPDEST BYTE PUSH1 0xF8 SHL DUP3 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x1142 JUMPI PUSH2 0x1142 PUSH2 0x1458 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x4 SWAP5 SWAP1 SWAP5 SHR SWAP4 PUSH2 0x1169 DUP2 PUSH2 0x146E JUMP JUMPDEST SWAP1 POP PUSH2 0x10FB JUMP JUMPDEST POP DUP4 ISZERO PUSH2 0x11BF JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x537472696E67733A20686578206C656E67746820696E73756666696369656E74 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x649 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x11D8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND DUP2 EQ PUSH2 0x11BF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1202 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x1220 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1237 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x11BF DUP3 PUSH2 0x1209 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1253 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD SWAP2 POP PUSH2 0x1263 PUSH1 0x20 DUP5 ADD PUSH2 0x1209 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0x127A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x128F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x11BF DUP2 PUSH2 0x126C JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x12AC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH10 0x6973506F6F6C4C697665 PUSH1 0xB0 SHL DUP2 MSTORE PUSH1 0xA ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x12DB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x11BF DUP2 PUSH2 0x126C JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1D SWAP1 DUP3 ADD MSTORE PUSH32 0x54686520706F6F6C2069732063757272656E746C7920636C6F7365642E000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x0 NOT DIV DUP4 GT DUP3 ISZERO ISZERO AND ISZERO PUSH2 0x134D JUMPI PUSH2 0x134D PUSH2 0x131D JUMP JUMPDEST POP MUL SWAP1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x136D JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x1355 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x137C JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH32 0x416363657373436F6E74726F6C3A206163636F756E7420000000000000000000 DUP2 MSTORE PUSH1 0x0 DUP4 MLOAD PUSH2 0x13BA DUP2 PUSH1 0x17 DUP6 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x1352 JUMP JUMPDEST PUSH17 0x1034B99036B4B9B9B4B733903937B6329 PUSH1 0x7D SHL PUSH1 0x17 SWAP2 DUP5 ADD SWAP2 DUP3 ADD MSTORE DUP4 MLOAD PUSH2 0x13EB DUP2 PUSH1 0x28 DUP5 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x1352 JUMP JUMPDEST ADD PUSH1 0x28 ADD SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 DUP3 MLOAD DUP1 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x1416 DUP2 PUSH1 0x40 DUP6 ADD PUSH1 0x20 DUP8 ADD PUSH2 0x1352 JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP2 SWAP1 SWAP2 ADD PUSH1 0x40 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x143D JUMPI PUSH2 0x143D PUSH2 0x131D JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH2 0x147D JUMPI PUSH2 0x147D PUSH2 0x131D JUMP JUMPDEST POP PUSH1 0x0 NOT ADD SWAP1 JUMP INVALID COINBASE LOG0 0x1E 0xC0 LOG1 EXTCODESIZE JUMP EXTCODEHASH LOG4 MSTORE JUMP SWAP15 EXTCODEHASH 0xBB GT PUSH4 0x66D217C2 PUSH23 0x9AA1561822E65A617E3842A2646970667358221220D8B3 0xC0 0xAA 0xDD DUP2 0x1F 0x2A DIFFICULTY 0x4E LOG4 ADDMOD 0x49 JUMP 0x22 DUP10 0x4B PUSH23 0x8A5DA3DC0F58E2D1788729F1BD0A64736F6C6343000809 STOP CALLER ", + "sourceMap": "616:7585:1:-:0;;;1198:259;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1701:1:5;1806:22;;1262:11:1;:55;;-1:-1:-1;;;;;;1262:55:1;-1:-1:-1;;;;;1262:55:1;;;;;1328:42;-1:-1:-1;1359:10:1;1328;:42::i;:::-;1381:36;715:25;1406:10;1381;:36::i;:::-;1428:21;:19;:21::i;:::-;1198:259;616:7585;;6257:110:3;6335:25;6346:4;6352:7;6335:10;:25::i;:::-;6257:110;;:::o;2532:269:1:-;2582:11;;2619:50;;-1:-1:-1;;;2619:50:1;;;567:30:10;-1:-1:-1;;;;;;2663:4:1;660:2:10;631:15;627:45;613:12;;;606:67;-1:-1:-1;;;;;2582:11:1;;;;:26;;689:12:10;;2619:50:1;;;-1:-1:-1;;2619:50:1;;;;;;;;;;2609:61;;2619:50;2609:61;;;;-1:-1:-1;;;;;;2582:95:1;;;;;;;;;;880:25:10;2672:4:1;921:18:10;;;914:50;853:18;;2582:95:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2688:11:1;;2728:48;;-1:-1:-1;;;2728:48:1;;;1278:31:10;-1:-1:-1;;;1325:12:10;;;1318:32;-1:-1:-1;;;;;2688:11:1;;;;-1:-1:-1;2688:29:1;;-1:-1:-1;1366:12:10;;2728:48:1;;;-1:-1:-1;;2728:48:1;;;;;;;;;;2718:59;;2728:48;2718:59;;;;-1:-1:-1;;;;;;2688:105:1;;;;;;;;;;1563:25:10;2787:4:1;1604:18:10;;;1597:60;1536:18;;2688:105:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2532:269::o;6861:233:3:-;2995:4;3018:12;;;;;;;;;;;-1:-1:-1;;;;;3018:29:3;;;;;;;;;;;;6939:149;;6982:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6982:29:3;;;;;;;;;:36;;-1:-1:-1;;6982:36:3;7014:4;6982:36;;;7064:12;719:10:6;;640:96;7064:12:3;-1:-1:-1;;;;;7037:40:3;7055:7;-1:-1:-1;;;;;7037:40:3;7049:4;7037:40;;;;;;;;;;6861:233;;:::o;14:318:10:-;112:6;165:2;153:9;144:7;140:23;136:32;133:52;;;181:1;178;171:12;133:52;207:16;;-1:-1:-1;;;;;252:31:10;;242:42;;232:70;;298:1;295;288:12;232:70;321:5;14:318;-1:-1:-1;;;14:318:10:o;1389:274::-;616:7585:1;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": { + "@DEFAULT_ADMIN_ROLE_864": { + "entryPoint": null, + "id": 864, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@POOL_MANAGER_128": { + "entryPoint": null, + "id": 128, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_checkRole_961": { + "entryPoint": 3798, + "id": 961, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@_grantRole_1113": { + "entryPoint": 3898, + "id": 1113, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@_msgSender_1270": { + "entryPoint": null, + "id": 1270, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@_revokeRole_1144": { + "entryPoint": 4030, + "id": 1144, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@addPoolManager_221": { + "entryPoint": 1632, + "id": 221, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@getContributionLimit_679": { + "entryPoint": 3756, + "id": 679, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getPoolFees_719": { + "entryPoint": 3685, + "id": 719, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getPoolMaxSize_619": { + "entryPoint": 827, + "id": 619, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getPoolState_599": { + "entryPoint": 1201, + "id": 599, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getRewardsInterest_659": { + "entryPoint": 2668, + "id": 659, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getRewardsInterval_639": { + "entryPoint": 1983, + "id": 639, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getRoleAdmin_976": { + "entryPoint": null, + "id": 976, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@grantRole_996": { + "entryPoint": 1458, + "id": 996, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@hasRole_918": { + "entryPoint": 3254, + "id": 918, + "parameterSlots": 2, + "returnSlots": 1 + }, + "@removePoolManager_239": { + "entryPoint": 1366, + "id": 239, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@renounceRole_1039": { + "entryPoint": 1501, + "id": 1039, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@revokeRole_1016": { + "entryPoint": 3718, + "id": 1016, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@setContributionLimit_447": { + "entryPoint": 2407, + "id": 447, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setMinContribution_486": { + "entryPoint": 1724, + "id": 486, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setMinContribution_699": { + "entryPoint": 2367, + "id": 699, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@setPoolFees_541": { + "entryPoint": 2717, + "id": 541, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setPoolLive_302": { + "entryPoint": 3295, + "id": 302, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setPoolMaxSize_328": { + "entryPoint": 1016, + "id": 328, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setRewardsInterest_408": { + "entryPoint": 3417, + "id": 408, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setRewardsInterval_369": { + "entryPoint": 2021, + "id": 369, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@supportsInterface_1506": { + "entryPoint": null, + "id": 1506, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@supportsInterface_899": { + "entryPoint": 772, + "id": 899, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@toHexString_1482": { + "entryPoint": 4131, + "id": 1482, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_address": { + "entryPoint": 4617, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_decode_tuple_t_address": { + "entryPoint": 4645, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bool": { + "entryPoint": 4733, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bool_fromMemory": { + "entryPoint": 4809, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bytes32": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bytes32t_address": { + "entryPoint": 4672, + "id": null, + "parameterSlots": 2, + "returnSlots": 2 + }, + "abi_decode_tuple_t_bytes4": { + "entryPoint": 4550, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_uint256": { + "entryPoint": 4592, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_uint256_fromMemory": { + "entryPoint": 4762, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_0f5404ed03256cc6395ed559bf52ccb5ab11bf8dddbd240da7e6d5ad4ab04dd7__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 4787, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_8f6e48ebe95c46ad356449234d760f7838119a9ccd28d70c8f8be00c200e3039__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874_t_string_memory_ptr_t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 4994, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_uint256__to_t_bytes32_t_uint256__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 5111, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_04fc88320d7c9f639317c75102c103ff0044d3075a5c627e24e76e5bbb2733c2__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 4838, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_add_t_uint256": { + "entryPoint": 5162, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_mul_t_uint256": { + "entryPoint": 4915, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "copy_memory_to_memory": { + "entryPoint": 4946, + "id": null, + "parameterSlots": 3, + "returnSlots": 0 + }, + "decrement_t_uint256": { + "entryPoint": 5230, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "panic_error_0x11": { + "entryPoint": 4893, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x32": { + "entryPoint": 5208, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x41": { + "entryPoint": 5186, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "validator_revert_bool": { + "entryPoint": 4716, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + } + }, + "generatedSources": [ + { + "ast": { + "nodeType": "YulBlock", + "src": "0:8756:10", + "statements": [ + { + "nodeType": "YulBlock", + "src": "6:3:10", + "statements": [] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "83:217:10", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "129:16:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "138:1:10", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "141:1:10", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "131:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "131:12:10" + }, + "nodeType": "YulExpressionStatement", + "src": "131:12:10" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "104:7:10" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "113:9:10" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "100:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "100:23:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "125:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "96:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "96:32:10" + }, + "nodeType": "YulIf", + "src": "93:52:10" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "154:36:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "180:9:10" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "167:12:10" + }, + "nodeType": "YulFunctionCall", + "src": "167:23:10" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "158:5:10", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "254:16:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "263:1:10", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "266:1:10", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "256:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "256:12:10" + }, + "nodeType": "YulExpressionStatement", + "src": "256:12:10" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "212:5:10" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "223:5:10" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "234:3:10", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "239:10:10", + "type": "", + "value": "0xffffffff" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "230:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "230:20:10" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "219:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "219:32:10" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "209:2:10" + }, + "nodeType": "YulFunctionCall", + "src": "209:43:10" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "202:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "202:51:10" + }, + "nodeType": "YulIf", + "src": "199:71:10" + }, + { + "nodeType": "YulAssignment", + "src": "279:15:10", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "289:5:10" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "279:6:10" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bytes4", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "49:9:10", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "60:7:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "72:6:10", + "type": "" + } + ], + "src": "14:286:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "400:92:10", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "410:26:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "422:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "433:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "418:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "418:18:10" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "410:4:10" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "452:9:10" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "477:6:10" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "470:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "470:14:10" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "463:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "463:22:10" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "445:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "445:41:10" + }, + "nodeType": "YulExpressionStatement", + "src": "445:41:10" + } + ] + }, + "name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "369:9:10", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "380:6:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "391:4:10", + "type": "" + } + ], + "src": "305:187:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "598:76:10", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "608:26:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "620:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "631:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "616:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "616:18:10" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "608:4:10" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "650:9:10" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "661:6:10" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "643:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "643:25:10" + }, + "nodeType": "YulExpressionStatement", + "src": "643:25:10" + } + ] + }, + "name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "567:9:10", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "578:6:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "589:4:10", + "type": "" + } + ], + "src": "497:177:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "749:110:10", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "795:16:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "804:1:10", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "807:1:10", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "797:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "797:12:10" + }, + "nodeType": "YulExpressionStatement", + "src": "797:12:10" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "770:7:10" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "779:9:10" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "766:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "766:23:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "791:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "762:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "762:32:10" + }, + "nodeType": "YulIf", + "src": "759:52:10" + }, + { + "nodeType": "YulAssignment", + "src": "820:33:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "843:9:10" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "830:12:10" + }, + "nodeType": "YulFunctionCall", + "src": "830:23:10" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "820:6:10" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "715:9:10", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "726:7:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "738:6:10", + "type": "" + } + ], + "src": "679:180:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "934:110:10", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "980:16:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "989:1:10", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "992:1:10", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "982:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "982:12:10" + }, + "nodeType": "YulExpressionStatement", + "src": "982:12:10" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "955:7:10" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "964:9:10" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "951:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "951:23:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "976:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "947:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "947:32:10" + }, + "nodeType": "YulIf", + "src": "944:52:10" + }, + { + "nodeType": "YulAssignment", + "src": "1005:33:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1028:9:10" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1015:12:10" + }, + "nodeType": "YulFunctionCall", + "src": "1015:23:10" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1005:6:10" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bytes32", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "900:9:10", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "911:7:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "923:6:10", + "type": "" + } + ], + "src": "864:180:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1150:76:10", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "1160:26:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1172:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1183:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1168:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "1168:18:10" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "1160:4:10" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1202:9:10" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1213:6:10" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1195:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "1195:25:10" + }, + "nodeType": "YulExpressionStatement", + "src": "1195:25:10" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1119:9:10", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1130:6:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "1141:4:10", + "type": "" + } + ], + "src": "1049:177:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1280:124:10", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "1290:29:10", + "value": { + "arguments": [ + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "1312:6:10" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1299:12:10" + }, + "nodeType": "YulFunctionCall", + "src": "1299:20:10" + }, + "variableNames": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1290:5:10" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1382:16:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1391:1:10", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1394:1:10", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1384:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "1384:12:10" + }, + "nodeType": "YulExpressionStatement", + "src": "1384:12:10" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1341:5:10" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1352:5:10" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1367:3:10", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1372:1:10", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "1363:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "1363:11:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1376:1:10", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1359:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "1359:19:10" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "1348:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "1348:31:10" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "1338:2:10" + }, + "nodeType": "YulFunctionCall", + "src": "1338:42:10" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "1331:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "1331:50:10" + }, + "nodeType": "YulIf", + "src": "1328:70:10" + } + ] + }, + "name": "abi_decode_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "1259:6:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "1270:5:10", + "type": "" + } + ], + "src": "1231:173:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1479:116:10", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1525:16:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1534:1:10", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1537:1:10", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1527:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "1527:12:10" + }, + "nodeType": "YulExpressionStatement", + "src": "1527:12:10" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "1500:7:10" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1509:9:10" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1496:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "1496:23:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1521:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "1492:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "1492:32:10" + }, + "nodeType": "YulIf", + "src": "1489:52:10" + }, + { + "nodeType": "YulAssignment", + "src": "1550:39:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1579:9:10" + } + ], + "functionName": { + "name": "abi_decode_address", + "nodeType": "YulIdentifier", + "src": "1560:18:10" + }, + "nodeType": "YulFunctionCall", + "src": "1560:29:10" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1550:6:10" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1445:9:10", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "1456:7:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1468:6:10", + "type": "" + } + ], + "src": "1409:186:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1687:167:10", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1733:16:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1742:1:10", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1745:1:10", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1735:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "1735:12:10" + }, + "nodeType": "YulExpressionStatement", + "src": "1735:12:10" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "1708:7:10" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1717:9:10" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1704:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "1704:23:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1729:2:10", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "1700:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "1700:32:10" + }, + "nodeType": "YulIf", + "src": "1697:52:10" + }, + { + "nodeType": "YulAssignment", + "src": "1758:33:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1781:9:10" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1768:12:10" + }, + "nodeType": "YulFunctionCall", + "src": "1768:23:10" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1758:6:10" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "1800:48:10", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1833:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1844:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1829:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "1829:18:10" + } + ], + "functionName": { + "name": "abi_decode_address", + "nodeType": "YulIdentifier", + "src": "1810:18:10" + }, + "nodeType": "YulFunctionCall", + "src": "1810:38:10" + }, + "variableNames": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "1800:6:10" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bytes32t_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1645:9:10", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "1656:7:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1668:6:10", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "1676:6:10", + "type": "" + } + ], + "src": "1600:254:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1901:76:10", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1955:16:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1964:1:10", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1967:1:10", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1957:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "1957:12:10" + }, + "nodeType": "YulExpressionStatement", + "src": "1957:12:10" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1924:5:10" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1945:5:10" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "1938:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "1938:13:10" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "1931:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "1931:21:10" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "1921:2:10" + }, + "nodeType": "YulFunctionCall", + "src": "1921:32:10" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "1914:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "1914:40:10" + }, + "nodeType": "YulIf", + "src": "1911:60:10" + } + ] + }, + "name": "validator_revert_bool", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "1890:5:10", + "type": "" + } + ], + "src": "1859:118:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2049:174:10", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "2095:16:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2104:1:10", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2107:1:10", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "2097:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "2097:12:10" + }, + "nodeType": "YulExpressionStatement", + "src": "2097:12:10" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "2070:7:10" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2079:9:10" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "2066:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "2066:23:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2091:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "2062:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "2062:32:10" + }, + "nodeType": "YulIf", + "src": "2059:52:10" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "2120:36:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2146:9:10" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "2133:12:10" + }, + "nodeType": "YulFunctionCall", + "src": "2133:23:10" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "2124:5:10", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "2187:5:10" + } + ], + "functionName": { + "name": "validator_revert_bool", + "nodeType": "YulIdentifier", + "src": "2165:21:10" + }, + "nodeType": "YulFunctionCall", + "src": "2165:28:10" + }, + "nodeType": "YulExpressionStatement", + "src": "2165:28:10" + }, + { + "nodeType": "YulAssignment", + "src": "2202:15:10", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "2212:5:10" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "2202:6:10" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bool", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "2015:9:10", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "2026:7:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "2038:6:10", + "type": "" + } + ], + "src": "1982:241:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2420:70:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "2437:3:10" + }, + { + "hexValue": "706f6f6c4d617853697a65", + "kind": "string", + "nodeType": "YulLiteral", + "src": "2442:13:10", + "type": "", + "value": "poolMaxSize" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2430:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "2430:26:10" + }, + "nodeType": "YulExpressionStatement", + "src": "2430:26:10" + }, + { + "nodeType": "YulAssignment", + "src": "2465:19:10", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "2476:3:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2481:2:10", + "type": "", + "value": "11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2472:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "2472:12:10" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "2465:3:10" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "2404:3:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "2412:3:10", + "type": "" + } + ], + "src": "2228:262:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2576:103:10", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "2622:16:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2631:1:10", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2634:1:10", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "2624:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "2624:12:10" + }, + "nodeType": "YulExpressionStatement", + "src": "2624:12:10" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "2597:7:10" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2606:9:10" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "2593:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "2593:23:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2618:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "2589:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "2589:32:10" + }, + "nodeType": "YulIf", + "src": "2586:52:10" + }, + { + "nodeType": "YulAssignment", + "src": "2647:26:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2663:9:10" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "2657:5:10" + }, + "nodeType": "YulFunctionCall", + "src": "2657:16:10" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "2647:6:10" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_uint256_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "2542:9:10", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "2553:7:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "2565:6:10", + "type": "" + } + ], + "src": "2495:184:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2813:119:10", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "2823:26:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2835:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2846:2:10", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2831:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "2831:18:10" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "2823:4:10" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2865:9:10" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "2876:6:10" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2858:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "2858:25:10" + }, + "nodeType": "YulExpressionStatement", + "src": "2858:25:10" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2903:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2914:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2899:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "2899:18:10" + }, + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "2919:6:10" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2892:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "2892:34:10" + }, + "nodeType": "YulExpressionStatement", + "src": "2892:34:10" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_uint256__to_t_bytes32_t_uint256__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "2774:9:10", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "2785:6:10", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "2793:6:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "2804:4:10", + "type": "" + } + ], + "src": "2684:248:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3129:69:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "3146:3:10" + }, + { + "hexValue": "6973506f6f6c4c697665", + "kind": "string", + "nodeType": "YulLiteral", + "src": "3151:12:10", + "type": "", + "value": "isPoolLive" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3139:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "3139:25:10" + }, + "nodeType": "YulExpressionStatement", + "src": "3139:25:10" + }, + { + "nodeType": "YulAssignment", + "src": "3173:19:10", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "3184:3:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3189:2:10", + "type": "", + "value": "10" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3180:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "3180:12:10" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "3173:3:10" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "3113:3:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "3121:3:10", + "type": "" + } + ], + "src": "2937:261:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3281:167:10", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "3327:16:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3336:1:10", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3339:1:10", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "3329:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "3329:12:10" + }, + "nodeType": "YulExpressionStatement", + "src": "3329:12:10" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "3302:7:10" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3311:9:10" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "3298:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "3298:23:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3323:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "3294:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "3294:32:10" + }, + "nodeType": "YulIf", + "src": "3291:52:10" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "3352:29:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3371:9:10" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "3365:5:10" + }, + "nodeType": "YulFunctionCall", + "src": "3365:16:10" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "3356:5:10", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "3412:5:10" + } + ], + "functionName": { + "name": "validator_revert_bool", + "nodeType": "YulIdentifier", + "src": "3390:21:10" + }, + "nodeType": "YulFunctionCall", + "src": "3390:28:10" + }, + "nodeType": "YulExpressionStatement", + "src": "3390:28:10" + }, + { + "nodeType": "YulAssignment", + "src": "3427:15:10", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "3437:5:10" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "3427:6:10" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bool_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "3247:9:10", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "3258:7:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "3270:6:10", + "type": "" + } + ], + "src": "3203:245:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3627:237:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3644:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3655:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3637:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "3637:21:10" + }, + "nodeType": "YulExpressionStatement", + "src": "3637:21:10" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3678:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3689:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3674:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "3674:18:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3694:2:10", + "type": "", + "value": "47" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3667:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "3667:30:10" + }, + "nodeType": "YulExpressionStatement", + "src": "3667:30:10" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3717:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3728:2:10", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3713:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "3713:18:10" + }, + { + "hexValue": "416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e6365", + "kind": "string", + "nodeType": "YulLiteral", + "src": "3733:34:10", + "type": "", + "value": "AccessControl: can only renounce" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3706:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "3706:62:10" + }, + "nodeType": "YulExpressionStatement", + "src": "3706:62:10" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3788:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3799:2:10", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3784:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "3784:18:10" + }, + { + "hexValue": "20726f6c657320666f722073656c66", + "kind": "string", + "nodeType": "YulLiteral", + "src": "3804:17:10", + "type": "", + "value": " roles for self" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3777:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "3777:45:10" + }, + "nodeType": "YulExpressionStatement", + "src": "3777:45:10" + }, + { + "nodeType": "YulAssignment", + "src": "3831:27:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3843:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3854:3:10", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3839:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "3839:19:10" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "3831:4:10" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "3604:9:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "3618:4:10", + "type": "" + } + ], + "src": "3453:411:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4043:179:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4060:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4071:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4053:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "4053:21:10" + }, + "nodeType": "YulExpressionStatement", + "src": "4053:21:10" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4094:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4105:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4090:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "4090:18:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4110:2:10", + "type": "", + "value": "29" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4083:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "4083:30:10" + }, + "nodeType": "YulExpressionStatement", + "src": "4083:30:10" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4133:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4144:2:10", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4129:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "4129:18:10" + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4149:31:10", + "type": "", + "value": "The pool is currently closed." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4122:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "4122:59:10" + }, + "nodeType": "YulExpressionStatement", + "src": "4122:59:10" + }, + { + "nodeType": "YulAssignment", + "src": "4190:26:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4202:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4213:2:10", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4198:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "4198:18:10" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "4190:4:10" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "4020:9:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "4034:4:10", + "type": "" + } + ], + "src": "3869:353:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4419:74:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "4436:3:10" + }, + { + "hexValue": "6d696e436f6e747269627574696f6e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4441:17:10", + "type": "", + "value": "minContribution" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4429:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "4429:30:10" + }, + "nodeType": "YulExpressionStatement", + "src": "4429:30:10" + }, + { + "nodeType": "YulAssignment", + "src": "4468:19:10", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "4479:3:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4484:2:10", + "type": "", + "value": "15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4475:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "4475:12:10" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "4468:3:10" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "4403:3:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "4411:3:10", + "type": "" + } + ], + "src": "4227:266:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4690:72:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "4707:3:10" + }, + { + "hexValue": "64617973546f52657761726473", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4712:15:10", + "type": "", + "value": "daysToRewards" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4700:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "4700:28:10" + }, + "nodeType": "YulExpressionStatement", + "src": "4700:28:10" + }, + { + "nodeType": "YulAssignment", + "src": "4737:19:10", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "4748:3:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4753:2:10", + "type": "", + "value": "13" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4744:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "4744:12:10" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "4737:3:10" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "4674:3:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "4682:3:10", + "type": "" + } + ], + "src": "4498:264:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4799:95:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4816:1:10", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4823:3:10", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4828:10:10", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "4819:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "4819:20:10" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4809:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "4809:31:10" + }, + "nodeType": "YulExpressionStatement", + "src": "4809:31:10" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4856:1:10", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4859:4:10", + "type": "", + "value": "0x11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4849:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "4849:15:10" + }, + "nodeType": "YulExpressionStatement", + "src": "4849:15:10" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4880:1:10", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4883:4:10", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "4873:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "4873:15:10" + }, + "nodeType": "YulExpressionStatement", + "src": "4873:15:10" + } + ] + }, + "name": "panic_error_0x11", + "nodeType": "YulFunctionDefinition", + "src": "4767:127:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4951:116:10", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "5010:22:10", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "5012:16:10" + }, + "nodeType": "YulFunctionCall", + "src": "5012:18:10" + }, + "nodeType": "YulExpressionStatement", + "src": "5012:18:10" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "4982:1:10" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "4975:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "4975:9:10" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "4968:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "4968:17:10" + }, + { + "arguments": [ + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "4990:1:10" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5001:1:10", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "4997:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "4997:6:10" + }, + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "5005:1:10" + } + ], + "functionName": { + "name": "div", + "nodeType": "YulIdentifier", + "src": "4993:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "4993:14:10" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "4987:2:10" + }, + "nodeType": "YulFunctionCall", + "src": "4987:21:10" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "4964:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "4964:45:10" + }, + "nodeType": "YulIf", + "src": "4961:71:10" + }, + { + "nodeType": "YulAssignment", + "src": "5041:20:10", + "value": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "5056:1:10" + }, + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "5059:1:10" + } + ], + "functionName": { + "name": "mul", + "nodeType": "YulIdentifier", + "src": "5052:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "5052:9:10" + }, + "variableNames": [ + { + "name": "product", + "nodeType": "YulIdentifier", + "src": "5041:7:10" + } + ] + } + ] + }, + "name": "checked_mul_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "x", + "nodeType": "YulTypedName", + "src": "4930:1:10", + "type": "" + }, + { + "name": "y", + "nodeType": "YulTypedName", + "src": "4933:1:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "product", + "nodeType": "YulTypedName", + "src": "4939:7:10", + "type": "" + } + ], + "src": "4899:168:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5264:76:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5281:3:10" + }, + { + "hexValue": "636f6e747269627574696f6e4c696d6974", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5286:19:10", + "type": "", + "value": "contributionLimit" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5274:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "5274:32:10" + }, + "nodeType": "YulExpressionStatement", + "src": "5274:32:10" + }, + { + "nodeType": "YulAssignment", + "src": "5315:19:10", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5326:3:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5331:2:10", + "type": "", + "value": "17" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5322:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "5322:12:10" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "5315:3:10" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "5248:3:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "5256:3:10", + "type": "" + } + ], + "src": "5072:268:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5537:83:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5554:3:10" + }, + { + "hexValue": "72657761726473496e746572657374506572506572696f64", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5559:26:10", + "type": "", + "value": "rewardsInterestPerPeriod" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5547:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "5547:39:10" + }, + "nodeType": "YulExpressionStatement", + "src": "5547:39:10" + }, + { + "nodeType": "YulAssignment", + "src": "5595:19:10", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5606:3:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5611:2:10", + "type": "", + "value": "24" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5602:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "5602:12:10" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "5595:3:10" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "5521:3:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "5529:3:10", + "type": "" + } + ], + "src": "5345:275:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5817:66:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5834:3:10" + }, + { + "hexValue": "706f6f6c46656573", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5839:10:10", + "type": "", + "value": "poolFees" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5827:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "5827:23:10" + }, + "nodeType": "YulExpressionStatement", + "src": "5827:23:10" + }, + { + "nodeType": "YulAssignment", + "src": "5859:18:10", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5870:3:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5875:1:10", + "type": "", + "value": "8" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5866:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "5866:11:10" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "5859:3:10" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_0f5404ed03256cc6395ed559bf52ccb5ab11bf8dddbd240da7e6d5ad4ab04dd7__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "5801:3:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "5809:3:10", + "type": "" + } + ], + "src": "5625:258:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6080:70:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "6097:3:10" + }, + { + "hexValue": "706f6f6c46656573536574", + "kind": "string", + "nodeType": "YulLiteral", + "src": "6102:13:10", + "type": "", + "value": "poolFeesSet" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6090:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "6090:26:10" + }, + "nodeType": "YulExpressionStatement", + "src": "6090:26:10" + }, + { + "nodeType": "YulAssignment", + "src": "6125:19:10", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "6136:3:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6141:2:10", + "type": "", + "value": "11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6132:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "6132:12:10" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "6125:3:10" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_8f6e48ebe95c46ad356449234d760f7838119a9ccd28d70c8f8be00c200e3039__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "6064:3:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "6072:3:10", + "type": "" + } + ], + "src": "5888:262:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6278:135:10", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "6288:26:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6300:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6311:2:10", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6296:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "6296:18:10" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "6288:4:10" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6330:9:10" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "6341:6:10" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6323:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "6323:25:10" + }, + "nodeType": "YulExpressionStatement", + "src": "6323:25:10" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6368:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6379:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6364:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "6364:18:10" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "6398:6:10" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "6391:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "6391:14:10" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "6384:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "6384:22:10" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6357:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "6357:50:10" + }, + "nodeType": "YulExpressionStatement", + "src": "6357:50:10" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "6239:9:10", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "6250:6:10", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "6258:6:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "6269:4:10", + "type": "" + } + ], + "src": "6155:258:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6471:205:10", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "6481:10:10", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6490:1:10", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "i", + "nodeType": "YulTypedName", + "src": "6485:1:10", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6550:63:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nodeType": "YulIdentifier", + "src": "6575:3:10" + }, + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "6580:1:10" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6571:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "6571:11:10" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "src", + "nodeType": "YulIdentifier", + "src": "6594:3:10" + }, + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "6599:1:10" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6590:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "6590:11:10" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "6584:5:10" + }, + "nodeType": "YulFunctionCall", + "src": "6584:18:10" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6564:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "6564:39:10" + }, + "nodeType": "YulExpressionStatement", + "src": "6564:39:10" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "6511:1:10" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "6514:6:10" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "6508:2:10" + }, + "nodeType": "YulFunctionCall", + "src": "6508:13:10" + }, + "nodeType": "YulForLoop", + "post": { + "nodeType": "YulBlock", + "src": "6522:19:10", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "6524:15:10", + "value": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "6533:1:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6536:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6529:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "6529:10:10" + }, + "variableNames": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "6524:1:10" + } + ] + } + ] + }, + "pre": { + "nodeType": "YulBlock", + "src": "6504:3:10", + "statements": [] + }, + "src": "6500:113:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6639:31:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nodeType": "YulIdentifier", + "src": "6652:3:10" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "6657:6:10" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6648:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "6648:16:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6666:1:10", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6641:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "6641:27:10" + }, + "nodeType": "YulExpressionStatement", + "src": "6641:27:10" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "6628:1:10" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "6631:6:10" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "6625:2:10" + }, + "nodeType": "YulFunctionCall", + "src": "6625:13:10" + }, + "nodeType": "YulIf", + "src": "6622:48:10" + } + ] + }, + "name": "copy_memory_to_memory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "src", + "nodeType": "YulTypedName", + "src": "6449:3:10", + "type": "" + }, + { + "name": "dst", + "nodeType": "YulTypedName", + "src": "6454:3:10", + "type": "" + }, + { + "name": "length", + "nodeType": "YulTypedName", + "src": "6459:6:10", + "type": "" + } + ], + "src": "6418:258:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7070:397:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7087:3:10" + }, + { + "hexValue": "416363657373436f6e74726f6c3a206163636f756e7420", + "kind": "string", + "nodeType": "YulLiteral", + "src": "7092:25:10", + "type": "", + "value": "AccessControl: account " + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7080:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "7080:38:10" + }, + "nodeType": "YulExpressionStatement", + "src": "7080:38:10" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "7127:27:10", + "value": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "7147:6:10" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "7141:5:10" + }, + "nodeType": "YulFunctionCall", + "src": "7141:13:10" + }, + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "7131:6:10", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "7189:6:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7197:4:10", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7185:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "7185:17:10" + }, + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7208:3:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7213:2:10", + "type": "", + "value": "23" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7204:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "7204:12:10" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "7218:6:10" + } + ], + "functionName": { + "name": "copy_memory_to_memory", + "nodeType": "YulIdentifier", + "src": "7163:21:10" + }, + "nodeType": "YulFunctionCall", + "src": "7163:62:10" + }, + "nodeType": "YulExpressionStatement", + "src": "7163:62:10" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "7234:26:10", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7248:3:10" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "7253:6:10" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7244:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "7244:16:10" + }, + "variables": [ + { + "name": "_1", + "nodeType": "YulTypedName", + "src": "7238:2:10", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "7280:2:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7284:2:10", + "type": "", + "value": "23" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7276:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "7276:11:10" + }, + { + "hexValue": "206973206d697373696e6720726f6c6520", + "kind": "string", + "nodeType": "YulLiteral", + "src": "7289:19:10", + "type": "", + "value": " is missing role " + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7269:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "7269:40:10" + }, + "nodeType": "YulExpressionStatement", + "src": "7269:40:10" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "7318:29:10", + "value": { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "7340:6:10" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "7334:5:10" + }, + "nodeType": "YulFunctionCall", + "src": "7334:13:10" + }, + "variables": [ + { + "name": "length_1", + "nodeType": "YulTypedName", + "src": "7322:8:10", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "7382:6:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7390:4:10", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7378:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "7378:17:10" + }, + { + "arguments": [ + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "7401:2:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7405:2:10", + "type": "", + "value": "40" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7397:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "7397:11:10" + }, + { + "name": "length_1", + "nodeType": "YulIdentifier", + "src": "7410:8:10" + } + ], + "functionName": { + "name": "copy_memory_to_memory", + "nodeType": "YulIdentifier", + "src": "7356:21:10" + }, + "nodeType": "YulFunctionCall", + "src": "7356:63:10" + }, + "nodeType": "YulExpressionStatement", + "src": "7356:63:10" + }, + { + "nodeType": "YulAssignment", + "src": "7428:33:10", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "7443:2:10" + }, + { + "name": "length_1", + "nodeType": "YulIdentifier", + "src": "7447:8:10" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7439:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "7439:17:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7458:2:10", + "type": "", + "value": "40" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7435:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "7435:26:10" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "7428:3:10" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874_t_string_memory_ptr_t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "7038:3:10", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "7043:6:10", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "7051:6:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "7062:3:10", + "type": "" + } + ], + "src": "6681:786:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7593:262:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7610:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7621:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7603:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "7603:21:10" + }, + "nodeType": "YulExpressionStatement", + "src": "7603:21:10" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "7633:27:10", + "value": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "7653:6:10" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "7647:5:10" + }, + "nodeType": "YulFunctionCall", + "src": "7647:13:10" + }, + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "7637:6:10", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7680:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7691:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7676:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "7676:18:10" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "7696:6:10" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7669:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "7669:34:10" + }, + "nodeType": "YulExpressionStatement", + "src": "7669:34:10" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "7738:6:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7746:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7734:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "7734:15:10" + }, + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7755:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7766:2:10", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7751:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "7751:18:10" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "7771:6:10" + } + ], + "functionName": { + "name": "copy_memory_to_memory", + "nodeType": "YulIdentifier", + "src": "7712:21:10" + }, + "nodeType": "YulFunctionCall", + "src": "7712:66:10" + }, + "nodeType": "YulExpressionStatement", + "src": "7712:66:10" + }, + { + "nodeType": "YulAssignment", + "src": "7787:62:10", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7803:9:10" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "7822:6:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7830:2:10", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7818:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "7818:15:10" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7839:2:10", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "7835:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "7835:7:10" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "7814:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "7814:29:10" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7799:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "7799:45:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7846:2:10", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7795:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "7795:54:10" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "7787:4:10" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "7562:9:10", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "7573:6:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "7584:4:10", + "type": "" + } + ], + "src": "7472:383:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7908:80:10", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "7935:22:10", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "7937:16:10" + }, + "nodeType": "YulFunctionCall", + "src": "7937:18:10" + }, + "nodeType": "YulExpressionStatement", + "src": "7937:18:10" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "7924:1:10" + }, + { + "arguments": [ + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "7931:1:10" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "7927:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "7927:6:10" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "7921:2:10" + }, + "nodeType": "YulFunctionCall", + "src": "7921:13:10" + }, + "nodeType": "YulIf", + "src": "7918:39:10" + }, + { + "nodeType": "YulAssignment", + "src": "7966:16:10", + "value": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "7977:1:10" + }, + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "7980:1:10" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7973:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "7973:9:10" + }, + "variableNames": [ + { + "name": "sum", + "nodeType": "YulIdentifier", + "src": "7966:3:10" + } + ] + } + ] + }, + "name": "checked_add_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "x", + "nodeType": "YulTypedName", + "src": "7891:1:10", + "type": "" + }, + { + "name": "y", + "nodeType": "YulTypedName", + "src": "7894:1:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "sum", + "nodeType": "YulTypedName", + "src": "7900:3:10", + "type": "" + } + ], + "src": "7860:128:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8025:95:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8042:1:10", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8049:3:10", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8054:10:10", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "8045:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "8045:20:10" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8035:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "8035:31:10" + }, + "nodeType": "YulExpressionStatement", + "src": "8035:31:10" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8082:1:10", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8085:4:10", + "type": "", + "value": "0x41" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8075:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "8075:15:10" + }, + "nodeType": "YulExpressionStatement", + "src": "8075:15:10" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8106:1:10", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8109:4:10", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "8099:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "8099:15:10" + }, + "nodeType": "YulExpressionStatement", + "src": "8099:15:10" + } + ] + }, + "name": "panic_error_0x41", + "nodeType": "YulFunctionDefinition", + "src": "7993:127:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8157:95:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8174:1:10", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8181:3:10", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8186:10:10", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "8177:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "8177:20:10" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8167:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "8167:31:10" + }, + "nodeType": "YulExpressionStatement", + "src": "8167:31:10" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8214:1:10", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8217:4:10", + "type": "", + "value": "0x32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8207:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "8207:15:10" + }, + "nodeType": "YulExpressionStatement", + "src": "8207:15:10" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8238:1:10", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8241:4:10", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "8231:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "8231:15:10" + }, + "nodeType": "YulExpressionStatement", + "src": "8231:15:10" + } + ] + }, + "name": "panic_error_0x32", + "nodeType": "YulFunctionDefinition", + "src": "8125:127:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8304:89:10", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "8331:22:10", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "8333:16:10" + }, + "nodeType": "YulFunctionCall", + "src": "8333:18:10" + }, + "nodeType": "YulExpressionStatement", + "src": "8333:18:10" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "8324:5:10" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "8317:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "8317:13:10" + }, + "nodeType": "YulIf", + "src": "8314:39:10" + }, + { + "nodeType": "YulAssignment", + "src": "8362:25:10", + "value": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "8373:5:10" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8384:1:10", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "8380:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "8380:6:10" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8369:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "8369:18:10" + }, + "variableNames": [ + { + "name": "ret", + "nodeType": "YulIdentifier", + "src": "8362:3:10" + } + ] + } + ] + }, + "name": "decrement_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "8286:5:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "ret", + "nodeType": "YulTypedName", + "src": "8296:3:10", + "type": "" + } + ], + "src": "8257:136:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8572:182:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8589:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8600:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8582:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "8582:21:10" + }, + "nodeType": "YulExpressionStatement", + "src": "8582:21:10" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8623:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8634:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8619:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "8619:18:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8639:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8612:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "8612:30:10" + }, + "nodeType": "YulExpressionStatement", + "src": "8612:30:10" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8662:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8673:2:10", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8658:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "8658:18:10" + }, + { + "hexValue": "537472696e67733a20686578206c656e67746820696e73756666696369656e74", + "kind": "string", + "nodeType": "YulLiteral", + "src": "8678:34:10", + "type": "", + "value": "Strings: hex length insufficient" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8651:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "8651:62:10" + }, + "nodeType": "YulExpressionStatement", + "src": "8651:62:10" + }, + { + "nodeType": "YulAssignment", + "src": "8722:26:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8734:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8745:2:10", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8730:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "8730:18:10" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "8722:4:10" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_04fc88320d7c9f639317c75102c103ff0044d3075a5c627e24e76e5bbb2733c2__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "8549:9:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "8563:4:10", + "type": "" + } + ], + "src": "8398:356:10" + } + ] + }, + "contents": "{\n { }\n function abi_decode_tuple_t_bytes4(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n if iszero(eq(value, and(value, shl(224, 0xffffffff)))) { revert(0, 0) }\n value0 := value\n }\n function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, iszero(iszero(value0)))\n }\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := calldataload(headStart)\n }\n function abi_decode_tuple_t_bytes32(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := calldataload(headStart)\n }\n function abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function abi_decode_address(offset) -> value\n {\n value := calldataload(offset)\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n }\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := abi_decode_address(headStart)\n }\n function abi_decode_tuple_t_bytes32t_address(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n value0 := calldataload(headStart)\n value1 := abi_decode_address(add(headStart, 32))\n }\n function validator_revert_bool(value)\n {\n if iszero(eq(value, iszero(iszero(value)))) { revert(0, 0) }\n }\n function abi_decode_tuple_t_bool(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_bool(value)\n value0 := value\n }\n function abi_encode_tuple_packed_t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"poolMaxSize\")\n end := add(pos, 11)\n }\n function abi_decode_tuple_t_uint256_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := mload(headStart)\n }\n function abi_encode_tuple_t_bytes32_t_uint256__to_t_bytes32_t_uint256__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), value1)\n }\n function abi_encode_tuple_packed_t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"isPoolLive\")\n end := add(pos, 10)\n }\n function abi_decode_tuple_t_bool_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := mload(headStart)\n validator_revert_bool(value)\n value0 := value\n }\n function abi_encode_tuple_t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 47)\n mstore(add(headStart, 64), \"AccessControl: can only renounce\")\n mstore(add(headStart, 96), \" roles for self\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 29)\n mstore(add(headStart, 64), \"The pool is currently closed.\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_packed_t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"minContribution\")\n end := add(pos, 15)\n }\n function abi_encode_tuple_packed_t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"daysToRewards\")\n end := add(pos, 13)\n }\n function panic_error_0x11()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n function checked_mul_t_uint256(x, y) -> product\n {\n if and(iszero(iszero(x)), gt(y, div(not(0), x))) { panic_error_0x11() }\n product := mul(x, y)\n }\n function abi_encode_tuple_packed_t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"contributionLimit\")\n end := add(pos, 17)\n }\n function abi_encode_tuple_packed_t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"rewardsInterestPerPeriod\")\n end := add(pos, 24)\n }\n function abi_encode_tuple_packed_t_stringliteral_0f5404ed03256cc6395ed559bf52ccb5ab11bf8dddbd240da7e6d5ad4ab04dd7__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"poolFees\")\n end := add(pos, 8)\n }\n function abi_encode_tuple_packed_t_stringliteral_8f6e48ebe95c46ad356449234d760f7838119a9ccd28d70c8f8be00c200e3039__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"poolFeesSet\")\n end := add(pos, 11)\n }\n function abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), iszero(iszero(value1)))\n }\n function copy_memory_to_memory(src, dst, length)\n {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n if gt(i, length) { mstore(add(dst, length), 0) }\n }\n function abi_encode_tuple_packed_t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874_t_string_memory_ptr_t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos, value1, value0) -> end\n {\n mstore(pos, \"AccessControl: account \")\n let length := mload(value0)\n copy_memory_to_memory(add(value0, 0x20), add(pos, 23), length)\n let _1 := add(pos, length)\n mstore(add(_1, 23), \" is missing role \")\n let length_1 := mload(value1)\n copy_memory_to_memory(add(value1, 0x20), add(_1, 40), length_1)\n end := add(add(_1, length_1), 40)\n }\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n mstore(headStart, 32)\n let length := mload(value0)\n mstore(add(headStart, 32), length)\n copy_memory_to_memory(add(value0, 32), add(headStart, 64), length)\n tail := add(add(headStart, and(add(length, 31), not(31))), 64)\n }\n function checked_add_t_uint256(x, y) -> sum\n {\n if gt(x, not(y)) { panic_error_0x11() }\n sum := add(x, y)\n }\n function panic_error_0x41()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n function panic_error_0x32()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x32)\n revert(0, 0x24)\n }\n function decrement_t_uint256(value) -> ret\n {\n if iszero(value) { panic_error_0x11() }\n ret := add(value, not(0))\n }\n function abi_encode_tuple_t_stringliteral_04fc88320d7c9f639317c75102c103ff0044d3075a5c627e24e76e5bbb2733c2__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 32)\n mstore(add(headStart, 64), \"Strings: hex length insufficient\")\n tail := add(headStart, 96)\n }\n}", + "id": 10, + "language": "Yul", + "name": "#utility.yul" + } + ], + "immutableReferences": {}, + "linkReferences": {}, + "object": "608060405234801561001057600080fd5b50600436106101585760003560e01c8063543edfb6116100c3578063a217fddf1161007c578063a217fddf146102b3578063a4975516146102bb578063bf4c0036146102ce578063d1d8d060146102e1578063d547741f146102e9578063fa1e19e5146102fc57600080fd5b8063543edfb61461025557806362308e851461025d57806372d099a0146102725780637521796f146102855780638dd225d51461028d57806391d14854146102a057600080fd5b80632f2ff15d116101155780632f2ff15d146101ee57806336568abe1461020157806345077e7114610214578063473b0d4614610227578063497d02411461023a57806353710f491461024257600080fd5b806301ffc9a71461015d578063095df57f14610185578063126469871461019b578063217ac237146101b0578063248a9ca3146101b857806329ca15bc146101db575b600080fd5b61017061016b3660046111c6565b610304565b60405190151581526020015b60405180910390f35b61018d61033b565b60405190815260200161017c565b6101ae6101a93660046111f0565b6103f8565b005b6101706104b1565b61018d6101c63660046111f0565b60009081526020819052604090206001015490565b6101ae6101e9366004611225565b610556565b6101ae6101fc366004611240565b6105b2565b6101ae61020f366004611240565b6105dd565b6101ae610222366004611225565b610660565b6101ae6102353660046111f0565b6106bc565b61018d6107bf565b6101ae6102503660046111f0565b6107e5565b61018d61093f565b61018d60008051602061148683398151915281565b6101ae6102803660046111f0565b610967565b61018d610a6c565b6101ae61029b3660046111f0565b610a9d565b6101706102ae366004611240565b610cb6565b61018d600081565b6101ae6102c936600461127d565b610cdf565b6101ae6102dc3660046111f0565b610d59565b61018d610e65565b6101ae6102f7366004611240565b610e86565b61018d610eac565b60006001600160e01b03198216637965db0b60e01b148061033557506301ffc9a760e01b6001600160e01b03198316145b92915050565b60008060405160200161035f906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b1580156103ba57600080fd5b505afa1580156103ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f2919061129a565b91505090565b6000805160206114868339815191526104118133610ed6565b6040516a706f6f6c4d617853697a6560a81b6020820152600090602b015b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018690529092506001600160a01b0316906328192c55906044015b600060405180830381600087803b15801561049457600080fd5b505af11580156104a8573d6000803e3d6000fd5b50505050505050565b6000806040516020016104c3906112b3565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561051e57600080fd5b505afa158015610532573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f291906112c9565b60006105628133610ed6565b61057a60008051602061148683398151915283610e86565b6040516001600160a01b038316907fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd3190600090a25050565b6000828152602081905260409020600101546105ce8133610ed6565b6105d88383610f3a565b505050565b6001600160a01b03811633146106525760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b61065c8282610fbe565b5050565b600061066c8133610ed6565b610684600080516020611486833981519152836105b2565b6040516001600160a01b038316907fd873e3f571dc25e020cefdeb7255b3874ead3aade1f94a5fb4a5da831fd670cd90600090a25050565b6000805160206114868339815191526106d58133610ed6565b6002546040516001600160a01b03909116906355d94655906106f9906020016112b3565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161072d91815260200190565b60206040518083038186803b15801561074557600080fd5b505afa158015610759573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077d91906112c9565b6107995760405162461bcd60e51b8152600401610649906112e6565b6040516e36b4b721b7b73a3934b13aba34b7b760891b6020820152600090602f0161042f565b60008060405160200161035f906c64617973546f5265776172647360981b8152600d0190565b6000805160206114868339815191526107fe8133610ed6565b6002546040516001600160a01b03909116906355d9465590610822906020016112b3565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161085691815260200190565b60206040518083038186803b15801561086e57600080fd5b505afa158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a691906112c9565b6108c25760405162461bcd60e51b8152600401610649906112e6565b604080516c64617973546f5265776172647360981b6020808301919091528251600d818403018152602d90920190925280519101206002546001600160a01b03166328192c55826109168662015180611333565b6040516001600160e01b031960e085901b1681526004810192909252602482015260440161047a565b60008060405160200161035f906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b6000805160206114868339815191526109808133610ed6565b6002546040516001600160a01b03909116906355d94655906109a4906020016112b3565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b81526004016109d891815260200190565b60206040518083038186803b1580156109f057600080fd5b505afa158015610a04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a2891906112c9565b610a445760405162461bcd60e51b8152600401610649906112e6565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b602082015260009060310161042f565b60008060405160200161035f90771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b600080516020611486833981519152610ab68133610ed6565b6002546040516001600160a01b03909116906355d9465590610ada906020016112b3565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610b0e91815260200190565b60206040518083038186803b158015610b2657600080fd5b505afa158015610b3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5e91906112c9565b610b7a5760405162461bcd60e51b8152600401610649906112e6565b60405167706f6f6c4665657360c01b60208201526000906028016040516020818303038152906040528051906020012090506000604051602001610bcf906a1c1bdbdb1199595cd4d95d60aa1b8152600b0190565b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301859052602483018790529092506001600160a01b0316906328192c5590604401600060405180830381600087803b158015610c3357600080fd5b505af1158015610c47573d6000803e3d6000fd5b505060025460405163988c515b60e01b815260048101859052600160248201526001600160a01b03909116925063988c515b9150604401600060405180830381600087803b158015610c9857600080fd5b505af1158015610cac573d6000803e3d6000fd5b5050505050505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020611486833981519152610cf88133610ed6565b6000604051602001610d09906112b3565b60408051808303601f1901815290829052805160209091012060025463988c515b60e01b83526004830182905285151560248401529092506001600160a01b03169063988c515b9060440161047a565b600080516020611486833981519152610d728133610ed6565b6002546040516001600160a01b03909116906355d9465590610d96906020016112b3565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610dca91815260200190565b60206040518083038186803b158015610de257600080fd5b505afa158015610df6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1a91906112c9565b610e365760405162461bcd60e51b8152600401610649906112e6565b604051771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b602082015260009060380161042f565b60008060405160200161035f9067706f6f6c4665657360c01b815260080190565b600082815260208190526040902060010154610ea28133610ed6565b6105d88383610fbe565b60008060405160200161035f907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b610ee08282610cb6565b61065c57610ef8816001600160a01b03166014611023565b610f03836020611023565b604051602001610f14929190611382565b60408051601f198184030181529082905262461bcd60e51b8252610649916004016113f7565b610f448282610cb6565b61065c576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055610f7a3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610fc88282610cb6565b1561065c576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60606000611032836002611333565b61103d90600261142a565b67ffffffffffffffff81111561105557611055611442565b6040519080825280601f01601f19166020018201604052801561107f576020820181803683370190505b509050600360fc1b8160008151811061109a5761109a611458565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106110c9576110c9611458565b60200101906001600160f81b031916908160001a90535060006110ed846002611333565b6110f890600161142a565b90505b6001811115611170576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061112c5761112c611458565b1a60f81b82828151811061114257611142611458565b60200101906001600160f81b031916908160001a90535060049490941c936111698161146e565b90506110fb565b5083156111bf5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610649565b9392505050565b6000602082840312156111d857600080fd5b81356001600160e01b0319811681146111bf57600080fd5b60006020828403121561120257600080fd5b5035919050565b80356001600160a01b038116811461122057600080fd5b919050565b60006020828403121561123757600080fd5b6111bf82611209565b6000806040838503121561125357600080fd5b8235915061126360208401611209565b90509250929050565b801515811461127a57600080fd5b50565b60006020828403121561128f57600080fd5b81356111bf8161126c565b6000602082840312156112ac57600080fd5b5051919050565b696973506f6f6c4c69766560b01b8152600a0190565b6000602082840312156112db57600080fd5b81516111bf8161126c565b6020808252601d908201527f54686520706f6f6c2069732063757272656e746c7920636c6f7365642e000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561134d5761134d61131d565b500290565b60005b8381101561136d578181015183820152602001611355565b8381111561137c576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516113ba816017850160208801611352565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516113eb816028840160208801611352565b01602801949350505050565b6020815260008251806020840152611416816040850160208701611352565b601f01601f19169190910160400192915050565b6000821982111561143d5761143d61131d565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008161147d5761147d61131d565b50600019019056fe41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842a2646970667358221220d8b3c0aadd811f2a444ea408495622894b768a5da3dc0f58e2d1788729f1bd0a64736f6c63430008090033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x158 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x543EDFB6 GT PUSH2 0xC3 JUMPI DUP1 PUSH4 0xA217FDDF GT PUSH2 0x7C JUMPI DUP1 PUSH4 0xA217FDDF EQ PUSH2 0x2B3 JUMPI DUP1 PUSH4 0xA4975516 EQ PUSH2 0x2BB JUMPI DUP1 PUSH4 0xBF4C0036 EQ PUSH2 0x2CE JUMPI DUP1 PUSH4 0xD1D8D060 EQ PUSH2 0x2E1 JUMPI DUP1 PUSH4 0xD547741F EQ PUSH2 0x2E9 JUMPI DUP1 PUSH4 0xFA1E19E5 EQ PUSH2 0x2FC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x543EDFB6 EQ PUSH2 0x255 JUMPI DUP1 PUSH4 0x62308E85 EQ PUSH2 0x25D JUMPI DUP1 PUSH4 0x72D099A0 EQ PUSH2 0x272 JUMPI DUP1 PUSH4 0x7521796F EQ PUSH2 0x285 JUMPI DUP1 PUSH4 0x8DD225D5 EQ PUSH2 0x28D JUMPI DUP1 PUSH4 0x91D14854 EQ PUSH2 0x2A0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x2F2FF15D GT PUSH2 0x115 JUMPI DUP1 PUSH4 0x2F2FF15D EQ PUSH2 0x1EE JUMPI DUP1 PUSH4 0x36568ABE EQ PUSH2 0x201 JUMPI DUP1 PUSH4 0x45077E71 EQ PUSH2 0x214 JUMPI DUP1 PUSH4 0x473B0D46 EQ PUSH2 0x227 JUMPI DUP1 PUSH4 0x497D0241 EQ PUSH2 0x23A JUMPI DUP1 PUSH4 0x53710F49 EQ PUSH2 0x242 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x15D JUMPI DUP1 PUSH4 0x95DF57F EQ PUSH2 0x185 JUMPI DUP1 PUSH4 0x12646987 EQ PUSH2 0x19B JUMPI DUP1 PUSH4 0x217AC237 EQ PUSH2 0x1B0 JUMPI DUP1 PUSH4 0x248A9CA3 EQ PUSH2 0x1B8 JUMPI DUP1 PUSH4 0x29CA15BC EQ PUSH2 0x1DB JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x170 PUSH2 0x16B CALLDATASIZE PUSH1 0x4 PUSH2 0x11C6 JUMP JUMPDEST PUSH2 0x304 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x18D PUSH2 0x33B JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x17C JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x1A9 CALLDATASIZE PUSH1 0x4 PUSH2 0x11F0 JUMP JUMPDEST PUSH2 0x3F8 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x170 PUSH2 0x4B1 JUMP JUMPDEST PUSH2 0x18D PUSH2 0x1C6 CALLDATASIZE PUSH1 0x4 PUSH2 0x11F0 JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x1E9 CALLDATASIZE PUSH1 0x4 PUSH2 0x1225 JUMP JUMPDEST PUSH2 0x556 JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x1FC CALLDATASIZE PUSH1 0x4 PUSH2 0x1240 JUMP JUMPDEST PUSH2 0x5B2 JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x20F CALLDATASIZE PUSH1 0x4 PUSH2 0x1240 JUMP JUMPDEST PUSH2 0x5DD JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x222 CALLDATASIZE PUSH1 0x4 PUSH2 0x1225 JUMP JUMPDEST PUSH2 0x660 JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x235 CALLDATASIZE PUSH1 0x4 PUSH2 0x11F0 JUMP JUMPDEST PUSH2 0x6BC JUMP JUMPDEST PUSH2 0x18D PUSH2 0x7BF JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x250 CALLDATASIZE PUSH1 0x4 PUSH2 0x11F0 JUMP JUMPDEST PUSH2 0x7E5 JUMP JUMPDEST PUSH2 0x18D PUSH2 0x93F JUMP JUMPDEST PUSH2 0x18D PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x280 CALLDATASIZE PUSH1 0x4 PUSH2 0x11F0 JUMP JUMPDEST PUSH2 0x967 JUMP JUMPDEST PUSH2 0x18D PUSH2 0xA6C JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x29B CALLDATASIZE PUSH1 0x4 PUSH2 0x11F0 JUMP JUMPDEST PUSH2 0xA9D JUMP JUMPDEST PUSH2 0x170 PUSH2 0x2AE CALLDATASIZE PUSH1 0x4 PUSH2 0x1240 JUMP JUMPDEST PUSH2 0xCB6 JUMP JUMPDEST PUSH2 0x18D PUSH1 0x0 DUP2 JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x2C9 CALLDATASIZE PUSH1 0x4 PUSH2 0x127D JUMP JUMPDEST PUSH2 0xCDF JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x2DC CALLDATASIZE PUSH1 0x4 PUSH2 0x11F0 JUMP JUMPDEST PUSH2 0xD59 JUMP JUMPDEST PUSH2 0x18D PUSH2 0xE65 JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x2F7 CALLDATASIZE PUSH1 0x4 PUSH2 0x1240 JUMP JUMPDEST PUSH2 0xE86 JUMP JUMPDEST PUSH2 0x18D PUSH2 0xEAC JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH4 0x7965DB0B PUSH1 0xE0 SHL EQ DUP1 PUSH2 0x335 JUMPI POP PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP4 AND EQ JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x35F SWAP1 PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL DUP2 MSTORE PUSH1 0xB ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x3BA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x3CE JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x3F2 SWAP2 SWAP1 PUSH2 0x129A JUMP JUMPDEST SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x411 DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2B ADD JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP7 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x494 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x4A8 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x4C3 SWAP1 PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x55D94655 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x51E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x532 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x3F2 SWAP2 SWAP1 PUSH2 0x12C9 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x562 DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH2 0x57A PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0xE86 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xEF69F7D97228658C92417BE1B16B19058315DE71FECB435D07B7D23728B6BD31 SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0x5CE DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH2 0x5D8 DUP4 DUP4 PUSH2 0xF3A JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND CALLER EQ PUSH2 0x652 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416363657373436F6E74726F6C3A2063616E206F6E6C792072656E6F756E6365 PUSH1 0x44 DUP3 ADD MSTORE PUSH15 0x103937B632B9903337B91039B2B633 PUSH1 0x89 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x65C DUP3 DUP3 PUSH2 0xFBE JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x66C DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH2 0x684 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0x5B2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xD873E3F571DC25E020CEFDEB7255B3874EAD3AADE1F94A5FB4A5DA831FD670CD SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x6D5 DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x6F9 SWAP1 PUSH1 0x20 ADD PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x72D SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x745 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x759 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x77D SWAP2 SWAP1 PUSH2 0x12C9 JUMP JUMPDEST PUSH2 0x799 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x649 SWAP1 PUSH2 0x12E6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2F ADD PUSH2 0x42F JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x35F SWAP1 PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL DUP2 MSTORE PUSH1 0xD ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x7FE DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x822 SWAP1 PUSH1 0x20 ADD PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x856 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x86E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x882 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x8A6 SWAP2 SWAP1 PUSH2 0x12C9 JUMP JUMPDEST PUSH2 0x8C2 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x649 SWAP1 PUSH2 0x12E6 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL PUSH1 0x20 DUP1 DUP4 ADD SWAP2 SWAP1 SWAP2 MSTORE DUP3 MLOAD PUSH1 0xD DUP2 DUP5 SUB ADD DUP2 MSTORE PUSH1 0x2D SWAP1 SWAP3 ADD SWAP1 SWAP3 MSTORE DUP1 MLOAD SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x28192C55 DUP3 PUSH2 0x916 DUP7 PUSH3 0x15180 PUSH2 0x1333 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT PUSH1 0xE0 DUP6 SWAP1 SHL AND DUP2 MSTORE PUSH1 0x4 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH2 0x47A JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x35F SWAP1 PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL DUP2 MSTORE PUSH1 0xF ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x980 DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x9A4 SWAP1 PUSH1 0x20 ADD PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x9D8 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x9F0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xA04 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xA28 SWAP2 SWAP1 PUSH2 0x12C9 JUMP JUMPDEST PUSH2 0xA44 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x649 SWAP1 PUSH2 0x12E6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x31 ADD PUSH2 0x42F JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x35F SWAP1 PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL DUP2 MSTORE PUSH1 0x18 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xAB6 DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xADA SWAP1 PUSH1 0x20 ADD PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xB0E SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xB26 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xB3A JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xB5E SWAP2 SWAP1 PUSH2 0x12C9 JUMP JUMPDEST PUSH2 0xB7A JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x649 SWAP1 PUSH2 0x12E6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH8 0x706F6F6C46656573 PUSH1 0xC0 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x28 ADD PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xBCF SWAP1 PUSH11 0x1C1BDBDB1199595CD4D95D PUSH1 0xAA SHL DUP2 MSTORE PUSH1 0xB ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP6 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP8 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xC33 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xC47 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0x988C515B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP6 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP3 POP PUSH4 0x988C515B SWAP2 POP PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xC98 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xCAC JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP3 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 SWAP1 SWAP4 AND DUP5 MSTORE SWAP2 SWAP1 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xCF8 DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xD09 SWAP1 PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x988C515B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE DUP6 ISZERO ISZERO PUSH1 0x24 DUP5 ADD MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x988C515B SWAP1 PUSH1 0x44 ADD PUSH2 0x47A JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xD72 DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xD96 SWAP1 PUSH1 0x20 ADD PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xDCA SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xDE2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xDF6 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xE1A SWAP2 SWAP1 PUSH2 0x12C9 JUMP JUMPDEST PUSH2 0xE36 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x649 SWAP1 PUSH2 0x12E6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x38 ADD PUSH2 0x42F JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x35F SWAP1 PUSH8 0x706F6F6C46656573 PUSH1 0xC0 SHL DUP2 MSTORE PUSH1 0x8 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0xEA2 DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH2 0x5D8 DUP4 DUP4 PUSH2 0xFBE JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x35F SWAP1 PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL DUP2 MSTORE PUSH1 0x11 ADD SWAP1 JUMP JUMPDEST PUSH2 0xEE0 DUP3 DUP3 PUSH2 0xCB6 JUMP JUMPDEST PUSH2 0x65C JUMPI PUSH2 0xEF8 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x14 PUSH2 0x1023 JUMP JUMPDEST PUSH2 0xF03 DUP4 PUSH1 0x20 PUSH2 0x1023 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xF14 SWAP3 SWAP2 SWAP1 PUSH2 0x1382 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE PUSH3 0x461BCD PUSH1 0xE5 SHL DUP3 MSTORE PUSH2 0x649 SWAP2 PUSH1 0x4 ADD PUSH2 0x13F7 JUMP JUMPDEST PUSH2 0xF44 DUP3 DUP3 PUSH2 0xCB6 JUMP JUMPDEST PUSH2 0x65C JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH2 0xF7A CALLER SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH2 0xFC8 DUP3 DUP3 PUSH2 0xCB6 JUMP JUMPDEST ISZERO PUSH2 0x65C JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP1 DUP6 MSTORE SWAP3 MSTORE DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE MLOAD CALLER SWAP3 DUP6 SWAP2 PUSH32 0xF6391F5C32D9C69D2A47EA670B442974B53935D1EDC7FD64EB21E047A839171B SWAP2 SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH2 0x1032 DUP4 PUSH1 0x2 PUSH2 0x1333 JUMP JUMPDEST PUSH2 0x103D SWAP1 PUSH1 0x2 PUSH2 0x142A JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1055 JUMPI PUSH2 0x1055 PUSH2 0x1442 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x107F JUMPI PUSH1 0x20 DUP3 ADD DUP2 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x3 PUSH1 0xFC SHL DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x109A JUMPI PUSH2 0x109A PUSH2 0x1458 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0xF PUSH1 0xFB SHL DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x10C9 JUMPI PUSH2 0x10C9 PUSH2 0x1458 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x0 PUSH2 0x10ED DUP5 PUSH1 0x2 PUSH2 0x1333 JUMP JUMPDEST PUSH2 0x10F8 SWAP1 PUSH1 0x1 PUSH2 0x142A JUMP JUMPDEST SWAP1 POP JUMPDEST PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x1170 JUMPI PUSH16 0x181899199A1A9B1B9C1CB0B131B232B3 PUSH1 0x81 SHL DUP6 PUSH1 0xF AND PUSH1 0x10 DUP2 LT PUSH2 0x112C JUMPI PUSH2 0x112C PUSH2 0x1458 JUMP JUMPDEST BYTE PUSH1 0xF8 SHL DUP3 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x1142 JUMPI PUSH2 0x1142 PUSH2 0x1458 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x4 SWAP5 SWAP1 SWAP5 SHR SWAP4 PUSH2 0x1169 DUP2 PUSH2 0x146E JUMP JUMPDEST SWAP1 POP PUSH2 0x10FB JUMP JUMPDEST POP DUP4 ISZERO PUSH2 0x11BF JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x537472696E67733A20686578206C656E67746820696E73756666696369656E74 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x649 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x11D8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND DUP2 EQ PUSH2 0x11BF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1202 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x1220 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1237 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x11BF DUP3 PUSH2 0x1209 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1253 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD SWAP2 POP PUSH2 0x1263 PUSH1 0x20 DUP5 ADD PUSH2 0x1209 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0x127A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x128F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x11BF DUP2 PUSH2 0x126C JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x12AC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH10 0x6973506F6F6C4C697665 PUSH1 0xB0 SHL DUP2 MSTORE PUSH1 0xA ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x12DB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x11BF DUP2 PUSH2 0x126C JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1D SWAP1 DUP3 ADD MSTORE PUSH32 0x54686520706F6F6C2069732063757272656E746C7920636C6F7365642E000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x0 NOT DIV DUP4 GT DUP3 ISZERO ISZERO AND ISZERO PUSH2 0x134D JUMPI PUSH2 0x134D PUSH2 0x131D JUMP JUMPDEST POP MUL SWAP1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x136D JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x1355 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x137C JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH32 0x416363657373436F6E74726F6C3A206163636F756E7420000000000000000000 DUP2 MSTORE PUSH1 0x0 DUP4 MLOAD PUSH2 0x13BA DUP2 PUSH1 0x17 DUP6 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x1352 JUMP JUMPDEST PUSH17 0x1034B99036B4B9B9B4B733903937B6329 PUSH1 0x7D SHL PUSH1 0x17 SWAP2 DUP5 ADD SWAP2 DUP3 ADD MSTORE DUP4 MLOAD PUSH2 0x13EB DUP2 PUSH1 0x28 DUP5 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x1352 JUMP JUMPDEST ADD PUSH1 0x28 ADD SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 DUP3 MLOAD DUP1 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x1416 DUP2 PUSH1 0x40 DUP6 ADD PUSH1 0x20 DUP8 ADD PUSH2 0x1352 JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP2 SWAP1 SWAP2 ADD PUSH1 0x40 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x143D JUMPI PUSH2 0x143D PUSH2 0x131D JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH2 0x147D JUMPI PUSH2 0x147D PUSH2 0x131D JUMP JUMPDEST POP PUSH1 0x0 NOT ADD SWAP1 JUMP INVALID COINBASE LOG0 0x1E 0xC0 LOG1 EXTCODESIZE JUMP EXTCODEHASH LOG4 MSTORE JUMP SWAP15 EXTCODEHASH 0xBB GT PUSH4 0x66D217C2 PUSH23 0x9AA1561822E65A617E3842A2646970667358221220D8B3 0xC0 0xAA 0xDD DUP2 0x1F 0x2A DIFFICULTY 0x4E LOG4 ADDMOD 0x49 JUMP 0x22 DUP10 0x4B PUSH23 0x8A5DA3DC0F58E2D1788729F1BD0A64736F6C6343000809 STOP CALLER ", + "sourceMap": "616:7585:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2620:202:3;;;;;;:::i;:::-;;:::i;:::-;;;470:14:10;;463:22;445:41;;433:2;418:18;2620:202:3;;;;;;;;6939:205:1;;;:::i;:::-;;;643:25:10;;;631:2;616:18;6939:205:1;497:177:10;3291:218:1;;;;;;:::i;:::-;;:::i;:::-;;6747:184;;;:::i;4008:129:3:-;;;;;;:::i;:::-;4082:7;4108:12;;;;;;;;;;:22;;;;4008:129;2171:175:1;;;;;;:::i;:::-;;:::i;4387:145:3:-;;;;;;:::i;:::-;;:::i;5404:214::-;;;;;;:::i;:::-;;:::i;1991:172:1:-;;;;;;:::i;:::-;;:::i;5115:350::-;;;;;;:::i;:::-;;:::i;7152:195::-;;;:::i;3583:359::-;;;;;;:::i;:::-;;:::i;7790:199::-;;;:::i;676:64::-;;-1:-1:-1;;;;;;;;;;;676:64:1;;4638:361;;;;;;:::i;:::-;;:::i;7355:212::-;;;:::i;5781:477::-;;;;;;:::i;:::-;;:::i;2909:145:3:-;;;;;;:::i;:::-;;:::i;2027:49::-;;2072:4;2027:49;;2958:198:1;;;;;;:::i;:::-;;:::i;4149:371::-;;;;;;:::i;:::-;;:::i;8001:185::-;;;:::i;4766:147:3:-;;;;;;:::i;:::-;;:::i;7575:207:1:-;;;:::i;2620:202:3:-;2705:4;-1:-1:-1;;;;;;2728:47:3;;-1:-1:-1;;;2728:47:3;;:87;;-1:-1:-1;;;;;;;;;;937:40:8;;;2779:36:3;2721:94;2620:202;-1:-1:-1;;2620:202:3:o;6939:205:1:-;6985:4;7001:22;7036:31;;;;;;-1:-1:-1;;;2430:26:10;;2481:2;2472:12;;2228:262;7036:31:1;;;;;;;-1:-1:-1;;7036:31:1;;;;;;;7026:42;;7036:31;7026:42;;;;7086:11;;-1:-1:-1;;;7086:42:1;;;;;643:25:10;;;7026:42:1;;-1:-1:-1;;;;;;7086:11:1;;:26;;616:18:10;;7086:42:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7079:49;;;6939:205;:::o;3291:218::-;-1:-1:-1;;;;;;;;;;;2505:30:3;715:25:1;719:10:6;2505::3;:30::i;:::-;3406:31:1::1;::::0;-1:-1:-1;;;3406:31:1::1;::::0;::::1;2430:26:10::0;3371:22:1::1;::::0;2472:12:10;;3406:31:1::1;;::::0;;;;::::1;-1:-1:-1::0;;3406:31:1;;;;;;;3396:42;;3406:31:::1;3396:42:::0;;::::1;::::0;3449:11:::1;::::0;-1:-1:-1;;;3449:52:1;;::::1;::::0;::::1;2858:25:10::0;;;2899:18;;;2892:34;;;3396:42:1;;-1:-1:-1;;;;;;3449:11:1::1;::::0;:26:::1;::::0;2831:18:10;;3449:52:1::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;3360:149;3291:218:::0;;:::o;6747:184::-;6791:4;6807:17;6837:30;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;6837:30:1;;;;;;;6827:41;;6837:30;6827:41;;;;6886:11;;-1:-1:-1;;;6886:37:1;;;;;643:25:10;;;6827:41:1;;-1:-1:-1;;;;;;6886:11:1;;:26;;616:18:10;;6886:37:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;2171:175::-;2072:4:3;2505:30;2072:4;719:10:6;2505::3;:30::i;:::-;2264:34:1::1;-1:-1:-1::0;;;;;;;;;;;2289:8:1::1;2264:10;:34::i;:::-;2314:24;::::0;-1:-1:-1;;;;;2314:24:1;::::1;::::0;::::1;::::0;;;::::1;2171:175:::0;;:::o;4387:145:3:-;4082:7;4108:12;;;;;;;;;;:22;;;2505:30;2516:4;719:10:6;2505::3;:30::i;:::-;4500:25:::1;4511:4;4517:7;4500:10;:25::i;:::-;4387:145:::0;;;:::o;5404:214::-;-1:-1:-1;;;;;5499:23:3;;719:10:6;5499:23:3;5491:83;;;;-1:-1:-1;;;5491:83:3;;3655:2:10;5491:83:3;;;3637:21:10;3694:2;3674:18;;;3667:30;3733:34;3713:18;;;3706:62;-1:-1:-1;;;3784:18:10;;;3777:45;3839:19;;5491:83:3;;;;;;;;;5585:26;5597:4;5603:7;5585:11;:26::i;:::-;5404:214;;:::o;1991:172:1:-;2072:4:3;2505:30;2072:4;719:10:6;2505::3;:30::i;:::-;2081:33:1::1;-1:-1:-1::0;;;;;;;;;;;2105:8:1::1;2081:9;:33::i;:::-;2130:25;::::0;-1:-1:-1;;;;;2130:25:1;::::1;::::0;::::1;::::0;;;::::1;1991:172:::0;;:::o;5115:350::-;-1:-1:-1;;;;;;;;;;;2505:30:3;715:25:1;719:10:6;2505::3;:30::i;:::-;5211:11:1::1;::::0;5248:30:::1;::::0;-1:-1:-1;;;;;5211:11:1;;::::1;::::0;:26:::1;::::0;5248:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;5238:41;;;;;;5211:69;;;;;;;;;;;;;643:25:10::0;;631:2;616:18;;497:177;5211:69:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5203:111;;;;-1:-1:-1::0;;;5203:111:1::1;;;;;;;:::i;:::-;5357:35;::::0;-1:-1:-1;;;5357:35:1::1;::::0;::::1;4429:30:10::0;5325:19:1::1;::::0;4475:12:10;;5357:35:1::1;4227:266:10::0;7152:195:1;7202:4;7218:18;7249:33;;;;;;-1:-1:-1;;;4700:28:10;;4753:2;4744:12;;4498:264;3583:359:1;-1:-1:-1;;;;;;;;;;;2505:30:3;715:25:1;719:10:6;2505::3;:30::i;:::-;3681:11:1::1;::::0;3718:30:::1;::::0;-1:-1:-1;;;;;3681:11:1;;::::1;::::0;:26:::1;::::0;3718:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;3708:41;;;;;;3681:69;;;;;;;;;;;;;643:25:10::0;;631:2;616:18;;497:177;3681:69:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3673:111;;;;-1:-1:-1::0;;;3673:111:1::1;;;;;;;:::i;:::-;3826:33;::::0;;-1:-1:-1;;;3826:33:1::1;::::0;;::::1;4700:28:10::0;;;;3826:33:1;;;;;;;;;4744:12:10;;;;3826:33:1;;;3816:44;;;::::1;::::0;3871:11:::1;::::0;-1:-1:-1;;;;;3871:11:1::1;:26;3816:44:::0;3910:23:::1;:14:::0;3927:6:::1;3910:23;:::i;:::-;3871:63;::::0;-1:-1:-1;;;;;;3871:63:1::1;::::0;;;;;;::::1;::::0;::::1;2858:25:10::0;;;;2899:18;;;2892:34;2831:18;;3871:63:1::1;2684:248:10::0;7790:199:1;7840:4;7856:19;7888:35;;;;;;-1:-1:-1;;;4429:30:10;;4484:2;4475:12;;4227:266;4638:361:1;-1:-1:-1;;;;;;;;;;;2505:30:3;715:25:1;719:10:6;2505::3;:30::i;:::-;4737:11:1::1;::::0;4774:30:::1;::::0;-1:-1:-1;;;;;4737:11:1;;::::1;::::0;:26:::1;::::0;4774:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;4764:41;;;;;;4737:69;;;;;;;;;;;;;643:25:10::0;;631:2;616:18;;497:177;4737:69:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4729:111;;;;-1:-1:-1::0;;;4729:111:1::1;;;;;;;:::i;:::-;4885:37;::::0;-1:-1:-1;;;4885:37:1::1;::::0;::::1;5274:32:10::0;4851:21:1::1;::::0;5322:12:10;;4885:37:1::1;5072:268:10::0;7355:212:1;7405:4;7421:21;7455:44;;;;;;-1:-1:-1;;;5547:39:10;;5611:2;5602:12;;5345:275;5781:477:1;-1:-1:-1;;;;;;;;;;;2505:30:3;715:25:1;719:10:6;2505::3;:30::i;:::-;5867:11:1::1;::::0;5904:30:::1;::::0;-1:-1:-1;;;;;5867:11:1;;::::1;::::0;:26:::1;::::0;5904:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;5894:41;;;;;;5867:69;;;;;;;;;;;;;643:25:10::0;;631:2;616:18;;497:177;5867:69:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5859:111;;;;-1:-1:-1::0;;;5859:111:1::1;;;;;;;:::i;:::-;6013:28;::::0;-1:-1:-1;;;6013:28:1::1;::::0;::::1;5827:23:10::0;5981:19:1::1;::::0;5866:11:10;;6013:28:1::1;;;;;;;;;;;;6003:39;;;;;;5981:61;;6053:22;6088:31;;;;;;-1:-1:-1::0;;;6090:26:10;;6141:2;6132:12;;5888:262;6088:31:1::1;;::::0;;;;::::1;-1:-1:-1::0;;6088:31:1;;;;;;;6078:42;;6088:31:::1;6078:42:::0;;::::1;::::0;6141:11:::1;::::0;-1:-1:-1;;;6141:50:1;;::::1;::::0;::::1;2858:25:10::0;;;2899:18;;;2892:34;;;6078:42:1;;-1:-1:-1;;;;;;6141:11:1::1;::::0;:26:::1;::::0;2831:18:10;;6141:50:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;6202:11:1::1;::::0;:48:::1;::::0;-1:-1:-1;;;6202:48:1;;::::1;::::0;::::1;6323:25:10::0;;;6202:11:1;6364:18:10;;;6357:50;-1:-1:-1;;;;;6202:11:1;;::::1;::::0;-1:-1:-1;6202:26:1::1;::::0;-1:-1:-1;6296:18:10;;6202:48:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;5848:410;;5781:477:::0;;:::o;2909:145:3:-;2995:4;3018:12;;;;;;;;;;;-1:-1:-1;;;;;3018:29:3;;;;;;;;;;;;;;;2909:145::o;2958:198:1:-;-1:-1:-1;;;;;;;;;;;2505:30:3;715:25:1;719:10:6;2505::3;:30::i;:::-;3032:17:1::1;3062:30;;;;;;;:::i;:::-;;::::0;;;;::::1;-1:-1:-1::0;;3062:30:1;;;;;;;3052:41;;3062:30:::1;3052:41:::0;;::::1;::::0;3104:11:::1;::::0;-1:-1:-1;;;3104:44:1;;::::1;::::0;::::1;6323:25:10::0;;;6391:14;;6384:22;6364:18;;;6357:50;3052:41:1;;-1:-1:-1;;;;;;3104:11:1::1;::::0;:26:::1;::::0;6296:18:10;;3104:44:1::1;6155:258:10::0;4149:371:1;-1:-1:-1;;;;;;;;;;;2505:30:3;715:25:1;719:10:6;2505::3;:30::i;:::-;4249:11:1::1;::::0;4286:30:::1;::::0;-1:-1:-1;;;;;4249:11:1;;::::1;::::0;:26:::1;::::0;4286:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;4276:41;;;;;;4249:69;;;;;;;;;;;;;643:25:10::0;;631:2;616:18;;497:177;4249:69:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4241:111;;;;-1:-1:-1::0;;;4241:111:1::1;;;;;;;:::i;:::-;4397:44;::::0;-1:-1:-1;;;4397:44:1::1;::::0;::::1;5547:39:10::0;4363:21:1::1;::::0;5602:12:10;;4397:44:1::1;5345:275:10::0;8001:185:1;8044:4;8060:19;8092:28;;;;;;-1:-1:-1;;;5827:23:10;;5875:1;5866:11;;5625:258;4766:147:3;4082:7;4108:12;;;;;;;;;;:22;;;2505:30;2516:4;719:10:6;2505::3;:30::i;:::-;4880:26:::1;4892:4;4898:7;4880:11;:26::i;7575:207:1:-:0;7627:4;7643:21;7677:37;;;;;;-1:-1:-1;;;5274:32:10;;5331:2;5322:12;;5072:268;3335:492:3;3423:22;3431:4;3437:7;3423;:22::i;:::-;3418:403;;3606:41;3634:7;-1:-1:-1;;;;;3606:41:3;3644:2;3606:19;:41::i;:::-;3718:38;3746:4;3753:2;3718:19;:38::i;:::-;3513:265;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3513:265:3;;;;;;;;;;-1:-1:-1;;;3461:349:3;;;;;;;:::i;6861:233::-;6944:22;6952:4;6958:7;6944;:22::i;:::-;6939:149;;6982:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6982:29:3;;;;;;;;;:36;;-1:-1:-1;;6982:36:3;7014:4;6982:36;;;7064:12;719:10:6;;640:96;7064:12:3;-1:-1:-1;;;;;7037:40:3;7055:7;-1:-1:-1;;;;;7037:40:3;7049:4;7037:40;;;;;;;;;;6861:233;;:::o;7219:234::-;7302:22;7310:4;7316:7;7302;:22::i;:::-;7298:149;;;7372:5;7340:12;;;;;;;;;;;-1:-1:-1;;;;;7340:29:3;;;;;;;;;;:37;;-1:-1:-1;;7340:37:3;;;7396:40;719:10:6;;7340:12:3;;7396:40;;7372:5;7396:40;7219:234;;:::o;1588:441:7:-;1663:13;1688:19;1720:10;1724:6;1720:1;:10;:::i;:::-;:14;;1733:1;1720:14;:::i;:::-;1710:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1710:25:7;;1688:47;;-1:-1:-1;;;1745:6:7;1752:1;1745:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1745:15:7;;;;;;;;;-1:-1:-1;;;1770:6:7;1777:1;1770:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1770:15:7;;;;;;;;-1:-1:-1;1800:9:7;1812:10;1816:6;1812:1;:10;:::i;:::-;:14;;1825:1;1812:14;:::i;:::-;1800:26;;1795:132;1832:1;1828;:5;1795:132;;;-1:-1:-1;;;1879:5:7;1887:3;1879:11;1866:25;;;;;;;:::i;:::-;;;;1854:6;1861:1;1854:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;1854:37:7;;;;;;;;-1:-1:-1;1915:1:7;1905:11;;;;;1835:3;;;:::i;:::-;;;1795:132;;;-1:-1:-1;1944:10:7;;1936:55;;;;-1:-1:-1;;;1936:55:7;;8600:2:10;1936:55:7;;;8582:21:10;;;8619:18;;;8612:30;8678:34;8658:18;;;8651:62;8730:18;;1936:55:7;8398:356:10;1936:55:7;2015:6;1588:441;-1:-1:-1;;;1588:441:7:o;14:286:10:-;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:10;;209:43;;199:71;;266:1;263;256:12;679:180;738:6;791:2;779:9;770:7;766:23;762:32;759:52;;;807:1;804;797:12;759:52;-1:-1:-1;830:23:10;;679:180;-1:-1:-1;679:180:10:o;1231:173::-;1299:20;;-1:-1:-1;;;;;1348:31:10;;1338:42;;1328:70;;1394:1;1391;1384:12;1328:70;1231:173;;;:::o;1409:186::-;1468:6;1521:2;1509:9;1500:7;1496:23;1492:32;1489:52;;;1537:1;1534;1527:12;1489:52;1560:29;1579:9;1560:29;:::i;1600:254::-;1668:6;1676;1729:2;1717:9;1708:7;1704:23;1700:32;1697:52;;;1745:1;1742;1735:12;1697:52;1781:9;1768:23;1758:33;;1810:38;1844:2;1833:9;1829:18;1810:38;:::i;:::-;1800:48;;1600:254;;;;;:::o;1859:118::-;1945:5;1938:13;1931:21;1924:5;1921:32;1911:60;;1967:1;1964;1957:12;1911:60;1859:118;:::o;1982:241::-;2038:6;2091:2;2079:9;2070:7;2066:23;2062:32;2059:52;;;2107:1;2104;2097:12;2059:52;2146:9;2133:23;2165:28;2187:5;2165:28;:::i;2495:184::-;2565:6;2618:2;2606:9;2597:7;2593:23;2589:32;2586:52;;;2634:1;2631;2624:12;2586:52;-1:-1:-1;2657:16:10;;2495:184;-1:-1:-1;2495:184:10:o;2937:261::-;-1:-1:-1;;;3139:25:10;;3189:2;3180:12;;2937:261::o;3203:245::-;3270:6;3323:2;3311:9;3302:7;3298:23;3294:32;3291:52;;;3339:1;3336;3329:12;3291:52;3371:9;3365:16;3390:28;3412:5;3390:28;:::i;3869:353::-;4071:2;4053:21;;;4110:2;4090:18;;;4083:30;4149:31;4144:2;4129:18;;4122:59;4213:2;4198:18;;3869:353::o;4767:127::-;4828:10;4823:3;4819:20;4816:1;4809:31;4859:4;4856:1;4849:15;4883:4;4880:1;4873:15;4899:168;4939:7;5005:1;5001;4997:6;4993:14;4990:1;4987:21;4982:1;4975:9;4968:17;4964:45;4961:71;;;5012:18;;:::i;:::-;-1:-1:-1;5052:9:10;;4899:168::o;6418:258::-;6490:1;6500:113;6514:6;6511:1;6508:13;6500:113;;;6590:11;;;6584:18;6571:11;;;6564:39;6536:2;6529:10;6500:113;;;6631:6;6628:1;6625:13;6622:48;;;6666:1;6657:6;6652:3;6648:16;6641:27;6622:48;;6418:258;;;:::o;6681:786::-;7092:25;7087:3;7080:38;7062:3;7147:6;7141:13;7163:62;7218:6;7213:2;7208:3;7204:12;7197:4;7189:6;7185:17;7163:62;:::i;:::-;-1:-1:-1;;;7284:2:10;7244:16;;;7276:11;;;7269:40;7334:13;;7356:63;7334:13;7405:2;7397:11;;7390:4;7378:17;;7356:63;:::i;:::-;7439:17;7458:2;7435:26;;6681:786;-1:-1:-1;;;;6681:786:10:o;7472:383::-;7621:2;7610:9;7603:21;7584:4;7653:6;7647:13;7696:6;7691:2;7680:9;7676:18;7669:34;7712:66;7771:6;7766:2;7755:9;7751:18;7746:2;7738:6;7734:15;7712:66;:::i;:::-;7839:2;7818:15;-1:-1:-1;;7814:29:10;7799:45;;;;7846:2;7795:54;;7472:383;-1:-1:-1;;7472:383:10:o;7860:128::-;7900:3;7931:1;7927:6;7924:1;7921:13;7918:39;;;7937:18;;:::i;:::-;-1:-1:-1;7973:9:10;;7860:128::o;7993:127::-;8054:10;8049:3;8045:20;8042:1;8035:31;8085:4;8082:1;8075:15;8109:4;8106:1;8099:15;8125:127;8186:10;8181:3;8177:20;8174:1;8167:31;8217:4;8214:1;8207:15;8241:4;8238:1;8231:15;8257:136;8296:3;8324:5;8314:39;;8333:18;;:::i;:::-;-1:-1:-1;;;8369:18:10;;8257:136::o" + }, + "gasEstimates": { + "creation": { + "codeDepositCost": "1067800", + "executionCost": "infinite", + "totalCost": "infinite" + }, + "external": { + "DEFAULT_ADMIN_ROLE()": "217", + "POOL_MANAGER()": "infinite", + "addPoolManager(address)": "infinite", + "getContributionLimit()": "infinite", + "getPoolFees()": "infinite", + "getPoolMaxSize()": "infinite", + "getPoolState()": "infinite", + "getRewardsInterest()": "infinite", + "getRewardsInterval()": "infinite", + "getRoleAdmin(bytes32)": "2559", + "grantRole(bytes32,address)": "infinite", + "hasRole(bytes32,address)": "2784", + "removePoolManager(address)": "infinite", + "renounceRole(bytes32,address)": "29040", + "revokeRole(bytes32,address)": "infinite", + "setContributionLimit(uint256)": "infinite", + "setMinContribution()": "infinite", + "setMinContribution(uint256)": "infinite", + "setPoolFees(uint256)": "infinite", + "setPoolLive(bool)": "infinite", + "setPoolMaxSize(uint256)": "infinite", + "setRewardsInterest(uint256)": "infinite", + "setRewardsInterval(uint256)": "infinite", + "supportsInterface(bytes4)": "450" + }, + "internal": { + "_setPoolBaseAddress()": "infinite", + "getContractAddress(string memory)": "infinite" + } + }, + "methodIdentifiers": { + "DEFAULT_ADMIN_ROLE()": "a217fddf", + "POOL_MANAGER()": "62308e85", + "addPoolManager(address)": "45077e71", + "getContributionLimit()": "fa1e19e5", + "getPoolFees()": "d1d8d060", + "getPoolMaxSize()": "095df57f", + "getPoolState()": "217ac237", + "getRewardsInterest()": "7521796f", + "getRewardsInterval()": "497d0241", + "getRoleAdmin(bytes32)": "248a9ca3", + "grantRole(bytes32,address)": "2f2ff15d", + "hasRole(bytes32,address)": "91d14854", + "removePoolManager(address)": "29ca15bc", + "renounceRole(bytes32,address)": "36568abe", + "revokeRole(bytes32,address)": "d547741f", + "setContributionLimit(uint256)": "72d099a0", + "setMinContribution()": "543edfb6", + "setMinContribution(uint256)": "473b0d46", + "setPoolFees(uint256)": "8dd225d5", + "setPoolLive(bool)": "a4975516", + "setPoolMaxSize(uint256)": "12646987", + "setRewardsInterest(uint256)": "bf4c0036", + "setRewardsInterval(uint256)": "53710f49", + "supportsInterface(bytes4)": "01ffc9a7" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract DataStorageInterface\",\"name\":\"_dataStorageAddress\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_removedManager\",\"type\":\"address\"}],\"name\":\"ManagerRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_newManager\",\"type\":\"address\"}],\"name\":\"NewManagerAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"POOL_MANAGER\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"addPoolManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getContributionLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolMaxSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolState\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsInterest\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsInterval\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"removePoolManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newContrLimit\",\"type\":\"uint256\"}],\"name\":\"setContributionLimit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newMinContr\",\"type\":\"uint256\"}],\"name\":\"setMinContribution\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"setMinContribution\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_poolFees\",\"type\":\"uint256\"}],\"name\":\"setPoolFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_live\",\"type\":\"bool\"}],\"name\":\"setPoolLive\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxSize\",\"type\":\"uint256\"}],\"name\":\"setPoolMaxSize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_rewardsInterest\",\"type\":\"uint256\"}],\"name\":\"setRewardsInterest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_daysToRewards\",\"type\":\"uint256\"}],\"name\":\"setRewardsInterval\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role.\"},\"setContributionLimit(uint256)\":{\"details\":\"Set the max. contribution allowed for each user.\",\"params\":{\"_newContrLimit\":\"is a WEI value.\"}},\"setMinContribution(uint256)\":{\"details\":\"Set the min. contribution allowed for each user.\",\"params\":{\"_newMinContr\":\"is a WEI value.\"}},\"setPoolFees(uint256)\":{\"details\":\"Set the pool fees fraction that the pool charges for each deposit.\",\"params\":{\"_poolFees\":\"within the storage has 6 decimals.\"}},\"setPoolLive(bool)\":{\"details\":\"Toggles the Pool Investing Switch. \"},\"setPoolMaxSize(uint256)\":{\"details\":\"Sets the Pool Maximium size expressed on ether.\",\"params\":{\"_maxSize\":\"is a WEI value (or BigInt / BigNumber).\"}},\"setRewardsInterest(uint256)\":{\"details\":\"Set the interest per effective period.\",\"params\":{\"_rewardsInterest\":\"within the storage has 6 decimals.\"}},\"setRewardsInterval(uint256)\":{\"details\":\"Set the interval in days of the rewards period.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"}},\"title\":\"This contract handles the modifiers and environmental parameters that control the pool. \",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"constructor\":{\"notice\":\"This contract will be deployed by the same address of the initial guardian. Afterwards Guardian may not be the same as the adminif the guardian renounces to their guard.\"},\"setPoolFees(uint256)\":{\"notice\":\"E.G. If 0.001235 fees fraction are desired, 0.001235 * (10**6) = 1235.Also it sets the state variable \\\"poolFeesSet\\\" as true.\"},\"setPoolLive(bool)\":{\"notice\":\"While live, anyone can invest but any state variable can be modified nor deleted.\"},\"setRewardsInterest(uint256)\":{\"notice\":\"E.G. If 0.001134 rate is desired, 0.001134 * (10**6) = 1134.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol\":\"PoolBase\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/DataStorageInterface.sol\":{\"keccak256\":\"0x2136bae23b43613eea5248f48da3a33c0fd5c9090337d43a31b943912ef8203b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7a084874e9224800b6b710f304a926ef04eab7cd361d9fb87a073b52dd4e2a6\",\"dweb:/ipfs/QmWZJKF1ReW1d3aXvZRL75QuuGfskLLvi2TwbtV4QRFTob\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol\":{\"keccak256\":\"0x915945c322eecea4d77e49da6ae7e69cc377bbc275a851dea233a8816780b6ff\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7027b622a79b11c1fe2e697567c7869459dd0a003ac4174d68faf3328f59cb1f\",\"dweb:/ipfs/QmUxsT4rPoNBKstE6s1uGEzZA9UryN8xzdrkoZTnUk9NrF\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0x4a1a0ba12bf1a33f10d9fe226278cf59675c0b929d29e4da99658a079b27fb84\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bda1319db846d6d6f92d8a57a9bdee8bde1dc39aa7546165791692c24dd6f30a\",\"dweb:/ipfs/Qma5oZ7DmbdAjd8mpiW7mx896PDtwsQtCQ2hj9Upf7b7JK\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol\":{\"keccak256\":\"0x0e9621f60b2faabe65549f7ed0f24e8853a45c1b7990d47e8160e523683f3935\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://287a2f8d5814dd0f05f22b740f18ca8321acc21c9bd03a6cb2203ea626e2f3f2\",\"dweb:/ipfs/QmZRQv9iuwU817VuqkA2WweiaibKii69x9QxYBBEfbNEud\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}", + "storageLayout": { + "storage": [ + { + "astId": 861, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol:PoolBase", + "label": "_roles", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_bytes32,t_struct(RoleData)856_storage)" + }, + { + "astId": 1229, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol:PoolBase", + "label": "_status", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 140, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol:PoolBase", + "label": "dataStorage", + "offset": 0, + "slot": "2", + "type": "t_contract(DataStorageInterface)113" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_contract(DataStorageInterface)113": { + "encoding": "inplace", + "label": "contract DataStorageInterface", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_bool)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_bytes32,t_struct(RoleData)856_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => struct AccessControl.RoleData)", + "numberOfBytes": "32", + "value": "t_struct(RoleData)856_storage" + }, + "t_struct(RoleData)856_storage": { + "encoding": "inplace", + "label": "struct AccessControl.RoleData", + "members": [ + { + "astId": 853, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol:PoolBase", + "label": "members", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 855, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol:PoolBase", + "label": "adminRole", + "offset": 0, + "slot": "1", + "type": "t_bytes32" + } + ], + "numberOfBytes": "64" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } + }, + "userdoc": { + "kind": "user", + "methods": { + "constructor": { + "notice": "This contract will be deployed by the same address of the initial guardian. Afterwards Guardian may not be the same as the adminif the guardian renounces to their guard." + }, + "setPoolFees(uint256)": { + "notice": "E.G. If 0.001235 fees fraction are desired, 0.001235 * (10**6) = 1235.Also it sets the state variable \"poolFeesSet\" as true." + }, + "setPoolLive(bool)": { + "notice": "While live, anyone can invest but any state variable can be modified nor deleted." + }, + "setRewardsInterest(uint256)": { + "notice": "E.G. If 0.001134 rate is desired, 0.001134 * (10**6) = 1134." + } + }, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/TokenBalances.sol": { + "TokenBalances": { + "abi": [ + { + "inputs": [ + { + "internalType": "contract DataStorageInterface", + "name": "_dataStorageAddress", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_removedManager", + "type": "address" + } + ], + "name": "ManagerRemoved", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_newManager", + "type": "address" + } + ], + "name": "NewManagerAdded", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "POOL_MANAGER", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "addPoolManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "getContributionLimit", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolFees", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolMaxSize", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolState", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardsInterest", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardsInterval", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getTotalEthSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getTotalEtherStaked", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getTotalrwEthSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "removePoolManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newContrLimit", + "type": "uint256" + } + ], + "name": "setContributionLimit", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newMinContr", + "type": "uint256" + } + ], + "name": "setMinContribution", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "setMinContribution", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_poolFees", + "type": "uint256" + } + ], + "name": "setPoolFees", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bool", + "name": "_live", + "type": "bool" + } + ], + "name": "setPoolLive", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_maxSize", + "type": "uint256" + } + ], + "name": "setPoolMaxSize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_rewardsInterest", + "type": "uint256" + } + ], + "name": "setRewardsInterest", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_daysToRewards", + "type": "uint256" + } + ], + "name": "setRewardsInterval", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "devdoc": { + "kind": "dev", + "methods": { + "getRoleAdmin(bytes32)": { + "details": "Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}." + }, + "grantRole(bytes32,address)": { + "details": "Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role." + }, + "hasRole(bytes32,address)": { + "details": "Returns `true` if `account` has been granted `role`." + }, + "renounceRole(bytes32,address)": { + "details": "Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`." + }, + "revokeRole(bytes32,address)": { + "details": "Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role." + }, + "setContributionLimit(uint256)": { + "details": "Set the max. contribution allowed for each user.", + "params": { + "_newContrLimit": "is a WEI value." + } + }, + "setMinContribution(uint256)": { + "details": "Set the min. contribution allowed for each user.", + "params": { + "_newMinContr": "is a WEI value." + } + }, + "setPoolFees(uint256)": { + "details": "Set the pool fees fraction that the pool charges for each deposit.", + "params": { + "_poolFees": "within the storage has 6 decimals." + } + }, + "setPoolLive(bool)": { + "details": "Toggles the Pool Investing Switch. " + }, + "setPoolMaxSize(uint256)": { + "details": "Sets the Pool Maximium size expressed on ether.", + "params": { + "_maxSize": "is a WEI value (or BigInt / BigNumber)." + } + }, + "setRewardsInterest(uint256)": { + "details": "Set the interest per effective period.", + "params": { + "_rewardsInterest": "within the storage has 6 decimals." + } + }, + "setRewardsInterval(uint256)": { + "details": "Set the interval in days of the rewards period." + }, + "supportsInterface(bytes4)": { + "details": "See {IERC165-supportsInterface}." + } + }, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": { + "@_1237": { + "entryPoint": null, + "id": 1237, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_169": { + "entryPoint": null, + "id": 169, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@_738": { + "entryPoint": null, + "id": 738, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@_grantRole_1113": { + "entryPoint": 803, + "id": 1113, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@_msgSender_1270": { + "entryPoint": null, + "id": 1270, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@_setPoolBaseAddress_276": { + "entryPoint": 185, + "id": 276, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_setTokenBalancesAddress_775": { + "entryPoint": 544, + "id": 775, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_setupRole_1053": { + "entryPoint": 169, + "id": 1053, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@hasRole_918": { + "entryPoint": null, + "id": 918, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_contract$_DataStorageInterface_$113_fromMemory": { + "entryPoint": 963, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_3b6d5f7972ed6795e7621e32620438487583050aef09a1228b0cc6a9a3f04fe9__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + } + }, + "generatedSources": [ + { + "ast": { + "nodeType": "YulBlock", + "src": "0:2084:10", + "statements": [ + { + "nodeType": "YulBlock", + "src": "6:3:10", + "statements": [] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "123:209:10", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "169:16:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "178:1:10", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "181:1:10", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "171:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "171:12:10" + }, + "nodeType": "YulExpressionStatement", + "src": "171:12:10" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "144:7:10" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "153:9:10" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "140:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "140:23:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "165:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "136:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "136:32:10" + }, + "nodeType": "YulIf", + "src": "133:52:10" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "194:29:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "213:9:10" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "207:5:10" + }, + "nodeType": "YulFunctionCall", + "src": "207:16:10" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "198:5:10", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "286:16:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "295:1:10", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "298:1:10", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "288:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "288:12:10" + }, + "nodeType": "YulExpressionStatement", + "src": "288:12:10" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "245:5:10" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "256:5:10" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "271:3:10", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "276:1:10", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "267:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "267:11:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "280:1:10", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "263:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "263:19:10" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "252:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "252:31:10" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "242:2:10" + }, + "nodeType": "YulFunctionCall", + "src": "242:42:10" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "235:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "235:50:10" + }, + "nodeType": "YulIf", + "src": "232:70:10" + }, + { + "nodeType": "YulAssignment", + "src": "311:15:10", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "321:5:10" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "311:6:10" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_contract$_DataStorageInterface_$113_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "89:9:10", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "100:7:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "112:6:10", + "type": "" + } + ], + "src": "14:318:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "557:150:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "574:3:10" + }, + { + "hexValue": "636f6e74726163745f657869737473", + "kind": "string", + "nodeType": "YulLiteral", + "src": "579:17:10", + "type": "", + "value": "contract_exists" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "567:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "567:30:10" + }, + "nodeType": "YulExpressionStatement", + "src": "567:30:10" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "617:3:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "622:2:10", + "type": "", + "value": "15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "613:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "613:12:10" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "635:2:10", + "type": "", + "value": "96" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "639:6:10" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "631:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "631:15:10" + }, + { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "660:2:10", + "type": "", + "value": "96" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "664:1:10", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "656:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "656:10:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "668:1:10", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "652:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "652:18:10" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "648:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "648:23:10" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "627:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "627:45:10" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "606:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "606:67:10" + }, + "nodeType": "YulExpressionStatement", + "src": "606:67:10" + }, + { + "nodeType": "YulAssignment", + "src": "682:19:10", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "693:3:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "698:2:10", + "type": "", + "value": "35" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "689:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "689:12:10" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "682:3:10" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "533:3:10", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "538:6:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "549:3:10", + "type": "" + } + ], + "src": "337:370:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "835:135:10", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "845:26:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "857:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "868:2:10", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "853:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "853:18:10" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "845:4:10" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "887:9:10" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "898:6:10" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "880:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "880:25:10" + }, + "nodeType": "YulExpressionStatement", + "src": "880:25:10" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "925:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "936:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "921:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "921:18:10" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "955:6:10" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "948:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "948:14:10" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "941:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "941:22:10" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "914:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "914:50:10" + }, + "nodeType": "YulExpressionStatement", + "src": "914:50:10" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "796:9:10", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "807:6:10", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "815:6:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "826:4:10", + "type": "" + } + ], + "src": "712:258:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1268:116:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "1285:3:10" + }, + { + "hexValue": "636f6e74726163745f61646472657373", + "kind": "string", + "nodeType": "YulLiteral", + "src": "1290:18:10", + "type": "", + "value": "contract_address" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1278:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "1278:31:10" + }, + "nodeType": "YulExpressionStatement", + "src": "1278:31:10" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "1329:3:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1334:2:10", + "type": "", + "value": "16" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1325:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "1325:12:10" + }, + { + "hexValue": "506f6f6c42617365", + "kind": "string", + "nodeType": "YulLiteral", + "src": "1339:10:10", + "type": "", + "value": "PoolBase" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1318:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "1318:32:10" + }, + "nodeType": "YulExpressionStatement", + "src": "1318:32:10" + }, + { + "nodeType": "YulAssignment", + "src": "1359:19:10", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "1370:3:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1375:2:10", + "type": "", + "value": "24" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1366:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "1366:12:10" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "1359:3:10" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "1252:3:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "1260:3:10", + "type": "" + } + ], + "src": "975:409:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1518:145:10", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "1528:26:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1540:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1551:2:10", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1536:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "1536:18:10" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "1528:4:10" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1570:9:10" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1581:6:10" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1563:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "1563:25:10" + }, + "nodeType": "YulExpressionStatement", + "src": "1563:25:10" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1608:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1619:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1604:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "1604:18:10" + }, + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "1628:6:10" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1644:3:10", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1649:1:10", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "1640:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "1640:11:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1653:1:10", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1636:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "1636:19:10" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "1624:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "1624:32:10" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1597:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "1597:60:10" + }, + "nodeType": "YulExpressionStatement", + "src": "1597:60:10" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1479:9:10", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "1490:6:10", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1498:6:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "1509:4:10", + "type": "" + } + ], + "src": "1389:274:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1961:121:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "1978:3:10" + }, + { + "hexValue": "636f6e74726163745f61646472657373", + "kind": "string", + "nodeType": "YulLiteral", + "src": "1983:18:10", + "type": "", + "value": "contract_address" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1971:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "1971:31:10" + }, + "nodeType": "YulExpressionStatement", + "src": "1971:31:10" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "2022:3:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2027:2:10", + "type": "", + "value": "16" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2018:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "2018:12:10" + }, + { + "hexValue": "546f6b656e42616c616e636573", + "kind": "string", + "nodeType": "YulLiteral", + "src": "2032:15:10", + "type": "", + "value": "TokenBalances" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2011:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "2011:37:10" + }, + "nodeType": "YulExpressionStatement", + "src": "2011:37:10" + }, + { + "nodeType": "YulAssignment", + "src": "2057:19:10", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "2068:3:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2073:2:10", + "type": "", + "value": "29" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2064:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "2064:12:10" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "2057:3:10" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_3b6d5f7972ed6795e7621e32620438487583050aef09a1228b0cc6a9a3f04fe9__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "1945:3:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "1953:3:10", + "type": "" + } + ], + "src": "1668:414:10" + } + ] + }, + "contents": "{\n { }\n function abi_decode_tuple_t_contract$_DataStorageInterface_$113_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := mload(headStart)\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n value0 := value\n }\n function abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed(pos, value0) -> end\n {\n mstore(pos, \"contract_exists\")\n mstore(add(pos, 15), and(shl(96, value0), not(sub(shl(96, 1), 1))))\n end := add(pos, 35)\n }\n function abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), iszero(iszero(value1)))\n }\n function abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"contract_address\")\n mstore(add(pos, 16), \"PoolBase\")\n end := add(pos, 24)\n }\n function abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), and(value1, sub(shl(160, 1), 1)))\n }\n function abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_3b6d5f7972ed6795e7621e32620438487583050aef09a1228b0cc6a9a3f04fe9__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"contract_address\")\n mstore(add(pos, 16), \"TokenBalances\")\n end := add(pos, 29)\n }\n}", + "id": 10, + "language": "Yul", + "name": "#utility.yul" + } + ], + "linkReferences": {}, + "object": "60806040523480156200001157600080fd5b50604051620019d4380380620019d48339810160408190526200003491620003c3565b60018055600280546001600160a01b0319166001600160a01b0383161790558062000061600033620000a9565b6200008d7f41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e384233620000a9565b62000097620000b9565b50620000a262000220565b50620003f5565b620000b5828262000323565b5050565b6002546040516e636f6e74726163745f65786973747360881b60208201526001600160601b03193060601b16602f8201526001600160a01b039091169063988c515b9060430160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b168252600482015260016024820152604401600060405180830381600087803b1580156200015357600080fd5b505af115801562000168573d6000803e3d6000fd5b50506002546040516f636f6e74726163745f6164647265737360801b602082015267506f6f6c4261736560c01b60308201526001600160a01b039091169250637221263a91506038015b60408051601f198184030181529082905280516020909101206001600160e01b031960e084901b1682526004820152306024820152604401600060405180830381600087803b1580156200020557600080fd5b505af11580156200021a573d6000803e3d6000fd5b50505050565b6002546040516e636f6e74726163745f65786973747360881b60208201526001600160601b03193060601b16602f8201526001600160a01b039091169063988c515b9060430160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b168252600482015260016024820152604401600060405180830381600087803b158015620002ba57600080fd5b505af1158015620002cf573d6000803e3d6000fd5b50506002546040516f636f6e74726163745f6164647265737360801b60208201526c546f6b656e42616c616e63657360981b60308201526001600160a01b039091169250637221263a9150603d01620001b2565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620000b5576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556200037f3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600060208284031215620003d657600080fd5b81516001600160a01b0381168114620003ee57600080fd5b9392505050565b6115cf80620004056000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c806362308e85116100f9578063a217fddf11610097578063d1d8d06011610071578063d1d8d06014610342578063d547741f1461034a578063e2bcb3df1461035d578063fa1e19e51461036557600080fd5b8063a217fddf14610314578063a49755161461031c578063bf4c00361461032f57600080fd5b806372d099a0116100d357806372d099a0146102d35780637521796f146102e65780638dd225d5146102ee57806391d148541461030157600080fd5b806362308e85146102ae5780636402c262146102c357806370959ff8146102cb57600080fd5b80632f2ff15d11610166578063473b0d4611610140578063473b0d4614610278578063497d02411461028b57806353710f4914610293578063543edfb6146102a657600080fd5b80632f2ff15d1461023f57806336568abe1461025257806345077e711461026557600080fd5b806301ffc9a7146101ae578063095df57f146101d657806312646987146101ec578063217ac23714610201578063248a9ca31461020957806329ca15bc1461022c575b600080fd5b6101c16101bc3660046112ba565b61036d565b60405190151581526020015b60405180910390f35b6101de6103a4565b6040519081526020016101cd565b6101ff6101fa3660046112e4565b610461565b005b6101c161051a565b6101de6102173660046112e4565b60009081526020819052604090206001015490565b6101ff61023a366004611319565b6105bf565b6101ff61024d366004611334565b61061b565b6101ff610260366004611334565b610646565b6101ff610273366004611319565b6106c9565b6101ff6102863660046112e4565b610725565b6101de610828565b6101ff6102a13660046112e4565b61084e565b6101de6109a8565b6101de60008051602061157a83398151915281565b6101de6109d0565b6101de6109fa565b6101ff6102e13660046112e4565b610a25565b6101de610b2a565b6101ff6102fc3660046112e4565b610b5b565b6101c161030f366004611334565b610d74565b6101de600081565b6101ff61032a366004611371565b610d9d565b6101ff61033d3660046112e4565b610e17565b6101de610f23565b6101ff610358366004611334565b610f44565b6101de610f6a565b6101de610fa0565b60006001600160e01b03198216637965db0b60e01b148061039e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6000806040516020016103c8906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b15801561042357600080fd5b505afa158015610437573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045b919061138e565b91505090565b60008051602061157a83398151915261047a8133610fca565b6040516a706f6f6c4d617853697a6560a81b6020820152600090602b015b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018690529092506001600160a01b0316906328192c55906044015b600060405180830381600087803b1580156104fd57600080fd5b505af1158015610511573d6000803e3d6000fd5b50505050505050565b60008060405160200161052c906113a7565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561058757600080fd5b505afa15801561059b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045b91906113bd565b60006105cb8133610fca565b6105e360008051602061157a83398151915283610f44565b6040516001600160a01b038316907fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd3190600090a25050565b6000828152602081905260409020600101546106378133610fca565b610641838361102e565b505050565b6001600160a01b03811633146106bb5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6106c582826110b2565b5050565b60006106d58133610fca565b6106ed60008051602061157a8339815191528361061b565b6040516001600160a01b038316907fd873e3f571dc25e020cefdeb7255b3874ead3aade1f94a5fb4a5da831fd670cd90600090a25050565b60008051602061157a83398151915261073e8133610fca565b6002546040516001600160a01b03909116906355d9465590610762906020016113a7565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161079691815260200190565b60206040518083038186803b1580156107ae57600080fd5b505afa1580156107c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e691906113bd565b6108025760405162461bcd60e51b81526004016106b2906113da565b6040516e36b4b721b7b73a3934b13aba34b7b760891b6020820152600090602f01610498565b6000806040516020016103c8906c64617973546f5265776172647360981b8152600d0190565b60008051602061157a8339815191526108678133610fca565b6002546040516001600160a01b03909116906355d946559061088b906020016113a7565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b81526004016108bf91815260200190565b60206040518083038186803b1580156108d757600080fd5b505afa1580156108eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090f91906113bd565b61092b5760405162461bcd60e51b81526004016106b2906113da565b604080516c64617973546f5265776172647360981b6020808301919091528251600d818403018152602d90920190925280519101206002546001600160a01b03166328192c558261097f8662015180611427565b6040516001600160e01b031960e085901b168152600481019290925260248201526044016104e3565b6000806040516020016103c8906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b6000806040516020016103c890703a37ba30b629bab838363cafa2ba3432b960791b815260110190565b6000806040516020016103c890711d1bdd185b17d95d1a195c97dcdd185ad95960721b815260120190565b60008051602061157a833981519152610a3e8133610fca565b6002546040516001600160a01b03909116906355d9465590610a62906020016113a7565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610a9691815260200190565b60206040518083038186803b158015610aae57600080fd5b505afa158015610ac2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae691906113bd565b610b025760405162461bcd60e51b81526004016106b2906113da565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b6020820152600090603101610498565b6000806040516020016103c890771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b60008051602061157a833981519152610b748133610fca565b6002546040516001600160a01b03909116906355d9465590610b98906020016113a7565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610bcc91815260200190565b60206040518083038186803b158015610be457600080fd5b505afa158015610bf8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1c91906113bd565b610c385760405162461bcd60e51b81526004016106b2906113da565b60405167706f6f6c4665657360c01b60208201526000906028016040516020818303038152906040528051906020012090506000604051602001610c8d906a1c1bdbdb1199595cd4d95d60aa1b8152600b0190565b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301859052602483018790529092506001600160a01b0316906328192c5590604401600060405180830381600087803b158015610cf157600080fd5b505af1158015610d05573d6000803e3d6000fd5b505060025460405163988c515b60e01b815260048101859052600160248201526001600160a01b03909116925063988c515b9150604401600060405180830381600087803b158015610d5657600080fd5b505af1158015610d6a573d6000803e3d6000fd5b5050505050505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60008051602061157a833981519152610db68133610fca565b6000604051602001610dc7906113a7565b60408051808303601f1901815290829052805160209091012060025463988c515b60e01b83526004830182905285151560248401529092506001600160a01b03169063988c515b906044016104e3565b60008051602061157a833981519152610e308133610fca565b6002546040516001600160a01b03909116906355d9465590610e54906020016113a7565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610e8891815260200190565b60206040518083038186803b158015610ea057600080fd5b505afa158015610eb4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed891906113bd565b610ef45760405162461bcd60e51b81526004016106b2906113da565b604051771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b6020820152600090603801610498565b6000806040516020016103c89067706f6f6c4665657360c01b815260080190565b600082815260208190526040902060010154610f608133610fca565b61064183836110b2565b6000806040516020016103c8907f746f74616c537570706c795f7265776172644574686572000000000000000000815260170190565b6000806040516020016103c8907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b610fd48282610d74565b6106c557610fec816001600160a01b03166014611117565b610ff7836020611117565b604051602001611008929190611476565b60408051601f198184030181529082905262461bcd60e51b82526106b2916004016114eb565b6110388282610d74565b6106c5576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905561106e3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6110bc8282610d74565b156106c5576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60606000611126836002611427565b61113190600261151e565b67ffffffffffffffff81111561114957611149611536565b6040519080825280601f01601f191660200182016040528015611173576020820181803683370190505b509050600360fc1b8160008151811061118e5761118e61154c565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106111bd576111bd61154c565b60200101906001600160f81b031916908160001a90535060006111e1846002611427565b6111ec90600161151e565b90505b6001811115611264576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106112205761122061154c565b1a60f81b8282815181106112365761123661154c565b60200101906001600160f81b031916908160001a90535060049490941c9361125d81611562565b90506111ef565b5083156112b35760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016106b2565b9392505050565b6000602082840312156112cc57600080fd5b81356001600160e01b0319811681146112b357600080fd5b6000602082840312156112f657600080fd5b5035919050565b80356001600160a01b038116811461131457600080fd5b919050565b60006020828403121561132b57600080fd5b6112b3826112fd565b6000806040838503121561134757600080fd5b82359150611357602084016112fd565b90509250929050565b801515811461136e57600080fd5b50565b60006020828403121561138357600080fd5b81356112b381611360565b6000602082840312156113a057600080fd5b5051919050565b696973506f6f6c4c69766560b01b8152600a0190565b6000602082840312156113cf57600080fd5b81516112b381611360565b6020808252601d908201527f54686520706f6f6c2069732063757272656e746c7920636c6f7365642e000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561144157611441611411565b500290565b60005b83811015611461578181015183820152602001611449565b83811115611470576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516114ae816017850160208801611446565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516114df816028840160208801611446565b01602801949350505050565b602081526000825180602084015261150a816040850160208701611446565b601f01601f19169190910160400192915050565b6000821982111561153157611531611411565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008161157157611571611411565b50600019019056fe41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842a2646970667358221220d02c73dad5c09ebc6e3d882f7d6d4d82b3fb3f920fdfe698d640fae86b0ff9fd64736f6c63430008090033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH3 0x11 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH3 0x19D4 CODESIZE SUB DUP1 PUSH3 0x19D4 DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH3 0x34 SWAP2 PUSH3 0x3C3 JUMP JUMPDEST PUSH1 0x1 DUP1 SSTORE PUSH1 0x2 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND OR SWAP1 SSTORE DUP1 PUSH3 0x61 PUSH1 0x0 CALLER PUSH3 0xA9 JUMP JUMPDEST PUSH3 0x8D PUSH32 0x41A01EC0A13B563FA452569E3FBB116366D217C2769AA1561822E65A617E3842 CALLER PUSH3 0xA9 JUMP JUMPDEST PUSH3 0x97 PUSH3 0xB9 JUMP JUMPDEST POP PUSH3 0xA2 PUSH3 0x220 JUMP JUMPDEST POP PUSH3 0x3F5 JUMP JUMPDEST PUSH3 0xB5 DUP3 DUP3 PUSH3 0x323 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH15 0x636F6E74726163745F657869737473 PUSH1 0x88 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB NOT ADDRESS PUSH1 0x60 SHL AND PUSH1 0x2F DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x988C515B SWAP1 PUSH1 0x43 ADD PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT PUSH1 0xE0 DUP5 SWAP1 SHL AND DUP3 MSTORE PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x153 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH3 0x168 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH16 0x636F6E74726163745F61646472657373 PUSH1 0x80 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH8 0x506F6F6C42617365 PUSH1 0xC0 SHL PUSH1 0x30 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP3 POP PUSH4 0x7221263A SWAP2 POP PUSH1 0x38 ADD JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT PUSH1 0xE0 DUP5 SWAP1 SHL AND DUP3 MSTORE PUSH1 0x4 DUP3 ADD MSTORE ADDRESS PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x205 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH3 0x21A JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH15 0x636F6E74726163745F657869737473 PUSH1 0x88 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB NOT ADDRESS PUSH1 0x60 SHL AND PUSH1 0x2F DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x988C515B SWAP1 PUSH1 0x43 ADD PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT PUSH1 0xE0 DUP5 SWAP1 SHL AND DUP3 MSTORE PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x2BA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH3 0x2CF JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH16 0x636F6E74726163745F61646472657373 PUSH1 0x80 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH13 0x546F6B656E42616C616E636573 PUSH1 0x98 SHL PUSH1 0x30 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP3 POP PUSH4 0x7221263A SWAP2 POP PUSH1 0x3D ADD PUSH3 0x1B2 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH3 0xB5 JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH3 0x37F CALLER SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH3 0x3D6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH3 0x3EE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0x15CF DUP1 PUSH3 0x405 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x1A9 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x62308E85 GT PUSH2 0xF9 JUMPI DUP1 PUSH4 0xA217FDDF GT PUSH2 0x97 JUMPI DUP1 PUSH4 0xD1D8D060 GT PUSH2 0x71 JUMPI DUP1 PUSH4 0xD1D8D060 EQ PUSH2 0x342 JUMPI DUP1 PUSH4 0xD547741F EQ PUSH2 0x34A JUMPI DUP1 PUSH4 0xE2BCB3DF EQ PUSH2 0x35D JUMPI DUP1 PUSH4 0xFA1E19E5 EQ PUSH2 0x365 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xA217FDDF EQ PUSH2 0x314 JUMPI DUP1 PUSH4 0xA4975516 EQ PUSH2 0x31C JUMPI DUP1 PUSH4 0xBF4C0036 EQ PUSH2 0x32F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x72D099A0 GT PUSH2 0xD3 JUMPI DUP1 PUSH4 0x72D099A0 EQ PUSH2 0x2D3 JUMPI DUP1 PUSH4 0x7521796F EQ PUSH2 0x2E6 JUMPI DUP1 PUSH4 0x8DD225D5 EQ PUSH2 0x2EE JUMPI DUP1 PUSH4 0x91D14854 EQ PUSH2 0x301 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x62308E85 EQ PUSH2 0x2AE JUMPI DUP1 PUSH4 0x6402C262 EQ PUSH2 0x2C3 JUMPI DUP1 PUSH4 0x70959FF8 EQ PUSH2 0x2CB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x2F2FF15D GT PUSH2 0x166 JUMPI DUP1 PUSH4 0x473B0D46 GT PUSH2 0x140 JUMPI DUP1 PUSH4 0x473B0D46 EQ PUSH2 0x278 JUMPI DUP1 PUSH4 0x497D0241 EQ PUSH2 0x28B JUMPI DUP1 PUSH4 0x53710F49 EQ PUSH2 0x293 JUMPI DUP1 PUSH4 0x543EDFB6 EQ PUSH2 0x2A6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x2F2FF15D EQ PUSH2 0x23F JUMPI DUP1 PUSH4 0x36568ABE EQ PUSH2 0x252 JUMPI DUP1 PUSH4 0x45077E71 EQ PUSH2 0x265 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x1AE JUMPI DUP1 PUSH4 0x95DF57F EQ PUSH2 0x1D6 JUMPI DUP1 PUSH4 0x12646987 EQ PUSH2 0x1EC JUMPI DUP1 PUSH4 0x217AC237 EQ PUSH2 0x201 JUMPI DUP1 PUSH4 0x248A9CA3 EQ PUSH2 0x209 JUMPI DUP1 PUSH4 0x29CA15BC EQ PUSH2 0x22C JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1C1 PUSH2 0x1BC CALLDATASIZE PUSH1 0x4 PUSH2 0x12BA JUMP JUMPDEST PUSH2 0x36D JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1DE PUSH2 0x3A4 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1CD JUMP JUMPDEST PUSH2 0x1FF PUSH2 0x1FA CALLDATASIZE PUSH1 0x4 PUSH2 0x12E4 JUMP JUMPDEST PUSH2 0x461 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x1C1 PUSH2 0x51A JUMP JUMPDEST PUSH2 0x1DE PUSH2 0x217 CALLDATASIZE PUSH1 0x4 PUSH2 0x12E4 JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x1FF PUSH2 0x23A CALLDATASIZE PUSH1 0x4 PUSH2 0x1319 JUMP JUMPDEST PUSH2 0x5BF JUMP JUMPDEST PUSH2 0x1FF PUSH2 0x24D CALLDATASIZE PUSH1 0x4 PUSH2 0x1334 JUMP JUMPDEST PUSH2 0x61B JUMP JUMPDEST PUSH2 0x1FF PUSH2 0x260 CALLDATASIZE PUSH1 0x4 PUSH2 0x1334 JUMP JUMPDEST PUSH2 0x646 JUMP JUMPDEST PUSH2 0x1FF PUSH2 0x273 CALLDATASIZE PUSH1 0x4 PUSH2 0x1319 JUMP JUMPDEST PUSH2 0x6C9 JUMP JUMPDEST PUSH2 0x1FF PUSH2 0x286 CALLDATASIZE PUSH1 0x4 PUSH2 0x12E4 JUMP JUMPDEST PUSH2 0x725 JUMP JUMPDEST PUSH2 0x1DE PUSH2 0x828 JUMP JUMPDEST PUSH2 0x1FF PUSH2 0x2A1 CALLDATASIZE PUSH1 0x4 PUSH2 0x12E4 JUMP JUMPDEST PUSH2 0x84E JUMP JUMPDEST PUSH2 0x1DE PUSH2 0x9A8 JUMP JUMPDEST PUSH2 0x1DE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x157A DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 JUMP JUMPDEST PUSH2 0x1DE PUSH2 0x9D0 JUMP JUMPDEST PUSH2 0x1DE PUSH2 0x9FA JUMP JUMPDEST PUSH2 0x1FF PUSH2 0x2E1 CALLDATASIZE PUSH1 0x4 PUSH2 0x12E4 JUMP JUMPDEST PUSH2 0xA25 JUMP JUMPDEST PUSH2 0x1DE PUSH2 0xB2A JUMP JUMPDEST PUSH2 0x1FF PUSH2 0x2FC CALLDATASIZE PUSH1 0x4 PUSH2 0x12E4 JUMP JUMPDEST PUSH2 0xB5B JUMP JUMPDEST PUSH2 0x1C1 PUSH2 0x30F CALLDATASIZE PUSH1 0x4 PUSH2 0x1334 JUMP JUMPDEST PUSH2 0xD74 JUMP JUMPDEST PUSH2 0x1DE PUSH1 0x0 DUP2 JUMP JUMPDEST PUSH2 0x1FF PUSH2 0x32A CALLDATASIZE PUSH1 0x4 PUSH2 0x1371 JUMP JUMPDEST PUSH2 0xD9D JUMP JUMPDEST PUSH2 0x1FF PUSH2 0x33D CALLDATASIZE PUSH1 0x4 PUSH2 0x12E4 JUMP JUMPDEST PUSH2 0xE17 JUMP JUMPDEST PUSH2 0x1DE PUSH2 0xF23 JUMP JUMPDEST PUSH2 0x1FF PUSH2 0x358 CALLDATASIZE PUSH1 0x4 PUSH2 0x1334 JUMP JUMPDEST PUSH2 0xF44 JUMP JUMPDEST PUSH2 0x1DE PUSH2 0xF6A JUMP JUMPDEST PUSH2 0x1DE PUSH2 0xFA0 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH4 0x7965DB0B PUSH1 0xE0 SHL EQ DUP1 PUSH2 0x39E JUMPI POP PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP4 AND EQ JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x3C8 SWAP1 PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL DUP2 MSTORE PUSH1 0xB ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x423 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x437 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x45B SWAP2 SWAP1 PUSH2 0x138E JUMP JUMPDEST SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x157A DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x47A DUP2 CALLER PUSH2 0xFCA JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2B ADD JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP7 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x4FD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x511 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x52C SWAP1 PUSH2 0x13A7 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x55D94655 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x587 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x59B JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x45B SWAP2 SWAP1 PUSH2 0x13BD JUMP JUMPDEST PUSH1 0x0 PUSH2 0x5CB DUP2 CALLER PUSH2 0xFCA JUMP JUMPDEST PUSH2 0x5E3 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x157A DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0xF44 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xEF69F7D97228658C92417BE1B16B19058315DE71FECB435D07B7D23728B6BD31 SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0x637 DUP2 CALLER PUSH2 0xFCA JUMP JUMPDEST PUSH2 0x641 DUP4 DUP4 PUSH2 0x102E JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND CALLER EQ PUSH2 0x6BB JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416363657373436F6E74726F6C3A2063616E206F6E6C792072656E6F756E6365 PUSH1 0x44 DUP3 ADD MSTORE PUSH15 0x103937B632B9903337B91039B2B633 PUSH1 0x89 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x6C5 DUP3 DUP3 PUSH2 0x10B2 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x6D5 DUP2 CALLER PUSH2 0xFCA JUMP JUMPDEST PUSH2 0x6ED PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x157A DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0x61B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xD873E3F571DC25E020CEFDEB7255B3874EAD3AADE1F94A5FB4A5DA831FD670CD SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x157A DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x73E DUP2 CALLER PUSH2 0xFCA JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x762 SWAP1 PUSH1 0x20 ADD PUSH2 0x13A7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x796 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x7AE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x7C2 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x7E6 SWAP2 SWAP1 PUSH2 0x13BD JUMP JUMPDEST PUSH2 0x802 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6B2 SWAP1 PUSH2 0x13DA JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2F ADD PUSH2 0x498 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x3C8 SWAP1 PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL DUP2 MSTORE PUSH1 0xD ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x157A DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x867 DUP2 CALLER PUSH2 0xFCA JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x88B SWAP1 PUSH1 0x20 ADD PUSH2 0x13A7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x8BF SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x8D7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x8EB JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x90F SWAP2 SWAP1 PUSH2 0x13BD JUMP JUMPDEST PUSH2 0x92B JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6B2 SWAP1 PUSH2 0x13DA JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL PUSH1 0x20 DUP1 DUP4 ADD SWAP2 SWAP1 SWAP2 MSTORE DUP3 MLOAD PUSH1 0xD DUP2 DUP5 SUB ADD DUP2 MSTORE PUSH1 0x2D SWAP1 SWAP3 ADD SWAP1 SWAP3 MSTORE DUP1 MLOAD SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x28192C55 DUP3 PUSH2 0x97F DUP7 PUSH3 0x15180 PUSH2 0x1427 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT PUSH1 0xE0 DUP6 SWAP1 SHL AND DUP2 MSTORE PUSH1 0x4 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH2 0x4E3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x3C8 SWAP1 PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL DUP2 MSTORE PUSH1 0xF ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x3C8 SWAP1 PUSH17 0x3A37BA30B629BAB838363CAFA2BA3432B9 PUSH1 0x79 SHL DUP2 MSTORE PUSH1 0x11 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x3C8 SWAP1 PUSH18 0x1D1BDD185B17D95D1A195C97DCDD185AD959 PUSH1 0x72 SHL DUP2 MSTORE PUSH1 0x12 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x157A DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xA3E DUP2 CALLER PUSH2 0xFCA JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xA62 SWAP1 PUSH1 0x20 ADD PUSH2 0x13A7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xA96 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xAAE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xAC2 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xAE6 SWAP2 SWAP1 PUSH2 0x13BD JUMP JUMPDEST PUSH2 0xB02 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6B2 SWAP1 PUSH2 0x13DA JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x31 ADD PUSH2 0x498 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x3C8 SWAP1 PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL DUP2 MSTORE PUSH1 0x18 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x157A DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xB74 DUP2 CALLER PUSH2 0xFCA JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xB98 SWAP1 PUSH1 0x20 ADD PUSH2 0x13A7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xBCC SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xBE4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xBF8 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xC1C SWAP2 SWAP1 PUSH2 0x13BD JUMP JUMPDEST PUSH2 0xC38 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6B2 SWAP1 PUSH2 0x13DA JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH8 0x706F6F6C46656573 PUSH1 0xC0 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x28 ADD PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xC8D SWAP1 PUSH11 0x1C1BDBDB1199595CD4D95D PUSH1 0xAA SHL DUP2 MSTORE PUSH1 0xB ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP6 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP8 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xCF1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xD05 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0x988C515B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP6 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP3 POP PUSH4 0x988C515B SWAP2 POP PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xD56 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xD6A JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP3 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 SWAP1 SWAP4 AND DUP5 MSTORE SWAP2 SWAP1 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x157A DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xDB6 DUP2 CALLER PUSH2 0xFCA JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xDC7 SWAP1 PUSH2 0x13A7 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x988C515B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE DUP6 ISZERO ISZERO PUSH1 0x24 DUP5 ADD MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x988C515B SWAP1 PUSH1 0x44 ADD PUSH2 0x4E3 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x157A DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xE30 DUP2 CALLER PUSH2 0xFCA JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xE54 SWAP1 PUSH1 0x20 ADD PUSH2 0x13A7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xE88 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xEA0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xEB4 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xED8 SWAP2 SWAP1 PUSH2 0x13BD JUMP JUMPDEST PUSH2 0xEF4 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6B2 SWAP1 PUSH2 0x13DA JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x38 ADD PUSH2 0x498 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x3C8 SWAP1 PUSH8 0x706F6F6C46656573 PUSH1 0xC0 SHL DUP2 MSTORE PUSH1 0x8 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0xF60 DUP2 CALLER PUSH2 0xFCA JUMP JUMPDEST PUSH2 0x641 DUP4 DUP4 PUSH2 0x10B2 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x3C8 SWAP1 PUSH32 0x746F74616C537570706C795F7265776172644574686572000000000000000000 DUP2 MSTORE PUSH1 0x17 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x3C8 SWAP1 PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL DUP2 MSTORE PUSH1 0x11 ADD SWAP1 JUMP JUMPDEST PUSH2 0xFD4 DUP3 DUP3 PUSH2 0xD74 JUMP JUMPDEST PUSH2 0x6C5 JUMPI PUSH2 0xFEC DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x14 PUSH2 0x1117 JUMP JUMPDEST PUSH2 0xFF7 DUP4 PUSH1 0x20 PUSH2 0x1117 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1008 SWAP3 SWAP2 SWAP1 PUSH2 0x1476 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE PUSH3 0x461BCD PUSH1 0xE5 SHL DUP3 MSTORE PUSH2 0x6B2 SWAP2 PUSH1 0x4 ADD PUSH2 0x14EB JUMP JUMPDEST PUSH2 0x1038 DUP3 DUP3 PUSH2 0xD74 JUMP JUMPDEST PUSH2 0x6C5 JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH2 0x106E CALLER SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH2 0x10BC DUP3 DUP3 PUSH2 0xD74 JUMP JUMPDEST ISZERO PUSH2 0x6C5 JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP1 DUP6 MSTORE SWAP3 MSTORE DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE MLOAD CALLER SWAP3 DUP6 SWAP2 PUSH32 0xF6391F5C32D9C69D2A47EA670B442974B53935D1EDC7FD64EB21E047A839171B SWAP2 SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH2 0x1126 DUP4 PUSH1 0x2 PUSH2 0x1427 JUMP JUMPDEST PUSH2 0x1131 SWAP1 PUSH1 0x2 PUSH2 0x151E JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1149 JUMPI PUSH2 0x1149 PUSH2 0x1536 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x1173 JUMPI PUSH1 0x20 DUP3 ADD DUP2 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x3 PUSH1 0xFC SHL DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x118E JUMPI PUSH2 0x118E PUSH2 0x154C JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0xF PUSH1 0xFB SHL DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x11BD JUMPI PUSH2 0x11BD PUSH2 0x154C JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x0 PUSH2 0x11E1 DUP5 PUSH1 0x2 PUSH2 0x1427 JUMP JUMPDEST PUSH2 0x11EC SWAP1 PUSH1 0x1 PUSH2 0x151E JUMP JUMPDEST SWAP1 POP JUMPDEST PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x1264 JUMPI PUSH16 0x181899199A1A9B1B9C1CB0B131B232B3 PUSH1 0x81 SHL DUP6 PUSH1 0xF AND PUSH1 0x10 DUP2 LT PUSH2 0x1220 JUMPI PUSH2 0x1220 PUSH2 0x154C JUMP JUMPDEST BYTE PUSH1 0xF8 SHL DUP3 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x1236 JUMPI PUSH2 0x1236 PUSH2 0x154C JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x4 SWAP5 SWAP1 SWAP5 SHR SWAP4 PUSH2 0x125D DUP2 PUSH2 0x1562 JUMP JUMPDEST SWAP1 POP PUSH2 0x11EF JUMP JUMPDEST POP DUP4 ISZERO PUSH2 0x12B3 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x537472696E67733A20686578206C656E67746820696E73756666696369656E74 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6B2 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x12CC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND DUP2 EQ PUSH2 0x12B3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x12F6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x1314 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x132B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x12B3 DUP3 PUSH2 0x12FD JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1347 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD SWAP2 POP PUSH2 0x1357 PUSH1 0x20 DUP5 ADD PUSH2 0x12FD JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0x136E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1383 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x12B3 DUP2 PUSH2 0x1360 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x13A0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH10 0x6973506F6F6C4C697665 PUSH1 0xB0 SHL DUP2 MSTORE PUSH1 0xA ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x13CF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x12B3 DUP2 PUSH2 0x1360 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1D SWAP1 DUP3 ADD MSTORE PUSH32 0x54686520706F6F6C2069732063757272656E746C7920636C6F7365642E000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x0 NOT DIV DUP4 GT DUP3 ISZERO ISZERO AND ISZERO PUSH2 0x1441 JUMPI PUSH2 0x1441 PUSH2 0x1411 JUMP JUMPDEST POP MUL SWAP1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x1461 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x1449 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x1470 JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH32 0x416363657373436F6E74726F6C3A206163636F756E7420000000000000000000 DUP2 MSTORE PUSH1 0x0 DUP4 MLOAD PUSH2 0x14AE DUP2 PUSH1 0x17 DUP6 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x1446 JUMP JUMPDEST PUSH17 0x1034B99036B4B9B9B4B733903937B6329 PUSH1 0x7D SHL PUSH1 0x17 SWAP2 DUP5 ADD SWAP2 DUP3 ADD MSTORE DUP4 MLOAD PUSH2 0x14DF DUP2 PUSH1 0x28 DUP5 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x1446 JUMP JUMPDEST ADD PUSH1 0x28 ADD SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 DUP3 MLOAD DUP1 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x150A DUP2 PUSH1 0x40 DUP6 ADD PUSH1 0x20 DUP8 ADD PUSH2 0x1446 JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP2 SWAP1 SWAP2 ADD PUSH1 0x40 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x1531 JUMPI PUSH2 0x1531 PUSH2 0x1411 JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH2 0x1571 JUMPI PUSH2 0x1571 PUSH2 0x1411 JUMP JUMPDEST POP PUSH1 0x0 NOT ADD SWAP1 JUMP INVALID COINBASE LOG0 0x1E 0xC0 LOG1 EXTCODESIZE JUMP EXTCODEHASH LOG4 MSTORE JUMP SWAP15 EXTCODEHASH 0xBB GT PUSH4 0x66D217C2 PUSH23 0x9AA1561822E65A617E3842A2646970667358221220D02C PUSH20 0xDAD5C09EBC6E3D882F7D6D4D82B3FB3F920FDFE6 SWAP9 0xD6 BLOCKHASH STATICCALL 0xE8 PUSH12 0xFF9FD64736F6C6343000809 STOP CALLER ", + "sourceMap": "230:1293:2:-:0;;;276:130;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1701:1:5;1806:22;;1262:11:1;:55;;-1:-1:-1;;;;;;1262:55:1;-1:-1:-1;;;;;1262:55:1;;;;;;1328:42;-1:-1:-1;1359:10:1;1328;:42::i;:::-;1381:36;715:25;1406:10;1381;:36::i;:::-;1428:21;:19;:21::i;:::-;-1:-1:-1;372:26:2::1;:24;:26::i;:::-;276:130:::0;230:1293;;6257:110:3;6335:25;6346:4;6352:7;6335:10;:25::i;:::-;6257:110;;:::o;2532:269:1:-;2582:11;;2619:50;;-1:-1:-1;;;2619:50:1;;;567:30:10;-1:-1:-1;;;;;;2663:4:1;660:2:10;631:15;627:45;613:12;;;606:67;-1:-1:-1;;;;;2582:11:1;;;;:26;;689:12:10;;2619:50:1;;;-1:-1:-1;;2619:50:1;;;;;;;;;;2609:61;;2619:50;2609:61;;;;-1:-1:-1;;;;;;2582:95:1;;;;;;;;;;880:25:10;2672:4:1;921:18:10;;;914:50;853:18;;2582:95:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2688:11:1;;2728:48;;-1:-1:-1;;;2728:48:1;;;1278:31:10;-1:-1:-1;;;1325:12:10;;;1318:32;-1:-1:-1;;;;;2688:11:1;;;;-1:-1:-1;2688:29:1;;-1:-1:-1;1366:12:10;;2728:48:1;;;;-1:-1:-1;;2728:48:1;;;;;;;;;;2718:59;;2728:48;2718:59;;;;-1:-1:-1;;;;;;2688:105:1;;;;;;;;;;1563:25:10;2787:4:1;1604:18:10;;;1597:60;1536:18;;2688:105:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2532:269::o;546:278:2:-;600:11;;637:50;;-1:-1:-1;;;637:50:2;;;567:30:10;-1:-1:-1;;;;;;681:4:2;660:2:10;631:15;627:45;613:12;;;606:67;-1:-1:-1;;;;;600:11:2;;;;:26;;689:12:10;;637:50:2;;;-1:-1:-1;;637:50:2;;;;;;;;;;627:61;;637:50;627:61;;;;-1:-1:-1;;;;;;600:95:2;;;;;;;;;;880:25:10;690:4:2;921:18:10;;;914:50;853:18;;600:95:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;706:11:2;;746:53;;-1:-1:-1;;;746:53:2;;;1971:31:10;-1:-1:-1;;;2018:12:10;;;2011:37;-1:-1:-1;;;;;706:11:2;;;;-1:-1:-1;706:29:2;;-1:-1:-1;2064:12:10;;746:53:2;1668:414:10;6861:233:3;2995:4;3018:12;;;;;;;;;;;-1:-1:-1;;;;;3018:29:3;;;;;;;;;;;;6939:149;;6982:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6982:29:3;;;;;;;;;:36;;-1:-1:-1;;6982:36:3;7014:4;6982:36;;;7064:12;719:10:6;;640:96;7064:12:3;-1:-1:-1;;;;;7037:40:3;7055:7;-1:-1:-1;;;;;7037:40:3;7049:4;7037:40;;;;;;;;;;6861:233;;:::o;14:318:10:-;112:6;165:2;153:9;144:7;140:23;136:32;133:52;;;181:1;178;171:12;133:52;207:16;;-1:-1:-1;;;;;252:31:10;;242:42;;232:70;;298:1;295;288:12;232:70;321:5;14:318;-1:-1:-1;;;14:318:10:o;1668:414::-;230:1293:2;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": { + "@DEFAULT_ADMIN_ROLE_864": { + "entryPoint": null, + "id": 864, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@POOL_MANAGER_128": { + "entryPoint": null, + "id": 128, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_checkRole_961": { + "entryPoint": 4042, + "id": 961, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@_grantRole_1113": { + "entryPoint": 4142, + "id": 1113, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@_msgSender_1270": { + "entryPoint": null, + "id": 1270, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@_revokeRole_1144": { + "entryPoint": 4274, + "id": 1144, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@addPoolManager_221": { + "entryPoint": 1737, + "id": 221, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@getContributionLimit_679": { + "entryPoint": 4000, + "id": 679, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getPoolFees_719": { + "entryPoint": 3875, + "id": 719, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getPoolMaxSize_619": { + "entryPoint": 932, + "id": 619, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getPoolState_599": { + "entryPoint": 1306, + "id": 599, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getRewardsInterest_659": { + "entryPoint": 2858, + "id": 659, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getRewardsInterval_639": { + "entryPoint": 2088, + "id": 639, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getRoleAdmin_976": { + "entryPoint": null, + "id": 976, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@getTotalEthSupply_795": { + "entryPoint": 2512, + "id": 795, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getTotalEtherStaked_835": { + "entryPoint": 2554, + "id": 835, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getTotalrwEthSupply_815": { + "entryPoint": 3946, + "id": 815, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@grantRole_996": { + "entryPoint": 1563, + "id": 996, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@hasRole_918": { + "entryPoint": 3444, + "id": 918, + "parameterSlots": 2, + "returnSlots": 1 + }, + "@removePoolManager_239": { + "entryPoint": 1471, + "id": 239, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@renounceRole_1039": { + "entryPoint": 1606, + "id": 1039, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@revokeRole_1016": { + "entryPoint": 3908, + "id": 1016, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@setContributionLimit_447": { + "entryPoint": 2597, + "id": 447, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setMinContribution_486": { + "entryPoint": 1829, + "id": 486, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setMinContribution_699": { + "entryPoint": 2472, + "id": 699, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@setPoolFees_541": { + "entryPoint": 2907, + "id": 541, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setPoolLive_302": { + "entryPoint": 3485, + "id": 302, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setPoolMaxSize_328": { + "entryPoint": 1121, + "id": 328, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setRewardsInterest_408": { + "entryPoint": 3607, + "id": 408, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setRewardsInterval_369": { + "entryPoint": 2126, + "id": 369, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@supportsInterface_1506": { + "entryPoint": null, + "id": 1506, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@supportsInterface_899": { + "entryPoint": 877, + "id": 899, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@toHexString_1482": { + "entryPoint": 4375, + "id": 1482, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_address": { + "entryPoint": 4861, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_decode_tuple_t_address": { + "entryPoint": 4889, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bool": { + "entryPoint": 4977, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bool_fromMemory": { + "entryPoint": 5053, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bytes32": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bytes32t_address": { + "entryPoint": 4916, + "id": null, + "parameterSlots": 2, + "returnSlots": 2 + }, + "abi_decode_tuple_t_bytes4": { + "entryPoint": 4794, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_uint256": { + "entryPoint": 4836, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_uint256_fromMemory": { + "entryPoint": 5006, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_0374d75381b3b197d745e6b159383515dfcf445652f3d60140f7a03bb136a74c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_08d24c6ea30ae17d4a7786174d0af4df8c618dc9aba31a2ac06c137f095be1ab__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_0f5404ed03256cc6395ed559bf52ccb5ab11bf8dddbd240da7e6d5ad4ab04dd7__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 5031, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_8f6e48ebe95c46ad356449234d760f7838119a9ccd28d70c8f8be00c200e3039__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_c249c8d0234c73f198edb6911269cabbcb3a87200e5c4a66aae535d12bd6112c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874_t_string_memory_ptr_t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 5238, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_uint256__to_t_bytes32_t_uint256__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 5355, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_04fc88320d7c9f639317c75102c103ff0044d3075a5c627e24e76e5bbb2733c2__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 5082, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_add_t_uint256": { + "entryPoint": 5406, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_mul_t_uint256": { + "entryPoint": 5159, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "copy_memory_to_memory": { + "entryPoint": 5190, + "id": null, + "parameterSlots": 3, + "returnSlots": 0 + }, + "decrement_t_uint256": { + "entryPoint": 5474, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "panic_error_0x11": { + "entryPoint": 5137, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x32": { + "entryPoint": 5452, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x41": { + "entryPoint": 5430, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "validator_revert_bool": { + "entryPoint": 4960, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + } + }, + "generatedSources": [ + { + "ast": { + "nodeType": "YulBlock", + "src": "0:9582:10", + "statements": [ + { + "nodeType": "YulBlock", + "src": "6:3:10", + "statements": [] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "83:217:10", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "129:16:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "138:1:10", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "141:1:10", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "131:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "131:12:10" + }, + "nodeType": "YulExpressionStatement", + "src": "131:12:10" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "104:7:10" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "113:9:10" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "100:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "100:23:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "125:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "96:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "96:32:10" + }, + "nodeType": "YulIf", + "src": "93:52:10" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "154:36:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "180:9:10" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "167:12:10" + }, + "nodeType": "YulFunctionCall", + "src": "167:23:10" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "158:5:10", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "254:16:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "263:1:10", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "266:1:10", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "256:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "256:12:10" + }, + "nodeType": "YulExpressionStatement", + "src": "256:12:10" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "212:5:10" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "223:5:10" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "234:3:10", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "239:10:10", + "type": "", + "value": "0xffffffff" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "230:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "230:20:10" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "219:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "219:32:10" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "209:2:10" + }, + "nodeType": "YulFunctionCall", + "src": "209:43:10" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "202:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "202:51:10" + }, + "nodeType": "YulIf", + "src": "199:71:10" + }, + { + "nodeType": "YulAssignment", + "src": "279:15:10", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "289:5:10" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "279:6:10" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bytes4", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "49:9:10", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "60:7:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "72:6:10", + "type": "" + } + ], + "src": "14:286:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "400:92:10", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "410:26:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "422:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "433:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "418:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "418:18:10" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "410:4:10" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "452:9:10" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "477:6:10" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "470:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "470:14:10" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "463:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "463:22:10" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "445:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "445:41:10" + }, + "nodeType": "YulExpressionStatement", + "src": "445:41:10" + } + ] + }, + "name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "369:9:10", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "380:6:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "391:4:10", + "type": "" + } + ], + "src": "305:187:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "598:76:10", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "608:26:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "620:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "631:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "616:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "616:18:10" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "608:4:10" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "650:9:10" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "661:6:10" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "643:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "643:25:10" + }, + "nodeType": "YulExpressionStatement", + "src": "643:25:10" + } + ] + }, + "name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "567:9:10", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "578:6:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "589:4:10", + "type": "" + } + ], + "src": "497:177:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "749:110:10", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "795:16:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "804:1:10", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "807:1:10", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "797:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "797:12:10" + }, + "nodeType": "YulExpressionStatement", + "src": "797:12:10" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "770:7:10" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "779:9:10" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "766:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "766:23:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "791:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "762:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "762:32:10" + }, + "nodeType": "YulIf", + "src": "759:52:10" + }, + { + "nodeType": "YulAssignment", + "src": "820:33:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "843:9:10" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "830:12:10" + }, + "nodeType": "YulFunctionCall", + "src": "830:23:10" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "820:6:10" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "715:9:10", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "726:7:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "738:6:10", + "type": "" + } + ], + "src": "679:180:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "934:110:10", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "980:16:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "989:1:10", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "992:1:10", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "982:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "982:12:10" + }, + "nodeType": "YulExpressionStatement", + "src": "982:12:10" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "955:7:10" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "964:9:10" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "951:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "951:23:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "976:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "947:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "947:32:10" + }, + "nodeType": "YulIf", + "src": "944:52:10" + }, + { + "nodeType": "YulAssignment", + "src": "1005:33:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1028:9:10" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1015:12:10" + }, + "nodeType": "YulFunctionCall", + "src": "1015:23:10" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1005:6:10" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bytes32", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "900:9:10", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "911:7:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "923:6:10", + "type": "" + } + ], + "src": "864:180:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1150:76:10", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "1160:26:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1172:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1183:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1168:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "1168:18:10" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "1160:4:10" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1202:9:10" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1213:6:10" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1195:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "1195:25:10" + }, + "nodeType": "YulExpressionStatement", + "src": "1195:25:10" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1119:9:10", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1130:6:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "1141:4:10", + "type": "" + } + ], + "src": "1049:177:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1280:124:10", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "1290:29:10", + "value": { + "arguments": [ + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "1312:6:10" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1299:12:10" + }, + "nodeType": "YulFunctionCall", + "src": "1299:20:10" + }, + "variableNames": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1290:5:10" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1382:16:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1391:1:10", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1394:1:10", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1384:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "1384:12:10" + }, + "nodeType": "YulExpressionStatement", + "src": "1384:12:10" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1341:5:10" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1352:5:10" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1367:3:10", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1372:1:10", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "1363:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "1363:11:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1376:1:10", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1359:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "1359:19:10" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "1348:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "1348:31:10" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "1338:2:10" + }, + "nodeType": "YulFunctionCall", + "src": "1338:42:10" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "1331:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "1331:50:10" + }, + "nodeType": "YulIf", + "src": "1328:70:10" + } + ] + }, + "name": "abi_decode_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "1259:6:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "1270:5:10", + "type": "" + } + ], + "src": "1231:173:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1479:116:10", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1525:16:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1534:1:10", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1537:1:10", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1527:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "1527:12:10" + }, + "nodeType": "YulExpressionStatement", + "src": "1527:12:10" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "1500:7:10" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1509:9:10" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1496:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "1496:23:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1521:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "1492:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "1492:32:10" + }, + "nodeType": "YulIf", + "src": "1489:52:10" + }, + { + "nodeType": "YulAssignment", + "src": "1550:39:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1579:9:10" + } + ], + "functionName": { + "name": "abi_decode_address", + "nodeType": "YulIdentifier", + "src": "1560:18:10" + }, + "nodeType": "YulFunctionCall", + "src": "1560:29:10" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1550:6:10" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1445:9:10", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "1456:7:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1468:6:10", + "type": "" + } + ], + "src": "1409:186:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1687:167:10", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1733:16:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1742:1:10", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1745:1:10", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1735:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "1735:12:10" + }, + "nodeType": "YulExpressionStatement", + "src": "1735:12:10" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "1708:7:10" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1717:9:10" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1704:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "1704:23:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1729:2:10", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "1700:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "1700:32:10" + }, + "nodeType": "YulIf", + "src": "1697:52:10" + }, + { + "nodeType": "YulAssignment", + "src": "1758:33:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1781:9:10" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1768:12:10" + }, + "nodeType": "YulFunctionCall", + "src": "1768:23:10" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1758:6:10" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "1800:48:10", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1833:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1844:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1829:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "1829:18:10" + } + ], + "functionName": { + "name": "abi_decode_address", + "nodeType": "YulIdentifier", + "src": "1810:18:10" + }, + "nodeType": "YulFunctionCall", + "src": "1810:38:10" + }, + "variableNames": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "1800:6:10" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bytes32t_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1645:9:10", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "1656:7:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1668:6:10", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "1676:6:10", + "type": "" + } + ], + "src": "1600:254:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1901:76:10", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1955:16:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1964:1:10", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1967:1:10", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1957:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "1957:12:10" + }, + "nodeType": "YulExpressionStatement", + "src": "1957:12:10" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1924:5:10" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1945:5:10" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "1938:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "1938:13:10" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "1931:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "1931:21:10" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "1921:2:10" + }, + "nodeType": "YulFunctionCall", + "src": "1921:32:10" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "1914:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "1914:40:10" + }, + "nodeType": "YulIf", + "src": "1911:60:10" + } + ] + }, + "name": "validator_revert_bool", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "1890:5:10", + "type": "" + } + ], + "src": "1859:118:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2049:174:10", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "2095:16:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2104:1:10", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2107:1:10", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "2097:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "2097:12:10" + }, + "nodeType": "YulExpressionStatement", + "src": "2097:12:10" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "2070:7:10" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2079:9:10" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "2066:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "2066:23:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2091:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "2062:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "2062:32:10" + }, + "nodeType": "YulIf", + "src": "2059:52:10" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "2120:36:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2146:9:10" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "2133:12:10" + }, + "nodeType": "YulFunctionCall", + "src": "2133:23:10" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "2124:5:10", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "2187:5:10" + } + ], + "functionName": { + "name": "validator_revert_bool", + "nodeType": "YulIdentifier", + "src": "2165:21:10" + }, + "nodeType": "YulFunctionCall", + "src": "2165:28:10" + }, + "nodeType": "YulExpressionStatement", + "src": "2165:28:10" + }, + { + "nodeType": "YulAssignment", + "src": "2202:15:10", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "2212:5:10" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "2202:6:10" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bool", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "2015:9:10", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "2026:7:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "2038:6:10", + "type": "" + } + ], + "src": "1982:241:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2420:70:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "2437:3:10" + }, + { + "hexValue": "706f6f6c4d617853697a65", + "kind": "string", + "nodeType": "YulLiteral", + "src": "2442:13:10", + "type": "", + "value": "poolMaxSize" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2430:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "2430:26:10" + }, + "nodeType": "YulExpressionStatement", + "src": "2430:26:10" + }, + { + "nodeType": "YulAssignment", + "src": "2465:19:10", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "2476:3:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2481:2:10", + "type": "", + "value": "11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2472:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "2472:12:10" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "2465:3:10" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "2404:3:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "2412:3:10", + "type": "" + } + ], + "src": "2228:262:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2576:103:10", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "2622:16:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2631:1:10", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2634:1:10", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "2624:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "2624:12:10" + }, + "nodeType": "YulExpressionStatement", + "src": "2624:12:10" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "2597:7:10" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2606:9:10" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "2593:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "2593:23:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2618:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "2589:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "2589:32:10" + }, + "nodeType": "YulIf", + "src": "2586:52:10" + }, + { + "nodeType": "YulAssignment", + "src": "2647:26:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2663:9:10" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "2657:5:10" + }, + "nodeType": "YulFunctionCall", + "src": "2657:16:10" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "2647:6:10" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_uint256_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "2542:9:10", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "2553:7:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "2565:6:10", + "type": "" + } + ], + "src": "2495:184:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2813:119:10", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "2823:26:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2835:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2846:2:10", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2831:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "2831:18:10" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "2823:4:10" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2865:9:10" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "2876:6:10" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2858:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "2858:25:10" + }, + "nodeType": "YulExpressionStatement", + "src": "2858:25:10" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2903:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2914:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2899:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "2899:18:10" + }, + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "2919:6:10" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2892:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "2892:34:10" + }, + "nodeType": "YulExpressionStatement", + "src": "2892:34:10" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_uint256__to_t_bytes32_t_uint256__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "2774:9:10", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "2785:6:10", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "2793:6:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "2804:4:10", + "type": "" + } + ], + "src": "2684:248:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3129:69:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "3146:3:10" + }, + { + "hexValue": "6973506f6f6c4c697665", + "kind": "string", + "nodeType": "YulLiteral", + "src": "3151:12:10", + "type": "", + "value": "isPoolLive" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3139:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "3139:25:10" + }, + "nodeType": "YulExpressionStatement", + "src": "3139:25:10" + }, + { + "nodeType": "YulAssignment", + "src": "3173:19:10", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "3184:3:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3189:2:10", + "type": "", + "value": "10" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3180:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "3180:12:10" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "3173:3:10" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "3113:3:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "3121:3:10", + "type": "" + } + ], + "src": "2937:261:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3281:167:10", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "3327:16:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3336:1:10", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3339:1:10", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "3329:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "3329:12:10" + }, + "nodeType": "YulExpressionStatement", + "src": "3329:12:10" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "3302:7:10" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3311:9:10" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "3298:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "3298:23:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3323:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "3294:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "3294:32:10" + }, + "nodeType": "YulIf", + "src": "3291:52:10" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "3352:29:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3371:9:10" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "3365:5:10" + }, + "nodeType": "YulFunctionCall", + "src": "3365:16:10" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "3356:5:10", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "3412:5:10" + } + ], + "functionName": { + "name": "validator_revert_bool", + "nodeType": "YulIdentifier", + "src": "3390:21:10" + }, + "nodeType": "YulFunctionCall", + "src": "3390:28:10" + }, + "nodeType": "YulExpressionStatement", + "src": "3390:28:10" + }, + { + "nodeType": "YulAssignment", + "src": "3427:15:10", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "3437:5:10" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "3427:6:10" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bool_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "3247:9:10", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "3258:7:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "3270:6:10", + "type": "" + } + ], + "src": "3203:245:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3627:237:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3644:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3655:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3637:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "3637:21:10" + }, + "nodeType": "YulExpressionStatement", + "src": "3637:21:10" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3678:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3689:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3674:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "3674:18:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3694:2:10", + "type": "", + "value": "47" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3667:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "3667:30:10" + }, + "nodeType": "YulExpressionStatement", + "src": "3667:30:10" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3717:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3728:2:10", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3713:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "3713:18:10" + }, + { + "hexValue": "416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e6365", + "kind": "string", + "nodeType": "YulLiteral", + "src": "3733:34:10", + "type": "", + "value": "AccessControl: can only renounce" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3706:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "3706:62:10" + }, + "nodeType": "YulExpressionStatement", + "src": "3706:62:10" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3788:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3799:2:10", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3784:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "3784:18:10" + }, + { + "hexValue": "20726f6c657320666f722073656c66", + "kind": "string", + "nodeType": "YulLiteral", + "src": "3804:17:10", + "type": "", + "value": " roles for self" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3777:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "3777:45:10" + }, + "nodeType": "YulExpressionStatement", + "src": "3777:45:10" + }, + { + "nodeType": "YulAssignment", + "src": "3831:27:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3843:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3854:3:10", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3839:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "3839:19:10" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "3831:4:10" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "3604:9:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "3618:4:10", + "type": "" + } + ], + "src": "3453:411:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4043:179:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4060:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4071:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4053:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "4053:21:10" + }, + "nodeType": "YulExpressionStatement", + "src": "4053:21:10" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4094:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4105:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4090:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "4090:18:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4110:2:10", + "type": "", + "value": "29" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4083:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "4083:30:10" + }, + "nodeType": "YulExpressionStatement", + "src": "4083:30:10" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4133:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4144:2:10", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4129:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "4129:18:10" + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4149:31:10", + "type": "", + "value": "The pool is currently closed." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4122:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "4122:59:10" + }, + "nodeType": "YulExpressionStatement", + "src": "4122:59:10" + }, + { + "nodeType": "YulAssignment", + "src": "4190:26:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4202:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4213:2:10", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4198:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "4198:18:10" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "4190:4:10" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "4020:9:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "4034:4:10", + "type": "" + } + ], + "src": "3869:353:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4419:74:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "4436:3:10" + }, + { + "hexValue": "6d696e436f6e747269627574696f6e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4441:17:10", + "type": "", + "value": "minContribution" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4429:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "4429:30:10" + }, + "nodeType": "YulExpressionStatement", + "src": "4429:30:10" + }, + { + "nodeType": "YulAssignment", + "src": "4468:19:10", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "4479:3:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4484:2:10", + "type": "", + "value": "15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4475:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "4475:12:10" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "4468:3:10" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "4403:3:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "4411:3:10", + "type": "" + } + ], + "src": "4227:266:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4690:72:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "4707:3:10" + }, + { + "hexValue": "64617973546f52657761726473", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4712:15:10", + "type": "", + "value": "daysToRewards" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4700:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "4700:28:10" + }, + "nodeType": "YulExpressionStatement", + "src": "4700:28:10" + }, + { + "nodeType": "YulAssignment", + "src": "4737:19:10", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "4748:3:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4753:2:10", + "type": "", + "value": "13" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4744:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "4744:12:10" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "4737:3:10" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "4674:3:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "4682:3:10", + "type": "" + } + ], + "src": "4498:264:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4799:95:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4816:1:10", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4823:3:10", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4828:10:10", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "4819:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "4819:20:10" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4809:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "4809:31:10" + }, + "nodeType": "YulExpressionStatement", + "src": "4809:31:10" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4856:1:10", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4859:4:10", + "type": "", + "value": "0x11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4849:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "4849:15:10" + }, + "nodeType": "YulExpressionStatement", + "src": "4849:15:10" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4880:1:10", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4883:4:10", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "4873:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "4873:15:10" + }, + "nodeType": "YulExpressionStatement", + "src": "4873:15:10" + } + ] + }, + "name": "panic_error_0x11", + "nodeType": "YulFunctionDefinition", + "src": "4767:127:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4951:116:10", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "5010:22:10", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "5012:16:10" + }, + "nodeType": "YulFunctionCall", + "src": "5012:18:10" + }, + "nodeType": "YulExpressionStatement", + "src": "5012:18:10" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "4982:1:10" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "4975:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "4975:9:10" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "4968:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "4968:17:10" + }, + { + "arguments": [ + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "4990:1:10" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5001:1:10", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "4997:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "4997:6:10" + }, + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "5005:1:10" + } + ], + "functionName": { + "name": "div", + "nodeType": "YulIdentifier", + "src": "4993:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "4993:14:10" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "4987:2:10" + }, + "nodeType": "YulFunctionCall", + "src": "4987:21:10" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "4964:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "4964:45:10" + }, + "nodeType": "YulIf", + "src": "4961:71:10" + }, + { + "nodeType": "YulAssignment", + "src": "5041:20:10", + "value": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "5056:1:10" + }, + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "5059:1:10" + } + ], + "functionName": { + "name": "mul", + "nodeType": "YulIdentifier", + "src": "5052:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "5052:9:10" + }, + "variableNames": [ + { + "name": "product", + "nodeType": "YulIdentifier", + "src": "5041:7:10" + } + ] + } + ] + }, + "name": "checked_mul_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "x", + "nodeType": "YulTypedName", + "src": "4930:1:10", + "type": "" + }, + { + "name": "y", + "nodeType": "YulTypedName", + "src": "4933:1:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "product", + "nodeType": "YulTypedName", + "src": "4939:7:10", + "type": "" + } + ], + "src": "4899:168:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5264:76:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5281:3:10" + }, + { + "hexValue": "746f74616c537570706c795f4574686572", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5286:19:10", + "type": "", + "value": "totalSupply_Ether" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5274:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "5274:32:10" + }, + "nodeType": "YulExpressionStatement", + "src": "5274:32:10" + }, + { + "nodeType": "YulAssignment", + "src": "5315:19:10", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5326:3:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5331:2:10", + "type": "", + "value": "17" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5322:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "5322:12:10" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "5315:3:10" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_c249c8d0234c73f198edb6911269cabbcb3a87200e5c4a66aae535d12bd6112c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "5248:3:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "5256:3:10", + "type": "" + } + ], + "src": "5072:268:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5537:77:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5554:3:10" + }, + { + "hexValue": "746f74616c5f65746865725f7374616b6564", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5559:20:10", + "type": "", + "value": "total_ether_staked" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5547:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "5547:33:10" + }, + "nodeType": "YulExpressionStatement", + "src": "5547:33:10" + }, + { + "nodeType": "YulAssignment", + "src": "5589:19:10", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5600:3:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5605:2:10", + "type": "", + "value": "18" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5596:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "5596:12:10" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "5589:3:10" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_08d24c6ea30ae17d4a7786174d0af4df8c618dc9aba31a2ac06c137f095be1ab__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "5521:3:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "5529:3:10", + "type": "" + } + ], + "src": "5345:269:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5811:76:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5828:3:10" + }, + { + "hexValue": "636f6e747269627574696f6e4c696d6974", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5833:19:10", + "type": "", + "value": "contributionLimit" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5821:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "5821:32:10" + }, + "nodeType": "YulExpressionStatement", + "src": "5821:32:10" + }, + { + "nodeType": "YulAssignment", + "src": "5862:19:10", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5873:3:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5878:2:10", + "type": "", + "value": "17" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5869:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "5869:12:10" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "5862:3:10" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "5795:3:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "5803:3:10", + "type": "" + } + ], + "src": "5619:268:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6084:83:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "6101:3:10" + }, + { + "hexValue": "72657761726473496e746572657374506572506572696f64", + "kind": "string", + "nodeType": "YulLiteral", + "src": "6106:26:10", + "type": "", + "value": "rewardsInterestPerPeriod" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6094:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "6094:39:10" + }, + "nodeType": "YulExpressionStatement", + "src": "6094:39:10" + }, + { + "nodeType": "YulAssignment", + "src": "6142:19:10", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "6153:3:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6158:2:10", + "type": "", + "value": "24" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6149:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "6149:12:10" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "6142:3:10" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "6068:3:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "6076:3:10", + "type": "" + } + ], + "src": "5892:275:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6364:66:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "6381:3:10" + }, + { + "hexValue": "706f6f6c46656573", + "kind": "string", + "nodeType": "YulLiteral", + "src": "6386:10:10", + "type": "", + "value": "poolFees" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6374:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "6374:23:10" + }, + "nodeType": "YulExpressionStatement", + "src": "6374:23:10" + }, + { + "nodeType": "YulAssignment", + "src": "6406:18:10", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "6417:3:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6422:1:10", + "type": "", + "value": "8" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6413:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "6413:11:10" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "6406:3:10" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_0f5404ed03256cc6395ed559bf52ccb5ab11bf8dddbd240da7e6d5ad4ab04dd7__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "6348:3:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "6356:3:10", + "type": "" + } + ], + "src": "6172:258:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6627:70:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "6644:3:10" + }, + { + "hexValue": "706f6f6c46656573536574", + "kind": "string", + "nodeType": "YulLiteral", + "src": "6649:13:10", + "type": "", + "value": "poolFeesSet" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6637:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "6637:26:10" + }, + "nodeType": "YulExpressionStatement", + "src": "6637:26:10" + }, + { + "nodeType": "YulAssignment", + "src": "6672:19:10", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "6683:3:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6688:2:10", + "type": "", + "value": "11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6679:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "6679:12:10" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "6672:3:10" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_8f6e48ebe95c46ad356449234d760f7838119a9ccd28d70c8f8be00c200e3039__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "6611:3:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "6619:3:10", + "type": "" + } + ], + "src": "6435:262:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6825:135:10", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "6835:26:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6847:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6858:2:10", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6843:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "6843:18:10" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "6835:4:10" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6877:9:10" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "6888:6:10" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6870:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "6870:25:10" + }, + "nodeType": "YulExpressionStatement", + "src": "6870:25:10" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6915:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6926:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6911:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "6911:18:10" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "6945:6:10" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "6938:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "6938:14:10" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "6931:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "6931:22:10" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6904:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "6904:50:10" + }, + "nodeType": "YulExpressionStatement", + "src": "6904:50:10" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "6786:9:10", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "6797:6:10", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "6805:6:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "6816:4:10", + "type": "" + } + ], + "src": "6702:258:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7157:82:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7174:3:10" + }, + { + "hexValue": "746f74616c537570706c795f7265776172644574686572", + "kind": "string", + "nodeType": "YulLiteral", + "src": "7179:25:10", + "type": "", + "value": "totalSupply_rewardEther" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7167:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "7167:38:10" + }, + "nodeType": "YulExpressionStatement", + "src": "7167:38:10" + }, + { + "nodeType": "YulAssignment", + "src": "7214:19:10", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7225:3:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7230:2:10", + "type": "", + "value": "23" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7221:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "7221:12:10" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "7214:3:10" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_0374d75381b3b197d745e6b159383515dfcf445652f3d60140f7a03bb136a74c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "7141:3:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "7149:3:10", + "type": "" + } + ], + "src": "6965:274:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7297:205:10", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "7307:10:10", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7316:1:10", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "i", + "nodeType": "YulTypedName", + "src": "7311:1:10", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7376:63:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nodeType": "YulIdentifier", + "src": "7401:3:10" + }, + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "7406:1:10" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7397:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "7397:11:10" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "src", + "nodeType": "YulIdentifier", + "src": "7420:3:10" + }, + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "7425:1:10" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7416:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "7416:11:10" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "7410:5:10" + }, + "nodeType": "YulFunctionCall", + "src": "7410:18:10" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7390:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "7390:39:10" + }, + "nodeType": "YulExpressionStatement", + "src": "7390:39:10" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "7337:1:10" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "7340:6:10" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "7334:2:10" + }, + "nodeType": "YulFunctionCall", + "src": "7334:13:10" + }, + "nodeType": "YulForLoop", + "post": { + "nodeType": "YulBlock", + "src": "7348:19:10", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "7350:15:10", + "value": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "7359:1:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7362:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7355:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "7355:10:10" + }, + "variableNames": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "7350:1:10" + } + ] + } + ] + }, + "pre": { + "nodeType": "YulBlock", + "src": "7330:3:10", + "statements": [] + }, + "src": "7326:113:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7465:31:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nodeType": "YulIdentifier", + "src": "7478:3:10" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "7483:6:10" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7474:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "7474:16:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7492:1:10", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7467:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "7467:27:10" + }, + "nodeType": "YulExpressionStatement", + "src": "7467:27:10" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "7454:1:10" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "7457:6:10" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "7451:2:10" + }, + "nodeType": "YulFunctionCall", + "src": "7451:13:10" + }, + "nodeType": "YulIf", + "src": "7448:48:10" + } + ] + }, + "name": "copy_memory_to_memory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "src", + "nodeType": "YulTypedName", + "src": "7275:3:10", + "type": "" + }, + { + "name": "dst", + "nodeType": "YulTypedName", + "src": "7280:3:10", + "type": "" + }, + { + "name": "length", + "nodeType": "YulTypedName", + "src": "7285:6:10", + "type": "" + } + ], + "src": "7244:258:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7896:397:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7913:3:10" + }, + { + "hexValue": "416363657373436f6e74726f6c3a206163636f756e7420", + "kind": "string", + "nodeType": "YulLiteral", + "src": "7918:25:10", + "type": "", + "value": "AccessControl: account " + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7906:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "7906:38:10" + }, + "nodeType": "YulExpressionStatement", + "src": "7906:38:10" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "7953:27:10", + "value": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "7973:6:10" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "7967:5:10" + }, + "nodeType": "YulFunctionCall", + "src": "7967:13:10" + }, + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "7957:6:10", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "8015:6:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8023:4:10", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8011:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "8011:17:10" + }, + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "8034:3:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8039:2:10", + "type": "", + "value": "23" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8030:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "8030:12:10" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "8044:6:10" + } + ], + "functionName": { + "name": "copy_memory_to_memory", + "nodeType": "YulIdentifier", + "src": "7989:21:10" + }, + "nodeType": "YulFunctionCall", + "src": "7989:62:10" + }, + "nodeType": "YulExpressionStatement", + "src": "7989:62:10" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "8060:26:10", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "8074:3:10" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "8079:6:10" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8070:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "8070:16:10" + }, + "variables": [ + { + "name": "_1", + "nodeType": "YulTypedName", + "src": "8064:2:10", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "8106:2:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8110:2:10", + "type": "", + "value": "23" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8102:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "8102:11:10" + }, + { + "hexValue": "206973206d697373696e6720726f6c6520", + "kind": "string", + "nodeType": "YulLiteral", + "src": "8115:19:10", + "type": "", + "value": " is missing role " + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8095:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "8095:40:10" + }, + "nodeType": "YulExpressionStatement", + "src": "8095:40:10" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "8144:29:10", + "value": { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "8166:6:10" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "8160:5:10" + }, + "nodeType": "YulFunctionCall", + "src": "8160:13:10" + }, + "variables": [ + { + "name": "length_1", + "nodeType": "YulTypedName", + "src": "8148:8:10", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "8208:6:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8216:4:10", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8204:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "8204:17:10" + }, + { + "arguments": [ + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "8227:2:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8231:2:10", + "type": "", + "value": "40" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8223:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "8223:11:10" + }, + { + "name": "length_1", + "nodeType": "YulIdentifier", + "src": "8236:8:10" + } + ], + "functionName": { + "name": "copy_memory_to_memory", + "nodeType": "YulIdentifier", + "src": "8182:21:10" + }, + "nodeType": "YulFunctionCall", + "src": "8182:63:10" + }, + "nodeType": "YulExpressionStatement", + "src": "8182:63:10" + }, + { + "nodeType": "YulAssignment", + "src": "8254:33:10", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "8269:2:10" + }, + { + "name": "length_1", + "nodeType": "YulIdentifier", + "src": "8273:8:10" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8265:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "8265:17:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8284:2:10", + "type": "", + "value": "40" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8261:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "8261:26:10" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "8254:3:10" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874_t_string_memory_ptr_t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "7864:3:10", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "7869:6:10", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "7877:6:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "7888:3:10", + "type": "" + } + ], + "src": "7507:786:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8419:262:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8436:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8447:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8429:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "8429:21:10" + }, + "nodeType": "YulExpressionStatement", + "src": "8429:21:10" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "8459:27:10", + "value": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "8479:6:10" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "8473:5:10" + }, + "nodeType": "YulFunctionCall", + "src": "8473:13:10" + }, + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "8463:6:10", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8506:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8517:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8502:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "8502:18:10" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "8522:6:10" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8495:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "8495:34:10" + }, + "nodeType": "YulExpressionStatement", + "src": "8495:34:10" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "8564:6:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8572:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8560:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "8560:15:10" + }, + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8581:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8592:2:10", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8577:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "8577:18:10" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "8597:6:10" + } + ], + "functionName": { + "name": "copy_memory_to_memory", + "nodeType": "YulIdentifier", + "src": "8538:21:10" + }, + "nodeType": "YulFunctionCall", + "src": "8538:66:10" + }, + "nodeType": "YulExpressionStatement", + "src": "8538:66:10" + }, + { + "nodeType": "YulAssignment", + "src": "8613:62:10", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8629:9:10" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "8648:6:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8656:2:10", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8644:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "8644:15:10" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8665:2:10", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "8661:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "8661:7:10" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "8640:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "8640:29:10" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8625:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "8625:45:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8672:2:10", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8621:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "8621:54:10" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "8613:4:10" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "8388:9:10", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "8399:6:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "8410:4:10", + "type": "" + } + ], + "src": "8298:383:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8734:80:10", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "8761:22:10", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "8763:16:10" + }, + "nodeType": "YulFunctionCall", + "src": "8763:18:10" + }, + "nodeType": "YulExpressionStatement", + "src": "8763:18:10" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "8750:1:10" + }, + { + "arguments": [ + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "8757:1:10" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "8753:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "8753:6:10" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "8747:2:10" + }, + "nodeType": "YulFunctionCall", + "src": "8747:13:10" + }, + "nodeType": "YulIf", + "src": "8744:39:10" + }, + { + "nodeType": "YulAssignment", + "src": "8792:16:10", + "value": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "8803:1:10" + }, + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "8806:1:10" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8799:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "8799:9:10" + }, + "variableNames": [ + { + "name": "sum", + "nodeType": "YulIdentifier", + "src": "8792:3:10" + } + ] + } + ] + }, + "name": "checked_add_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "x", + "nodeType": "YulTypedName", + "src": "8717:1:10", + "type": "" + }, + { + "name": "y", + "nodeType": "YulTypedName", + "src": "8720:1:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "sum", + "nodeType": "YulTypedName", + "src": "8726:3:10", + "type": "" + } + ], + "src": "8686:128:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8851:95:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8868:1:10", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8875:3:10", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8880:10:10", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "8871:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "8871:20:10" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8861:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "8861:31:10" + }, + "nodeType": "YulExpressionStatement", + "src": "8861:31:10" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8908:1:10", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8911:4:10", + "type": "", + "value": "0x41" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8901:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "8901:15:10" + }, + "nodeType": "YulExpressionStatement", + "src": "8901:15:10" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8932:1:10", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8935:4:10", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "8925:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "8925:15:10" + }, + "nodeType": "YulExpressionStatement", + "src": "8925:15:10" + } + ] + }, + "name": "panic_error_0x41", + "nodeType": "YulFunctionDefinition", + "src": "8819:127:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8983:95:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9000:1:10", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9007:3:10", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9012:10:10", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "9003:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "9003:20:10" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8993:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "8993:31:10" + }, + "nodeType": "YulExpressionStatement", + "src": "8993:31:10" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9040:1:10", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9043:4:10", + "type": "", + "value": "0x32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9033:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "9033:15:10" + }, + "nodeType": "YulExpressionStatement", + "src": "9033:15:10" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9064:1:10", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9067:4:10", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "9057:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "9057:15:10" + }, + "nodeType": "YulExpressionStatement", + "src": "9057:15:10" + } + ] + }, + "name": "panic_error_0x32", + "nodeType": "YulFunctionDefinition", + "src": "8951:127:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "9130:89:10", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "9157:22:10", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "9159:16:10" + }, + "nodeType": "YulFunctionCall", + "src": "9159:18:10" + }, + "nodeType": "YulExpressionStatement", + "src": "9159:18:10" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "9150:5:10" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "9143:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "9143:13:10" + }, + "nodeType": "YulIf", + "src": "9140:39:10" + }, + { + "nodeType": "YulAssignment", + "src": "9188:25:10", + "value": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "9199:5:10" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9210:1:10", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "9206:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "9206:6:10" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9195:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "9195:18:10" + }, + "variableNames": [ + { + "name": "ret", + "nodeType": "YulIdentifier", + "src": "9188:3:10" + } + ] + } + ] + }, + "name": "decrement_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "9112:5:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "ret", + "nodeType": "YulTypedName", + "src": "9122:3:10", + "type": "" + } + ], + "src": "9083:136:10" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "9398:182:10", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9415:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9426:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9408:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "9408:21:10" + }, + "nodeType": "YulExpressionStatement", + "src": "9408:21:10" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9449:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9460:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9445:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "9445:18:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9465:2:10", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9438:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "9438:30:10" + }, + "nodeType": "YulExpressionStatement", + "src": "9438:30:10" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9488:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9499:2:10", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9484:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "9484:18:10" + }, + { + "hexValue": "537472696e67733a20686578206c656e67746820696e73756666696369656e74", + "kind": "string", + "nodeType": "YulLiteral", + "src": "9504:34:10", + "type": "", + "value": "Strings: hex length insufficient" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9477:6:10" + }, + "nodeType": "YulFunctionCall", + "src": "9477:62:10" + }, + "nodeType": "YulExpressionStatement", + "src": "9477:62:10" + }, + { + "nodeType": "YulAssignment", + "src": "9548:26:10", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9560:9:10" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9571:2:10", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9556:3:10" + }, + "nodeType": "YulFunctionCall", + "src": "9556:18:10" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "9548:4:10" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_04fc88320d7c9f639317c75102c103ff0044d3075a5c627e24e76e5bbb2733c2__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "9375:9:10", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "9389:4:10", + "type": "" + } + ], + "src": "9224:356:10" + } + ] + }, + "contents": "{\n { }\n function abi_decode_tuple_t_bytes4(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n if iszero(eq(value, and(value, shl(224, 0xffffffff)))) { revert(0, 0) }\n value0 := value\n }\n function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, iszero(iszero(value0)))\n }\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := calldataload(headStart)\n }\n function abi_decode_tuple_t_bytes32(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := calldataload(headStart)\n }\n function abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function abi_decode_address(offset) -> value\n {\n value := calldataload(offset)\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n }\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := abi_decode_address(headStart)\n }\n function abi_decode_tuple_t_bytes32t_address(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n value0 := calldataload(headStart)\n value1 := abi_decode_address(add(headStart, 32))\n }\n function validator_revert_bool(value)\n {\n if iszero(eq(value, iszero(iszero(value)))) { revert(0, 0) }\n }\n function abi_decode_tuple_t_bool(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_bool(value)\n value0 := value\n }\n function abi_encode_tuple_packed_t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"poolMaxSize\")\n end := add(pos, 11)\n }\n function abi_decode_tuple_t_uint256_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := mload(headStart)\n }\n function abi_encode_tuple_t_bytes32_t_uint256__to_t_bytes32_t_uint256__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), value1)\n }\n function abi_encode_tuple_packed_t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"isPoolLive\")\n end := add(pos, 10)\n }\n function abi_decode_tuple_t_bool_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := mload(headStart)\n validator_revert_bool(value)\n value0 := value\n }\n function abi_encode_tuple_t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 47)\n mstore(add(headStart, 64), \"AccessControl: can only renounce\")\n mstore(add(headStart, 96), \" roles for self\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 29)\n mstore(add(headStart, 64), \"The pool is currently closed.\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_packed_t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"minContribution\")\n end := add(pos, 15)\n }\n function abi_encode_tuple_packed_t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"daysToRewards\")\n end := add(pos, 13)\n }\n function panic_error_0x11()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n function checked_mul_t_uint256(x, y) -> product\n {\n if and(iszero(iszero(x)), gt(y, div(not(0), x))) { panic_error_0x11() }\n product := mul(x, y)\n }\n function abi_encode_tuple_packed_t_stringliteral_c249c8d0234c73f198edb6911269cabbcb3a87200e5c4a66aae535d12bd6112c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"totalSupply_Ether\")\n end := add(pos, 17)\n }\n function abi_encode_tuple_packed_t_stringliteral_08d24c6ea30ae17d4a7786174d0af4df8c618dc9aba31a2ac06c137f095be1ab__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"total_ether_staked\")\n end := add(pos, 18)\n }\n function abi_encode_tuple_packed_t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"contributionLimit\")\n end := add(pos, 17)\n }\n function abi_encode_tuple_packed_t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"rewardsInterestPerPeriod\")\n end := add(pos, 24)\n }\n function abi_encode_tuple_packed_t_stringliteral_0f5404ed03256cc6395ed559bf52ccb5ab11bf8dddbd240da7e6d5ad4ab04dd7__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"poolFees\")\n end := add(pos, 8)\n }\n function abi_encode_tuple_packed_t_stringliteral_8f6e48ebe95c46ad356449234d760f7838119a9ccd28d70c8f8be00c200e3039__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"poolFeesSet\")\n end := add(pos, 11)\n }\n function abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), iszero(iszero(value1)))\n }\n function abi_encode_tuple_packed_t_stringliteral_0374d75381b3b197d745e6b159383515dfcf445652f3d60140f7a03bb136a74c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"totalSupply_rewardEther\")\n end := add(pos, 23)\n }\n function copy_memory_to_memory(src, dst, length)\n {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n if gt(i, length) { mstore(add(dst, length), 0) }\n }\n function abi_encode_tuple_packed_t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874_t_string_memory_ptr_t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos, value1, value0) -> end\n {\n mstore(pos, \"AccessControl: account \")\n let length := mload(value0)\n copy_memory_to_memory(add(value0, 0x20), add(pos, 23), length)\n let _1 := add(pos, length)\n mstore(add(_1, 23), \" is missing role \")\n let length_1 := mload(value1)\n copy_memory_to_memory(add(value1, 0x20), add(_1, 40), length_1)\n end := add(add(_1, length_1), 40)\n }\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n mstore(headStart, 32)\n let length := mload(value0)\n mstore(add(headStart, 32), length)\n copy_memory_to_memory(add(value0, 32), add(headStart, 64), length)\n tail := add(add(headStart, and(add(length, 31), not(31))), 64)\n }\n function checked_add_t_uint256(x, y) -> sum\n {\n if gt(x, not(y)) { panic_error_0x11() }\n sum := add(x, y)\n }\n function panic_error_0x41()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n function panic_error_0x32()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x32)\n revert(0, 0x24)\n }\n function decrement_t_uint256(value) -> ret\n {\n if iszero(value) { panic_error_0x11() }\n ret := add(value, not(0))\n }\n function abi_encode_tuple_t_stringliteral_04fc88320d7c9f639317c75102c103ff0044d3075a5c627e24e76e5bbb2733c2__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 32)\n mstore(add(headStart, 64), \"Strings: hex length insufficient\")\n tail := add(headStart, 96)\n }\n}", + "id": 10, + "language": "Yul", + "name": "#utility.yul" + } + ], + "immutableReferences": {}, + "linkReferences": {}, + "object": "608060405234801561001057600080fd5b50600436106101a95760003560e01c806362308e85116100f9578063a217fddf11610097578063d1d8d06011610071578063d1d8d06014610342578063d547741f1461034a578063e2bcb3df1461035d578063fa1e19e51461036557600080fd5b8063a217fddf14610314578063a49755161461031c578063bf4c00361461032f57600080fd5b806372d099a0116100d357806372d099a0146102d35780637521796f146102e65780638dd225d5146102ee57806391d148541461030157600080fd5b806362308e85146102ae5780636402c262146102c357806370959ff8146102cb57600080fd5b80632f2ff15d11610166578063473b0d4611610140578063473b0d4614610278578063497d02411461028b57806353710f4914610293578063543edfb6146102a657600080fd5b80632f2ff15d1461023f57806336568abe1461025257806345077e711461026557600080fd5b806301ffc9a7146101ae578063095df57f146101d657806312646987146101ec578063217ac23714610201578063248a9ca31461020957806329ca15bc1461022c575b600080fd5b6101c16101bc3660046112ba565b61036d565b60405190151581526020015b60405180910390f35b6101de6103a4565b6040519081526020016101cd565b6101ff6101fa3660046112e4565b610461565b005b6101c161051a565b6101de6102173660046112e4565b60009081526020819052604090206001015490565b6101ff61023a366004611319565b6105bf565b6101ff61024d366004611334565b61061b565b6101ff610260366004611334565b610646565b6101ff610273366004611319565b6106c9565b6101ff6102863660046112e4565b610725565b6101de610828565b6101ff6102a13660046112e4565b61084e565b6101de6109a8565b6101de60008051602061157a83398151915281565b6101de6109d0565b6101de6109fa565b6101ff6102e13660046112e4565b610a25565b6101de610b2a565b6101ff6102fc3660046112e4565b610b5b565b6101c161030f366004611334565b610d74565b6101de600081565b6101ff61032a366004611371565b610d9d565b6101ff61033d3660046112e4565b610e17565b6101de610f23565b6101ff610358366004611334565b610f44565b6101de610f6a565b6101de610fa0565b60006001600160e01b03198216637965db0b60e01b148061039e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6000806040516020016103c8906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b15801561042357600080fd5b505afa158015610437573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045b919061138e565b91505090565b60008051602061157a83398151915261047a8133610fca565b6040516a706f6f6c4d617853697a6560a81b6020820152600090602b015b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018690529092506001600160a01b0316906328192c55906044015b600060405180830381600087803b1580156104fd57600080fd5b505af1158015610511573d6000803e3d6000fd5b50505050505050565b60008060405160200161052c906113a7565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561058757600080fd5b505afa15801561059b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045b91906113bd565b60006105cb8133610fca565b6105e360008051602061157a83398151915283610f44565b6040516001600160a01b038316907fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd3190600090a25050565b6000828152602081905260409020600101546106378133610fca565b610641838361102e565b505050565b6001600160a01b03811633146106bb5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6106c582826110b2565b5050565b60006106d58133610fca565b6106ed60008051602061157a8339815191528361061b565b6040516001600160a01b038316907fd873e3f571dc25e020cefdeb7255b3874ead3aade1f94a5fb4a5da831fd670cd90600090a25050565b60008051602061157a83398151915261073e8133610fca565b6002546040516001600160a01b03909116906355d9465590610762906020016113a7565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161079691815260200190565b60206040518083038186803b1580156107ae57600080fd5b505afa1580156107c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e691906113bd565b6108025760405162461bcd60e51b81526004016106b2906113da565b6040516e36b4b721b7b73a3934b13aba34b7b760891b6020820152600090602f01610498565b6000806040516020016103c8906c64617973546f5265776172647360981b8152600d0190565b60008051602061157a8339815191526108678133610fca565b6002546040516001600160a01b03909116906355d946559061088b906020016113a7565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b81526004016108bf91815260200190565b60206040518083038186803b1580156108d757600080fd5b505afa1580156108eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090f91906113bd565b61092b5760405162461bcd60e51b81526004016106b2906113da565b604080516c64617973546f5265776172647360981b6020808301919091528251600d818403018152602d90920190925280519101206002546001600160a01b03166328192c558261097f8662015180611427565b6040516001600160e01b031960e085901b168152600481019290925260248201526044016104e3565b6000806040516020016103c8906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b6000806040516020016103c890703a37ba30b629bab838363cafa2ba3432b960791b815260110190565b6000806040516020016103c890711d1bdd185b17d95d1a195c97dcdd185ad95960721b815260120190565b60008051602061157a833981519152610a3e8133610fca565b6002546040516001600160a01b03909116906355d9465590610a62906020016113a7565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610a9691815260200190565b60206040518083038186803b158015610aae57600080fd5b505afa158015610ac2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae691906113bd565b610b025760405162461bcd60e51b81526004016106b2906113da565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b6020820152600090603101610498565b6000806040516020016103c890771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b60008051602061157a833981519152610b748133610fca565b6002546040516001600160a01b03909116906355d9465590610b98906020016113a7565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610bcc91815260200190565b60206040518083038186803b158015610be457600080fd5b505afa158015610bf8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1c91906113bd565b610c385760405162461bcd60e51b81526004016106b2906113da565b60405167706f6f6c4665657360c01b60208201526000906028016040516020818303038152906040528051906020012090506000604051602001610c8d906a1c1bdbdb1199595cd4d95d60aa1b8152600b0190565b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301859052602483018790529092506001600160a01b0316906328192c5590604401600060405180830381600087803b158015610cf157600080fd5b505af1158015610d05573d6000803e3d6000fd5b505060025460405163988c515b60e01b815260048101859052600160248201526001600160a01b03909116925063988c515b9150604401600060405180830381600087803b158015610d5657600080fd5b505af1158015610d6a573d6000803e3d6000fd5b5050505050505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60008051602061157a833981519152610db68133610fca565b6000604051602001610dc7906113a7565b60408051808303601f1901815290829052805160209091012060025463988c515b60e01b83526004830182905285151560248401529092506001600160a01b03169063988c515b906044016104e3565b60008051602061157a833981519152610e308133610fca565b6002546040516001600160a01b03909116906355d9465590610e54906020016113a7565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610e8891815260200190565b60206040518083038186803b158015610ea057600080fd5b505afa158015610eb4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed891906113bd565b610ef45760405162461bcd60e51b81526004016106b2906113da565b604051771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b6020820152600090603801610498565b6000806040516020016103c89067706f6f6c4665657360c01b815260080190565b600082815260208190526040902060010154610f608133610fca565b61064183836110b2565b6000806040516020016103c8907f746f74616c537570706c795f7265776172644574686572000000000000000000815260170190565b6000806040516020016103c8907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b610fd48282610d74565b6106c557610fec816001600160a01b03166014611117565b610ff7836020611117565b604051602001611008929190611476565b60408051601f198184030181529082905262461bcd60e51b82526106b2916004016114eb565b6110388282610d74565b6106c5576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905561106e3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6110bc8282610d74565b156106c5576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60606000611126836002611427565b61113190600261151e565b67ffffffffffffffff81111561114957611149611536565b6040519080825280601f01601f191660200182016040528015611173576020820181803683370190505b509050600360fc1b8160008151811061118e5761118e61154c565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106111bd576111bd61154c565b60200101906001600160f81b031916908160001a90535060006111e1846002611427565b6111ec90600161151e565b90505b6001811115611264576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106112205761122061154c565b1a60f81b8282815181106112365761123661154c565b60200101906001600160f81b031916908160001a90535060049490941c9361125d81611562565b90506111ef565b5083156112b35760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016106b2565b9392505050565b6000602082840312156112cc57600080fd5b81356001600160e01b0319811681146112b357600080fd5b6000602082840312156112f657600080fd5b5035919050565b80356001600160a01b038116811461131457600080fd5b919050565b60006020828403121561132b57600080fd5b6112b3826112fd565b6000806040838503121561134757600080fd5b82359150611357602084016112fd565b90509250929050565b801515811461136e57600080fd5b50565b60006020828403121561138357600080fd5b81356112b381611360565b6000602082840312156113a057600080fd5b5051919050565b696973506f6f6c4c69766560b01b8152600a0190565b6000602082840312156113cf57600080fd5b81516112b381611360565b6020808252601d908201527f54686520706f6f6c2069732063757272656e746c7920636c6f7365642e000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561144157611441611411565b500290565b60005b83811015611461578181015183820152602001611449565b83811115611470576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516114ae816017850160208801611446565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516114df816028840160208801611446565b01602801949350505050565b602081526000825180602084015261150a816040850160208701611446565b601f01601f19169190910160400192915050565b6000821982111561153157611531611411565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008161157157611571611411565b50600019019056fe41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842a2646970667358221220d02c73dad5c09ebc6e3d882f7d6d4d82b3fb3f920fdfe698d640fae86b0ff9fd64736f6c63430008090033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x1A9 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x62308E85 GT PUSH2 0xF9 JUMPI DUP1 PUSH4 0xA217FDDF GT PUSH2 0x97 JUMPI DUP1 PUSH4 0xD1D8D060 GT PUSH2 0x71 JUMPI DUP1 PUSH4 0xD1D8D060 EQ PUSH2 0x342 JUMPI DUP1 PUSH4 0xD547741F EQ PUSH2 0x34A JUMPI DUP1 PUSH4 0xE2BCB3DF EQ PUSH2 0x35D JUMPI DUP1 PUSH4 0xFA1E19E5 EQ PUSH2 0x365 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0xA217FDDF EQ PUSH2 0x314 JUMPI DUP1 PUSH4 0xA4975516 EQ PUSH2 0x31C JUMPI DUP1 PUSH4 0xBF4C0036 EQ PUSH2 0x32F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x72D099A0 GT PUSH2 0xD3 JUMPI DUP1 PUSH4 0x72D099A0 EQ PUSH2 0x2D3 JUMPI DUP1 PUSH4 0x7521796F EQ PUSH2 0x2E6 JUMPI DUP1 PUSH4 0x8DD225D5 EQ PUSH2 0x2EE JUMPI DUP1 PUSH4 0x91D14854 EQ PUSH2 0x301 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x62308E85 EQ PUSH2 0x2AE JUMPI DUP1 PUSH4 0x6402C262 EQ PUSH2 0x2C3 JUMPI DUP1 PUSH4 0x70959FF8 EQ PUSH2 0x2CB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x2F2FF15D GT PUSH2 0x166 JUMPI DUP1 PUSH4 0x473B0D46 GT PUSH2 0x140 JUMPI DUP1 PUSH4 0x473B0D46 EQ PUSH2 0x278 JUMPI DUP1 PUSH4 0x497D0241 EQ PUSH2 0x28B JUMPI DUP1 PUSH4 0x53710F49 EQ PUSH2 0x293 JUMPI DUP1 PUSH4 0x543EDFB6 EQ PUSH2 0x2A6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x2F2FF15D EQ PUSH2 0x23F JUMPI DUP1 PUSH4 0x36568ABE EQ PUSH2 0x252 JUMPI DUP1 PUSH4 0x45077E71 EQ PUSH2 0x265 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x1AE JUMPI DUP1 PUSH4 0x95DF57F EQ PUSH2 0x1D6 JUMPI DUP1 PUSH4 0x12646987 EQ PUSH2 0x1EC JUMPI DUP1 PUSH4 0x217AC237 EQ PUSH2 0x201 JUMPI DUP1 PUSH4 0x248A9CA3 EQ PUSH2 0x209 JUMPI DUP1 PUSH4 0x29CA15BC EQ PUSH2 0x22C JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1C1 PUSH2 0x1BC CALLDATASIZE PUSH1 0x4 PUSH2 0x12BA JUMP JUMPDEST PUSH2 0x36D JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1DE PUSH2 0x3A4 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x1CD JUMP JUMPDEST PUSH2 0x1FF PUSH2 0x1FA CALLDATASIZE PUSH1 0x4 PUSH2 0x12E4 JUMP JUMPDEST PUSH2 0x461 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x1C1 PUSH2 0x51A JUMP JUMPDEST PUSH2 0x1DE PUSH2 0x217 CALLDATASIZE PUSH1 0x4 PUSH2 0x12E4 JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x1FF PUSH2 0x23A CALLDATASIZE PUSH1 0x4 PUSH2 0x1319 JUMP JUMPDEST PUSH2 0x5BF JUMP JUMPDEST PUSH2 0x1FF PUSH2 0x24D CALLDATASIZE PUSH1 0x4 PUSH2 0x1334 JUMP JUMPDEST PUSH2 0x61B JUMP JUMPDEST PUSH2 0x1FF PUSH2 0x260 CALLDATASIZE PUSH1 0x4 PUSH2 0x1334 JUMP JUMPDEST PUSH2 0x646 JUMP JUMPDEST PUSH2 0x1FF PUSH2 0x273 CALLDATASIZE PUSH1 0x4 PUSH2 0x1319 JUMP JUMPDEST PUSH2 0x6C9 JUMP JUMPDEST PUSH2 0x1FF PUSH2 0x286 CALLDATASIZE PUSH1 0x4 PUSH2 0x12E4 JUMP JUMPDEST PUSH2 0x725 JUMP JUMPDEST PUSH2 0x1DE PUSH2 0x828 JUMP JUMPDEST PUSH2 0x1FF PUSH2 0x2A1 CALLDATASIZE PUSH1 0x4 PUSH2 0x12E4 JUMP JUMPDEST PUSH2 0x84E JUMP JUMPDEST PUSH2 0x1DE PUSH2 0x9A8 JUMP JUMPDEST PUSH2 0x1DE PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x157A DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 JUMP JUMPDEST PUSH2 0x1DE PUSH2 0x9D0 JUMP JUMPDEST PUSH2 0x1DE PUSH2 0x9FA JUMP JUMPDEST PUSH2 0x1FF PUSH2 0x2E1 CALLDATASIZE PUSH1 0x4 PUSH2 0x12E4 JUMP JUMPDEST PUSH2 0xA25 JUMP JUMPDEST PUSH2 0x1DE PUSH2 0xB2A JUMP JUMPDEST PUSH2 0x1FF PUSH2 0x2FC CALLDATASIZE PUSH1 0x4 PUSH2 0x12E4 JUMP JUMPDEST PUSH2 0xB5B JUMP JUMPDEST PUSH2 0x1C1 PUSH2 0x30F CALLDATASIZE PUSH1 0x4 PUSH2 0x1334 JUMP JUMPDEST PUSH2 0xD74 JUMP JUMPDEST PUSH2 0x1DE PUSH1 0x0 DUP2 JUMP JUMPDEST PUSH2 0x1FF PUSH2 0x32A CALLDATASIZE PUSH1 0x4 PUSH2 0x1371 JUMP JUMPDEST PUSH2 0xD9D JUMP JUMPDEST PUSH2 0x1FF PUSH2 0x33D CALLDATASIZE PUSH1 0x4 PUSH2 0x12E4 JUMP JUMPDEST PUSH2 0xE17 JUMP JUMPDEST PUSH2 0x1DE PUSH2 0xF23 JUMP JUMPDEST PUSH2 0x1FF PUSH2 0x358 CALLDATASIZE PUSH1 0x4 PUSH2 0x1334 JUMP JUMPDEST PUSH2 0xF44 JUMP JUMPDEST PUSH2 0x1DE PUSH2 0xF6A JUMP JUMPDEST PUSH2 0x1DE PUSH2 0xFA0 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH4 0x7965DB0B PUSH1 0xE0 SHL EQ DUP1 PUSH2 0x39E JUMPI POP PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP4 AND EQ JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x3C8 SWAP1 PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL DUP2 MSTORE PUSH1 0xB ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x423 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x437 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x45B SWAP2 SWAP1 PUSH2 0x138E JUMP JUMPDEST SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x157A DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x47A DUP2 CALLER PUSH2 0xFCA JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2B ADD JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP7 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x4FD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x511 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x52C SWAP1 PUSH2 0x13A7 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x55D94655 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x587 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x59B JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x45B SWAP2 SWAP1 PUSH2 0x13BD JUMP JUMPDEST PUSH1 0x0 PUSH2 0x5CB DUP2 CALLER PUSH2 0xFCA JUMP JUMPDEST PUSH2 0x5E3 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x157A DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0xF44 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xEF69F7D97228658C92417BE1B16B19058315DE71FECB435D07B7D23728B6BD31 SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0x637 DUP2 CALLER PUSH2 0xFCA JUMP JUMPDEST PUSH2 0x641 DUP4 DUP4 PUSH2 0x102E JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND CALLER EQ PUSH2 0x6BB JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416363657373436F6E74726F6C3A2063616E206F6E6C792072656E6F756E6365 PUSH1 0x44 DUP3 ADD MSTORE PUSH15 0x103937B632B9903337B91039B2B633 PUSH1 0x89 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x6C5 DUP3 DUP3 PUSH2 0x10B2 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x6D5 DUP2 CALLER PUSH2 0xFCA JUMP JUMPDEST PUSH2 0x6ED PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x157A DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0x61B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xD873E3F571DC25E020CEFDEB7255B3874EAD3AADE1F94A5FB4A5DA831FD670CD SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x157A DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x73E DUP2 CALLER PUSH2 0xFCA JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x762 SWAP1 PUSH1 0x20 ADD PUSH2 0x13A7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x796 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x7AE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x7C2 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x7E6 SWAP2 SWAP1 PUSH2 0x13BD JUMP JUMPDEST PUSH2 0x802 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6B2 SWAP1 PUSH2 0x13DA JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2F ADD PUSH2 0x498 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x3C8 SWAP1 PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL DUP2 MSTORE PUSH1 0xD ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x157A DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x867 DUP2 CALLER PUSH2 0xFCA JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x88B SWAP1 PUSH1 0x20 ADD PUSH2 0x13A7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x8BF SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x8D7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x8EB JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x90F SWAP2 SWAP1 PUSH2 0x13BD JUMP JUMPDEST PUSH2 0x92B JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6B2 SWAP1 PUSH2 0x13DA JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL PUSH1 0x20 DUP1 DUP4 ADD SWAP2 SWAP1 SWAP2 MSTORE DUP3 MLOAD PUSH1 0xD DUP2 DUP5 SUB ADD DUP2 MSTORE PUSH1 0x2D SWAP1 SWAP3 ADD SWAP1 SWAP3 MSTORE DUP1 MLOAD SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x28192C55 DUP3 PUSH2 0x97F DUP7 PUSH3 0x15180 PUSH2 0x1427 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT PUSH1 0xE0 DUP6 SWAP1 SHL AND DUP2 MSTORE PUSH1 0x4 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH2 0x4E3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x3C8 SWAP1 PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL DUP2 MSTORE PUSH1 0xF ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x3C8 SWAP1 PUSH17 0x3A37BA30B629BAB838363CAFA2BA3432B9 PUSH1 0x79 SHL DUP2 MSTORE PUSH1 0x11 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x3C8 SWAP1 PUSH18 0x1D1BDD185B17D95D1A195C97DCDD185AD959 PUSH1 0x72 SHL DUP2 MSTORE PUSH1 0x12 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x157A DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xA3E DUP2 CALLER PUSH2 0xFCA JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xA62 SWAP1 PUSH1 0x20 ADD PUSH2 0x13A7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xA96 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xAAE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xAC2 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xAE6 SWAP2 SWAP1 PUSH2 0x13BD JUMP JUMPDEST PUSH2 0xB02 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6B2 SWAP1 PUSH2 0x13DA JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x31 ADD PUSH2 0x498 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x3C8 SWAP1 PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL DUP2 MSTORE PUSH1 0x18 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x157A DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xB74 DUP2 CALLER PUSH2 0xFCA JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xB98 SWAP1 PUSH1 0x20 ADD PUSH2 0x13A7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xBCC SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xBE4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xBF8 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xC1C SWAP2 SWAP1 PUSH2 0x13BD JUMP JUMPDEST PUSH2 0xC38 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6B2 SWAP1 PUSH2 0x13DA JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH8 0x706F6F6C46656573 PUSH1 0xC0 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x28 ADD PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xC8D SWAP1 PUSH11 0x1C1BDBDB1199595CD4D95D PUSH1 0xAA SHL DUP2 MSTORE PUSH1 0xB ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP6 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP8 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xCF1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xD05 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0x988C515B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP6 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP3 POP PUSH4 0x988C515B SWAP2 POP PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xD56 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xD6A JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP3 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 SWAP1 SWAP4 AND DUP5 MSTORE SWAP2 SWAP1 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x157A DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xDB6 DUP2 CALLER PUSH2 0xFCA JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xDC7 SWAP1 PUSH2 0x13A7 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x988C515B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE DUP6 ISZERO ISZERO PUSH1 0x24 DUP5 ADD MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x988C515B SWAP1 PUSH1 0x44 ADD PUSH2 0x4E3 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x157A DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xE30 DUP2 CALLER PUSH2 0xFCA JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xE54 SWAP1 PUSH1 0x20 ADD PUSH2 0x13A7 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xE88 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xEA0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xEB4 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xED8 SWAP2 SWAP1 PUSH2 0x13BD JUMP JUMPDEST PUSH2 0xEF4 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x6B2 SWAP1 PUSH2 0x13DA JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x38 ADD PUSH2 0x498 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x3C8 SWAP1 PUSH8 0x706F6F6C46656573 PUSH1 0xC0 SHL DUP2 MSTORE PUSH1 0x8 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0xF60 DUP2 CALLER PUSH2 0xFCA JUMP JUMPDEST PUSH2 0x641 DUP4 DUP4 PUSH2 0x10B2 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x3C8 SWAP1 PUSH32 0x746F74616C537570706C795F7265776172644574686572000000000000000000 DUP2 MSTORE PUSH1 0x17 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x3C8 SWAP1 PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL DUP2 MSTORE PUSH1 0x11 ADD SWAP1 JUMP JUMPDEST PUSH2 0xFD4 DUP3 DUP3 PUSH2 0xD74 JUMP JUMPDEST PUSH2 0x6C5 JUMPI PUSH2 0xFEC DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x14 PUSH2 0x1117 JUMP JUMPDEST PUSH2 0xFF7 DUP4 PUSH1 0x20 PUSH2 0x1117 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1008 SWAP3 SWAP2 SWAP1 PUSH2 0x1476 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE PUSH3 0x461BCD PUSH1 0xE5 SHL DUP3 MSTORE PUSH2 0x6B2 SWAP2 PUSH1 0x4 ADD PUSH2 0x14EB JUMP JUMPDEST PUSH2 0x1038 DUP3 DUP3 PUSH2 0xD74 JUMP JUMPDEST PUSH2 0x6C5 JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH2 0x106E CALLER SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH2 0x10BC DUP3 DUP3 PUSH2 0xD74 JUMP JUMPDEST ISZERO PUSH2 0x6C5 JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP1 DUP6 MSTORE SWAP3 MSTORE DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE MLOAD CALLER SWAP3 DUP6 SWAP2 PUSH32 0xF6391F5C32D9C69D2A47EA670B442974B53935D1EDC7FD64EB21E047A839171B SWAP2 SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH2 0x1126 DUP4 PUSH1 0x2 PUSH2 0x1427 JUMP JUMPDEST PUSH2 0x1131 SWAP1 PUSH1 0x2 PUSH2 0x151E JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1149 JUMPI PUSH2 0x1149 PUSH2 0x1536 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x1173 JUMPI PUSH1 0x20 DUP3 ADD DUP2 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x3 PUSH1 0xFC SHL DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x118E JUMPI PUSH2 0x118E PUSH2 0x154C JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0xF PUSH1 0xFB SHL DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x11BD JUMPI PUSH2 0x11BD PUSH2 0x154C JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x0 PUSH2 0x11E1 DUP5 PUSH1 0x2 PUSH2 0x1427 JUMP JUMPDEST PUSH2 0x11EC SWAP1 PUSH1 0x1 PUSH2 0x151E JUMP JUMPDEST SWAP1 POP JUMPDEST PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x1264 JUMPI PUSH16 0x181899199A1A9B1B9C1CB0B131B232B3 PUSH1 0x81 SHL DUP6 PUSH1 0xF AND PUSH1 0x10 DUP2 LT PUSH2 0x1220 JUMPI PUSH2 0x1220 PUSH2 0x154C JUMP JUMPDEST BYTE PUSH1 0xF8 SHL DUP3 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x1236 JUMPI PUSH2 0x1236 PUSH2 0x154C JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x4 SWAP5 SWAP1 SWAP5 SHR SWAP4 PUSH2 0x125D DUP2 PUSH2 0x1562 JUMP JUMPDEST SWAP1 POP PUSH2 0x11EF JUMP JUMPDEST POP DUP4 ISZERO PUSH2 0x12B3 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x537472696E67733A20686578206C656E67746820696E73756666696369656E74 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x6B2 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x12CC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND DUP2 EQ PUSH2 0x12B3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x12F6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x1314 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x132B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x12B3 DUP3 PUSH2 0x12FD JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1347 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD SWAP2 POP PUSH2 0x1357 PUSH1 0x20 DUP5 ADD PUSH2 0x12FD JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0x136E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1383 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x12B3 DUP2 PUSH2 0x1360 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x13A0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH10 0x6973506F6F6C4C697665 PUSH1 0xB0 SHL DUP2 MSTORE PUSH1 0xA ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x13CF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x12B3 DUP2 PUSH2 0x1360 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1D SWAP1 DUP3 ADD MSTORE PUSH32 0x54686520706F6F6C2069732063757272656E746C7920636C6F7365642E000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x0 NOT DIV DUP4 GT DUP3 ISZERO ISZERO AND ISZERO PUSH2 0x1441 JUMPI PUSH2 0x1441 PUSH2 0x1411 JUMP JUMPDEST POP MUL SWAP1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x1461 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x1449 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x1470 JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH32 0x416363657373436F6E74726F6C3A206163636F756E7420000000000000000000 DUP2 MSTORE PUSH1 0x0 DUP4 MLOAD PUSH2 0x14AE DUP2 PUSH1 0x17 DUP6 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x1446 JUMP JUMPDEST PUSH17 0x1034B99036B4B9B9B4B733903937B6329 PUSH1 0x7D SHL PUSH1 0x17 SWAP2 DUP5 ADD SWAP2 DUP3 ADD MSTORE DUP4 MLOAD PUSH2 0x14DF DUP2 PUSH1 0x28 DUP5 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x1446 JUMP JUMPDEST ADD PUSH1 0x28 ADD SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 DUP3 MLOAD DUP1 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x150A DUP2 PUSH1 0x40 DUP6 ADD PUSH1 0x20 DUP8 ADD PUSH2 0x1446 JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP2 SWAP1 SWAP2 ADD PUSH1 0x40 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x1531 JUMPI PUSH2 0x1531 PUSH2 0x1411 JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH2 0x1571 JUMPI PUSH2 0x1571 PUSH2 0x1411 JUMP JUMPDEST POP PUSH1 0x0 NOT ADD SWAP1 JUMP INVALID COINBASE LOG0 0x1E 0xC0 LOG1 EXTCODESIZE JUMP EXTCODEHASH LOG4 MSTORE JUMP SWAP15 EXTCODEHASH 0xBB GT PUSH4 0x66D217C2 PUSH23 0x9AA1561822E65A617E3842A2646970667358221220D02C PUSH20 0xDAD5C09EBC6E3D882F7D6D4D82B3FB3F920FDFE6 SWAP9 0xD6 BLOCKHASH STATICCALL 0xE8 PUSH12 0xFF9FD64736F6C6343000809 STOP CALLER ", + "sourceMap": "230:1293:2:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2620:202:3;;;;;;:::i;:::-;;:::i;:::-;;;470:14:10;;463:22;445:41;;433:2;418:18;2620:202:3;;;;;;;;6939:205:1;;;:::i;:::-;;;643:25:10;;;631:2;616:18;6939:205:1;497:177:10;3291:218:1;;;;;;:::i;:::-;;:::i;:::-;;6747:184;;;:::i;4008:129:3:-;;;;;;:::i;:::-;4082:7;4108:12;;;;;;;;;;:22;;;;4008:129;2171:175:1;;;;;;:::i;:::-;;:::i;4387:145:3:-;;;;;;:::i;:::-;;:::i;5404:214::-;;;;;;:::i;:::-;;:::i;1991:172:1:-;;;;;;:::i;:::-;;:::i;5115:350::-;;;;;;:::i;:::-;;:::i;7152:195::-;;;:::i;3583:359::-;;;;;;:::i;:::-;;:::i;7790:199::-;;;:::i;676:64::-;;-1:-1:-1;;;;;;;;;;;676:64:1;;873:198:2;;;:::i;1297:219::-;;;:::i;4638:361:1:-;;;;;;:::i;:::-;;:::i;7355:212::-;;;:::i;5781:477::-;;;;;;:::i;:::-;;:::i;2909:145:3:-;;;;;;:::i;:::-;;:::i;2027:49::-;;2072:4;2027:49;;2958:198:1;;;;;;:::i;:::-;;:::i;4149:371::-;;;;;;:::i;:::-;;:::i;8001:185::-;;;:::i;4766:147:3:-;;;;;;:::i;:::-;;:::i;1079:210:2:-;;;:::i;7575:207:1:-;;;:::i;2620:202:3:-;2705:4;-1:-1:-1;;;;;;2728:47:3;;-1:-1:-1;;;2728:47:3;;:87;;-1:-1:-1;;;;;;;;;;937:40:8;;;2779:36:3;2721:94;2620:202;-1:-1:-1;;2620:202:3:o;6939:205:1:-;6985:4;7001:22;7036:31;;;;;;-1:-1:-1;;;2430:26:10;;2481:2;2472:12;;2228:262;7036:31:1;;;;;;;-1:-1:-1;;7036:31:1;;;;;;;7026:42;;7036:31;7026:42;;;;7086:11;;-1:-1:-1;;;7086:42:1;;;;;643:25:10;;;7026:42:1;;-1:-1:-1;;;;;;7086:11:1;;:26;;616:18:10;;7086:42:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7079:49;;;6939:205;:::o;3291:218::-;-1:-1:-1;;;;;;;;;;;2505:30:3;715:25:1;719:10:6;2505::3;:30::i;:::-;3406:31:1::1;::::0;-1:-1:-1;;;3406:31:1::1;::::0;::::1;2430:26:10::0;3371:22:1::1;::::0;2472:12:10;;3406:31:1::1;;::::0;;;;::::1;-1:-1:-1::0;;3406:31:1;;;;;;;3396:42;;3406:31:::1;3396:42:::0;;::::1;::::0;3449:11:::1;::::0;-1:-1:-1;;;3449:52:1;;::::1;::::0;::::1;2858:25:10::0;;;2899:18;;;2892:34;;;3396:42:1;;-1:-1:-1;;;;;;3449:11:1::1;::::0;:26:::1;::::0;2831:18:10;;3449:52:1::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;3360:149;3291:218:::0;;:::o;6747:184::-;6791:4;6807:17;6837:30;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;6837:30:1;;;;;;;6827:41;;6837:30;6827:41;;;;6886:11;;-1:-1:-1;;;6886:37:1;;;;;643:25:10;;;6827:41:1;;-1:-1:-1;;;;;;6886:11:1;;:26;;616:18:10;;6886:37:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;2171:175::-;2072:4:3;2505:30;2072:4;719:10:6;2505::3;:30::i;:::-;2264:34:1::1;-1:-1:-1::0;;;;;;;;;;;2289:8:1::1;2264:10;:34::i;:::-;2314:24;::::0;-1:-1:-1;;;;;2314:24:1;::::1;::::0;::::1;::::0;;;::::1;2171:175:::0;;:::o;4387:145:3:-;4082:7;4108:12;;;;;;;;;;:22;;;2505:30;2516:4;719:10:6;2505::3;:30::i;:::-;4500:25:::1;4511:4;4517:7;4500:10;:25::i;:::-;4387:145:::0;;;:::o;5404:214::-;-1:-1:-1;;;;;5499:23:3;;719:10:6;5499:23:3;5491:83;;;;-1:-1:-1;;;5491:83:3;;3655:2:10;5491:83:3;;;3637:21:10;3694:2;3674:18;;;3667:30;3733:34;3713:18;;;3706:62;-1:-1:-1;;;3784:18:10;;;3777:45;3839:19;;5491:83:3;;;;;;;;;5585:26;5597:4;5603:7;5585:11;:26::i;:::-;5404:214;;:::o;1991:172:1:-;2072:4:3;2505:30;2072:4;719:10:6;2505::3;:30::i;:::-;2081:33:1::1;-1:-1:-1::0;;;;;;;;;;;2105:8:1::1;2081:9;:33::i;:::-;2130:25;::::0;-1:-1:-1;;;;;2130:25:1;::::1;::::0;::::1;::::0;;;::::1;1991:172:::0;;:::o;5115:350::-;-1:-1:-1;;;;;;;;;;;2505:30:3;715:25:1;719:10:6;2505::3;:30::i;:::-;5211:11:1::1;::::0;5248:30:::1;::::0;-1:-1:-1;;;;;5211:11:1;;::::1;::::0;:26:::1;::::0;5248:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;5238:41;;;;;;5211:69;;;;;;;;;;;;;643:25:10::0;;631:2;616:18;;497:177;5211:69:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5203:111;;;;-1:-1:-1::0;;;5203:111:1::1;;;;;;;:::i;:::-;5357:35;::::0;-1:-1:-1;;;5357:35:1::1;::::0;::::1;4429:30:10::0;5325:19:1::1;::::0;4475:12:10;;5357:35:1::1;4227:266:10::0;7152:195:1;7202:4;7218:18;7249:33;;;;;;-1:-1:-1;;;4700:28:10;;4753:2;4744:12;;4498:264;3583:359:1;-1:-1:-1;;;;;;;;;;;2505:30:3;715:25:1;719:10:6;2505::3;:30::i;:::-;3681:11:1::1;::::0;3718:30:::1;::::0;-1:-1:-1;;;;;3681:11:1;;::::1;::::0;:26:::1;::::0;3718:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;3708:41;;;;;;3681:69;;;;;;;;;;;;;643:25:10::0;;631:2;616:18;;497:177;3681:69:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3673:111;;;;-1:-1:-1::0;;;3673:111:1::1;;;;;;;:::i;:::-;3826:33;::::0;;-1:-1:-1;;;3826:33:1::1;::::0;;::::1;4700:28:10::0;;;;3826:33:1;;;;;;;;;4744:12:10;;;;3826:33:1;;;3816:44;;;::::1;::::0;3871:11:::1;::::0;-1:-1:-1;;;;;3871:11:1::1;:26;3816:44:::0;3910:23:::1;:14:::0;3927:6:::1;3910:23;:::i;:::-;3871:63;::::0;-1:-1:-1;;;;;;3871:63:1::1;::::0;;;;;;::::1;::::0;::::1;2858:25:10::0;;;;2899:18;;;2892:34;2831:18;;3871:63:1::1;2684:248:10::0;7790:199:1;7840:4;7856:19;7888:35;;;;;;-1:-1:-1;;;4429:30:10;;4484:2;4475:12;;4227:266;873:198:2;924:4;940:17;970:37;;;;;;-1:-1:-1;;;5274:32:10;;5331:2;5322:12;;5072:268;1297:219:2;1350:4;1366:26;1405:38;;;;;;-1:-1:-1;;;5547:33:10;;5605:2;5596:12;;5345:269;4638:361:1;-1:-1:-1;;;;;;;;;;;2505:30:3;715:25:1;719:10:6;2505::3;:30::i;:::-;4737:11:1::1;::::0;4774:30:::1;::::0;-1:-1:-1;;;;;4737:11:1;;::::1;::::0;:26:::1;::::0;4774:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;4764:41;;;;;;4737:69;;;;;;;;;;;;;643:25:10::0;;631:2;616:18;;497:177;4737:69:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4729:111;;;;-1:-1:-1::0;;;4729:111:1::1;;;;;;;:::i;:::-;4885:37;::::0;-1:-1:-1;;;4885:37:1::1;::::0;::::1;5821:32:10::0;4851:21:1::1;::::0;5869:12:10;;4885:37:1::1;5619:268:10::0;7355:212:1;7405:4;7421:21;7455:44;;;;;;-1:-1:-1;;;6094:39:10;;6158:2;6149:12;;5892:275;5781:477:1;-1:-1:-1;;;;;;;;;;;2505:30:3;715:25:1;719:10:6;2505::3;:30::i;:::-;5867:11:1::1;::::0;5904:30:::1;::::0;-1:-1:-1;;;;;5867:11:1;;::::1;::::0;:26:::1;::::0;5904:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;5894:41;;;;;;5867:69;;;;;;;;;;;;;643:25:10::0;;631:2;616:18;;497:177;5867:69:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5859:111;;;;-1:-1:-1::0;;;5859:111:1::1;;;;;;;:::i;:::-;6013:28;::::0;-1:-1:-1;;;6013:28:1::1;::::0;::::1;6374:23:10::0;5981:19:1::1;::::0;6413:11:10;;6013:28:1::1;;;;;;;;;;;;6003:39;;;;;;5981:61;;6053:22;6088:31;;;;;;-1:-1:-1::0;;;6637:26:10;;6688:2;6679:12;;6435:262;6088:31:1::1;;::::0;;;;::::1;-1:-1:-1::0;;6088:31:1;;;;;;;6078:42;;6088:31:::1;6078:42:::0;;::::1;::::0;6141:11:::1;::::0;-1:-1:-1;;;6141:50:1;;::::1;::::0;::::1;2858:25:10::0;;;2899:18;;;2892:34;;;6078:42:1;;-1:-1:-1;;;;;;6141:11:1::1;::::0;:26:::1;::::0;2831:18:10;;6141:50:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;6202:11:1::1;::::0;:48:::1;::::0;-1:-1:-1;;;6202:48:1;;::::1;::::0;::::1;6870:25:10::0;;;6202:11:1;6911:18:10;;;6904:50;-1:-1:-1;;;;;6202:11:1;;::::1;::::0;-1:-1:-1;6202:26:1::1;::::0;-1:-1:-1;6843:18:10;;6202:48:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;5848:410;;5781:477:::0;;:::o;2909:145:3:-;2995:4;3018:12;;;;;;;;;;;-1:-1:-1;;;;;3018:29:3;;;;;;;;;;;;;;;2909:145::o;2958:198:1:-;-1:-1:-1;;;;;;;;;;;2505:30:3;715:25:1;719:10:6;2505::3;:30::i;:::-;3032:17:1::1;3062:30;;;;;;;:::i;:::-;;::::0;;;;::::1;-1:-1:-1::0;;3062:30:1;;;;;;;3052:41;;3062:30:::1;3052:41:::0;;::::1;::::0;3104:11:::1;::::0;-1:-1:-1;;;3104:44:1;;::::1;::::0;::::1;6870:25:10::0;;;6938:14;;6931:22;6911:18;;;6904:50;3052:41:1;;-1:-1:-1;;;;;;3104:11:1::1;::::0;:26:::1;::::0;6843:18:10;;3104:44:1::1;6702:258:10::0;4149:371:1;-1:-1:-1;;;;;;;;;;;2505:30:3;715:25:1;719:10:6;2505::3;:30::i;:::-;4249:11:1::1;::::0;4286:30:::1;::::0;-1:-1:-1;;;;;4249:11:1;;::::1;::::0;:26:::1;::::0;4286:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;4276:41;;;;;;4249:69;;;;;;;;;;;;;643:25:10::0;;631:2;616:18;;497:177;4249:69:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4241:111;;;;-1:-1:-1::0;;;4241:111:1::1;;;;;;;:::i;:::-;4397:44;::::0;-1:-1:-1;;;4397:44:1::1;::::0;::::1;6094:39:10::0;4363:21:1::1;::::0;6149:12:10;;4397:44:1::1;5892:275:10::0;8001:185:1;8044:4;8060:19;8092:28;;;;;;-1:-1:-1;;;6374:23:10;;6422:1;6413:11;;6172:258;4766:147:3;4082:7;4108:12;;;;;;;;;;:22;;;2505:30;2516:4;719:10:6;2505::3;:30::i;:::-;4880:26:::1;4892:4;4898:7;4880:11;:26::i;1079:210:2:-:0;1132:4;1148:19;1180:43;;;;;;7179:25:10;7167:38;;7230:2;7221:12;;6965:274;7575:207:1;7627:4;7643:21;7677:37;;;;;;-1:-1:-1;;;5821:32:10;;5878:2;5869:12;;5619:268;3335:492:3;3423:22;3431:4;3437:7;3423;:22::i;:::-;3418:403;;3606:41;3634:7;-1:-1:-1;;;;;3606:41:3;3644:2;3606:19;:41::i;:::-;3718:38;3746:4;3753:2;3718:19;:38::i;:::-;3513:265;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3513:265:3;;;;;;;;;;-1:-1:-1;;;3461:349:3;;;;;;;:::i;6861:233::-;6944:22;6952:4;6958:7;6944;:22::i;:::-;6939:149;;6982:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6982:29:3;;;;;;;;;:36;;-1:-1:-1;;6982:36:3;7014:4;6982:36;;;7064:12;719:10:6;;640:96;7064:12:3;-1:-1:-1;;;;;7037:40:3;7055:7;-1:-1:-1;;;;;7037:40:3;7049:4;7037:40;;;;;;;;;;6861:233;;:::o;7219:234::-;7302:22;7310:4;7316:7;7302;:22::i;:::-;7298:149;;;7372:5;7340:12;;;;;;;;;;;-1:-1:-1;;;;;7340:29:3;;;;;;;;;;:37;;-1:-1:-1;;7340:37:3;;;7396:40;719:10:6;;7340:12:3;;7396:40;;7372:5;7396:40;7219:234;;:::o;1588:441:7:-;1663:13;1688:19;1720:10;1724:6;1720:1;:10;:::i;:::-;:14;;1733:1;1720:14;:::i;:::-;1710:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1710:25:7;;1688:47;;-1:-1:-1;;;1745:6:7;1752:1;1745:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1745:15:7;;;;;;;;;-1:-1:-1;;;1770:6:7;1777:1;1770:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1770:15:7;;;;;;;;-1:-1:-1;1800:9:7;1812:10;1816:6;1812:1;:10;:::i;:::-;:14;;1825:1;1812:14;:::i;:::-;1800:26;;1795:132;1832:1;1828;:5;1795:132;;;-1:-1:-1;;;1879:5:7;1887:3;1879:11;1866:25;;;;;;;:::i;:::-;;;;1854:6;1861:1;1854:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;1854:37:7;;;;;;;;-1:-1:-1;1915:1:7;1905:11;;;;;1835:3;;;:::i;:::-;;;1795:132;;;-1:-1:-1;1944:10:7;;1936:55;;;;-1:-1:-1;;;1936:55:7;;9426:2:10;1936:55:7;;;9408:21:10;;;9445:18;;;9438:30;9504:34;9484:18;;;9477:62;9556:18;;1936:55:7;9224:356:10;1936:55:7;2015:6;1588:441;-1:-1:-1;;;1588:441:7:o;14:286:10:-;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:10;;209:43;;199:71;;266:1;263;256:12;679:180;738:6;791:2;779:9;770:7;766:23;762:32;759:52;;;807:1;804;797:12;759:52;-1:-1:-1;830:23:10;;679:180;-1:-1:-1;679:180:10:o;1231:173::-;1299:20;;-1:-1:-1;;;;;1348:31:10;;1338:42;;1328:70;;1394:1;1391;1384:12;1328:70;1231:173;;;:::o;1409:186::-;1468:6;1521:2;1509:9;1500:7;1496:23;1492:32;1489:52;;;1537:1;1534;1527:12;1489:52;1560:29;1579:9;1560:29;:::i;1600:254::-;1668:6;1676;1729:2;1717:9;1708:7;1704:23;1700:32;1697:52;;;1745:1;1742;1735:12;1697:52;1781:9;1768:23;1758:33;;1810:38;1844:2;1833:9;1829:18;1810:38;:::i;:::-;1800:48;;1600:254;;;;;:::o;1859:118::-;1945:5;1938:13;1931:21;1924:5;1921:32;1911:60;;1967:1;1964;1957:12;1911:60;1859:118;:::o;1982:241::-;2038:6;2091:2;2079:9;2070:7;2066:23;2062:32;2059:52;;;2107:1;2104;2097:12;2059:52;2146:9;2133:23;2165:28;2187:5;2165:28;:::i;2495:184::-;2565:6;2618:2;2606:9;2597:7;2593:23;2589:32;2586:52;;;2634:1;2631;2624:12;2586:52;-1:-1:-1;2657:16:10;;2495:184;-1:-1:-1;2495:184:10:o;2937:261::-;-1:-1:-1;;;3139:25:10;;3189:2;3180:12;;2937:261::o;3203:245::-;3270:6;3323:2;3311:9;3302:7;3298:23;3294:32;3291:52;;;3339:1;3336;3329:12;3291:52;3371:9;3365:16;3390:28;3412:5;3390:28;:::i;3869:353::-;4071:2;4053:21;;;4110:2;4090:18;;;4083:30;4149:31;4144:2;4129:18;;4122:59;4213:2;4198:18;;3869:353::o;4767:127::-;4828:10;4823:3;4819:20;4816:1;4809:31;4859:4;4856:1;4849:15;4883:4;4880:1;4873:15;4899:168;4939:7;5005:1;5001;4997:6;4993:14;4990:1;4987:21;4982:1;4975:9;4968:17;4964:45;4961:71;;;5012:18;;:::i;:::-;-1:-1:-1;5052:9:10;;4899:168::o;7244:258::-;7316:1;7326:113;7340:6;7337:1;7334:13;7326:113;;;7416:11;;;7410:18;7397:11;;;7390:39;7362:2;7355:10;7326:113;;;7457:6;7454:1;7451:13;7448:48;;;7492:1;7483:6;7478:3;7474:16;7467:27;7448:48;;7244:258;;;:::o;7507:786::-;7918:25;7913:3;7906:38;7888:3;7973:6;7967:13;7989:62;8044:6;8039:2;8034:3;8030:12;8023:4;8015:6;8011:17;7989:62;:::i;:::-;-1:-1:-1;;;8110:2:10;8070:16;;;8102:11;;;8095:40;8160:13;;8182:63;8160:13;8231:2;8223:11;;8216:4;8204:17;;8182:63;:::i;:::-;8265:17;8284:2;8261:26;;7507:786;-1:-1:-1;;;;7507:786:10:o;8298:383::-;8447:2;8436:9;8429:21;8410:4;8479:6;8473:13;8522:6;8517:2;8506:9;8502:18;8495:34;8538:66;8597:6;8592:2;8581:9;8577:18;8572:2;8564:6;8560:15;8538:66;:::i;:::-;8665:2;8644:15;-1:-1:-1;;8640:29:10;8625:45;;;;8672:2;8621:54;;8298:383;-1:-1:-1;;8298:383:10:o;8686:128::-;8726:3;8757:1;8753:6;8750:1;8747:13;8744:39;;;8763:18;;:::i;:::-;-1:-1:-1;8799:9:10;;8686:128::o;8819:127::-;8880:10;8875:3;8871:20;8868:1;8861:31;8911:4;8908:1;8901:15;8935:4;8932:1;8925:15;8951:127;9012:10;9007:3;9003:20;9000:1;8993:31;9043:4;9040:1;9033:15;9067:4;9064:1;9057:15;9083:136;9122:3;9150:5;9140:39;;9159:18;;:::i;:::-;-1:-1:-1;;;9195:18:10;;9083:136::o" + }, + "gasEstimates": { + "creation": { + "codeDepositCost": "1116600", + "executionCost": "infinite", + "totalCost": "infinite" + }, + "external": { + "DEFAULT_ADMIN_ROLE()": "240", + "POOL_MANAGER()": "infinite", + "addPoolManager(address)": "infinite", + "getContributionLimit()": "infinite", + "getPoolFees()": "infinite", + "getPoolMaxSize()": "infinite", + "getPoolState()": "infinite", + "getRewardsInterest()": "infinite", + "getRewardsInterval()": "infinite", + "getRoleAdmin(bytes32)": "2559", + "getTotalEthSupply()": "infinite", + "getTotalEtherStaked()": "infinite", + "getTotalrwEthSupply()": "infinite", + "grantRole(bytes32,address)": "infinite", + "hasRole(bytes32,address)": "2762", + "removePoolManager(address)": "infinite", + "renounceRole(bytes32,address)": "29063", + "revokeRole(bytes32,address)": "infinite", + "setContributionLimit(uint256)": "infinite", + "setMinContribution()": "infinite", + "setMinContribution(uint256)": "infinite", + "setPoolFees(uint256)": "infinite", + "setPoolLive(bool)": "infinite", + "setPoolMaxSize(uint256)": "infinite", + "setRewardsInterest(uint256)": "infinite", + "setRewardsInterval(uint256)": "infinite", + "supportsInterface(bytes4)": "450" + }, + "internal": { + "_setTokenBalancesAddress()": "infinite" + } + }, + "methodIdentifiers": { + "DEFAULT_ADMIN_ROLE()": "a217fddf", + "POOL_MANAGER()": "62308e85", + "addPoolManager(address)": "45077e71", + "getContributionLimit()": "fa1e19e5", + "getPoolFees()": "d1d8d060", + "getPoolMaxSize()": "095df57f", + "getPoolState()": "217ac237", + "getRewardsInterest()": "7521796f", + "getRewardsInterval()": "497d0241", + "getRoleAdmin(bytes32)": "248a9ca3", + "getTotalEthSupply()": "6402c262", + "getTotalEtherStaked()": "70959ff8", + "getTotalrwEthSupply()": "e2bcb3df", + "grantRole(bytes32,address)": "2f2ff15d", + "hasRole(bytes32,address)": "91d14854", + "removePoolManager(address)": "29ca15bc", + "renounceRole(bytes32,address)": "36568abe", + "revokeRole(bytes32,address)": "d547741f", + "setContributionLimit(uint256)": "72d099a0", + "setMinContribution()": "543edfb6", + "setMinContribution(uint256)": "473b0d46", + "setPoolFees(uint256)": "8dd225d5", + "setPoolLive(bool)": "a4975516", + "setPoolMaxSize(uint256)": "12646987", + "setRewardsInterest(uint256)": "bf4c0036", + "setRewardsInterval(uint256)": "53710f49", + "supportsInterface(bytes4)": "01ffc9a7" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract DataStorageInterface\",\"name\":\"_dataStorageAddress\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_removedManager\",\"type\":\"address\"}],\"name\":\"ManagerRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_newManager\",\"type\":\"address\"}],\"name\":\"NewManagerAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"POOL_MANAGER\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"addPoolManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getContributionLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolMaxSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolState\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsInterest\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsInterval\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalEthSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalEtherStaked\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalrwEthSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"removePoolManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newContrLimit\",\"type\":\"uint256\"}],\"name\":\"setContributionLimit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newMinContr\",\"type\":\"uint256\"}],\"name\":\"setMinContribution\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"setMinContribution\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_poolFees\",\"type\":\"uint256\"}],\"name\":\"setPoolFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_live\",\"type\":\"bool\"}],\"name\":\"setPoolLive\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxSize\",\"type\":\"uint256\"}],\"name\":\"setPoolMaxSize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_rewardsInterest\",\"type\":\"uint256\"}],\"name\":\"setRewardsInterest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_daysToRewards\",\"type\":\"uint256\"}],\"name\":\"setRewardsInterval\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role.\"},\"setContributionLimit(uint256)\":{\"details\":\"Set the max. contribution allowed for each user.\",\"params\":{\"_newContrLimit\":\"is a WEI value.\"}},\"setMinContribution(uint256)\":{\"details\":\"Set the min. contribution allowed for each user.\",\"params\":{\"_newMinContr\":\"is a WEI value.\"}},\"setPoolFees(uint256)\":{\"details\":\"Set the pool fees fraction that the pool charges for each deposit.\",\"params\":{\"_poolFees\":\"within the storage has 6 decimals.\"}},\"setPoolLive(bool)\":{\"details\":\"Toggles the Pool Investing Switch. \"},\"setPoolMaxSize(uint256)\":{\"details\":\"Sets the Pool Maximium size expressed on ether.\",\"params\":{\"_maxSize\":\"is a WEI value (or BigInt / BigNumber).\"}},\"setRewardsInterest(uint256)\":{\"details\":\"Set the interest per effective period.\",\"params\":{\"_rewardsInterest\":\"within the storage has 6 decimals.\"}},\"setRewardsInterval(uint256)\":{\"details\":\"Set the interval in days of the rewards period.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"setPoolFees(uint256)\":{\"notice\":\"E.G. If 0.001235 fees fraction are desired, 0.001235 * (10**6) = 1235.Also it sets the state variable \\\"poolFeesSet\\\" as true.\"},\"setPoolLive(bool)\":{\"notice\":\"While live, anyone can invest but any state variable can be modified nor deleted.\"},\"setRewardsInterest(uint256)\":{\"notice\":\"E.G. If 0.001134 rate is desired, 0.001134 * (10**6) = 1134.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/TokenBalances.sol\":\"TokenBalances\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/DataStorageInterface.sol\":{\"keccak256\":\"0x2136bae23b43613eea5248f48da3a33c0fd5c9090337d43a31b943912ef8203b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7a084874e9224800b6b710f304a926ef04eab7cd361d9fb87a073b52dd4e2a6\",\"dweb:/ipfs/QmWZJKF1ReW1d3aXvZRL75QuuGfskLLvi2TwbtV4QRFTob\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol\":{\"keccak256\":\"0x915945c322eecea4d77e49da6ae7e69cc377bbc275a851dea233a8816780b6ff\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7027b622a79b11c1fe2e697567c7869459dd0a003ac4174d68faf3328f59cb1f\",\"dweb:/ipfs/QmUxsT4rPoNBKstE6s1uGEzZA9UryN8xzdrkoZTnUk9NrF\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/TokenBalances.sol\":{\"keccak256\":\"0x1ea2637acdb16604dc946b67094040ce72ee50d9c0deefde2ff1d74a0b5298d0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e2e20b5bed0d6a61038bf7d36a32f4a79a7374eabfe438124525d218a6bdf421\",\"dweb:/ipfs/QmXPci2DSSEKGMCfT1KzoonLD5uyW8uvi4dtFyKvEFcPwA\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0x4a1a0ba12bf1a33f10d9fe226278cf59675c0b929d29e4da99658a079b27fb84\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bda1319db846d6d6f92d8a57a9bdee8bde1dc39aa7546165791692c24dd6f30a\",\"dweb:/ipfs/Qma5oZ7DmbdAjd8mpiW7mx896PDtwsQtCQ2hj9Upf7b7JK\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol\":{\"keccak256\":\"0x0e9621f60b2faabe65549f7ed0f24e8853a45c1b7990d47e8160e523683f3935\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://287a2f8d5814dd0f05f22b740f18ca8321acc21c9bd03a6cb2203ea626e2f3f2\",\"dweb:/ipfs/QmZRQv9iuwU817VuqkA2WweiaibKii69x9QxYBBEfbNEud\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}", + "storageLayout": { + "storage": [ + { + "astId": 861, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/TokenBalances.sol:TokenBalances", + "label": "_roles", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_bytes32,t_struct(RoleData)856_storage)" + }, + { + "astId": 1229, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/TokenBalances.sol:TokenBalances", + "label": "_status", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 140, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/TokenBalances.sol:TokenBalances", + "label": "dataStorage", + "offset": 0, + "slot": "2", + "type": "t_contract(DataStorageInterface)113" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_contract(DataStorageInterface)113": { + "encoding": "inplace", + "label": "contract DataStorageInterface", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_bool)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_bytes32,t_struct(RoleData)856_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => struct AccessControl.RoleData)", + "numberOfBytes": "32", + "value": "t_struct(RoleData)856_storage" + }, + "t_struct(RoleData)856_storage": { + "encoding": "inplace", + "label": "struct AccessControl.RoleData", + "members": [ + { + "astId": 853, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/TokenBalances.sol:TokenBalances", + "label": "members", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 855, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/TokenBalances.sol:TokenBalances", + "label": "adminRole", + "offset": 0, + "slot": "1", + "type": "t_bytes32" + } + ], + "numberOfBytes": "64" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } + }, + "userdoc": { + "kind": "user", + "methods": { + "setPoolFees(uint256)": { + "notice": "E.G. If 0.001235 fees fraction are desired, 0.001235 * (10**6) = 1235.Also it sets the state variable \"poolFeesSet\" as true." + }, + "setPoolLive(bool)": { + "notice": "While live, anyone can invest but any state variable can be modified nor deleted." + }, + "setRewardsInterest(uint256)": { + "notice": "E.G. If 0.001134 rate is desired, 0.001134 * (10**6) = 1134." + } + }, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol": { + "AccessControl": { + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "devdoc": { + "details": "Contract module that allows children to implement role-based access control mechanisms. This is a lightweight version that doesn't allow enumerating role members except through off-chain means by accessing the contract event logs. Some applications may benefit from on-chain enumerability, for those cases see {AccessControlEnumerable}. Roles are referred to by their `bytes32` identifier. These should be exposed in the external API and be unique. The best way to achieve this is by using `public constant` hash digests: ``` bytes32 public constant MY_ROLE = keccak256(\"MY_ROLE\"); ``` Roles can be used to represent a set of permissions. To restrict access to a function call, use {hasRole}: ``` function foo() public { require(hasRole(MY_ROLE, msg.sender)); ... } ``` Roles can be granted and revoked dynamically via the {grantRole} and {revokeRole} functions. Each role has an associated admin role, and only accounts that have a role's admin role can call {grantRole} and {revokeRole}. By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means that only accounts with this role will be able to grant or revoke other roles. More complex role relationships can be created by using {_setRoleAdmin}. WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to grant and revoke this role. Extra precautions should be taken to secure accounts that have been granted it.", + "kind": "dev", + "methods": { + "getRoleAdmin(bytes32)": { + "details": "Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}." + }, + "grantRole(bytes32,address)": { + "details": "Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role." + }, + "hasRole(bytes32,address)": { + "details": "Returns `true` if `account` has been granted `role`." + }, + "renounceRole(bytes32,address)": { + "details": "Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`." + }, + "revokeRole(bytes32,address)": { + "details": "Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role." + }, + "supportsInterface(bytes4)": { + "details": "See {IERC165-supportsInterface}." + } + }, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "DEFAULT_ADMIN_ROLE()": "a217fddf", + "getRoleAdmin(bytes32)": "248a9ca3", + "grantRole(bytes32,address)": "2f2ff15d", + "hasRole(bytes32,address)": "91d14854", + "renounceRole(bytes32,address)": "36568abe", + "revokeRole(bytes32,address)": "d547741f", + "supportsInterface(bytes4)": "01ffc9a7" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Contract module that allows children to implement role-based access control mechanisms. This is a lightweight version that doesn't allow enumerating role members except through off-chain means by accessing the contract event logs. Some applications may benefit from on-chain enumerability, for those cases see {AccessControlEnumerable}. Roles are referred to by their `bytes32` identifier. These should be exposed in the external API and be unique. The best way to achieve this is by using `public constant` hash digests: ``` bytes32 public constant MY_ROLE = keccak256(\\\"MY_ROLE\\\"); ``` Roles can be used to represent a set of permissions. To restrict access to a function call, use {hasRole}: ``` function foo() public { require(hasRole(MY_ROLE, msg.sender)); ... } ``` Roles can be granted and revoked dynamically via the {grantRole} and {revokeRole} functions. Each role has an associated admin role, and only accounts that have a role's admin role can call {grantRole} and {revokeRole}. By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means that only accounts with this role will be able to grant or revoke other roles. More complex role relationships can be created by using {_setRoleAdmin}. WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to grant and revoke this role. Extra precautions should be taken to secure accounts that have been granted it.\",\"kind\":\"dev\",\"methods\":{\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol\":\"AccessControl\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0x4a1a0ba12bf1a33f10d9fe226278cf59675c0b929d29e4da99658a079b27fb84\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bda1319db846d6d6f92d8a57a9bdee8bde1dc39aa7546165791692c24dd6f30a\",\"dweb:/ipfs/Qma5oZ7DmbdAjd8mpiW7mx896PDtwsQtCQ2hj9Upf7b7JK\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}", + "storageLayout": { + "storage": [ + { + "astId": 861, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol:AccessControl", + "label": "_roles", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_bytes32,t_struct(RoleData)856_storage)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_bool)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_bytes32,t_struct(RoleData)856_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => struct AccessControl.RoleData)", + "numberOfBytes": "32", + "value": "t_struct(RoleData)856_storage" + }, + "t_struct(RoleData)856_storage": { + "encoding": "inplace", + "label": "struct AccessControl.RoleData", + "members": [ + { + "astId": 853, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol:AccessControl", + "label": "members", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 855, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol:AccessControl", + "label": "adminRole", + "offset": 0, + "slot": "1", + "type": "t_bytes32" + } + ], + "numberOfBytes": "64" + } + } + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol": { + "IAccessControl": { + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "devdoc": { + "details": "External interface of AccessControl declared to support ERC165 detection.", + "events": { + "RoleAdminChanged(bytes32,bytes32,bytes32)": { + "details": "Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite {RoleAdminChanged} not being emitted signaling this. _Available since v3.1._" + }, + "RoleGranted(bytes32,address,address)": { + "details": "Emitted when `account` is granted `role`. `sender` is the account that originated the contract call, an admin role bearer except when using {AccessControl-_setupRole}." + }, + "RoleRevoked(bytes32,address,address)": { + "details": "Emitted when `account` is revoked `role`. `sender` is the account that originated the contract call: - if using `revokeRole`, it is the admin role bearer - if using `renounceRole`, it is the role bearer (i.e. `account`)" + } + }, + "kind": "dev", + "methods": { + "getRoleAdmin(bytes32)": { + "details": "Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {AccessControl-_setRoleAdmin}." + }, + "grantRole(bytes32,address)": { + "details": "Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role." + }, + "hasRole(bytes32,address)": { + "details": "Returns `true` if `account` has been granted `role`." + }, + "renounceRole(bytes32,address)": { + "details": "Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`." + }, + "revokeRole(bytes32,address)": { + "details": "Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role." + } + }, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "getRoleAdmin(bytes32)": "248a9ca3", + "grantRole(bytes32,address)": "2f2ff15d", + "hasRole(bytes32,address)": "91d14854", + "renounceRole(bytes32,address)": "36568abe", + "revokeRole(bytes32,address)": "d547741f" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"External interface of AccessControl declared to support ERC165 detection.\",\"events\":{\"RoleAdminChanged(bytes32,bytes32,bytes32)\":{\"details\":\"Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite {RoleAdminChanged} not being emitted signaling this. _Available since v3.1._\"},\"RoleGranted(bytes32,address,address)\":{\"details\":\"Emitted when `account` is granted `role`. `sender` is the account that originated the contract call, an admin role bearer except when using {AccessControl-_setupRole}.\"},\"RoleRevoked(bytes32,address,address)\":{\"details\":\"Emitted when `account` is revoked `role`. `sender` is the account that originated the contract call: - if using `revokeRole`, it is the admin role bearer - if using `renounceRole`, it is the role bearer (i.e. `account`)\"}},\"kind\":\"dev\",\"methods\":{\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {AccessControl-_setRoleAdmin}.\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":\"IAccessControl\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol": { + "ReentrancyGuard": { + "abi": [], + "devdoc": { + "details": "Contract module that helps prevent reentrant calls to a function. Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier available, which can be applied to functions to make sure there are no nested (reentrant) calls to them. Note that because there is a single `nonReentrant` guard, functions marked as `nonReentrant` may not call one another. This can be worked around by making those functions `private`, and then adding `external` `nonReentrant` entry points to them. TIP: If you would like to learn more about reentrancy and alternative ways to protect against it, check out our blog post https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].", + "kind": "dev", + "methods": {}, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": {} + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Contract module that helps prevent reentrant calls to a function. Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier available, which can be applied to functions to make sure there are no nested (reentrant) calls to them. Note that because there is a single `nonReentrant` guard, functions marked as `nonReentrant` may not call one another. This can be worked around by making those functions `private`, and then adding `external` `nonReentrant` entry points to them. TIP: If you would like to learn more about reentrancy and alternative ways to protect against it, check out our blog post https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol\":\"ReentrancyGuard\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol\":{\"keccak256\":\"0x0e9621f60b2faabe65549f7ed0f24e8853a45c1b7990d47e8160e523683f3935\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://287a2f8d5814dd0f05f22b740f18ca8321acc21c9bd03a6cb2203ea626e2f3f2\",\"dweb:/ipfs/QmZRQv9iuwU817VuqkA2WweiaibKii69x9QxYBBEfbNEud\"]}},\"version\":1}", + "storageLayout": { + "storage": [ + { + "astId": 1229, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol:ReentrancyGuard", + "label": "_status", + "offset": 0, + "slot": "0", + "type": "t_uint256" + } + ], + "types": { + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol": { + "Context": { + "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 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": {} + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"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\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol\":\"Context\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol": { + "Strings": { + "abi": [], + "devdoc": { + "details": "String operations.", + "kind": "dev", + "methods": {}, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202f9345af5ae9c45c24126d0cdf967b54d208ff8960058323c80bace4d36c3bae64736f6c63430008090033", + "opcodes": "PUSH1 0x56 PUSH1 0x37 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x2A JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST ADDRESS PUSH1 0x0 MSTORE PUSH1 0x73 DUP2 MSTORE8 DUP3 DUP2 RETURN INVALID PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x2F SWAP4 GASLIMIT 0xAF GAS 0xE9 0xC4 0x5C 0x24 SLT PUSH14 0xCDF967B54D208FF8960058323C8 SIGNEXTEND 0xAC 0xE4 0xD3 PUSH13 0x3BAE64736F6C63430008090033 ", + "sourceMap": "146:1885:7:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;146:1885:7;;;;;;;;;;;;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202f9345af5ae9c45c24126d0cdf967b54d208ff8960058323c80bace4d36c3bae64736f6c63430008090033", + "opcodes": "PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x2F SWAP4 GASLIMIT 0xAF GAS 0xE9 0xC4 0x5C 0x24 SLT PUSH14 0xCDF967B54D208FF8960058323C8 SIGNEXTEND 0xAC 0xE4 0xD3 PUSH13 0x3BAE64736F6C63430008090033 ", + "sourceMap": "146:1885:7:-:0;;;;;;;;" + }, + "gasEstimates": { + "creation": { + "codeDepositCost": "17200", + "executionCost": "103", + "totalCost": "17303" + }, + "internal": { + "toHexString(uint256)": "infinite", + "toHexString(uint256,uint256)": "infinite", + "toString(uint256)": "infinite" + } + }, + "methodIdentifiers": {} + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"String operations.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol\":\"Strings\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol": { + "ERC165": { + "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 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "supportsInterface(bytes4)": "01ffc9a7" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"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\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":\"ERC165\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol": { + "IERC165": { + "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 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "supportsInterface(bytes4)": "01ffc9a7" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"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\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":\"IERC165\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + } + }, + "sources": { + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/DataStorageInterface.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/DataStorageInterface.sol", + "exportedSymbols": { + "DataStorageInterface": [ + 113 + ] + }, + "id": 114, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1, + "literals": [ + "solidity", + "0.8", + ".9" + ], + "nodeType": "PragmaDirective", + "src": "33:22:0" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "DataStorageInterface", + "contractDependencies": [], + "contractKind": "interface", + "fullyImplemented": false, + "id": 113, + "linearizedBaseContracts": [ + 113 + ], + "name": "DataStorageInterface", + "nameLocation": "69:20:0", + "nodeType": "ContractDefinition", + "nodes": [ + { + "functionSelector": "545e1b52", + "id": 6, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getStorageStatus", + "nameLocation": "155:16:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2, + "nodeType": "ParameterList", + "parameters": [], + "src": "171:2:0" + }, + "returnParameters": { + "id": 5, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 4, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 6, + "src": "196:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 3, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "196:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "195:6:0" + }, + "scope": 113, + "src": "146:56:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "0bc169a5", + "id": 11, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getCurrentGuardian", + "nameLocation": "217:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 7, + "nodeType": "ParameterList", + "parameters": [], + "src": "235:2:0" + }, + "returnParameters": { + "id": 10, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 9, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 11, + "src": "260:7:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 8, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "260:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "259:9:0" + }, + "scope": 113, + "src": "208:61:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "e87f7c31", + "id": 16, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setNewGuardian", + "nameLocation": "284:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 14, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 13, + "mutability": "mutable", + "name": "_newGuardian", + "nameLocation": "307:12:0", + "nodeType": "VariableDeclaration", + "scope": 16, + "src": "299:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 12, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "299:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "298:22:0" + }, + "returnParameters": { + "id": 15, + "nodeType": "ParameterList", + "parameters": [], + "src": "329:0:0" + }, + "scope": 113, + "src": "275:55:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "27918182", + "id": 19, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "confirmGuard", + "nameLocation": "345:12:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 17, + "nodeType": "ParameterList", + "parameters": [], + "src": "357:2:0" + }, + "returnParameters": { + "id": 18, + "nodeType": "ParameterList", + "parameters": [], + "src": "368:0:0" + }, + "scope": 113, + "src": "336:33:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "66b80832", + "id": 22, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setStorageLive", + "nameLocation": "384:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 20, + "nodeType": "ParameterList", + "parameters": [], + "src": "398:2:0" + }, + "returnParameters": { + "id": 21, + "nodeType": "ParameterList", + "parameters": [], + "src": "409:0:0" + }, + "scope": 113, + "src": "375:35:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "afc3602b", + "id": 29, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getUintStorage", + "nameLocation": "474:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 25, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 24, + "mutability": "mutable", + "name": "_id", + "nameLocation": "497:3:0", + "nodeType": "VariableDeclaration", + "scope": 29, + "src": "489:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 23, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "489:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "488:13:0" + }, + "returnParameters": { + "id": 28, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 27, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 29, + "src": "524:7:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 26, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "524:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "523:9:0" + }, + "scope": 113, + "src": "465:68:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "55d94655", + "id": 36, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getBoolStorage", + "nameLocation": "548:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 32, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 31, + "mutability": "mutable", + "name": "_id", + "nameLocation": "571:3:0", + "nodeType": "VariableDeclaration", + "scope": 36, + "src": "563:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 30, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "563:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "562:13:0" + }, + "returnParameters": { + "id": 35, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 34, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 36, + "src": "598:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 33, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "598:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "597:6:0" + }, + "scope": 113, + "src": "539:65:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "2a90bbb2", + "id": 43, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getAddressStorage", + "nameLocation": "619:17:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 39, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 38, + "mutability": "mutable", + "name": "_id", + "nameLocation": "645:3:0", + "nodeType": "VariableDeclaration", + "scope": 43, + "src": "637:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 37, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "637:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "636:13:0" + }, + "returnParameters": { + "id": 42, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 43, + "src": "672:7:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 40, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "672:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "671:9:0" + }, + "scope": 113, + "src": "610:71:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "b47f11e7", + "id": 50, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getBytes32Storage", + "nameLocation": "696:17:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 46, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 45, + "mutability": "mutable", + "name": "_id", + "nameLocation": "722:3:0", + "nodeType": "VariableDeclaration", + "scope": 50, + "src": "714:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 44, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "714:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "713:13:0" + }, + "returnParameters": { + "id": 49, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 48, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 50, + "src": "749:7:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 47, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "749:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "748:9:0" + }, + "scope": 113, + "src": "687:71:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "28192c55", + "id": 57, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setUintStorage", + "nameLocation": "826:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 55, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 52, + "mutability": "mutable", + "name": "_id", + "nameLocation": "849:3:0", + "nodeType": "VariableDeclaration", + "scope": 57, + "src": "841:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 51, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "841:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 54, + "mutability": "mutable", + "name": "_value", + "nameLocation": "862:6:0", + "nodeType": "VariableDeclaration", + "scope": 57, + "src": "854:14:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 53, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "854:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "840:29:0" + }, + "returnParameters": { + "id": 56, + "nodeType": "ParameterList", + "parameters": [], + "src": "878:0:0" + }, + "scope": 113, + "src": "817:62:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "988c515b", + "id": 64, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setBoolStorage", + "nameLocation": "894:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 62, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 59, + "mutability": "mutable", + "name": "_id", + "nameLocation": "917:3:0", + "nodeType": "VariableDeclaration", + "scope": 64, + "src": "909:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 58, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "909:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 61, + "mutability": "mutable", + "name": "_value", + "nameLocation": "927:6:0", + "nodeType": "VariableDeclaration", + "scope": 64, + "src": "922:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 60, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "922:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "908:26:0" + }, + "returnParameters": { + "id": 63, + "nodeType": "ParameterList", + "parameters": [], + "src": "943:0:0" + }, + "scope": 113, + "src": "885:59:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "7221263a", + "id": 71, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setAddressStorage", + "nameLocation": "959:17:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 69, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 66, + "mutability": "mutable", + "name": "_id", + "nameLocation": "985:3:0", + "nodeType": "VariableDeclaration", + "scope": 71, + "src": "977:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 65, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "977:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 68, + "mutability": "mutable", + "name": "_value", + "nameLocation": "998:6:0", + "nodeType": "VariableDeclaration", + "scope": 71, + "src": "990:14:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 67, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "990:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "976:29:0" + }, + "returnParameters": { + "id": 70, + "nodeType": "ParameterList", + "parameters": [], + "src": "1014:0:0" + }, + "scope": 113, + "src": "950:65:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "8d42b4af", + "id": 78, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setBytes32Storage", + "nameLocation": "1031:17:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 76, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 73, + "mutability": "mutable", + "name": "_id", + "nameLocation": "1057:3:0", + "nodeType": "VariableDeclaration", + "scope": 78, + "src": "1049:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 72, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1049:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 75, + "mutability": "mutable", + "name": "_value", + "nameLocation": "1070:6:0", + "nodeType": "VariableDeclaration", + "scope": 78, + "src": "1062:14:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 74, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1062:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "1048:29:0" + }, + "returnParameters": { + "id": 77, + "nodeType": "ParameterList", + "parameters": [], + "src": "1086:0:0" + }, + "scope": 113, + "src": "1022:65:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "1d8895e0", + "id": 85, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "increaseUintStorage", + "nameLocation": "1102:19:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 83, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 80, + "mutability": "mutable", + "name": "_id", + "nameLocation": "1130:3:0", + "nodeType": "VariableDeclaration", + "scope": 85, + "src": "1122:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 79, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1122:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 82, + "mutability": "mutable", + "name": "_increment", + "nameLocation": "1143:10:0", + "nodeType": "VariableDeclaration", + "scope": 85, + "src": "1135:18:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 81, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1135:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1121:33:0" + }, + "returnParameters": { + "id": 84, + "nodeType": "ParameterList", + "parameters": [], + "src": "1163:0:0" + }, + "scope": 113, + "src": "1093:71:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "5bcfee67", + "id": 92, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "decreaseUintStorage", + "nameLocation": "1179:19:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 90, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 87, + "mutability": "mutable", + "name": "_id", + "nameLocation": "1207:3:0", + "nodeType": "VariableDeclaration", + "scope": 92, + "src": "1199:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 86, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1199:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 89, + "mutability": "mutable", + "name": "_decrement", + "nameLocation": "1220:10:0", + "nodeType": "VariableDeclaration", + "scope": 92, + "src": "1212:18:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 88, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1212:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1198:33:0" + }, + "returnParameters": { + "id": 91, + "nodeType": "ParameterList", + "parameters": [], + "src": "1240:0:0" + }, + "scope": 113, + "src": "1170:71:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "8a2c6738", + "id": 97, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "deleteUintStorage", + "nameLocation": "1314:17:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 95, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 94, + "mutability": "mutable", + "name": "_id", + "nameLocation": "1340:3:0", + "nodeType": "VariableDeclaration", + "scope": 97, + "src": "1332:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 93, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1332:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "1331:13:0" + }, + "returnParameters": { + "id": 96, + "nodeType": "ParameterList", + "parameters": [], + "src": "1353:0:0" + }, + "scope": 113, + "src": "1305:49:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "b240da3f", + "id": 102, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "deleteBoolStorage", + "nameLocation": "1369:17:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 100, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 99, + "mutability": "mutable", + "name": "_id", + "nameLocation": "1395:3:0", + "nodeType": "VariableDeclaration", + "scope": 102, + "src": "1387:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 98, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1387:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "1386:13:0" + }, + "returnParameters": { + "id": 101, + "nodeType": "ParameterList", + "parameters": [], + "src": "1408:0:0" + }, + "scope": 113, + "src": "1360:49:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "e732da72", + "id": 107, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "deleteAddressStorage", + "nameLocation": "1424:20:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 105, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 104, + "mutability": "mutable", + "name": "_id", + "nameLocation": "1453:3:0", + "nodeType": "VariableDeclaration", + "scope": 107, + "src": "1445:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 103, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1445:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "1444:13:0" + }, + "returnParameters": { + "id": 106, + "nodeType": "ParameterList", + "parameters": [], + "src": "1466:0:0" + }, + "scope": 113, + "src": "1415:52:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "540ec89c", + "id": 112, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "deleteBytes32Storage", + "nameLocation": "1482:20:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 110, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 109, + "mutability": "mutable", + "name": "_id", + "nameLocation": "1511:3:0", + "nodeType": "VariableDeclaration", + "scope": 112, + "src": "1503:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 108, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1503:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "1502:13:0" + }, + "returnParameters": { + "id": 111, + "nodeType": "ParameterList", + "parameters": [], + "src": "1524:0:0" + }, + "scope": 113, + "src": "1473:52:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + } + ], + "scope": 114, + "src": "59:1475:0", + "usedErrors": [] + } + ], + "src": "33:1501:0" + }, + "id": 0 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol", + "exportedSymbols": { + "AccessControl": [ + 1145 + ], + "Context": [ + 1280 + ], + "DataStorageInterface": [ + 113 + ], + "ERC165": [ + 1507 + ], + "IAccessControl": [ + 1218 + ], + "IERC165": [ + 1519 + ], + "PoolBase": [ + 720 + ], + "ReentrancyGuard": [ + 1258 + ], + "Strings": [ + 1483 + ] + }, + "id": 721, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 115, + "literals": [ + "solidity", + "0.8", + ".9" + ], + "nodeType": "PragmaDirective", + "src": "33:22:1" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/DataStorageInterface.sol", + "file": "./DataStorageInterface.sol", + "id": 116, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 721, + "sourceUnit": 114, + "src": "201:36:1", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol", + "file": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol", + "id": 117, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 721, + "sourceUnit": 1146, + "src": "239:132:1", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol", + "file": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol", + "id": 118, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 721, + "sourceUnit": 1259, + "src": "373:136:1", + "symbolAliases": [], + "unitAlias": "" + }, + { + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 120, + "name": "AccessControl", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1145, + "src": "637:13:1" + }, + "id": 121, + "nodeType": "InheritanceSpecifier", + "src": "637:13:1" + }, + { + "baseName": { + "id": 122, + "name": "ReentrancyGuard", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1258, + "src": "652:15:1" + }, + "id": 123, + "nodeType": "InheritanceSpecifier", + "src": "652:15:1" + } + ], + "canonicalName": "PoolBase", + "contractDependencies": [], + "contractKind": "contract", + "documentation": { + "id": 119, + "nodeType": "StructuredDocumentation", + "src": "513:101:1", + "text": "@title This contract handles the modifiers and environmental parameters that control the pool. " + }, + "fullyImplemented": true, + "id": 720, + "linearizedBaseContracts": [ + 720, + 1258, + 1145, + 1507, + 1519, + 1218, + 1280 + ], + "name": "PoolBase", + "nameLocation": "625:8:1", + "nodeType": "ContractDefinition", + "nodes": [ + { + "constant": true, + "functionSelector": "62308e85", + "id": 128, + "mutability": "constant", + "name": "POOL_MANAGER", + "nameLocation": "700:12:1", + "nodeType": "VariableDeclaration", + "scope": 720, + "src": "676:64:1", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 124, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "676:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": { + "arguments": [ + { + "hexValue": "504f4f4c5f4d414e41474552", + "id": 126, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "725:14:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842", + "typeString": "literal_string \"POOL_MANAGER\"" + }, + "value": "POOL_MANAGER" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842", + "typeString": "literal_string \"POOL_MANAGER\"" + } + ], + "id": 125, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "715:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 127, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "715:25:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "public" + }, + { + "anonymous": false, + "id": 132, + "name": "NewManagerAdded", + "nameLocation": "774:15:1", + "nodeType": "EventDefinition", + "parameters": { + "id": 131, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 130, + "indexed": true, + "mutability": "mutable", + "name": "_newManager", + "nameLocation": "806:11:1", + "nodeType": "VariableDeclaration", + "scope": 132, + "src": "790:27:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 129, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "790:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "789:29:1" + }, + "src": "768:51:1" + }, + { + "anonymous": false, + "id": 136, + "name": "ManagerRemoved", + "nameLocation": "831:14:1", + "nodeType": "EventDefinition", + "parameters": { + "id": 135, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 134, + "indexed": true, + "mutability": "mutable", + "name": "_removedManager", + "nameLocation": "862:15:1", + "nodeType": "VariableDeclaration", + "scope": 136, + "src": "846:31:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 133, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "846:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "845:33:1" + }, + "src": "825:54:1" + }, + { + "constant": false, + "documentation": { + "id": 137, + "nodeType": "StructuredDocumentation", + "src": "887:55:1", + "text": "@notice Getting access to the DataStorage Contract." + }, + "id": 140, + "mutability": "mutable", + "name": "dataStorage", + "nameLocation": "969:11:1", + "nodeType": "VariableDeclaration", + "scope": 720, + "src": "948:32:1", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + }, + "typeName": { + "id": 139, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 138, + "name": "DataStorageInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 113, + "src": "948:20:1" + }, + "referencedDeclaration": 113, + "src": "948:20:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "visibility": "internal" + }, + { + "body": { + "id": 168, + "nodeType": "Block", + "src": "1251:206:1", + "statements": [ + { + "expression": { + "id": 151, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 147, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "1262:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "id": 149, + "name": "_dataStorageAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 144, + "src": "1297:19:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + ], + "id": 148, + "name": "DataStorageInterface", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 113, + "src": "1276:20:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_DataStorageInterface_$113_$", + "typeString": "type(contract DataStorageInterface)" + } + }, + "id": 150, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1276:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "src": "1262:55:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 152, + "nodeType": "ExpressionStatement", + "src": "1262:55:1" + }, + { + "expression": { + "arguments": [ + { + "id": 154, + "name": "DEFAULT_ADMIN_ROLE", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 864, + "src": "1339:18:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "expression": { + "id": 155, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1359:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 156, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "1359:10:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 153, + "name": "_setupRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1053, + "src": "1328:10:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 157, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1328:42:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 158, + "nodeType": "ExpressionStatement", + "src": "1328:42:1" + }, + { + "expression": { + "arguments": [ + { + "id": 160, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 128, + "src": "1392:12:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "expression": { + "id": 161, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1406:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 162, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "1406:10:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 159, + "name": "_setupRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1053, + "src": "1381:10:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 163, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1381:36:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 164, + "nodeType": "ExpressionStatement", + "src": "1381:36:1" + }, + { + "expression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 165, + "name": "_setPoolBaseAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 276, + "src": "1428:19:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", + "typeString": "function ()" + } + }, + "id": 166, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1428:21:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 167, + "nodeType": "ExpressionStatement", + "src": "1428:21:1" + } + ] + }, + "documentation": { + "id": 141, + "nodeType": "StructuredDocumentation", + "src": "993:199:1", + "text": "@notice This contract will be deployed by the same address of the initial guardian. Afterwards Guardian may not be the same as the admin\n @notice if the guardian renounces to their guard." + }, + "id": 169, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 145, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 144, + "mutability": "mutable", + "name": "_dataStorageAddress", + "nameLocation": "1231:19:1", + "nodeType": "VariableDeclaration", + "scope": 169, + "src": "1210:40:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + }, + "typeName": { + "id": 143, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 142, + "name": "DataStorageInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 113, + "src": "1210:20:1" + }, + "referencedDeclaration": 113, + "src": "1210:20:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "visibility": "internal" + } + ], + "src": "1209:42:1" + }, + "returnParameters": { + "id": 146, + "nodeType": "ParameterList", + "parameters": [], + "src": "1251:0:1" + }, + "scope": 720, + "src": "1198:259:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 183, + "nodeType": "Block", + "src": "1631:124:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 178, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 173, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1650:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 174, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "1650:10:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 175, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "1664:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 176, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getCurrentGuardian", + "nodeType": "MemberAccess", + "referencedDeclaration": 11, + "src": "1664:30:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", + "typeString": "function () view external returns (address)" + } + }, + "id": 177, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1664:32:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "1650:46:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "4f6e6c792063616c6c61626c652062792063757272656e7420677561726469616e2e", + "id": 179, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1698:36:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c295098e4653db03d2d22453c3eb7ae49307d50964fb5a9a1311d3fef2f9e749", + "typeString": "literal_string \"Only callable by current guardian.\"" + }, + "value": "Only callable by current guardian." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_c295098e4653db03d2d22453c3eb7ae49307d50964fb5a9a1311d3fef2f9e749", + "typeString": "literal_string \"Only callable by current guardian.\"" + } + ], + "id": 172, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "1642:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 180, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1642:93:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 181, + "nodeType": "ExpressionStatement", + "src": "1642:93:1" + }, + { + "id": 182, + "nodeType": "PlaceholderStatement", + "src": "1746:1:1" + } + ] + }, + "documentation": { + "id": 170, + "nodeType": "StructuredDocumentation", + "src": "1508:86:1", + "text": "@notice Besides the access control contract, the following modifiers will be used." + }, + "id": 184, + "name": "onlyCurrentGuardian", + "nameLocation": "1609:19:1", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 171, + "nodeType": "ParameterList", + "parameters": [], + "src": "1628:2:1" + }, + "src": "1600:155:1", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 202, + "nodeType": "Block", + "src": "1790:155:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f657869737473", + "id": 192, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1863:17:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + "value": "contract_exists" + }, + { + "expression": { + "id": 193, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1882:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 194, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "1882:10:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 190, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1846:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 191, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1846:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 195, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1846:47:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 189, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1836:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 196, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1836:58:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 187, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "1809:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 188, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 36, + "src": "1809:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 197, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1809:86:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "496e76616c696420436f6e747261637420416464726573732e", + "id": 198, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1897:27:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_d36e2fdd2f4d349fc44a9cc6ea1a2b4f2a7eb320cfe91d40a3a9a6af97aada24", + "typeString": "literal_string \"Invalid Contract Address.\"" + }, + "value": "Invalid Contract Address." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_d36e2fdd2f4d349fc44a9cc6ea1a2b4f2a7eb320cfe91d40a3a9a6af97aada24", + "typeString": "literal_string \"Invalid Contract Address.\"" + } + ], + "id": 186, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "1801:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 199, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1801:124:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 200, + "nodeType": "ExpressionStatement", + "src": "1801:124:1" + }, + { + "id": 201, + "nodeType": "PlaceholderStatement", + "src": "1936:1:1" + } + ] + }, + "id": 203, + "name": "onlyPoolContract", + "nameLocation": "1772:16:1", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 185, + "nodeType": "ParameterList", + "parameters": [], + "src": "1788:2:1" + }, + "src": "1763:182:1", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 220, + "nodeType": "Block", + "src": "2070:93:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 212, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 128, + "src": "2091:12:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 213, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 205, + "src": "2105:8:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 211, + "name": "grantRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 996, + "src": "2081:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 214, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2081:33:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 215, + "nodeType": "ExpressionStatement", + "src": "2081:33:1" + }, + { + "eventCall": { + "arguments": [ + { + "id": 217, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 205, + "src": "2146:8:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 216, + "name": "NewManagerAdded", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 132, + "src": "2130:15:1", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 218, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2130:25:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 219, + "nodeType": "EmitStatement", + "src": "2125:30:1" + } + ] + }, + "functionSelector": "45077e71", + "id": 221, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 208, + "name": "DEFAULT_ADMIN_ROLE", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 864, + "src": "2050:18:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 209, + "kind": "modifierInvocation", + "modifierName": { + "id": 207, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 877, + "src": "2041:8:1" + }, + "nodeType": "ModifierInvocation", + "src": "2041:28:1" + } + ], + "name": "addPoolManager", + "nameLocation": "2000:14:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 206, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 205, + "mutability": "mutable", + "name": "_address", + "nameLocation": "2024:8:1", + "nodeType": "VariableDeclaration", + "scope": 221, + "src": "2016:16:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 204, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2016:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2015:18:1" + }, + "returnParameters": { + "id": 210, + "nodeType": "ParameterList", + "parameters": [], + "src": "2070:0:1" + }, + "scope": 720, + "src": "1991:172:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 238, + "nodeType": "Block", + "src": "2253:93:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 230, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 128, + "src": "2275:12:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 231, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 223, + "src": "2289:8:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 229, + "name": "revokeRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1016, + "src": "2264:10:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 232, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2264:34:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 233, + "nodeType": "ExpressionStatement", + "src": "2264:34:1" + }, + { + "eventCall": { + "arguments": [ + { + "id": 235, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 223, + "src": "2329:8:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 234, + "name": "ManagerRemoved", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 136, + "src": "2314:14:1", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 236, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2314:24:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 237, + "nodeType": "EmitStatement", + "src": "2309:29:1" + } + ] + }, + "functionSelector": "29ca15bc", + "id": 239, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 226, + "name": "DEFAULT_ADMIN_ROLE", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 864, + "src": "2233:18:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 227, + "kind": "modifierInvocation", + "modifierName": { + "id": 225, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 877, + "src": "2224:8:1" + }, + "nodeType": "ModifierInvocation", + "src": "2224:28:1" + } + ], + "name": "removePoolManager", + "nameLocation": "2180:17:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 224, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 223, + "mutability": "mutable", + "name": "_address", + "nameLocation": "2207:8:1", + "nodeType": "VariableDeclaration", + "scope": 239, + "src": "2199:16:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 222, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2199:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2198:18:1" + }, + "returnParameters": { + "id": 228, + "nodeType": "ParameterList", + "parameters": [], + "src": "2253:0:1" + }, + "scope": 720, + "src": "2171:175:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 275, + "nodeType": "Block", + "src": "2571:230:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f657869737473", + "id": 249, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2636:17:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + "value": "contract_exists" + }, + { + "arguments": [ + { + "id": 252, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "2663:4:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolBase_$720", + "typeString": "contract PoolBase" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_PoolBase_$720", + "typeString": "contract PoolBase" + } + ], + "id": 251, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2655:7:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 250, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2655:7:1", + "typeDescriptions": {} + } + }, + "id": 253, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2655:13:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 247, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "2619:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 248, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "2619:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 254, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2619:50:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 246, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "2609:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 255, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2609:61:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "hexValue": "74727565", + "id": 256, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2672:4:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "expression": { + "id": 243, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "2582:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 245, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 64, + "src": "2582:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_bool_$returns$__$", + "typeString": "function (bytes32,bool) external" + } + }, + "id": 257, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2582:95:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 258, + "nodeType": "ExpressionStatement", + "src": "2582:95:1" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f61646472657373", + "id": 265, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2745:18:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + "value": "contract_address" + }, + { + "hexValue": "506f6f6c42617365", + "id": 266, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2765:10:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27", + "typeString": "literal_string \"PoolBase\"" + }, + "value": "PoolBase" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + { + "typeIdentifier": "t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27", + "typeString": "literal_string \"PoolBase\"" + } + ], + "expression": { + "id": 263, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "2728:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 264, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "2728:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 267, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2728:48:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 262, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "2718:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 268, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2718:59:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "arguments": [ + { + "id": 271, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "2787:4:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolBase_$720", + "typeString": "contract PoolBase" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_PoolBase_$720", + "typeString": "contract PoolBase" + } + ], + "id": 270, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2779:7:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 269, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2779:7:1", + "typeDescriptions": {} + } + }, + "id": 272, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2779:13:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 259, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "2688:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 261, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setAddressStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 71, + "src": "2688:29:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address) external" + } + }, + "id": 273, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2688:105:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 274, + "nodeType": "ExpressionStatement", + "src": "2688:105:1" + } + ] + }, + "documentation": { + "id": 240, + "nodeType": "StructuredDocumentation", + "src": "2400:126:1", + "text": "@dev Store this contract address and existance on the main storage.\n @notice Called while deploying the contract. " + }, + "id": 276, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_setPoolBaseAddress", + "nameLocation": "2541:19:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 241, + "nodeType": "ParameterList", + "parameters": [], + "src": "2560:2:1" + }, + "returnParameters": { + "id": 242, + "nodeType": "ParameterList", + "parameters": [], + "src": "2571:0:1" + }, + "scope": 720, + "src": "2532:269:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "private" + }, + { + "body": { + "id": 301, + "nodeType": "Block", + "src": "3021:135:1", + "statements": [ + { + "assignments": [ + 286 + ], + "declarations": [ + { + "constant": false, + "id": 286, + "mutability": "mutable", + "name": "statusTag", + "nameLocation": "3040:9:1", + "nodeType": "VariableDeclaration", + "scope": 301, + "src": "3032:17:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 285, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3032:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 293, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 290, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3079:12:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 288, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3062:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 289, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3062:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 291, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3062:30:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 287, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "3052:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 292, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3052:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3032:61:1" + }, + { + "expression": { + "arguments": [ + { + "id": 297, + "name": "statusTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 286, + "src": "3131:9:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 298, + "name": "_live", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 279, + "src": "3142:5:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "expression": { + "id": 294, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "3104:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 296, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 64, + "src": "3104:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_bool_$returns$__$", + "typeString": "function (bytes32,bool) external" + } + }, + "id": 299, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3104:44:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 300, + "nodeType": "ExpressionStatement", + "src": "3104:44:1" + } + ] + }, + "documentation": { + "id": 277, + "nodeType": "StructuredDocumentation", + "src": "2809:143:1", + "text": "@dev Toggles the Pool Investing Switch. \n @notice While live, anyone can invest but any state variable can be modified nor deleted." + }, + "functionSelector": "a4975516", + "id": 302, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 282, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 128, + "src": "3007:12:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 283, + "kind": "modifierInvocation", + "modifierName": { + "id": 281, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 877, + "src": "2998:8:1" + }, + "nodeType": "ModifierInvocation", + "src": "2998:22:1" + } + ], + "name": "setPoolLive", + "nameLocation": "2967:11:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 280, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 279, + "mutability": "mutable", + "name": "_live", + "nameLocation": "2984:5:1", + "nodeType": "VariableDeclaration", + "scope": 302, + "src": "2979:10:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 278, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2979:4:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "2978:12:1" + }, + "returnParameters": { + "id": 284, + "nodeType": "ParameterList", + "parameters": [], + "src": "3021:0:1" + }, + "scope": 720, + "src": "2958:198:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 327, + "nodeType": "Block", + "src": "3360:149:1", + "statements": [ + { + "assignments": [ + 312 + ], + "declarations": [ + { + "constant": false, + "id": 312, + "mutability": "mutable", + "name": "poolMaxSizeTag", + "nameLocation": "3379:14:1", + "nodeType": "VariableDeclaration", + "scope": 327, + "src": "3371:22:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 311, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3371:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 319, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "706f6f6c4d617853697a65", + "id": 316, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3423:13:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42", + "typeString": "literal_string \"poolMaxSize\"" + }, + "value": "poolMaxSize" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42", + "typeString": "literal_string \"poolMaxSize\"" + } + ], + "expression": { + "id": 314, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3406:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 315, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3406:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 317, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3406:31:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 313, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "3396:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 318, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3396:42:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3371:67:1" + }, + { + "expression": { + "arguments": [ + { + "id": 323, + "name": "poolMaxSizeTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 312, + "src": "3476:14:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 324, + "name": "_maxSize", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 305, + "src": "3492:8:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 320, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "3449:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 322, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 57, + "src": "3449:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 325, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3449:52:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 326, + "nodeType": "ExpressionStatement", + "src": "3449:52:1" + } + ] + }, + "documentation": { + "id": 303, + "nodeType": "StructuredDocumentation", + "src": "3164:121:1", + "text": "@dev Sets the Pool Maximium size expressed on ether.\n @param _maxSize is a WEI value (or BigInt / BigNumber)." + }, + "functionSelector": "12646987", + "id": 328, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 308, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 128, + "src": "3346:12:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 309, + "kind": "modifierInvocation", + "modifierName": { + "id": 307, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 877, + "src": "3337:8:1" + }, + "nodeType": "ModifierInvocation", + "src": "3337:22:1" + } + ], + "name": "setPoolMaxSize", + "nameLocation": "3300:14:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 306, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 305, + "mutability": "mutable", + "name": "_maxSize", + "nameLocation": "3320:8:1", + "nodeType": "VariableDeclaration", + "scope": 328, + "src": "3315:13:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 304, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3315:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3314:15:1" + }, + "returnParameters": { + "id": 310, + "nodeType": "ParameterList", + "parameters": [], + "src": "3360:0:1" + }, + "scope": 720, + "src": "3291:218:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 368, + "nodeType": "Block", + "src": "3662:280:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 343, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3735:12:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 341, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3718:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 342, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3718:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 344, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3718:30:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 340, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "3708:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 345, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3708:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 338, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "3681:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 339, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 36, + "src": "3681:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 346, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3681:69:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "id": 347, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3752:31:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + }, + "value": "The pool is currently closed." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + } + ], + "id": 337, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "3673:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 348, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3673:111:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 349, + "nodeType": "ExpressionStatement", + "src": "3673:111:1" + }, + { + "assignments": [ + 351 + ], + "declarations": [ + { + "constant": false, + "id": 351, + "mutability": "mutable", + "name": "daysRewTag", + "nameLocation": "3803:10:1", + "nodeType": "VariableDeclaration", + "scope": 368, + "src": "3795:18:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 350, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3795:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 358, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "64617973546f52657761726473", + "id": 355, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3843:15:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d", + "typeString": "literal_string \"daysToRewards\"" + }, + "value": "daysToRewards" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d", + "typeString": "literal_string \"daysToRewards\"" + } + ], + "expression": { + "id": 353, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3826:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 354, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3826:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 356, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3826:33:1", + "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": 4294967288, + "src": "3816:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 357, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3816:44:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3795:65:1" + }, + { + "expression": { + "arguments": [ + { + "id": 362, + "name": "daysRewTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 351, + "src": "3898:10:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 365, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 363, + "name": "_daysToRewards", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 331, + "src": "3910:14:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "hexValue": "31", + "id": 364, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3927:6:1", + "subdenomination": "days", + "typeDescriptions": { + "typeIdentifier": "t_rational_86400_by_1", + "typeString": "int_const 86400" + }, + "value": "1" + }, + "src": "3910:23:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 359, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "3871:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 361, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 57, + "src": "3871:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 366, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3871:63:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 367, + "nodeType": "ExpressionStatement", + "src": "3871:63:1" + } + ] + }, + "documentation": { + "id": 329, + "nodeType": "StructuredDocumentation", + "src": "3521:56:1", + "text": "@dev Set the interval in days of the rewards period." + }, + "functionSelector": "53710f49", + "id": 369, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 334, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 128, + "src": "3648:12:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 335, + "kind": "modifierInvocation", + "modifierName": { + "id": 333, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 877, + "src": "3639:8:1" + }, + "nodeType": "ModifierInvocation", + "src": "3639:22:1" + } + ], + "name": "setRewardsInterval", + "nameLocation": "3592:18:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 332, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 331, + "mutability": "mutable", + "name": "_daysToRewards", + "nameLocation": "3616:14:1", + "nodeType": "VariableDeclaration", + "scope": 369, + "src": "3611:19:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 330, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3611:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3610:21:1" + }, + "returnParameters": { + "id": 336, + "nodeType": "ParameterList", + "parameters": [], + "src": "3662:0:1" + }, + "scope": 720, + "src": "3583:359:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 407, + "nodeType": "Block", + "src": "4230:290:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 384, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4303:12:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 382, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "4286:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 383, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "4286:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 385, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4286:30:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 381, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "4276:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 386, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4276:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 379, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "4249:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 380, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 36, + "src": "4249:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 387, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4249:69:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "id": 388, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4320:31:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + }, + "value": "The pool is currently closed." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + } + ], + "id": 378, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "4241:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 389, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4241:111:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 390, + "nodeType": "ExpressionStatement", + "src": "4241:111:1" + }, + { + "assignments": [ + 392 + ], + "declarations": [ + { + "constant": false, + "id": 392, + "mutability": "mutable", + "name": "rewardsIntTag", + "nameLocation": "4371:13:1", + "nodeType": "VariableDeclaration", + "scope": 407, + "src": "4363:21:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 391, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4363:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 399, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "72657761726473496e746572657374506572506572696f64", + "id": 396, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4414:26:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c", + "typeString": "literal_string \"rewardsInterestPerPeriod\"" + }, + "value": "rewardsInterestPerPeriod" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c", + "typeString": "literal_string \"rewardsInterestPerPeriod\"" + } + ], + "expression": { + "id": 394, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "4397:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 395, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "4397:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 397, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4397:44:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 393, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "4387:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 398, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4387:55:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4363:79:1" + }, + { + "expression": { + "arguments": [ + { + "id": 403, + "name": "rewardsIntTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 392, + "src": "4480:13:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 404, + "name": "_rewardsInterest", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 372, + "src": "4495:16:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 400, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "4453:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 402, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 57, + "src": "4453:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 405, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4453:59:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 406, + "nodeType": "ExpressionStatement", + "src": "4453:59:1" + } + ] + }, + "documentation": { + "id": 370, + "nodeType": "StructuredDocumentation", + "src": "3950:193:1", + "text": "@dev Set the interest per effective period.\n @param _rewardsInterest within the storage has 6 decimals.\n @notice E.G. If 0.001134 rate is desired, 0.001134 * (10**6) = 1134." + }, + "functionSelector": "bf4c0036", + "id": 408, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 375, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 128, + "src": "4216:12:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 376, + "kind": "modifierInvocation", + "modifierName": { + "id": 374, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 877, + "src": "4207:8:1" + }, + "nodeType": "ModifierInvocation", + "src": "4207:22:1" + } + ], + "name": "setRewardsInterest", + "nameLocation": "4158:18:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 373, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 372, + "mutability": "mutable", + "name": "_rewardsInterest", + "nameLocation": "4182:16:1", + "nodeType": "VariableDeclaration", + "scope": 408, + "src": "4177:21:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 371, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "4177:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "4176:23:1" + }, + "returnParameters": { + "id": 377, + "nodeType": "ParameterList", + "parameters": [], + "src": "4230:0:1" + }, + "scope": 720, + "src": "4149:371:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 446, + "nodeType": "Block", + "src": "4718:281:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 423, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4791:12:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 421, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "4774:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 422, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "4774:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 424, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4774:30:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 420, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "4764:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 425, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4764:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 418, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "4737:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 419, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 36, + "src": "4737:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 426, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4737:69:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "id": 427, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4808:31:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + }, + "value": "The pool is currently closed." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + } + ], + "id": 417, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "4729:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 428, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4729:111:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 429, + "nodeType": "ExpressionStatement", + "src": "4729:111:1" + }, + { + "assignments": [ + 431 + ], + "declarations": [ + { + "constant": false, + "id": 431, + "mutability": "mutable", + "name": "contrLimitTag", + "nameLocation": "4859:13:1", + "nodeType": "VariableDeclaration", + "scope": 446, + "src": "4851:21:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 430, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4851:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 438, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e747269627574696f6e4c696d6974", + "id": 435, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4902:19:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044", + "typeString": "literal_string \"contributionLimit\"" + }, + "value": "contributionLimit" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044", + "typeString": "literal_string \"contributionLimit\"" + } + ], + "expression": { + "id": 433, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "4885:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 434, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "4885:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 436, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4885:37:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 432, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "4875:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 437, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4875:48:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4851:72:1" + }, + { + "expression": { + "arguments": [ + { + "id": 442, + "name": "contrLimitTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 431, + "src": "4961:13:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 443, + "name": "_newContrLimit", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 411, + "src": "4976:14:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 439, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "4934:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 441, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 57, + "src": "4934:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 444, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4934:57:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 445, + "nodeType": "ExpressionStatement", + "src": "4934:57:1" + } + ] + }, + "documentation": { + "id": 409, + "nodeType": "StructuredDocumentation", + "src": "4528:104:1", + "text": "@dev Set the max. contribution allowed for each user.\n @param _newContrLimit is a WEI value." + }, + "functionSelector": "72d099a0", + "id": 447, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 414, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 128, + "src": "4705:12:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 415, + "kind": "modifierInvocation", + "modifierName": { + "id": 413, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 877, + "src": "4696:8:1" + }, + "nodeType": "ModifierInvocation", + "src": "4696:22:1" + } + ], + "name": "setContributionLimit", + "nameLocation": "4647:20:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 412, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 411, + "mutability": "mutable", + "name": "_newContrLimit", + "nameLocation": "4673:14:1", + "nodeType": "VariableDeclaration", + "scope": 447, + "src": "4668:19:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 410, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "4668:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "4667:21:1" + }, + "returnParameters": { + "id": 416, + "nodeType": "ParameterList", + "parameters": [], + "src": "4718:0:1" + }, + "scope": 720, + "src": "4638:361:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 485, + "nodeType": "Block", + "src": "5192:273:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 462, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5265:12:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 460, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "5248:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 461, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5248:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 463, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5248:30:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 459, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "5238:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 464, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5238:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 457, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "5211:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 458, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 36, + "src": "5211:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 465, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5211:69:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "id": 466, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5282:31:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + }, + "value": "The pool is currently closed." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + } + ], + "id": 456, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "5203:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 467, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5203:111:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 468, + "nodeType": "ExpressionStatement", + "src": "5203:111:1" + }, + { + "assignments": [ + 470 + ], + "declarations": [ + { + "constant": false, + "id": 470, + "mutability": "mutable", + "name": "minContrTag", + "nameLocation": "5333:11:1", + "nodeType": "VariableDeclaration", + "scope": 485, + "src": "5325:19:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 469, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "5325:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 477, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6d696e436f6e747269627574696f6e", + "id": 474, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5374:17:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36", + "typeString": "literal_string \"minContribution\"" + }, + "value": "minContribution" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36", + "typeString": "literal_string \"minContribution\"" + } + ], + "expression": { + "id": 472, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "5357:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 473, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5357:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 475, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5357:35:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 471, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "5347:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 476, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5347:46:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5325:68:1" + }, + { + "expression": { + "arguments": [ + { + "id": 481, + "name": "minContrTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 470, + "src": "5431:11:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 482, + "name": "_newMinContr", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 450, + "src": "5444:12:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 478, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "5404:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 480, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 57, + "src": "5404:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 483, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5404:53:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 484, + "nodeType": "ExpressionStatement", + "src": "5404:53:1" + } + ] + }, + "documentation": { + "id": 448, + "nodeType": "StructuredDocumentation", + "src": "5007:102:1", + "text": "@dev Set the min. contribution allowed for each user.\n @param _newMinContr is a WEI value." + }, + "functionSelector": "473b0d46", + "id": 486, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 453, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 128, + "src": "5179:12:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 454, + "kind": "modifierInvocation", + "modifierName": { + "id": 452, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 877, + "src": "5170:8:1" + }, + "nodeType": "ModifierInvocation", + "src": "5170:22:1" + } + ], + "name": "setMinContribution", + "nameLocation": "5124:18:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 451, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 450, + "mutability": "mutable", + "name": "_newMinContr", + "nameLocation": "5149:12:1", + "nodeType": "VariableDeclaration", + "scope": 486, + "src": "5144:17:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 449, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "5144:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "5143:19:1" + }, + "returnParameters": { + "id": 455, + "nodeType": "ParameterList", + "parameters": [], + "src": "5192:0:1" + }, + "scope": 720, + "src": "5115:350:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 540, + "nodeType": "Block", + "src": "5848:410:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 501, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5921:12:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 499, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "5904:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 500, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5904:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 502, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5904:30:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 498, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "5894:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 503, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5894:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 496, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "5867:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 497, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 36, + "src": "5867:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 504, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5867:69:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "id": 505, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5938:31:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + }, + "value": "The pool is currently closed." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + } + ], + "id": 495, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "5859:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 506, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5859:111:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 507, + "nodeType": "ExpressionStatement", + "src": "5859:111:1" + }, + { + "assignments": [ + 509 + ], + "declarations": [ + { + "constant": false, + "id": 509, + "mutability": "mutable", + "name": "poolFeesTag", + "nameLocation": "5989:11:1", + "nodeType": "VariableDeclaration", + "scope": 540, + "src": "5981:19:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 508, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "5981:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 516, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "706f6f6c46656573", + "id": 513, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6030:10:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_0f5404ed03256cc6395ed559bf52ccb5ab11bf8dddbd240da7e6d5ad4ab04dd7", + "typeString": "literal_string \"poolFees\"" + }, + "value": "poolFees" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_0f5404ed03256cc6395ed559bf52ccb5ab11bf8dddbd240da7e6d5ad4ab04dd7", + "typeString": "literal_string \"poolFees\"" + } + ], + "expression": { + "id": 511, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "6013:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 512, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "6013:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 514, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6013:28:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 510, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "6003:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 515, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6003:39:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5981:61:1" + }, + { + "assignments": [ + 518 + ], + "declarations": [ + { + "constant": false, + "id": 518, + "mutability": "mutable", + "name": "poolFeesSetTag", + "nameLocation": "6061:14:1", + "nodeType": "VariableDeclaration", + "scope": 540, + "src": "6053:22:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 517, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6053:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 525, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "706f6f6c46656573536574", + "id": 522, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6105:13:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_8f6e48ebe95c46ad356449234d760f7838119a9ccd28d70c8f8be00c200e3039", + "typeString": "literal_string \"poolFeesSet\"" + }, + "value": "poolFeesSet" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_8f6e48ebe95c46ad356449234d760f7838119a9ccd28d70c8f8be00c200e3039", + "typeString": "literal_string \"poolFeesSet\"" + } + ], + "expression": { + "id": 520, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "6088:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 521, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "6088:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 523, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6088:31:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 519, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "6078:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 524, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6078:42:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6053:67:1" + }, + { + "expression": { + "arguments": [ + { + "id": 529, + "name": "poolFeesTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 509, + "src": "6168:11:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 530, + "name": "_poolFees", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 489, + "src": "6181:9:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 526, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "6141:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 528, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 57, + "src": "6141:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 531, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6141:50:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 532, + "nodeType": "ExpressionStatement", + "src": "6141:50:1" + }, + { + "expression": { + "arguments": [ + { + "id": 536, + "name": "poolFeesSetTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 518, + "src": "6229:14:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "hexValue": "74727565", + "id": 537, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6245:4:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "expression": { + "id": 533, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "6202:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 535, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 64, + "src": "6202:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_bool_$returns$__$", + "typeString": "function (bytes32,bool) external" + } + }, + "id": 538, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6202:48:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 539, + "nodeType": "ExpressionStatement", + "src": "6202:48:1" + } + ] + }, + "documentation": { + "id": 487, + "nodeType": "StructuredDocumentation", + "src": "5479:296:1", + "text": "@dev Set the pool fees fraction that the pool charges for each deposit.\n @param _poolFees within the storage has 6 decimals.\n @notice E.G. If 0.001235 fees fraction are desired, 0.001235 * (10**6) = 1235.\n @notice Also it sets the state variable \"poolFeesSet\" as true." + }, + "functionSelector": "8dd225d5", + "id": 541, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 492, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 128, + "src": "5834:12:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 493, + "kind": "modifierInvocation", + "modifierName": { + "id": 491, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 877, + "src": "5825:8:1" + }, + "nodeType": "ModifierInvocation", + "src": "5825:22:1" + } + ], + "name": "setPoolFees", + "nameLocation": "5790:11:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 490, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 489, + "mutability": "mutable", + "name": "_poolFees", + "nameLocation": "5807:9:1", + "nodeType": "VariableDeclaration", + "scope": 541, + "src": "5802:14:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 488, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "5802:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "5801:16:1" + }, + "returnParameters": { + "id": 494, + "nodeType": "ParameterList", + "parameters": [], + "src": "5848:0:1" + }, + "scope": 720, + "src": "5781:477:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 578, + "nodeType": "Block", + "src": "6443:296:1", + "statements": [ + { + "assignments": [ + 550 + ], + "declarations": [ + { + "constant": false, + "id": 550, + "mutability": "mutable", + "name": "addressTag", + "nameLocation": "6462:10:1", + "nodeType": "VariableDeclaration", + "scope": 578, + "src": "6454:18:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 549, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6454:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 558, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f5f61646472657373", + "id": 554, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6502:19:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_00b032c55d5413576ded643dc6cefced0f3cb828720e7577b44d09665bcd4ae3", + "typeString": "literal_string \"contract__address\"" + }, + "value": "contract__address" + }, + { + "id": 555, + "name": "_contractName", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 544, + "src": "6523:13:1", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_00b032c55d5413576ded643dc6cefced0f3cb828720e7577b44d09665bcd4ae3", + "typeString": "literal_string \"contract__address\"" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 552, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "6485:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 553, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "6485:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 556, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6485:52:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 551, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "6475:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 557, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6475:63:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6454:84:1" + }, + { + "assignments": [ + 560 + ], + "declarations": [ + { + "constant": false, + "id": 560, + "mutability": "mutable", + "name": "contractAddress", + "nameLocation": "6557:15:1", + "nodeType": "VariableDeclaration", + "scope": 578, + "src": "6549:23:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 559, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6549:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "id": 565, + "initialValue": { + "arguments": [ + { + "id": 563, + "name": "addressTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 550, + "src": "6605:10:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 561, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "6575:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 562, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getAddressStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 43, + "src": "6575:29:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_address_$", + "typeString": "function (bytes32) view external returns (address)" + } + }, + "id": 564, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6575:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6549:67:1" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 572, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 567, + "name": "contractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 560, + "src": "6635:15:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "arguments": [ + { + "hexValue": "307830", + "id": 570, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6662:3:1", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0x0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 569, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "6654:7:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 568, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6654:7:1", + "typeDescriptions": {} + } + }, + "id": 571, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6654:12:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "6635:31:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "436f6e74726163742061646472657373206e6f7420666f756e642e", + "id": 573, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6668:29:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_308638a0d46b73b9203c635ec2b36574c482f0f0b0c13080ce12f9b33ca2d5c6", + "typeString": "literal_string \"Contract address not found.\"" + }, + "value": "Contract address not found." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_308638a0d46b73b9203c635ec2b36574c482f0f0b0c13080ce12f9b33ca2d5c6", + "typeString": "literal_string \"Contract address not found.\"" + } + ], + "id": 566, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "6627:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 574, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6627:71:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 575, + "nodeType": "ExpressionStatement", + "src": "6627:71:1" + }, + { + "expression": { + "id": 576, + "name": "contractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 560, + "src": "6716:15:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "functionReturnParameters": 548, + "id": 577, + "nodeType": "Return", + "src": "6709:22:1" + } + ] + }, + "documentation": { + "id": 542, + "nodeType": "StructuredDocumentation", + "src": "6308:42:1", + "text": "@dev Getters for each pool variable." + }, + "id": 579, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getContractAddress", + "nameLocation": "6365:18:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 545, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 544, + "mutability": "mutable", + "name": "_contractName", + "nameLocation": "6398:13:1", + "nodeType": "VariableDeclaration", + "scope": 579, + "src": "6384:27:1", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 543, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "6384:6:1", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "6383:29:1" + }, + "returnParameters": { + "id": 548, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 547, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 579, + "src": "6435:7:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 546, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6435:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "6434:9:1" + }, + "scope": 720, + "src": "6356:383:1", + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 598, + "nodeType": "Block", + "src": "6796:135:1", + "statements": [ + { + "assignments": [ + 585 + ], + "declarations": [ + { + "constant": false, + "id": 585, + "mutability": "mutable", + "name": "statusTag", + "nameLocation": "6815:9:1", + "nodeType": "VariableDeclaration", + "scope": 598, + "src": "6807:17:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 584, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6807:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 592, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 589, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6854:12:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 587, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "6837:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 588, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "6837:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 590, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6837:30:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 586, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "6827:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 591, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6827:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6807:61:1" + }, + { + "expression": { + "arguments": [ + { + "id": 595, + "name": "statusTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 585, + "src": "6913:9:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 593, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "6886:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 594, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 36, + "src": "6886:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 596, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6886:37:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "functionReturnParameters": 583, + "id": 597, + "nodeType": "Return", + "src": "6879:44:1" + } + ] + }, + "functionSelector": "217ac237", + "id": 599, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getPoolState", + "nameLocation": "6756:12:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 580, + "nodeType": "ParameterList", + "parameters": [], + "src": "6768:2:1" + }, + "returnParameters": { + "id": 583, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 582, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 599, + "src": "6791:4:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 581, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "6791:4:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "6790:6:1" + }, + "scope": 720, + "src": "6747:184:1", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 618, + "nodeType": "Block", + "src": "6990:154:1", + "statements": [ + { + "assignments": [ + 605 + ], + "declarations": [ + { + "constant": false, + "id": 605, + "mutability": "mutable", + "name": "poolMaxSizeTag", + "nameLocation": "7009:14:1", + "nodeType": "VariableDeclaration", + "scope": 618, + "src": "7001:22:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 604, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "7001:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 612, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "706f6f6c4d617853697a65", + "id": 609, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7053:13:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42", + "typeString": "literal_string \"poolMaxSize\"" + }, + "value": "poolMaxSize" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42", + "typeString": "literal_string \"poolMaxSize\"" + } + ], + "expression": { + "id": 607, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "7036:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 608, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "7036:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 610, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7036:31:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 606, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "7026:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 611, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7026:42:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7001:67:1" + }, + { + "expression": { + "arguments": [ + { + "id": 615, + "name": "poolMaxSizeTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 605, + "src": "7113:14:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 613, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "7086:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 614, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 29, + "src": "7086:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 616, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7086:42:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 603, + "id": 617, + "nodeType": "Return", + "src": "7079:49:1" + } + ] + }, + "functionSelector": "095df57f", + "id": 619, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getPoolMaxSize", + "nameLocation": "6948:14:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 600, + "nodeType": "ParameterList", + "parameters": [], + "src": "6962:2:1" + }, + "returnParameters": { + "id": 603, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 602, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 619, + "src": "6985:4:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 601, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "6985:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "6984:6:1" + }, + "scope": 720, + "src": "6939:205:1", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 638, + "nodeType": "Block", + "src": "7207:140:1", + "statements": [ + { + "assignments": [ + 625 + ], + "declarations": [ + { + "constant": false, + "id": 625, + "mutability": "mutable", + "name": "daysRewTag", + "nameLocation": "7226:10:1", + "nodeType": "VariableDeclaration", + "scope": 638, + "src": "7218:18:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 624, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "7218:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 632, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "64617973546f52657761726473", + "id": 629, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7266:15:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d", + "typeString": "literal_string \"daysToRewards\"" + }, + "value": "daysToRewards" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d", + "typeString": "literal_string \"daysToRewards\"" + } + ], + "expression": { + "id": 627, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "7249:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 628, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "7249:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 630, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7249:33:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 626, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "7239:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 631, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7239:44:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7218:65:1" + }, + { + "expression": { + "arguments": [ + { + "id": 635, + "name": "daysRewTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 625, + "src": "7328:10:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 633, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "7301:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 634, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 29, + "src": "7301:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 636, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7301:38:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 623, + "id": 637, + "nodeType": "Return", + "src": "7294:45:1" + } + ] + }, + "functionSelector": "497d0241", + "id": 639, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getRewardsInterval", + "nameLocation": "7161:18:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 620, + "nodeType": "ParameterList", + "parameters": [], + "src": "7179:2:1" + }, + "returnParameters": { + "id": 623, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 622, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 639, + "src": "7202:4:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 621, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7202:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "7201:6:1" + }, + "scope": 720, + "src": "7152:195:1", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 658, + "nodeType": "Block", + "src": "7410:157:1", + "statements": [ + { + "assignments": [ + 645 + ], + "declarations": [ + { + "constant": false, + "id": 645, + "mutability": "mutable", + "name": "rewardsIntTag", + "nameLocation": "7429:13:1", + "nodeType": "VariableDeclaration", + "scope": 658, + "src": "7421:21:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 644, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "7421:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 652, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "72657761726473496e746572657374506572506572696f64", + "id": 649, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7472:26:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c", + "typeString": "literal_string \"rewardsInterestPerPeriod\"" + }, + "value": "rewardsInterestPerPeriod" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c", + "typeString": "literal_string \"rewardsInterestPerPeriod\"" + } + ], + "expression": { + "id": 647, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "7455:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 648, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "7455:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 650, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7455:44:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 646, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "7445:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 651, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7445:55:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7421:79:1" + }, + { + "expression": { + "arguments": [ + { + "id": 655, + "name": "rewardsIntTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 645, + "src": "7545:13:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 653, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "7518:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 654, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 29, + "src": "7518:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 656, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7518:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 643, + "id": 657, + "nodeType": "Return", + "src": "7511:48:1" + } + ] + }, + "functionSelector": "7521796f", + "id": 659, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getRewardsInterest", + "nameLocation": "7364:18:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 640, + "nodeType": "ParameterList", + "parameters": [], + "src": "7382:2:1" + }, + "returnParameters": { + "id": 643, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 642, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 659, + "src": "7405:4:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 641, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7405:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "7404:6:1" + }, + "scope": 720, + "src": "7355:212:1", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 678, + "nodeType": "Block", + "src": "7632:150:1", + "statements": [ + { + "assignments": [ + 665 + ], + "declarations": [ + { + "constant": false, + "id": 665, + "mutability": "mutable", + "name": "contrLimitTag", + "nameLocation": "7651:13:1", + "nodeType": "VariableDeclaration", + "scope": 678, + "src": "7643:21:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 664, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "7643:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 672, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e747269627574696f6e4c696d6974", + "id": 669, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7694:19:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044", + "typeString": "literal_string \"contributionLimit\"" + }, + "value": "contributionLimit" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044", + "typeString": "literal_string \"contributionLimit\"" + } + ], + "expression": { + "id": 667, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "7677:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 668, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "7677:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 670, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7677:37:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 666, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "7667:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 671, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7667:48:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7643:72:1" + }, + { + "expression": { + "arguments": [ + { + "id": 675, + "name": "contrLimitTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 665, + "src": "7760:13:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 673, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "7733:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 674, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 29, + "src": "7733:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 676, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7733:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 663, + "id": 677, + "nodeType": "Return", + "src": "7726:48:1" + } + ] + }, + "functionSelector": "fa1e19e5", + "id": 679, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getContributionLimit", + "nameLocation": "7584:20:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 660, + "nodeType": "ParameterList", + "parameters": [], + "src": "7604:2:1" + }, + "returnParameters": { + "id": 663, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 662, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 679, + "src": "7627:4:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 661, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7627:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "7626:6:1" + }, + "scope": 720, + "src": "7575:207:1", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 698, + "nodeType": "Block", + "src": "7845:144:1", + "statements": [ + { + "assignments": [ + 685 + ], + "declarations": [ + { + "constant": false, + "id": 685, + "mutability": "mutable", + "name": "minContrTag", + "nameLocation": "7864:11:1", + "nodeType": "VariableDeclaration", + "scope": 698, + "src": "7856:19:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 684, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "7856:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 692, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6d696e436f6e747269627574696f6e", + "id": 689, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7905:17:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36", + "typeString": "literal_string \"minContribution\"" + }, + "value": "minContribution" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36", + "typeString": "literal_string \"minContribution\"" + } + ], + "expression": { + "id": 687, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "7888:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 688, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "7888:16:1", + "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, + "names": [], + "nodeType": "FunctionCall", + "src": "7888:35:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 686, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "7878:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 691, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7878:46:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7856:68:1" + }, + { + "expression": { + "arguments": [ + { + "id": 695, + "name": "minContrTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 685, + "src": "7969:11:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 693, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "7942:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 694, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 29, + "src": "7942:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 696, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7942:39:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 683, + "id": 697, + "nodeType": "Return", + "src": "7935:46:1" + } + ] + }, + "functionSelector": "543edfb6", + "id": 699, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "setMinContribution", + "nameLocation": "7799:18:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 680, + "nodeType": "ParameterList", + "parameters": [], + "src": "7817:2:1" + }, + "returnParameters": { + "id": 683, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 682, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 699, + "src": "7840:4:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 681, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7840:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "7839:6:1" + }, + "scope": 720, + "src": "7790:199:1", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 718, + "nodeType": "Block", + "src": "8049:137:1", + "statements": [ + { + "assignments": [ + 705 + ], + "declarations": [ + { + "constant": false, + "id": 705, + "mutability": "mutable", + "name": "poolFeesTag", + "nameLocation": "8068:11:1", + "nodeType": "VariableDeclaration", + "scope": 718, + "src": "8060:19:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 704, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "8060:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 712, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "706f6f6c46656573", + "id": 709, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8109:10:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_0f5404ed03256cc6395ed559bf52ccb5ab11bf8dddbd240da7e6d5ad4ab04dd7", + "typeString": "literal_string \"poolFees\"" + }, + "value": "poolFees" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_0f5404ed03256cc6395ed559bf52ccb5ab11bf8dddbd240da7e6d5ad4ab04dd7", + "typeString": "literal_string \"poolFees\"" + } + ], + "expression": { + "id": 707, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "8092:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 708, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "8092:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 710, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8092:28:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 706, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "8082:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 711, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8082:39:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8060:61:1" + }, + { + "expression": { + "arguments": [ + { + "id": 715, + "name": "poolFeesTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 705, + "src": "8166:11:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 713, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "8139:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 714, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 29, + "src": "8139:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 716, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8139:39:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 703, + "id": 717, + "nodeType": "Return", + "src": "8132:46:1" + } + ] + }, + "functionSelector": "d1d8d060", + "id": 719, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getPoolFees", + "nameLocation": "8010:11:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 700, + "nodeType": "ParameterList", + "parameters": [], + "src": "8021:2:1" + }, + "returnParameters": { + "id": 703, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 702, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 719, + "src": "8044:4:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 701, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8044:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "8043:6:1" + }, + "scope": 720, + "src": "8001:185:1", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + } + ], + "scope": 721, + "src": "616:7585:1", + "usedErrors": [] + } + ], + "src": "33:8168:1" + }, + "id": 1 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/TokenBalances.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/TokenBalances.sol", + "exportedSymbols": { + "AccessControl": [ + 1145 + ], + "Context": [ + 1280 + ], + "DataStorageInterface": [ + 113 + ], + "ERC165": [ + 1507 + ], + "IAccessControl": [ + 1218 + ], + "IERC165": [ + 1519 + ], + "PoolBase": [ + 720 + ], + "ReentrancyGuard": [ + 1258 + ], + "Strings": [ + 1483 + ], + "TokenBalances": [ + 836 + ] + }, + "id": 837, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 722, + "literals": [ + "solidity", + "0.8", + ".9" + ], + "nodeType": "PragmaDirective", + "src": "33:22:2" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol", + "file": "./PoolBase.sol", + "id": 723, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 837, + "sourceUnit": 721, + "src": "202:24:2", + "symbolAliases": [], + "unitAlias": "" + }, + { + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 724, + "name": "PoolBase", + "nodeType": "IdentifierPath", + "referencedDeclaration": 720, + "src": "256:8:2" + }, + "id": 725, + "nodeType": "InheritanceSpecifier", + "src": "256:8:2" + } + ], + "canonicalName": "TokenBalances", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "id": 836, + "linearizedBaseContracts": [ + 836, + 720, + 1258, + 1145, + 1507, + 1519, + 1218, + 1280 + ], + "name": "TokenBalances", + "nameLocation": "239:13:2", + "nodeType": "ContractDefinition", + "nodes": [ + { + "body": { + "id": 737, + "nodeType": "Block", + "src": "361:45:2", + "statements": [ + { + "expression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 734, + "name": "_setTokenBalancesAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 775, + "src": "372:24:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", + "typeString": "function ()" + } + }, + "id": 735, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "372:26:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 736, + "nodeType": "ExpressionStatement", + "src": "372:26:2" + } + ] + }, + "id": 738, + "implemented": true, + "kind": "constructor", + "modifiers": [ + { + "arguments": [ + { + "id": 731, + "name": "_dataStorageAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 728, + "src": "340:19:2", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + } + ], + "id": 732, + "kind": "baseConstructorSpecifier", + "modifierName": { + "id": 730, + "name": "PoolBase", + "nodeType": "IdentifierPath", + "referencedDeclaration": 720, + "src": "331:8:2" + }, + "nodeType": "ModifierInvocation", + "src": "331:29:2" + } + ], + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 729, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 728, + "mutability": "mutable", + "name": "_dataStorageAddress", + "nameLocation": "310:19:2", + "nodeType": "VariableDeclaration", + "scope": 738, + "src": "289:40:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + }, + "typeName": { + "id": 727, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 726, + "name": "DataStorageInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 113, + "src": "289:20:2" + }, + "referencedDeclaration": 113, + "src": "289:20:2", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "visibility": "internal" + } + ], + "src": "288:42:2" + }, + "returnParameters": { + "id": 733, + "nodeType": "ParameterList", + "parameters": [], + "src": "361:0:2" + }, + "scope": 836, + "src": "276:130:2", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 774, + "nodeType": "Block", + "src": "589:235:2", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f657869737473", + "id": 748, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "654:17:2", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + "value": "contract_exists" + }, + { + "arguments": [ + { + "id": 751, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "681:4:2", + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalances_$836", + "typeString": "contract TokenBalances" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_TokenBalances_$836", + "typeString": "contract TokenBalances" + } + ], + "id": 750, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "673:7:2", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 749, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "673:7:2", + "typeDescriptions": {} + } + }, + "id": 752, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "673:13:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 746, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "637:3:2", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 747, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "637:16:2", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 753, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "637:50:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 745, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "627:9:2", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 754, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "627:61:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "hexValue": "74727565", + "id": 755, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "690:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "expression": { + "id": 742, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "600:11:2", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 744, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 64, + "src": "600:26:2", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_bool_$returns$__$", + "typeString": "function (bytes32,bool) external" + } + }, + "id": 756, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "600:95:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 757, + "nodeType": "ExpressionStatement", + "src": "600:95:2" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f61646472657373", + "id": 764, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "763:18:2", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + "value": "contract_address" + }, + { + "hexValue": "546f6b656e42616c616e636573", + "id": 765, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "783:15:2", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_3b6d5f7972ed6795e7621e32620438487583050aef09a1228b0cc6a9a3f04fe9", + "typeString": "literal_string \"TokenBalances\"" + }, + "value": "TokenBalances" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + { + "typeIdentifier": "t_stringliteral_3b6d5f7972ed6795e7621e32620438487583050aef09a1228b0cc6a9a3f04fe9", + "typeString": "literal_string \"TokenBalances\"" + } + ], + "expression": { + "id": 762, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "746:3:2", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 763, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "746:16:2", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 766, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "746:53:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 761, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "736:9:2", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 767, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "736:64:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "arguments": [ + { + "id": 770, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "810:4:2", + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalances_$836", + "typeString": "contract TokenBalances" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_TokenBalances_$836", + "typeString": "contract TokenBalances" + } + ], + "id": 769, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "802:7:2", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 768, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "802:7:2", + "typeDescriptions": {} + } + }, + "id": 771, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "802:13:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 758, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "706:11:2", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 760, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setAddressStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 71, + "src": "706:29:2", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address) external" + } + }, + "id": 772, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "706:110:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 773, + "nodeType": "ExpressionStatement", + "src": "706:110:2" + } + ] + }, + "documentation": { + "id": 739, + "nodeType": "StructuredDocumentation", + "src": "414:126:2", + "text": "@dev Store this contract address and existance on the main storage.\n @notice Called while deploying the contract. " + }, + "id": 775, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_setTokenBalancesAddress", + "nameLocation": "555:24:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 740, + "nodeType": "ParameterList", + "parameters": [], + "src": "579:2:2" + }, + "returnParameters": { + "id": 741, + "nodeType": "ParameterList", + "parameters": [], + "src": "589:0:2" + }, + "scope": 836, + "src": "546:278:2", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "private" + }, + { + "body": { + "id": 794, + "nodeType": "Block", + "src": "929:142:2", + "statements": [ + { + "assignments": [ + 781 + ], + "declarations": [ + { + "constant": false, + "id": 781, + "mutability": "mutable", + "name": "ethBalTag", + "nameLocation": "948:9:2", + "nodeType": "VariableDeclaration", + "scope": 794, + "src": "940:17:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 780, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "940:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 788, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "746f74616c537570706c795f4574686572", + "id": 785, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "987:19:2", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c249c8d0234c73f198edb6911269cabbcb3a87200e5c4a66aae535d12bd6112c", + "typeString": "literal_string \"totalSupply_Ether\"" + }, + "value": "totalSupply_Ether" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_c249c8d0234c73f198edb6911269cabbcb3a87200e5c4a66aae535d12bd6112c", + "typeString": "literal_string \"totalSupply_Ether\"" + } + ], + "expression": { + "id": 783, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "970:3:2", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 784, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "970:16:2", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 786, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "970:37:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 782, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "960:9:2", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 787, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "960:48:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "940:68:2" + }, + { + "expression": { + "arguments": [ + { + "id": 791, + "name": "ethBalTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 781, + "src": "1053:9:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 789, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "1026:11:2", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 790, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 29, + "src": "1026:26:2", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 792, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1026:37:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 779, + "id": 793, + "nodeType": "Return", + "src": "1019:44:2" + } + ] + }, + "functionSelector": "6402c262", + "id": 795, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getTotalEthSupply", + "nameLocation": "882:17:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 776, + "nodeType": "ParameterList", + "parameters": [], + "src": "899:2:2" + }, + "returnParameters": { + "id": 779, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 778, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 795, + "src": "924:4:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 777, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "924:4:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "923:6:2" + }, + "scope": 836, + "src": "873:198:2", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "body": { + "id": 814, + "nodeType": "Block", + "src": "1137:152:2", + "statements": [ + { + "assignments": [ + 801 + ], + "declarations": [ + { + "constant": false, + "id": 801, + "mutability": "mutable", + "name": "rwEthBalTag", + "nameLocation": "1156:11:2", + "nodeType": "VariableDeclaration", + "scope": 814, + "src": "1148:19:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 800, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1148:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 808, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "746f74616c537570706c795f7265776172644574686572", + "id": 805, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1197:25:2", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_0374d75381b3b197d745e6b159383515dfcf445652f3d60140f7a03bb136a74c", + "typeString": "literal_string \"totalSupply_rewardEther\"" + }, + "value": "totalSupply_rewardEther" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_0374d75381b3b197d745e6b159383515dfcf445652f3d60140f7a03bb136a74c", + "typeString": "literal_string \"totalSupply_rewardEther\"" + } + ], + "expression": { + "id": 803, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1180:3:2", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 804, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1180:16:2", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 806, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1180:43:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 802, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1170:9:2", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 807, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1170:54:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1148:76:2" + }, + { + "expression": { + "arguments": [ + { + "id": 811, + "name": "rwEthBalTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 801, + "src": "1269:11:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 809, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "1242:11:2", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 810, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 29, + "src": "1242:26:2", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 812, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1242:39:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 799, + "id": 813, + "nodeType": "Return", + "src": "1235:46:2" + } + ] + }, + "functionSelector": "e2bcb3df", + "id": 815, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getTotalrwEthSupply", + "nameLocation": "1088:19:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 796, + "nodeType": "ParameterList", + "parameters": [], + "src": "1107:2:2" + }, + "returnParameters": { + "id": 799, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 798, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 815, + "src": "1132:4:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 797, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1132:4:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1131:6:2" + }, + "scope": 836, + "src": "1079:210:2", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "body": { + "id": 834, + "nodeType": "Block", + "src": "1355:161:2", + "statements": [ + { + "assignments": [ + 821 + ], + "declarations": [ + { + "constant": false, + "id": 821, + "mutability": "mutable", + "name": "currentPoolSizeTag", + "nameLocation": "1374:18:2", + "nodeType": "VariableDeclaration", + "scope": 834, + "src": "1366:26:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 820, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1366:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 828, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "746f74616c5f65746865725f7374616b6564", + "id": 825, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1422:20:2", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_08d24c6ea30ae17d4a7786174d0af4df8c618dc9aba31a2ac06c137f095be1ab", + "typeString": "literal_string \"total_ether_staked\"" + }, + "value": "total_ether_staked" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_08d24c6ea30ae17d4a7786174d0af4df8c618dc9aba31a2ac06c137f095be1ab", + "typeString": "literal_string \"total_ether_staked\"" + } + ], + "expression": { + "id": 823, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1405:3:2", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 824, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1405:16:2", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 826, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1405:38:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 822, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1395:9:2", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 827, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1395:49:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1366:78:2" + }, + { + "expression": { + "arguments": [ + { + "id": 831, + "name": "currentPoolSizeTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 821, + "src": "1489:18:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 829, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "1462:11:2", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 830, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 29, + "src": "1462:26:2", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 832, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1462:46:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 819, + "id": 833, + "nodeType": "Return", + "src": "1455:53:2" + } + ] + }, + "functionSelector": "70959ff8", + "id": 835, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getTotalEtherStaked", + "nameLocation": "1306:19:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 816, + "nodeType": "ParameterList", + "parameters": [], + "src": "1325:2:2" + }, + "returnParameters": { + "id": 819, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 818, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 835, + "src": "1350:4:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 817, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1350:4:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1349:6:2" + }, + "scope": 836, + "src": "1297:219:2", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + } + ], + "scope": 837, + "src": "230:1293:2", + "usedErrors": [] + } + ], + "src": "33:1494:2" + }, + "id": 2 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol", + "exportedSymbols": { + "AccessControl": [ + 1145 + ], + "Context": [ + 1280 + ], + "ERC165": [ + 1507 + ], + "IAccessControl": [ + 1218 + ], + "IERC165": [ + 1519 + ], + "Strings": [ + 1483 + ] + }, + "id": 1146, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 838, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "108:23:3" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol", + "file": "./IAccessControl.sol", + "id": 839, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1146, + "sourceUnit": 1219, + "src": "133:30:3", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol", + "file": "../utils/Context.sol", + "id": 840, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1146, + "sourceUnit": 1281, + "src": "164:30:3", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol", + "file": "../utils/Strings.sol", + "id": 841, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1146, + "sourceUnit": 1484, + "src": "195:30:3", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol", + "file": "../utils/introspection/ERC165.sol", + "id": 842, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1146, + "sourceUnit": 1508, + "src": "226:43:3", + "symbolAliases": [], + "unitAlias": "" + }, + { + "abstract": true, + "baseContracts": [ + { + "baseName": { + "id": 844, + "name": "Context", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1280, + "src": "1841:7:3" + }, + "id": 845, + "nodeType": "InheritanceSpecifier", + "src": "1841:7:3" + }, + { + "baseName": { + "id": 846, + "name": "IAccessControl", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1218, + "src": "1850:14:3" + }, + "id": 847, + "nodeType": "InheritanceSpecifier", + "src": "1850:14:3" + }, + { + "baseName": { + "id": 848, + "name": "ERC165", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1507, + "src": "1866:6:3" + }, + "id": 849, + "nodeType": "InheritanceSpecifier", + "src": "1866:6:3" + } + ], + "canonicalName": "AccessControl", + "contractDependencies": [], + "contractKind": "contract", + "documentation": { + "id": 843, + "nodeType": "StructuredDocumentation", + "src": "271:1534:3", + "text": " @dev Contract module that allows children to implement role-based access\n control mechanisms. This is a lightweight version that doesn't allow enumerating role\n members except through off-chain means by accessing the contract event logs. Some\n applications may benefit from on-chain enumerability, for those cases see\n {AccessControlEnumerable}.\n Roles are referred to by their `bytes32` identifier. These should be exposed\n in the external API and be unique. The best way to achieve this is by\n using `public constant` hash digests:\n ```\n bytes32 public constant MY_ROLE = keccak256(\"MY_ROLE\");\n ```\n Roles can be used to represent a set of permissions. To restrict access to a\n function call, use {hasRole}:\n ```\n function foo() public {\n require(hasRole(MY_ROLE, msg.sender));\n ...\n }\n ```\n Roles can be granted and revoked dynamically via the {grantRole} and\n {revokeRole} functions. Each role has an associated admin role, and only\n accounts that have a role's admin role can call {grantRole} and {revokeRole}.\n By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means\n that only accounts with this role will be able to grant or revoke other\n roles. More complex role relationships can be created by using\n {_setRoleAdmin}.\n WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to\n grant and revoke this role. Extra precautions should be taken to secure\n accounts that have been granted it." + }, + "fullyImplemented": true, + "id": 1145, + "linearizedBaseContracts": [ + 1145, + 1507, + 1519, + 1218, + 1280 + ], + "name": "AccessControl", + "nameLocation": "1824:13:3", + "nodeType": "ContractDefinition", + "nodes": [ + { + "canonicalName": "AccessControl.RoleData", + "id": 856, + "members": [ + { + "constant": false, + "id": 853, + "mutability": "mutable", + "name": "members", + "nameLocation": "1930:7:3", + "nodeType": "VariableDeclaration", + "scope": 856, + "src": "1905:32:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + }, + "typeName": { + "id": 852, + "keyType": { + "id": 850, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1913:7:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Mapping", + "src": "1905:24:3", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + }, + "valueType": { + "id": 851, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "1924:4:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 855, + "mutability": "mutable", + "name": "adminRole", + "nameLocation": "1955:9:3", + "nodeType": "VariableDeclaration", + "scope": 856, + "src": "1947:17:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 854, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1947:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "name": "RoleData", + "nameLocation": "1886:8:3", + "nodeType": "StructDefinition", + "scope": 1145, + "src": "1879:92:3", + "visibility": "public" + }, + { + "constant": false, + "id": 861, + "mutability": "mutable", + "name": "_roles", + "nameLocation": "2014:6:3", + "nodeType": "VariableDeclaration", + "scope": 1145, + "src": "1977:43:3", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$856_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData)" + }, + "typeName": { + "id": 860, + "keyType": { + "id": 857, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1985:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "Mapping", + "src": "1977:28:3", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$856_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData)" + }, + "valueType": { + "id": 859, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 858, + "name": "RoleData", + "nodeType": "IdentifierPath", + "referencedDeclaration": 856, + "src": "1996:8:3" + }, + "referencedDeclaration": 856, + "src": "1996:8:3", + "typeDescriptions": { + "typeIdentifier": "t_struct$_RoleData_$856_storage_ptr", + "typeString": "struct AccessControl.RoleData" + } + } + }, + "visibility": "private" + }, + { + "constant": true, + "functionSelector": "a217fddf", + "id": 864, + "mutability": "constant", + "name": "DEFAULT_ADMIN_ROLE", + "nameLocation": "2051:18:3", + "nodeType": "VariableDeclaration", + "scope": 1145, + "src": "2027:49:3", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 862, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2027:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": { + "hexValue": "30783030", + "id": 863, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2072:4:3", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0x00" + }, + "visibility": "public" + }, + { + "body": { + "id": 876, + "nodeType": "Block", + "src": "2495:58:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 870, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 867, + "src": "2516:4:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 871, + "name": "_msgSender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1270, + "src": "2522:10:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", + "typeString": "function () view returns (address)" + } + }, + "id": 872, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2522:12:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 869, + "name": "_checkRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 961, + "src": "2505:10:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address) view" + } + }, + "id": 873, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2505:30:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 874, + "nodeType": "ExpressionStatement", + "src": "2505:30:3" + }, + { + "id": 875, + "nodeType": "PlaceholderStatement", + "src": "2545:1:3" + } + ] + }, + "documentation": { + "id": 865, + "nodeType": "StructuredDocumentation", + "src": "2083:375:3", + "text": " @dev Modifier that checks that an account has a specific role. Reverts\n with a standardized message including the required role.\n The format of the revert reason is given by the following regular expression:\n /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/\n _Available since v4.1._" + }, + "id": 877, + "name": "onlyRole", + "nameLocation": "2472:8:3", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 868, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 867, + "mutability": "mutable", + "name": "role", + "nameLocation": "2489:4:3", + "nodeType": "VariableDeclaration", + "scope": 877, + "src": "2481:12:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 866, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2481:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "2480:14:3" + }, + "src": "2463:90:3", + "virtual": false, + "visibility": "internal" + }, + { + "baseFunctions": [ + 1506 + ], + "body": { + "id": 898, + "nodeType": "Block", + "src": "2711:111:3", + "statements": [ + { + "expression": { + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 896, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + "id": 891, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 886, + "name": "interfaceId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 880, + "src": "2728:11:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "expression": { + "arguments": [ + { + "id": 888, + "name": "IAccessControl", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1218, + "src": "2748:14:3", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_IAccessControl_$1218_$", + "typeString": "type(contract IAccessControl)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_type$_t_contract$_IAccessControl_$1218_$", + "typeString": "type(contract IAccessControl)" + } + ], + "id": 887, + "name": "type", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967269, + "src": "2743:4:3", + "typeDescriptions": { + "typeIdentifier": "t_function_metatype_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 889, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2743:20:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_magic_meta_type_t_contract$_IAccessControl_$1218", + "typeString": "type(contract IAccessControl)" + } + }, + "id": 890, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "interfaceId", + "nodeType": "MemberAccess", + "src": "2743:32:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "src": "2728:47:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "BinaryOperation", + "operator": "||", + "rightExpression": { + "arguments": [ + { + "id": 894, + "name": "interfaceId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 880, + "src": "2803:11:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + ], + "expression": { + "id": 892, + "name": "super", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967271, + "src": "2779:5:3", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_super$_AccessControl_$1145_$", + "typeString": "type(contract super AccessControl)" + } + }, + "id": 893, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "supportsInterface", + "nodeType": "MemberAccess", + "referencedDeclaration": 1506, + "src": "2779:23:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes4_$returns$_t_bool_$", + "typeString": "function (bytes4) view returns (bool)" + } + }, + "id": 895, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2779:36:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "src": "2728:87:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "functionReturnParameters": 885, + "id": 897, + "nodeType": "Return", + "src": "2721:94:3" + } + ] + }, + "documentation": { + "id": 878, + "nodeType": "StructuredDocumentation", + "src": "2559:56:3", + "text": " @dev See {IERC165-supportsInterface}." + }, + "functionSelector": "01ffc9a7", + "id": 899, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "supportsInterface", + "nameLocation": "2629:17:3", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 882, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "2687:8:3" + }, + "parameters": { + "id": 881, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 880, + "mutability": "mutable", + "name": "interfaceId", + "nameLocation": "2654:11:3", + "nodeType": "VariableDeclaration", + "scope": 899, + "src": "2647:18:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + "typeName": { + "id": 879, + "name": "bytes4", + "nodeType": "ElementaryTypeName", + "src": "2647:6:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "visibility": "internal" + } + ], + "src": "2646:20:3" + }, + "returnParameters": { + "id": 885, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 884, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 899, + "src": "2705:4:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 883, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2705:4:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "2704:6:3" + }, + "scope": 1145, + "src": "2620:202:3", + "stateMutability": "view", + "virtual": true, + "visibility": "public" + }, + { + "baseFunctions": [ + 1185 + ], + "body": { + "id": 917, + "nodeType": "Block", + "src": "3001:53:3", + "statements": [ + { + "expression": { + "baseExpression": { + "expression": { + "baseExpression": { + "id": 910, + "name": "_roles", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 861, + "src": "3018:6:3", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$856_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" + } + }, + "id": 912, + "indexExpression": { + "id": 911, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 902, + "src": "3025:4:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3018:12:3", + "typeDescriptions": { + "typeIdentifier": "t_struct$_RoleData_$856_storage", + "typeString": "struct AccessControl.RoleData storage ref" + } + }, + "id": 913, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "members", + "nodeType": "MemberAccess", + "referencedDeclaration": 853, + "src": "3018:20:3", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 915, + "indexExpression": { + "id": 914, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 904, + "src": "3039:7:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3018:29:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "functionReturnParameters": 909, + "id": 916, + "nodeType": "Return", + "src": "3011:36:3" + } + ] + }, + "documentation": { + "id": 900, + "nodeType": "StructuredDocumentation", + "src": "2828:76:3", + "text": " @dev Returns `true` if `account` has been granted `role`." + }, + "functionSelector": "91d14854", + "id": 918, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "hasRole", + "nameLocation": "2918:7:3", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 906, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "2977:8:3" + }, + "parameters": { + "id": 905, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 902, + "mutability": "mutable", + "name": "role", + "nameLocation": "2934:4:3", + "nodeType": "VariableDeclaration", + "scope": 918, + "src": "2926:12:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 901, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2926:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 904, + "mutability": "mutable", + "name": "account", + "nameLocation": "2948:7:3", + "nodeType": "VariableDeclaration", + "scope": 918, + "src": "2940:15:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 903, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2940:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2925:31:3" + }, + "returnParameters": { + "id": 909, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 908, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 918, + "src": "2995:4:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 907, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2995:4:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "2994:6:3" + }, + "scope": 1145, + "src": "2909:145:3", + "stateMutability": "view", + "virtual": true, + "visibility": "public" + }, + { + "body": { + "id": 960, + "nodeType": "Block", + "src": "3408:419:3", + "statements": [ + { + "condition": { + "id": 930, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "3422:23:3", + "subExpression": { + "arguments": [ + { + "id": 927, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 921, + "src": "3431:4:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 928, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 923, + "src": "3437:7:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 926, + "name": "hasRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 918, + "src": "3423:7:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$", + "typeString": "function (bytes32,address) view returns (bool)" + } + }, + "id": 929, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3423:22:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 959, + "nodeType": "IfStatement", + "src": "3418:403:3", + "trueBody": { + "id": 958, + "nodeType": "Block", + "src": "3447:374:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "416363657373436f6e74726f6c3a206163636f756e7420", + "id": 936, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3555:25:3", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874", + "typeString": "literal_string \"AccessControl: account \"" + }, + "value": "AccessControl: account " + }, + { + "arguments": [ + { + "arguments": [ + { + "id": 941, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 923, + "src": "3634:7:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 940, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3626:7:3", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint160_$", + "typeString": "type(uint160)" + }, + "typeName": { + "id": 939, + "name": "uint160", + "nodeType": "ElementaryTypeName", + "src": "3626:7:3", + "typeDescriptions": {} + } + }, + "id": 942, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3626:16:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint160", + "typeString": "uint160" + } + }, + { + "hexValue": "3230", + "id": 943, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3644:2:3", + "typeDescriptions": { + "typeIdentifier": "t_rational_20_by_1", + "typeString": "int_const 20" + }, + "value": "20" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint160", + "typeString": "uint160" + }, + { + "typeIdentifier": "t_rational_20_by_1", + "typeString": "int_const 20" + } + ], + "expression": { + "id": 937, + "name": "Strings", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1483, + "src": "3606:7:3", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Strings_$1483_$", + "typeString": "type(library Strings)" + } + }, + "id": 938, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "toHexString", + "nodeType": "MemberAccess", + "referencedDeclaration": 1482, + "src": "3606:19:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_string_memory_ptr_$", + "typeString": "function (uint256,uint256) pure returns (string memory)" + } + }, + "id": 944, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3606:41:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + { + "hexValue": "206973206d697373696e6720726f6c6520", + "id": 945, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3673:19:3", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69", + "typeString": "literal_string \" is missing role \"" + }, + "value": " is missing role " + }, + { + "arguments": [ + { + "arguments": [ + { + "id": 950, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 921, + "src": "3746:4:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "id": 949, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3738:7:3", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint256_$", + "typeString": "type(uint256)" + }, + "typeName": { + "id": 948, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3738:7:3", + "typeDescriptions": {} + } + }, + "id": 951, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3738:13:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "hexValue": "3332", + "id": 952, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3753:2:3", + "typeDescriptions": { + "typeIdentifier": "t_rational_32_by_1", + "typeString": "int_const 32" + }, + "value": "32" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_rational_32_by_1", + "typeString": "int_const 32" + } + ], + "expression": { + "id": 946, + "name": "Strings", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1483, + "src": "3718:7:3", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Strings_$1483_$", + "typeString": "type(library Strings)" + } + }, + "id": 947, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "toHexString", + "nodeType": "MemberAccess", + "referencedDeclaration": 1482, + "src": "3718:19:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_string_memory_ptr_$", + "typeString": "function (uint256,uint256) pure returns (string memory)" + } + }, + "id": 953, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3718:38:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874", + "typeString": "literal_string \"AccessControl: account \"" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + }, + { + "typeIdentifier": "t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69", + "typeString": "literal_string \" is missing role \"" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 934, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3513:3:3", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 935, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3513:16:3", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 954, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3513:265:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 933, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3485:6:3", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_string_storage_ptr_$", + "typeString": "type(string storage pointer)" + }, + "typeName": { + "id": 932, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "3485:6:3", + "typeDescriptions": {} + } + }, + "id": 955, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3485:311:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "id": 931, + "name": "revert", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967277, + 4294967277 + ], + "referencedDeclaration": 4294967277, + "src": "3461:6:3", + "typeDescriptions": { + "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", + "typeString": "function (string memory) pure" + } + }, + "id": 956, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3461:349:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 957, + "nodeType": "ExpressionStatement", + "src": "3461:349:3" + } + ] + } + } + ] + }, + "documentation": { + "id": 919, + "nodeType": "StructuredDocumentation", + "src": "3060:270:3", + "text": " @dev Revert with a standard message if `account` is missing `role`.\n The format of the revert reason is given by the following regular expression:\n /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/" + }, + "id": 961, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_checkRole", + "nameLocation": "3344:10:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 924, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 921, + "mutability": "mutable", + "name": "role", + "nameLocation": "3363:4:3", + "nodeType": "VariableDeclaration", + "scope": 961, + "src": "3355:12:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 920, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3355:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 923, + "mutability": "mutable", + "name": "account", + "nameLocation": "3377:7:3", + "nodeType": "VariableDeclaration", + "scope": 961, + "src": "3369:15:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 922, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3369:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "3354:31:3" + }, + "returnParameters": { + "id": 925, + "nodeType": "ParameterList", + "parameters": [], + "src": "3408:0:3" + }, + "scope": 1145, + "src": "3335:492:3", + "stateMutability": "view", + "virtual": true, + "visibility": "internal" + }, + { + "baseFunctions": [ + 1193 + ], + "body": { + "id": 975, + "nodeType": "Block", + "src": "4091:46:3", + "statements": [ + { + "expression": { + "expression": { + "baseExpression": { + "id": 970, + "name": "_roles", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 861, + "src": "4108:6:3", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$856_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" + } + }, + "id": 972, + "indexExpression": { + "id": 971, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 964, + "src": "4115:4:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4108:12:3", + "typeDescriptions": { + "typeIdentifier": "t_struct$_RoleData_$856_storage", + "typeString": "struct AccessControl.RoleData storage ref" + } + }, + "id": 973, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "adminRole", + "nodeType": "MemberAccess", + "referencedDeclaration": 855, + "src": "4108:22:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "functionReturnParameters": 969, + "id": 974, + "nodeType": "Return", + "src": "4101:29:3" + } + ] + }, + "documentation": { + "id": 962, + "nodeType": "StructuredDocumentation", + "src": "3833:170:3", + "text": " @dev Returns the admin role that controls `role`. See {grantRole} and\n {revokeRole}.\n To change a role's admin, use {_setRoleAdmin}." + }, + "functionSelector": "248a9ca3", + "id": 976, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getRoleAdmin", + "nameLocation": "4017:12:3", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 966, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "4064:8:3" + }, + "parameters": { + "id": 965, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 964, + "mutability": "mutable", + "name": "role", + "nameLocation": "4038:4:3", + "nodeType": "VariableDeclaration", + "scope": 976, + "src": "4030:12:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 963, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4030:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "4029:14:3" + }, + "returnParameters": { + "id": 969, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 968, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 976, + "src": "4082:7:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 967, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4082:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "4081:9:3" + }, + "scope": 1145, + "src": "4008:129:3", + "stateMutability": "view", + "virtual": true, + "visibility": "public" + }, + { + "baseFunctions": [ + 1201 + ], + "body": { + "id": 995, + "nodeType": "Block", + "src": "4490:42:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 991, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 979, + "src": "4511:4:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 992, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 981, + "src": "4517:7:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 990, + "name": "_grantRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1113, + "src": "4500:10:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 993, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4500:25:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 994, + "nodeType": "ExpressionStatement", + "src": "4500:25:3" + } + ] + }, + "documentation": { + "id": 977, + "nodeType": "StructuredDocumentation", + "src": "4143:239:3", + "text": " @dev Grants `role` to `account`.\n If `account` had not been already granted `role`, emits a {RoleGranted}\n event.\n Requirements:\n - the caller must have ``role``'s admin role." + }, + "functionSelector": "2f2ff15d", + "id": 996, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "arguments": [ + { + "id": 986, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 979, + "src": "4483:4:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "id": 985, + "name": "getRoleAdmin", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 976, + "src": "4470:12:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_bytes32_$", + "typeString": "function (bytes32) view returns (bytes32)" + } + }, + "id": 987, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4470:18:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 988, + "kind": "modifierInvocation", + "modifierName": { + "id": 984, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 877, + "src": "4461:8:3" + }, + "nodeType": "ModifierInvocation", + "src": "4461:28:3" + } + ], + "name": "grantRole", + "nameLocation": "4396:9:3", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 983, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "4452:8:3" + }, + "parameters": { + "id": 982, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 979, + "mutability": "mutable", + "name": "role", + "nameLocation": "4414:4:3", + "nodeType": "VariableDeclaration", + "scope": 996, + "src": "4406:12:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 978, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4406:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 981, + "mutability": "mutable", + "name": "account", + "nameLocation": "4428:7:3", + "nodeType": "VariableDeclaration", + "scope": 996, + "src": "4420:15:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 980, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4420:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "4405:31:3" + }, + "returnParameters": { + "id": 989, + "nodeType": "ParameterList", + "parameters": [], + "src": "4490:0:3" + }, + "scope": 1145, + "src": "4387:145:3", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + }, + { + "baseFunctions": [ + 1209 + ], + "body": { + "id": 1015, + "nodeType": "Block", + "src": "4870:43:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 1011, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 999, + "src": "4892:4:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1012, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1001, + "src": "4898:7:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1010, + "name": "_revokeRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1144, + "src": "4880:11:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 1013, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4880:26:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1014, + "nodeType": "ExpressionStatement", + "src": "4880:26:3" + } + ] + }, + "documentation": { + "id": 997, + "nodeType": "StructuredDocumentation", + "src": "4538:223:3", + "text": " @dev Revokes `role` from `account`.\n If `account` had been granted `role`, emits a {RoleRevoked} event.\n Requirements:\n - the caller must have ``role``'s admin role." + }, + "functionSelector": "d547741f", + "id": 1016, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "arguments": [ + { + "id": 1006, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 999, + "src": "4863:4:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "id": 1005, + "name": "getRoleAdmin", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 976, + "src": "4850:12:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_bytes32_$", + "typeString": "function (bytes32) view returns (bytes32)" + } + }, + "id": 1007, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4850:18:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 1008, + "kind": "modifierInvocation", + "modifierName": { + "id": 1004, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 877, + "src": "4841:8:3" + }, + "nodeType": "ModifierInvocation", + "src": "4841:28:3" + } + ], + "name": "revokeRole", + "nameLocation": "4775:10:3", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 1003, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "4832:8:3" + }, + "parameters": { + "id": 1002, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 999, + "mutability": "mutable", + "name": "role", + "nameLocation": "4794:4:3", + "nodeType": "VariableDeclaration", + "scope": 1016, + "src": "4786:12:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 998, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4786:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1001, + "mutability": "mutable", + "name": "account", + "nameLocation": "4808:7:3", + "nodeType": "VariableDeclaration", + "scope": 1016, + "src": "4800:15:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1000, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4800:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "4785:31:3" + }, + "returnParameters": { + "id": 1009, + "nodeType": "ParameterList", + "parameters": [], + "src": "4870:0:3" + }, + "scope": 1145, + "src": "4766:147:3", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + }, + { + "baseFunctions": [ + 1217 + ], + "body": { + "id": 1038, + "nodeType": "Block", + "src": "5481:137:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 1029, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1026, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1021, + "src": "5499:7:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 1027, + "name": "_msgSender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1270, + "src": "5510:10:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", + "typeString": "function () view returns (address)" + } + }, + "id": 1028, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5510:12:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "5499:23:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66", + "id": 1030, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5524:49:3", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b", + "typeString": "literal_string \"AccessControl: can only renounce roles for self\"" + }, + "value": "AccessControl: can only renounce roles for self" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b", + "typeString": "literal_string \"AccessControl: can only renounce roles for self\"" + } + ], + "id": 1025, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "5491:7:3", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 1031, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5491:83:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1032, + "nodeType": "ExpressionStatement", + "src": "5491:83:3" + }, + { + "expression": { + "arguments": [ + { + "id": 1034, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1019, + "src": "5597:4:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1035, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1021, + "src": "5603:7:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1033, + "name": "_revokeRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1144, + "src": "5585:11:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 1036, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5585:26:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1037, + "nodeType": "ExpressionStatement", + "src": "5585:26:3" + } + ] + }, + "documentation": { + "id": 1017, + "nodeType": "StructuredDocumentation", + "src": "4919:480:3", + "text": " @dev Revokes `role` from the calling account.\n Roles are often managed via {grantRole} and {revokeRole}: this function's\n purpose is to provide a mechanism for accounts to lose their privileges\n if they are compromised (such as when a trusted device is misplaced).\n If the calling account had been revoked `role`, emits a {RoleRevoked}\n event.\n Requirements:\n - the caller must be `account`." + }, + "functionSelector": "36568abe", + "id": 1039, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "renounceRole", + "nameLocation": "5413:12:3", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 1023, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "5472:8:3" + }, + "parameters": { + "id": 1022, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1019, + "mutability": "mutable", + "name": "role", + "nameLocation": "5434:4:3", + "nodeType": "VariableDeclaration", + "scope": 1039, + "src": "5426:12:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1018, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "5426:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1021, + "mutability": "mutable", + "name": "account", + "nameLocation": "5448:7:3", + "nodeType": "VariableDeclaration", + "scope": 1039, + "src": "5440:15:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1020, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5440:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "5425:31:3" + }, + "returnParameters": { + "id": 1024, + "nodeType": "ParameterList", + "parameters": [], + "src": "5481:0:3" + }, + "scope": 1145, + "src": "5404:214:3", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + }, + { + "body": { + "id": 1052, + "nodeType": "Block", + "src": "6325:42:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 1048, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1042, + "src": "6346:4:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1049, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1044, + "src": "6352:7:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1047, + "name": "_grantRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1113, + "src": "6335:10:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 1050, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6335:25:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1051, + "nodeType": "ExpressionStatement", + "src": "6335:25:3" + } + ] + }, + "documentation": { + "id": 1040, + "nodeType": "StructuredDocumentation", + "src": "5624:628:3", + "text": " @dev Grants `role` to `account`.\n If `account` had not been already granted `role`, emits a {RoleGranted}\n event. Note that unlike {grantRole}, this function doesn't perform any\n checks on the calling account.\n [WARNING]\n ====\n This function should only be called from the constructor when setting\n up the initial roles for the system.\n Using this function in any other way is effectively circumventing the admin\n system imposed by {AccessControl}.\n ====\n NOTE: This function is deprecated in favor of {_grantRole}." + }, + "id": 1053, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_setupRole", + "nameLocation": "6266:10:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1045, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1042, + "mutability": "mutable", + "name": "role", + "nameLocation": "6285:4:3", + "nodeType": "VariableDeclaration", + "scope": 1053, + "src": "6277:12:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1041, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6277:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1044, + "mutability": "mutable", + "name": "account", + "nameLocation": "6299:7:3", + "nodeType": "VariableDeclaration", + "scope": 1053, + "src": "6291:15:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1043, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6291:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "6276:31:3" + }, + "returnParameters": { + "id": 1046, + "nodeType": "ParameterList", + "parameters": [], + "src": "6325:0:3" + }, + "scope": 1145, + "src": "6257:110:3", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + }, + { + "body": { + "id": 1080, + "nodeType": "Block", + "src": "6565:174:3", + "statements": [ + { + "assignments": [ + 1062 + ], + "declarations": [ + { + "constant": false, + "id": 1062, + "mutability": "mutable", + "name": "previousAdminRole", + "nameLocation": "6583:17:3", + "nodeType": "VariableDeclaration", + "scope": 1080, + "src": "6575:25:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1061, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6575:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 1066, + "initialValue": { + "arguments": [ + { + "id": 1064, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1056, + "src": "6616:4:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "id": 1063, + "name": "getRoleAdmin", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 976, + "src": "6603:12:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_bytes32_$", + "typeString": "function (bytes32) view returns (bytes32)" + } + }, + "id": 1065, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6603:18:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6575:46:3" + }, + { + "expression": { + "id": 1072, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "expression": { + "baseExpression": { + "id": 1067, + "name": "_roles", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 861, + "src": "6631:6:3", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$856_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" + } + }, + "id": 1069, + "indexExpression": { + "id": 1068, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1056, + "src": "6638:4:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6631:12:3", + "typeDescriptions": { + "typeIdentifier": "t_struct$_RoleData_$856_storage", + "typeString": "struct AccessControl.RoleData storage ref" + } + }, + "id": 1070, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "adminRole", + "nodeType": "MemberAccess", + "referencedDeclaration": 855, + "src": "6631:22:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 1071, + "name": "adminRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1058, + "src": "6656:9:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "src": "6631:34:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "id": 1073, + "nodeType": "ExpressionStatement", + "src": "6631:34:3" + }, + { + "eventCall": { + "arguments": [ + { + "id": 1075, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1056, + "src": "6697:4:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1076, + "name": "previousAdminRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1062, + "src": "6703:17:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1077, + "name": "adminRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1058, + "src": "6722:9:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "id": 1074, + "name": "RoleAdminChanged", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1157, + "src": "6680:16:3", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_bytes32_$_t_bytes32_$returns$__$", + "typeString": "function (bytes32,bytes32,bytes32)" + } + }, + "id": 1078, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6680:52:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1079, + "nodeType": "EmitStatement", + "src": "6675:57:3" + } + ] + }, + "documentation": { + "id": 1054, + "nodeType": "StructuredDocumentation", + "src": "6373:114:3", + "text": " @dev Sets `adminRole` as ``role``'s admin role.\n Emits a {RoleAdminChanged} event." + }, + "id": 1081, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_setRoleAdmin", + "nameLocation": "6501:13:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1059, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1056, + "mutability": "mutable", + "name": "role", + "nameLocation": "6523:4:3", + "nodeType": "VariableDeclaration", + "scope": 1081, + "src": "6515:12:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1055, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6515:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1058, + "mutability": "mutable", + "name": "adminRole", + "nameLocation": "6537:9:3", + "nodeType": "VariableDeclaration", + "scope": 1081, + "src": "6529:17:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1057, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6529:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "6514:33:3" + }, + "returnParameters": { + "id": 1060, + "nodeType": "ParameterList", + "parameters": [], + "src": "6565:0:3" + }, + "scope": 1145, + "src": "6492:247:3", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + }, + { + "body": { + "id": 1112, + "nodeType": "Block", + "src": "6929:165:3", + "statements": [ + { + "condition": { + "id": 1093, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "6943:23:3", + "subExpression": { + "arguments": [ + { + "id": 1090, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1084, + "src": "6952:4:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1091, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1086, + "src": "6958:7:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1089, + "name": "hasRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 918, + "src": "6944:7:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$", + "typeString": "function (bytes32,address) view returns (bool)" + } + }, + "id": 1092, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6944:22:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1111, + "nodeType": "IfStatement", + "src": "6939:149:3", + "trueBody": { + "id": 1110, + "nodeType": "Block", + "src": "6968:120:3", + "statements": [ + { + "expression": { + "id": 1101, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "expression": { + "baseExpression": { + "id": 1094, + "name": "_roles", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 861, + "src": "6982:6:3", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$856_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" + } + }, + "id": 1096, + "indexExpression": { + "id": 1095, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1084, + "src": "6989:4:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6982:12:3", + "typeDescriptions": { + "typeIdentifier": "t_struct$_RoleData_$856_storage", + "typeString": "struct AccessControl.RoleData storage ref" + } + }, + "id": 1097, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "members", + "nodeType": "MemberAccess", + "referencedDeclaration": 853, + "src": "6982:20:3", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 1099, + "indexExpression": { + "id": 1098, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1086, + "src": "7003:7:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "6982:29:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "74727565", + "id": 1100, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7014:4:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "src": "6982:36:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1102, + "nodeType": "ExpressionStatement", + "src": "6982:36:3" + }, + { + "eventCall": { + "arguments": [ + { + "id": 1104, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1084, + "src": "7049:4:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1105, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1086, + "src": "7055:7:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 1106, + "name": "_msgSender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1270, + "src": "7064:10:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", + "typeString": "function () view returns (address)" + } + }, + "id": 1107, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7064:12:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1103, + "name": "RoleGranted", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1166, + "src": "7037:11:3", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_address_$returns$__$", + "typeString": "function (bytes32,address,address)" + } + }, + "id": 1108, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7037:40:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1109, + "nodeType": "EmitStatement", + "src": "7032:45:3" + } + ] + } + } + ] + }, + "documentation": { + "id": 1082, + "nodeType": "StructuredDocumentation", + "src": "6745:111:3", + "text": " @dev Grants `role` to `account`.\n Internal function without access restriction." + }, + "id": 1113, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_grantRole", + "nameLocation": "6870:10:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1087, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1084, + "mutability": "mutable", + "name": "role", + "nameLocation": "6889:4:3", + "nodeType": "VariableDeclaration", + "scope": 1113, + "src": "6881:12:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1083, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6881:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1086, + "mutability": "mutable", + "name": "account", + "nameLocation": "6903:7:3", + "nodeType": "VariableDeclaration", + "scope": 1113, + "src": "6895:15:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1085, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6895:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "6880:31:3" + }, + "returnParameters": { + "id": 1088, + "nodeType": "ParameterList", + "parameters": [], + "src": "6929:0:3" + }, + "scope": 1145, + "src": "6861:233:3", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + }, + { + "body": { + "id": 1143, + "nodeType": "Block", + "src": "7288:165:3", + "statements": [ + { + "condition": { + "arguments": [ + { + "id": 1122, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1116, + "src": "7310:4:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1123, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1118, + "src": "7316:7:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1121, + "name": "hasRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 918, + "src": "7302:7:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$", + "typeString": "function (bytes32,address) view returns (bool)" + } + }, + "id": 1124, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7302:22:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1142, + "nodeType": "IfStatement", + "src": "7298:149:3", + "trueBody": { + "id": 1141, + "nodeType": "Block", + "src": "7326:121:3", + "statements": [ + { + "expression": { + "id": 1132, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "expression": { + "baseExpression": { + "id": 1125, + "name": "_roles", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 861, + "src": "7340:6:3", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$856_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" + } + }, + "id": 1127, + "indexExpression": { + "id": 1126, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1116, + "src": "7347:4:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7340:12:3", + "typeDescriptions": { + "typeIdentifier": "t_struct$_RoleData_$856_storage", + "typeString": "struct AccessControl.RoleData storage ref" + } + }, + "id": 1128, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "members", + "nodeType": "MemberAccess", + "referencedDeclaration": 853, + "src": "7340:20:3", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 1130, + "indexExpression": { + "id": 1129, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1118, + "src": "7361:7:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7340:29:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "66616c7365", + "id": 1131, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7372:5:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "src": "7340:37:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1133, + "nodeType": "ExpressionStatement", + "src": "7340:37:3" + }, + { + "eventCall": { + "arguments": [ + { + "id": 1135, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1116, + "src": "7408:4:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1136, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1118, + "src": "7414:7:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 1137, + "name": "_msgSender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1270, + "src": "7423:10:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", + "typeString": "function () view returns (address)" + } + }, + "id": 1138, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7423:12:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1134, + "name": "RoleRevoked", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1175, + "src": "7396:11:3", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_address_$returns$__$", + "typeString": "function (bytes32,address,address)" + } + }, + "id": 1139, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7396:40:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1140, + "nodeType": "EmitStatement", + "src": "7391:45:3" + } + ] + } + } + ] + }, + "documentation": { + "id": 1114, + "nodeType": "StructuredDocumentation", + "src": "7100:114:3", + "text": " @dev Revokes `role` from `account`.\n Internal function without access restriction." + }, + "id": 1144, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_revokeRole", + "nameLocation": "7228:11:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1119, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1116, + "mutability": "mutable", + "name": "role", + "nameLocation": "7248:4:3", + "nodeType": "VariableDeclaration", + "scope": 1144, + "src": "7240:12:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1115, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "7240:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1118, + "mutability": "mutable", + "name": "account", + "nameLocation": "7262:7:3", + "nodeType": "VariableDeclaration", + "scope": 1144, + "src": "7254:15:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1117, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "7254:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "7239:31:3" + }, + "returnParameters": { + "id": 1120, + "nodeType": "ParameterList", + "parameters": [], + "src": "7288:0:3" + }, + "scope": 1145, + "src": "7219:234:3", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "scope": 1146, + "src": "1806:5649:3", + "usedErrors": [] + } + ], + "src": "108:7348:3" + }, + "id": 3 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol", + "exportedSymbols": { + "IAccessControl": [ + 1218 + ] + }, + "id": 1219, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1147, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "94:23:4" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "IAccessControl", + "contractDependencies": [], + "contractKind": "interface", + "documentation": { + "id": 1148, + "nodeType": "StructuredDocumentation", + "src": "119:89:4", + "text": " @dev External interface of AccessControl declared to support ERC165 detection." + }, + "fullyImplemented": false, + "id": 1218, + "linearizedBaseContracts": [ + 1218 + ], + "name": "IAccessControl", + "nameLocation": "219:14:4", + "nodeType": "ContractDefinition", + "nodes": [ + { + "anonymous": false, + "documentation": { + "id": 1149, + "nodeType": "StructuredDocumentation", + "src": "240:292:4", + "text": " @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`\n `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite\n {RoleAdminChanged} not being emitted signaling this.\n _Available since v3.1._" + }, + "id": 1157, + "name": "RoleAdminChanged", + "nameLocation": "543:16:4", + "nodeType": "EventDefinition", + "parameters": { + "id": 1156, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1151, + "indexed": true, + "mutability": "mutable", + "name": "role", + "nameLocation": "576:4:4", + "nodeType": "VariableDeclaration", + "scope": 1157, + "src": "560:20:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1150, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "560:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1153, + "indexed": true, + "mutability": "mutable", + "name": "previousAdminRole", + "nameLocation": "598:17:4", + "nodeType": "VariableDeclaration", + "scope": 1157, + "src": "582:33:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1152, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "582:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1155, + "indexed": true, + "mutability": "mutable", + "name": "newAdminRole", + "nameLocation": "633:12:4", + "nodeType": "VariableDeclaration", + "scope": 1157, + "src": "617:28:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1154, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "617:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "559:87:4" + }, + "src": "537:110:4" + }, + { + "anonymous": false, + "documentation": { + "id": 1158, + "nodeType": "StructuredDocumentation", + "src": "653:212:4", + "text": " @dev Emitted when `account` is granted `role`.\n `sender` is the account that originated the contract call, an admin role\n bearer except when using {AccessControl-_setupRole}." + }, + "id": 1166, + "name": "RoleGranted", + "nameLocation": "876:11:4", + "nodeType": "EventDefinition", + "parameters": { + "id": 1165, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1160, + "indexed": true, + "mutability": "mutable", + "name": "role", + "nameLocation": "904:4:4", + "nodeType": "VariableDeclaration", + "scope": 1166, + "src": "888:20:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1159, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "888:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1162, + "indexed": true, + "mutability": "mutable", + "name": "account", + "nameLocation": "926:7:4", + "nodeType": "VariableDeclaration", + "scope": 1166, + "src": "910:23:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1161, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "910:7:4", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1164, + "indexed": true, + "mutability": "mutable", + "name": "sender", + "nameLocation": "951:6:4", + "nodeType": "VariableDeclaration", + "scope": 1166, + "src": "935:22:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1163, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "935:7:4", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "887:71:4" + }, + "src": "870:89:4" + }, + { + "anonymous": false, + "documentation": { + "id": 1167, + "nodeType": "StructuredDocumentation", + "src": "965:275:4", + "text": " @dev Emitted when `account` is revoked `role`.\n `sender` is the account that originated the contract call:\n - if using `revokeRole`, it is the admin role bearer\n - if using `renounceRole`, it is the role bearer (i.e. `account`)" + }, + "id": 1175, + "name": "RoleRevoked", + "nameLocation": "1251:11:4", + "nodeType": "EventDefinition", + "parameters": { + "id": 1174, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1169, + "indexed": true, + "mutability": "mutable", + "name": "role", + "nameLocation": "1279:4:4", + "nodeType": "VariableDeclaration", + "scope": 1175, + "src": "1263:20:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1168, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1263:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1171, + "indexed": true, + "mutability": "mutable", + "name": "account", + "nameLocation": "1301:7:4", + "nodeType": "VariableDeclaration", + "scope": 1175, + "src": "1285:23:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1170, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1285:7:4", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1173, + "indexed": true, + "mutability": "mutable", + "name": "sender", + "nameLocation": "1326:6:4", + "nodeType": "VariableDeclaration", + "scope": 1175, + "src": "1310:22:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1172, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1310:7:4", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "1262:71:4" + }, + "src": "1245:89:4" + }, + { + "documentation": { + "id": 1176, + "nodeType": "StructuredDocumentation", + "src": "1340:76:4", + "text": " @dev Returns `true` if `account` has been granted `role`." + }, + "functionSelector": "91d14854", + "id": 1185, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "hasRole", + "nameLocation": "1430:7:4", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1181, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1178, + "mutability": "mutable", + "name": "role", + "nameLocation": "1446:4:4", + "nodeType": "VariableDeclaration", + "scope": 1185, + "src": "1438:12:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1177, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1438:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1180, + "mutability": "mutable", + "name": "account", + "nameLocation": "1460:7:4", + "nodeType": "VariableDeclaration", + "scope": 1185, + "src": "1452:15:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1179, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1452:7:4", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "1437:31:4" + }, + "returnParameters": { + "id": 1184, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1183, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1185, + "src": "1492:4:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1182, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "1492:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "1491:6:4" + }, + "scope": 1218, + "src": "1421:77:4", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 1186, + "nodeType": "StructuredDocumentation", + "src": "1504:184:4", + "text": " @dev Returns the admin role that controls `role`. See {grantRole} and\n {revokeRole}.\n To change a role's admin, use {AccessControl-_setRoleAdmin}." + }, + "functionSelector": "248a9ca3", + "id": 1193, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getRoleAdmin", + "nameLocation": "1702:12:4", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1189, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1188, + "mutability": "mutable", + "name": "role", + "nameLocation": "1723:4:4", + "nodeType": "VariableDeclaration", + "scope": 1193, + "src": "1715:12:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1187, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1715:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "1714:14:4" + }, + "returnParameters": { + "id": 1192, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1191, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1193, + "src": "1752:7:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1190, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1752:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "1751:9:4" + }, + "scope": 1218, + "src": "1693:68:4", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 1194, + "nodeType": "StructuredDocumentation", + "src": "1767:239:4", + "text": " @dev Grants `role` to `account`.\n If `account` had not been already granted `role`, emits a {RoleGranted}\n event.\n Requirements:\n - the caller must have ``role``'s admin role." + }, + "functionSelector": "2f2ff15d", + "id": 1201, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "grantRole", + "nameLocation": "2020:9:4", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1199, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1196, + "mutability": "mutable", + "name": "role", + "nameLocation": "2038:4:4", + "nodeType": "VariableDeclaration", + "scope": 1201, + "src": "2030:12:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1195, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2030:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1198, + "mutability": "mutable", + "name": "account", + "nameLocation": "2052:7:4", + "nodeType": "VariableDeclaration", + "scope": 1201, + "src": "2044:15:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1197, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2044:7:4", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2029:31:4" + }, + "returnParameters": { + "id": 1200, + "nodeType": "ParameterList", + "parameters": [], + "src": "2069:0:4" + }, + "scope": 1218, + "src": "2011:59:4", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 1202, + "nodeType": "StructuredDocumentation", + "src": "2076:223:4", + "text": " @dev Revokes `role` from `account`.\n If `account` had been granted `role`, emits a {RoleRevoked} event.\n Requirements:\n - the caller must have ``role``'s admin role." + }, + "functionSelector": "d547741f", + "id": 1209, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "revokeRole", + "nameLocation": "2313:10:4", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1207, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1204, + "mutability": "mutable", + "name": "role", + "nameLocation": "2332:4:4", + "nodeType": "VariableDeclaration", + "scope": 1209, + "src": "2324:12:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1203, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2324:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1206, + "mutability": "mutable", + "name": "account", + "nameLocation": "2346:7:4", + "nodeType": "VariableDeclaration", + "scope": 1209, + "src": "2338:15:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1205, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2338:7:4", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2323:31:4" + }, + "returnParameters": { + "id": 1208, + "nodeType": "ParameterList", + "parameters": [], + "src": "2363:0:4" + }, + "scope": 1218, + "src": "2304:60:4", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 1210, + "nodeType": "StructuredDocumentation", + "src": "2370:480:4", + "text": " @dev Revokes `role` from the calling account.\n Roles are often managed via {grantRole} and {revokeRole}: this function's\n purpose is to provide a mechanism for accounts to lose their privileges\n if they are compromised (such as when a trusted device is misplaced).\n If the calling account had been granted `role`, emits a {RoleRevoked}\n event.\n Requirements:\n - the caller must be `account`." + }, + "functionSelector": "36568abe", + "id": 1217, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "renounceRole", + "nameLocation": "2864:12:4", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1215, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1212, + "mutability": "mutable", + "name": "role", + "nameLocation": "2885:4:4", + "nodeType": "VariableDeclaration", + "scope": 1217, + "src": "2877:12:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1211, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2877:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1214, + "mutability": "mutable", + "name": "account", + "nameLocation": "2899:7:4", + "nodeType": "VariableDeclaration", + "scope": 1217, + "src": "2891:15:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1213, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2891:7:4", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2876:31:4" + }, + "returnParameters": { + "id": 1216, + "nodeType": "ParameterList", + "parameters": [], + "src": "2916:0:4" + }, + "scope": 1218, + "src": "2855:62:4", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + } + ], + "scope": 1219, + "src": "209:2710:4", + "usedErrors": [] + } + ], + "src": "94:2826:4" + }, + "id": 4 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol", + "exportedSymbols": { + "ReentrancyGuard": [ + 1258 + ] + }, + "id": 1259, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1220, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "97:23:5" + }, + { + "abstract": true, + "baseContracts": [], + "canonicalName": "ReentrancyGuard", + "contractDependencies": [], + "contractKind": "contract", + "documentation": { + "id": 1221, + "nodeType": "StructuredDocumentation", + "src": "122:750:5", + "text": " @dev Contract module that helps prevent reentrant calls to a function.\n Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\n available, which can be applied to functions to make sure there are no nested\n (reentrant) calls to them.\n Note that because there is a single `nonReentrant` guard, functions marked as\n `nonReentrant` may not call one another. This can be worked around by making\n those functions `private`, and then adding `external` `nonReentrant` entry\n points to them.\n TIP: If you would like to learn more about reentrancy and alternative ways\n to protect against it, check out our blog post\n https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]." + }, + "fullyImplemented": true, + "id": 1258, + "linearizedBaseContracts": [ + 1258 + ], + "name": "ReentrancyGuard", + "nameLocation": "891:15:5", + "nodeType": "ContractDefinition", + "nodes": [ + { + "constant": true, + "id": 1224, + "mutability": "constant", + "name": "_NOT_ENTERED", + "nameLocation": "1686:12:5", + "nodeType": "VariableDeclaration", + "scope": 1258, + "src": "1661:41:5", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1222, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1661:7:5", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": { + "hexValue": "31", + "id": 1223, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1701:1:5", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "visibility": "private" + }, + { + "constant": true, + "id": 1227, + "mutability": "constant", + "name": "_ENTERED", + "nameLocation": "1733:8:5", + "nodeType": "VariableDeclaration", + "scope": 1258, + "src": "1708:37:5", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1225, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1708:7:5", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": { + "hexValue": "32", + "id": 1226, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1744:1:5", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "visibility": "private" + }, + { + "constant": false, + "id": 1229, + "mutability": "mutable", + "name": "_status", + "nameLocation": "1768:7:5", + "nodeType": "VariableDeclaration", + "scope": 1258, + "src": "1752:23:5", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1228, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1752:7:5", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "private" + }, + { + "body": { + "id": 1236, + "nodeType": "Block", + "src": "1796:39:5", + "statements": [ + { + "expression": { + "id": 1234, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1232, + "name": "_status", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1229, + "src": "1806:7:5", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 1233, + "name": "_NOT_ENTERED", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1224, + "src": "1816:12:5", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1806:22:5", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1235, + "nodeType": "ExpressionStatement", + "src": "1806:22:5" + } + ] + }, + "id": 1237, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1230, + "nodeType": "ParameterList", + "parameters": [], + "src": "1793:2:5" + }, + "returnParameters": { + "id": 1231, + "nodeType": "ParameterList", + "parameters": [], + "src": "1796:0:5" + }, + "scope": 1258, + "src": "1782:53:5", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 1256, + "nodeType": "Block", + "src": "2236:421:5", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1243, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1241, + "name": "_status", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1229, + "src": "2325:7:5", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "id": 1242, + "name": "_ENTERED", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1227, + "src": "2336:8:5", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2325:19:5", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "5265656e7472616e637947756172643a207265656e7472616e742063616c6c", + "id": 1244, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2346:33:5", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_ebf73bba305590e4764d5cb53b69bffd6d4d092d1a67551cb346f8cfcdab8619", + "typeString": "literal_string \"ReentrancyGuard: reentrant call\"" + }, + "value": "ReentrancyGuard: reentrant call" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_ebf73bba305590e4764d5cb53b69bffd6d4d092d1a67551cb346f8cfcdab8619", + "typeString": "literal_string \"ReentrancyGuard: reentrant call\"" + } + ], + "id": 1240, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "2317:7:5", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 1245, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2317:63:5", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1246, + "nodeType": "ExpressionStatement", + "src": "2317:63:5" + }, + { + "expression": { + "id": 1249, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1247, + "name": "_status", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1229, + "src": "2455:7:5", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 1248, + "name": "_ENTERED", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1227, + "src": "2465:8:5", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2455:18:5", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1250, + "nodeType": "ExpressionStatement", + "src": "2455:18:5" + }, + { + "id": 1251, + "nodeType": "PlaceholderStatement", + "src": "2484:1:5" + }, + { + "expression": { + "id": 1254, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1252, + "name": "_status", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1229, + "src": "2628:7:5", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 1253, + "name": "_NOT_ENTERED", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1224, + "src": "2638:12:5", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2628:22:5", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1255, + "nodeType": "ExpressionStatement", + "src": "2628:22:5" + } + ] + }, + "documentation": { + "id": 1238, + "nodeType": "StructuredDocumentation", + "src": "1841:366:5", + "text": " @dev Prevents a contract from calling itself, directly or indirectly.\n Calling a `nonReentrant` function from another `nonReentrant`\n function is not supported. It is possible to prevent this from happening\n by making the `nonReentrant` function external, and making it call a\n `private` function that does the actual work." + }, + "id": 1257, + "name": "nonReentrant", + "nameLocation": "2221:12:5", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 1239, + "nodeType": "ParameterList", + "parameters": [], + "src": "2233:2:5" + }, + "src": "2212:445:5", + "virtual": false, + "visibility": "internal" + } + ], + "scope": 1259, + "src": "873:1786:5", + "usedErrors": [] + } + ], + "src": "97:2563:5" + }, + "id": 5 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol", + "exportedSymbols": { + "Context": [ + 1280 + ] + }, + "id": 1281, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1260, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "86:23:6" + }, + { + "abstract": true, + "baseContracts": [], + "canonicalName": "Context", + "contractDependencies": [], + "contractKind": "contract", + "documentation": { + "id": 1261, + "nodeType": "StructuredDocumentation", + "src": "111:496:6", + "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, + "id": 1280, + "linearizedBaseContracts": [ + 1280 + ], + "name": "Context", + "nameLocation": "626:7:6", + "nodeType": "ContractDefinition", + "nodes": [ + { + "body": { + "id": 1269, + "nodeType": "Block", + "src": "702:34:6", + "statements": [ + { + "expression": { + "expression": { + "id": 1266, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "719:3:6", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1267, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "719:10:6", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "functionReturnParameters": 1265, + "id": 1268, + "nodeType": "Return", + "src": "712:17:6" + } + ] + }, + "id": 1270, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_msgSender", + "nameLocation": "649:10:6", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1262, + "nodeType": "ParameterList", + "parameters": [], + "src": "659:2:6" + }, + "returnParameters": { + "id": 1265, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1264, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1270, + "src": "693:7:6", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1263, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "693:7:6", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "692:9:6" + }, + "scope": 1280, + "src": "640:96:6", + "stateMutability": "view", + "virtual": true, + "visibility": "internal" + }, + { + "body": { + "id": 1278, + "nodeType": "Block", + "src": "809:32:6", + "statements": [ + { + "expression": { + "expression": { + "id": 1275, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "826:3:6", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1276, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "data", + "nodeType": "MemberAccess", + "src": "826:8:6", + "typeDescriptions": { + "typeIdentifier": "t_bytes_calldata_ptr", + "typeString": "bytes calldata" + } + }, + "functionReturnParameters": 1274, + "id": 1277, + "nodeType": "Return", + "src": "819:15:6" + } + ] + }, + "id": 1279, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_msgData", + "nameLocation": "751:8:6", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1271, + "nodeType": "ParameterList", + "parameters": [], + "src": "759:2:6" + }, + "returnParameters": { + "id": 1274, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1273, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1279, + "src": "793:14:6", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_bytes_calldata_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 1272, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "793:5:6", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "792:16:6" + }, + "scope": 1280, + "src": "742:99:6", + "stateMutability": "view", + "virtual": true, + "visibility": "internal" + } + ], + "scope": 1281, + "src": "608:235:6", + "usedErrors": [] + } + ], + "src": "86:758:6" + }, + "id": 6 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol", + "exportedSymbols": { + "Strings": [ + 1483 + ] + }, + "id": 1484, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1282, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "86:23:7" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "Strings", + "contractDependencies": [], + "contractKind": "library", + "documentation": { + "id": 1283, + "nodeType": "StructuredDocumentation", + "src": "111:34:7", + "text": " @dev String operations." + }, + "fullyImplemented": true, + "id": 1483, + "linearizedBaseContracts": [ + 1483 + ], + "name": "Strings", + "nameLocation": "154:7:7", + "nodeType": "ContractDefinition", + "nodes": [ + { + "constant": true, + "id": 1286, + "mutability": "constant", + "name": "_HEX_SYMBOLS", + "nameLocation": "193:12:7", + "nodeType": "VariableDeclaration", + "scope": 1483, + "src": "168:58:7", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + }, + "typeName": { + "id": 1284, + "name": "bytes16", + "nodeType": "ElementaryTypeName", + "src": "168:7:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + } + }, + "value": { + "hexValue": "30313233343536373839616263646566", + "id": 1285, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "208:18:7", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_cb29997ed99ead0db59ce4d12b7d3723198c827273e5796737c926d78019c39f", + "typeString": "literal_string \"0123456789abcdef\"" + }, + "value": "0123456789abcdef" + }, + "visibility": "private" + }, + { + "body": { + "id": 1364, + "nodeType": "Block", + "src": "399:632:7", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1296, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1294, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1289, + "src": "601:5:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 1295, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "610:1:7", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "601:10:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1300, + "nodeType": "IfStatement", + "src": "597:51:7", + "trueBody": { + "id": 1299, + "nodeType": "Block", + "src": "613:35:7", + "statements": [ + { + "expression": { + "hexValue": "30", + "id": 1297, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "634:3:7", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "typeString": "literal_string \"0\"" + }, + "value": "0" + }, + "functionReturnParameters": 1293, + "id": 1298, + "nodeType": "Return", + "src": "627:10:7" + } + ] + } + }, + { + "assignments": [ + 1302 + ], + "declarations": [ + { + "constant": false, + "id": 1302, + "mutability": "mutable", + "name": "temp", + "nameLocation": "665:4:7", + "nodeType": "VariableDeclaration", + "scope": 1364, + "src": "657:12:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1301, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "657:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1304, + "initialValue": { + "id": 1303, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1289, + "src": "672:5:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "657:20:7" + }, + { + "assignments": [ + 1306 + ], + "declarations": [ + { + "constant": false, + "id": 1306, + "mutability": "mutable", + "name": "digits", + "nameLocation": "695:6:7", + "nodeType": "VariableDeclaration", + "scope": 1364, + "src": "687:14:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1305, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "687:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1307, + "nodeType": "VariableDeclarationStatement", + "src": "687:14:7" + }, + { + "body": { + "id": 1318, + "nodeType": "Block", + "src": "729:57:7", + "statements": [ + { + "expression": { + "id": 1312, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "743:8:7", + "subExpression": { + "id": 1311, + "name": "digits", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1306, + "src": "743:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1313, + "nodeType": "ExpressionStatement", + "src": "743:8:7" + }, + { + "expression": { + "id": 1316, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1314, + "name": "temp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1302, + "src": "765:4:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "/=", + "rightHandSide": { + "hexValue": "3130", + "id": 1315, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "773:2:7", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "value": "10" + }, + "src": "765:10:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1317, + "nodeType": "ExpressionStatement", + "src": "765:10:7" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1310, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1308, + "name": "temp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1302, + "src": "718:4:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "hexValue": "30", + "id": 1309, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "726:1:7", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "718:9:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1319, + "nodeType": "WhileStatement", + "src": "711:75:7" + }, + { + "assignments": [ + 1321 + ], + "declarations": [ + { + "constant": false, + "id": 1321, + "mutability": "mutable", + "name": "buffer", + "nameLocation": "808:6:7", + "nodeType": "VariableDeclaration", + "scope": 1364, + "src": "795:19:7", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 1320, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "795:5:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 1326, + "initialValue": { + "arguments": [ + { + "id": 1324, + "name": "digits", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1306, + "src": "827:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1323, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "817:9:7", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (uint256) pure returns (bytes memory)" + }, + "typeName": { + "id": 1322, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "821:5:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + } + }, + "id": 1325, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "817:17:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "795:39:7" + }, + { + "body": { + "id": 1357, + "nodeType": "Block", + "src": "863:131:7", + "statements": [ + { + "expression": { + "id": 1332, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1330, + "name": "digits", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1306, + "src": "877:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "-=", + "rightHandSide": { + "hexValue": "31", + "id": 1331, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "887:1:7", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "877:11:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1333, + "nodeType": "ExpressionStatement", + "src": "877:11:7" + }, + { + "expression": { + "id": 1351, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 1334, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1321, + "src": "902:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 1336, + "indexExpression": { + "id": 1335, + "name": "digits", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1306, + "src": "909:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "902:14:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1348, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "3438", + "id": 1341, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "932:2:7", + "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": 1346, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1344, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1289, + "src": "945:5:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "%", + "rightExpression": { + "hexValue": "3130", + "id": 1345, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "953:2:7", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "value": "10" + }, + "src": "945:10:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1343, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "937:7:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint256_$", + "typeString": "type(uint256)" + }, + "typeName": { + "id": 1342, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "937:7:7", + "typeDescriptions": {} + } + }, + "id": 1347, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "937:19:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "932:24:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1340, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "926:5:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint8_$", + "typeString": "type(uint8)" + }, + "typeName": { + "id": 1339, + "name": "uint8", + "nodeType": "ElementaryTypeName", + "src": "926:5:7", + "typeDescriptions": {} + } + }, + "id": 1349, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "926:31:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + ], + "id": 1338, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "919:6:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes1_$", + "typeString": "type(bytes1)" + }, + "typeName": { + "id": 1337, + "name": "bytes1", + "nodeType": "ElementaryTypeName", + "src": "919:6:7", + "typeDescriptions": {} + } + }, + "id": 1350, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "919:39:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "src": "902:56:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "id": 1352, + "nodeType": "ExpressionStatement", + "src": "902:56:7" + }, + { + "expression": { + "id": 1355, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1353, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1289, + "src": "972:5:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "/=", + "rightHandSide": { + "hexValue": "3130", + "id": 1354, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "981:2:7", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "value": "10" + }, + "src": "972:11:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1356, + "nodeType": "ExpressionStatement", + "src": "972:11:7" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1329, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1327, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1289, + "src": "851:5:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "hexValue": "30", + "id": 1328, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "860:1:7", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "851:10:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1358, + "nodeType": "WhileStatement", + "src": "844:150:7" + }, + { + "expression": { + "arguments": [ + { + "id": 1361, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1321, + "src": "1017:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1360, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1010:6:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_string_storage_ptr_$", + "typeString": "type(string storage pointer)" + }, + "typeName": { + "id": 1359, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1010:6:7", + "typeDescriptions": {} + } + }, + "id": 1362, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1010:14:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "functionReturnParameters": 1293, + "id": 1363, + "nodeType": "Return", + "src": "1003:21:7" + } + ] + }, + "documentation": { + "id": 1287, + "nodeType": "StructuredDocumentation", + "src": "233:90:7", + "text": " @dev Converts a `uint256` to its ASCII `string` decimal representation." + }, + "id": 1365, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "toString", + "nameLocation": "337:8:7", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1290, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1289, + "mutability": "mutable", + "name": "value", + "nameLocation": "354:5:7", + "nodeType": "VariableDeclaration", + "scope": 1365, + "src": "346:13:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1288, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "346:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "345:15:7" + }, + "returnParameters": { + "id": 1293, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1292, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1365, + "src": "384:13:7", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 1291, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "384:6:7", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "383:15:7" + }, + "scope": 1483, + "src": "328:703:7", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 1405, + "nodeType": "Block", + "src": "1210:255:7", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1375, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1373, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1368, + "src": "1224:5:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 1374, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1233:1:7", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "1224:10:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1379, + "nodeType": "IfStatement", + "src": "1220:54:7", + "trueBody": { + "id": 1378, + "nodeType": "Block", + "src": "1236:38:7", + "statements": [ + { + "expression": { + "hexValue": "30783030", + "id": 1376, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1257:6:7", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_27489e20a0060b723a1748bdff5e44570ee9fae64141728105692eac6031e8a4", + "typeString": "literal_string \"0x00\"" + }, + "value": "0x00" + }, + "functionReturnParameters": 1372, + "id": 1377, + "nodeType": "Return", + "src": "1250:13:7" + } + ] + } + }, + { + "assignments": [ + 1381 + ], + "declarations": [ + { + "constant": false, + "id": 1381, + "mutability": "mutable", + "name": "temp", + "nameLocation": "1291:4:7", + "nodeType": "VariableDeclaration", + "scope": 1405, + "src": "1283:12:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1380, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1283:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1383, + "initialValue": { + "id": 1382, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1368, + "src": "1298:5:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1283:20:7" + }, + { + "assignments": [ + 1385 + ], + "declarations": [ + { + "constant": false, + "id": 1385, + "mutability": "mutable", + "name": "length", + "nameLocation": "1321:6:7", + "nodeType": "VariableDeclaration", + "scope": 1405, + "src": "1313:14:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1384, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1313:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1387, + "initialValue": { + "hexValue": "30", + "id": 1386, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1330:1:7", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "1313:18:7" + }, + { + "body": { + "id": 1398, + "nodeType": "Block", + "src": "1359:57:7", + "statements": [ + { + "expression": { + "id": 1392, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "1373:8:7", + "subExpression": { + "id": 1391, + "name": "length", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1385, + "src": "1373:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1393, + "nodeType": "ExpressionStatement", + "src": "1373:8:7" + }, + { + "expression": { + "id": 1396, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1394, + "name": "temp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1381, + "src": "1395:4:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": ">>=", + "rightHandSide": { + "hexValue": "38", + "id": 1395, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1404:1:7", + "typeDescriptions": { + "typeIdentifier": "t_rational_8_by_1", + "typeString": "int_const 8" + }, + "value": "8" + }, + "src": "1395:10:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1397, + "nodeType": "ExpressionStatement", + "src": "1395:10:7" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1390, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1388, + "name": "temp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1381, + "src": "1348:4:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "hexValue": "30", + "id": 1389, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1356:1:7", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "1348:9:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1399, + "nodeType": "WhileStatement", + "src": "1341:75:7" + }, + { + "expression": { + "arguments": [ + { + "id": 1401, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1368, + "src": "1444:5:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "id": 1402, + "name": "length", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1385, + "src": "1451:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1400, + "name": "toHexString", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 1406, + 1482 + ], + "referencedDeclaration": 1482, + "src": "1432:11:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_string_memory_ptr_$", + "typeString": "function (uint256,uint256) pure returns (string memory)" + } + }, + "id": 1403, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1432:26:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "functionReturnParameters": 1372, + "id": 1404, + "nodeType": "Return", + "src": "1425:33:7" + } + ] + }, + "documentation": { + "id": 1366, + "nodeType": "StructuredDocumentation", + "src": "1037:94:7", + "text": " @dev Converts a `uint256` to its ASCII `string` hexadecimal representation." + }, + "id": 1406, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "toHexString", + "nameLocation": "1145:11:7", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1369, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1368, + "mutability": "mutable", + "name": "value", + "nameLocation": "1165:5:7", + "nodeType": "VariableDeclaration", + "scope": 1406, + "src": "1157:13:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1367, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1157:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1156:15:7" + }, + "returnParameters": { + "id": 1372, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1371, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1406, + "src": "1195:13:7", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 1370, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1195:6:7", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "1194:15:7" + }, + "scope": 1483, + "src": "1136:329:7", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 1481, + "nodeType": "Block", + "src": "1678:351:7", + "statements": [ + { + "assignments": [ + 1417 + ], + "declarations": [ + { + "constant": false, + "id": 1417, + "mutability": "mutable", + "name": "buffer", + "nameLocation": "1701:6:7", + "nodeType": "VariableDeclaration", + "scope": 1481, + "src": "1688:19:7", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 1416, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1688:5:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 1426, + "initialValue": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1424, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1422, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "32", + "id": 1420, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1720:1:7", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 1421, + "name": "length", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1411, + "src": "1724:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1720:10:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "32", + "id": 1423, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1733:1:7", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "src": "1720:14:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1419, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "1710:9:7", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (uint256) pure returns (bytes memory)" + }, + "typeName": { + "id": 1418, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1714:5:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + } + }, + "id": 1425, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1710:25:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1688:47:7" + }, + { + "expression": { + "id": 1431, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 1427, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1417, + "src": "1745:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 1429, + "indexExpression": { + "hexValue": "30", + "id": 1428, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1752:1:7", + "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:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "30", + "id": 1430, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1757:3:7", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "typeString": "literal_string \"0\"" + }, + "value": "0" + }, + "src": "1745:15:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "id": 1432, + "nodeType": "ExpressionStatement", + "src": "1745:15:7" + }, + { + "expression": { + "id": 1437, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 1433, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1417, + "src": "1770:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 1435, + "indexExpression": { + "hexValue": "31", + "id": 1434, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1777:1:7", + "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:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "78", + "id": 1436, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1782:3:7", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7521d1cadbcfa91eec65aa16715b94ffc1c9654ba57ea2ef1a2127bca1127a83", + "typeString": "literal_string \"x\"" + }, + "value": "x" + }, + "src": "1770:15:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "id": 1438, + "nodeType": "ExpressionStatement", + "src": "1770:15:7" + }, + { + "body": { + "id": 1467, + "nodeType": "Block", + "src": "1840:87:7", + "statements": [ + { + "expression": { + "id": 1461, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 1453, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1417, + "src": "1854:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 1455, + "indexExpression": { + "id": 1454, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1440, + "src": "1861:1:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "1854:9:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "baseExpression": { + "id": 1456, + "name": "_HEX_SYMBOLS", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1286, + "src": "1866:12:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + } + }, + "id": 1460, + "indexExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1459, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1457, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1409, + "src": "1879:5:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "&", + "rightExpression": { + "hexValue": "307866", + "id": 1458, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1887:3:7", + "typeDescriptions": { + "typeIdentifier": "t_rational_15_by_1", + "typeString": "int_const 15" + }, + "value": "0xf" + }, + "src": "1879:11:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1866:25:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "src": "1854:37:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "id": 1462, + "nodeType": "ExpressionStatement", + "src": "1854:37:7" + }, + { + "expression": { + "id": 1465, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1463, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1409, + "src": "1905:5:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": ">>=", + "rightHandSide": { + "hexValue": "34", + "id": 1464, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1915:1:7", + "typeDescriptions": { + "typeIdentifier": "t_rational_4_by_1", + "typeString": "int_const 4" + }, + "value": "4" + }, + "src": "1905:11:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1466, + "nodeType": "ExpressionStatement", + "src": "1905:11:7" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1449, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1447, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1440, + "src": "1828:1:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "hexValue": "31", + "id": 1448, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1832:1:7", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "1828:5:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1468, + "initializationExpression": { + "assignments": [ + 1440 + ], + "declarations": [ + { + "constant": false, + "id": 1440, + "mutability": "mutable", + "name": "i", + "nameLocation": "1808:1:7", + "nodeType": "VariableDeclaration", + "scope": 1468, + "src": "1800:9:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1439, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1800:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1446, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1445, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1443, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "32", + "id": 1441, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1812:1:7", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 1442, + "name": "length", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1411, + "src": "1816:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1812:10:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "31", + "id": 1444, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1825:1:7", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "1812:14:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1800:26:7" + }, + "loopExpression": { + "expression": { + "id": 1451, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "--", + "prefix": true, + "src": "1835:3:7", + "subExpression": { + "id": 1450, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1440, + "src": "1837:1:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1452, + "nodeType": "ExpressionStatement", + "src": "1835:3:7" + }, + "nodeType": "ForStatement", + "src": "1795:132:7" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1472, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1470, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1409, + "src": "1944:5:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 1471, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1953:1:7", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "1944:10:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "537472696e67733a20686578206c656e67746820696e73756666696369656e74", + "id": 1473, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1956:34:7", + "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": 1469, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "1936:7:7", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 1474, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1936:55:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1475, + "nodeType": "ExpressionStatement", + "src": "1936:55:7" + }, + { + "expression": { + "arguments": [ + { + "id": 1478, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1417, + "src": "2015:6:7", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1477, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2008:6:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_string_storage_ptr_$", + "typeString": "type(string storage pointer)" + }, + "typeName": { + "id": 1476, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "2008:6:7", + "typeDescriptions": {} + } + }, + "id": 1479, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2008:14:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "functionReturnParameters": 1415, + "id": 1480, + "nodeType": "Return", + "src": "2001:21:7" + } + ] + }, + "documentation": { + "id": 1407, + "nodeType": "StructuredDocumentation", + "src": "1471:112:7", + "text": " @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length." + }, + "id": 1482, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "toHexString", + "nameLocation": "1597:11:7", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1412, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1409, + "mutability": "mutable", + "name": "value", + "nameLocation": "1617:5:7", + "nodeType": "VariableDeclaration", + "scope": 1482, + "src": "1609:13:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1408, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1609:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1411, + "mutability": "mutable", + "name": "length", + "nameLocation": "1632:6:7", + "nodeType": "VariableDeclaration", + "scope": 1482, + "src": "1624:14:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1410, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1624:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1608:31:7" + }, + "returnParameters": { + "id": 1415, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1414, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1482, + "src": "1663:13:7", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 1413, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1663:6:7", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "1662:15:7" + }, + "scope": 1483, + "src": "1588:441:7", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + } + ], + "scope": 1484, + "src": "146:1885:7", + "usedErrors": [] + } + ], + "src": "86:1946:7" + }, + "id": 7 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol", + "exportedSymbols": { + "ERC165": [ + 1507 + ], + "IERC165": [ + 1519 + ] + }, + "id": 1508, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1485, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "99:23:8" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol", + "file": "./IERC165.sol", + "id": 1486, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1508, + "sourceUnit": 1520, + "src": "124:23:8", + "symbolAliases": [], + "unitAlias": "" + }, + { + "abstract": true, + "baseContracts": [ + { + "baseName": { + "id": 1488, + "name": "IERC165", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1519, + "src": "754:7:8" + }, + "id": 1489, + "nodeType": "InheritanceSpecifier", + "src": "754:7:8" + } + ], + "canonicalName": "ERC165", + "contractDependencies": [], + "contractKind": "contract", + "documentation": { + "id": 1487, + "nodeType": "StructuredDocumentation", + "src": "149:576:8", + "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, + "id": 1507, + "linearizedBaseContracts": [ + 1507, + 1519 + ], + "name": "ERC165", + "nameLocation": "744:6:8", + "nodeType": "ContractDefinition", + "nodes": [ + { + "baseFunctions": [ + 1518 + ], + "body": { + "id": 1505, + "nodeType": "Block", + "src": "920:64:8", + "statements": [ + { + "expression": { + "commonType": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + "id": 1503, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1498, + "name": "interfaceId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1492, + "src": "937:11:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "expression": { + "arguments": [ + { + "id": 1500, + "name": "IERC165", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1519, + "src": "957:7:8", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_IERC165_$1519_$", + "typeString": "type(contract IERC165)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_type$_t_contract$_IERC165_$1519_$", + "typeString": "type(contract IERC165)" + } + ], + "id": 1499, + "name": "type", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967269, + "src": "952:4:8", + "typeDescriptions": { + "typeIdentifier": "t_function_metatype_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 1501, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "952:13:8", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_magic_meta_type_t_contract$_IERC165_$1519", + "typeString": "type(contract IERC165)" + } + }, + "id": 1502, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "interfaceId", + "nodeType": "MemberAccess", + "src": "952:25:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "src": "937:40:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "functionReturnParameters": 1497, + "id": 1504, + "nodeType": "Return", + "src": "930:47:8" + } + ] + }, + "documentation": { + "id": 1490, + "nodeType": "StructuredDocumentation", + "src": "768:56:8", + "text": " @dev See {IERC165-supportsInterface}." + }, + "functionSelector": "01ffc9a7", + "id": 1506, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "supportsInterface", + "nameLocation": "838:17:8", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 1494, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "896:8:8" + }, + "parameters": { + "id": 1493, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1492, + "mutability": "mutable", + "name": "interfaceId", + "nameLocation": "863:11:8", + "nodeType": "VariableDeclaration", + "scope": 1506, + "src": "856:18:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + "typeName": { + "id": 1491, + "name": "bytes4", + "nodeType": "ElementaryTypeName", + "src": "856:6:8", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "visibility": "internal" + } + ], + "src": "855:20:8" + }, + "returnParameters": { + "id": 1497, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1496, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1506, + "src": "914:4:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1495, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "914:4:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "913:6:8" + }, + "scope": 1507, + "src": "829:155:8", + "stateMutability": "view", + "virtual": true, + "visibility": "public" + } + ], + "scope": 1508, + "src": "726:260:8", + "usedErrors": [] + } + ], + "src": "99:888:8" + }, + "id": 8 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol", + "exportedSymbols": { + "IERC165": [ + 1519 + ] + }, + "id": 1520, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1509, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "100:23:9" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "IERC165", + "contractDependencies": [], + "contractKind": "interface", + "documentation": { + "id": 1510, + "nodeType": "StructuredDocumentation", + "src": "125:279:9", + "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, + "id": 1519, + "linearizedBaseContracts": [ + 1519 + ], + "name": "IERC165", + "nameLocation": "415:7:9", + "nodeType": "ContractDefinition", + "nodes": [ + { + "documentation": { + "id": 1511, + "nodeType": "StructuredDocumentation", + "src": "429:340:9", + "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", + "id": 1518, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "supportsInterface", + "nameLocation": "783:17:9", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1514, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1513, + "mutability": "mutable", + "name": "interfaceId", + "nameLocation": "808:11:9", + "nodeType": "VariableDeclaration", + "scope": 1518, + "src": "801:18:9", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + "typeName": { + "id": 1512, + "name": "bytes4", + "nodeType": "ElementaryTypeName", + "src": "801:6:9", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "visibility": "internal" + } + ], + "src": "800:20:9" + }, + "returnParameters": { + "id": 1517, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1516, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1518, + "src": "844:4:9", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1515, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "844:4:9", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "843:6:9" + }, + "scope": 1519, + "src": "774:76:9", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + } + ], + "scope": 1520, + "src": "405:447:9", + "usedErrors": [] + } + ], + "src": "100:753:9" + }, + "id": 9 + } + } +} \ No newline at end of file diff --git a/bin/contracts/TokenBalances.abi b/bin/contracts/TokenBalances.abi new file mode 100644 index 00000000..4e8288ca --- /dev/null +++ b/bin/contracts/TokenBalances.abi @@ -0,0 +1 @@ +[{"inputs":[{"internalType":"contract DataStorageInterface","name":"_dataStorageAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_removedManager","type":"address"}],"name":"ManagerRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_newManager","type":"address"}],"name":"NewManagerAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"POOL_MANAGER","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"addPoolManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getContributionLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPoolFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPoolMaxSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPoolState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewardsInterest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewardsInterval","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalEthSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalEtherStaked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalrwEthSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"removePoolManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newContrLimit","type":"uint256"}],"name":"setContributionLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMinContr","type":"uint256"}],"name":"setMinContribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setMinContribution","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_poolFees","type":"uint256"}],"name":"setPoolFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_live","type":"bool"}],"name":"setPoolLive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSize","type":"uint256"}],"name":"setPoolMaxSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardsInterest","type":"uint256"}],"name":"setRewardsInterest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_daysToRewards","type":"uint256"}],"name":"setRewardsInterval","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}] \ No newline at end of file diff --git a/bin/contracts/TokenBalances.bin b/bin/contracts/TokenBalances.bin new file mode 100644 index 00000000..99bee70b --- /dev/null +++ b/bin/contracts/TokenBalances.bin @@ -0,0 +1 @@ +60806040523480156200001157600080fd5b50604051620019d4380380620019d48339810160408190526200003491620003c3565b60018055600280546001600160a01b0319166001600160a01b0383161790558062000061600033620000a9565b6200008d7f41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e384233620000a9565b62000097620000b9565b50620000a262000220565b50620003f5565b620000b5828262000323565b5050565b6002546040516e636f6e74726163745f65786973747360881b60208201526001600160601b03193060601b16602f8201526001600160a01b039091169063988c515b9060430160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b168252600482015260016024820152604401600060405180830381600087803b1580156200015357600080fd5b505af115801562000168573d6000803e3d6000fd5b50506002546040516f636f6e74726163745f6164647265737360801b602082015267506f6f6c4261736560c01b60308201526001600160a01b039091169250637221263a91506038015b60408051601f198184030181529082905280516020909101206001600160e01b031960e084901b1682526004820152306024820152604401600060405180830381600087803b1580156200020557600080fd5b505af11580156200021a573d6000803e3d6000fd5b50505050565b6002546040516e636f6e74726163745f65786973747360881b60208201526001600160601b03193060601b16602f8201526001600160a01b039091169063988c515b9060430160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b168252600482015260016024820152604401600060405180830381600087803b158015620002ba57600080fd5b505af1158015620002cf573d6000803e3d6000fd5b50506002546040516f636f6e74726163745f6164647265737360801b60208201526c546f6b656e42616c616e63657360981b60308201526001600160a01b039091169250637221263a9150603d01620001b2565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620000b5576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556200037f3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600060208284031215620003d657600080fd5b81516001600160a01b0381168114620003ee57600080fd5b9392505050565b6115cf80620004056000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c806362308e85116100f9578063a217fddf11610097578063d1d8d06011610071578063d1d8d06014610342578063d547741f1461034a578063e2bcb3df1461035d578063fa1e19e51461036557600080fd5b8063a217fddf14610314578063a49755161461031c578063bf4c00361461032f57600080fd5b806372d099a0116100d357806372d099a0146102d35780637521796f146102e65780638dd225d5146102ee57806391d148541461030157600080fd5b806362308e85146102ae5780636402c262146102c357806370959ff8146102cb57600080fd5b80632f2ff15d11610166578063473b0d4611610140578063473b0d4614610278578063497d02411461028b57806353710f4914610293578063543edfb6146102a657600080fd5b80632f2ff15d1461023f57806336568abe1461025257806345077e711461026557600080fd5b806301ffc9a7146101ae578063095df57f146101d657806312646987146101ec578063217ac23714610201578063248a9ca31461020957806329ca15bc1461022c575b600080fd5b6101c16101bc3660046112ba565b61036d565b60405190151581526020015b60405180910390f35b6101de6103a4565b6040519081526020016101cd565b6101ff6101fa3660046112e4565b610461565b005b6101c161051a565b6101de6102173660046112e4565b60009081526020819052604090206001015490565b6101ff61023a366004611319565b6105bf565b6101ff61024d366004611334565b61061b565b6101ff610260366004611334565b610646565b6101ff610273366004611319565b6106c9565b6101ff6102863660046112e4565b610725565b6101de610828565b6101ff6102a13660046112e4565b61084e565b6101de6109a8565b6101de60008051602061157a83398151915281565b6101de6109d0565b6101de6109fa565b6101ff6102e13660046112e4565b610a25565b6101de610b2a565b6101ff6102fc3660046112e4565b610b5b565b6101c161030f366004611334565b610d74565b6101de600081565b6101ff61032a366004611371565b610d9d565b6101ff61033d3660046112e4565b610e17565b6101de610f23565b6101ff610358366004611334565b610f44565b6101de610f6a565b6101de610fa0565b60006001600160e01b03198216637965db0b60e01b148061039e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6000806040516020016103c8906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b15801561042357600080fd5b505afa158015610437573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045b919061138e565b91505090565b60008051602061157a83398151915261047a8133610fca565b6040516a706f6f6c4d617853697a6560a81b6020820152600090602b015b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018690529092506001600160a01b0316906328192c55906044015b600060405180830381600087803b1580156104fd57600080fd5b505af1158015610511573d6000803e3d6000fd5b50505050505050565b60008060405160200161052c906113a7565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561058757600080fd5b505afa15801561059b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045b91906113bd565b60006105cb8133610fca565b6105e360008051602061157a83398151915283610f44565b6040516001600160a01b038316907fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd3190600090a25050565b6000828152602081905260409020600101546106378133610fca565b610641838361102e565b505050565b6001600160a01b03811633146106bb5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6106c582826110b2565b5050565b60006106d58133610fca565b6106ed60008051602061157a8339815191528361061b565b6040516001600160a01b038316907fd873e3f571dc25e020cefdeb7255b3874ead3aade1f94a5fb4a5da831fd670cd90600090a25050565b60008051602061157a83398151915261073e8133610fca565b6002546040516001600160a01b03909116906355d9465590610762906020016113a7565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161079691815260200190565b60206040518083038186803b1580156107ae57600080fd5b505afa1580156107c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e691906113bd565b6108025760405162461bcd60e51b81526004016106b2906113da565b6040516e36b4b721b7b73a3934b13aba34b7b760891b6020820152600090602f01610498565b6000806040516020016103c8906c64617973546f5265776172647360981b8152600d0190565b60008051602061157a8339815191526108678133610fca565b6002546040516001600160a01b03909116906355d946559061088b906020016113a7565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b81526004016108bf91815260200190565b60206040518083038186803b1580156108d757600080fd5b505afa1580156108eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090f91906113bd565b61092b5760405162461bcd60e51b81526004016106b2906113da565b604080516c64617973546f5265776172647360981b6020808301919091528251600d818403018152602d90920190925280519101206002546001600160a01b03166328192c558261097f8662015180611427565b6040516001600160e01b031960e085901b168152600481019290925260248201526044016104e3565b6000806040516020016103c8906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b6000806040516020016103c890703a37ba30b629bab838363cafa2ba3432b960791b815260110190565b6000806040516020016103c890711d1bdd185b17d95d1a195c97dcdd185ad95960721b815260120190565b60008051602061157a833981519152610a3e8133610fca565b6002546040516001600160a01b03909116906355d9465590610a62906020016113a7565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610a9691815260200190565b60206040518083038186803b158015610aae57600080fd5b505afa158015610ac2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae691906113bd565b610b025760405162461bcd60e51b81526004016106b2906113da565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b6020820152600090603101610498565b6000806040516020016103c890771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b60008051602061157a833981519152610b748133610fca565b6002546040516001600160a01b03909116906355d9465590610b98906020016113a7565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610bcc91815260200190565b60206040518083038186803b158015610be457600080fd5b505afa158015610bf8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1c91906113bd565b610c385760405162461bcd60e51b81526004016106b2906113da565b60405167706f6f6c4665657360c01b60208201526000906028016040516020818303038152906040528051906020012090506000604051602001610c8d906a1c1bdbdb1199595cd4d95d60aa1b8152600b0190565b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301859052602483018790529092506001600160a01b0316906328192c5590604401600060405180830381600087803b158015610cf157600080fd5b505af1158015610d05573d6000803e3d6000fd5b505060025460405163988c515b60e01b815260048101859052600160248201526001600160a01b03909116925063988c515b9150604401600060405180830381600087803b158015610d5657600080fd5b505af1158015610d6a573d6000803e3d6000fd5b5050505050505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60008051602061157a833981519152610db68133610fca565b6000604051602001610dc7906113a7565b60408051808303601f1901815290829052805160209091012060025463988c515b60e01b83526004830182905285151560248401529092506001600160a01b03169063988c515b906044016104e3565b60008051602061157a833981519152610e308133610fca565b6002546040516001600160a01b03909116906355d9465590610e54906020016113a7565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610e8891815260200190565b60206040518083038186803b158015610ea057600080fd5b505afa158015610eb4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed891906113bd565b610ef45760405162461bcd60e51b81526004016106b2906113da565b604051771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b6020820152600090603801610498565b6000806040516020016103c89067706f6f6c4665657360c01b815260080190565b600082815260208190526040902060010154610f608133610fca565b61064183836110b2565b6000806040516020016103c8907f746f74616c537570706c795f7265776172644574686572000000000000000000815260170190565b6000806040516020016103c8907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b610fd48282610d74565b6106c557610fec816001600160a01b03166014611117565b610ff7836020611117565b604051602001611008929190611476565b60408051601f198184030181529082905262461bcd60e51b82526106b2916004016114eb565b6110388282610d74565b6106c5576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905561106e3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6110bc8282610d74565b156106c5576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60606000611126836002611427565b61113190600261151e565b67ffffffffffffffff81111561114957611149611536565b6040519080825280601f01601f191660200182016040528015611173576020820181803683370190505b509050600360fc1b8160008151811061118e5761118e61154c565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106111bd576111bd61154c565b60200101906001600160f81b031916908160001a90535060006111e1846002611427565b6111ec90600161151e565b90505b6001811115611264576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106112205761122061154c565b1a60f81b8282815181106112365761123661154c565b60200101906001600160f81b031916908160001a90535060049490941c9361125d81611562565b90506111ef565b5083156112b35760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016106b2565b9392505050565b6000602082840312156112cc57600080fd5b81356001600160e01b0319811681146112b357600080fd5b6000602082840312156112f657600080fd5b5035919050565b80356001600160a01b038116811461131457600080fd5b919050565b60006020828403121561132b57600080fd5b6112b3826112fd565b6000806040838503121561134757600080fd5b82359150611357602084016112fd565b90509250929050565b801515811461136e57600080fd5b50565b60006020828403121561138357600080fd5b81356112b381611360565b6000602082840312156113a057600080fd5b5051919050565b696973506f6f6c4c69766560b01b8152600a0190565b6000602082840312156113cf57600080fd5b81516112b381611360565b6020808252601d908201527f54686520706f6f6c2069732063757272656e746c7920636c6f7365642e000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561144157611441611411565b500290565b60005b83811015611461578181015183820152602001611449565b83811115611470576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516114ae816017850160208801611446565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516114df816028840160208801611446565b01602801949350505050565b602081526000825180602084015261150a816040850160208701611446565b601f01601f19169190910160400192915050565b6000821982111561153157611531611411565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008161157157611571611411565b50600019019056fe41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842a2646970667358221220d02c73dad5c09ebc6e3d882f7d6d4d82b3fb3f920fdfe698d640fae86b0ff9fd64736f6c63430008090033 \ No newline at end of file diff --git a/bin/contracts/TokenBalances.json b/bin/contracts/TokenBalances.json new file mode 100644 index 00000000..62bdb462 --- /dev/null +++ b/bin/contracts/TokenBalances.json @@ -0,0 +1,2143 @@ +{ + "contractName": "TokenBalances", + "abi": [ + { + "inputs": [ + { + "internalType": "contract DataStorageInterface", + "name": "_dataStorageAddress", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_removedManager", + "type": "address" + } + ], + "name": "ManagerRemoved", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_newManager", + "type": "address" + } + ], + "name": "NewManagerAdded", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "POOL_MANAGER", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "addPoolManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "getContributionLimit", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolFees", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolMaxSize", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolState", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardsInterest", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardsInterval", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getTotalEthSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getTotalEtherStaked", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getTotalrwEthSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "removePoolManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newContrLimit", + "type": "uint256" + } + ], + "name": "setContributionLimit", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newMinContr", + "type": "uint256" + } + ], + "name": "setMinContribution", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "setMinContribution", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_poolFees", + "type": "uint256" + } + ], + "name": "setPoolFees", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bool", + "name": "_live", + "type": "bool" + } + ], + "name": "setPoolLive", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_maxSize", + "type": "uint256" + } + ], + "name": "setPoolMaxSize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_rewardsInterest", + "type": "uint256" + } + ], + "name": "setRewardsInterest", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_daysToRewards", + "type": "uint256" + } + ], + "name": "setRewardsInterval", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract DataStorageInterface\",\"name\":\"_dataStorageAddress\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_removedManager\",\"type\":\"address\"}],\"name\":\"ManagerRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_newManager\",\"type\":\"address\"}],\"name\":\"NewManagerAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"POOL_MANAGER\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"addPoolManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getContributionLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolMaxSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolState\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsInterest\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsInterval\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalEthSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalEtherStaked\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalrwEthSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"removePoolManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newContrLimit\",\"type\":\"uint256\"}],\"name\":\"setContributionLimit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newMinContr\",\"type\":\"uint256\"}],\"name\":\"setMinContribution\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"setMinContribution\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_poolFees\",\"type\":\"uint256\"}],\"name\":\"setPoolFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_live\",\"type\":\"bool\"}],\"name\":\"setPoolLive\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxSize\",\"type\":\"uint256\"}],\"name\":\"setPoolMaxSize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_rewardsInterest\",\"type\":\"uint256\"}],\"name\":\"setRewardsInterest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_daysToRewards\",\"type\":\"uint256\"}],\"name\":\"setRewardsInterval\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role.\"},\"setContributionLimit(uint256)\":{\"details\":\"Set the max. contribution allowed for each user.\",\"params\":{\"_newContrLimit\":\"is a WEI value.\"}},\"setMinContribution(uint256)\":{\"details\":\"Set the min. contribution allowed for each user.\",\"params\":{\"_newMinContr\":\"is a WEI value.\"}},\"setPoolFees(uint256)\":{\"details\":\"Set the pool fees fraction that the pool charges for each deposit.\",\"params\":{\"_poolFees\":\"within the storage has 6 decimals.\"}},\"setPoolLive(bool)\":{\"details\":\"Toggles the Pool Investing Switch. \"},\"setPoolMaxSize(uint256)\":{\"details\":\"Sets the Pool Maximium size expressed on ether.\",\"params\":{\"_maxSize\":\"is a WEI value (or BigInt / BigNumber).\"}},\"setRewardsInterest(uint256)\":{\"details\":\"Set the interest per effective period.\",\"params\":{\"_rewardsInterest\":\"within the storage has 6 decimals.\"}},\"setRewardsInterval(uint256)\":{\"details\":\"Set the interval in days of the rewards period.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"setPoolFees(uint256)\":{\"notice\":\"E.G. If 0.001235 fees fraction are desired, 0.001235 * (10**6) = 1235.Also it sets the state variable \\\"poolFeesSet\\\" as true.\"},\"setPoolLive(bool)\":{\"notice\":\"While live, anyone can invest but any state variable can be modified nor deleted.\"},\"setRewardsInterest(uint256)\":{\"notice\":\"E.G. If 0.001134 rate is desired, 0.001134 * (10**6) = 1134.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/TokenBalances.sol\":\"TokenBalances\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/DataStorageInterface.sol\":{\"keccak256\":\"0x2136bae23b43613eea5248f48da3a33c0fd5c9090337d43a31b943912ef8203b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7a084874e9224800b6b710f304a926ef04eab7cd361d9fb87a073b52dd4e2a6\",\"dweb:/ipfs/QmWZJKF1ReW1d3aXvZRL75QuuGfskLLvi2TwbtV4QRFTob\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol\":{\"keccak256\":\"0x915945c322eecea4d77e49da6ae7e69cc377bbc275a851dea233a8816780b6ff\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7027b622a79b11c1fe2e697567c7869459dd0a003ac4174d68faf3328f59cb1f\",\"dweb:/ipfs/QmUxsT4rPoNBKstE6s1uGEzZA9UryN8xzdrkoZTnUk9NrF\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/TokenBalances.sol\":{\"keccak256\":\"0x1ea2637acdb16604dc946b67094040ce72ee50d9c0deefde2ff1d74a0b5298d0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e2e20b5bed0d6a61038bf7d36a32f4a79a7374eabfe438124525d218a6bdf421\",\"dweb:/ipfs/QmXPci2DSSEKGMCfT1KzoonLD5uyW8uvi4dtFyKvEFcPwA\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0x4a1a0ba12bf1a33f10d9fe226278cf59675c0b929d29e4da99658a079b27fb84\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bda1319db846d6d6f92d8a57a9bdee8bde1dc39aa7546165791692c24dd6f30a\",\"dweb:/ipfs/Qma5oZ7DmbdAjd8mpiW7mx896PDtwsQtCQ2hj9Upf7b7JK\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol\":{\"keccak256\":\"0x0e9621f60b2faabe65549f7ed0f24e8853a45c1b7990d47e8160e523683f3935\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://287a2f8d5814dd0f05f22b740f18ca8321acc21c9bd03a6cb2203ea626e2f3f2\",\"dweb:/ipfs/QmZRQv9iuwU817VuqkA2WweiaibKii69x9QxYBBEfbNEud\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}", + "bytecode": "60806040523480156200001157600080fd5b50604051620019d4380380620019d48339810160408190526200003491620003c3565b60018055600280546001600160a01b0319166001600160a01b0383161790558062000061600033620000a9565b6200008d7f41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e384233620000a9565b62000097620000b9565b50620000a262000220565b50620003f5565b620000b5828262000323565b5050565b6002546040516e636f6e74726163745f65786973747360881b60208201526001600160601b03193060601b16602f8201526001600160a01b039091169063988c515b9060430160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b168252600482015260016024820152604401600060405180830381600087803b1580156200015357600080fd5b505af115801562000168573d6000803e3d6000fd5b50506002546040516f636f6e74726163745f6164647265737360801b602082015267506f6f6c4261736560c01b60308201526001600160a01b039091169250637221263a91506038015b60408051601f198184030181529082905280516020909101206001600160e01b031960e084901b1682526004820152306024820152604401600060405180830381600087803b1580156200020557600080fd5b505af11580156200021a573d6000803e3d6000fd5b50505050565b6002546040516e636f6e74726163745f65786973747360881b60208201526001600160601b03193060601b16602f8201526001600160a01b039091169063988c515b9060430160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b168252600482015260016024820152604401600060405180830381600087803b158015620002ba57600080fd5b505af1158015620002cf573d6000803e3d6000fd5b50506002546040516f636f6e74726163745f6164647265737360801b60208201526c546f6b656e42616c616e63657360981b60308201526001600160a01b039091169250637221263a9150603d01620001b2565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620000b5576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556200037f3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600060208284031215620003d657600080fd5b81516001600160a01b0381168114620003ee57600080fd5b9392505050565b6115cf80620004056000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c806362308e85116100f9578063a217fddf11610097578063d1d8d06011610071578063d1d8d06014610342578063d547741f1461034a578063e2bcb3df1461035d578063fa1e19e51461036557600080fd5b8063a217fddf14610314578063a49755161461031c578063bf4c00361461032f57600080fd5b806372d099a0116100d357806372d099a0146102d35780637521796f146102e65780638dd225d5146102ee57806391d148541461030157600080fd5b806362308e85146102ae5780636402c262146102c357806370959ff8146102cb57600080fd5b80632f2ff15d11610166578063473b0d4611610140578063473b0d4614610278578063497d02411461028b57806353710f4914610293578063543edfb6146102a657600080fd5b80632f2ff15d1461023f57806336568abe1461025257806345077e711461026557600080fd5b806301ffc9a7146101ae578063095df57f146101d657806312646987146101ec578063217ac23714610201578063248a9ca31461020957806329ca15bc1461022c575b600080fd5b6101c16101bc3660046112ba565b61036d565b60405190151581526020015b60405180910390f35b6101de6103a4565b6040519081526020016101cd565b6101ff6101fa3660046112e4565b610461565b005b6101c161051a565b6101de6102173660046112e4565b60009081526020819052604090206001015490565b6101ff61023a366004611319565b6105bf565b6101ff61024d366004611334565b61061b565b6101ff610260366004611334565b610646565b6101ff610273366004611319565b6106c9565b6101ff6102863660046112e4565b610725565b6101de610828565b6101ff6102a13660046112e4565b61084e565b6101de6109a8565b6101de60008051602061157a83398151915281565b6101de6109d0565b6101de6109fa565b6101ff6102e13660046112e4565b610a25565b6101de610b2a565b6101ff6102fc3660046112e4565b610b5b565b6101c161030f366004611334565b610d74565b6101de600081565b6101ff61032a366004611371565b610d9d565b6101ff61033d3660046112e4565b610e17565b6101de610f23565b6101ff610358366004611334565b610f44565b6101de610f6a565b6101de610fa0565b60006001600160e01b03198216637965db0b60e01b148061039e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6000806040516020016103c8906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b15801561042357600080fd5b505afa158015610437573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045b919061138e565b91505090565b60008051602061157a83398151915261047a8133610fca565b6040516a706f6f6c4d617853697a6560a81b6020820152600090602b015b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018690529092506001600160a01b0316906328192c55906044015b600060405180830381600087803b1580156104fd57600080fd5b505af1158015610511573d6000803e3d6000fd5b50505050505050565b60008060405160200161052c906113a7565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561058757600080fd5b505afa15801561059b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045b91906113bd565b60006105cb8133610fca565b6105e360008051602061157a83398151915283610f44565b6040516001600160a01b038316907fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd3190600090a25050565b6000828152602081905260409020600101546106378133610fca565b610641838361102e565b505050565b6001600160a01b03811633146106bb5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6106c582826110b2565b5050565b60006106d58133610fca565b6106ed60008051602061157a8339815191528361061b565b6040516001600160a01b038316907fd873e3f571dc25e020cefdeb7255b3874ead3aade1f94a5fb4a5da831fd670cd90600090a25050565b60008051602061157a83398151915261073e8133610fca565b6002546040516001600160a01b03909116906355d9465590610762906020016113a7565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161079691815260200190565b60206040518083038186803b1580156107ae57600080fd5b505afa1580156107c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e691906113bd565b6108025760405162461bcd60e51b81526004016106b2906113da565b6040516e36b4b721b7b73a3934b13aba34b7b760891b6020820152600090602f01610498565b6000806040516020016103c8906c64617973546f5265776172647360981b8152600d0190565b60008051602061157a8339815191526108678133610fca565b6002546040516001600160a01b03909116906355d946559061088b906020016113a7565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b81526004016108bf91815260200190565b60206040518083038186803b1580156108d757600080fd5b505afa1580156108eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090f91906113bd565b61092b5760405162461bcd60e51b81526004016106b2906113da565b604080516c64617973546f5265776172647360981b6020808301919091528251600d818403018152602d90920190925280519101206002546001600160a01b03166328192c558261097f8662015180611427565b6040516001600160e01b031960e085901b168152600481019290925260248201526044016104e3565b6000806040516020016103c8906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b6000806040516020016103c890703a37ba30b629bab838363cafa2ba3432b960791b815260110190565b6000806040516020016103c890711d1bdd185b17d95d1a195c97dcdd185ad95960721b815260120190565b60008051602061157a833981519152610a3e8133610fca565b6002546040516001600160a01b03909116906355d9465590610a62906020016113a7565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610a9691815260200190565b60206040518083038186803b158015610aae57600080fd5b505afa158015610ac2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae691906113bd565b610b025760405162461bcd60e51b81526004016106b2906113da565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b6020820152600090603101610498565b6000806040516020016103c890771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b60008051602061157a833981519152610b748133610fca565b6002546040516001600160a01b03909116906355d9465590610b98906020016113a7565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610bcc91815260200190565b60206040518083038186803b158015610be457600080fd5b505afa158015610bf8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1c91906113bd565b610c385760405162461bcd60e51b81526004016106b2906113da565b60405167706f6f6c4665657360c01b60208201526000906028016040516020818303038152906040528051906020012090506000604051602001610c8d906a1c1bdbdb1199595cd4d95d60aa1b8152600b0190565b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301859052602483018790529092506001600160a01b0316906328192c5590604401600060405180830381600087803b158015610cf157600080fd5b505af1158015610d05573d6000803e3d6000fd5b505060025460405163988c515b60e01b815260048101859052600160248201526001600160a01b03909116925063988c515b9150604401600060405180830381600087803b158015610d5657600080fd5b505af1158015610d6a573d6000803e3d6000fd5b5050505050505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60008051602061157a833981519152610db68133610fca565b6000604051602001610dc7906113a7565b60408051808303601f1901815290829052805160209091012060025463988c515b60e01b83526004830182905285151560248401529092506001600160a01b03169063988c515b906044016104e3565b60008051602061157a833981519152610e308133610fca565b6002546040516001600160a01b03909116906355d9465590610e54906020016113a7565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610e8891815260200190565b60206040518083038186803b158015610ea057600080fd5b505afa158015610eb4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed891906113bd565b610ef45760405162461bcd60e51b81526004016106b2906113da565b604051771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b6020820152600090603801610498565b6000806040516020016103c89067706f6f6c4665657360c01b815260080190565b600082815260208190526040902060010154610f608133610fca565b61064183836110b2565b6000806040516020016103c8907f746f74616c537570706c795f7265776172644574686572000000000000000000815260170190565b6000806040516020016103c8907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b610fd48282610d74565b6106c557610fec816001600160a01b03166014611117565b610ff7836020611117565b604051602001611008929190611476565b60408051601f198184030181529082905262461bcd60e51b82526106b2916004016114eb565b6110388282610d74565b6106c5576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905561106e3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6110bc8282610d74565b156106c5576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60606000611126836002611427565b61113190600261151e565b67ffffffffffffffff81111561114957611149611536565b6040519080825280601f01601f191660200182016040528015611173576020820181803683370190505b509050600360fc1b8160008151811061118e5761118e61154c565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106111bd576111bd61154c565b60200101906001600160f81b031916908160001a90535060006111e1846002611427565b6111ec90600161151e565b90505b6001811115611264576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106112205761122061154c565b1a60f81b8282815181106112365761123661154c565b60200101906001600160f81b031916908160001a90535060049490941c9361125d81611562565b90506111ef565b5083156112b35760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016106b2565b9392505050565b6000602082840312156112cc57600080fd5b81356001600160e01b0319811681146112b357600080fd5b6000602082840312156112f657600080fd5b5035919050565b80356001600160a01b038116811461131457600080fd5b919050565b60006020828403121561132b57600080fd5b6112b3826112fd565b6000806040838503121561134757600080fd5b82359150611357602084016112fd565b90509250929050565b801515811461136e57600080fd5b50565b60006020828403121561138357600080fd5b81356112b381611360565b6000602082840312156113a057600080fd5b5051919050565b696973506f6f6c4c69766560b01b8152600a0190565b6000602082840312156113cf57600080fd5b81516112b381611360565b6020808252601d908201527f54686520706f6f6c2069732063757272656e746c7920636c6f7365642e000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561144157611441611411565b500290565b60005b83811015611461578181015183820152602001611449565b83811115611470576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516114ae816017850160208801611446565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516114df816028840160208801611446565b01602801949350505050565b602081526000825180602084015261150a816040850160208701611446565b601f01601f19169190910160400192915050565b6000821982111561153157611531611411565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008161157157611571611411565b50600019019056fe41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842a2646970667358221220d02c73dad5c09ebc6e3d882f7d6d4d82b3fb3f920fdfe698d640fae86b0ff9fd64736f6c63430008090033", + "deployedBytecode": "608060405234801561001057600080fd5b50600436106101a95760003560e01c806362308e85116100f9578063a217fddf11610097578063d1d8d06011610071578063d1d8d06014610342578063d547741f1461034a578063e2bcb3df1461035d578063fa1e19e51461036557600080fd5b8063a217fddf14610314578063a49755161461031c578063bf4c00361461032f57600080fd5b806372d099a0116100d357806372d099a0146102d35780637521796f146102e65780638dd225d5146102ee57806391d148541461030157600080fd5b806362308e85146102ae5780636402c262146102c357806370959ff8146102cb57600080fd5b80632f2ff15d11610166578063473b0d4611610140578063473b0d4614610278578063497d02411461028b57806353710f4914610293578063543edfb6146102a657600080fd5b80632f2ff15d1461023f57806336568abe1461025257806345077e711461026557600080fd5b806301ffc9a7146101ae578063095df57f146101d657806312646987146101ec578063217ac23714610201578063248a9ca31461020957806329ca15bc1461022c575b600080fd5b6101c16101bc3660046112ba565b61036d565b60405190151581526020015b60405180910390f35b6101de6103a4565b6040519081526020016101cd565b6101ff6101fa3660046112e4565b610461565b005b6101c161051a565b6101de6102173660046112e4565b60009081526020819052604090206001015490565b6101ff61023a366004611319565b6105bf565b6101ff61024d366004611334565b61061b565b6101ff610260366004611334565b610646565b6101ff610273366004611319565b6106c9565b6101ff6102863660046112e4565b610725565b6101de610828565b6101ff6102a13660046112e4565b61084e565b6101de6109a8565b6101de60008051602061157a83398151915281565b6101de6109d0565b6101de6109fa565b6101ff6102e13660046112e4565b610a25565b6101de610b2a565b6101ff6102fc3660046112e4565b610b5b565b6101c161030f366004611334565b610d74565b6101de600081565b6101ff61032a366004611371565b610d9d565b6101ff61033d3660046112e4565b610e17565b6101de610f23565b6101ff610358366004611334565b610f44565b6101de610f6a565b6101de610fa0565b60006001600160e01b03198216637965db0b60e01b148061039e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6000806040516020016103c8906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b15801561042357600080fd5b505afa158015610437573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045b919061138e565b91505090565b60008051602061157a83398151915261047a8133610fca565b6040516a706f6f6c4d617853697a6560a81b6020820152600090602b015b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018690529092506001600160a01b0316906328192c55906044015b600060405180830381600087803b1580156104fd57600080fd5b505af1158015610511573d6000803e3d6000fd5b50505050505050565b60008060405160200161052c906113a7565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561058757600080fd5b505afa15801561059b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045b91906113bd565b60006105cb8133610fca565b6105e360008051602061157a83398151915283610f44565b6040516001600160a01b038316907fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd3190600090a25050565b6000828152602081905260409020600101546106378133610fca565b610641838361102e565b505050565b6001600160a01b03811633146106bb5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6106c582826110b2565b5050565b60006106d58133610fca565b6106ed60008051602061157a8339815191528361061b565b6040516001600160a01b038316907fd873e3f571dc25e020cefdeb7255b3874ead3aade1f94a5fb4a5da831fd670cd90600090a25050565b60008051602061157a83398151915261073e8133610fca565b6002546040516001600160a01b03909116906355d9465590610762906020016113a7565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161079691815260200190565b60206040518083038186803b1580156107ae57600080fd5b505afa1580156107c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e691906113bd565b6108025760405162461bcd60e51b81526004016106b2906113da565b6040516e36b4b721b7b73a3934b13aba34b7b760891b6020820152600090602f01610498565b6000806040516020016103c8906c64617973546f5265776172647360981b8152600d0190565b60008051602061157a8339815191526108678133610fca565b6002546040516001600160a01b03909116906355d946559061088b906020016113a7565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b81526004016108bf91815260200190565b60206040518083038186803b1580156108d757600080fd5b505afa1580156108eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090f91906113bd565b61092b5760405162461bcd60e51b81526004016106b2906113da565b604080516c64617973546f5265776172647360981b6020808301919091528251600d818403018152602d90920190925280519101206002546001600160a01b03166328192c558261097f8662015180611427565b6040516001600160e01b031960e085901b168152600481019290925260248201526044016104e3565b6000806040516020016103c8906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b6000806040516020016103c890703a37ba30b629bab838363cafa2ba3432b960791b815260110190565b6000806040516020016103c890711d1bdd185b17d95d1a195c97dcdd185ad95960721b815260120190565b60008051602061157a833981519152610a3e8133610fca565b6002546040516001600160a01b03909116906355d9465590610a62906020016113a7565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610a9691815260200190565b60206040518083038186803b158015610aae57600080fd5b505afa158015610ac2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae691906113bd565b610b025760405162461bcd60e51b81526004016106b2906113da565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b6020820152600090603101610498565b6000806040516020016103c890771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b60008051602061157a833981519152610b748133610fca565b6002546040516001600160a01b03909116906355d9465590610b98906020016113a7565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610bcc91815260200190565b60206040518083038186803b158015610be457600080fd5b505afa158015610bf8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c1c91906113bd565b610c385760405162461bcd60e51b81526004016106b2906113da565b60405167706f6f6c4665657360c01b60208201526000906028016040516020818303038152906040528051906020012090506000604051602001610c8d906a1c1bdbdb1199595cd4d95d60aa1b8152600b0190565b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301859052602483018790529092506001600160a01b0316906328192c5590604401600060405180830381600087803b158015610cf157600080fd5b505af1158015610d05573d6000803e3d6000fd5b505060025460405163988c515b60e01b815260048101859052600160248201526001600160a01b03909116925063988c515b9150604401600060405180830381600087803b158015610d5657600080fd5b505af1158015610d6a573d6000803e3d6000fd5b5050505050505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60008051602061157a833981519152610db68133610fca565b6000604051602001610dc7906113a7565b60408051808303601f1901815290829052805160209091012060025463988c515b60e01b83526004830182905285151560248401529092506001600160a01b03169063988c515b906044016104e3565b60008051602061157a833981519152610e308133610fca565b6002546040516001600160a01b03909116906355d9465590610e54906020016113a7565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610e8891815260200190565b60206040518083038186803b158015610ea057600080fd5b505afa158015610eb4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed891906113bd565b610ef45760405162461bcd60e51b81526004016106b2906113da565b604051771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b6020820152600090603801610498565b6000806040516020016103c89067706f6f6c4665657360c01b815260080190565b600082815260208190526040902060010154610f608133610fca565b61064183836110b2565b6000806040516020016103c8907f746f74616c537570706c795f7265776172644574686572000000000000000000815260170190565b6000806040516020016103c8907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b610fd48282610d74565b6106c557610fec816001600160a01b03166014611117565b610ff7836020611117565b604051602001611008929190611476565b60408051601f198184030181529082905262461bcd60e51b82526106b2916004016114eb565b6110388282610d74565b6106c5576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905561106e3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6110bc8282610d74565b156106c5576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60606000611126836002611427565b61113190600261151e565b67ffffffffffffffff81111561114957611149611536565b6040519080825280601f01601f191660200182016040528015611173576020820181803683370190505b509050600360fc1b8160008151811061118e5761118e61154c565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106111bd576111bd61154c565b60200101906001600160f81b031916908160001a90535060006111e1846002611427565b6111ec90600161151e565b90505b6001811115611264576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106112205761122061154c565b1a60f81b8282815181106112365761123661154c565b60200101906001600160f81b031916908160001a90535060049490941c9361125d81611562565b90506111ef565b5083156112b35760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016106b2565b9392505050565b6000602082840312156112cc57600080fd5b81356001600160e01b0319811681146112b357600080fd5b6000602082840312156112f657600080fd5b5035919050565b80356001600160a01b038116811461131457600080fd5b919050565b60006020828403121561132b57600080fd5b6112b3826112fd565b6000806040838503121561134757600080fd5b82359150611357602084016112fd565b90509250929050565b801515811461136e57600080fd5b50565b60006020828403121561138357600080fd5b81356112b381611360565b6000602082840312156113a057600080fd5b5051919050565b696973506f6f6c4c69766560b01b8152600a0190565b6000602082840312156113cf57600080fd5b81516112b381611360565b6020808252601d908201527f54686520706f6f6c2069732063757272656e746c7920636c6f7365642e000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561144157611441611411565b500290565b60005b83811015611461578181015183820152602001611449565b83811115611470576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516114ae816017850160208801611446565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516114df816028840160208801611446565b01602801949350505050565b602081526000825180602084015261150a816040850160208701611446565b601f01601f19169190910160400192915050565b6000821982111561153157611531611411565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008161157157611571611411565b50600019019056fe41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842a2646970667358221220d02c73dad5c09ebc6e3d882f7d6d4d82b3fb3f920fdfe698d640fae86b0ff9fd64736f6c63430008090033", + "sourceMap": "230:1293:2:-:0;;;276:130;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1701:1:5;1806:22;;1262:11:1;:55;;-1:-1:-1;;;;;;1262:55:1;-1:-1:-1;;;;;1262:55:1;;;;;;1328:42;-1:-1:-1;1359:10:1;1328;:42::i;:::-;1381:36;715:25;1406:10;1381;:36::i;:::-;1428:21;:19;:21::i;:::-;-1:-1:-1;372:26:2::1;:24;:26::i;:::-;276:130:::0;230:1293;;6257:110:3;6335:25;6346:4;6352:7;6335:10;:25::i;:::-;6257:110;;:::o;2532:269:1:-;2582:11;;2619:50;;-1:-1:-1;;;2619:50:1;;;567:30:10;-1:-1:-1;;;;;;2663:4:1;660:2:10;631:15;627:45;613:12;;;606:67;-1:-1:-1;;;;;2582:11:1;;;;:26;;689:12:10;;2619:50:1;;;-1:-1:-1;;2619:50:1;;;;;;;;;;2609:61;;2619:50;2609:61;;;;-1:-1:-1;;;;;;2582:95:1;;;;;;;;;;880:25:10;2672:4:1;921:18:10;;;914:50;853:18;;2582:95:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2688:11:1;;2728:48;;-1:-1:-1;;;2728:48:1;;;1278:31:10;-1:-1:-1;;;1325:12:10;;;1318:32;-1:-1:-1;;;;;2688:11:1;;;;-1:-1:-1;2688:29:1;;-1:-1:-1;1366:12:10;;2728:48:1;;;;-1:-1:-1;;2728:48:1;;;;;;;;;;2718:59;;2728:48;2718:59;;;;-1:-1:-1;;;;;;2688:105:1;;;;;;;;;;1563:25:10;2787:4:1;1604:18:10;;;1597:60;1536:18;;2688:105:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2532:269::o;546:278:2:-;600:11;;637:50;;-1:-1:-1;;;637:50:2;;;567:30:10;-1:-1:-1;;;;;;681:4:2;660:2:10;631:15;627:45;613:12;;;606:67;-1:-1:-1;;;;;600:11:2;;;;:26;;689:12:10;;637:50:2;;;-1:-1:-1;;637:50:2;;;;;;;;;;627:61;;637:50;627:61;;;;-1:-1:-1;;;;;;600:95:2;;;;;;;;;;880:25:10;690:4:2;921:18:10;;;914:50;853:18;;600:95:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;706:11:2;;746:53;;-1:-1:-1;;;746:53:2;;;1971:31:10;-1:-1:-1;;;2018:12:10;;;2011:37;-1:-1:-1;;;;;706:11:2;;;;-1:-1:-1;706:29:2;;-1:-1:-1;2064:12:10;;746:53:2;1668:414:10;6861:233:3;2995:4;3018:12;;;;;;;;;;;-1:-1:-1;;;;;3018:29:3;;;;;;;;;;;;6939:149;;6982:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6982:29:3;;;;;;;;;:36;;-1:-1:-1;;6982:36:3;7014:4;6982:36;;;7064:12;719:10:6;;640:96;7064:12:3;-1:-1:-1;;;;;7037:40:3;7055:7;-1:-1:-1;;;;;7037:40:3;7049:4;7037:40;;;;;;;;;;6861:233;;:::o;14:318:10:-;112:6;165:2;153:9;144:7;140:23;136:32;133:52;;;181:1;178;171:12;133:52;207:16;;-1:-1:-1;;;;;252:31:10;;242:42;;232:70;;298:1;295;288:12;232:70;321:5;14:318;-1:-1:-1;;;14:318:10:o;1668:414::-;230:1293:2;;;;;;", + "deployedSourceMap": "230:1293:2:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2620:202:3;;;;;;:::i;:::-;;:::i;:::-;;;470:14:10;;463:22;445:41;;433:2;418:18;2620:202:3;;;;;;;;6939:205:1;;;:::i;:::-;;;643:25:10;;;631:2;616:18;6939:205:1;497:177:10;3291:218:1;;;;;;:::i;:::-;;:::i;:::-;;6747:184;;;:::i;4008:129:3:-;;;;;;:::i;:::-;4082:7;4108:12;;;;;;;;;;:22;;;;4008:129;2171:175:1;;;;;;:::i;:::-;;:::i;4387:145:3:-;;;;;;:::i;:::-;;:::i;5404:214::-;;;;;;:::i;:::-;;:::i;1991:172:1:-;;;;;;:::i;:::-;;:::i;5115:350::-;;;;;;:::i;:::-;;:::i;7152:195::-;;;:::i;3583:359::-;;;;;;:::i;:::-;;:::i;7790:199::-;;;:::i;676:64::-;;-1:-1:-1;;;;;;;;;;;676:64:1;;873:198:2;;;:::i;1297:219::-;;;:::i;4638:361:1:-;;;;;;:::i;:::-;;:::i;7355:212::-;;;:::i;5781:477::-;;;;;;:::i;:::-;;:::i;2909:145:3:-;;;;;;:::i;:::-;;:::i;2027:49::-;;2072:4;2027:49;;2958:198:1;;;;;;:::i;:::-;;:::i;4149:371::-;;;;;;:::i;:::-;;:::i;8001:185::-;;;:::i;4766:147:3:-;;;;;;:::i;:::-;;:::i;1079:210:2:-;;;:::i;7575:207:1:-;;;:::i;2620:202:3:-;2705:4;-1:-1:-1;;;;;;2728:47:3;;-1:-1:-1;;;2728:47:3;;:87;;-1:-1:-1;;;;;;;;;;937:40:8;;;2779:36:3;2721:94;2620:202;-1:-1:-1;;2620:202:3:o;6939:205:1:-;6985:4;7001:22;7036:31;;;;;;-1:-1:-1;;;2430:26:10;;2481:2;2472:12;;2228:262;7036:31:1;;;;;;;-1:-1:-1;;7036:31:1;;;;;;;7026:42;;7036:31;7026:42;;;;7086:11;;-1:-1:-1;;;7086:42:1;;;;;643:25:10;;;7026:42:1;;-1:-1:-1;;;;;;7086:11:1;;:26;;616:18:10;;7086:42:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7079:49;;;6939:205;:::o;3291:218::-;-1:-1:-1;;;;;;;;;;;2505:30:3;715:25:1;719:10:6;2505::3;:30::i;:::-;3406:31:1::1;::::0;-1:-1:-1;;;3406:31:1::1;::::0;::::1;2430:26:10::0;3371:22:1::1;::::0;2472:12:10;;3406:31:1::1;;::::0;;;;::::1;-1:-1:-1::0;;3406:31:1;;;;;;;3396:42;;3406:31:::1;3396:42:::0;;::::1;::::0;3449:11:::1;::::0;-1:-1:-1;;;3449:52:1;;::::1;::::0;::::1;2858:25:10::0;;;2899:18;;;2892:34;;;3396:42:1;;-1:-1:-1;;;;;;3449:11:1::1;::::0;:26:::1;::::0;2831:18:10;;3449:52:1::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;3360:149;3291:218:::0;;:::o;6747:184::-;6791:4;6807:17;6837:30;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;6837:30:1;;;;;;;6827:41;;6837:30;6827:41;;;;6886:11;;-1:-1:-1;;;6886:37:1;;;;;643:25:10;;;6827:41:1;;-1:-1:-1;;;;;;6886:11:1;;:26;;616:18:10;;6886:37:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;2171:175::-;2072:4:3;2505:30;2072:4;719:10:6;2505::3;:30::i;:::-;2264:34:1::1;-1:-1:-1::0;;;;;;;;;;;2289:8:1::1;2264:10;:34::i;:::-;2314:24;::::0;-1:-1:-1;;;;;2314:24:1;::::1;::::0;::::1;::::0;;;::::1;2171:175:::0;;:::o;4387:145:3:-;4082:7;4108:12;;;;;;;;;;:22;;;2505:30;2516:4;719:10:6;2505::3;:30::i;:::-;4500:25:::1;4511:4;4517:7;4500:10;:25::i;:::-;4387:145:::0;;;:::o;5404:214::-;-1:-1:-1;;;;;5499:23:3;;719:10:6;5499:23:3;5491:83;;;;-1:-1:-1;;;5491:83:3;;3655:2:10;5491:83:3;;;3637:21:10;3694:2;3674:18;;;3667:30;3733:34;3713:18;;;3706:62;-1:-1:-1;;;3784:18:10;;;3777:45;3839:19;;5491:83:3;;;;;;;;;5585:26;5597:4;5603:7;5585:11;:26::i;:::-;5404:214;;:::o;1991:172:1:-;2072:4:3;2505:30;2072:4;719:10:6;2505::3;:30::i;:::-;2081:33:1::1;-1:-1:-1::0;;;;;;;;;;;2105:8:1::1;2081:9;:33::i;:::-;2130:25;::::0;-1:-1:-1;;;;;2130:25:1;::::1;::::0;::::1;::::0;;;::::1;1991:172:::0;;:::o;5115:350::-;-1:-1:-1;;;;;;;;;;;2505:30:3;715:25:1;719:10:6;2505::3;:30::i;:::-;5211:11:1::1;::::0;5248:30:::1;::::0;-1:-1:-1;;;;;5211:11:1;;::::1;::::0;:26:::1;::::0;5248:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;5238:41;;;;;;5211:69;;;;;;;;;;;;;643:25:10::0;;631:2;616:18;;497:177;5211:69:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5203:111;;;;-1:-1:-1::0;;;5203:111:1::1;;;;;;;:::i;:::-;5357:35;::::0;-1:-1:-1;;;5357:35:1::1;::::0;::::1;4429:30:10::0;5325:19:1::1;::::0;4475:12:10;;5357:35:1::1;4227:266:10::0;7152:195:1;7202:4;7218:18;7249:33;;;;;;-1:-1:-1;;;4700:28:10;;4753:2;4744:12;;4498:264;3583:359:1;-1:-1:-1;;;;;;;;;;;2505:30:3;715:25:1;719:10:6;2505::3;:30::i;:::-;3681:11:1::1;::::0;3718:30:::1;::::0;-1:-1:-1;;;;;3681:11:1;;::::1;::::0;:26:::1;::::0;3718:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;3708:41;;;;;;3681:69;;;;;;;;;;;;;643:25:10::0;;631:2;616:18;;497:177;3681:69:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3673:111;;;;-1:-1:-1::0;;;3673:111:1::1;;;;;;;:::i;:::-;3826:33;::::0;;-1:-1:-1;;;3826:33:1::1;::::0;;::::1;4700:28:10::0;;;;3826:33:1;;;;;;;;;4744:12:10;;;;3826:33:1;;;3816:44;;;::::1;::::0;3871:11:::1;::::0;-1:-1:-1;;;;;3871:11:1::1;:26;3816:44:::0;3910:23:::1;:14:::0;3927:6:::1;3910:23;:::i;:::-;3871:63;::::0;-1:-1:-1;;;;;;3871:63:1::1;::::0;;;;;;::::1;::::0;::::1;2858:25:10::0;;;;2899:18;;;2892:34;2831:18;;3871:63:1::1;2684:248:10::0;7790:199:1;7840:4;7856:19;7888:35;;;;;;-1:-1:-1;;;4429:30:10;;4484:2;4475:12;;4227:266;873:198:2;924:4;940:17;970:37;;;;;;-1:-1:-1;;;5274:32:10;;5331:2;5322:12;;5072:268;1297:219:2;1350:4;1366:26;1405:38;;;;;;-1:-1:-1;;;5547:33:10;;5605:2;5596:12;;5345:269;4638:361:1;-1:-1:-1;;;;;;;;;;;2505:30:3;715:25:1;719:10:6;2505::3;:30::i;:::-;4737:11:1::1;::::0;4774:30:::1;::::0;-1:-1:-1;;;;;4737:11:1;;::::1;::::0;:26:::1;::::0;4774:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;4764:41;;;;;;4737:69;;;;;;;;;;;;;643:25:10::0;;631:2;616:18;;497:177;4737:69:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4729:111;;;;-1:-1:-1::0;;;4729:111:1::1;;;;;;;:::i;:::-;4885:37;::::0;-1:-1:-1;;;4885:37:1::1;::::0;::::1;5821:32:10::0;4851:21:1::1;::::0;5869:12:10;;4885:37:1::1;5619:268:10::0;7355:212:1;7405:4;7421:21;7455:44;;;;;;-1:-1:-1;;;6094:39:10;;6158:2;6149:12;;5892:275;5781:477:1;-1:-1:-1;;;;;;;;;;;2505:30:3;715:25:1;719:10:6;2505::3;:30::i;:::-;5867:11:1::1;::::0;5904:30:::1;::::0;-1:-1:-1;;;;;5867:11:1;;::::1;::::0;:26:::1;::::0;5904:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;5894:41;;;;;;5867:69;;;;;;;;;;;;;643:25:10::0;;631:2;616:18;;497:177;5867:69:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5859:111;;;;-1:-1:-1::0;;;5859:111:1::1;;;;;;;:::i;:::-;6013:28;::::0;-1:-1:-1;;;6013:28:1::1;::::0;::::1;6374:23:10::0;5981:19:1::1;::::0;6413:11:10;;6013:28:1::1;;;;;;;;;;;;6003:39;;;;;;5981:61;;6053:22;6088:31;;;;;;-1:-1:-1::0;;;6637:26:10;;6688:2;6679:12;;6435:262;6088:31:1::1;;::::0;;;;::::1;-1:-1:-1::0;;6088:31:1;;;;;;;6078:42;;6088:31:::1;6078:42:::0;;::::1;::::0;6141:11:::1;::::0;-1:-1:-1;;;6141:50:1;;::::1;::::0;::::1;2858:25:10::0;;;2899:18;;;2892:34;;;6078:42:1;;-1:-1:-1;;;;;;6141:11:1::1;::::0;:26:::1;::::0;2831:18:10;;6141:50:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;6202:11:1::1;::::0;:48:::1;::::0;-1:-1:-1;;;6202:48:1;;::::1;::::0;::::1;6870:25:10::0;;;6202:11:1;6911:18:10;;;6904:50;-1:-1:-1;;;;;6202:11:1;;::::1;::::0;-1:-1:-1;6202:26:1::1;::::0;-1:-1:-1;6843:18:10;;6202:48:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;5848:410;;5781:477:::0;;:::o;2909:145:3:-;2995:4;3018:12;;;;;;;;;;;-1:-1:-1;;;;;3018:29:3;;;;;;;;;;;;;;;2909:145::o;2958:198:1:-;-1:-1:-1;;;;;;;;;;;2505:30:3;715:25:1;719:10:6;2505::3;:30::i;:::-;3032:17:1::1;3062:30;;;;;;;:::i;:::-;;::::0;;;;::::1;-1:-1:-1::0;;3062:30:1;;;;;;;3052:41;;3062:30:::1;3052:41:::0;;::::1;::::0;3104:11:::1;::::0;-1:-1:-1;;;3104:44:1;;::::1;::::0;::::1;6870:25:10::0;;;6938:14;;6931:22;6911:18;;;6904:50;3052:41:1;;-1:-1:-1;;;;;;3104:11:1::1;::::0;:26:::1;::::0;6843:18:10;;3104:44:1::1;6702:258:10::0;4149:371:1;-1:-1:-1;;;;;;;;;;;2505:30:3;715:25:1;719:10:6;2505::3;:30::i;:::-;4249:11:1::1;::::0;4286:30:::1;::::0;-1:-1:-1;;;;;4249:11:1;;::::1;::::0;:26:::1;::::0;4286:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;4276:41;;;;;;4249:69;;;;;;;;;;;;;643:25:10::0;;631:2;616:18;;497:177;4249:69:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4241:111;;;;-1:-1:-1::0;;;4241:111:1::1;;;;;;;:::i;:::-;4397:44;::::0;-1:-1:-1;;;4397:44:1::1;::::0;::::1;6094:39:10::0;4363:21:1::1;::::0;6149:12:10;;4397:44:1::1;5892:275:10::0;8001:185:1;8044:4;8060:19;8092:28;;;;;;-1:-1:-1;;;6374:23:10;;6422:1;6413:11;;6172:258;4766:147:3;4082:7;4108:12;;;;;;;;;;:22;;;2505:30;2516:4;719:10:6;2505::3;:30::i;:::-;4880:26:::1;4892:4;4898:7;4880:11;:26::i;1079:210:2:-:0;1132:4;1148:19;1180:43;;;;;;7179:25:10;7167:38;;7230:2;7221:12;;6965:274;7575:207:1;7627:4;7643:21;7677:37;;;;;;-1:-1:-1;;;5821:32:10;;5878:2;5869:12;;5619:268;3335:492:3;3423:22;3431:4;3437:7;3423;:22::i;:::-;3418:403;;3606:41;3634:7;-1:-1:-1;;;;;3606:41:3;3644:2;3606:19;:41::i;:::-;3718:38;3746:4;3753:2;3718:19;:38::i;:::-;3513:265;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3513:265:3;;;;;;;;;;-1:-1:-1;;;3461:349:3;;;;;;;:::i;6861:233::-;6944:22;6952:4;6958:7;6944;:22::i;:::-;6939:149;;6982:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6982:29:3;;;;;;;;;:36;;-1:-1:-1;;6982:36:3;7014:4;6982:36;;;7064:12;719:10:6;;640:96;7064:12:3;-1:-1:-1;;;;;7037:40:3;7055:7;-1:-1:-1;;;;;7037:40:3;7049:4;7037:40;;;;;;;;;;6861:233;;:::o;7219:234::-;7302:22;7310:4;7316:7;7302;:22::i;:::-;7298:149;;;7372:5;7340:12;;;;;;;;;;;-1:-1:-1;;;;;7340:29:3;;;;;;;;;;:37;;-1:-1:-1;;7340:37:3;;;7396:40;719:10:6;;7340:12:3;;7396:40;;7372:5;7396:40;7219:234;;:::o;1588:441:7:-;1663:13;1688:19;1720:10;1724:6;1720:1;:10;:::i;:::-;:14;;1733:1;1720:14;:::i;:::-;1710:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1710:25:7;;1688:47;;-1:-1:-1;;;1745:6:7;1752:1;1745:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1745:15:7;;;;;;;;;-1:-1:-1;;;1770:6:7;1777:1;1770:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1770:15:7;;;;;;;;-1:-1:-1;1800:9:7;1812:10;1816:6;1812:1;:10;:::i;:::-;:14;;1825:1;1812:14;:::i;:::-;1800:26;;1795:132;1832:1;1828;:5;1795:132;;;-1:-1:-1;;;1879:5:7;1887:3;1879:11;1866:25;;;;;;;:::i;:::-;;;;1854:6;1861:1;1854:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;1854:37:7;;;;;;;;-1:-1:-1;1915:1:7;1905:11;;;;;1835:3;;;:::i;:::-;;;1795:132;;;-1:-1:-1;1944:10:7;;1936:55;;;;-1:-1:-1;;;1936:55:7;;9426:2:10;1936:55:7;;;9408:21:10;;;9445:18;;;9438:30;9504:34;9484:18;;;9477:62;9556:18;;1936:55:7;9224:356:10;1936:55:7;2015:6;1588:441;-1:-1:-1;;;1588:441:7:o;14:286:10:-;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:10;;209:43;;199:71;;266:1;263;256:12;679:180;738:6;791:2;779:9;770:7;766:23;762:32;759:52;;;807:1;804;797:12;759:52;-1:-1:-1;830:23:10;;679:180;-1:-1:-1;679:180:10:o;1231:173::-;1299:20;;-1:-1:-1;;;;;1348:31:10;;1338:42;;1328:70;;1394:1;1391;1384:12;1328:70;1231:173;;;:::o;1409:186::-;1468:6;1521:2;1509:9;1500:7;1496:23;1492:32;1489:52;;;1537:1;1534;1527:12;1489:52;1560:29;1579:9;1560:29;:::i;1600:254::-;1668:6;1676;1729:2;1717:9;1708:7;1704:23;1700:32;1697:52;;;1745:1;1742;1735:12;1697:52;1781:9;1768:23;1758:33;;1810:38;1844:2;1833:9;1829:18;1810:38;:::i;:::-;1800:48;;1600:254;;;;;:::o;1859:118::-;1945:5;1938:13;1931:21;1924:5;1921:32;1911:60;;1967:1;1964;1957:12;1911:60;1859:118;:::o;1982:241::-;2038:6;2091:2;2079:9;2070:7;2066:23;2062:32;2059:52;;;2107:1;2104;2097:12;2059:52;2146:9;2133:23;2165:28;2187:5;2165:28;:::i;2495:184::-;2565:6;2618:2;2606:9;2597:7;2593:23;2589:32;2586:52;;;2634:1;2631;2624:12;2586:52;-1:-1:-1;2657:16:10;;2495:184;-1:-1:-1;2495:184:10:o;2937:261::-;-1:-1:-1;;;3139:25:10;;3189:2;3180:12;;2937:261::o;3203:245::-;3270:6;3323:2;3311:9;3302:7;3298:23;3294:32;3291:52;;;3339:1;3336;3329:12;3291:52;3371:9;3365:16;3390:28;3412:5;3390:28;:::i;3869:353::-;4071:2;4053:21;;;4110:2;4090:18;;;4083:30;4149:31;4144:2;4129:18;;4122:59;4213:2;4198:18;;3869:353::o;4767:127::-;4828:10;4823:3;4819:20;4816:1;4809:31;4859:4;4856:1;4849:15;4883:4;4880:1;4873:15;4899:168;4939:7;5005:1;5001;4997:6;4993:14;4990:1;4987:21;4982:1;4975:9;4968:17;4964:45;4961:71;;;5012:18;;:::i;:::-;-1:-1:-1;5052:9:10;;4899:168::o;7244:258::-;7316:1;7326:113;7340:6;7337:1;7334:13;7326:113;;;7416:11;;;7410:18;7397:11;;;7390:39;7362:2;7355:10;7326:113;;;7457:6;7454:1;7451:13;7448:48;;;7492:1;7483:6;7478:3;7474:16;7467:27;7448:48;;7244:258;;;:::o;7507:786::-;7918:25;7913:3;7906:38;7888:3;7973:6;7967:13;7989:62;8044:6;8039:2;8034:3;8030:12;8023:4;8015:6;8011:17;7989:62;:::i;:::-;-1:-1:-1;;;8110:2:10;8070:16;;;8102:11;;;8095:40;8160:13;;8182:63;8160:13;8231:2;8223:11;;8216:4;8204:17;;8182:63;:::i;:::-;8265:17;8284:2;8261:26;;7507:786;-1:-1:-1;;;;7507:786:10:o;8298:383::-;8447:2;8436:9;8429:21;8410:4;8479:6;8473:13;8522:6;8517:2;8506:9;8502:18;8495:34;8538:66;8597:6;8592:2;8581:9;8577:18;8572:2;8564:6;8560:15;8538:66;:::i;:::-;8665:2;8644:15;-1:-1:-1;;8640:29:10;8625:45;;;;8672:2;8621:54;;8298:383;-1:-1:-1;;8298:383:10:o;8686:128::-;8726:3;8757:1;8753:6;8750:1;8747:13;8744:39;;;8763:18;;:::i;:::-;-1:-1:-1;8799:9:10;;8686:128::o;8819:127::-;8880:10;8875:3;8871:20;8868:1;8861:31;8911:4;8908:1;8901:15;8935:4;8932:1;8925:15;8951:127;9012:10;9007:3;9003:20;9000:1;8993:31;9043:4;9040:1;9033:15;9067:4;9064:1;9057:15;9083:136;9122:3;9150:5;9140:39;;9159:18;;:::i;:::-;-1:-1:-1;;;9195:18:10;;9083:136::o", + "sourcePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/TokenBalances.sol", + "compiler": { + "name": "solc", + "version": "0.8.9+commit.e5eed63a" + }, + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/TokenBalances.sol", + "exportedSymbols": { + "AccessControl": [ + 1145 + ], + "Context": [ + 1280 + ], + "DataStorageInterface": [ + 113 + ], + "ERC165": [ + 1507 + ], + "IAccessControl": [ + 1218 + ], + "IERC165": [ + 1519 + ], + "PoolBase": [ + 720 + ], + "ReentrancyGuard": [ + 1258 + ], + "Strings": [ + 1483 + ], + "TokenBalances": [ + 836 + ] + }, + "id": 837, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 722, + "literals": [ + "solidity", + "0.8", + ".9" + ], + "nodeType": "PragmaDirective", + "src": "33:22:2" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol", + "file": "./PoolBase.sol", + "id": 723, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 837, + "sourceUnit": 721, + "src": "202:24:2", + "symbolAliases": [], + "unitAlias": "" + }, + { + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 724, + "name": "PoolBase", + "nodeType": "IdentifierPath", + "referencedDeclaration": 720, + "src": "256:8:2" + }, + "id": 725, + "nodeType": "InheritanceSpecifier", + "src": "256:8:2" + } + ], + "canonicalName": "TokenBalances", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "id": 836, + "linearizedBaseContracts": [ + 836, + 720, + 1258, + 1145, + 1507, + 1519, + 1218, + 1280 + ], + "name": "TokenBalances", + "nameLocation": "239:13:2", + "nodeType": "ContractDefinition", + "nodes": [ + { + "body": { + "id": 737, + "nodeType": "Block", + "src": "361:45:2", + "statements": [ + { + "expression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 734, + "name": "_setTokenBalancesAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 775, + "src": "372:24:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", + "typeString": "function ()" + } + }, + "id": 735, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "372:26:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 736, + "nodeType": "ExpressionStatement", + "src": "372:26:2" + } + ] + }, + "id": 738, + "implemented": true, + "kind": "constructor", + "modifiers": [ + { + "arguments": [ + { + "id": 731, + "name": "_dataStorageAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 728, + "src": "340:19:2", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + } + ], + "id": 732, + "kind": "baseConstructorSpecifier", + "modifierName": { + "id": 730, + "name": "PoolBase", + "nodeType": "IdentifierPath", + "referencedDeclaration": 720, + "src": "331:8:2" + }, + "nodeType": "ModifierInvocation", + "src": "331:29:2" + } + ], + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 729, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 728, + "mutability": "mutable", + "name": "_dataStorageAddress", + "nameLocation": "310:19:2", + "nodeType": "VariableDeclaration", + "scope": 738, + "src": "289:40:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + }, + "typeName": { + "id": 727, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 726, + "name": "DataStorageInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 113, + "src": "289:20:2" + }, + "referencedDeclaration": 113, + "src": "289:20:2", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "visibility": "internal" + } + ], + "src": "288:42:2" + }, + "returnParameters": { + "id": 733, + "nodeType": "ParameterList", + "parameters": [], + "src": "361:0:2" + }, + "scope": 836, + "src": "276:130:2", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 774, + "nodeType": "Block", + "src": "589:235:2", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f657869737473", + "id": 748, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "654:17:2", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + "value": "contract_exists" + }, + { + "arguments": [ + { + "id": 751, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "681:4:2", + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalances_$836", + "typeString": "contract TokenBalances" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_TokenBalances_$836", + "typeString": "contract TokenBalances" + } + ], + "id": 750, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "673:7:2", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 749, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "673:7:2", + "typeDescriptions": {} + } + }, + "id": 752, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "673:13:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 746, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "637:3:2", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 747, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "637:16:2", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 753, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "637:50:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 745, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "627:9:2", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 754, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "627:61:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "hexValue": "74727565", + "id": 755, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "690:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "expression": { + "id": 742, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "600:11:2", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 744, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 64, + "src": "600:26:2", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_bool_$returns$__$", + "typeString": "function (bytes32,bool) external" + } + }, + "id": 756, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "600:95:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 757, + "nodeType": "ExpressionStatement", + "src": "600:95:2" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f61646472657373", + "id": 764, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "763:18:2", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + "value": "contract_address" + }, + { + "hexValue": "546f6b656e42616c616e636573", + "id": 765, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "783:15:2", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_3b6d5f7972ed6795e7621e32620438487583050aef09a1228b0cc6a9a3f04fe9", + "typeString": "literal_string \"TokenBalances\"" + }, + "value": "TokenBalances" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + { + "typeIdentifier": "t_stringliteral_3b6d5f7972ed6795e7621e32620438487583050aef09a1228b0cc6a9a3f04fe9", + "typeString": "literal_string \"TokenBalances\"" + } + ], + "expression": { + "id": 762, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "746:3:2", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 763, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "746:16:2", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 766, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "746:53:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 761, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "736:9:2", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 767, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "736:64:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "arguments": [ + { + "id": 770, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "810:4:2", + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalances_$836", + "typeString": "contract TokenBalances" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_TokenBalances_$836", + "typeString": "contract TokenBalances" + } + ], + "id": 769, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "802:7:2", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 768, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "802:7:2", + "typeDescriptions": {} + } + }, + "id": 771, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "802:13:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 758, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "706:11:2", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 760, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setAddressStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 71, + "src": "706:29:2", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address) external" + } + }, + "id": 772, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "706:110:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 773, + "nodeType": "ExpressionStatement", + "src": "706:110:2" + } + ] + }, + "documentation": { + "id": 739, + "nodeType": "StructuredDocumentation", + "src": "414:126:2", + "text": "@dev Store this contract address and existance on the main storage.\n @notice Called while deploying the contract. " + }, + "id": 775, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_setTokenBalancesAddress", + "nameLocation": "555:24:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 740, + "nodeType": "ParameterList", + "parameters": [], + "src": "579:2:2" + }, + "returnParameters": { + "id": 741, + "nodeType": "ParameterList", + "parameters": [], + "src": "589:0:2" + }, + "scope": 836, + "src": "546:278:2", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "private" + }, + { + "body": { + "id": 794, + "nodeType": "Block", + "src": "929:142:2", + "statements": [ + { + "assignments": [ + 781 + ], + "declarations": [ + { + "constant": false, + "id": 781, + "mutability": "mutable", + "name": "ethBalTag", + "nameLocation": "948:9:2", + "nodeType": "VariableDeclaration", + "scope": 794, + "src": "940:17:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 780, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "940:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 788, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "746f74616c537570706c795f4574686572", + "id": 785, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "987:19:2", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c249c8d0234c73f198edb6911269cabbcb3a87200e5c4a66aae535d12bd6112c", + "typeString": "literal_string \"totalSupply_Ether\"" + }, + "value": "totalSupply_Ether" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_c249c8d0234c73f198edb6911269cabbcb3a87200e5c4a66aae535d12bd6112c", + "typeString": "literal_string \"totalSupply_Ether\"" + } + ], + "expression": { + "id": 783, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "970:3:2", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 784, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "970:16:2", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 786, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "970:37:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 782, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "960:9:2", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 787, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "960:48:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "940:68:2" + }, + { + "expression": { + "arguments": [ + { + "id": 791, + "name": "ethBalTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 781, + "src": "1053:9:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 789, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "1026:11:2", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 790, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 29, + "src": "1026:26:2", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 792, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1026:37:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 779, + "id": 793, + "nodeType": "Return", + "src": "1019:44:2" + } + ] + }, + "functionSelector": "6402c262", + "id": 795, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getTotalEthSupply", + "nameLocation": "882:17:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 776, + "nodeType": "ParameterList", + "parameters": [], + "src": "899:2:2" + }, + "returnParameters": { + "id": 779, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 778, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 795, + "src": "924:4:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 777, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "924:4:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "923:6:2" + }, + "scope": 836, + "src": "873:198:2", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "body": { + "id": 814, + "nodeType": "Block", + "src": "1137:152:2", + "statements": [ + { + "assignments": [ + 801 + ], + "declarations": [ + { + "constant": false, + "id": 801, + "mutability": "mutable", + "name": "rwEthBalTag", + "nameLocation": "1156:11:2", + "nodeType": "VariableDeclaration", + "scope": 814, + "src": "1148:19:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 800, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1148:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 808, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "746f74616c537570706c795f7265776172644574686572", + "id": 805, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1197:25:2", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_0374d75381b3b197d745e6b159383515dfcf445652f3d60140f7a03bb136a74c", + "typeString": "literal_string \"totalSupply_rewardEther\"" + }, + "value": "totalSupply_rewardEther" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_0374d75381b3b197d745e6b159383515dfcf445652f3d60140f7a03bb136a74c", + "typeString": "literal_string \"totalSupply_rewardEther\"" + } + ], + "expression": { + "id": 803, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1180:3:2", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 804, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1180:16:2", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 806, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1180:43:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 802, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1170:9:2", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 807, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1170:54:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1148:76:2" + }, + { + "expression": { + "arguments": [ + { + "id": 811, + "name": "rwEthBalTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 801, + "src": "1269:11:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 809, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "1242:11:2", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 810, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 29, + "src": "1242:26:2", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 812, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1242:39:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 799, + "id": 813, + "nodeType": "Return", + "src": "1235:46:2" + } + ] + }, + "functionSelector": "e2bcb3df", + "id": 815, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getTotalrwEthSupply", + "nameLocation": "1088:19:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 796, + "nodeType": "ParameterList", + "parameters": [], + "src": "1107:2:2" + }, + "returnParameters": { + "id": 799, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 798, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 815, + "src": "1132:4:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 797, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1132:4:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1131:6:2" + }, + "scope": 836, + "src": "1079:210:2", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "body": { + "id": 834, + "nodeType": "Block", + "src": "1355:161:2", + "statements": [ + { + "assignments": [ + 821 + ], + "declarations": [ + { + "constant": false, + "id": 821, + "mutability": "mutable", + "name": "currentPoolSizeTag", + "nameLocation": "1374:18:2", + "nodeType": "VariableDeclaration", + "scope": 834, + "src": "1366:26:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 820, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1366:7:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 828, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "746f74616c5f65746865725f7374616b6564", + "id": 825, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1422:20:2", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_08d24c6ea30ae17d4a7786174d0af4df8c618dc9aba31a2ac06c137f095be1ab", + "typeString": "literal_string \"total_ether_staked\"" + }, + "value": "total_ether_staked" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_08d24c6ea30ae17d4a7786174d0af4df8c618dc9aba31a2ac06c137f095be1ab", + "typeString": "literal_string \"total_ether_staked\"" + } + ], + "expression": { + "id": 823, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1405:3:2", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 824, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1405:16:2", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 826, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1405:38:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 822, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1395:9:2", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 827, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1395:49:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1366:78:2" + }, + { + "expression": { + "arguments": [ + { + "id": 831, + "name": "currentPoolSizeTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 821, + "src": "1489:18:2", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 829, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "1462:11:2", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 830, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 29, + "src": "1462:26:2", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 832, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1462:46:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 819, + "id": 833, + "nodeType": "Return", + "src": "1455:53:2" + } + ] + }, + "functionSelector": "70959ff8", + "id": 835, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getTotalEtherStaked", + "nameLocation": "1306:19:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 816, + "nodeType": "ParameterList", + "parameters": [], + "src": "1325:2:2" + }, + "returnParameters": { + "id": 819, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 818, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 835, + "src": "1350:4:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 817, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1350:4:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1349:6:2" + }, + "scope": 836, + "src": "1297:219:2", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + } + ], + "scope": 837, + "src": "230:1293:2", + "usedErrors": [] + } + ], + "src": "33:1494:2" + }, + "functionHashes": { + "DEFAULT_ADMIN_ROLE()": "a217fddf", + "POOL_MANAGER()": "62308e85", + "addPoolManager(address)": "45077e71", + "getContributionLimit()": "fa1e19e5", + "getPoolFees()": "d1d8d060", + "getPoolMaxSize()": "095df57f", + "getPoolState()": "217ac237", + "getRewardsInterest()": "7521796f", + "getRewardsInterval()": "497d0241", + "getRoleAdmin(bytes32)": "248a9ca3", + "getTotalEthSupply()": "6402c262", + "getTotalEtherStaked()": "70959ff8", + "getTotalrwEthSupply()": "e2bcb3df", + "grantRole(bytes32,address)": "2f2ff15d", + "hasRole(bytes32,address)": "91d14854", + "removePoolManager(address)": "29ca15bc", + "renounceRole(bytes32,address)": "36568abe", + "revokeRole(bytes32,address)": "d547741f", + "setContributionLimit(uint256)": "72d099a0", + "setMinContribution()": "543edfb6", + "setMinContribution(uint256)": "473b0d46", + "setPoolFees(uint256)": "8dd225d5", + "setPoolLive(bool)": "a4975516", + "setPoolMaxSize(uint256)": "12646987", + "setRewardsInterest(uint256)": "bf4c0036", + "setRewardsInterval(uint256)": "53710f49", + "supportsInterface(bytes4)": "01ffc9a7" + }, + "gasEstimates": { + "creation": { + "codeDepositCost": "1116600", + "executionCost": "infinite", + "totalCost": "infinite" + }, + "external": { + "DEFAULT_ADMIN_ROLE()": "240", + "POOL_MANAGER()": "infinite", + "addPoolManager(address)": "infinite", + "getContributionLimit()": "infinite", + "getPoolFees()": "infinite", + "getPoolMaxSize()": "infinite", + "getPoolState()": "infinite", + "getRewardsInterest()": "infinite", + "getRewardsInterval()": "infinite", + "getRoleAdmin(bytes32)": "2559", + "getTotalEthSupply()": "infinite", + "getTotalEtherStaked()": "infinite", + "getTotalrwEthSupply()": "infinite", + "grantRole(bytes32,address)": "infinite", + "hasRole(bytes32,address)": "2762", + "removePoolManager(address)": "infinite", + "renounceRole(bytes32,address)": "29063", + "revokeRole(bytes32,address)": "infinite", + "setContributionLimit(uint256)": "infinite", + "setMinContribution()": "infinite", + "setMinContribution(uint256)": "infinite", + "setPoolFees(uint256)": "infinite", + "setPoolLive(bool)": "infinite", + "setPoolMaxSize(uint256)": "infinite", + "setRewardsInterest(uint256)": "infinite", + "setRewardsInterval(uint256)": "infinite", + "supportsInterface(bytes4)": "450" + }, + "internal": { + "_setTokenBalancesAddress()": "infinite" + } + } +} \ No newline at end of file diff --git a/bin/contracts/rwETHToken-solc-output.json b/bin/contracts/rwETHToken-solc-output.json new file mode 100644 index 00000000..55e6bfdf --- /dev/null +++ b/bin/contracts/rwETHToken-solc-output.json @@ -0,0 +1,61255 @@ +{ + "contracts": { + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/DataStorageInterface.sol": { + "DataStorageInterface": { + "abi": [ + { + "inputs": [], + "name": "confirmGuard", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_decrement", + "type": "uint256" + } + ], + "name": "decreaseUintStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "deleteAddressStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "deleteBoolStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "deleteBytes32Storage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "deleteUintStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getAddressStorage", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getBoolStorage", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getBytes32Storage", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getCurrentGuardian", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getStorageStatus", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + } + ], + "name": "getUintStorage", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_increment", + "type": "uint256" + } + ], + "name": "increaseUintStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "_value", + "type": "address" + } + ], + "name": "setAddressStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bool", + "name": "_value", + "type": "bool" + } + ], + "name": "setBoolStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "_value", + "type": "bytes32" + } + ], + "name": "setBytes32Storage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_newGuardian", + "type": "address" + } + ], + "name": "setNewGuardian", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "setStorageLive", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "_id", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "setUintStorage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "confirmGuard()": "27918182", + "decreaseUintStorage(bytes32,uint256)": "5bcfee67", + "deleteAddressStorage(bytes32)": "e732da72", + "deleteBoolStorage(bytes32)": "b240da3f", + "deleteBytes32Storage(bytes32)": "540ec89c", + "deleteUintStorage(bytes32)": "8a2c6738", + "getAddressStorage(bytes32)": "2a90bbb2", + "getBoolStorage(bytes32)": "55d94655", + "getBytes32Storage(bytes32)": "b47f11e7", + "getCurrentGuardian()": "0bc169a5", + "getStorageStatus()": "545e1b52", + "getUintStorage(bytes32)": "afc3602b", + "increaseUintStorage(bytes32,uint256)": "1d8895e0", + "setAddressStorage(bytes32,address)": "7221263a", + "setBoolStorage(bytes32,bool)": "988c515b", + "setBytes32Storage(bytes32,bytes32)": "8d42b4af", + "setNewGuardian(address)": "e87f7c31", + "setStorageLive()": "66b80832", + "setUintStorage(bytes32,uint256)": "28192c55" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"confirmGuard\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_decrement\",\"type\":\"uint256\"}],\"name\":\"decreaseUintStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"deleteAddressStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"deleteBoolStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"deleteBytes32Storage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"deleteUintStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"getAddressStorage\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"getBoolStorage\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"getBytes32Storage\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCurrentGuardian\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getStorageStatus\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"getUintStorage\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_increment\",\"type\":\"uint256\"}],\"name\":\"increaseUintStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_value\",\"type\":\"address\"}],\"name\":\"setAddressStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"_value\",\"type\":\"bool\"}],\"name\":\"setBoolStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_value\",\"type\":\"bytes32\"}],\"name\":\"setBytes32Storage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newGuardian\",\"type\":\"address\"}],\"name\":\"setNewGuardian\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"setStorageLive\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"setUintStorage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/DataStorageInterface.sol\":\"DataStorageInterface\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/DataStorageInterface.sol\":{\"keccak256\":\"0x2136bae23b43613eea5248f48da3a33c0fd5c9090337d43a31b943912ef8203b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7a084874e9224800b6b710f304a926ef04eab7cd361d9fb87a073b52dd4e2a6\",\"dweb:/ipfs/QmWZJKF1ReW1d3aXvZRL75QuuGfskLLvi2TwbtV4QRFTob\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol": { + "PoolBase": { + "abi": [ + { + "inputs": [ + { + "internalType": "contract DataStorageInterface", + "name": "_dataStorageAddress", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_removedManager", + "type": "address" + } + ], + "name": "ManagerRemoved", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_newManager", + "type": "address" + } + ], + "name": "NewManagerAdded", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "POOL_MANAGER", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "addPoolManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "getContributionLimit", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolFees", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolMaxSize", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolState", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardsInterest", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardsInterval", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "removePoolManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newContrLimit", + "type": "uint256" + } + ], + "name": "setContributionLimit", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newMinContr", + "type": "uint256" + } + ], + "name": "setMinContribution", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "setMinContribution", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_poolFees", + "type": "uint256" + } + ], + "name": "setPoolFees", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bool", + "name": "_live", + "type": "bool" + } + ], + "name": "setPoolLive", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_maxSize", + "type": "uint256" + } + ], + "name": "setPoolMaxSize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_rewardsInterest", + "type": "uint256" + } + ], + "name": "setRewardsInterest", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_daysToRewards", + "type": "uint256" + } + ], + "name": "setRewardsInterval", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "devdoc": { + "kind": "dev", + "methods": { + "getRoleAdmin(bytes32)": { + "details": "Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}." + }, + "grantRole(bytes32,address)": { + "details": "Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role." + }, + "hasRole(bytes32,address)": { + "details": "Returns `true` if `account` has been granted `role`." + }, + "renounceRole(bytes32,address)": { + "details": "Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`." + }, + "revokeRole(bytes32,address)": { + "details": "Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role." + }, + "setContributionLimit(uint256)": { + "details": "Set the max. contribution allowed for each user.", + "params": { + "_newContrLimit": "is a WEI value." + } + }, + "setMinContribution(uint256)": { + "details": "Set the min. contribution allowed for each user.", + "params": { + "_newMinContr": "is a WEI value." + } + }, + "setPoolFees(uint256)": { + "details": "Set the pool fees fraction that the pool charges for each deposit.", + "params": { + "_poolFees": "within the storage has 6 decimals." + } + }, + "setPoolLive(bool)": { + "details": "Toggles the Pool Investing Switch. " + }, + "setPoolMaxSize(uint256)": { + "details": "Sets the Pool Maximium size expressed on ether.", + "params": { + "_maxSize": "is a WEI value (or BigInt / BigNumber)." + } + }, + "setRewardsInterest(uint256)": { + "details": "Set the interest per effective period.", + "params": { + "_rewardsInterest": "within the storage has 6 decimals." + } + }, + "setRewardsInterval(uint256)": { + "details": "Set the interval in days of the rewards period." + }, + "supportsInterface(bytes4)": { + "details": "See {IERC165-supportsInterface}." + } + }, + "title": "This contract handles the modifiers and environmental parameters that control the pool. ", + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": { + "@_1452": { + "entryPoint": null, + "id": 1452, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_169": { + "entryPoint": null, + "id": 169, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@_grantRole_1328": { + "entryPoint": 531, + "id": 1328, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@_msgSender_2176": { + "entryPoint": null, + "id": 2176, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@_setPoolBaseAddress_276": { + "entryPoint": 173, + "id": 276, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_setupRole_1268": { + "entryPoint": 157, + "id": 1268, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@hasRole_1133": { + "entryPoint": null, + "id": 1133, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_contract$_DataStorageInterface_$113_fromMemory": { + "entryPoint": 691, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + } + }, + "generatedSources": [ + { + "ast": { + "nodeType": "YulBlock", + "src": "0:1665:14", + "statements": [ + { + "nodeType": "YulBlock", + "src": "6:3:14", + "statements": [] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "123:209:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "169:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "178:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "181:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "171:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "171:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "171:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "144:7:14" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "153:9:14" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "140:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "140:23:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "165:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "136:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "136:32:14" + }, + "nodeType": "YulIf", + "src": "133:52:14" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "194:29:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "213:9:14" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "207:5:14" + }, + "nodeType": "YulFunctionCall", + "src": "207:16:14" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "198:5:14", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "286:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "295:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "298:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "288:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "288:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "288:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "245:5:14" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "256:5:14" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "271:3:14", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "276:1:14", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "267:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "267:11:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "280:1:14", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "263:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "263:19:14" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "252:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "252:31:14" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "242:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "242:42:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "235:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "235:50:14" + }, + "nodeType": "YulIf", + "src": "232:70:14" + }, + { + "nodeType": "YulAssignment", + "src": "311:15:14", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "321:5:14" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "311:6:14" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_contract$_DataStorageInterface_$113_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "89:9:14", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "100:7:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "112:6:14", + "type": "" + } + ], + "src": "14:318:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "557:150:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "574:3:14" + }, + { + "hexValue": "636f6e74726163745f657869737473", + "kind": "string", + "nodeType": "YulLiteral", + "src": "579:17:14", + "type": "", + "value": "contract_exists" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "567:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "567:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "567:30:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "617:3:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "622:2:14", + "type": "", + "value": "15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "613:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "613:12:14" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "635:2:14", + "type": "", + "value": "96" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "639:6:14" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "631:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "631:15:14" + }, + { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "660:2:14", + "type": "", + "value": "96" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "664:1:14", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "656:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "656:10:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "668:1:14", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "652:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "652:18:14" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "648:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "648:23:14" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "627:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "627:45:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "606:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "606:67:14" + }, + "nodeType": "YulExpressionStatement", + "src": "606:67:14" + }, + { + "nodeType": "YulAssignment", + "src": "682:19:14", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "693:3:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "698:2:14", + "type": "", + "value": "35" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "689:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "689:12:14" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "682:3:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "533:3:14", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "538:6:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "549:3:14", + "type": "" + } + ], + "src": "337:370:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "835:135:14", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "845:26:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "857:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "868:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "853:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "853:18:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "845:4:14" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "887:9:14" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "898:6:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "880:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "880:25:14" + }, + "nodeType": "YulExpressionStatement", + "src": "880:25:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "925:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "936:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "921:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "921:18:14" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "955:6:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "948:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "948:14:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "941:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "941:22:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "914:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "914:50:14" + }, + "nodeType": "YulExpressionStatement", + "src": "914:50:14" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "796:9:14", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "807:6:14", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "815:6:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "826:4:14", + "type": "" + } + ], + "src": "712:258:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1268:116:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "1285:3:14" + }, + { + "hexValue": "636f6e74726163745f61646472657373", + "kind": "string", + "nodeType": "YulLiteral", + "src": "1290:18:14", + "type": "", + "value": "contract_address" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1278:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1278:31:14" + }, + "nodeType": "YulExpressionStatement", + "src": "1278:31:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "1329:3:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1334:2:14", + "type": "", + "value": "16" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1325:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1325:12:14" + }, + { + "hexValue": "506f6f6c42617365", + "kind": "string", + "nodeType": "YulLiteral", + "src": "1339:10:14", + "type": "", + "value": "PoolBase" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1318:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1318:32:14" + }, + "nodeType": "YulExpressionStatement", + "src": "1318:32:14" + }, + { + "nodeType": "YulAssignment", + "src": "1359:19:14", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "1370:3:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1375:2:14", + "type": "", + "value": "24" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1366:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1366:12:14" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "1359:3:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "1252:3:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "1260:3:14", + "type": "" + } + ], + "src": "975:409:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1518:145:14", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "1528:26:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1540:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1551:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1536:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1536:18:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "1528:4:14" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1570:9:14" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1581:6:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1563:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1563:25:14" + }, + "nodeType": "YulExpressionStatement", + "src": "1563:25:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1608:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1619:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1604:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1604:18:14" + }, + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "1628:6:14" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1644:3:14", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1649:1:14", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "1640:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1640:11:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1653:1:14", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1636:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1636:19:14" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "1624:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1624:32:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1597:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1597:60:14" + }, + "nodeType": "YulExpressionStatement", + "src": "1597:60:14" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1479:9:14", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "1490:6:14", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1498:6:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "1509:4:14", + "type": "" + } + ], + "src": "1389:274:14" + } + ] + }, + "contents": "{\n { }\n function abi_decode_tuple_t_contract$_DataStorageInterface_$113_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := mload(headStart)\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n value0 := value\n }\n function abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed(pos, value0) -> end\n {\n mstore(pos, \"contract_exists\")\n mstore(add(pos, 15), and(shl(96, value0), not(sub(shl(96, 1), 1))))\n end := add(pos, 35)\n }\n function abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), iszero(iszero(value1)))\n }\n function abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"contract_address\")\n mstore(add(pos, 16), \"PoolBase\")\n end := add(pos, 24)\n }\n function abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), and(value1, sub(shl(160, 1), 1)))\n }\n}", + "id": 14, + "language": "Yul", + "name": "#utility.yul" + } + ], + "linkReferences": {}, + "object": "60806040523480156200001157600080fd5b50604051620017d0380380620017d08339810160408190526200003491620002b3565b60018055600280546001600160a01b0319166001600160a01b038316179055620000606000336200009d565b6200008c7f41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842336200009d565b62000096620000ad565b50620002e5565b620000a9828262000213565b5050565b6002546040516e636f6e74726163745f65786973747360881b60208201526001600160601b03193060601b16602f8201526001600160a01b039091169063988c515b9060430160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b168252600482015260016024820152604401600060405180830381600087803b1580156200014757600080fd5b505af11580156200015c573d6000803e3d6000fd5b50506002546040516f636f6e74726163745f6164647265737360801b602082015267506f6f6c4261736560c01b60308201526001600160a01b039091169250637221263a915060380160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b1682526004820152306024820152604401600060405180830381600087803b158015620001f857600080fd5b505af11580156200020d573d6000803e3d6000fd5b50505050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620000a9576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556200026f3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600060208284031215620002c657600080fd5b81516001600160a01b0381168114620002de57600080fd5b9392505050565b6114db80620002f56000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c8063543edfb6116100c3578063a217fddf1161007c578063a217fddf146102b3578063a4975516146102bb578063bf4c0036146102ce578063d1d8d060146102e1578063d547741f146102e9578063fa1e19e5146102fc57600080fd5b8063543edfb61461025557806362308e851461025d57806372d099a0146102725780637521796f146102855780638dd225d51461028d57806391d14854146102a057600080fd5b80632f2ff15d116101155780632f2ff15d146101ee57806336568abe1461020157806345077e7114610214578063473b0d4614610227578063497d02411461023a57806353710f491461024257600080fd5b806301ffc9a71461015d578063095df57f14610185578063126469871461019b578063217ac237146101b0578063248a9ca3146101b857806329ca15bc146101db575b600080fd5b61017061016b3660046111c6565b610304565b60405190151581526020015b60405180910390f35b61018d61033b565b60405190815260200161017c565b6101ae6101a93660046111f0565b6103f8565b005b6101706104b1565b61018d6101c63660046111f0565b60009081526020819052604090206001015490565b6101ae6101e9366004611225565b610556565b6101ae6101fc366004611240565b6105b2565b6101ae61020f366004611240565b6105dd565b6101ae610222366004611225565b610660565b6101ae6102353660046111f0565b6106bc565b61018d6107bf565b6101ae6102503660046111f0565b6107e5565b61018d61093f565b61018d60008051602061148683398151915281565b6101ae6102803660046111f0565b610967565b61018d610a6c565b6101ae61029b3660046111f0565b610a9d565b6101706102ae366004611240565b610cb6565b61018d600081565b6101ae6102c936600461127d565b610cdf565b6101ae6102dc3660046111f0565b610d59565b61018d610e65565b6101ae6102f7366004611240565b610e86565b61018d610eac565b60006001600160e01b03198216637965db0b60e01b148061033557506301ffc9a760e01b6001600160e01b03198316145b92915050565b60008060405160200161035f906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b1580156103ba57600080fd5b505afa1580156103ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f2919061129a565b91505090565b6000805160206114868339815191526104118133610ed6565b6040516a706f6f6c4d617853697a6560a81b6020820152600090602b015b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018690529092506001600160a01b0316906328192c55906044015b600060405180830381600087803b15801561049457600080fd5b505af11580156104a8573d6000803e3d6000fd5b50505050505050565b6000806040516020016104c3906112b3565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561051e57600080fd5b505afa158015610532573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f291906112c9565b60006105628133610ed6565b61057a60008051602061148683398151915283610e86565b6040516001600160a01b038316907fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd3190600090a25050565b6000828152602081905260409020600101546105ce8133610ed6565b6105d88383610f3a565b505050565b6001600160a01b03811633146106525760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b61065c8282610fbe565b5050565b600061066c8133610ed6565b610684600080516020611486833981519152836105b2565b6040516001600160a01b038316907fd873e3f571dc25e020cefdeb7255b3874ead3aade1f94a5fb4a5da831fd670cd90600090a25050565b6000805160206114868339815191526106d58133610ed6565b6002546040516001600160a01b03909116906355d94655906106f9906020016112b3565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161072d91815260200190565b60206040518083038186803b15801561074557600080fd5b505afa158015610759573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077d91906112c9565b6107995760405162461bcd60e51b8152600401610649906112e6565b6040516e36b4b721b7b73a3934b13aba34b7b760891b6020820152600090602f0161042f565b60008060405160200161035f906c64617973546f5265776172647360981b8152600d0190565b6000805160206114868339815191526107fe8133610ed6565b6002546040516001600160a01b03909116906355d9465590610822906020016112b3565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161085691815260200190565b60206040518083038186803b15801561086e57600080fd5b505afa158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a691906112c9565b6108c25760405162461bcd60e51b8152600401610649906112e6565b604080516c64617973546f5265776172647360981b6020808301919091528251600d818403018152602d90920190925280519101206002546001600160a01b03166328192c55826109168662015180611333565b6040516001600160e01b031960e085901b1681526004810192909252602482015260440161047a565b60008060405160200161035f906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b6000805160206114868339815191526109808133610ed6565b6002546040516001600160a01b03909116906355d94655906109a4906020016112b3565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b81526004016109d891815260200190565b60206040518083038186803b1580156109f057600080fd5b505afa158015610a04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a2891906112c9565b610a445760405162461bcd60e51b8152600401610649906112e6565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b602082015260009060310161042f565b60008060405160200161035f90771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b600080516020611486833981519152610ab68133610ed6565b6002546040516001600160a01b03909116906355d9465590610ada906020016112b3565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610b0e91815260200190565b60206040518083038186803b158015610b2657600080fd5b505afa158015610b3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5e91906112c9565b610b7a5760405162461bcd60e51b8152600401610649906112e6565b60405167706f6f6c4665657360c01b60208201526000906028016040516020818303038152906040528051906020012090506000604051602001610bcf906a1c1bdbdb1199595cd4d95d60aa1b8152600b0190565b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301859052602483018790529092506001600160a01b0316906328192c5590604401600060405180830381600087803b158015610c3357600080fd5b505af1158015610c47573d6000803e3d6000fd5b505060025460405163988c515b60e01b815260048101859052600160248201526001600160a01b03909116925063988c515b9150604401600060405180830381600087803b158015610c9857600080fd5b505af1158015610cac573d6000803e3d6000fd5b5050505050505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020611486833981519152610cf88133610ed6565b6000604051602001610d09906112b3565b60408051808303601f1901815290829052805160209091012060025463988c515b60e01b83526004830182905285151560248401529092506001600160a01b03169063988c515b9060440161047a565b600080516020611486833981519152610d728133610ed6565b6002546040516001600160a01b03909116906355d9465590610d96906020016112b3565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610dca91815260200190565b60206040518083038186803b158015610de257600080fd5b505afa158015610df6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1a91906112c9565b610e365760405162461bcd60e51b8152600401610649906112e6565b604051771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b602082015260009060380161042f565b60008060405160200161035f9067706f6f6c4665657360c01b815260080190565b600082815260208190526040902060010154610ea28133610ed6565b6105d88383610fbe565b60008060405160200161035f907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b610ee08282610cb6565b61065c57610ef8816001600160a01b03166014611023565b610f03836020611023565b604051602001610f14929190611382565b60408051601f198184030181529082905262461bcd60e51b8252610649916004016113f7565b610f448282610cb6565b61065c576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055610f7a3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610fc88282610cb6565b1561065c576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60606000611032836002611333565b61103d90600261142a565b67ffffffffffffffff81111561105557611055611442565b6040519080825280601f01601f19166020018201604052801561107f576020820181803683370190505b509050600360fc1b8160008151811061109a5761109a611458565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106110c9576110c9611458565b60200101906001600160f81b031916908160001a90535060006110ed846002611333565b6110f890600161142a565b90505b6001811115611170576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061112c5761112c611458565b1a60f81b82828151811061114257611142611458565b60200101906001600160f81b031916908160001a90535060049490941c936111698161146e565b90506110fb565b5083156111bf5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610649565b9392505050565b6000602082840312156111d857600080fd5b81356001600160e01b0319811681146111bf57600080fd5b60006020828403121561120257600080fd5b5035919050565b80356001600160a01b038116811461122057600080fd5b919050565b60006020828403121561123757600080fd5b6111bf82611209565b6000806040838503121561125357600080fd5b8235915061126360208401611209565b90509250929050565b801515811461127a57600080fd5b50565b60006020828403121561128f57600080fd5b81356111bf8161126c565b6000602082840312156112ac57600080fd5b5051919050565b696973506f6f6c4c69766560b01b8152600a0190565b6000602082840312156112db57600080fd5b81516111bf8161126c565b6020808252601d908201527f54686520706f6f6c2069732063757272656e746c7920636c6f7365642e000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561134d5761134d61131d565b500290565b60005b8381101561136d578181015183820152602001611355565b8381111561137c576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516113ba816017850160208801611352565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516113eb816028840160208801611352565b01602801949350505050565b6020815260008251806020840152611416816040850160208701611352565b601f01601f19169190910160400192915050565b6000821982111561143d5761143d61131d565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008161147d5761147d61131d565b50600019019056fe41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842a2646970667358221220d8b3c0aadd811f2a444ea408495622894b768a5da3dc0f58e2d1788729f1bd0a64736f6c63430008090033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH3 0x11 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH3 0x17D0 CODESIZE SUB DUP1 PUSH3 0x17D0 DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH3 0x34 SWAP2 PUSH3 0x2B3 JUMP JUMPDEST PUSH1 0x1 DUP1 SSTORE PUSH1 0x2 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND OR SWAP1 SSTORE PUSH3 0x60 PUSH1 0x0 CALLER PUSH3 0x9D JUMP JUMPDEST PUSH3 0x8C PUSH32 0x41A01EC0A13B563FA452569E3FBB116366D217C2769AA1561822E65A617E3842 CALLER PUSH3 0x9D JUMP JUMPDEST PUSH3 0x96 PUSH3 0xAD JUMP JUMPDEST POP PUSH3 0x2E5 JUMP JUMPDEST PUSH3 0xA9 DUP3 DUP3 PUSH3 0x213 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH15 0x636F6E74726163745F657869737473 PUSH1 0x88 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB NOT ADDRESS PUSH1 0x60 SHL AND PUSH1 0x2F DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x988C515B SWAP1 PUSH1 0x43 ADD PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT PUSH1 0xE0 DUP5 SWAP1 SHL AND DUP3 MSTORE PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x147 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH3 0x15C JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH16 0x636F6E74726163745F61646472657373 PUSH1 0x80 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH8 0x506F6F6C42617365 PUSH1 0xC0 SHL PUSH1 0x30 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP3 POP PUSH4 0x7221263A SWAP2 POP PUSH1 0x38 ADD PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT PUSH1 0xE0 DUP5 SWAP1 SHL AND DUP3 MSTORE PUSH1 0x4 DUP3 ADD MSTORE ADDRESS PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x1F8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH3 0x20D JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH3 0xA9 JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH3 0x26F CALLER SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH3 0x2C6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH3 0x2DE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH2 0x14DB DUP1 PUSH3 0x2F5 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x158 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x543EDFB6 GT PUSH2 0xC3 JUMPI DUP1 PUSH4 0xA217FDDF GT PUSH2 0x7C JUMPI DUP1 PUSH4 0xA217FDDF EQ PUSH2 0x2B3 JUMPI DUP1 PUSH4 0xA4975516 EQ PUSH2 0x2BB JUMPI DUP1 PUSH4 0xBF4C0036 EQ PUSH2 0x2CE JUMPI DUP1 PUSH4 0xD1D8D060 EQ PUSH2 0x2E1 JUMPI DUP1 PUSH4 0xD547741F EQ PUSH2 0x2E9 JUMPI DUP1 PUSH4 0xFA1E19E5 EQ PUSH2 0x2FC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x543EDFB6 EQ PUSH2 0x255 JUMPI DUP1 PUSH4 0x62308E85 EQ PUSH2 0x25D JUMPI DUP1 PUSH4 0x72D099A0 EQ PUSH2 0x272 JUMPI DUP1 PUSH4 0x7521796F EQ PUSH2 0x285 JUMPI DUP1 PUSH4 0x8DD225D5 EQ PUSH2 0x28D JUMPI DUP1 PUSH4 0x91D14854 EQ PUSH2 0x2A0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x2F2FF15D GT PUSH2 0x115 JUMPI DUP1 PUSH4 0x2F2FF15D EQ PUSH2 0x1EE JUMPI DUP1 PUSH4 0x36568ABE EQ PUSH2 0x201 JUMPI DUP1 PUSH4 0x45077E71 EQ PUSH2 0x214 JUMPI DUP1 PUSH4 0x473B0D46 EQ PUSH2 0x227 JUMPI DUP1 PUSH4 0x497D0241 EQ PUSH2 0x23A JUMPI DUP1 PUSH4 0x53710F49 EQ PUSH2 0x242 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x15D JUMPI DUP1 PUSH4 0x95DF57F EQ PUSH2 0x185 JUMPI DUP1 PUSH4 0x12646987 EQ PUSH2 0x19B JUMPI DUP1 PUSH4 0x217AC237 EQ PUSH2 0x1B0 JUMPI DUP1 PUSH4 0x248A9CA3 EQ PUSH2 0x1B8 JUMPI DUP1 PUSH4 0x29CA15BC EQ PUSH2 0x1DB JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x170 PUSH2 0x16B CALLDATASIZE PUSH1 0x4 PUSH2 0x11C6 JUMP JUMPDEST PUSH2 0x304 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x18D PUSH2 0x33B JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x17C JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x1A9 CALLDATASIZE PUSH1 0x4 PUSH2 0x11F0 JUMP JUMPDEST PUSH2 0x3F8 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x170 PUSH2 0x4B1 JUMP JUMPDEST PUSH2 0x18D PUSH2 0x1C6 CALLDATASIZE PUSH1 0x4 PUSH2 0x11F0 JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x1E9 CALLDATASIZE PUSH1 0x4 PUSH2 0x1225 JUMP JUMPDEST PUSH2 0x556 JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x1FC CALLDATASIZE PUSH1 0x4 PUSH2 0x1240 JUMP JUMPDEST PUSH2 0x5B2 JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x20F CALLDATASIZE PUSH1 0x4 PUSH2 0x1240 JUMP JUMPDEST PUSH2 0x5DD JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x222 CALLDATASIZE PUSH1 0x4 PUSH2 0x1225 JUMP JUMPDEST PUSH2 0x660 JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x235 CALLDATASIZE PUSH1 0x4 PUSH2 0x11F0 JUMP JUMPDEST PUSH2 0x6BC JUMP JUMPDEST PUSH2 0x18D PUSH2 0x7BF JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x250 CALLDATASIZE PUSH1 0x4 PUSH2 0x11F0 JUMP JUMPDEST PUSH2 0x7E5 JUMP JUMPDEST PUSH2 0x18D PUSH2 0x93F JUMP JUMPDEST PUSH2 0x18D PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x280 CALLDATASIZE PUSH1 0x4 PUSH2 0x11F0 JUMP JUMPDEST PUSH2 0x967 JUMP JUMPDEST PUSH2 0x18D PUSH2 0xA6C JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x29B CALLDATASIZE PUSH1 0x4 PUSH2 0x11F0 JUMP JUMPDEST PUSH2 0xA9D JUMP JUMPDEST PUSH2 0x170 PUSH2 0x2AE CALLDATASIZE PUSH1 0x4 PUSH2 0x1240 JUMP JUMPDEST PUSH2 0xCB6 JUMP JUMPDEST PUSH2 0x18D PUSH1 0x0 DUP2 JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x2C9 CALLDATASIZE PUSH1 0x4 PUSH2 0x127D JUMP JUMPDEST PUSH2 0xCDF JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x2DC CALLDATASIZE PUSH1 0x4 PUSH2 0x11F0 JUMP JUMPDEST PUSH2 0xD59 JUMP JUMPDEST PUSH2 0x18D PUSH2 0xE65 JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x2F7 CALLDATASIZE PUSH1 0x4 PUSH2 0x1240 JUMP JUMPDEST PUSH2 0xE86 JUMP JUMPDEST PUSH2 0x18D PUSH2 0xEAC JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH4 0x7965DB0B PUSH1 0xE0 SHL EQ DUP1 PUSH2 0x335 JUMPI POP PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP4 AND EQ JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x35F SWAP1 PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL DUP2 MSTORE PUSH1 0xB ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x3BA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x3CE JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x3F2 SWAP2 SWAP1 PUSH2 0x129A JUMP JUMPDEST SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x411 DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2B ADD JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP7 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x494 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x4A8 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x4C3 SWAP1 PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x55D94655 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x51E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x532 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x3F2 SWAP2 SWAP1 PUSH2 0x12C9 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x562 DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH2 0x57A PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0xE86 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xEF69F7D97228658C92417BE1B16B19058315DE71FECB435D07B7D23728B6BD31 SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0x5CE DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH2 0x5D8 DUP4 DUP4 PUSH2 0xF3A JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND CALLER EQ PUSH2 0x652 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416363657373436F6E74726F6C3A2063616E206F6E6C792072656E6F756E6365 PUSH1 0x44 DUP3 ADD MSTORE PUSH15 0x103937B632B9903337B91039B2B633 PUSH1 0x89 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x65C DUP3 DUP3 PUSH2 0xFBE JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x66C DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH2 0x684 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0x5B2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xD873E3F571DC25E020CEFDEB7255B3874EAD3AADE1F94A5FB4A5DA831FD670CD SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x6D5 DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x6F9 SWAP1 PUSH1 0x20 ADD PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x72D SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x745 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x759 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x77D SWAP2 SWAP1 PUSH2 0x12C9 JUMP JUMPDEST PUSH2 0x799 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x649 SWAP1 PUSH2 0x12E6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2F ADD PUSH2 0x42F JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x35F SWAP1 PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL DUP2 MSTORE PUSH1 0xD ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x7FE DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x822 SWAP1 PUSH1 0x20 ADD PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x856 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x86E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x882 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x8A6 SWAP2 SWAP1 PUSH2 0x12C9 JUMP JUMPDEST PUSH2 0x8C2 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x649 SWAP1 PUSH2 0x12E6 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL PUSH1 0x20 DUP1 DUP4 ADD SWAP2 SWAP1 SWAP2 MSTORE DUP3 MLOAD PUSH1 0xD DUP2 DUP5 SUB ADD DUP2 MSTORE PUSH1 0x2D SWAP1 SWAP3 ADD SWAP1 SWAP3 MSTORE DUP1 MLOAD SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x28192C55 DUP3 PUSH2 0x916 DUP7 PUSH3 0x15180 PUSH2 0x1333 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT PUSH1 0xE0 DUP6 SWAP1 SHL AND DUP2 MSTORE PUSH1 0x4 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH2 0x47A JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x35F SWAP1 PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL DUP2 MSTORE PUSH1 0xF ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x980 DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x9A4 SWAP1 PUSH1 0x20 ADD PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x9D8 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x9F0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xA04 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xA28 SWAP2 SWAP1 PUSH2 0x12C9 JUMP JUMPDEST PUSH2 0xA44 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x649 SWAP1 PUSH2 0x12E6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x31 ADD PUSH2 0x42F JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x35F SWAP1 PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL DUP2 MSTORE PUSH1 0x18 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xAB6 DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xADA SWAP1 PUSH1 0x20 ADD PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xB0E SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xB26 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xB3A JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xB5E SWAP2 SWAP1 PUSH2 0x12C9 JUMP JUMPDEST PUSH2 0xB7A JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x649 SWAP1 PUSH2 0x12E6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH8 0x706F6F6C46656573 PUSH1 0xC0 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x28 ADD PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xBCF SWAP1 PUSH11 0x1C1BDBDB1199595CD4D95D PUSH1 0xAA SHL DUP2 MSTORE PUSH1 0xB ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP6 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP8 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xC33 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xC47 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0x988C515B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP6 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP3 POP PUSH4 0x988C515B SWAP2 POP PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xC98 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xCAC JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP3 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 SWAP1 SWAP4 AND DUP5 MSTORE SWAP2 SWAP1 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xCF8 DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xD09 SWAP1 PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x988C515B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE DUP6 ISZERO ISZERO PUSH1 0x24 DUP5 ADD MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x988C515B SWAP1 PUSH1 0x44 ADD PUSH2 0x47A JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xD72 DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xD96 SWAP1 PUSH1 0x20 ADD PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xDCA SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xDE2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xDF6 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xE1A SWAP2 SWAP1 PUSH2 0x12C9 JUMP JUMPDEST PUSH2 0xE36 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x649 SWAP1 PUSH2 0x12E6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x38 ADD PUSH2 0x42F JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x35F SWAP1 PUSH8 0x706F6F6C46656573 PUSH1 0xC0 SHL DUP2 MSTORE PUSH1 0x8 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0xEA2 DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH2 0x5D8 DUP4 DUP4 PUSH2 0xFBE JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x35F SWAP1 PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL DUP2 MSTORE PUSH1 0x11 ADD SWAP1 JUMP JUMPDEST PUSH2 0xEE0 DUP3 DUP3 PUSH2 0xCB6 JUMP JUMPDEST PUSH2 0x65C JUMPI PUSH2 0xEF8 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x14 PUSH2 0x1023 JUMP JUMPDEST PUSH2 0xF03 DUP4 PUSH1 0x20 PUSH2 0x1023 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xF14 SWAP3 SWAP2 SWAP1 PUSH2 0x1382 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE PUSH3 0x461BCD PUSH1 0xE5 SHL DUP3 MSTORE PUSH2 0x649 SWAP2 PUSH1 0x4 ADD PUSH2 0x13F7 JUMP JUMPDEST PUSH2 0xF44 DUP3 DUP3 PUSH2 0xCB6 JUMP JUMPDEST PUSH2 0x65C JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH2 0xF7A CALLER SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH2 0xFC8 DUP3 DUP3 PUSH2 0xCB6 JUMP JUMPDEST ISZERO PUSH2 0x65C JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP1 DUP6 MSTORE SWAP3 MSTORE DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE MLOAD CALLER SWAP3 DUP6 SWAP2 PUSH32 0xF6391F5C32D9C69D2A47EA670B442974B53935D1EDC7FD64EB21E047A839171B SWAP2 SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH2 0x1032 DUP4 PUSH1 0x2 PUSH2 0x1333 JUMP JUMPDEST PUSH2 0x103D SWAP1 PUSH1 0x2 PUSH2 0x142A JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1055 JUMPI PUSH2 0x1055 PUSH2 0x1442 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x107F JUMPI PUSH1 0x20 DUP3 ADD DUP2 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x3 PUSH1 0xFC SHL DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x109A JUMPI PUSH2 0x109A PUSH2 0x1458 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0xF PUSH1 0xFB SHL DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x10C9 JUMPI PUSH2 0x10C9 PUSH2 0x1458 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x0 PUSH2 0x10ED DUP5 PUSH1 0x2 PUSH2 0x1333 JUMP JUMPDEST PUSH2 0x10F8 SWAP1 PUSH1 0x1 PUSH2 0x142A JUMP JUMPDEST SWAP1 POP JUMPDEST PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x1170 JUMPI PUSH16 0x181899199A1A9B1B9C1CB0B131B232B3 PUSH1 0x81 SHL DUP6 PUSH1 0xF AND PUSH1 0x10 DUP2 LT PUSH2 0x112C JUMPI PUSH2 0x112C PUSH2 0x1458 JUMP JUMPDEST BYTE PUSH1 0xF8 SHL DUP3 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x1142 JUMPI PUSH2 0x1142 PUSH2 0x1458 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x4 SWAP5 SWAP1 SWAP5 SHR SWAP4 PUSH2 0x1169 DUP2 PUSH2 0x146E JUMP JUMPDEST SWAP1 POP PUSH2 0x10FB JUMP JUMPDEST POP DUP4 ISZERO PUSH2 0x11BF JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x537472696E67733A20686578206C656E67746820696E73756666696369656E74 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x649 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x11D8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND DUP2 EQ PUSH2 0x11BF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1202 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x1220 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1237 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x11BF DUP3 PUSH2 0x1209 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1253 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD SWAP2 POP PUSH2 0x1263 PUSH1 0x20 DUP5 ADD PUSH2 0x1209 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0x127A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x128F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x11BF DUP2 PUSH2 0x126C JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x12AC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH10 0x6973506F6F6C4C697665 PUSH1 0xB0 SHL DUP2 MSTORE PUSH1 0xA ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x12DB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x11BF DUP2 PUSH2 0x126C JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1D SWAP1 DUP3 ADD MSTORE PUSH32 0x54686520706F6F6C2069732063757272656E746C7920636C6F7365642E000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x0 NOT DIV DUP4 GT DUP3 ISZERO ISZERO AND ISZERO PUSH2 0x134D JUMPI PUSH2 0x134D PUSH2 0x131D JUMP JUMPDEST POP MUL SWAP1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x136D JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x1355 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x137C JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH32 0x416363657373436F6E74726F6C3A206163636F756E7420000000000000000000 DUP2 MSTORE PUSH1 0x0 DUP4 MLOAD PUSH2 0x13BA DUP2 PUSH1 0x17 DUP6 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x1352 JUMP JUMPDEST PUSH17 0x1034B99036B4B9B9B4B733903937B6329 PUSH1 0x7D SHL PUSH1 0x17 SWAP2 DUP5 ADD SWAP2 DUP3 ADD MSTORE DUP4 MLOAD PUSH2 0x13EB DUP2 PUSH1 0x28 DUP5 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x1352 JUMP JUMPDEST ADD PUSH1 0x28 ADD SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 DUP3 MLOAD DUP1 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x1416 DUP2 PUSH1 0x40 DUP6 ADD PUSH1 0x20 DUP8 ADD PUSH2 0x1352 JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP2 SWAP1 SWAP2 ADD PUSH1 0x40 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x143D JUMPI PUSH2 0x143D PUSH2 0x131D JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH2 0x147D JUMPI PUSH2 0x147D PUSH2 0x131D JUMP JUMPDEST POP PUSH1 0x0 NOT ADD SWAP1 JUMP INVALID COINBASE LOG0 0x1E 0xC0 LOG1 EXTCODESIZE JUMP EXTCODEHASH LOG4 MSTORE JUMP SWAP15 EXTCODEHASH 0xBB GT PUSH4 0x66D217C2 PUSH23 0x9AA1561822E65A617E3842A2646970667358221220D8B3 0xC0 0xAA 0xDD DUP2 0x1F 0x2A DIFFICULTY 0x4E LOG4 ADDMOD 0x49 JUMP 0x22 DUP10 0x4B PUSH23 0x8A5DA3DC0F58E2D1788729F1BD0A64736F6C6343000809 STOP CALLER ", + "sourceMap": "616:7585:1:-:0;;;1198:259;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1701:1:6;1806:22;;1262:11:1;:55;;-1:-1:-1;;;;;;1262:55:1;-1:-1:-1;;;;;1262:55:1;;;;;1328:42;-1:-1:-1;1359:10:1;1328;:42::i;:::-;1381:36;715:25;1406:10;1381;:36::i;:::-;1428:21;:19;:21::i;:::-;1198:259;616:7585;;6257:110:4;6335:25;6346:4;6352:7;6335:10;:25::i;:::-;6257:110;;:::o;2532:269:1:-;2582:11;;2619:50;;-1:-1:-1;;;2619:50:1;;;567:30:14;-1:-1:-1;;;;;;2663:4:1;660:2:14;631:15;627:45;613:12;;;606:67;-1:-1:-1;;;;;2582:11:1;;;;:26;;689:12:14;;2619:50:1;;;-1:-1:-1;;2619:50:1;;;;;;;;;;2609:61;;2619:50;2609:61;;;;-1:-1:-1;;;;;;2582:95:1;;;;;;;;;;880:25:14;2672:4:1;921:18:14;;;914:50;853:18;;2582:95:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2688:11:1;;2728:48;;-1:-1:-1;;;2728:48:1;;;1278:31:14;-1:-1:-1;;;1325:12:14;;;1318:32;-1:-1:-1;;;;;2688:11:1;;;;-1:-1:-1;2688:29:1;;-1:-1:-1;1366:12:14;;2728:48:1;;;-1:-1:-1;;2728:48:1;;;;;;;;;;2718:59;;2728:48;2718:59;;;;-1:-1:-1;;;;;;2688:105:1;;;;;;;;;;1563:25:14;2787:4:1;1604:18:14;;;1597:60;1536:18;;2688:105:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2532:269::o;6861:233:4:-;2995:4;3018:12;;;;;;;;;;;-1:-1:-1;;;;;3018:29:4;;;;;;;;;;;;6939:149;;6982:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6982:29:4;;;;;;;;;:36;;-1:-1:-1;;6982:36:4;7014:4;6982:36;;;7064:12;719:10:10;;640:96;7064:12:4;-1:-1:-1;;;;;7037:40:4;7055:7;-1:-1:-1;;;;;7037:40:4;7049:4;7037:40;;;;;;;;;;6861:233;;:::o;14:318:14:-;112:6;165:2;153:9;144:7;140:23;136:32;133:52;;;181:1;178;171:12;133:52;207:16;;-1:-1:-1;;;;;252:31:14;;242:42;;232:70;;298:1;295;288:12;232:70;321:5;14:318;-1:-1:-1;;;14:318:14:o;1389:274::-;616:7585:1;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": { + "@DEFAULT_ADMIN_ROLE_1079": { + "entryPoint": null, + "id": 1079, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@POOL_MANAGER_128": { + "entryPoint": null, + "id": 128, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_checkRole_1176": { + "entryPoint": 3798, + "id": 1176, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@_grantRole_1328": { + "entryPoint": 3898, + "id": 1328, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@_msgSender_2176": { + "entryPoint": null, + "id": 2176, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@_revokeRole_1359": { + "entryPoint": 4030, + "id": 1359, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@addPoolManager_221": { + "entryPoint": 1632, + "id": 221, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@getContributionLimit_679": { + "entryPoint": 3756, + "id": 679, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getPoolFees_719": { + "entryPoint": 3685, + "id": 719, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getPoolMaxSize_619": { + "entryPoint": 827, + "id": 619, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getPoolState_599": { + "entryPoint": 1201, + "id": 599, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getRewardsInterest_659": { + "entryPoint": 2668, + "id": 659, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getRewardsInterval_639": { + "entryPoint": 1983, + "id": 639, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getRoleAdmin_1191": { + "entryPoint": null, + "id": 1191, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@grantRole_1211": { + "entryPoint": 1458, + "id": 1211, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@hasRole_1133": { + "entryPoint": 3254, + "id": 1133, + "parameterSlots": 2, + "returnSlots": 1 + }, + "@removePoolManager_239": { + "entryPoint": 1366, + "id": 239, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@renounceRole_1254": { + "entryPoint": 1501, + "id": 1254, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@revokeRole_1231": { + "entryPoint": 3718, + "id": 1231, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@setContributionLimit_447": { + "entryPoint": 2407, + "id": 447, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setMinContribution_486": { + "entryPoint": 1724, + "id": 486, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setMinContribution_699": { + "entryPoint": 2367, + "id": 699, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@setPoolFees_541": { + "entryPoint": 2717, + "id": 541, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setPoolLive_302": { + "entryPoint": 3295, + "id": 302, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setPoolMaxSize_328": { + "entryPoint": 1016, + "id": 328, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setRewardsInterest_408": { + "entryPoint": 3417, + "id": 408, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setRewardsInterval_369": { + "entryPoint": 2021, + "id": 369, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@supportsInterface_1114": { + "entryPoint": 772, + "id": 1114, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@supportsInterface_2412": { + "entryPoint": null, + "id": 2412, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@toHexString_2388": { + "entryPoint": 4131, + "id": 2388, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_address": { + "entryPoint": 4617, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_decode_tuple_t_address": { + "entryPoint": 4645, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bool": { + "entryPoint": 4733, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bool_fromMemory": { + "entryPoint": 4809, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bytes32": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bytes32t_address": { + "entryPoint": 4672, + "id": null, + "parameterSlots": 2, + "returnSlots": 2 + }, + "abi_decode_tuple_t_bytes4": { + "entryPoint": 4550, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_uint256": { + "entryPoint": 4592, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_uint256_fromMemory": { + "entryPoint": 4762, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_0f5404ed03256cc6395ed559bf52ccb5ab11bf8dddbd240da7e6d5ad4ab04dd7__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 4787, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_8f6e48ebe95c46ad356449234d760f7838119a9ccd28d70c8f8be00c200e3039__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874_t_string_memory_ptr_t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 4994, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_uint256__to_t_bytes32_t_uint256__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 5111, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_04fc88320d7c9f639317c75102c103ff0044d3075a5c627e24e76e5bbb2733c2__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 4838, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_add_t_uint256": { + "entryPoint": 5162, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_mul_t_uint256": { + "entryPoint": 4915, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "copy_memory_to_memory": { + "entryPoint": 4946, + "id": null, + "parameterSlots": 3, + "returnSlots": 0 + }, + "decrement_t_uint256": { + "entryPoint": 5230, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "panic_error_0x11": { + "entryPoint": 4893, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x32": { + "entryPoint": 5208, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x41": { + "entryPoint": 5186, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "validator_revert_bool": { + "entryPoint": 4716, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + } + }, + "generatedSources": [ + { + "ast": { + "nodeType": "YulBlock", + "src": "0:8756:14", + "statements": [ + { + "nodeType": "YulBlock", + "src": "6:3:14", + "statements": [] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "83:217:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "129:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "138:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "141:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "131:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "131:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "131:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "104:7:14" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "113:9:14" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "100:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "100:23:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "125:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "96:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "96:32:14" + }, + "nodeType": "YulIf", + "src": "93:52:14" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "154:36:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "180:9:14" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "167:12:14" + }, + "nodeType": "YulFunctionCall", + "src": "167:23:14" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "158:5:14", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "254:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "263:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "266:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "256:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "256:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "256:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "212:5:14" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "223:5:14" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "234:3:14", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "239:10:14", + "type": "", + "value": "0xffffffff" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "230:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "230:20:14" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "219:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "219:32:14" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "209:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "209:43:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "202:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "202:51:14" + }, + "nodeType": "YulIf", + "src": "199:71:14" + }, + { + "nodeType": "YulAssignment", + "src": "279:15:14", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "289:5:14" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "279:6:14" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bytes4", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "49:9:14", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "60:7:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "72:6:14", + "type": "" + } + ], + "src": "14:286:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "400:92:14", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "410:26:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "422:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "433:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "418:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "418:18:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "410:4:14" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "452:9:14" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "477:6:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "470:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "470:14:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "463:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "463:22:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "445:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "445:41:14" + }, + "nodeType": "YulExpressionStatement", + "src": "445:41:14" + } + ] + }, + "name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "369:9:14", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "380:6:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "391:4:14", + "type": "" + } + ], + "src": "305:187:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "598:76:14", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "608:26:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "620:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "631:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "616:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "616:18:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "608:4:14" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "650:9:14" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "661:6:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "643:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "643:25:14" + }, + "nodeType": "YulExpressionStatement", + "src": "643:25:14" + } + ] + }, + "name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "567:9:14", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "578:6:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "589:4:14", + "type": "" + } + ], + "src": "497:177:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "749:110:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "795:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "804:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "807:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "797:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "797:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "797:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "770:7:14" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "779:9:14" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "766:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "766:23:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "791:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "762:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "762:32:14" + }, + "nodeType": "YulIf", + "src": "759:52:14" + }, + { + "nodeType": "YulAssignment", + "src": "820:33:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "843:9:14" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "830:12:14" + }, + "nodeType": "YulFunctionCall", + "src": "830:23:14" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "820:6:14" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "715:9:14", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "726:7:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "738:6:14", + "type": "" + } + ], + "src": "679:180:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "934:110:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "980:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "989:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "992:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "982:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "982:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "982:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "955:7:14" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "964:9:14" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "951:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "951:23:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "976:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "947:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "947:32:14" + }, + "nodeType": "YulIf", + "src": "944:52:14" + }, + { + "nodeType": "YulAssignment", + "src": "1005:33:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1028:9:14" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1015:12:14" + }, + "nodeType": "YulFunctionCall", + "src": "1015:23:14" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1005:6:14" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bytes32", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "900:9:14", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "911:7:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "923:6:14", + "type": "" + } + ], + "src": "864:180:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1150:76:14", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "1160:26:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1172:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1183:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1168:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1168:18:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "1160:4:14" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1202:9:14" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1213:6:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1195:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1195:25:14" + }, + "nodeType": "YulExpressionStatement", + "src": "1195:25:14" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1119:9:14", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1130:6:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "1141:4:14", + "type": "" + } + ], + "src": "1049:177:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1280:124:14", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "1290:29:14", + "value": { + "arguments": [ + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "1312:6:14" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1299:12:14" + }, + "nodeType": "YulFunctionCall", + "src": "1299:20:14" + }, + "variableNames": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1290:5:14" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1382:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1391:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1394:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1384:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1384:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "1384:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1341:5:14" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1352:5:14" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1367:3:14", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1372:1:14", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "1363:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1363:11:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1376:1:14", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1359:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1359:19:14" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "1348:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1348:31:14" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "1338:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "1338:42:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "1331:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1331:50:14" + }, + "nodeType": "YulIf", + "src": "1328:70:14" + } + ] + }, + "name": "abi_decode_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "1259:6:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "1270:5:14", + "type": "" + } + ], + "src": "1231:173:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1479:116:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1525:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1534:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1537:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1527:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1527:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "1527:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "1500:7:14" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1509:9:14" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1496:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1496:23:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1521:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "1492:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1492:32:14" + }, + "nodeType": "YulIf", + "src": "1489:52:14" + }, + { + "nodeType": "YulAssignment", + "src": "1550:39:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1579:9:14" + } + ], + "functionName": { + "name": "abi_decode_address", + "nodeType": "YulIdentifier", + "src": "1560:18:14" + }, + "nodeType": "YulFunctionCall", + "src": "1560:29:14" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1550:6:14" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1445:9:14", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "1456:7:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1468:6:14", + "type": "" + } + ], + "src": "1409:186:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1687:167:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1733:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1742:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1745:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1735:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1735:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "1735:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "1708:7:14" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1717:9:14" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1704:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1704:23:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1729:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "1700:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1700:32:14" + }, + "nodeType": "YulIf", + "src": "1697:52:14" + }, + { + "nodeType": "YulAssignment", + "src": "1758:33:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1781:9:14" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1768:12:14" + }, + "nodeType": "YulFunctionCall", + "src": "1768:23:14" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1758:6:14" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "1800:48:14", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1833:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1844:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1829:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1829:18:14" + } + ], + "functionName": { + "name": "abi_decode_address", + "nodeType": "YulIdentifier", + "src": "1810:18:14" + }, + "nodeType": "YulFunctionCall", + "src": "1810:38:14" + }, + "variableNames": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "1800:6:14" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bytes32t_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1645:9:14", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "1656:7:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1668:6:14", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "1676:6:14", + "type": "" + } + ], + "src": "1600:254:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1901:76:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1955:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1964:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1967:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1957:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1957:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "1957:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1924:5:14" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1945:5:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "1938:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1938:13:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "1931:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1931:21:14" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "1921:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "1921:32:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "1914:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1914:40:14" + }, + "nodeType": "YulIf", + "src": "1911:60:14" + } + ] + }, + "name": "validator_revert_bool", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "1890:5:14", + "type": "" + } + ], + "src": "1859:118:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2049:174:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "2095:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2104:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2107:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "2097:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "2097:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "2097:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "2070:7:14" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2079:9:14" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "2066:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "2066:23:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2091:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "2062:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "2062:32:14" + }, + "nodeType": "YulIf", + "src": "2059:52:14" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "2120:36:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2146:9:14" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "2133:12:14" + }, + "nodeType": "YulFunctionCall", + "src": "2133:23:14" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "2124:5:14", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "2187:5:14" + } + ], + "functionName": { + "name": "validator_revert_bool", + "nodeType": "YulIdentifier", + "src": "2165:21:14" + }, + "nodeType": "YulFunctionCall", + "src": "2165:28:14" + }, + "nodeType": "YulExpressionStatement", + "src": "2165:28:14" + }, + { + "nodeType": "YulAssignment", + "src": "2202:15:14", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "2212:5:14" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "2202:6:14" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bool", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "2015:9:14", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "2026:7:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "2038:6:14", + "type": "" + } + ], + "src": "1982:241:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2420:70:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "2437:3:14" + }, + { + "hexValue": "706f6f6c4d617853697a65", + "kind": "string", + "nodeType": "YulLiteral", + "src": "2442:13:14", + "type": "", + "value": "poolMaxSize" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2430:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "2430:26:14" + }, + "nodeType": "YulExpressionStatement", + "src": "2430:26:14" + }, + { + "nodeType": "YulAssignment", + "src": "2465:19:14", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "2476:3:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2481:2:14", + "type": "", + "value": "11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2472:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "2472:12:14" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "2465:3:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "2404:3:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "2412:3:14", + "type": "" + } + ], + "src": "2228:262:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2576:103:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "2622:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2631:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2634:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "2624:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "2624:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "2624:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "2597:7:14" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2606:9:14" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "2593:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "2593:23:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2618:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "2589:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "2589:32:14" + }, + "nodeType": "YulIf", + "src": "2586:52:14" + }, + { + "nodeType": "YulAssignment", + "src": "2647:26:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2663:9:14" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "2657:5:14" + }, + "nodeType": "YulFunctionCall", + "src": "2657:16:14" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "2647:6:14" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_uint256_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "2542:9:14", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "2553:7:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "2565:6:14", + "type": "" + } + ], + "src": "2495:184:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2813:119:14", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "2823:26:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2835:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2846:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2831:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "2831:18:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "2823:4:14" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2865:9:14" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "2876:6:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2858:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "2858:25:14" + }, + "nodeType": "YulExpressionStatement", + "src": "2858:25:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2903:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2914:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2899:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "2899:18:14" + }, + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "2919:6:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2892:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "2892:34:14" + }, + "nodeType": "YulExpressionStatement", + "src": "2892:34:14" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_uint256__to_t_bytes32_t_uint256__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "2774:9:14", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "2785:6:14", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "2793:6:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "2804:4:14", + "type": "" + } + ], + "src": "2684:248:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3129:69:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "3146:3:14" + }, + { + "hexValue": "6973506f6f6c4c697665", + "kind": "string", + "nodeType": "YulLiteral", + "src": "3151:12:14", + "type": "", + "value": "isPoolLive" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3139:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "3139:25:14" + }, + "nodeType": "YulExpressionStatement", + "src": "3139:25:14" + }, + { + "nodeType": "YulAssignment", + "src": "3173:19:14", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "3184:3:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3189:2:14", + "type": "", + "value": "10" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3180:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "3180:12:14" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "3173:3:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "3113:3:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "3121:3:14", + "type": "" + } + ], + "src": "2937:261:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3281:167:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "3327:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3336:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3339:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "3329:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "3329:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "3329:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "3302:7:14" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3311:9:14" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "3298:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "3298:23:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3323:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "3294:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "3294:32:14" + }, + "nodeType": "YulIf", + "src": "3291:52:14" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "3352:29:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3371:9:14" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "3365:5:14" + }, + "nodeType": "YulFunctionCall", + "src": "3365:16:14" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "3356:5:14", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "3412:5:14" + } + ], + "functionName": { + "name": "validator_revert_bool", + "nodeType": "YulIdentifier", + "src": "3390:21:14" + }, + "nodeType": "YulFunctionCall", + "src": "3390:28:14" + }, + "nodeType": "YulExpressionStatement", + "src": "3390:28:14" + }, + { + "nodeType": "YulAssignment", + "src": "3427:15:14", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "3437:5:14" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "3427:6:14" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bool_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "3247:9:14", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "3258:7:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "3270:6:14", + "type": "" + } + ], + "src": "3203:245:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3627:237:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3644:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3655:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3637:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "3637:21:14" + }, + "nodeType": "YulExpressionStatement", + "src": "3637:21:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3678:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3689:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3674:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "3674:18:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3694:2:14", + "type": "", + "value": "47" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3667:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "3667:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "3667:30:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3717:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3728:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3713:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "3713:18:14" + }, + { + "hexValue": "416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e6365", + "kind": "string", + "nodeType": "YulLiteral", + "src": "3733:34:14", + "type": "", + "value": "AccessControl: can only renounce" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3706:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "3706:62:14" + }, + "nodeType": "YulExpressionStatement", + "src": "3706:62:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3788:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3799:2:14", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3784:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "3784:18:14" + }, + { + "hexValue": "20726f6c657320666f722073656c66", + "kind": "string", + "nodeType": "YulLiteral", + "src": "3804:17:14", + "type": "", + "value": " roles for self" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3777:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "3777:45:14" + }, + "nodeType": "YulExpressionStatement", + "src": "3777:45:14" + }, + { + "nodeType": "YulAssignment", + "src": "3831:27:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3843:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3854:3:14", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3839:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "3839:19:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "3831:4:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "3604:9:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "3618:4:14", + "type": "" + } + ], + "src": "3453:411:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4043:179:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4060:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4071:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4053:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "4053:21:14" + }, + "nodeType": "YulExpressionStatement", + "src": "4053:21:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4094:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4105:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4090:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "4090:18:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4110:2:14", + "type": "", + "value": "29" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4083:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "4083:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "4083:30:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4133:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4144:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4129:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "4129:18:14" + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4149:31:14", + "type": "", + "value": "The pool is currently closed." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4122:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "4122:59:14" + }, + "nodeType": "YulExpressionStatement", + "src": "4122:59:14" + }, + { + "nodeType": "YulAssignment", + "src": "4190:26:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4202:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4213:2:14", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4198:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "4198:18:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "4190:4:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "4020:9:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "4034:4:14", + "type": "" + } + ], + "src": "3869:353:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4419:74:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "4436:3:14" + }, + { + "hexValue": "6d696e436f6e747269627574696f6e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4441:17:14", + "type": "", + "value": "minContribution" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4429:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "4429:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "4429:30:14" + }, + { + "nodeType": "YulAssignment", + "src": "4468:19:14", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "4479:3:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4484:2:14", + "type": "", + "value": "15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4475:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "4475:12:14" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "4468:3:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "4403:3:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "4411:3:14", + "type": "" + } + ], + "src": "4227:266:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4690:72:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "4707:3:14" + }, + { + "hexValue": "64617973546f52657761726473", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4712:15:14", + "type": "", + "value": "daysToRewards" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4700:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "4700:28:14" + }, + "nodeType": "YulExpressionStatement", + "src": "4700:28:14" + }, + { + "nodeType": "YulAssignment", + "src": "4737:19:14", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "4748:3:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4753:2:14", + "type": "", + "value": "13" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4744:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "4744:12:14" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "4737:3:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "4674:3:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "4682:3:14", + "type": "" + } + ], + "src": "4498:264:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4799:95:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4816:1:14", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4823:3:14", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4828:10:14", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "4819:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "4819:20:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4809:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "4809:31:14" + }, + "nodeType": "YulExpressionStatement", + "src": "4809:31:14" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4856:1:14", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4859:4:14", + "type": "", + "value": "0x11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4849:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "4849:15:14" + }, + "nodeType": "YulExpressionStatement", + "src": "4849:15:14" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4880:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4883:4:14", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "4873:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "4873:15:14" + }, + "nodeType": "YulExpressionStatement", + "src": "4873:15:14" + } + ] + }, + "name": "panic_error_0x11", + "nodeType": "YulFunctionDefinition", + "src": "4767:127:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4951:116:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "5010:22:14", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "5012:16:14" + }, + "nodeType": "YulFunctionCall", + "src": "5012:18:14" + }, + "nodeType": "YulExpressionStatement", + "src": "5012:18:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "4982:1:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "4975:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "4975:9:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "4968:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "4968:17:14" + }, + { + "arguments": [ + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "4990:1:14" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5001:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "4997:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "4997:6:14" + }, + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "5005:1:14" + } + ], + "functionName": { + "name": "div", + "nodeType": "YulIdentifier", + "src": "4993:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "4993:14:14" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "4987:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "4987:21:14" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "4964:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "4964:45:14" + }, + "nodeType": "YulIf", + "src": "4961:71:14" + }, + { + "nodeType": "YulAssignment", + "src": "5041:20:14", + "value": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "5056:1:14" + }, + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "5059:1:14" + } + ], + "functionName": { + "name": "mul", + "nodeType": "YulIdentifier", + "src": "5052:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "5052:9:14" + }, + "variableNames": [ + { + "name": "product", + "nodeType": "YulIdentifier", + "src": "5041:7:14" + } + ] + } + ] + }, + "name": "checked_mul_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "x", + "nodeType": "YulTypedName", + "src": "4930:1:14", + "type": "" + }, + { + "name": "y", + "nodeType": "YulTypedName", + "src": "4933:1:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "product", + "nodeType": "YulTypedName", + "src": "4939:7:14", + "type": "" + } + ], + "src": "4899:168:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5264:76:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5281:3:14" + }, + { + "hexValue": "636f6e747269627574696f6e4c696d6974", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5286:19:14", + "type": "", + "value": "contributionLimit" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5274:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "5274:32:14" + }, + "nodeType": "YulExpressionStatement", + "src": "5274:32:14" + }, + { + "nodeType": "YulAssignment", + "src": "5315:19:14", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5326:3:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5331:2:14", + "type": "", + "value": "17" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5322:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "5322:12:14" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "5315:3:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "5248:3:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "5256:3:14", + "type": "" + } + ], + "src": "5072:268:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5537:83:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5554:3:14" + }, + { + "hexValue": "72657761726473496e746572657374506572506572696f64", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5559:26:14", + "type": "", + "value": "rewardsInterestPerPeriod" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5547:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "5547:39:14" + }, + "nodeType": "YulExpressionStatement", + "src": "5547:39:14" + }, + { + "nodeType": "YulAssignment", + "src": "5595:19:14", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5606:3:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5611:2:14", + "type": "", + "value": "24" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5602:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "5602:12:14" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "5595:3:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "5521:3:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "5529:3:14", + "type": "" + } + ], + "src": "5345:275:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5817:66:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5834:3:14" + }, + { + "hexValue": "706f6f6c46656573", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5839:10:14", + "type": "", + "value": "poolFees" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5827:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "5827:23:14" + }, + "nodeType": "YulExpressionStatement", + "src": "5827:23:14" + }, + { + "nodeType": "YulAssignment", + "src": "5859:18:14", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "5870:3:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5875:1:14", + "type": "", + "value": "8" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5866:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "5866:11:14" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "5859:3:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_0f5404ed03256cc6395ed559bf52ccb5ab11bf8dddbd240da7e6d5ad4ab04dd7__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "5801:3:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "5809:3:14", + "type": "" + } + ], + "src": "5625:258:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6080:70:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "6097:3:14" + }, + { + "hexValue": "706f6f6c46656573536574", + "kind": "string", + "nodeType": "YulLiteral", + "src": "6102:13:14", + "type": "", + "value": "poolFeesSet" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6090:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "6090:26:14" + }, + "nodeType": "YulExpressionStatement", + "src": "6090:26:14" + }, + { + "nodeType": "YulAssignment", + "src": "6125:19:14", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "6136:3:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6141:2:14", + "type": "", + "value": "11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6132:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "6132:12:14" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "6125:3:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_8f6e48ebe95c46ad356449234d760f7838119a9ccd28d70c8f8be00c200e3039__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "6064:3:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "6072:3:14", + "type": "" + } + ], + "src": "5888:262:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6278:135:14", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "6288:26:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6300:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6311:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6296:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "6296:18:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "6288:4:14" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6330:9:14" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "6341:6:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6323:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "6323:25:14" + }, + "nodeType": "YulExpressionStatement", + "src": "6323:25:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6368:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6379:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6364:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "6364:18:14" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "6398:6:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "6391:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "6391:14:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "6384:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "6384:22:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6357:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "6357:50:14" + }, + "nodeType": "YulExpressionStatement", + "src": "6357:50:14" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "6239:9:14", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "6250:6:14", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "6258:6:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "6269:4:14", + "type": "" + } + ], + "src": "6155:258:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6471:205:14", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "6481:10:14", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6490:1:14", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "i", + "nodeType": "YulTypedName", + "src": "6485:1:14", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6550:63:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nodeType": "YulIdentifier", + "src": "6575:3:14" + }, + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "6580:1:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6571:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "6571:11:14" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "src", + "nodeType": "YulIdentifier", + "src": "6594:3:14" + }, + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "6599:1:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6590:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "6590:11:14" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "6584:5:14" + }, + "nodeType": "YulFunctionCall", + "src": "6584:18:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6564:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "6564:39:14" + }, + "nodeType": "YulExpressionStatement", + "src": "6564:39:14" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "6511:1:14" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "6514:6:14" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "6508:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "6508:13:14" + }, + "nodeType": "YulForLoop", + "post": { + "nodeType": "YulBlock", + "src": "6522:19:14", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "6524:15:14", + "value": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "6533:1:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6536:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6529:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "6529:10:14" + }, + "variableNames": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "6524:1:14" + } + ] + } + ] + }, + "pre": { + "nodeType": "YulBlock", + "src": "6504:3:14", + "statements": [] + }, + "src": "6500:113:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6639:31:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nodeType": "YulIdentifier", + "src": "6652:3:14" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "6657:6:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6648:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "6648:16:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6666:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6641:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "6641:27:14" + }, + "nodeType": "YulExpressionStatement", + "src": "6641:27:14" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "6628:1:14" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "6631:6:14" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "6625:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "6625:13:14" + }, + "nodeType": "YulIf", + "src": "6622:48:14" + } + ] + }, + "name": "copy_memory_to_memory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "src", + "nodeType": "YulTypedName", + "src": "6449:3:14", + "type": "" + }, + { + "name": "dst", + "nodeType": "YulTypedName", + "src": "6454:3:14", + "type": "" + }, + { + "name": "length", + "nodeType": "YulTypedName", + "src": "6459:6:14", + "type": "" + } + ], + "src": "6418:258:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7070:397:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7087:3:14" + }, + { + "hexValue": "416363657373436f6e74726f6c3a206163636f756e7420", + "kind": "string", + "nodeType": "YulLiteral", + "src": "7092:25:14", + "type": "", + "value": "AccessControl: account " + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7080:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "7080:38:14" + }, + "nodeType": "YulExpressionStatement", + "src": "7080:38:14" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "7127:27:14", + "value": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "7147:6:14" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "7141:5:14" + }, + "nodeType": "YulFunctionCall", + "src": "7141:13:14" + }, + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "7131:6:14", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "7189:6:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7197:4:14", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7185:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "7185:17:14" + }, + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7208:3:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7213:2:14", + "type": "", + "value": "23" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7204:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "7204:12:14" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "7218:6:14" + } + ], + "functionName": { + "name": "copy_memory_to_memory", + "nodeType": "YulIdentifier", + "src": "7163:21:14" + }, + "nodeType": "YulFunctionCall", + "src": "7163:62:14" + }, + "nodeType": "YulExpressionStatement", + "src": "7163:62:14" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "7234:26:14", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7248:3:14" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "7253:6:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7244:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "7244:16:14" + }, + "variables": [ + { + "name": "_1", + "nodeType": "YulTypedName", + "src": "7238:2:14", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "7280:2:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7284:2:14", + "type": "", + "value": "23" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7276:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "7276:11:14" + }, + { + "hexValue": "206973206d697373696e6720726f6c6520", + "kind": "string", + "nodeType": "YulLiteral", + "src": "7289:19:14", + "type": "", + "value": " is missing role " + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7269:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "7269:40:14" + }, + "nodeType": "YulExpressionStatement", + "src": "7269:40:14" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "7318:29:14", + "value": { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "7340:6:14" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "7334:5:14" + }, + "nodeType": "YulFunctionCall", + "src": "7334:13:14" + }, + "variables": [ + { + "name": "length_1", + "nodeType": "YulTypedName", + "src": "7322:8:14", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "7382:6:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7390:4:14", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7378:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "7378:17:14" + }, + { + "arguments": [ + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "7401:2:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7405:2:14", + "type": "", + "value": "40" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7397:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "7397:11:14" + }, + { + "name": "length_1", + "nodeType": "YulIdentifier", + "src": "7410:8:14" + } + ], + "functionName": { + "name": "copy_memory_to_memory", + "nodeType": "YulIdentifier", + "src": "7356:21:14" + }, + "nodeType": "YulFunctionCall", + "src": "7356:63:14" + }, + "nodeType": "YulExpressionStatement", + "src": "7356:63:14" + }, + { + "nodeType": "YulAssignment", + "src": "7428:33:14", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "7443:2:14" + }, + { + "name": "length_1", + "nodeType": "YulIdentifier", + "src": "7447:8:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7439:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "7439:17:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7458:2:14", + "type": "", + "value": "40" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7435:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "7435:26:14" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "7428:3:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874_t_string_memory_ptr_t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "7038:3:14", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "7043:6:14", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "7051:6:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "7062:3:14", + "type": "" + } + ], + "src": "6681:786:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7593:262:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7610:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7621:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7603:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "7603:21:14" + }, + "nodeType": "YulExpressionStatement", + "src": "7603:21:14" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "7633:27:14", + "value": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "7653:6:14" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "7647:5:14" + }, + "nodeType": "YulFunctionCall", + "src": "7647:13:14" + }, + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "7637:6:14", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7680:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7691:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7676:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "7676:18:14" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "7696:6:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7669:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "7669:34:14" + }, + "nodeType": "YulExpressionStatement", + "src": "7669:34:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "7738:6:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7746:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7734:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "7734:15:14" + }, + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7755:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7766:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7751:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "7751:18:14" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "7771:6:14" + } + ], + "functionName": { + "name": "copy_memory_to_memory", + "nodeType": "YulIdentifier", + "src": "7712:21:14" + }, + "nodeType": "YulFunctionCall", + "src": "7712:66:14" + }, + "nodeType": "YulExpressionStatement", + "src": "7712:66:14" + }, + { + "nodeType": "YulAssignment", + "src": "7787:62:14", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7803:9:14" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "7822:6:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7830:2:14", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7818:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "7818:15:14" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7839:2:14", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "7835:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "7835:7:14" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "7814:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "7814:29:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7799:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "7799:45:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7846:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7795:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "7795:54:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "7787:4:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "7562:9:14", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "7573:6:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "7584:4:14", + "type": "" + } + ], + "src": "7472:383:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7908:80:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "7935:22:14", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "7937:16:14" + }, + "nodeType": "YulFunctionCall", + "src": "7937:18:14" + }, + "nodeType": "YulExpressionStatement", + "src": "7937:18:14" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "7924:1:14" + }, + { + "arguments": [ + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "7931:1:14" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "7927:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "7927:6:14" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "7921:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "7921:13:14" + }, + "nodeType": "YulIf", + "src": "7918:39:14" + }, + { + "nodeType": "YulAssignment", + "src": "7966:16:14", + "value": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "7977:1:14" + }, + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "7980:1:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7973:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "7973:9:14" + }, + "variableNames": [ + { + "name": "sum", + "nodeType": "YulIdentifier", + "src": "7966:3:14" + } + ] + } + ] + }, + "name": "checked_add_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "x", + "nodeType": "YulTypedName", + "src": "7891:1:14", + "type": "" + }, + { + "name": "y", + "nodeType": "YulTypedName", + "src": "7894:1:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "sum", + "nodeType": "YulTypedName", + "src": "7900:3:14", + "type": "" + } + ], + "src": "7860:128:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8025:95:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8042:1:14", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8049:3:14", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8054:10:14", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "8045:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "8045:20:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8035:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "8035:31:14" + }, + "nodeType": "YulExpressionStatement", + "src": "8035:31:14" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8082:1:14", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8085:4:14", + "type": "", + "value": "0x41" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8075:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "8075:15:14" + }, + "nodeType": "YulExpressionStatement", + "src": "8075:15:14" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8106:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8109:4:14", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "8099:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "8099:15:14" + }, + "nodeType": "YulExpressionStatement", + "src": "8099:15:14" + } + ] + }, + "name": "panic_error_0x41", + "nodeType": "YulFunctionDefinition", + "src": "7993:127:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8157:95:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8174:1:14", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8181:3:14", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8186:10:14", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "8177:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "8177:20:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8167:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "8167:31:14" + }, + "nodeType": "YulExpressionStatement", + "src": "8167:31:14" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8214:1:14", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8217:4:14", + "type": "", + "value": "0x32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8207:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "8207:15:14" + }, + "nodeType": "YulExpressionStatement", + "src": "8207:15:14" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8238:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8241:4:14", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "8231:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "8231:15:14" + }, + "nodeType": "YulExpressionStatement", + "src": "8231:15:14" + } + ] + }, + "name": "panic_error_0x32", + "nodeType": "YulFunctionDefinition", + "src": "8125:127:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8304:89:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "8331:22:14", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "8333:16:14" + }, + "nodeType": "YulFunctionCall", + "src": "8333:18:14" + }, + "nodeType": "YulExpressionStatement", + "src": "8333:18:14" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "8324:5:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "8317:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "8317:13:14" + }, + "nodeType": "YulIf", + "src": "8314:39:14" + }, + { + "nodeType": "YulAssignment", + "src": "8362:25:14", + "value": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "8373:5:14" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8384:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "8380:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "8380:6:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8369:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "8369:18:14" + }, + "variableNames": [ + { + "name": "ret", + "nodeType": "YulIdentifier", + "src": "8362:3:14" + } + ] + } + ] + }, + "name": "decrement_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "8286:5:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "ret", + "nodeType": "YulTypedName", + "src": "8296:3:14", + "type": "" + } + ], + "src": "8257:136:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8572:182:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8589:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8600:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8582:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "8582:21:14" + }, + "nodeType": "YulExpressionStatement", + "src": "8582:21:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8623:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8634:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8619:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "8619:18:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8639:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8612:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "8612:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "8612:30:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8662:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8673:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8658:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "8658:18:14" + }, + { + "hexValue": "537472696e67733a20686578206c656e67746820696e73756666696369656e74", + "kind": "string", + "nodeType": "YulLiteral", + "src": "8678:34:14", + "type": "", + "value": "Strings: hex length insufficient" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8651:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "8651:62:14" + }, + "nodeType": "YulExpressionStatement", + "src": "8651:62:14" + }, + { + "nodeType": "YulAssignment", + "src": "8722:26:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8734:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8745:2:14", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8730:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "8730:18:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "8722:4:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_04fc88320d7c9f639317c75102c103ff0044d3075a5c627e24e76e5bbb2733c2__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "8549:9:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "8563:4:14", + "type": "" + } + ], + "src": "8398:356:14" + } + ] + }, + "contents": "{\n { }\n function abi_decode_tuple_t_bytes4(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n if iszero(eq(value, and(value, shl(224, 0xffffffff)))) { revert(0, 0) }\n value0 := value\n }\n function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, iszero(iszero(value0)))\n }\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := calldataload(headStart)\n }\n function abi_decode_tuple_t_bytes32(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := calldataload(headStart)\n }\n function abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function abi_decode_address(offset) -> value\n {\n value := calldataload(offset)\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n }\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := abi_decode_address(headStart)\n }\n function abi_decode_tuple_t_bytes32t_address(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n value0 := calldataload(headStart)\n value1 := abi_decode_address(add(headStart, 32))\n }\n function validator_revert_bool(value)\n {\n if iszero(eq(value, iszero(iszero(value)))) { revert(0, 0) }\n }\n function abi_decode_tuple_t_bool(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_bool(value)\n value0 := value\n }\n function abi_encode_tuple_packed_t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"poolMaxSize\")\n end := add(pos, 11)\n }\n function abi_decode_tuple_t_uint256_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := mload(headStart)\n }\n function abi_encode_tuple_t_bytes32_t_uint256__to_t_bytes32_t_uint256__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), value1)\n }\n function abi_encode_tuple_packed_t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"isPoolLive\")\n end := add(pos, 10)\n }\n function abi_decode_tuple_t_bool_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := mload(headStart)\n validator_revert_bool(value)\n value0 := value\n }\n function abi_encode_tuple_t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 47)\n mstore(add(headStart, 64), \"AccessControl: can only renounce\")\n mstore(add(headStart, 96), \" roles for self\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 29)\n mstore(add(headStart, 64), \"The pool is currently closed.\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_packed_t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"minContribution\")\n end := add(pos, 15)\n }\n function abi_encode_tuple_packed_t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"daysToRewards\")\n end := add(pos, 13)\n }\n function panic_error_0x11()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n function checked_mul_t_uint256(x, y) -> product\n {\n if and(iszero(iszero(x)), gt(y, div(not(0), x))) { panic_error_0x11() }\n product := mul(x, y)\n }\n function abi_encode_tuple_packed_t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"contributionLimit\")\n end := add(pos, 17)\n }\n function abi_encode_tuple_packed_t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"rewardsInterestPerPeriod\")\n end := add(pos, 24)\n }\n function abi_encode_tuple_packed_t_stringliteral_0f5404ed03256cc6395ed559bf52ccb5ab11bf8dddbd240da7e6d5ad4ab04dd7__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"poolFees\")\n end := add(pos, 8)\n }\n function abi_encode_tuple_packed_t_stringliteral_8f6e48ebe95c46ad356449234d760f7838119a9ccd28d70c8f8be00c200e3039__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"poolFeesSet\")\n end := add(pos, 11)\n }\n function abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), iszero(iszero(value1)))\n }\n function copy_memory_to_memory(src, dst, length)\n {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n if gt(i, length) { mstore(add(dst, length), 0) }\n }\n function abi_encode_tuple_packed_t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874_t_string_memory_ptr_t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos, value1, value0) -> end\n {\n mstore(pos, \"AccessControl: account \")\n let length := mload(value0)\n copy_memory_to_memory(add(value0, 0x20), add(pos, 23), length)\n let _1 := add(pos, length)\n mstore(add(_1, 23), \" is missing role \")\n let length_1 := mload(value1)\n copy_memory_to_memory(add(value1, 0x20), add(_1, 40), length_1)\n end := add(add(_1, length_1), 40)\n }\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n mstore(headStart, 32)\n let length := mload(value0)\n mstore(add(headStart, 32), length)\n copy_memory_to_memory(add(value0, 32), add(headStart, 64), length)\n tail := add(add(headStart, and(add(length, 31), not(31))), 64)\n }\n function checked_add_t_uint256(x, y) -> sum\n {\n if gt(x, not(y)) { panic_error_0x11() }\n sum := add(x, y)\n }\n function panic_error_0x41()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n function panic_error_0x32()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x32)\n revert(0, 0x24)\n }\n function decrement_t_uint256(value) -> ret\n {\n if iszero(value) { panic_error_0x11() }\n ret := add(value, not(0))\n }\n function abi_encode_tuple_t_stringliteral_04fc88320d7c9f639317c75102c103ff0044d3075a5c627e24e76e5bbb2733c2__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 32)\n mstore(add(headStart, 64), \"Strings: hex length insufficient\")\n tail := add(headStart, 96)\n }\n}", + "id": 14, + "language": "Yul", + "name": "#utility.yul" + } + ], + "immutableReferences": {}, + "linkReferences": {}, + "object": "608060405234801561001057600080fd5b50600436106101585760003560e01c8063543edfb6116100c3578063a217fddf1161007c578063a217fddf146102b3578063a4975516146102bb578063bf4c0036146102ce578063d1d8d060146102e1578063d547741f146102e9578063fa1e19e5146102fc57600080fd5b8063543edfb61461025557806362308e851461025d57806372d099a0146102725780637521796f146102855780638dd225d51461028d57806391d14854146102a057600080fd5b80632f2ff15d116101155780632f2ff15d146101ee57806336568abe1461020157806345077e7114610214578063473b0d4614610227578063497d02411461023a57806353710f491461024257600080fd5b806301ffc9a71461015d578063095df57f14610185578063126469871461019b578063217ac237146101b0578063248a9ca3146101b857806329ca15bc146101db575b600080fd5b61017061016b3660046111c6565b610304565b60405190151581526020015b60405180910390f35b61018d61033b565b60405190815260200161017c565b6101ae6101a93660046111f0565b6103f8565b005b6101706104b1565b61018d6101c63660046111f0565b60009081526020819052604090206001015490565b6101ae6101e9366004611225565b610556565b6101ae6101fc366004611240565b6105b2565b6101ae61020f366004611240565b6105dd565b6101ae610222366004611225565b610660565b6101ae6102353660046111f0565b6106bc565b61018d6107bf565b6101ae6102503660046111f0565b6107e5565b61018d61093f565b61018d60008051602061148683398151915281565b6101ae6102803660046111f0565b610967565b61018d610a6c565b6101ae61029b3660046111f0565b610a9d565b6101706102ae366004611240565b610cb6565b61018d600081565b6101ae6102c936600461127d565b610cdf565b6101ae6102dc3660046111f0565b610d59565b61018d610e65565b6101ae6102f7366004611240565b610e86565b61018d610eac565b60006001600160e01b03198216637965db0b60e01b148061033557506301ffc9a760e01b6001600160e01b03198316145b92915050565b60008060405160200161035f906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b1580156103ba57600080fd5b505afa1580156103ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f2919061129a565b91505090565b6000805160206114868339815191526104118133610ed6565b6040516a706f6f6c4d617853697a6560a81b6020820152600090602b015b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018690529092506001600160a01b0316906328192c55906044015b600060405180830381600087803b15801561049457600080fd5b505af11580156104a8573d6000803e3d6000fd5b50505050505050565b6000806040516020016104c3906112b3565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561051e57600080fd5b505afa158015610532573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f291906112c9565b60006105628133610ed6565b61057a60008051602061148683398151915283610e86565b6040516001600160a01b038316907fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd3190600090a25050565b6000828152602081905260409020600101546105ce8133610ed6565b6105d88383610f3a565b505050565b6001600160a01b03811633146106525760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b61065c8282610fbe565b5050565b600061066c8133610ed6565b610684600080516020611486833981519152836105b2565b6040516001600160a01b038316907fd873e3f571dc25e020cefdeb7255b3874ead3aade1f94a5fb4a5da831fd670cd90600090a25050565b6000805160206114868339815191526106d58133610ed6565b6002546040516001600160a01b03909116906355d94655906106f9906020016112b3565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161072d91815260200190565b60206040518083038186803b15801561074557600080fd5b505afa158015610759573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077d91906112c9565b6107995760405162461bcd60e51b8152600401610649906112e6565b6040516e36b4b721b7b73a3934b13aba34b7b760891b6020820152600090602f0161042f565b60008060405160200161035f906c64617973546f5265776172647360981b8152600d0190565b6000805160206114868339815191526107fe8133610ed6565b6002546040516001600160a01b03909116906355d9465590610822906020016112b3565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161085691815260200190565b60206040518083038186803b15801561086e57600080fd5b505afa158015610882573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a691906112c9565b6108c25760405162461bcd60e51b8152600401610649906112e6565b604080516c64617973546f5265776172647360981b6020808301919091528251600d818403018152602d90920190925280519101206002546001600160a01b03166328192c55826109168662015180611333565b6040516001600160e01b031960e085901b1681526004810192909252602482015260440161047a565b60008060405160200161035f906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b6000805160206114868339815191526109808133610ed6565b6002546040516001600160a01b03909116906355d94655906109a4906020016112b3565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b81526004016109d891815260200190565b60206040518083038186803b1580156109f057600080fd5b505afa158015610a04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a2891906112c9565b610a445760405162461bcd60e51b8152600401610649906112e6565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b602082015260009060310161042f565b60008060405160200161035f90771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b600080516020611486833981519152610ab68133610ed6565b6002546040516001600160a01b03909116906355d9465590610ada906020016112b3565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610b0e91815260200190565b60206040518083038186803b158015610b2657600080fd5b505afa158015610b3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5e91906112c9565b610b7a5760405162461bcd60e51b8152600401610649906112e6565b60405167706f6f6c4665657360c01b60208201526000906028016040516020818303038152906040528051906020012090506000604051602001610bcf906a1c1bdbdb1199595cd4d95d60aa1b8152600b0190565b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301859052602483018790529092506001600160a01b0316906328192c5590604401600060405180830381600087803b158015610c3357600080fd5b505af1158015610c47573d6000803e3d6000fd5b505060025460405163988c515b60e01b815260048101859052600160248201526001600160a01b03909116925063988c515b9150604401600060405180830381600087803b158015610c9857600080fd5b505af1158015610cac573d6000803e3d6000fd5b5050505050505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020611486833981519152610cf88133610ed6565b6000604051602001610d09906112b3565b60408051808303601f1901815290829052805160209091012060025463988c515b60e01b83526004830182905285151560248401529092506001600160a01b03169063988c515b9060440161047a565b600080516020611486833981519152610d728133610ed6565b6002546040516001600160a01b03909116906355d9465590610d96906020016112b3565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610dca91815260200190565b60206040518083038186803b158015610de257600080fd5b505afa158015610df6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1a91906112c9565b610e365760405162461bcd60e51b8152600401610649906112e6565b604051771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b602082015260009060380161042f565b60008060405160200161035f9067706f6f6c4665657360c01b815260080190565b600082815260208190526040902060010154610ea28133610ed6565b6105d88383610fbe565b60008060405160200161035f907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b610ee08282610cb6565b61065c57610ef8816001600160a01b03166014611023565b610f03836020611023565b604051602001610f14929190611382565b60408051601f198184030181529082905262461bcd60e51b8252610649916004016113f7565b610f448282610cb6565b61065c576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055610f7a3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610fc88282610cb6565b1561065c576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60606000611032836002611333565b61103d90600261142a565b67ffffffffffffffff81111561105557611055611442565b6040519080825280601f01601f19166020018201604052801561107f576020820181803683370190505b509050600360fc1b8160008151811061109a5761109a611458565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106110c9576110c9611458565b60200101906001600160f81b031916908160001a90535060006110ed846002611333565b6110f890600161142a565b90505b6001811115611170576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061112c5761112c611458565b1a60f81b82828151811061114257611142611458565b60200101906001600160f81b031916908160001a90535060049490941c936111698161146e565b90506110fb565b5083156111bf5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610649565b9392505050565b6000602082840312156111d857600080fd5b81356001600160e01b0319811681146111bf57600080fd5b60006020828403121561120257600080fd5b5035919050565b80356001600160a01b038116811461122057600080fd5b919050565b60006020828403121561123757600080fd5b6111bf82611209565b6000806040838503121561125357600080fd5b8235915061126360208401611209565b90509250929050565b801515811461127a57600080fd5b50565b60006020828403121561128f57600080fd5b81356111bf8161126c565b6000602082840312156112ac57600080fd5b5051919050565b696973506f6f6c4c69766560b01b8152600a0190565b6000602082840312156112db57600080fd5b81516111bf8161126c565b6020808252601d908201527f54686520706f6f6c2069732063757272656e746c7920636c6f7365642e000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561134d5761134d61131d565b500290565b60005b8381101561136d578181015183820152602001611355565b8381111561137c576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516113ba816017850160208801611352565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516113eb816028840160208801611352565b01602801949350505050565b6020815260008251806020840152611416816040850160208701611352565b601f01601f19169190910160400192915050565b6000821982111561143d5761143d61131d565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60008161147d5761147d61131d565b50600019019056fe41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842a2646970667358221220d8b3c0aadd811f2a444ea408495622894b768a5da3dc0f58e2d1788729f1bd0a64736f6c63430008090033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x158 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x543EDFB6 GT PUSH2 0xC3 JUMPI DUP1 PUSH4 0xA217FDDF GT PUSH2 0x7C JUMPI DUP1 PUSH4 0xA217FDDF EQ PUSH2 0x2B3 JUMPI DUP1 PUSH4 0xA4975516 EQ PUSH2 0x2BB JUMPI DUP1 PUSH4 0xBF4C0036 EQ PUSH2 0x2CE JUMPI DUP1 PUSH4 0xD1D8D060 EQ PUSH2 0x2E1 JUMPI DUP1 PUSH4 0xD547741F EQ PUSH2 0x2E9 JUMPI DUP1 PUSH4 0xFA1E19E5 EQ PUSH2 0x2FC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x543EDFB6 EQ PUSH2 0x255 JUMPI DUP1 PUSH4 0x62308E85 EQ PUSH2 0x25D JUMPI DUP1 PUSH4 0x72D099A0 EQ PUSH2 0x272 JUMPI DUP1 PUSH4 0x7521796F EQ PUSH2 0x285 JUMPI DUP1 PUSH4 0x8DD225D5 EQ PUSH2 0x28D JUMPI DUP1 PUSH4 0x91D14854 EQ PUSH2 0x2A0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x2F2FF15D GT PUSH2 0x115 JUMPI DUP1 PUSH4 0x2F2FF15D EQ PUSH2 0x1EE JUMPI DUP1 PUSH4 0x36568ABE EQ PUSH2 0x201 JUMPI DUP1 PUSH4 0x45077E71 EQ PUSH2 0x214 JUMPI DUP1 PUSH4 0x473B0D46 EQ PUSH2 0x227 JUMPI DUP1 PUSH4 0x497D0241 EQ PUSH2 0x23A JUMPI DUP1 PUSH4 0x53710F49 EQ PUSH2 0x242 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x15D JUMPI DUP1 PUSH4 0x95DF57F EQ PUSH2 0x185 JUMPI DUP1 PUSH4 0x12646987 EQ PUSH2 0x19B JUMPI DUP1 PUSH4 0x217AC237 EQ PUSH2 0x1B0 JUMPI DUP1 PUSH4 0x248A9CA3 EQ PUSH2 0x1B8 JUMPI DUP1 PUSH4 0x29CA15BC EQ PUSH2 0x1DB JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x170 PUSH2 0x16B CALLDATASIZE PUSH1 0x4 PUSH2 0x11C6 JUMP JUMPDEST PUSH2 0x304 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x18D PUSH2 0x33B JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x17C JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x1A9 CALLDATASIZE PUSH1 0x4 PUSH2 0x11F0 JUMP JUMPDEST PUSH2 0x3F8 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x170 PUSH2 0x4B1 JUMP JUMPDEST PUSH2 0x18D PUSH2 0x1C6 CALLDATASIZE PUSH1 0x4 PUSH2 0x11F0 JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x1E9 CALLDATASIZE PUSH1 0x4 PUSH2 0x1225 JUMP JUMPDEST PUSH2 0x556 JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x1FC CALLDATASIZE PUSH1 0x4 PUSH2 0x1240 JUMP JUMPDEST PUSH2 0x5B2 JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x20F CALLDATASIZE PUSH1 0x4 PUSH2 0x1240 JUMP JUMPDEST PUSH2 0x5DD JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x222 CALLDATASIZE PUSH1 0x4 PUSH2 0x1225 JUMP JUMPDEST PUSH2 0x660 JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x235 CALLDATASIZE PUSH1 0x4 PUSH2 0x11F0 JUMP JUMPDEST PUSH2 0x6BC JUMP JUMPDEST PUSH2 0x18D PUSH2 0x7BF JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x250 CALLDATASIZE PUSH1 0x4 PUSH2 0x11F0 JUMP JUMPDEST PUSH2 0x7E5 JUMP JUMPDEST PUSH2 0x18D PUSH2 0x93F JUMP JUMPDEST PUSH2 0x18D PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x280 CALLDATASIZE PUSH1 0x4 PUSH2 0x11F0 JUMP JUMPDEST PUSH2 0x967 JUMP JUMPDEST PUSH2 0x18D PUSH2 0xA6C JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x29B CALLDATASIZE PUSH1 0x4 PUSH2 0x11F0 JUMP JUMPDEST PUSH2 0xA9D JUMP JUMPDEST PUSH2 0x170 PUSH2 0x2AE CALLDATASIZE PUSH1 0x4 PUSH2 0x1240 JUMP JUMPDEST PUSH2 0xCB6 JUMP JUMPDEST PUSH2 0x18D PUSH1 0x0 DUP2 JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x2C9 CALLDATASIZE PUSH1 0x4 PUSH2 0x127D JUMP JUMPDEST PUSH2 0xCDF JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x2DC CALLDATASIZE PUSH1 0x4 PUSH2 0x11F0 JUMP JUMPDEST PUSH2 0xD59 JUMP JUMPDEST PUSH2 0x18D PUSH2 0xE65 JUMP JUMPDEST PUSH2 0x1AE PUSH2 0x2F7 CALLDATASIZE PUSH1 0x4 PUSH2 0x1240 JUMP JUMPDEST PUSH2 0xE86 JUMP JUMPDEST PUSH2 0x18D PUSH2 0xEAC JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH4 0x7965DB0B PUSH1 0xE0 SHL EQ DUP1 PUSH2 0x335 JUMPI POP PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP4 AND EQ JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x35F SWAP1 PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL DUP2 MSTORE PUSH1 0xB ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x3BA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x3CE JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x3F2 SWAP2 SWAP1 PUSH2 0x129A JUMP JUMPDEST SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x411 DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2B ADD JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP7 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x494 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x4A8 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x4C3 SWAP1 PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x55D94655 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x51E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x532 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x3F2 SWAP2 SWAP1 PUSH2 0x12C9 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x562 DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH2 0x57A PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0xE86 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xEF69F7D97228658C92417BE1B16B19058315DE71FECB435D07B7D23728B6BD31 SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0x5CE DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH2 0x5D8 DUP4 DUP4 PUSH2 0xF3A JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND CALLER EQ PUSH2 0x652 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416363657373436F6E74726F6C3A2063616E206F6E6C792072656E6F756E6365 PUSH1 0x44 DUP3 ADD MSTORE PUSH15 0x103937B632B9903337B91039B2B633 PUSH1 0x89 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x65C DUP3 DUP3 PUSH2 0xFBE JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x66C DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH2 0x684 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0x5B2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xD873E3F571DC25E020CEFDEB7255B3874EAD3AADE1F94A5FB4A5DA831FD670CD SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x6D5 DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x6F9 SWAP1 PUSH1 0x20 ADD PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x72D SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x745 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x759 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x77D SWAP2 SWAP1 PUSH2 0x12C9 JUMP JUMPDEST PUSH2 0x799 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x649 SWAP1 PUSH2 0x12E6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2F ADD PUSH2 0x42F JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x35F SWAP1 PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL DUP2 MSTORE PUSH1 0xD ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x7FE DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x822 SWAP1 PUSH1 0x20 ADD PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x856 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x86E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x882 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x8A6 SWAP2 SWAP1 PUSH2 0x12C9 JUMP JUMPDEST PUSH2 0x8C2 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x649 SWAP1 PUSH2 0x12E6 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL PUSH1 0x20 DUP1 DUP4 ADD SWAP2 SWAP1 SWAP2 MSTORE DUP3 MLOAD PUSH1 0xD DUP2 DUP5 SUB ADD DUP2 MSTORE PUSH1 0x2D SWAP1 SWAP3 ADD SWAP1 SWAP3 MSTORE DUP1 MLOAD SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x28192C55 DUP3 PUSH2 0x916 DUP7 PUSH3 0x15180 PUSH2 0x1333 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT PUSH1 0xE0 DUP6 SWAP1 SHL AND DUP2 MSTORE PUSH1 0x4 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH2 0x47A JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x35F SWAP1 PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL DUP2 MSTORE PUSH1 0xF ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x980 DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x9A4 SWAP1 PUSH1 0x20 ADD PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x9D8 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x9F0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xA04 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xA28 SWAP2 SWAP1 PUSH2 0x12C9 JUMP JUMPDEST PUSH2 0xA44 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x649 SWAP1 PUSH2 0x12E6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x31 ADD PUSH2 0x42F JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x35F SWAP1 PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL DUP2 MSTORE PUSH1 0x18 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xAB6 DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xADA SWAP1 PUSH1 0x20 ADD PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xB0E SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xB26 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xB3A JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xB5E SWAP2 SWAP1 PUSH2 0x12C9 JUMP JUMPDEST PUSH2 0xB7A JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x649 SWAP1 PUSH2 0x12E6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH8 0x706F6F6C46656573 PUSH1 0xC0 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x28 ADD PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xBCF SWAP1 PUSH11 0x1C1BDBDB1199595CD4D95D PUSH1 0xAA SHL DUP2 MSTORE PUSH1 0xB ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP6 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP8 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xC33 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xC47 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0x988C515B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP6 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP3 POP PUSH4 0x988C515B SWAP2 POP PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xC98 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xCAC JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP3 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 SWAP1 SWAP4 AND DUP5 MSTORE SWAP2 SWAP1 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xCF8 DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xD09 SWAP1 PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x988C515B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE DUP6 ISZERO ISZERO PUSH1 0x24 DUP5 ADD MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x988C515B SWAP1 PUSH1 0x44 ADD PUSH2 0x47A JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x1486 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0xD72 DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xD96 SWAP1 PUSH1 0x20 ADD PUSH2 0x12B3 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xDCA SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xDE2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xDF6 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xE1A SWAP2 SWAP1 PUSH2 0x12C9 JUMP JUMPDEST PUSH2 0xE36 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x649 SWAP1 PUSH2 0x12E6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x38 ADD PUSH2 0x42F JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x35F SWAP1 PUSH8 0x706F6F6C46656573 PUSH1 0xC0 SHL DUP2 MSTORE PUSH1 0x8 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0xEA2 DUP2 CALLER PUSH2 0xED6 JUMP JUMPDEST PUSH2 0x5D8 DUP4 DUP4 PUSH2 0xFBE JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x35F SWAP1 PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL DUP2 MSTORE PUSH1 0x11 ADD SWAP1 JUMP JUMPDEST PUSH2 0xEE0 DUP3 DUP3 PUSH2 0xCB6 JUMP JUMPDEST PUSH2 0x65C JUMPI PUSH2 0xEF8 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x14 PUSH2 0x1023 JUMP JUMPDEST PUSH2 0xF03 DUP4 PUSH1 0x20 PUSH2 0x1023 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0xF14 SWAP3 SWAP2 SWAP1 PUSH2 0x1382 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE PUSH3 0x461BCD PUSH1 0xE5 SHL DUP3 MSTORE PUSH2 0x649 SWAP2 PUSH1 0x4 ADD PUSH2 0x13F7 JUMP JUMPDEST PUSH2 0xF44 DUP3 DUP3 PUSH2 0xCB6 JUMP JUMPDEST PUSH2 0x65C JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH2 0xF7A CALLER SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH2 0xFC8 DUP3 DUP3 PUSH2 0xCB6 JUMP JUMPDEST ISZERO PUSH2 0x65C JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP1 DUP6 MSTORE SWAP3 MSTORE DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE MLOAD CALLER SWAP3 DUP6 SWAP2 PUSH32 0xF6391F5C32D9C69D2A47EA670B442974B53935D1EDC7FD64EB21E047A839171B SWAP2 SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH2 0x1032 DUP4 PUSH1 0x2 PUSH2 0x1333 JUMP JUMPDEST PUSH2 0x103D SWAP1 PUSH1 0x2 PUSH2 0x142A JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x1055 JUMPI PUSH2 0x1055 PUSH2 0x1442 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x107F JUMPI PUSH1 0x20 DUP3 ADD DUP2 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x3 PUSH1 0xFC SHL DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x109A JUMPI PUSH2 0x109A PUSH2 0x1458 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0xF PUSH1 0xFB SHL DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x10C9 JUMPI PUSH2 0x10C9 PUSH2 0x1458 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x0 PUSH2 0x10ED DUP5 PUSH1 0x2 PUSH2 0x1333 JUMP JUMPDEST PUSH2 0x10F8 SWAP1 PUSH1 0x1 PUSH2 0x142A JUMP JUMPDEST SWAP1 POP JUMPDEST PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x1170 JUMPI PUSH16 0x181899199A1A9B1B9C1CB0B131B232B3 PUSH1 0x81 SHL DUP6 PUSH1 0xF AND PUSH1 0x10 DUP2 LT PUSH2 0x112C JUMPI PUSH2 0x112C PUSH2 0x1458 JUMP JUMPDEST BYTE PUSH1 0xF8 SHL DUP3 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x1142 JUMPI PUSH2 0x1142 PUSH2 0x1458 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x4 SWAP5 SWAP1 SWAP5 SHR SWAP4 PUSH2 0x1169 DUP2 PUSH2 0x146E JUMP JUMPDEST SWAP1 POP PUSH2 0x10FB JUMP JUMPDEST POP DUP4 ISZERO PUSH2 0x11BF JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x537472696E67733A20686578206C656E67746820696E73756666696369656E74 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x649 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x11D8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND DUP2 EQ PUSH2 0x11BF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1202 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x1220 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1237 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x11BF DUP3 PUSH2 0x1209 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1253 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD SWAP2 POP PUSH2 0x1263 PUSH1 0x20 DUP5 ADD PUSH2 0x1209 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0x127A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x128F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x11BF DUP2 PUSH2 0x126C JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x12AC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH10 0x6973506F6F6C4C697665 PUSH1 0xB0 SHL DUP2 MSTORE PUSH1 0xA ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x12DB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x11BF DUP2 PUSH2 0x126C JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1D SWAP1 DUP3 ADD MSTORE PUSH32 0x54686520706F6F6C2069732063757272656E746C7920636C6F7365642E000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x0 NOT DIV DUP4 GT DUP3 ISZERO ISZERO AND ISZERO PUSH2 0x134D JUMPI PUSH2 0x134D PUSH2 0x131D JUMP JUMPDEST POP MUL SWAP1 JUMP JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x136D JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x1355 JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x137C JUMPI PUSH1 0x0 DUP5 DUP5 ADD MSTORE JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH32 0x416363657373436F6E74726F6C3A206163636F756E7420000000000000000000 DUP2 MSTORE PUSH1 0x0 DUP4 MLOAD PUSH2 0x13BA DUP2 PUSH1 0x17 DUP6 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x1352 JUMP JUMPDEST PUSH17 0x1034B99036B4B9B9B4B733903937B6329 PUSH1 0x7D SHL PUSH1 0x17 SWAP2 DUP5 ADD SWAP2 DUP3 ADD MSTORE DUP4 MLOAD PUSH2 0x13EB DUP2 PUSH1 0x28 DUP5 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x1352 JUMP JUMPDEST ADD PUSH1 0x28 ADD SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 DUP3 MLOAD DUP1 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x1416 DUP2 PUSH1 0x40 DUP6 ADD PUSH1 0x20 DUP8 ADD PUSH2 0x1352 JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP2 SWAP1 SWAP2 ADD PUSH1 0x40 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x143D JUMPI PUSH2 0x143D PUSH2 0x131D JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH2 0x147D JUMPI PUSH2 0x147D PUSH2 0x131D JUMP JUMPDEST POP PUSH1 0x0 NOT ADD SWAP1 JUMP INVALID COINBASE LOG0 0x1E 0xC0 LOG1 EXTCODESIZE JUMP EXTCODEHASH LOG4 MSTORE JUMP SWAP15 EXTCODEHASH 0xBB GT PUSH4 0x66D217C2 PUSH23 0x9AA1561822E65A617E3842A2646970667358221220D8B3 0xC0 0xAA 0xDD DUP2 0x1F 0x2A DIFFICULTY 0x4E LOG4 ADDMOD 0x49 JUMP 0x22 DUP10 0x4B PUSH23 0x8A5DA3DC0F58E2D1788729F1BD0A64736F6C6343000809 STOP CALLER ", + "sourceMap": "616:7585:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2620:202:4;;;;;;:::i;:::-;;:::i;:::-;;;470:14:14;;463:22;445:41;;433:2;418:18;2620:202:4;;;;;;;;6939:205:1;;;:::i;:::-;;;643:25:14;;;631:2;616:18;6939:205:1;497:177:14;3291:218:1;;;;;;:::i;:::-;;:::i;:::-;;6747:184;;;:::i;4008:129:4:-;;;;;;:::i;:::-;4082:7;4108:12;;;;;;;;;;:22;;;;4008:129;2171:175:1;;;;;;:::i;:::-;;:::i;4387:145:4:-;;;;;;:::i;:::-;;:::i;5404:214::-;;;;;;:::i;:::-;;:::i;1991:172:1:-;;;;;;:::i;:::-;;:::i;5115:350::-;;;;;;:::i;:::-;;:::i;7152:195::-;;;:::i;3583:359::-;;;;;;:::i;:::-;;:::i;7790:199::-;;;:::i;676:64::-;;-1:-1:-1;;;;;;;;;;;676:64:1;;4638:361;;;;;;:::i;:::-;;:::i;7355:212::-;;;:::i;5781:477::-;;;;;;:::i;:::-;;:::i;2909:145:4:-;;;;;;:::i;:::-;;:::i;2027:49::-;;2072:4;2027:49;;2958:198:1;;;;;;:::i;:::-;;:::i;4149:371::-;;;;;;:::i;:::-;;:::i;8001:185::-;;;:::i;4766:147:4:-;;;;;;:::i;:::-;;:::i;7575:207:1:-;;;:::i;2620:202:4:-;2705:4;-1:-1:-1;;;;;;2728:47:4;;-1:-1:-1;;;2728:47:4;;:87;;-1:-1:-1;;;;;;;;;;937:40:12;;;2779:36:4;2721:94;2620:202;-1:-1:-1;;2620:202:4:o;6939:205:1:-;6985:4;7001:22;7036:31;;;;;;-1:-1:-1;;;2430:26:14;;2481:2;2472:12;;2228:262;7036:31:1;;;;;;;-1:-1:-1;;7036:31:1;;;;;;;7026:42;;7036:31;7026:42;;;;7086:11;;-1:-1:-1;;;7086:42:1;;;;;643:25:14;;;7026:42:1;;-1:-1:-1;;;;;;7086:11:1;;:26;;616:18:14;;7086:42:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7079:49;;;6939:205;:::o;3291:218::-;-1:-1:-1;;;;;;;;;;;2505:30:4;715:25:1;719:10:10;2505::4;:30::i;:::-;3406:31:1::1;::::0;-1:-1:-1;;;3406:31:1::1;::::0;::::1;2430:26:14::0;3371:22:1::1;::::0;2472:12:14;;3406:31:1::1;;::::0;;;;::::1;-1:-1:-1::0;;3406:31:1;;;;;;;3396:42;;3406:31:::1;3396:42:::0;;::::1;::::0;3449:11:::1;::::0;-1:-1:-1;;;3449:52:1;;::::1;::::0;::::1;2858:25:14::0;;;2899:18;;;2892:34;;;3396:42:1;;-1:-1:-1;;;;;;3449:11:1::1;::::0;:26:::1;::::0;2831:18:14;;3449:52:1::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;3360:149;3291:218:::0;;:::o;6747:184::-;6791:4;6807:17;6837:30;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;6837:30:1;;;;;;;6827:41;;6837:30;6827:41;;;;6886:11;;-1:-1:-1;;;6886:37:1;;;;;643:25:14;;;6827:41:1;;-1:-1:-1;;;;;;6886:11:1;;:26;;616:18:14;;6886:37:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;2171:175::-;2072:4:4;2505:30;2072:4;719:10:10;2505::4;:30::i;:::-;2264:34:1::1;-1:-1:-1::0;;;;;;;;;;;2289:8:1::1;2264:10;:34::i;:::-;2314:24;::::0;-1:-1:-1;;;;;2314:24:1;::::1;::::0;::::1;::::0;;;::::1;2171:175:::0;;:::o;4387:145:4:-;4082:7;4108:12;;;;;;;;;;:22;;;2505:30;2516:4;719:10:10;2505::4;:30::i;:::-;4500:25:::1;4511:4;4517:7;4500:10;:25::i;:::-;4387:145:::0;;;:::o;5404:214::-;-1:-1:-1;;;;;5499:23:4;;719:10:10;5499:23:4;5491:83;;;;-1:-1:-1;;;5491:83:4;;3655:2:14;5491:83:4;;;3637:21:14;3694:2;3674:18;;;3667:30;3733:34;3713:18;;;3706:62;-1:-1:-1;;;3784:18:14;;;3777:45;3839:19;;5491:83:4;;;;;;;;;5585:26;5597:4;5603:7;5585:11;:26::i;:::-;5404:214;;:::o;1991:172:1:-;2072:4:4;2505:30;2072:4;719:10:10;2505::4;:30::i;:::-;2081:33:1::1;-1:-1:-1::0;;;;;;;;;;;2105:8:1::1;2081:9;:33::i;:::-;2130:25;::::0;-1:-1:-1;;;;;2130:25:1;::::1;::::0;::::1;::::0;;;::::1;1991:172:::0;;:::o;5115:350::-;-1:-1:-1;;;;;;;;;;;2505:30:4;715:25:1;719:10:10;2505::4;:30::i;:::-;5211:11:1::1;::::0;5248:30:::1;::::0;-1:-1:-1;;;;;5211:11:1;;::::1;::::0;:26:::1;::::0;5248:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;5238:41;;;;;;5211:69;;;;;;;;;;;;;643:25:14::0;;631:2;616:18;;497:177;5211:69:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5203:111;;;;-1:-1:-1::0;;;5203:111:1::1;;;;;;;:::i;:::-;5357:35;::::0;-1:-1:-1;;;5357:35:1::1;::::0;::::1;4429:30:14::0;5325:19:1::1;::::0;4475:12:14;;5357:35:1::1;4227:266:14::0;7152:195:1;7202:4;7218:18;7249:33;;;;;;-1:-1:-1;;;4700:28:14;;4753:2;4744:12;;4498:264;3583:359:1;-1:-1:-1;;;;;;;;;;;2505:30:4;715:25:1;719:10:10;2505::4;:30::i;:::-;3681:11:1::1;::::0;3718:30:::1;::::0;-1:-1:-1;;;;;3681:11:1;;::::1;::::0;:26:::1;::::0;3718:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;3708:41;;;;;;3681:69;;;;;;;;;;;;;643:25:14::0;;631:2;616:18;;497:177;3681:69:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3673:111;;;;-1:-1:-1::0;;;3673:111:1::1;;;;;;;:::i;:::-;3826:33;::::0;;-1:-1:-1;;;3826:33:1::1;::::0;;::::1;4700:28:14::0;;;;3826:33:1;;;;;;;;;4744:12:14;;;;3826:33:1;;;3816:44;;;::::1;::::0;3871:11:::1;::::0;-1:-1:-1;;;;;3871:11:1::1;:26;3816:44:::0;3910:23:::1;:14:::0;3927:6:::1;3910:23;:::i;:::-;3871:63;::::0;-1:-1:-1;;;;;;3871:63:1::1;::::0;;;;;;::::1;::::0;::::1;2858:25:14::0;;;;2899:18;;;2892:34;2831:18;;3871:63:1::1;2684:248:14::0;7790:199:1;7840:4;7856:19;7888:35;;;;;;-1:-1:-1;;;4429:30:14;;4484:2;4475:12;;4227:266;4638:361:1;-1:-1:-1;;;;;;;;;;;2505:30:4;715:25:1;719:10:10;2505::4;:30::i;:::-;4737:11:1::1;::::0;4774:30:::1;::::0;-1:-1:-1;;;;;4737:11:1;;::::1;::::0;:26:::1;::::0;4774:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;4764:41;;;;;;4737:69;;;;;;;;;;;;;643:25:14::0;;631:2;616:18;;497:177;4737:69:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4729:111;;;;-1:-1:-1::0;;;4729:111:1::1;;;;;;;:::i;:::-;4885:37;::::0;-1:-1:-1;;;4885:37:1::1;::::0;::::1;5274:32:14::0;4851:21:1::1;::::0;5322:12:14;;4885:37:1::1;5072:268:14::0;7355:212:1;7405:4;7421:21;7455:44;;;;;;-1:-1:-1;;;5547:39:14;;5611:2;5602:12;;5345:275;5781:477:1;-1:-1:-1;;;;;;;;;;;2505:30:4;715:25:1;719:10:10;2505::4;:30::i;:::-;5867:11:1::1;::::0;5904:30:::1;::::0;-1:-1:-1;;;;;5867:11:1;;::::1;::::0;:26:::1;::::0;5904:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;5894:41;;;;;;5867:69;;;;;;;;;;;;;643:25:14::0;;631:2;616:18;;497:177;5867:69:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5859:111;;;;-1:-1:-1::0;;;5859:111:1::1;;;;;;;:::i;:::-;6013:28;::::0;-1:-1:-1;;;6013:28:1::1;::::0;::::1;5827:23:14::0;5981:19:1::1;::::0;5866:11:14;;6013:28:1::1;;;;;;;;;;;;6003:39;;;;;;5981:61;;6053:22;6088:31;;;;;;-1:-1:-1::0;;;6090:26:14;;6141:2;6132:12;;5888:262;6088:31:1::1;;::::0;;;;::::1;-1:-1:-1::0;;6088:31:1;;;;;;;6078:42;;6088:31:::1;6078:42:::0;;::::1;::::0;6141:11:::1;::::0;-1:-1:-1;;;6141:50:1;;::::1;::::0;::::1;2858:25:14::0;;;2899:18;;;2892:34;;;6078:42:1;;-1:-1:-1;;;;;;6141:11:1::1;::::0;:26:::1;::::0;2831:18:14;;6141:50:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;6202:11:1::1;::::0;:48:::1;::::0;-1:-1:-1;;;6202:48:1;;::::1;::::0;::::1;6323:25:14::0;;;6202:11:1;6364:18:14;;;6357:50;-1:-1:-1;;;;;6202:11:1;;::::1;::::0;-1:-1:-1;6202:26:1::1;::::0;-1:-1:-1;6296:18:14;;6202:48:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;5848:410;;5781:477:::0;;:::o;2909:145:4:-;2995:4;3018:12;;;;;;;;;;;-1:-1:-1;;;;;3018:29:4;;;;;;;;;;;;;;;2909:145::o;2958:198:1:-;-1:-1:-1;;;;;;;;;;;2505:30:4;715:25:1;719:10:10;2505::4;:30::i;:::-;3032:17:1::1;3062:30;;;;;;;:::i;:::-;;::::0;;;;::::1;-1:-1:-1::0;;3062:30:1;;;;;;;3052:41;;3062:30:::1;3052:41:::0;;::::1;::::0;3104:11:::1;::::0;-1:-1:-1;;;3104:44:1;;::::1;::::0;::::1;6323:25:14::0;;;6391:14;;6384:22;6364:18;;;6357:50;3052:41:1;;-1:-1:-1;;;;;;3104:11:1::1;::::0;:26:::1;::::0;6296:18:14;;3104:44:1::1;6155:258:14::0;4149:371:1;-1:-1:-1;;;;;;;;;;;2505:30:4;715:25:1;719:10:10;2505::4;:30::i;:::-;4249:11:1::1;::::0;4286:30:::1;::::0;-1:-1:-1;;;;;4249:11:1;;::::1;::::0;:26:::1;::::0;4286:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;4276:41;;;;;;4249:69;;;;;;;;;;;;;643:25:14::0;;631:2;616:18;;497:177;4249:69:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4241:111;;;;-1:-1:-1::0;;;4241:111:1::1;;;;;;;:::i;:::-;4397:44;::::0;-1:-1:-1;;;4397:44:1::1;::::0;::::1;5547:39:14::0;4363:21:1::1;::::0;5602:12:14;;4397:44:1::1;5345:275:14::0;8001:185:1;8044:4;8060:19;8092:28;;;;;;-1:-1:-1;;;5827:23:14;;5875:1;5866:11;;5625:258;4766:147:4;4082:7;4108:12;;;;;;;;;;:22;;;2505:30;2516:4;719:10:10;2505::4;:30::i;:::-;4880:26:::1;4892:4;4898:7;4880:11;:26::i;7575:207:1:-:0;7627:4;7643:21;7677:37;;;;;;-1:-1:-1;;;5274:32:14;;5331:2;5322:12;;5072:268;3335:492:4;3423:22;3431:4;3437:7;3423;:22::i;:::-;3418:403;;3606:41;3634:7;-1:-1:-1;;;;;3606:41:4;3644:2;3606:19;:41::i;:::-;3718:38;3746:4;3753:2;3718:19;:38::i;:::-;3513:265;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3513:265:4;;;;;;;;;;-1:-1:-1;;;3461:349:4;;;;;;;:::i;6861:233::-;6944:22;6952:4;6958:7;6944;:22::i;:::-;6939:149;;6982:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6982:29:4;;;;;;;;;:36;;-1:-1:-1;;6982:36:4;7014:4;6982:36;;;7064:12;719:10:10;;640:96;7064:12:4;-1:-1:-1;;;;;7037:40:4;7055:7;-1:-1:-1;;;;;7037:40:4;7049:4;7037:40;;;;;;;;;;6861:233;;:::o;7219:234::-;7302:22;7310:4;7316:7;7302;:22::i;:::-;7298:149;;;7372:5;7340:12;;;;;;;;;;;-1:-1:-1;;;;;7340:29:4;;;;;;;;;;:37;;-1:-1:-1;;7340:37:4;;;7396:40;719:10:10;;7340:12:4;;7396:40;;7372:5;7396:40;7219:234;;:::o;1588:441:11:-;1663:13;1688:19;1720:10;1724:6;1720:1;:10;:::i;:::-;:14;;1733:1;1720:14;:::i;:::-;1710:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1710:25:11;;1688:47;;-1:-1:-1;;;1745:6:11;1752:1;1745:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1745:15:11;;;;;;;;;-1:-1:-1;;;1770:6:11;1777:1;1770:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1770:15:11;;;;;;;;-1:-1:-1;1800:9:11;1812:10;1816:6;1812:1;:10;:::i;:::-;:14;;1825:1;1812:14;:::i;:::-;1800:26;;1795:132;1832:1;1828;:5;1795:132;;;-1:-1:-1;;;1879:5:11;1887:3;1879:11;1866:25;;;;;;;:::i;:::-;;;;1854:6;1861:1;1854:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;1854:37:11;;;;;;;;-1:-1:-1;1915:1:11;1905:11;;;;;1835:3;;;:::i;:::-;;;1795:132;;;-1:-1:-1;1944:10:11;;1936:55;;;;-1:-1:-1;;;1936:55:11;;8600:2:14;1936:55:11;;;8582:21:14;;;8619:18;;;8612:30;8678:34;8658:18;;;8651:62;8730:18;;1936:55:11;8398:356:14;1936:55:11;2015:6;1588:441;-1:-1:-1;;;1588:441:11:o;14:286:14:-;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:14;;209:43;;199:71;;266:1;263;256:12;679:180;738:6;791:2;779:9;770:7;766:23;762:32;759:52;;;807:1;804;797:12;759:52;-1:-1:-1;830:23:14;;679:180;-1:-1:-1;679:180:14:o;1231:173::-;1299:20;;-1:-1:-1;;;;;1348:31:14;;1338:42;;1328:70;;1394:1;1391;1384:12;1328:70;1231:173;;;:::o;1409:186::-;1468:6;1521:2;1509:9;1500:7;1496:23;1492:32;1489:52;;;1537:1;1534;1527:12;1489:52;1560:29;1579:9;1560:29;:::i;1600:254::-;1668:6;1676;1729:2;1717:9;1708:7;1704:23;1700:32;1697:52;;;1745:1;1742;1735:12;1697:52;1781:9;1768:23;1758:33;;1810:38;1844:2;1833:9;1829:18;1810:38;:::i;:::-;1800:48;;1600:254;;;;;:::o;1859:118::-;1945:5;1938:13;1931:21;1924:5;1921:32;1911:60;;1967:1;1964;1957:12;1911:60;1859:118;:::o;1982:241::-;2038:6;2091:2;2079:9;2070:7;2066:23;2062:32;2059:52;;;2107:1;2104;2097:12;2059:52;2146:9;2133:23;2165:28;2187:5;2165:28;:::i;2495:184::-;2565:6;2618:2;2606:9;2597:7;2593:23;2589:32;2586:52;;;2634:1;2631;2624:12;2586:52;-1:-1:-1;2657:16:14;;2495:184;-1:-1:-1;2495:184:14:o;2937:261::-;-1:-1:-1;;;3139:25:14;;3189:2;3180:12;;2937:261::o;3203:245::-;3270:6;3323:2;3311:9;3302:7;3298:23;3294:32;3291:52;;;3339:1;3336;3329:12;3291:52;3371:9;3365:16;3390:28;3412:5;3390:28;:::i;3869:353::-;4071:2;4053:21;;;4110:2;4090:18;;;4083:30;4149:31;4144:2;4129:18;;4122:59;4213:2;4198:18;;3869:353::o;4767:127::-;4828:10;4823:3;4819:20;4816:1;4809:31;4859:4;4856:1;4849:15;4883:4;4880:1;4873:15;4899:168;4939:7;5005:1;5001;4997:6;4993:14;4990:1;4987:21;4982:1;4975:9;4968:17;4964:45;4961:71;;;5012:18;;:::i;:::-;-1:-1:-1;5052:9:14;;4899:168::o;6418:258::-;6490:1;6500:113;6514:6;6511:1;6508:13;6500:113;;;6590:11;;;6584:18;6571:11;;;6564:39;6536:2;6529:10;6500:113;;;6631:6;6628:1;6625:13;6622:48;;;6666:1;6657:6;6652:3;6648:16;6641:27;6622:48;;6418:258;;;:::o;6681:786::-;7092:25;7087:3;7080:38;7062:3;7147:6;7141:13;7163:62;7218:6;7213:2;7208:3;7204:12;7197:4;7189:6;7185:17;7163:62;:::i;:::-;-1:-1:-1;;;7284:2:14;7244:16;;;7276:11;;;7269:40;7334:13;;7356:63;7334:13;7405:2;7397:11;;7390:4;7378:17;;7356:63;:::i;:::-;7439:17;7458:2;7435:26;;6681:786;-1:-1:-1;;;;6681:786:14:o;7472:383::-;7621:2;7610:9;7603:21;7584:4;7653:6;7647:13;7696:6;7691:2;7680:9;7676:18;7669:34;7712:66;7771:6;7766:2;7755:9;7751:18;7746:2;7738:6;7734:15;7712:66;:::i;:::-;7839:2;7818:15;-1:-1:-1;;7814:29:14;7799:45;;;;7846:2;7795:54;;7472:383;-1:-1:-1;;7472:383:14:o;7860:128::-;7900:3;7931:1;7927:6;7924:1;7921:13;7918:39;;;7937:18;;:::i;:::-;-1:-1:-1;7973:9:14;;7860:128::o;7993:127::-;8054:10;8049:3;8045:20;8042:1;8035:31;8085:4;8082:1;8075:15;8109:4;8106:1;8099:15;8125:127;8186:10;8181:3;8177:20;8174:1;8167:31;8217:4;8214:1;8207:15;8241:4;8238:1;8231:15;8257:136;8296:3;8324:5;8314:39;;8333:18;;:::i;:::-;-1:-1:-1;;;8369:18:14;;8257:136::o" + }, + "gasEstimates": { + "creation": { + "codeDepositCost": "1067800", + "executionCost": "infinite", + "totalCost": "infinite" + }, + "external": { + "DEFAULT_ADMIN_ROLE()": "217", + "POOL_MANAGER()": "infinite", + "addPoolManager(address)": "infinite", + "getContributionLimit()": "infinite", + "getPoolFees()": "infinite", + "getPoolMaxSize()": "infinite", + "getPoolState()": "infinite", + "getRewardsInterest()": "infinite", + "getRewardsInterval()": "infinite", + "getRoleAdmin(bytes32)": "2559", + "grantRole(bytes32,address)": "infinite", + "hasRole(bytes32,address)": "2784", + "removePoolManager(address)": "infinite", + "renounceRole(bytes32,address)": "29040", + "revokeRole(bytes32,address)": "infinite", + "setContributionLimit(uint256)": "infinite", + "setMinContribution()": "infinite", + "setMinContribution(uint256)": "infinite", + "setPoolFees(uint256)": "infinite", + "setPoolLive(bool)": "infinite", + "setPoolMaxSize(uint256)": "infinite", + "setRewardsInterest(uint256)": "infinite", + "setRewardsInterval(uint256)": "infinite", + "supportsInterface(bytes4)": "450" + }, + "internal": { + "_setPoolBaseAddress()": "infinite", + "getContractAddress(string memory)": "infinite" + } + }, + "methodIdentifiers": { + "DEFAULT_ADMIN_ROLE()": "a217fddf", + "POOL_MANAGER()": "62308e85", + "addPoolManager(address)": "45077e71", + "getContributionLimit()": "fa1e19e5", + "getPoolFees()": "d1d8d060", + "getPoolMaxSize()": "095df57f", + "getPoolState()": "217ac237", + "getRewardsInterest()": "7521796f", + "getRewardsInterval()": "497d0241", + "getRoleAdmin(bytes32)": "248a9ca3", + "grantRole(bytes32,address)": "2f2ff15d", + "hasRole(bytes32,address)": "91d14854", + "removePoolManager(address)": "29ca15bc", + "renounceRole(bytes32,address)": "36568abe", + "revokeRole(bytes32,address)": "d547741f", + "setContributionLimit(uint256)": "72d099a0", + "setMinContribution()": "543edfb6", + "setMinContribution(uint256)": "473b0d46", + "setPoolFees(uint256)": "8dd225d5", + "setPoolLive(bool)": "a4975516", + "setPoolMaxSize(uint256)": "12646987", + "setRewardsInterest(uint256)": "bf4c0036", + "setRewardsInterval(uint256)": "53710f49", + "supportsInterface(bytes4)": "01ffc9a7" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract DataStorageInterface\",\"name\":\"_dataStorageAddress\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_removedManager\",\"type\":\"address\"}],\"name\":\"ManagerRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_newManager\",\"type\":\"address\"}],\"name\":\"NewManagerAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"POOL_MANAGER\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"addPoolManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getContributionLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolMaxSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolState\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsInterest\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsInterval\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"removePoolManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newContrLimit\",\"type\":\"uint256\"}],\"name\":\"setContributionLimit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newMinContr\",\"type\":\"uint256\"}],\"name\":\"setMinContribution\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"setMinContribution\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_poolFees\",\"type\":\"uint256\"}],\"name\":\"setPoolFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_live\",\"type\":\"bool\"}],\"name\":\"setPoolLive\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxSize\",\"type\":\"uint256\"}],\"name\":\"setPoolMaxSize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_rewardsInterest\",\"type\":\"uint256\"}],\"name\":\"setRewardsInterest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_daysToRewards\",\"type\":\"uint256\"}],\"name\":\"setRewardsInterval\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role.\"},\"setContributionLimit(uint256)\":{\"details\":\"Set the max. contribution allowed for each user.\",\"params\":{\"_newContrLimit\":\"is a WEI value.\"}},\"setMinContribution(uint256)\":{\"details\":\"Set the min. contribution allowed for each user.\",\"params\":{\"_newMinContr\":\"is a WEI value.\"}},\"setPoolFees(uint256)\":{\"details\":\"Set the pool fees fraction that the pool charges for each deposit.\",\"params\":{\"_poolFees\":\"within the storage has 6 decimals.\"}},\"setPoolLive(bool)\":{\"details\":\"Toggles the Pool Investing Switch. \"},\"setPoolMaxSize(uint256)\":{\"details\":\"Sets the Pool Maximium size expressed on ether.\",\"params\":{\"_maxSize\":\"is a WEI value (or BigInt / BigNumber).\"}},\"setRewardsInterest(uint256)\":{\"details\":\"Set the interest per effective period.\",\"params\":{\"_rewardsInterest\":\"within the storage has 6 decimals.\"}},\"setRewardsInterval(uint256)\":{\"details\":\"Set the interval in days of the rewards period.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"}},\"title\":\"This contract handles the modifiers and environmental parameters that control the pool. \",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"constructor\":{\"notice\":\"This contract will be deployed by the same address of the initial guardian. Afterwards Guardian may not be the same as the adminif the guardian renounces to their guard.\"},\"setPoolFees(uint256)\":{\"notice\":\"E.G. If 0.001235 fees fraction are desired, 0.001235 * (10**6) = 1235.Also it sets the state variable \\\"poolFeesSet\\\" as true.\"},\"setPoolLive(bool)\":{\"notice\":\"While live, anyone can invest but any state variable can be modified nor deleted.\"},\"setRewardsInterest(uint256)\":{\"notice\":\"E.G. If 0.001134 rate is desired, 0.001134 * (10**6) = 1134.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol\":\"PoolBase\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/DataStorageInterface.sol\":{\"keccak256\":\"0x2136bae23b43613eea5248f48da3a33c0fd5c9090337d43a31b943912ef8203b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7a084874e9224800b6b710f304a926ef04eab7cd361d9fb87a073b52dd4e2a6\",\"dweb:/ipfs/QmWZJKF1ReW1d3aXvZRL75QuuGfskLLvi2TwbtV4QRFTob\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol\":{\"keccak256\":\"0x915945c322eecea4d77e49da6ae7e69cc377bbc275a851dea233a8816780b6ff\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7027b622a79b11c1fe2e697567c7869459dd0a003ac4174d68faf3328f59cb1f\",\"dweb:/ipfs/QmUxsT4rPoNBKstE6s1uGEzZA9UryN8xzdrkoZTnUk9NrF\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0x4a1a0ba12bf1a33f10d9fe226278cf59675c0b929d29e4da99658a079b27fb84\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bda1319db846d6d6f92d8a57a9bdee8bde1dc39aa7546165791692c24dd6f30a\",\"dweb:/ipfs/Qma5oZ7DmbdAjd8mpiW7mx896PDtwsQtCQ2hj9Upf7b7JK\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol\":{\"keccak256\":\"0x0e9621f60b2faabe65549f7ed0f24e8853a45c1b7990d47e8160e523683f3935\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://287a2f8d5814dd0f05f22b740f18ca8321acc21c9bd03a6cb2203ea626e2f3f2\",\"dweb:/ipfs/QmZRQv9iuwU817VuqkA2WweiaibKii69x9QxYBBEfbNEud\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}", + "storageLayout": { + "storage": [ + { + "astId": 1076, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol:PoolBase", + "label": "_roles", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_bytes32,t_struct(RoleData)1071_storage)" + }, + { + "astId": 1444, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol:PoolBase", + "label": "_status", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 140, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol:PoolBase", + "label": "dataStorage", + "offset": 0, + "slot": "2", + "type": "t_contract(DataStorageInterface)113" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_contract(DataStorageInterface)113": { + "encoding": "inplace", + "label": "contract DataStorageInterface", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_bool)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_bytes32,t_struct(RoleData)1071_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => struct AccessControl.RoleData)", + "numberOfBytes": "32", + "value": "t_struct(RoleData)1071_storage" + }, + "t_struct(RoleData)1071_storage": { + "encoding": "inplace", + "label": "struct AccessControl.RoleData", + "members": [ + { + "astId": 1068, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol:PoolBase", + "label": "members", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 1070, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol:PoolBase", + "label": "adminRole", + "offset": 0, + "slot": "1", + "type": "t_bytes32" + } + ], + "numberOfBytes": "64" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } + }, + "userdoc": { + "kind": "user", + "methods": { + "constructor": { + "notice": "This contract will be deployed by the same address of the initial guardian. Afterwards Guardian may not be the same as the adminif the guardian renounces to their guard." + }, + "setPoolFees(uint256)": { + "notice": "E.G. If 0.001235 fees fraction are desired, 0.001235 * (10**6) = 1235.Also it sets the state variable \"poolFeesSet\" as true." + }, + "setPoolLive(bool)": { + "notice": "While live, anyone can invest but any state variable can be modified nor deleted." + }, + "setRewardsInterest(uint256)": { + "notice": "E.G. If 0.001134 rate is desired, 0.001134 * (10**6) = 1134." + } + }, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/TokenBalancesInterface.sol": { + "TokenBalancesInterface": { + "abi": [ + { + "inputs": [], + "name": "getTotalEthSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getTotalEtherStaked", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getTotalrwEthSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "devdoc": { + "kind": "dev", + "methods": {}, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "getTotalEthSupply()": "6402c262", + "getTotalEtherStaked()": "70959ff8", + "getTotalrwEthSupply()": "e2bcb3df" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"getTotalEthSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalEtherStaked\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalrwEthSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/TokenBalancesInterface.sol\":\"TokenBalancesInterface\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/TokenBalancesInterface.sol\":{\"keccak256\":\"0xd6204ae29996eea9a0e9f5ac6f99dc2766bff2af30e9c474988494e87a87d76a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c005ad64c1f6e4a66ec63625939404fd024fd1c9df1f3d20422065ca8744141f\",\"dweb:/ipfs/QmSveqBGxZXFWLYZqAasz4nR3Un5n2SxMjBKnrDxFmxwYp\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/rwETHToken.sol": { + "rwETHToken": { + "abi": [ + { + "inputs": [ + { + "internalType": "contract DataStorageInterface", + "name": "_dataStorageAddress", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_removedManager", + "type": "address" + } + ], + "name": "ManagerRemoved", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_newManager", + "type": "address" + } + ], + "name": "NewManagerAdded", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_from", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_rwEthAmount", + "type": "uint256" + } + ], + "name": "TokensBurned", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_rwEthAmount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_ethAmount", + "type": "uint256" + } + ], + "name": "TokensMinted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "POOL_MANAGER", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "addPoolManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "spender", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_rwEthAmount", + "type": "uint256" + } + ], + "name": "burn", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_rwEthAmount", + "type": "uint256" + } + ], + "name": "calcEthValue", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_ethAmount", + "type": "uint256" + } + ], + "name": "calcRwEthValue", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "decimals", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "subtractedValue", + "type": "uint256" + } + ], + "name": "decreaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "getContributionLimit", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolFees", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolMaxSize", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolState", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardsInterest", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardsInterval", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getUnitPrice", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "addedValue", + "type": "uint256" + } + ], + "name": "increaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_ethAmount", + "type": "uint256" + } + ], + "name": "mint", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "removePoolManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newContrLimit", + "type": "uint256" + } + ], + "name": "setContributionLimit", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newMinContr", + "type": "uint256" + } + ], + "name": "setMinContribution", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "setMinContribution", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_poolFees", + "type": "uint256" + } + ], + "name": "setPoolFees", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bool", + "name": "_live", + "type": "bool" + } + ], + "name": "setPoolLive", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_maxSize", + "type": "uint256" + } + ], + "name": "setPoolMaxSize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_rewardsInterest", + "type": "uint256" + } + ], + "name": "setRewardsInterest", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_daysToRewards", + "type": "uint256" + } + ], + "name": "setRewardsInterval", + "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": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "devdoc": { + "kind": "dev", + "methods": { + "allowance(address,address)": { + "details": "See {IERC20-allowance}." + }, + "approve(address,uint256)": { + "details": "See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address." + }, + "balanceOf(address)": { + "details": "See {IERC20-balanceOf}." + }, + "burn(uint256)": { + "details": "Burns rwEther." + }, + "calcEthValue(uint256)": { + "details": "Calculate the equivalent Ether to a certain rwEther amount." + }, + "calcRwEthValue(uint256)": { + "details": "Calculate the equivalent rwEther to a certain Ether amount." + }, + "decimals()": { + "details": "Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the value {ERC20} uses, unless this function is overridden; NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}." + }, + "decreaseAllowance(address,uint256)": { + "details": "Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`." + }, + "getRoleAdmin(bytes32)": { + "details": "Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}." + }, + "getUnitPrice()": { + "details": "Calculate the Eth / rwEth ratio a.k.a rwEth price expressed in Ether (wei)" + }, + "grantRole(bytes32,address)": { + "details": "Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role." + }, + "hasRole(bytes32,address)": { + "details": "Returns `true` if `account` has been granted `role`." + }, + "increaseAllowance(address,uint256)": { + "details": "Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address." + }, + "mint(address,uint256)": { + "details": "Mints reward ether (rwEth) as a receipt of investment." + }, + "name()": { + "details": "Returns the name of the token." + }, + "renounceRole(bytes32,address)": { + "details": "Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`." + }, + "revokeRole(bytes32,address)": { + "details": "Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role." + }, + "setContributionLimit(uint256)": { + "details": "Set the max. contribution allowed for each user.", + "params": { + "_newContrLimit": "is a WEI value." + } + }, + "setMinContribution(uint256)": { + "details": "Set the min. contribution allowed for each user.", + "params": { + "_newMinContr": "is a WEI value." + } + }, + "setPoolFees(uint256)": { + "details": "Set the pool fees fraction that the pool charges for each deposit.", + "params": { + "_poolFees": "within the storage has 6 decimals." + } + }, + "setPoolLive(bool)": { + "details": "Toggles the Pool Investing Switch. " + }, + "setPoolMaxSize(uint256)": { + "details": "Sets the Pool Maximium size expressed on ether.", + "params": { + "_maxSize": "is a WEI value (or BigInt / BigNumber)." + } + }, + "setRewardsInterest(uint256)": { + "details": "Set the interest per effective period.", + "params": { + "_rewardsInterest": "within the storage has 6 decimals." + } + }, + "setRewardsInterval(uint256)": { + "details": "Set the interval in days of the rewards period." + }, + "supportsInterface(bytes4)": { + "details": "See {IERC165-supportsInterface}." + }, + "symbol()": { + "details": "Returns the symbol of the token, usually a shorter version of the name." + }, + "totalSupply()": { + "details": "See {IERC20-totalSupply}." + }, + "transfer(address,uint256)": { + "details": "See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`." + }, + "transferFrom(address,address,uint256)": { + "details": "See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`." + } + }, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": { + "@_1452": { + "entryPoint": null, + "id": 1452, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_1518": { + "entryPoint": null, + "id": 1518, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@_169": { + "entryPoint": null, + "id": 169, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@_778": { + "entryPoint": null, + "id": 778, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@_grantRole_1328": { + "entryPoint": 915, + "id": 1328, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@_msgSender_2176": { + "entryPoint": null, + "id": 2176, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@_setPoolBaseAddress_276": { + "entryPoint": 300, + "id": 276, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_setRwETHTokenAddress_815": { + "entryPoint": 659, + "id": 815, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_setupRole_1268": { + "entryPoint": 284, + "id": 1268, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@hasRole_1133": { + "entryPoint": null, + "id": 1133, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_contract$_DataStorageInterface_$113_fromMemory": { + "entryPoint": 1241, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d524a24df8794b8c8ace1bb51668b020bb309552ba8f8b2f78f8f206243afbb__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "extract_byte_array_length": { + "entryPoint": 1291, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + } + }, + "generatedSources": [ + { + "ast": { + "nodeType": "YulBlock", + "src": "0:2466:14", + "statements": [ + { + "nodeType": "YulBlock", + "src": "6:3:14", + "statements": [] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "123:209:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "169:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "178:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "181:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "171:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "171:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "171:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "144:7:14" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "153:9:14" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "140:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "140:23:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "165:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "136:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "136:32:14" + }, + "nodeType": "YulIf", + "src": "133:52:14" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "194:29:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "213:9:14" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "207:5:14" + }, + "nodeType": "YulFunctionCall", + "src": "207:16:14" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "198:5:14", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "286:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "295:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "298:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "288:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "288:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "288:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "245:5:14" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "256:5:14" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "271:3:14", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "276:1:14", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "267:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "267:11:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "280:1:14", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "263:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "263:19:14" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "252:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "252:31:14" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "242:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "242:42:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "235:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "235:50:14" + }, + "nodeType": "YulIf", + "src": "232:70:14" + }, + { + "nodeType": "YulAssignment", + "src": "311:15:14", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "321:5:14" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "311:6:14" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_contract$_DataStorageInterface_$113_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "89:9:14", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "100:7:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "112:6:14", + "type": "" + } + ], + "src": "14:318:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "557:150:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "574:3:14" + }, + { + "hexValue": "636f6e74726163745f657869737473", + "kind": "string", + "nodeType": "YulLiteral", + "src": "579:17:14", + "type": "", + "value": "contract_exists" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "567:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "567:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "567:30:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "617:3:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "622:2:14", + "type": "", + "value": "15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "613:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "613:12:14" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "635:2:14", + "type": "", + "value": "96" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "639:6:14" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "631:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "631:15:14" + }, + { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "660:2:14", + "type": "", + "value": "96" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "664:1:14", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "656:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "656:10:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "668:1:14", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "652:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "652:18:14" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "648:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "648:23:14" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "627:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "627:45:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "606:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "606:67:14" + }, + "nodeType": "YulExpressionStatement", + "src": "606:67:14" + }, + { + "nodeType": "YulAssignment", + "src": "682:19:14", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "693:3:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "698:2:14", + "type": "", + "value": "35" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "689:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "689:12:14" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "682:3:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "533:3:14", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "538:6:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "549:3:14", + "type": "" + } + ], + "src": "337:370:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "835:135:14", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "845:26:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "857:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "868:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "853:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "853:18:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "845:4:14" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "887:9:14" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "898:6:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "880:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "880:25:14" + }, + "nodeType": "YulExpressionStatement", + "src": "880:25:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "925:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "936:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "921:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "921:18:14" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "955:6:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "948:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "948:14:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "941:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "941:22:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "914:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "914:50:14" + }, + "nodeType": "YulExpressionStatement", + "src": "914:50:14" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "796:9:14", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "807:6:14", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "815:6:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "826:4:14", + "type": "" + } + ], + "src": "712:258:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1268:116:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "1285:3:14" + }, + { + "hexValue": "636f6e74726163745f61646472657373", + "kind": "string", + "nodeType": "YulLiteral", + "src": "1290:18:14", + "type": "", + "value": "contract_address" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1278:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1278:31:14" + }, + "nodeType": "YulExpressionStatement", + "src": "1278:31:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "1329:3:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1334:2:14", + "type": "", + "value": "16" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1325:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1325:12:14" + }, + { + "hexValue": "506f6f6c42617365", + "kind": "string", + "nodeType": "YulLiteral", + "src": "1339:10:14", + "type": "", + "value": "PoolBase" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1318:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1318:32:14" + }, + "nodeType": "YulExpressionStatement", + "src": "1318:32:14" + }, + { + "nodeType": "YulAssignment", + "src": "1359:19:14", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "1370:3:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1375:2:14", + "type": "", + "value": "24" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1366:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1366:12:14" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "1359:3:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "1252:3:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "1260:3:14", + "type": "" + } + ], + "src": "975:409:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1518:145:14", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "1528:26:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1540:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1551:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1536:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1536:18:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "1528:4:14" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1570:9:14" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1581:6:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1563:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1563:25:14" + }, + "nodeType": "YulExpressionStatement", + "src": "1563:25:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1608:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1619:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1604:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1604:18:14" + }, + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "1628:6:14" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1644:3:14", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1649:1:14", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "1640:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1640:11:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1653:1:14", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1636:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1636:19:14" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "1624:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1624:32:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1597:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1597:60:14" + }, + "nodeType": "YulExpressionStatement", + "src": "1597:60:14" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1479:9:14", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "1490:6:14", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1498:6:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "1509:4:14", + "type": "" + } + ], + "src": "1389:274:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1961:118:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "1978:3:14" + }, + { + "hexValue": "636f6e74726163745f61646472657373", + "kind": "string", + "nodeType": "YulLiteral", + "src": "1983:18:14", + "type": "", + "value": "contract_address" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1971:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1971:31:14" + }, + "nodeType": "YulExpressionStatement", + "src": "1971:31:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "2022:3:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2027:2:14", + "type": "", + "value": "16" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2018:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "2018:12:14" + }, + { + "hexValue": "7277455448546f6b656e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "2032:12:14", + "type": "", + "value": "rwETHToken" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2011:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "2011:34:14" + }, + "nodeType": "YulExpressionStatement", + "src": "2011:34:14" + }, + { + "nodeType": "YulAssignment", + "src": "2054:19:14", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "2065:3:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2070:2:14", + "type": "", + "value": "26" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2061:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "2061:12:14" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "2054:3:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d524a24df8794b8c8ace1bb51668b020bb309552ba8f8b2f78f8f206243afbb__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "1945:3:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "1953:3:14", + "type": "" + } + ], + "src": "1668:411:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2139:325:14", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "2149:22:14", + "value": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2163:1:14", + "type": "", + "value": "1" + }, + { + "name": "data", + "nodeType": "YulIdentifier", + "src": "2166:4:14" + } + ], + "functionName": { + "name": "shr", + "nodeType": "YulIdentifier", + "src": "2159:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "2159:12:14" + }, + "variableNames": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "2149:6:14" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "2180:38:14", + "value": { + "arguments": [ + { + "name": "data", + "nodeType": "YulIdentifier", + "src": "2210:4:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2216:1:14", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "2206:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "2206:12:14" + }, + "variables": [ + { + "name": "outOfPlaceEncoding", + "nodeType": "YulTypedName", + "src": "2184:18:14", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2257:31:14", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "2259:27:14", + "value": { + "arguments": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "2273:6:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2281:4:14", + "type": "", + "value": "0x7f" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "2269:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "2269:17:14" + }, + "variableNames": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "2259:6:14" + } + ] + } + ] + }, + "condition": { + "arguments": [ + { + "name": "outOfPlaceEncoding", + "nodeType": "YulIdentifier", + "src": "2237:18:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "2230:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "2230:26:14" + }, + "nodeType": "YulIf", + "src": "2227:61:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2347:111:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2368:1:14", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2375:3:14", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2380:10:14", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "2371:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "2371:20:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2361:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "2361:31:14" + }, + "nodeType": "YulExpressionStatement", + "src": "2361:31:14" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2412:1:14", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2415:4:14", + "type": "", + "value": "0x22" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2405:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "2405:15:14" + }, + "nodeType": "YulExpressionStatement", + "src": "2405:15:14" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2440:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2443:4:14", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "2433:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "2433:15:14" + }, + "nodeType": "YulExpressionStatement", + "src": "2433:15:14" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "outOfPlaceEncoding", + "nodeType": "YulIdentifier", + "src": "2303:18:14" + }, + { + "arguments": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "2326:6:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2334:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "2323:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "2323:14:14" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "2300:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "2300:38:14" + }, + "nodeType": "YulIf", + "src": "2297:161:14" + } + ] + }, + "name": "extract_byte_array_length", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "data", + "nodeType": "YulTypedName", + "src": "2119:4:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "2128:6:14", + "type": "" + } + ], + "src": "2084:380:14" + } + ] + }, + "contents": "{\n { }\n function abi_decode_tuple_t_contract$_DataStorageInterface_$113_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := mload(headStart)\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n value0 := value\n }\n function abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed(pos, value0) -> end\n {\n mstore(pos, \"contract_exists\")\n mstore(add(pos, 15), and(shl(96, value0), not(sub(shl(96, 1), 1))))\n end := add(pos, 35)\n }\n function abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), iszero(iszero(value1)))\n }\n function abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"contract_address\")\n mstore(add(pos, 16), \"PoolBase\")\n end := add(pos, 24)\n }\n function abi_encode_tuple_t_bytes32_t_address__to_t_bytes32_t_address__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), and(value1, sub(shl(160, 1), 1)))\n }\n function abi_encode_tuple_packed_t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30_t_stringliteral_7d524a24df8794b8c8ace1bb51668b020bb309552ba8f8b2f78f8f206243afbb__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"contract_address\")\n mstore(add(pos, 16), \"rwETHToken\")\n end := add(pos, 26)\n }\n function extract_byte_array_length(data) -> length\n {\n length := shr(1, data)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) { length := and(length, 0x7f) }\n if eq(outOfPlaceEncoding, lt(length, 32))\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n }\n}", + "id": 14, + "language": "Yul", + "name": "#utility.yul" + } + ], + "linkReferences": {}, + "object": "60806040523480156200001157600080fd5b5060405162002f9338038062002f938339810160408190526200003491620004d9565b604080518082018252601081526f2932bbb0b9321022aa24102a37b5b2b760811b602080830191909152825180840190935260058352640e4ee8aa8960db1b9083015260018055600280546001600160a01b0319166001600160a01b0385161790559082620000a56000336200011c565b620000d17f41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842336200011c565b620000db6200012c565b508151620000f190600690602085019062000433565b5080516200010790600790602084019062000433565b506200011591505062000293565b5062000548565b62000128828262000393565b5050565b6002546040516e636f6e74726163745f65786973747360881b60208201526001600160601b03193060601b16602f8201526001600160a01b039091169063988c515b9060430160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b168252600482015260016024820152604401600060405180830381600087803b158015620001c657600080fd5b505af1158015620001db573d6000803e3d6000fd5b50506002546040516f636f6e74726163745f6164647265737360801b602082015267506f6f6c4261736560c01b60308201526001600160a01b039091169250637221263a91506038015b60408051601f198184030181529082905280516020909101206001600160e01b031960e084901b1682526004820152306024820152604401600060405180830381600087803b1580156200027857600080fd5b505af11580156200028d573d6000803e3d6000fd5b50505050565b6002546040516e636f6e74726163745f65786973747360881b60208201526001600160601b03193060601b16602f8201526001600160a01b039091169063988c515b9060430160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b168252600482015260016024820152604401600060405180830381600087803b1580156200032d57600080fd5b505af115801562000342573d6000803e3d6000fd5b50506002546040516f636f6e74726163745f6164647265737360801b602082015269393ba2aa242a37b5b2b760b11b60308201526001600160a01b039091169250637221263a9150603a0162000225565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1662000128576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620003ef3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b82805462000441906200050b565b90600052602060002090601f016020900481019282620004655760008555620004b0565b82601f106200048057805160ff1916838001178555620004b0565b82800160010185558215620004b0579182015b82811115620004b057825182559160200191906001019062000493565b50620004be929150620004c2565b5090565b5b80821115620004be5760008155600101620004c3565b600060208284031215620004ec57600080fd5b81516001600160a01b03811681146200050457600080fd5b9392505050565b600181811c908216806200052057607f821691505b602082108114156200054257634e487b7160e01b600052602260045260246000fd5b50919050565b612a3b80620005586000396000f3fe608060405234801561001057600080fd5b50600436106102485760003560e01c8063473b0d461161013b57806395d89b41116100b8578063bf4c00361161007c578063bf4c0036146104ce578063d1d8d060146104e1578063d547741f146104e9578063dd62ed3e146104fc578063fa1e19e51461053557600080fd5b806395d89b4114610485578063a217fddf1461048d578063a457c2d714610495578063a4975516146104a8578063a9059cbb146104bb57600080fd5b806370a08231116100ff57806370a082311461041b57806372d099a0146104445780637521796f146104575780638dd225d51461045f57806391d148541461047257600080fd5b8063473b0d46146103d0578063497d0241146103e357806353710f49146103eb578063543edfb6146103fe57806362308e851461040657600080fd5b8063248a9ca3116101c9578063395093511161018d57806339509351146103715780633ef3183c1461038457806340c10f191461039757806342966c68146103aa57806345077e71146103bd57600080fd5b8063248a9ca31461030657806329ca15bc146103295780632f2ff15d1461033c578063313ce5671461034f57806336568abe1461035e57600080fd5b8063126469871161021057806312646987146102bb57806312946fe1146102d057806318160ddd146102e3578063217ac237146102eb57806323b872dd146102f357600080fd5b8063012a33aa1461024d57806301ffc9a71461026857806306fdde031461028b578063095df57f146102a0578063095ea7b3146102a8575b600080fd5b61025561053d565b6040519081526020015b60405180910390f35b61027b610276366004612591565b610555565b604051901515815260200161025f565b61029361058c565b60405161025f91906125e7565b61025561061e565b61027b6102b6366004612632565b6106db565b6102ce6102c936600461265e565b6106f3565b005b6102556102de36600461265e565b6107ac565b600554610255565b61027b6108f6565b61027b610301366004612677565b61099b565b61025561031436600461265e565b60009081526020819052604090206001015490565b6102ce6103373660046126b8565b6109bf565b6102ce61034a3660046126d5565b610a1b565b6040516012815260200161025f565b6102ce61036c3660046126d5565b610a46565b61027b61037f366004612632565b610ac9565b61025561039236600461265e565b610b08565b6102ce6103a5366004612632565b610cac565b6102ce6103b836600461265e565b610f08565b6102ce6103cb3660046126b8565b6112c6565b6102ce6103de36600461265e565b611322565b610255611425565b6102ce6103f936600461265e565b61144b565b6102556115a5565b6102556000805160206129e683398151915281565b6102556104293660046126b8565b6001600160a01b031660009081526003602052604090205490565b6102ce61045236600461265e565b6115cd565b6102556116d2565b6102ce61046d36600461265e565b611703565b61027b6104803660046126d5565b61191c565b610293611945565b610255600081565b61027b6104a3366004612632565b611954565b6102ce6104b6366004612713565b6119e6565b61027b6104c9366004612632565b611a60565b6102ce6104dc36600461265e565b611a6e565b610255611b7a565b6102ce6104f73660046126d5565b611b9b565b61025561050a366004612730565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b610255611bc1565b6000610550670de0b6b3a76400006107ac565b905090565b60006001600160e01b03198216637965db0b60e01b148061058657506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606006805461059b9061275e565b80601f01602080910402602001604051908101604052809291908181526020018280546105c79061275e565b80156106145780601f106105e957610100808354040283529160200191610614565b820191906000526020600020905b8154815290600101906020018083116105f757829003601f168201915b5050505050905090565b600080604051602001610642906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b15801561069d57600080fd5b505afa1580156106b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d59190612799565b91505090565b6000336106e9818585611beb565b5060019392505050565b6000805160206129e683398151915261070c8133611d0f565b6040516a706f6f6c4d617853697a6560a81b6020820152600090602b015b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018690529092506001600160a01b0316906328192c55906044015b600060405180830381600087803b15801561078f57600080fd5b505af11580156107a3573d6000803e3d6000fd5b50505050505050565b6000806107dd6040518060400160405280600d81526020016c546f6b656e42616c616e63657360981b815250611d73565b90506000816001600160a01b0316636402c2626040518163ffffffff1660e01b815260040160206040518083038186803b15801561081a57600080fd5b505afa15801561082e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108529190612799565b90506000826001600160a01b031663e2bcb3df6040518163ffffffff1660e01b815260040160206040518083038186803b15801561088f57600080fd5b505afa1580156108a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c79190612799565b905080156108ed57806108da83876127c8565b6108e491906127e7565b95945050505050565b50929392505050565b60008060405160200161090890612809565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561096357600080fd5b505afa158015610977573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d5919061281f565b6000336109a9858285611e7f565b6109b4858585611f11565b506001949350505050565b60006109cb8133611d0f565b6109e36000805160206129e683398151915283611b9b565b6040516001600160a01b038316907fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd3190600090a25050565b600082815260208190526040902060010154610a378133611d0f565b610a4183836120df565b505050565b6001600160a01b0381163314610abb5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b610ac58282612163565b5050565b3360008181526004602090815260408083206001600160a01b03871684529091528120549091906106e99082908690610b0390879061283c565b611beb565b600080610b396040518060400160405280600d81526020016c546f6b656e42616c616e63657360981b815250611d73565b90506000816001600160a01b0316636402c2626040518163ffffffff1660e01b815260040160206040518083038186803b158015610b7657600080fd5b505afa158015610b8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bae9190612799565b90506000826001600160a01b031663e2bcb3df6040518163ffffffff1660e01b815260040160206040518083038186803b158015610beb57600080fd5b505afa158015610bff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c239190612799565b905080156108ed5760008211610ca15760405162461bcd60e51b815260206004820152603b60248201527f43757272656e746c7920746865726520617265206e6f2065746865722073746f60448201527f7265642e2043616e6e6f7420646976696465206279207a65726f2e00000000006064820152608401610ab2565b816108da82876127c8565b6002546040516001600160a01b03909116906355d9465590610cd2903390602001612854565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610d0691815260200190565b60206040518083038186803b158015610d1e57600080fd5b505afa158015610d32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d56919061281f565b610d9e5760405162461bcd60e51b815260206004820152601960248201527824b73b30b634b21021b7b73a3930b1ba1020b2323932b9b99760391b6044820152606401610ab2565b604051763a37ba30b629bab838363cafb932bbb0b93222ba3432b960491b602082015260009060370160405160208183030381529060405280519060200120905060008211610e425760405162461bcd60e51b815260206004820152602a60248201527f4d696e7420616d6f756e74206e6565647320746f2062652067726561746572206044820152693a3430b7103d32b9379760b11b6064820152608401610ab2565b6000610e4d83610b08565b9050610e5984826121c8565b60025460405162ec44af60e51b815260048101849052602481018390526001600160a01b0390911690631d8895e090604401600060405180830381600087803b158015610ea557600080fd5b505af1158015610eb9573d6000803e3d6000fd5b505060408051848152602081018790526001600160a01b03881693507f2e8ac5177a616f2aec08c3048f5021e4e9743ece034e8d83ba5caf76688bb4759250015b60405180910390a250505050565b6002546040516001600160a01b03909116906355d9465590610f2e903390602001612854565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610f6291815260200190565b60206040518083038186803b158015610f7a57600080fd5b505afa158015610f8e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb2919061281f565b610ffa5760405162461bcd60e51b815260206004820152601960248201527824b73b30b634b21021b7b73a3930b1ba1020b2323932b9b99760391b6044820152606401610ab2565b600061102a6040518060400160405280600d81526020016c546f6b656e42616c616e63657360981b815250611d73565b9050600060405160200161105b90763a37ba30b629bab838363cafb932bbb0b93222ba3432b960491b815260170190565b604051602081830303815290604052805190602001209050600083116110d65760405162461bcd60e51b815260206004820152602a60248201527f4275726e20616d6f756e74206e6565647320746f2062652067726561746572206044820152693a3430b7103d32b9379760b11b6064820152608401610ab2565b33600090815260036020526040812054116111335760405162461bcd60e51b815260206004820152601b60248201527f496e73756666696369656e742072774574682062616c616e63652e00000000006044820152606401610ab2565b600061113e846107ac565b9050826001600160a01b0316636402c2626040518163ffffffff1660e01b815260040160206040518083038186803b15801561117957600080fd5b505afa15801561118d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b19190612799565b81106112255760405162461bcd60e51b815260206004820152603960248201527f5468657265206172656e277420656e6f756768206261636b656420657468657260448201527f7320746f20706572666f726d207468697320616374696f6e2e000000000000006064820152608401610ab2565b600254604051635bcfee6760e01b815260048101849052602481018690526001600160a01b0390911690635bcfee6790604401600060405180830381600087803b15801561127257600080fd5b505af1158015611286573d6000803e3d6000fd5b5050505061129433856122a7565b60405184815233907ffd38818f5291bf0bb3a2a48aadc06ba8757865d1dabd804585338aab3009dcb690602001610efa565b60006112d28133611d0f565b6112ea6000805160206129e683398151915283610a1b565b6040516001600160a01b038316907fd873e3f571dc25e020cefdeb7255b3874ead3aade1f94a5fb4a5da831fd670cd90600090a25050565b6000805160206129e683398151915261133b8133611d0f565b6002546040516001600160a01b03909116906355d946559061135f90602001612809565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161139391815260200190565b60206040518083038186803b1580156113ab57600080fd5b505afa1580156113bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e3919061281f565b6113ff5760405162461bcd60e51b8152600401610ab290612889565b6040516e36b4b721b7b73a3934b13aba34b7b760891b6020820152600090602f0161072a565b600080604051602001610642906c64617973546f5265776172647360981b8152600d0190565b6000805160206129e68339815191526114648133611d0f565b6002546040516001600160a01b03909116906355d946559061148890602001612809565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b81526004016114bc91815260200190565b60206040518083038186803b1580156114d457600080fd5b505afa1580156114e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150c919061281f565b6115285760405162461bcd60e51b8152600401610ab290612889565b604080516c64617973546f5265776172647360981b6020808301919091528251600d818403018152602d90920190925280519101206002546001600160a01b03166328192c558261157c86620151806127c8565b6040516001600160e01b031960e085901b16815260048101929092526024820152604401610775565b600080604051602001610642906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b6000805160206129e68339815191526115e68133611d0f565b6002546040516001600160a01b03909116906355d946559061160a90602001612809565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161163e91815260200190565b60206040518083038186803b15801561165657600080fd5b505afa15801561166a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061168e919061281f565b6116aa5760405162461bcd60e51b8152600401610ab290612889565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b602082015260009060310161072a565b60008060405160200161064290771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b6000805160206129e683398151915261171c8133611d0f565b6002546040516001600160a01b03909116906355d946559061174090602001612809565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161177491815260200190565b60206040518083038186803b15801561178c57600080fd5b505afa1580156117a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c4919061281f565b6117e05760405162461bcd60e51b8152600401610ab290612889565b60405167706f6f6c4665657360c01b60208201526000906028016040516020818303038152906040528051906020012090506000604051602001611835906a1c1bdbdb1199595cd4d95d60aa1b8152600b0190565b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301859052602483018790529092506001600160a01b0316906328192c5590604401600060405180830381600087803b15801561189957600080fd5b505af11580156118ad573d6000803e3d6000fd5b505060025460405163988c515b60e01b815260048101859052600160248201526001600160a01b03909116925063988c515b9150604401600060405180830381600087803b1580156118fe57600080fd5b505af1158015611912573d6000803e3d6000fd5b5050505050505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60606007805461059b9061275e565b3360008181526004602090815260408083206001600160a01b0387168452909152812054909190838110156119d95760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610ab2565b6109b48286868403611beb565b6000805160206129e68339815191526119ff8133611d0f565b6000604051602001611a1090612809565b60408051808303601f1901815290829052805160209091012060025463988c515b60e01b83526004830182905285151560248401529092506001600160a01b03169063988c515b90604401610775565b6000336106e9818585611f11565b6000805160206129e6833981519152611a878133611d0f565b6002546040516001600160a01b03909116906355d9465590611aab90602001612809565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401611adf91815260200190565b60206040518083038186803b158015611af757600080fd5b505afa158015611b0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2f919061281f565b611b4b5760405162461bcd60e51b8152600401610ab290612889565b604051771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b602082015260009060380161072a565b6000806040516020016106429067706f6f6c4665657360c01b815260080190565b600082815260208190526040902060010154611bb78133611d0f565b610a418383612163565b600080604051602001610642907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b6001600160a01b038316611c4d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610ab2565b6001600160a01b038216611cae5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610ab2565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b611d19828261191c565b610ac557611d31816001600160a01b031660146123f5565b611d3c8360206123f5565b604051602001611d4d9291906128c0565b60408051601f198184030181529082905262461bcd60e51b8252610ab2916004016125e7565b60008082604051602001611d879190612935565b60408051808303601f190181529082905280516020909101206002546315485dd960e11b8352600483018290529092506000916001600160a01b0390911690632a90bbb29060240160206040518083038186803b158015611de757600080fd5b505afa158015611dfb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e1f919061296e565b90506001600160a01b03811615611e785760405162461bcd60e51b815260206004820152601b60248201527f436f6e74726163742061646472657373206e6f7420666f756e642e00000000006044820152606401610ab2565b9392505050565b6001600160a01b038381166000908152600460209081526040808320938616835292905220546000198114611f0b5781811015611efe5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610ab2565b611f0b8484848403611beb565b50505050565b6001600160a01b038316611f755760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610ab2565b6001600160a01b038216611fd75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610ab2565b6001600160a01b0383166000908152600360205260409020548181101561204f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610ab2565b6001600160a01b0380851660009081526003602052604080822085850390559185168152908120805484929061208690849061283c565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516120d291815260200190565b60405180910390a3611f0b565b6120e9828261191c565b610ac5576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905561211f3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61216d828261191c565b15610ac5576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b03821661221e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610ab2565b8060056000828254612230919061283c565b90915550506001600160a01b0382166000908152600360205260408120805483929061225d90849061283c565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382166123075760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610ab2565b6001600160a01b0382166000908152600360205260409020548181101561237b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610ab2565b6001600160a01b03831660009081526003602052604081208383039055600580548492906123aa90849061298b565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b606060006124048360026127c8565b61240f90600261283c565b67ffffffffffffffff811115612427576124276129a2565b6040519080825280601f01601f191660200182016040528015612451576020820181803683370190505b509050600360fc1b8160008151811061246c5761246c6129b8565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061249b5761249b6129b8565b60200101906001600160f81b031916908160001a90535060006124bf8460026127c8565b6124ca90600161283c565b90505b6001811115612542576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106124fe576124fe6129b8565b1a60f81b828281518110612514576125146129b8565b60200101906001600160f81b031916908160001a90535060049490941c9361253b816129ce565b90506124cd565b508315611e785760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610ab2565b6000602082840312156125a357600080fd5b81356001600160e01b031981168114611e7857600080fd5b60005b838110156125d65781810151838201526020016125be565b83811115611f0b5750506000910152565b60208152600082518060208401526126068160408501602087016125bb565b601f01601f19169190910160400192915050565b6001600160a01b038116811461262f57600080fd5b50565b6000806040838503121561264557600080fd5b82356126508161261a565b946020939093013593505050565b60006020828403121561267057600080fd5b5035919050565b60008060006060848603121561268c57600080fd5b83356126978161261a565b925060208401356126a78161261a565b929592945050506040919091013590565b6000602082840312156126ca57600080fd5b8135611e788161261a565b600080604083850312156126e857600080fd5b8235915060208301356126fa8161261a565b809150509250929050565b801515811461262f57600080fd5b60006020828403121561272557600080fd5b8135611e7881612705565b6000806040838503121561274357600080fd5b823561274e8161261a565b915060208301356126fa8161261a565b600181811c9082168061277257607f821691505b6020821081141561279357634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156127ab57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156127e2576127e26127b2565b500290565b60008261280457634e487b7160e01b600052601260045260246000fd5b500490565b696973506f6f6c4c69766560b01b8152600a0190565b60006020828403121561283157600080fd5b8151611e7881612705565b6000821982111561284f5761284f6127b2565b500190565b6e636f6e74726163745f65786973747360881b815260609190911b6bffffffffffffffffffffffff1916600f82015260230190565b6020808252601d908201527f54686520706f6f6c2069732063757272656e746c7920636c6f7365642e000000604082015260600190565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516128f88160178501602088016125bb565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516129298160288401602088016125bb565b01602801949350505050565b70636f6e74726163745f5f6164647265737360781b8152600082516129618160118501602087016125bb565b9190910160110192915050565b60006020828403121561298057600080fd5b8151611e788161261a565b60008282101561299d5761299d6127b2565b500390565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000816129dd576129dd6127b2565b50600019019056fe41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842a2646970667358221220c7c758780bfc1583b93ce8852f7995dd5dceb4dfd8028af77f57e49cd37acbc564736f6c63430008090033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH3 0x11 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH3 0x2F93 CODESIZE SUB DUP1 PUSH3 0x2F93 DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH3 0x34 SWAP2 PUSH3 0x4D9 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD DUP3 MSTORE PUSH1 0x10 DUP2 MSTORE PUSH16 0x2932BBB0B9321022AA24102A37B5B2B7 PUSH1 0x81 SHL PUSH1 0x20 DUP1 DUP4 ADD SWAP2 SWAP1 SWAP2 MSTORE DUP3 MLOAD DUP1 DUP5 ADD SWAP1 SWAP4 MSTORE PUSH1 0x5 DUP4 MSTORE PUSH5 0xE4EE8AA89 PUSH1 0xDB SHL SWAP1 DUP4 ADD MSTORE PUSH1 0x1 DUP1 SSTORE PUSH1 0x2 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND OR SWAP1 SSTORE SWAP1 DUP3 PUSH3 0xA5 PUSH1 0x0 CALLER PUSH3 0x11C JUMP JUMPDEST PUSH3 0xD1 PUSH32 0x41A01EC0A13B563FA452569E3FBB116366D217C2769AA1561822E65A617E3842 CALLER PUSH3 0x11C JUMP JUMPDEST PUSH3 0xDB PUSH3 0x12C JUMP JUMPDEST POP DUP2 MLOAD PUSH3 0xF1 SWAP1 PUSH1 0x6 SWAP1 PUSH1 0x20 DUP6 ADD SWAP1 PUSH3 0x433 JUMP JUMPDEST POP DUP1 MLOAD PUSH3 0x107 SWAP1 PUSH1 0x7 SWAP1 PUSH1 0x20 DUP5 ADD SWAP1 PUSH3 0x433 JUMP JUMPDEST POP PUSH3 0x115 SWAP2 POP POP PUSH3 0x293 JUMP JUMPDEST POP PUSH3 0x548 JUMP JUMPDEST PUSH3 0x128 DUP3 DUP3 PUSH3 0x393 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH15 0x636F6E74726163745F657869737473 PUSH1 0x88 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB NOT ADDRESS PUSH1 0x60 SHL AND PUSH1 0x2F DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x988C515B SWAP1 PUSH1 0x43 ADD PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT PUSH1 0xE0 DUP5 SWAP1 SHL AND DUP3 MSTORE PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x1C6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH3 0x1DB JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH16 0x636F6E74726163745F61646472657373 PUSH1 0x80 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH8 0x506F6F6C42617365 PUSH1 0xC0 SHL PUSH1 0x30 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP3 POP PUSH4 0x7221263A SWAP2 POP PUSH1 0x38 ADD JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT PUSH1 0xE0 DUP5 SWAP1 SHL AND DUP3 MSTORE PUSH1 0x4 DUP3 ADD MSTORE ADDRESS PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x278 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH3 0x28D JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH15 0x636F6E74726163745F657869737473 PUSH1 0x88 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0x60 SHL SUB NOT ADDRESS PUSH1 0x60 SHL AND PUSH1 0x2F DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x988C515B SWAP1 PUSH1 0x43 ADD PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT PUSH1 0xE0 DUP5 SWAP1 SHL AND DUP3 MSTORE PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x32D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH3 0x342 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH16 0x636F6E74726163745F61646472657373 PUSH1 0x80 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH10 0x393BA2AA242A37B5B2B7 PUSH1 0xB1 SHL PUSH1 0x30 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP3 POP PUSH4 0x7221263A SWAP2 POP PUSH1 0x3A ADD PUSH3 0x225 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND PUSH3 0x128 JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH3 0x3EF CALLER SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH3 0x441 SWAP1 PUSH3 0x50B JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH3 0x465 JUMPI PUSH1 0x0 DUP6 SSTORE PUSH3 0x4B0 JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH3 0x480 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH3 0x4B0 JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH3 0x4B0 JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH3 0x4B0 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH3 0x493 JUMP JUMPDEST POP PUSH3 0x4BE SWAP3 SWAP2 POP PUSH3 0x4C2 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH3 0x4BE JUMPI PUSH1 0x0 DUP2 SSTORE PUSH1 0x1 ADD PUSH3 0x4C3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH3 0x4EC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH3 0x504 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH3 0x520 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH3 0x542 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x2A3B DUP1 PUSH3 0x558 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x248 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x473B0D46 GT PUSH2 0x13B JUMPI DUP1 PUSH4 0x95D89B41 GT PUSH2 0xB8 JUMPI DUP1 PUSH4 0xBF4C0036 GT PUSH2 0x7C JUMPI DUP1 PUSH4 0xBF4C0036 EQ PUSH2 0x4CE JUMPI DUP1 PUSH4 0xD1D8D060 EQ PUSH2 0x4E1 JUMPI DUP1 PUSH4 0xD547741F EQ PUSH2 0x4E9 JUMPI DUP1 PUSH4 0xDD62ED3E EQ PUSH2 0x4FC JUMPI DUP1 PUSH4 0xFA1E19E5 EQ PUSH2 0x535 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x485 JUMPI DUP1 PUSH4 0xA217FDDF EQ PUSH2 0x48D JUMPI DUP1 PUSH4 0xA457C2D7 EQ PUSH2 0x495 JUMPI DUP1 PUSH4 0xA4975516 EQ PUSH2 0x4A8 JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x4BB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x70A08231 GT PUSH2 0xFF JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x41B JUMPI DUP1 PUSH4 0x72D099A0 EQ PUSH2 0x444 JUMPI DUP1 PUSH4 0x7521796F EQ PUSH2 0x457 JUMPI DUP1 PUSH4 0x8DD225D5 EQ PUSH2 0x45F JUMPI DUP1 PUSH4 0x91D14854 EQ PUSH2 0x472 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x473B0D46 EQ PUSH2 0x3D0 JUMPI DUP1 PUSH4 0x497D0241 EQ PUSH2 0x3E3 JUMPI DUP1 PUSH4 0x53710F49 EQ PUSH2 0x3EB JUMPI DUP1 PUSH4 0x543EDFB6 EQ PUSH2 0x3FE JUMPI DUP1 PUSH4 0x62308E85 EQ PUSH2 0x406 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x248A9CA3 GT PUSH2 0x1C9 JUMPI DUP1 PUSH4 0x39509351 GT PUSH2 0x18D JUMPI DUP1 PUSH4 0x39509351 EQ PUSH2 0x371 JUMPI DUP1 PUSH4 0x3EF3183C EQ PUSH2 0x384 JUMPI DUP1 PUSH4 0x40C10F19 EQ PUSH2 0x397 JUMPI DUP1 PUSH4 0x42966C68 EQ PUSH2 0x3AA JUMPI DUP1 PUSH4 0x45077E71 EQ PUSH2 0x3BD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x248A9CA3 EQ PUSH2 0x306 JUMPI DUP1 PUSH4 0x29CA15BC EQ PUSH2 0x329 JUMPI DUP1 PUSH4 0x2F2FF15D EQ PUSH2 0x33C JUMPI DUP1 PUSH4 0x313CE567 EQ PUSH2 0x34F JUMPI DUP1 PUSH4 0x36568ABE EQ PUSH2 0x35E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x12646987 GT PUSH2 0x210 JUMPI DUP1 PUSH4 0x12646987 EQ PUSH2 0x2BB JUMPI DUP1 PUSH4 0x12946FE1 EQ PUSH2 0x2D0 JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0x2E3 JUMPI DUP1 PUSH4 0x217AC237 EQ PUSH2 0x2EB JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0x2F3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x12A33AA EQ PUSH2 0x24D JUMPI DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x268 JUMPI DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0x28B JUMPI DUP1 PUSH4 0x95DF57F EQ PUSH2 0x2A0 JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0x2A8 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x255 PUSH2 0x53D JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x27B PUSH2 0x276 CALLDATASIZE PUSH1 0x4 PUSH2 0x2591 JUMP JUMPDEST PUSH2 0x555 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x25F JUMP JUMPDEST PUSH2 0x293 PUSH2 0x58C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x25F SWAP2 SWAP1 PUSH2 0x25E7 JUMP JUMPDEST PUSH2 0x255 PUSH2 0x61E JUMP JUMPDEST PUSH2 0x27B PUSH2 0x2B6 CALLDATASIZE PUSH1 0x4 PUSH2 0x2632 JUMP JUMPDEST PUSH2 0x6DB JUMP JUMPDEST PUSH2 0x2CE PUSH2 0x2C9 CALLDATASIZE PUSH1 0x4 PUSH2 0x265E JUMP JUMPDEST PUSH2 0x6F3 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x255 PUSH2 0x2DE CALLDATASIZE PUSH1 0x4 PUSH2 0x265E JUMP JUMPDEST PUSH2 0x7AC JUMP JUMPDEST PUSH1 0x5 SLOAD PUSH2 0x255 JUMP JUMPDEST PUSH2 0x27B PUSH2 0x8F6 JUMP JUMPDEST PUSH2 0x27B PUSH2 0x301 CALLDATASIZE PUSH1 0x4 PUSH2 0x2677 JUMP JUMPDEST PUSH2 0x99B JUMP JUMPDEST PUSH2 0x255 PUSH2 0x314 CALLDATASIZE PUSH1 0x4 PUSH2 0x265E JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x2CE PUSH2 0x337 CALLDATASIZE PUSH1 0x4 PUSH2 0x26B8 JUMP JUMPDEST PUSH2 0x9BF JUMP JUMPDEST PUSH2 0x2CE PUSH2 0x34A CALLDATASIZE PUSH1 0x4 PUSH2 0x26D5 JUMP JUMPDEST PUSH2 0xA1B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x12 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x25F JUMP JUMPDEST PUSH2 0x2CE PUSH2 0x36C CALLDATASIZE PUSH1 0x4 PUSH2 0x26D5 JUMP JUMPDEST PUSH2 0xA46 JUMP JUMPDEST PUSH2 0x27B PUSH2 0x37F CALLDATASIZE PUSH1 0x4 PUSH2 0x2632 JUMP JUMPDEST PUSH2 0xAC9 JUMP JUMPDEST PUSH2 0x255 PUSH2 0x392 CALLDATASIZE PUSH1 0x4 PUSH2 0x265E JUMP JUMPDEST PUSH2 0xB08 JUMP JUMPDEST PUSH2 0x2CE PUSH2 0x3A5 CALLDATASIZE PUSH1 0x4 PUSH2 0x2632 JUMP JUMPDEST PUSH2 0xCAC JUMP JUMPDEST PUSH2 0x2CE PUSH2 0x3B8 CALLDATASIZE PUSH1 0x4 PUSH2 0x265E JUMP JUMPDEST PUSH2 0xF08 JUMP JUMPDEST PUSH2 0x2CE PUSH2 0x3CB CALLDATASIZE PUSH1 0x4 PUSH2 0x26B8 JUMP JUMPDEST PUSH2 0x12C6 JUMP JUMPDEST PUSH2 0x2CE PUSH2 0x3DE CALLDATASIZE PUSH1 0x4 PUSH2 0x265E JUMP JUMPDEST PUSH2 0x1322 JUMP JUMPDEST PUSH2 0x255 PUSH2 0x1425 JUMP JUMPDEST PUSH2 0x2CE PUSH2 0x3F9 CALLDATASIZE PUSH1 0x4 PUSH2 0x265E JUMP JUMPDEST PUSH2 0x144B JUMP JUMPDEST PUSH2 0x255 PUSH2 0x15A5 JUMP JUMPDEST PUSH2 0x255 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x29E6 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 JUMP JUMPDEST PUSH2 0x255 PUSH2 0x429 CALLDATASIZE PUSH1 0x4 PUSH2 0x26B8 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x2CE PUSH2 0x452 CALLDATASIZE PUSH1 0x4 PUSH2 0x265E JUMP JUMPDEST PUSH2 0x15CD JUMP JUMPDEST PUSH2 0x255 PUSH2 0x16D2 JUMP JUMPDEST PUSH2 0x2CE PUSH2 0x46D CALLDATASIZE PUSH1 0x4 PUSH2 0x265E JUMP JUMPDEST PUSH2 0x1703 JUMP JUMPDEST PUSH2 0x27B PUSH2 0x480 CALLDATASIZE PUSH1 0x4 PUSH2 0x26D5 JUMP JUMPDEST PUSH2 0x191C JUMP JUMPDEST PUSH2 0x293 PUSH2 0x1945 JUMP JUMPDEST PUSH2 0x255 PUSH1 0x0 DUP2 JUMP JUMPDEST PUSH2 0x27B PUSH2 0x4A3 CALLDATASIZE PUSH1 0x4 PUSH2 0x2632 JUMP JUMPDEST PUSH2 0x1954 JUMP JUMPDEST PUSH2 0x2CE PUSH2 0x4B6 CALLDATASIZE PUSH1 0x4 PUSH2 0x2713 JUMP JUMPDEST PUSH2 0x19E6 JUMP JUMPDEST PUSH2 0x27B PUSH2 0x4C9 CALLDATASIZE PUSH1 0x4 PUSH2 0x2632 JUMP JUMPDEST PUSH2 0x1A60 JUMP JUMPDEST PUSH2 0x2CE PUSH2 0x4DC CALLDATASIZE PUSH1 0x4 PUSH2 0x265E JUMP JUMPDEST PUSH2 0x1A6E JUMP JUMPDEST PUSH2 0x255 PUSH2 0x1B7A JUMP JUMPDEST PUSH2 0x2CE PUSH2 0x4F7 CALLDATASIZE PUSH1 0x4 PUSH2 0x26D5 JUMP JUMPDEST PUSH2 0x1B9B JUMP JUMPDEST PUSH2 0x255 PUSH2 0x50A CALLDATASIZE PUSH1 0x4 PUSH2 0x2730 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 SWAP1 SWAP5 AND DUP3 MSTORE SWAP2 SWAP1 SWAP2 MSTORE KECCAK256 SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x255 PUSH2 0x1BC1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x550 PUSH8 0xDE0B6B3A7640000 PUSH2 0x7AC JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH4 0x7965DB0B PUSH1 0xE0 SHL EQ DUP1 PUSH2 0x586 JUMPI POP PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP4 AND EQ JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x6 DUP1 SLOAD PUSH2 0x59B SWAP1 PUSH2 0x275E JUMP JUMPDEST DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP1 SLOAD PUSH2 0x5C7 SWAP1 PUSH2 0x275E JUMP JUMPDEST DUP1 ISZERO PUSH2 0x614 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x5E9 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x614 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x5F7 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x642 SWAP1 PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL DUP2 MSTORE PUSH1 0xB ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x69D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x6B1 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x6D5 SWAP2 SWAP1 PUSH2 0x2799 JUMP JUMPDEST SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x0 CALLER PUSH2 0x6E9 DUP2 DUP6 DUP6 PUSH2 0x1BEB JUMP JUMPDEST POP PUSH1 0x1 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x29E6 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x70C DUP2 CALLER PUSH2 0x1D0F JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2B ADD JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP7 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x78F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x7A3 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x7DD PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0xD DUP2 MSTORE PUSH1 0x20 ADD PUSH13 0x546F6B656E42616C616E636573 PUSH1 0x98 SHL DUP2 MSTORE POP PUSH2 0x1D73 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x6402C262 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x81A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x82E JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x852 SWAP2 SWAP1 PUSH2 0x2799 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xE2BCB3DF PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x88F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x8A3 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x8C7 SWAP2 SWAP1 PUSH2 0x2799 JUMP JUMPDEST SWAP1 POP DUP1 ISZERO PUSH2 0x8ED JUMPI DUP1 PUSH2 0x8DA DUP4 DUP8 PUSH2 0x27C8 JUMP JUMPDEST PUSH2 0x8E4 SWAP2 SWAP1 PUSH2 0x27E7 JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST POP SWAP3 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x908 SWAP1 PUSH2 0x2809 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x55D94655 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x963 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x977 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x6D5 SWAP2 SWAP1 PUSH2 0x281F JUMP JUMPDEST PUSH1 0x0 CALLER PUSH2 0x9A9 DUP6 DUP3 DUP6 PUSH2 0x1E7F JUMP JUMPDEST PUSH2 0x9B4 DUP6 DUP6 DUP6 PUSH2 0x1F11 JUMP JUMPDEST POP PUSH1 0x1 SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x9CB DUP2 CALLER PUSH2 0x1D0F JUMP JUMPDEST PUSH2 0x9E3 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x29E6 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0x1B9B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xEF69F7D97228658C92417BE1B16B19058315DE71FECB435D07B7D23728B6BD31 SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0xA37 DUP2 CALLER PUSH2 0x1D0F JUMP JUMPDEST PUSH2 0xA41 DUP4 DUP4 PUSH2 0x20DF JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND CALLER EQ PUSH2 0xABB JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416363657373436F6E74726F6C3A2063616E206F6E6C792072656E6F756E6365 PUSH1 0x44 DUP3 ADD MSTORE PUSH15 0x103937B632B9903337B91039B2B633 PUSH1 0x89 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0xAC5 DUP3 DUP3 PUSH2 0x2163 JUMP JUMPDEST POP POP JUMP JUMPDEST CALLER PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE DUP2 KECCAK256 SLOAD SWAP1 SWAP2 SWAP1 PUSH2 0x6E9 SWAP1 DUP3 SWAP1 DUP7 SWAP1 PUSH2 0xB03 SWAP1 DUP8 SWAP1 PUSH2 0x283C JUMP JUMPDEST PUSH2 0x1BEB JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0xB39 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0xD DUP2 MSTORE PUSH1 0x20 ADD PUSH13 0x546F6B656E42616C616E636573 PUSH1 0x98 SHL DUP2 MSTORE POP PUSH2 0x1D73 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x6402C262 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xB76 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xB8A JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xBAE SWAP2 SWAP1 PUSH2 0x2799 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xE2BCB3DF PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xBEB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xBFF JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xC23 SWAP2 SWAP1 PUSH2 0x2799 JUMP JUMPDEST SWAP1 POP DUP1 ISZERO PUSH2 0x8ED JUMPI PUSH1 0x0 DUP3 GT PUSH2 0xCA1 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x43757272656E746C7920746865726520617265206E6F2065746865722073746F PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7265642E2043616E6E6F7420646976696465206279207A65726F2E0000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xAB2 JUMP JUMPDEST DUP2 PUSH2 0x8DA DUP3 DUP8 PUSH2 0x27C8 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xCD2 SWAP1 CALLER SWAP1 PUSH1 0x20 ADD PUSH2 0x2854 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xD06 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xD1E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xD32 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xD56 SWAP2 SWAP1 PUSH2 0x281F JUMP JUMPDEST PUSH2 0xD9E JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x19 PUSH1 0x24 DUP3 ADD MSTORE PUSH25 0x24B73B30B634B21021B7B73A3930B1BA1020B2323932B9B997 PUSH1 0x39 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0xAB2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH23 0x3A37BA30B629BAB838363CAFB932BBB0B93222BA3432B9 PUSH1 0x49 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x37 ADD PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 DUP3 GT PUSH2 0xE42 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2A PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4D696E7420616D6F756E74206E6565647320746F206265206772656174657220 PUSH1 0x44 DUP3 ADD MSTORE PUSH10 0x3A3430B7103D32B93797 PUSH1 0xB1 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xAB2 JUMP JUMPDEST PUSH1 0x0 PUSH2 0xE4D DUP4 PUSH2 0xB08 JUMP JUMPDEST SWAP1 POP PUSH2 0xE59 DUP5 DUP3 PUSH2 0x21C8 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH3 0xEC44AF PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP5 SWAP1 MSTORE PUSH1 0x24 DUP2 ADD DUP4 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x1D8895E0 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xEA5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xEB9 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x40 DUP1 MLOAD DUP5 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP8 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP9 AND SWAP4 POP PUSH32 0x2E8AC5177A616F2AEC08C3048F5021E4E9743ECE034E8D83BA5CAF76688BB475 SWAP3 POP ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 POP POP POP POP JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xF2E SWAP1 CALLER SWAP1 PUSH1 0x20 ADD PUSH2 0x2854 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF62 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xF7A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xF8E JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xFB2 SWAP2 SWAP1 PUSH2 0x281F JUMP JUMPDEST PUSH2 0xFFA JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x19 PUSH1 0x24 DUP3 ADD MSTORE PUSH25 0x24B73B30B634B21021B7B73A3930B1BA1020B2323932B9B997 PUSH1 0x39 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0xAB2 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x102A PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0xD DUP2 MSTORE PUSH1 0x20 ADD PUSH13 0x546F6B656E42616C616E636573 PUSH1 0x98 SHL DUP2 MSTORE POP PUSH2 0x1D73 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x105B SWAP1 PUSH23 0x3A37BA30B629BAB838363CAFB932BBB0B93222BA3432B9 PUSH1 0x49 SHL DUP2 MSTORE PUSH1 0x17 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 DUP4 GT PUSH2 0x10D6 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2A PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4275726E20616D6F756E74206E6565647320746F206265206772656174657220 PUSH1 0x44 DUP3 ADD MSTORE PUSH10 0x3A3430B7103D32B93797 PUSH1 0xB1 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xAB2 JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD GT PUSH2 0x1133 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x496E73756666696369656E742072774574682062616C616E63652E0000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0xAB2 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x113E DUP5 PUSH2 0x7AC JUMP JUMPDEST SWAP1 POP DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x6402C262 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1179 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x118D JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x11B1 SWAP2 SWAP1 PUSH2 0x2799 JUMP JUMPDEST DUP2 LT PUSH2 0x1225 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x39 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x5468657265206172656E277420656E6F756768206261636B6564206574686572 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7320746F20706572666F726D207468697320616374696F6E2E00000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xAB2 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0x5BCFEE67 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP5 SWAP1 MSTORE PUSH1 0x24 DUP2 ADD DUP7 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x5BCFEE67 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1272 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1286 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH2 0x1294 CALLER DUP6 PUSH2 0x22A7 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP5 DUP2 MSTORE CALLER SWAP1 PUSH32 0xFD38818F5291BF0BB3A2A48AADC06BA8757865D1DABD804585338AAB3009DCB6 SWAP1 PUSH1 0x20 ADD PUSH2 0xEFA JUMP JUMPDEST PUSH1 0x0 PUSH2 0x12D2 DUP2 CALLER PUSH2 0x1D0F JUMP JUMPDEST PUSH2 0x12EA PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x29E6 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0xA1B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xD873E3F571DC25E020CEFDEB7255B3874EAD3AADE1F94A5FB4A5DA831FD670CD SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x29E6 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x133B DUP2 CALLER PUSH2 0x1D0F JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x135F SWAP1 PUSH1 0x20 ADD PUSH2 0x2809 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1393 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x13AB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x13BF JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x13E3 SWAP2 SWAP1 PUSH2 0x281F JUMP JUMPDEST PUSH2 0x13FF JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAB2 SWAP1 PUSH2 0x2889 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2F ADD PUSH2 0x72A JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x642 SWAP1 PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL DUP2 MSTORE PUSH1 0xD ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x29E6 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x1464 DUP2 CALLER PUSH2 0x1D0F JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x1488 SWAP1 PUSH1 0x20 ADD PUSH2 0x2809 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x14BC SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x14D4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x14E8 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x150C SWAP2 SWAP1 PUSH2 0x281F JUMP JUMPDEST PUSH2 0x1528 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAB2 SWAP1 PUSH2 0x2889 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL PUSH1 0x20 DUP1 DUP4 ADD SWAP2 SWAP1 SWAP2 MSTORE DUP3 MLOAD PUSH1 0xD DUP2 DUP5 SUB ADD DUP2 MSTORE PUSH1 0x2D SWAP1 SWAP3 ADD SWAP1 SWAP3 MSTORE DUP1 MLOAD SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x28192C55 DUP3 PUSH2 0x157C DUP7 PUSH3 0x15180 PUSH2 0x27C8 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT PUSH1 0xE0 DUP6 SWAP1 SHL AND DUP2 MSTORE PUSH1 0x4 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH2 0x775 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x642 SWAP1 PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL DUP2 MSTORE PUSH1 0xF ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x29E6 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x15E6 DUP2 CALLER PUSH2 0x1D0F JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x160A SWAP1 PUSH1 0x20 ADD PUSH2 0x2809 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x163E SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1656 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x166A JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x168E SWAP2 SWAP1 PUSH2 0x281F JUMP JUMPDEST PUSH2 0x16AA JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAB2 SWAP1 PUSH2 0x2889 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x31 ADD PUSH2 0x72A JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x642 SWAP1 PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL DUP2 MSTORE PUSH1 0x18 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x29E6 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x171C DUP2 CALLER PUSH2 0x1D0F JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x1740 SWAP1 PUSH1 0x20 ADD PUSH2 0x2809 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1774 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x178C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x17A0 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x17C4 SWAP2 SWAP1 PUSH2 0x281F JUMP JUMPDEST PUSH2 0x17E0 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAB2 SWAP1 PUSH2 0x2889 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH8 0x706F6F6C46656573 PUSH1 0xC0 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x28 ADD PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1835 SWAP1 PUSH11 0x1C1BDBDB1199595CD4D95D PUSH1 0xAA SHL DUP2 MSTORE PUSH1 0xB ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP6 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP8 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1899 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x18AD JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0x988C515B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP6 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP3 POP PUSH4 0x988C515B SWAP2 POP PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x18FE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1912 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP3 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 SWAP1 SWAP4 AND DUP5 MSTORE SWAP2 SWAP1 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x7 DUP1 SLOAD PUSH2 0x59B SWAP1 PUSH2 0x275E JUMP JUMPDEST CALLER PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE DUP2 KECCAK256 SLOAD SWAP1 SWAP2 SWAP1 DUP4 DUP2 LT ISZERO PUSH2 0x19D9 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x25 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A2064656372656173656420616C6C6F77616E63652062656C6F77 PUSH1 0x44 DUP3 ADD MSTORE PUSH5 0x207A65726F PUSH1 0xD8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xAB2 JUMP JUMPDEST PUSH2 0x9B4 DUP3 DUP7 DUP7 DUP5 SUB PUSH2 0x1BEB JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x29E6 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x19FF DUP2 CALLER PUSH2 0x1D0F JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1A10 SWAP1 PUSH2 0x2809 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x988C515B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE DUP6 ISZERO ISZERO PUSH1 0x24 DUP5 ADD MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x988C515B SWAP1 PUSH1 0x44 ADD PUSH2 0x775 JUMP JUMPDEST PUSH1 0x0 CALLER PUSH2 0x6E9 DUP2 DUP6 DUP6 PUSH2 0x1F11 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x29E6 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x1A87 DUP2 CALLER PUSH2 0x1D0F JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x1AAB SWAP1 PUSH1 0x20 ADD PUSH2 0x2809 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1ADF SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1AF7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1B0B JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x1B2F SWAP2 SWAP1 PUSH2 0x281F JUMP JUMPDEST PUSH2 0x1B4B JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAB2 SWAP1 PUSH2 0x2889 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x38 ADD PUSH2 0x72A JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x642 SWAP1 PUSH8 0x706F6F6C46656573 PUSH1 0xC0 SHL DUP2 MSTORE PUSH1 0x8 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0x1BB7 DUP2 CALLER PUSH2 0x1D0F JUMP JUMPDEST PUSH2 0xA41 DUP4 DUP4 PUSH2 0x2163 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x642 SWAP1 PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL DUP2 MSTORE PUSH1 0x11 ADD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH2 0x1C4D JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP1 DUP3 ADD MSTORE PUSH32 0x45524332303A20617070726F76652066726F6D20746865207A65726F20616464 PUSH1 0x44 DUP3 ADD MSTORE PUSH4 0x72657373 PUSH1 0xE0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xAB2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x1CAE JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x22 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A20617070726F766520746F20746865207A65726F206164647265 PUSH1 0x44 DUP3 ADD MSTORE PUSH2 0x7373 PUSH1 0xF0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xAB2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 DUP2 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP5 DUP8 AND DUP1 DUP5 MSTORE SWAP5 DUP3 MSTORE SWAP2 DUP3 SWAP1 KECCAK256 DUP6 SWAP1 SSTORE SWAP1 MLOAD DUP5 DUP2 MSTORE PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 SWAP2 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH2 0x1D19 DUP3 DUP3 PUSH2 0x191C JUMP JUMPDEST PUSH2 0xAC5 JUMPI PUSH2 0x1D31 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x14 PUSH2 0x23F5 JUMP JUMPDEST PUSH2 0x1D3C DUP4 PUSH1 0x20 PUSH2 0x23F5 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1D4D SWAP3 SWAP2 SWAP1 PUSH2 0x28C0 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE PUSH3 0x461BCD PUSH1 0xE5 SHL DUP3 MSTORE PUSH2 0xAB2 SWAP2 PUSH1 0x4 ADD PUSH2 0x25E7 JUMP JUMPDEST PUSH1 0x0 DUP1 DUP3 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1D87 SWAP2 SWAP1 PUSH2 0x2935 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x15485DD9 PUSH1 0xE1 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x0 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x2A90BBB2 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1DE7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1DFB JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x1E1F SWAP2 SWAP1 PUSH2 0x296E JUMP JUMPDEST SWAP1 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND ISZERO PUSH2 0x1E78 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x436F6E74726163742061646472657373206E6F7420666F756E642E0000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0xAB2 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 DUP7 AND DUP4 MSTORE SWAP3 SWAP1 MSTORE KECCAK256 SLOAD PUSH1 0x0 NOT DUP2 EQ PUSH2 0x1F0B JUMPI DUP2 DUP2 LT ISZERO PUSH2 0x1EFE JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A20696E73756666696369656E7420616C6C6F77616E6365000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0xAB2 JUMP JUMPDEST PUSH2 0x1F0B DUP5 DUP5 DUP5 DUP5 SUB PUSH2 0x1BEB JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH2 0x1F75 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x25 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A207472616E736665722066726F6D20746865207A65726F206164 PUSH1 0x44 DUP3 ADD MSTORE PUSH5 0x6472657373 PUSH1 0xD8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xAB2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x1FD7 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x23 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A207472616E7366657220746F20746865207A65726F2061646472 PUSH1 0x44 DUP3 ADD MSTORE PUSH3 0x657373 PUSH1 0xE8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xAB2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP2 DUP2 LT ISZERO PUSH2 0x204F JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A207472616E7366657220616D6F756E7420657863656564732062 PUSH1 0x44 DUP3 ADD MSTORE PUSH6 0x616C616E6365 PUSH1 0xD0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xAB2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 DUP6 DUP6 SUB SWAP1 SSTORE SWAP2 DUP6 AND DUP2 MSTORE SWAP1 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x2086 SWAP1 DUP5 SWAP1 PUSH2 0x283C JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF DUP5 PUSH1 0x40 MLOAD PUSH2 0x20D2 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 PUSH2 0x1F0B JUMP JUMPDEST PUSH2 0x20E9 DUP3 DUP3 PUSH2 0x191C JUMP JUMPDEST PUSH2 0xAC5 JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH2 0x211F CALLER SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH2 0x216D DUP3 DUP3 PUSH2 0x191C JUMP JUMPDEST ISZERO PUSH2 0xAC5 JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP1 DUP6 MSTORE SWAP3 MSTORE DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE MLOAD CALLER SWAP3 DUP6 SWAP2 PUSH32 0xF6391F5C32D9C69D2A47EA670B442974B53935D1EDC7FD64EB21E047A839171B SWAP2 SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x221E JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A206D696E7420746F20746865207A65726F206164647265737300 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0xAB2 JUMP JUMPDEST DUP1 PUSH1 0x5 PUSH1 0x0 DUP3 DUP3 SLOAD PUSH2 0x2230 SWAP2 SWAP1 PUSH2 0x283C JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP3 SWAP1 PUSH2 0x225D SWAP1 DUP5 SWAP1 PUSH2 0x283C JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x40 MLOAD DUP2 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH1 0x0 SWAP1 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP1 PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x2307 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x21 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A206275726E2066726F6D20746865207A65726F20616464726573 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x73 PUSH1 0xF8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xAB2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP2 DUP2 LT ISZERO PUSH2 0x237B JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x22 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A206275726E20616D6F756E7420657863656564732062616C616E PUSH1 0x44 DUP3 ADD MSTORE PUSH2 0x6365 PUSH1 0xF0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xAB2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP4 DUP4 SUB SWAP1 SSTORE PUSH1 0x5 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x23AA SWAP1 DUP5 SWAP1 PUSH2 0x298B JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x40 MLOAD DUP3 DUP2 MSTORE PUSH1 0x0 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND SWAP1 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP1 PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH2 0x2404 DUP4 PUSH1 0x2 PUSH2 0x27C8 JUMP JUMPDEST PUSH2 0x240F SWAP1 PUSH1 0x2 PUSH2 0x283C JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x2427 JUMPI PUSH2 0x2427 PUSH2 0x29A2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x2451 JUMPI PUSH1 0x20 DUP3 ADD DUP2 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x3 PUSH1 0xFC SHL DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x246C JUMPI PUSH2 0x246C PUSH2 0x29B8 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0xF PUSH1 0xFB SHL DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x249B JUMPI PUSH2 0x249B PUSH2 0x29B8 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x0 PUSH2 0x24BF DUP5 PUSH1 0x2 PUSH2 0x27C8 JUMP JUMPDEST PUSH2 0x24CA SWAP1 PUSH1 0x1 PUSH2 0x283C JUMP JUMPDEST SWAP1 POP JUMPDEST PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x2542 JUMPI PUSH16 0x181899199A1A9B1B9C1CB0B131B232B3 PUSH1 0x81 SHL DUP6 PUSH1 0xF AND PUSH1 0x10 DUP2 LT PUSH2 0x24FE JUMPI PUSH2 0x24FE PUSH2 0x29B8 JUMP JUMPDEST BYTE PUSH1 0xF8 SHL DUP3 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x2514 JUMPI PUSH2 0x2514 PUSH2 0x29B8 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x4 SWAP5 SWAP1 SWAP5 SHR SWAP4 PUSH2 0x253B DUP2 PUSH2 0x29CE JUMP JUMPDEST SWAP1 POP PUSH2 0x24CD JUMP JUMPDEST POP DUP4 ISZERO PUSH2 0x1E78 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x537472696E67733A20686578206C656E67746820696E73756666696369656E74 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0xAB2 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x25A3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND DUP2 EQ PUSH2 0x1E78 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x25D6 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x25BE JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x1F0B JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 DUP3 MLOAD DUP1 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x2606 DUP2 PUSH1 0x40 DUP6 ADD PUSH1 0x20 DUP8 ADD PUSH2 0x25BB JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP2 SWAP1 SWAP2 ADD PUSH1 0x40 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x262F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x2645 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH2 0x2650 DUP2 PUSH2 0x261A JUMP JUMPDEST SWAP5 PUSH1 0x20 SWAP4 SWAP1 SWAP4 ADD CALLDATALOAD SWAP4 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x2670 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x268C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 CALLDATALOAD PUSH2 0x2697 DUP2 PUSH2 0x261A JUMP JUMPDEST SWAP3 POP PUSH1 0x20 DUP5 ADD CALLDATALOAD PUSH2 0x26A7 DUP2 PUSH2 0x261A JUMP JUMPDEST SWAP3 SWAP6 SWAP3 SWAP5 POP POP POP PUSH1 0x40 SWAP2 SWAP1 SWAP2 ADD CALLDATALOAD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x26CA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x1E78 DUP2 PUSH2 0x261A JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x26E8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x26FA DUP2 PUSH2 0x261A JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0x262F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x2725 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x1E78 DUP2 PUSH2 0x2705 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x2743 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH2 0x274E DUP2 PUSH2 0x261A JUMP JUMPDEST SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x26FA DUP2 PUSH2 0x261A JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x2772 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x2793 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x27AB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x0 NOT DIV DUP4 GT DUP3 ISZERO ISZERO AND ISZERO PUSH2 0x27E2 JUMPI PUSH2 0x27E2 PUSH2 0x27B2 JUMP JUMPDEST POP MUL SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH2 0x2804 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP DIV SWAP1 JUMP JUMPDEST PUSH10 0x6973506F6F6C4C697665 PUSH1 0xB0 SHL DUP2 MSTORE PUSH1 0xA ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x2831 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x1E78 DUP2 PUSH2 0x2705 JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x284F JUMPI PUSH2 0x284F PUSH2 0x27B2 JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH15 0x636F6E74726163745F657869737473 PUSH1 0x88 SHL DUP2 MSTORE PUSH1 0x60 SWAP2 SWAP1 SWAP2 SHL PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF NOT AND PUSH1 0xF DUP3 ADD MSTORE PUSH1 0x23 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1D SWAP1 DUP3 ADD MSTORE PUSH32 0x54686520706F6F6C2069732063757272656E746C7920636C6F7365642E000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH32 0x416363657373436F6E74726F6C3A206163636F756E7420000000000000000000 DUP2 MSTORE PUSH1 0x0 DUP4 MLOAD PUSH2 0x28F8 DUP2 PUSH1 0x17 DUP6 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x25BB JUMP JUMPDEST PUSH17 0x1034B99036B4B9B9B4B733903937B6329 PUSH1 0x7D SHL PUSH1 0x17 SWAP2 DUP5 ADD SWAP2 DUP3 ADD MSTORE DUP4 MLOAD PUSH2 0x2929 DUP2 PUSH1 0x28 DUP5 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x25BB JUMP JUMPDEST ADD PUSH1 0x28 ADD SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH17 0x636F6E74726163745F5F61646472657373 PUSH1 0x78 SHL DUP2 MSTORE PUSH1 0x0 DUP3 MLOAD PUSH2 0x2961 DUP2 PUSH1 0x11 DUP6 ADD PUSH1 0x20 DUP8 ADD PUSH2 0x25BB JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD PUSH1 0x11 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x2980 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x1E78 DUP2 PUSH2 0x261A JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH2 0x299D JUMPI PUSH2 0x299D PUSH2 0x27B2 JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH2 0x29DD JUMPI PUSH2 0x29DD PUSH2 0x27B2 JUMP JUMPDEST POP PUSH1 0x0 NOT ADD SWAP1 JUMP INVALID COINBASE LOG0 0x1E 0xC0 LOG1 EXTCODESIZE JUMP EXTCODEHASH LOG4 MSTORE JUMP SWAP15 EXTCODEHASH 0xBB GT PUSH4 0x66D217C2 PUSH23 0x9AA1561822E65A617E3842A2646970667358221220C7C7 PC PUSH25 0xBFC1583B93CE8852F7995DD5DCEB4DFD8028AF77F57E49CD3 PUSH27 0xCBC564736F6C634300080900330000000000000000000000000000 ", + "sourceMap": "399:4134:3:-:0;;;598:160;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1978:113:7;;;;;;;;;;;-1:-1:-1;;;1978:113:7;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1978:113:7;;;;1701:1:6;1806:22;;1262:11:1;:55;;-1:-1:-1;;;;;;1262:55:1;-1:-1:-1;;;;;1262:55:1;;;;;1978:113:7;1262:55:1;1328:42;-1:-1:-1;1359:10:1;1328;:42::i;:::-;1381:36;715:25;1406:10;1381;:36::i;:::-;1428:21;:19;:21::i;:::-;-1:-1:-1;2044:13:7;;;;:5;;:13;;;;;:::i;:::-;-1:-1:-1;2067:17:7;;;;:7;;:17;;;;;:::i;:::-;-1:-1:-1;727:23:3::2;::::0;-1:-1:-1;;727:21:3::2;:23::i;:::-;598:160:::0;399:4134;;6257:110:4;6335:25;6346:4;6352:7;6335:10;:25::i;:::-;6257:110;;:::o;2532:269:1:-;2582:11;;2619:50;;-1:-1:-1;;;2619:50:1;;;567:30:14;-1:-1:-1;;;;;;2663:4:1;660:2:14;631:15;627:45;613:12;;;606:67;-1:-1:-1;;;;;2582:11:1;;;;:26;;689:12:14;;2619:50:1;;;-1:-1:-1;;2619:50:1;;;;;;;;;;2609:61;;2619:50;2609:61;;;;-1:-1:-1;;;;;;2582:95:1;;;;;;;;;;880:25:14;2672:4:1;921:18:14;;;914:50;853:18;;2582:95:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2688:11:1;;2728:48;;-1:-1:-1;;;2728:48:1;;;1278:31:14;-1:-1:-1;;;1325:12:14;;;1318:32;-1:-1:-1;;;;;2688:11:1;;;;-1:-1:-1;2688:29:1;;-1:-1:-1;1366:12:14;;2728:48:1;;;;-1:-1:-1;;2728:48:1;;;;;;;;;;2718:59;;2728:48;2718:59;;;;-1:-1:-1;;;;;;2688:105:1;;;;;;;;;;1563:25:14;2787:4:1;1604:18:14;;;1597:60;1536:18;;2688:105:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2532:269::o;898:273:3:-;950:11;;987:50;;-1:-1:-1;;;987:50:3;;;567:30:14;-1:-1:-1;;;;;;1031:4:3;660:2:14;631:15;627:45;613:12;;;606:67;-1:-1:-1;;;;;950:11:3;;;;:26;;689:12:14;;987:50:3;;;-1:-1:-1;;987:50:3;;;;;;;;;;977:61;;987:50;977:61;;;;-1:-1:-1;;;;;;950:95:3;;;;;;;;;;880:25:14;1040:4:3;921:18:14;;;914:50;853:18;;950:95:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1056:11:3;;1096:50;;-1:-1:-1;;;1096:50:3;;;1971:31:14;-1:-1:-1;;;2018:12:14;;;2011:34;-1:-1:-1;;;;;1056:11:3;;;;-1:-1:-1;1056:29:3;;-1:-1:-1;2061:12:14;;1096:50:3;1668:411:14;6861:233:4;2995:4;3018:12;;;;;;;;;;;-1:-1:-1;;;;;3018:29:4;;;;;;;;;;;;6939:149;;6982:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6982:29:4;;;;;;;;;:36;;-1:-1:-1;;6982:36:4;7014:4;6982:36;;;7064:12;719:10:10;;640:96;7064:12:4;-1:-1:-1;;;;;7037:40:4;7055:7;-1:-1:-1;;;;;7037:40:4;7049:4;7037:40;;;;;;;;;;6861:233;;:::o;399:4134:3:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;399:4134:3;;;-1:-1:-1;399:4134:3;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:318:14;112:6;165:2;153:9;144:7;140:23;136:32;133:52;;;181:1;178;171:12;133:52;207:16;;-1:-1:-1;;;;;252:31:14;;242:42;;232:70;;298:1;295;288:12;232:70;321:5;14:318;-1:-1:-1;;;14:318:14:o;2084:380::-;2163:1;2159:12;;;;2206;;;2227:61;;2281:4;2273:6;2269:17;2259:27;;2227:61;2334:2;2326:6;2323:14;2303:18;2300:38;2297:161;;;2380:10;2375:3;2371:20;2368:1;2361:31;2415:4;2412:1;2405:15;2443:4;2440:1;2433:15;2297:161;;2084:380;;;:::o;:::-;399:4134:3;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": { + "@DEFAULT_ADMIN_ROLE_1079": { + "entryPoint": null, + "id": 1079, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@POOL_MANAGER_128": { + "entryPoint": null, + "id": 128, + "parameterSlots": 0, + "returnSlots": 0 + }, + "@_afterTokenTransfer_2060": { + "entryPoint": null, + "id": 2060, + "parameterSlots": 3, + "returnSlots": 0 + }, + "@_approve_1995": { + "entryPoint": 7147, + "id": 1995, + "parameterSlots": 3, + "returnSlots": 0 + }, + "@_beforeTokenTransfer_2049": { + "entryPoint": null, + "id": 2049, + "parameterSlots": 3, + "returnSlots": 0 + }, + "@_burn_1950": { + "entryPoint": 8871, + "id": 1950, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@_checkRole_1176": { + "entryPoint": 7439, + "id": 1176, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@_grantRole_1328": { + "entryPoint": 8415, + "id": 1328, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@_mint_1878": { + "entryPoint": 8648, + "id": 1878, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@_msgSender_2176": { + "entryPoint": null, + "id": 2176, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@_revokeRole_1359": { + "entryPoint": 8547, + "id": 1359, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@_spendAllowance_2038": { + "entryPoint": 7807, + "id": 2038, + "parameterSlots": 3, + "returnSlots": 0 + }, + "@_transfer_1822": { + "entryPoint": 7953, + "id": 1822, + "parameterSlots": 3, + "returnSlots": 0 + }, + "@addPoolManager_221": { + "entryPoint": 4806, + "id": 221, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@allowance_1615": { + "entryPoint": null, + "id": 1615, + "parameterSlots": 2, + "returnSlots": 1 + }, + "@approve_1640": { + "entryPoint": 1755, + "id": 1640, + "parameterSlots": 2, + "returnSlots": 1 + }, + "@balanceOf_1572": { + "entryPoint": null, + "id": 1572, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@burn_1050": { + "entryPoint": 3848, + "id": 1050, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@calcEthValue_859": { + "entryPoint": 1964, + "id": 859, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@calcRwEthValue_910": { + "entryPoint": 2824, + "id": 910, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@decimals_1548": { + "entryPoint": null, + "id": 1548, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@decreaseAllowance_1745": { + "entryPoint": 6484, + "id": 1745, + "parameterSlots": 2, + "returnSlots": 1 + }, + "@getContractAddress_579": { + "entryPoint": 7539, + "id": 579, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@getContributionLimit_679": { + "entryPoint": 7105, + "id": 679, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getPoolFees_719": { + "entryPoint": 7034, + "id": 719, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getPoolMaxSize_619": { + "entryPoint": 1566, + "id": 619, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getPoolState_599": { + "entryPoint": 2294, + "id": 599, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getRewardsInterest_659": { + "entryPoint": 5842, + "id": 659, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getRewardsInterval_639": { + "entryPoint": 5157, + "id": 639, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@getRoleAdmin_1191": { + "entryPoint": null, + "id": 1191, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@getUnitPrice_921": { + "entryPoint": 1341, + "id": 921, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@grantRole_1211": { + "entryPoint": 2587, + "id": 1211, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@hasRole_1133": { + "entryPoint": 6428, + "id": 1133, + "parameterSlots": 2, + "returnSlots": 1 + }, + "@increaseAllowance_1703": { + "entryPoint": 2761, + "id": 1703, + "parameterSlots": 2, + "returnSlots": 1 + }, + "@mint_972": { + "entryPoint": 3244, + "id": 972, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@name_1528": { + "entryPoint": 1420, + "id": 1528, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@removePoolManager_239": { + "entryPoint": 2495, + "id": 239, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@renounceRole_1254": { + "entryPoint": 2630, + "id": 1254, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@revokeRole_1231": { + "entryPoint": 7067, + "id": 1231, + "parameterSlots": 2, + "returnSlots": 0 + }, + "@setContributionLimit_447": { + "entryPoint": 5581, + "id": 447, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setMinContribution_486": { + "entryPoint": 4898, + "id": 486, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setMinContribution_699": { + "entryPoint": 5541, + "id": 699, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@setPoolFees_541": { + "entryPoint": 5891, + "id": 541, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setPoolLive_302": { + "entryPoint": 6630, + "id": 302, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setPoolMaxSize_328": { + "entryPoint": 1779, + "id": 328, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setRewardsInterest_408": { + "entryPoint": 6766, + "id": 408, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@setRewardsInterval_369": { + "entryPoint": 5195, + "id": 369, + "parameterSlots": 1, + "returnSlots": 0 + }, + "@supportsInterface_1114": { + "entryPoint": 1365, + "id": 1114, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@supportsInterface_2412": { + "entryPoint": null, + "id": 2412, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@symbol_1538": { + "entryPoint": 6469, + "id": 1538, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@toHexString_2388": { + "entryPoint": 9205, + "id": 2388, + "parameterSlots": 2, + "returnSlots": 1 + }, + "@totalSupply_1558": { + "entryPoint": null, + "id": 1558, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@transferFrom_1673": { + "entryPoint": 2459, + "id": 1673, + "parameterSlots": 3, + "returnSlots": 1 + }, + "@transfer_1597": { + "entryPoint": 6752, + "id": 1597, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_address": { + "entryPoint": 9912, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_address_fromMemory": { + "entryPoint": 10606, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_addresst_address": { + "entryPoint": 10032, + "id": null, + "parameterSlots": 2, + "returnSlots": 2 + }, + "abi_decode_tuple_t_addresst_addresst_uint256": { + "entryPoint": 9847, + "id": null, + "parameterSlots": 2, + "returnSlots": 3 + }, + "abi_decode_tuple_t_addresst_uint256": { + "entryPoint": 9778, + "id": null, + "parameterSlots": 2, + "returnSlots": 2 + }, + "abi_decode_tuple_t_bool": { + "entryPoint": 10003, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bool_fromMemory": { + "entryPoint": 10271, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bytes32": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_bytes32t_address": { + "entryPoint": 9941, + "id": null, + "parameterSlots": 2, + "returnSlots": 2 + }, + "abi_decode_tuple_t_bytes4": { + "entryPoint": 9617, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_uint256": { + "entryPoint": 9822, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_uint256_fromMemory": { + "entryPoint": 10137, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_00b032c55d5413576ded643dc6cefced0f3cb828720e7577b44d09665bcd4ae3_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 10549, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_0374d75381b3b197d745e6b159383515dfcf445652f3d60140f7a03bb136a74c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_0f5404ed03256cc6395ed559bf52ccb5ab11bf8dddbd240da7e6d5ad4ab04dd7__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 10249, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 10324, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_8f6e48ebe95c46ad356449234d760f7838119a9ccd28d70c8f8be00c200e3039__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874_t_string_memory_ptr_t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": 10432, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_packed_t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_bytes32_t_uint256__to_t_bytes32_t_uint256__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 9703, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_04fc88320d7c9f639317c75102c103ff0044d3075a5c627e24e76e5bbb2733c2__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_149b126e7125232b4200af45303d04fba8b74653b1a295a6a561a528c33fefdd__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_308638a0d46b73b9203c635ec2b36574c482f0f0b0c13080ce12f9b33ca2d5c6__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_34aed5d1a3fc936e21ab00388a0307badbc66a0bfcc054d810418b9c87dce058__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_55b2b3f2d860dc00999de2859b5705b081f23d227a860928aca26a9102461fd4__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 10377, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_64d7ac1c494517ceb822c7f6b767328d7b0d11312cd7bddf3ad3ea0cbd8db17f__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_b16788493b576042bb52c50ed56189e0b250db113c7bfb1c3897d25cf9632d7f__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_b7433f37c229e4fafd99a92caefb09b9e5ad2d2e833e193ae02153f7830f1e08__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_d36e2fdd2f4d349fc44a9cc6ea1a2b4f2a7eb320cfe91d40a3a9a6af97aada24__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_f6b53c7de5e97000949f1f34c12a660cb86381130912012977c5e8eef4442c49__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 3, + "returnSlots": 1 + }, + "abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_add_t_uint256": { + "entryPoint": 10300, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_div_t_uint256": { + "entryPoint": 10215, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_mul_t_uint256": { + "entryPoint": 10184, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_sub_t_uint256": { + "entryPoint": 10635, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "copy_memory_to_memory": { + "entryPoint": 9659, + "id": null, + "parameterSlots": 3, + "returnSlots": 0 + }, + "decrement_t_uint256": { + "entryPoint": 10702, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "extract_byte_array_length": { + "entryPoint": 10078, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "panic_error_0x11": { + "entryPoint": 10162, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x32": { + "entryPoint": 10680, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "panic_error_0x41": { + "entryPoint": 10658, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + }, + "validator_revert_address": { + "entryPoint": 9754, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + }, + "validator_revert_bool": { + "entryPoint": 9989, + "id": null, + "parameterSlots": 1, + "returnSlots": 0 + } + }, + "generatedSources": [ + { + "ast": { + "nodeType": "YulBlock", + "src": "0:19244:14", + "statements": [ + { + "nodeType": "YulBlock", + "src": "6:3:14", + "statements": [] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "115:76:14", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "125:26:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "137:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "148:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "133:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "133:18:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "125:4:14" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "167:9:14" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "178:6:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "160:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "160:25:14" + }, + "nodeType": "YulExpressionStatement", + "src": "160:25:14" + } + ] + }, + "name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "84:9:14", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "95:6:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "106:4:14", + "type": "" + } + ], + "src": "14:177:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "265:217:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "311:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "320:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "323:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "313:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "313:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "313:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "286:7:14" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "295:9:14" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "282:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "282:23:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "307:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "278:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "278:32:14" + }, + "nodeType": "YulIf", + "src": "275:52:14" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "336:36:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "362:9:14" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "349:12:14" + }, + "nodeType": "YulFunctionCall", + "src": "349:23:14" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "340:5:14", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "436:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "445:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "448:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "438:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "438:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "438:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "394:5:14" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "405:5:14" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "416:3:14", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "421:10:14", + "type": "", + "value": "0xffffffff" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "412:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "412:20:14" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "401:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "401:32:14" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "391:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "391:43:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "384:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "384:51:14" + }, + "nodeType": "YulIf", + "src": "381:71:14" + }, + { + "nodeType": "YulAssignment", + "src": "461:15:14", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "471:5:14" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "461:6:14" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bytes4", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "231:9:14", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "242:7:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "254:6:14", + "type": "" + } + ], + "src": "196:286:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "582:92:14", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "592:26:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "604:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "615:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "600:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "600:18:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "592:4:14" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "634:9:14" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "659:6:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "652:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "652:14:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "645:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "645:22:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "627:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "627:41:14" + }, + "nodeType": "YulExpressionStatement", + "src": "627:41:14" + } + ] + }, + "name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "551:9:14", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "562:6:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "573:4:14", + "type": "" + } + ], + "src": "487:187:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "732:205:14", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "742:10:14", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "751:1:14", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "i", + "nodeType": "YulTypedName", + "src": "746:1:14", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "811:63:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nodeType": "YulIdentifier", + "src": "836:3:14" + }, + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "841:1:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "832:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "832:11:14" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "src", + "nodeType": "YulIdentifier", + "src": "855:3:14" + }, + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "860:1:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "851:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "851:11:14" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "845:5:14" + }, + "nodeType": "YulFunctionCall", + "src": "845:18:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "825:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "825:39:14" + }, + "nodeType": "YulExpressionStatement", + "src": "825:39:14" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "772:1:14" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "775:6:14" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "769:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "769:13:14" + }, + "nodeType": "YulForLoop", + "post": { + "nodeType": "YulBlock", + "src": "783:19:14", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "785:15:14", + "value": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "794:1:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "797:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "790:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "790:10:14" + }, + "variableNames": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "785:1:14" + } + ] + } + ] + }, + "pre": { + "nodeType": "YulBlock", + "src": "765:3:14", + "statements": [] + }, + "src": "761:113:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "900:31:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nodeType": "YulIdentifier", + "src": "913:3:14" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "918:6:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "909:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "909:16:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "927:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "902:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "902:27:14" + }, + "nodeType": "YulExpressionStatement", + "src": "902:27:14" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "889:1:14" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "892:6:14" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "886:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "886:13:14" + }, + "nodeType": "YulIf", + "src": "883:48:14" + } + ] + }, + "name": "copy_memory_to_memory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "src", + "nodeType": "YulTypedName", + "src": "710:3:14", + "type": "" + }, + { + "name": "dst", + "nodeType": "YulTypedName", + "src": "715:3:14", + "type": "" + }, + { + "name": "length", + "nodeType": "YulTypedName", + "src": "720:6:14", + "type": "" + } + ], + "src": "679:258:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1063:262:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1080:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1091:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1073:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1073:21:14" + }, + "nodeType": "YulExpressionStatement", + "src": "1073:21:14" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "1103:27:14", + "value": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1123:6:14" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "1117:5:14" + }, + "nodeType": "YulFunctionCall", + "src": "1117:13:14" + }, + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "1107:6:14", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1150:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1161:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1146:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1146:18:14" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "1166:6:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1139:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1139:34:14" + }, + "nodeType": "YulExpressionStatement", + "src": "1139:34:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1208:6:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1216:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1204:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1204:15:14" + }, + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1225:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1236:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1221:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1221:18:14" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "1241:6:14" + } + ], + "functionName": { + "name": "copy_memory_to_memory", + "nodeType": "YulIdentifier", + "src": "1182:21:14" + }, + "nodeType": "YulFunctionCall", + "src": "1182:66:14" + }, + "nodeType": "YulExpressionStatement", + "src": "1182:66:14" + }, + { + "nodeType": "YulAssignment", + "src": "1257:62:14", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1273:9:14" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "1292:6:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1300:2:14", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1288:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1288:15:14" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1309:2:14", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "1305:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1305:7:14" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "1284:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1284:29:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1269:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1269:45:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1316:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1265:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1265:54:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "1257:4:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1032:9:14", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1043:6:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "1054:4:14", + "type": "" + } + ], + "src": "942:383:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1375:86:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1439:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1448:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1451:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1441:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1441:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "1441:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1398:5:14" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1409:5:14" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1424:3:14", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1429:1:14", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "1420:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1420:11:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1433:1:14", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1416:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1416:19:14" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "1405:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1405:31:14" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "1395:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "1395:42:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "1388:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1388:50:14" + }, + "nodeType": "YulIf", + "src": "1385:70:14" + } + ] + }, + "name": "validator_revert_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "1364:5:14", + "type": "" + } + ], + "src": "1330:131:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1553:228:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1599:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1608:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1611:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1601:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1601:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "1601:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "1574:7:14" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1583:9:14" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1570:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1570:23:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1595:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "1566:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1566:32:14" + }, + "nodeType": "YulIf", + "src": "1563:52:14" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "1624:36:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1650:9:14" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1637:12:14" + }, + "nodeType": "YulFunctionCall", + "src": "1637:23:14" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "1628:5:14", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1694:5:14" + } + ], + "functionName": { + "name": "validator_revert_address", + "nodeType": "YulIdentifier", + "src": "1669:24:14" + }, + "nodeType": "YulFunctionCall", + "src": "1669:31:14" + }, + "nodeType": "YulExpressionStatement", + "src": "1669:31:14" + }, + { + "nodeType": "YulAssignment", + "src": "1709:15:14", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1719:5:14" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1709:6:14" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "1733:42:14", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1760:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1771:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1756:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1756:18:14" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1743:12:14" + }, + "nodeType": "YulFunctionCall", + "src": "1743:32:14" + }, + "variableNames": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "1733:6:14" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_addresst_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1511:9:14", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "1522:7:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1534:6:14", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "1542:6:14", + "type": "" + } + ], + "src": "1466:315:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1856:110:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1902:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1911:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1914:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1904:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1904:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "1904:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "1877:7:14" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1886:9:14" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1873:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1873:23:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1898:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "1869:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1869:32:14" + }, + "nodeType": "YulIf", + "src": "1866:52:14" + }, + { + "nodeType": "YulAssignment", + "src": "1927:33:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1950:9:14" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1937:12:14" + }, + "nodeType": "YulFunctionCall", + "src": "1937:23:14" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1927:6:14" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1822:9:14", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "1833:7:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1845:6:14", + "type": "" + } + ], + "src": "1786:180:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2075:352:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "2121:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2130:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2133:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "2123:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "2123:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "2123:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "2096:7:14" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2105:9:14" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "2092:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "2092:23:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2117:2:14", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "2088:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "2088:32:14" + }, + "nodeType": "YulIf", + "src": "2085:52:14" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "2146:36:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2172:9:14" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "2159:12:14" + }, + "nodeType": "YulFunctionCall", + "src": "2159:23:14" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "2150:5:14", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "2216:5:14" + } + ], + "functionName": { + "name": "validator_revert_address", + "nodeType": "YulIdentifier", + "src": "2191:24:14" + }, + "nodeType": "YulFunctionCall", + "src": "2191:31:14" + }, + "nodeType": "YulExpressionStatement", + "src": "2191:31:14" + }, + { + "nodeType": "YulAssignment", + "src": "2231:15:14", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "2241:5:14" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "2231:6:14" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "2255:47:14", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2287:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2298:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2283:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "2283:18:14" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "2270:12:14" + }, + "nodeType": "YulFunctionCall", + "src": "2270:32:14" + }, + "variables": [ + { + "name": "value_1", + "nodeType": "YulTypedName", + "src": "2259:7:14", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value_1", + "nodeType": "YulIdentifier", + "src": "2336:7:14" + } + ], + "functionName": { + "name": "validator_revert_address", + "nodeType": "YulIdentifier", + "src": "2311:24:14" + }, + "nodeType": "YulFunctionCall", + "src": "2311:33:14" + }, + "nodeType": "YulExpressionStatement", + "src": "2311:33:14" + }, + { + "nodeType": "YulAssignment", + "src": "2353:17:14", + "value": { + "name": "value_1", + "nodeType": "YulIdentifier", + "src": "2363:7:14" + }, + "variableNames": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "2353:6:14" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "2379:42:14", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2406:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2417:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2402:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "2402:18:14" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "2389:12:14" + }, + "nodeType": "YulFunctionCall", + "src": "2389:32:14" + }, + "variableNames": [ + { + "name": "value2", + "nodeType": "YulIdentifier", + "src": "2379:6:14" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_addresst_addresst_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "2025:9:14", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "2036:7:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "2048:6:14", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "2056:6:14", + "type": "" + }, + { + "name": "value2", + "nodeType": "YulTypedName", + "src": "2064:6:14", + "type": "" + } + ], + "src": "1971:456:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2502:110:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "2548:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2557:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2560:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "2550:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "2550:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "2550:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "2523:7:14" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2532:9:14" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "2519:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "2519:23:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2544:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "2515:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "2515:32:14" + }, + "nodeType": "YulIf", + "src": "2512:52:14" + }, + { + "nodeType": "YulAssignment", + "src": "2573:33:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2596:9:14" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "2583:12:14" + }, + "nodeType": "YulFunctionCall", + "src": "2583:23:14" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "2573:6:14" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bytes32", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "2468:9:14", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "2479:7:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "2491:6:14", + "type": "" + } + ], + "src": "2432:180:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2718:76:14", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "2728:26:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2740:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2751:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2736:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "2736:18:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "2728:4:14" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2770:9:14" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "2781:6:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2763:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "2763:25:14" + }, + "nodeType": "YulExpressionStatement", + "src": "2763:25:14" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "2687:9:14", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "2698:6:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "2709:4:14", + "type": "" + } + ], + "src": "2617:177:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2869:177:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "2915:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2924:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2927:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "2917:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "2917:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "2917:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "2890:7:14" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2899:9:14" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "2886:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "2886:23:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2911:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "2882:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "2882:32:14" + }, + "nodeType": "YulIf", + "src": "2879:52:14" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "2940:36:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2966:9:14" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "2953:12:14" + }, + "nodeType": "YulFunctionCall", + "src": "2953:23:14" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "2944:5:14", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "3010:5:14" + } + ], + "functionName": { + "name": "validator_revert_address", + "nodeType": "YulIdentifier", + "src": "2985:24:14" + }, + "nodeType": "YulFunctionCall", + "src": "2985:31:14" + }, + "nodeType": "YulExpressionStatement", + "src": "2985:31:14" + }, + { + "nodeType": "YulAssignment", + "src": "3025:15:14", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "3035:5:14" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "3025:6:14" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "2835:9:14", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "2846:7:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "2858:6:14", + "type": "" + } + ], + "src": "2799:247:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3138:228:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "3184:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3193:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3196:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "3186:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "3186:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "3186:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "3159:7:14" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3168:9:14" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "3155:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "3155:23:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3180:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "3151:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "3151:32:14" + }, + "nodeType": "YulIf", + "src": "3148:52:14" + }, + { + "nodeType": "YulAssignment", + "src": "3209:33:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3232:9:14" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "3219:12:14" + }, + "nodeType": "YulFunctionCall", + "src": "3219:23:14" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "3209:6:14" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "3251:45:14", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3281:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3292:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3277:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "3277:18:14" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "3264:12:14" + }, + "nodeType": "YulFunctionCall", + "src": "3264:32:14" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "3255:5:14", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "3330:5:14" + } + ], + "functionName": { + "name": "validator_revert_address", + "nodeType": "YulIdentifier", + "src": "3305:24:14" + }, + "nodeType": "YulFunctionCall", + "src": "3305:31:14" + }, + "nodeType": "YulExpressionStatement", + "src": "3305:31:14" + }, + { + "nodeType": "YulAssignment", + "src": "3345:15:14", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "3355:5:14" + }, + "variableNames": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "3345:6:14" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bytes32t_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "3096:9:14", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "3107:7:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "3119:6:14", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "3127:6:14", + "type": "" + } + ], + "src": "3051:315:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3468:87:14", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "3478:26:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3490:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3501:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3486:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "3486:18:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "3478:4:14" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3520:9:14" + }, + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "3535:6:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3543:4:14", + "type": "", + "value": "0xff" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "3531:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "3531:17:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3513:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "3513:36:14" + }, + "nodeType": "YulExpressionStatement", + "src": "3513:36:14" + } + ] + }, + "name": "abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "3437:9:14", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "3448:6:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "3459:4:14", + "type": "" + } + ], + "src": "3371:184:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3602:76:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "3656:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3665:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3668:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "3658:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "3658:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "3658:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "3625:5:14" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "3646:5:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "3639:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "3639:13:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "3632:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "3632:21:14" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "3622:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "3622:32:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "3615:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "3615:40:14" + }, + "nodeType": "YulIf", + "src": "3612:60:14" + } + ] + }, + "name": "validator_revert_bool", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "3591:5:14", + "type": "" + } + ], + "src": "3560:118:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3750:174:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "3796:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3805:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3808:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "3798:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "3798:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "3798:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "3771:7:14" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3780:9:14" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "3767:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "3767:23:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3792:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "3763:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "3763:32:14" + }, + "nodeType": "YulIf", + "src": "3760:52:14" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "3821:36:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3847:9:14" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "3834:12:14" + }, + "nodeType": "YulFunctionCall", + "src": "3834:23:14" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "3825:5:14", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "3888:5:14" + } + ], + "functionName": { + "name": "validator_revert_bool", + "nodeType": "YulIdentifier", + "src": "3866:21:14" + }, + "nodeType": "YulFunctionCall", + "src": "3866:28:14" + }, + "nodeType": "YulExpressionStatement", + "src": "3866:28:14" + }, + { + "nodeType": "YulAssignment", + "src": "3903:15:14", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "3913:5:14" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "3903:6:14" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bool", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "3716:9:14", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "3727:7:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "3739:6:14", + "type": "" + } + ], + "src": "3683:241:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4016:301:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "4062:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4071:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4074:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "4064:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "4064:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "4064:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "4037:7:14" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4046:9:14" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "4033:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "4033:23:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4058:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "4029:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "4029:32:14" + }, + "nodeType": "YulIf", + "src": "4026:52:14" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "4087:36:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4113:9:14" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "4100:12:14" + }, + "nodeType": "YulFunctionCall", + "src": "4100:23:14" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "4091:5:14", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "4157:5:14" + } + ], + "functionName": { + "name": "validator_revert_address", + "nodeType": "YulIdentifier", + "src": "4132:24:14" + }, + "nodeType": "YulFunctionCall", + "src": "4132:31:14" + }, + "nodeType": "YulExpressionStatement", + "src": "4132:31:14" + }, + { + "nodeType": "YulAssignment", + "src": "4172:15:14", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "4182:5:14" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "4172:6:14" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "4196:47:14", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4228:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4239:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4224:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "4224:18:14" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "4211:12:14" + }, + "nodeType": "YulFunctionCall", + "src": "4211:32:14" + }, + "variables": [ + { + "name": "value_1", + "nodeType": "YulTypedName", + "src": "4200:7:14", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value_1", + "nodeType": "YulIdentifier", + "src": "4277:7:14" + } + ], + "functionName": { + "name": "validator_revert_address", + "nodeType": "YulIdentifier", + "src": "4252:24:14" + }, + "nodeType": "YulFunctionCall", + "src": "4252:33:14" + }, + "nodeType": "YulExpressionStatement", + "src": "4252:33:14" + }, + { + "nodeType": "YulAssignment", + "src": "4294:17:14", + "value": { + "name": "value_1", + "nodeType": "YulIdentifier", + "src": "4304:7:14" + }, + "variableNames": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "4294:6:14" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_addresst_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "3974:9:14", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "3985:7:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "3997:6:14", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "4005:6:14", + "type": "" + } + ], + "src": "3929:388:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4377:325:14", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "4387:22:14", + "value": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4401:1:14", + "type": "", + "value": "1" + }, + { + "name": "data", + "nodeType": "YulIdentifier", + "src": "4404:4:14" + } + ], + "functionName": { + "name": "shr", + "nodeType": "YulIdentifier", + "src": "4397:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "4397:12:14" + }, + "variableNames": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "4387:6:14" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "4418:38:14", + "value": { + "arguments": [ + { + "name": "data", + "nodeType": "YulIdentifier", + "src": "4448:4:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4454:1:14", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "4444:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "4444:12:14" + }, + "variables": [ + { + "name": "outOfPlaceEncoding", + "nodeType": "YulTypedName", + "src": "4422:18:14", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4495:31:14", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "4497:27:14", + "value": { + "arguments": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "4511:6:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4519:4:14", + "type": "", + "value": "0x7f" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "4507:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "4507:17:14" + }, + "variableNames": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "4497:6:14" + } + ] + } + ] + }, + "condition": { + "arguments": [ + { + "name": "outOfPlaceEncoding", + "nodeType": "YulIdentifier", + "src": "4475:18:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "4468:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "4468:26:14" + }, + "nodeType": "YulIf", + "src": "4465:61:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4585:111:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4606:1:14", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4613:3:14", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4618:10:14", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "4609:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "4609:20:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4599:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "4599:31:14" + }, + "nodeType": "YulExpressionStatement", + "src": "4599:31:14" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4650:1:14", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4653:4:14", + "type": "", + "value": "0x22" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4643:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "4643:15:14" + }, + "nodeType": "YulExpressionStatement", + "src": "4643:15:14" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4678:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4681:4:14", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "4671:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "4671:15:14" + }, + "nodeType": "YulExpressionStatement", + "src": "4671:15:14" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "outOfPlaceEncoding", + "nodeType": "YulIdentifier", + "src": "4541:18:14" + }, + { + "arguments": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "4564:6:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4572:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "4561:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "4561:14:14" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "4538:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "4538:38:14" + }, + "nodeType": "YulIf", + "src": "4535:161:14" + } + ] + }, + "name": "extract_byte_array_length", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "data", + "nodeType": "YulTypedName", + "src": "4357:4:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "4366:6:14", + "type": "" + } + ], + "src": "4322:380:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4899:70:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "4916:3:14" + }, + { + "hexValue": "706f6f6c4d617853697a65", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4921:13:14", + "type": "", + "value": "poolMaxSize" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4909:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "4909:26:14" + }, + "nodeType": "YulExpressionStatement", + "src": "4909:26:14" + }, + { + "nodeType": "YulAssignment", + "src": "4944:19:14", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "4955:3:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4960:2:14", + "type": "", + "value": "11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4951:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "4951:12:14" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "4944:3:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "4883:3:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "4891:3:14", + "type": "" + } + ], + "src": "4707:262:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5055:103:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "5101:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5110:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5113:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "5103:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "5103:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "5103:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "5076:7:14" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5085:9:14" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "5072:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "5072:23:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5097:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "5068:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "5068:32:14" + }, + "nodeType": "YulIf", + "src": "5065:52:14" + }, + { + "nodeType": "YulAssignment", + "src": "5126:26:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5142:9:14" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "5136:5:14" + }, + "nodeType": "YulFunctionCall", + "src": "5136:16:14" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "5126:6:14" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_uint256_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "5021:9:14", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "5032:7:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "5044:6:14", + "type": "" + } + ], + "src": "4974:184:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5292:119:14", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "5302:26:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5314:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5325:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5310:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "5310:18:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "5302:4:14" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5344:9:14" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "5355:6:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5337:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "5337:25:14" + }, + "nodeType": "YulExpressionStatement", + "src": "5337:25:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5382:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5393:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5378:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "5378:18:14" + }, + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "5398:6:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5371:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "5371:34:14" + }, + "nodeType": "YulExpressionStatement", + "src": "5371:34:14" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_uint256__to_t_bytes32_t_uint256__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "5253:9:14", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "5264:6:14", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "5272:6:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "5283:4:14", + "type": "" + } + ], + "src": "5163:248:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5448:95:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5465:1:14", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5472:3:14", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5477:10:14", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "5468:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "5468:20:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5458:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "5458:31:14" + }, + "nodeType": "YulExpressionStatement", + "src": "5458:31:14" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5505:1:14", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5508:4:14", + "type": "", + "value": "0x11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5498:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "5498:15:14" + }, + "nodeType": "YulExpressionStatement", + "src": "5498:15:14" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5529:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5532:4:14", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "5522:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "5522:15:14" + }, + "nodeType": "YulExpressionStatement", + "src": "5522:15:14" + } + ] + }, + "name": "panic_error_0x11", + "nodeType": "YulFunctionDefinition", + "src": "5416:127:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5600:116:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "5659:22:14", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "5661:16:14" + }, + "nodeType": "YulFunctionCall", + "src": "5661:18:14" + }, + "nodeType": "YulExpressionStatement", + "src": "5661:18:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "5631:1:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "5624:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "5624:9:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "5617:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "5617:17:14" + }, + { + "arguments": [ + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "5639:1:14" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5650:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "5646:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "5646:6:14" + }, + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "5654:1:14" + } + ], + "functionName": { + "name": "div", + "nodeType": "YulIdentifier", + "src": "5642:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "5642:14:14" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "5636:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "5636:21:14" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "5613:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "5613:45:14" + }, + "nodeType": "YulIf", + "src": "5610:71:14" + }, + { + "nodeType": "YulAssignment", + "src": "5690:20:14", + "value": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "5705:1:14" + }, + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "5708:1:14" + } + ], + "functionName": { + "name": "mul", + "nodeType": "YulIdentifier", + "src": "5701:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "5701:9:14" + }, + "variableNames": [ + { + "name": "product", + "nodeType": "YulIdentifier", + "src": "5690:7:14" + } + ] + } + ] + }, + "name": "checked_mul_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "x", + "nodeType": "YulTypedName", + "src": "5579:1:14", + "type": "" + }, + { + "name": "y", + "nodeType": "YulTypedName", + "src": "5582:1:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "product", + "nodeType": "YulTypedName", + "src": "5588:7:14", + "type": "" + } + ], + "src": "5548:168:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5767:171:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "5798:111:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5819:1:14", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5826:3:14", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5831:10:14", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "5822:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "5822:20:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5812:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "5812:31:14" + }, + "nodeType": "YulExpressionStatement", + "src": "5812:31:14" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5863:1:14", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5866:4:14", + "type": "", + "value": "0x12" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5856:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "5856:15:14" + }, + "nodeType": "YulExpressionStatement", + "src": "5856:15:14" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5891:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5894:4:14", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "5884:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "5884:15:14" + }, + "nodeType": "YulExpressionStatement", + "src": "5884:15:14" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "5787:1:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "5780:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "5780:9:14" + }, + "nodeType": "YulIf", + "src": "5777:132:14" + }, + { + "nodeType": "YulAssignment", + "src": "5918:14:14", + "value": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "5927:1:14" + }, + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "5930:1:14" + } + ], + "functionName": { + "name": "div", + "nodeType": "YulIdentifier", + "src": "5923:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "5923:9:14" + }, + "variableNames": [ + { + "name": "r", + "nodeType": "YulIdentifier", + "src": "5918:1:14" + } + ] + } + ] + }, + "name": "checked_div_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "x", + "nodeType": "YulTypedName", + "src": "5752:1:14", + "type": "" + }, + { + "name": "y", + "nodeType": "YulTypedName", + "src": "5755:1:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "r", + "nodeType": "YulTypedName", + "src": "5761:1:14", + "type": "" + } + ], + "src": "5721:217:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6135:69:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "6152:3:14" + }, + { + "hexValue": "6973506f6f6c4c697665", + "kind": "string", + "nodeType": "YulLiteral", + "src": "6157:12:14", + "type": "", + "value": "isPoolLive" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6145:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "6145:25:14" + }, + "nodeType": "YulExpressionStatement", + "src": "6145:25:14" + }, + { + "nodeType": "YulAssignment", + "src": "6179:19:14", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "6190:3:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6195:2:14", + "type": "", + "value": "10" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6186:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "6186:12:14" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "6179:3:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "6119:3:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "6127:3:14", + "type": "" + } + ], + "src": "5943:261:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6287:167:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "6333:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6342:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6345:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "6335:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "6335:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "6335:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "6308:7:14" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6317:9:14" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "6304:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "6304:23:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6329:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "6300:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "6300:32:14" + }, + "nodeType": "YulIf", + "src": "6297:52:14" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "6358:29:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6377:9:14" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "6371:5:14" + }, + "nodeType": "YulFunctionCall", + "src": "6371:16:14" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "6362:5:14", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "6418:5:14" + } + ], + "functionName": { + "name": "validator_revert_bool", + "nodeType": "YulIdentifier", + "src": "6396:21:14" + }, + "nodeType": "YulFunctionCall", + "src": "6396:28:14" + }, + "nodeType": "YulExpressionStatement", + "src": "6396:28:14" + }, + { + "nodeType": "YulAssignment", + "src": "6433:15:14", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "6443:5:14" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "6433:6:14" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bool_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "6253:9:14", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "6264:7:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "6276:6:14", + "type": "" + } + ], + "src": "6209:245:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6633:237:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6650:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6661:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6643:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "6643:21:14" + }, + "nodeType": "YulExpressionStatement", + "src": "6643:21:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6684:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6695:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6680:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "6680:18:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6700:2:14", + "type": "", + "value": "47" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6673:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "6673:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "6673:30:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6723:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6734:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6719:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "6719:18:14" + }, + { + "hexValue": "416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e6365", + "kind": "string", + "nodeType": "YulLiteral", + "src": "6739:34:14", + "type": "", + "value": "AccessControl: can only renounce" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6712:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "6712:62:14" + }, + "nodeType": "YulExpressionStatement", + "src": "6712:62:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6794:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6805:2:14", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6790:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "6790:18:14" + }, + { + "hexValue": "20726f6c657320666f722073656c66", + "kind": "string", + "nodeType": "YulLiteral", + "src": "6810:17:14", + "type": "", + "value": " roles for self" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "6783:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "6783:45:14" + }, + "nodeType": "YulExpressionStatement", + "src": "6783:45:14" + }, + { + "nodeType": "YulAssignment", + "src": "6837:27:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6849:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6860:3:14", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6845:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "6845:19:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "6837:4:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "6610:9:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "6624:4:14", + "type": "" + } + ], + "src": "6459:411:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6923:80:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "6950:22:14", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "6952:16:14" + }, + "nodeType": "YulFunctionCall", + "src": "6952:18:14" + }, + "nodeType": "YulExpressionStatement", + "src": "6952:18:14" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "6939:1:14" + }, + { + "arguments": [ + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "6946:1:14" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "6942:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "6942:6:14" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "6936:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "6936:13:14" + }, + "nodeType": "YulIf", + "src": "6933:39:14" + }, + { + "nodeType": "YulAssignment", + "src": "6981:16:14", + "value": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "6992:1:14" + }, + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "6995:1:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6988:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "6988:9:14" + }, + "variableNames": [ + { + "name": "sum", + "nodeType": "YulIdentifier", + "src": "6981:3:14" + } + ] + } + ] + }, + "name": "checked_add_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "x", + "nodeType": "YulTypedName", + "src": "6906:1:14", + "type": "" + }, + { + "name": "y", + "nodeType": "YulTypedName", + "src": "6909:1:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "sum", + "nodeType": "YulTypedName", + "src": "6915:3:14", + "type": "" + } + ], + "src": "6875:128:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7182:249:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7199:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7210:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7192:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "7192:21:14" + }, + "nodeType": "YulExpressionStatement", + "src": "7192:21:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7233:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7244:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7229:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "7229:18:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7249:2:14", + "type": "", + "value": "59" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7222:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "7222:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "7222:30:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7272:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7283:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7268:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "7268:18:14" + }, + { + "hexValue": "43757272656e746c7920746865726520617265206e6f2065746865722073746f", + "kind": "string", + "nodeType": "YulLiteral", + "src": "7288:34:14", + "type": "", + "value": "Currently there are no ether sto" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7261:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "7261:62:14" + }, + "nodeType": "YulExpressionStatement", + "src": "7261:62:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7343:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7354:2:14", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7339:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "7339:18:14" + }, + { + "hexValue": "7265642e2043616e6e6f7420646976696465206279207a65726f2e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "7359:29:14", + "type": "", + "value": "red. Cannot divide by zero." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7332:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "7332:57:14" + }, + "nodeType": "YulExpressionStatement", + "src": "7332:57:14" + }, + { + "nodeType": "YulAssignment", + "src": "7398:27:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7410:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7421:3:14", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7406:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "7406:19:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "7398:4:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_55b2b3f2d860dc00999de2859b5705b081f23d227a860928aca26a9102461fd4__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "7159:9:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "7173:4:14", + "type": "" + } + ], + "src": "7008:423:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7656:158:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7673:3:14" + }, + { + "hexValue": "636f6e74726163745f657869737473", + "kind": "string", + "nodeType": "YulLiteral", + "src": "7678:17:14", + "type": "", + "value": "contract_exists" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7666:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "7666:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "7666:30:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7716:3:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7721:2:14", + "type": "", + "value": "15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7712:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "7712:12:14" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7734:2:14", + "type": "", + "value": "96" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "7738:6:14" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "7730:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "7730:15:14" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7751:26:14", + "type": "", + "value": "0xffffffffffffffffffffffff" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "7747:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "7747:31:14" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "7726:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "7726:53:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7705:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "7705:75:14" + }, + "nodeType": "YulExpressionStatement", + "src": "7705:75:14" + }, + { + "nodeType": "YulAssignment", + "src": "7789:19:14", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7800:3:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7805:2:14", + "type": "", + "value": "35" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7796:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "7796:12:14" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "7789:3:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "7632:3:14", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "7637:6:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "7648:3:14", + "type": "" + } + ], + "src": "7436:378:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7993:175:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8010:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8021:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8003:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "8003:21:14" + }, + "nodeType": "YulExpressionStatement", + "src": "8003:21:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8044:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8055:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8040:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "8040:18:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8060:2:14", + "type": "", + "value": "25" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8033:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "8033:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "8033:30:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8083:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8094:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8079:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "8079:18:14" + }, + { + "hexValue": "496e76616c696420436f6e747261637420416464726573732e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "8099:27:14", + "type": "", + "value": "Invalid Contract Address." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8072:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "8072:55:14" + }, + "nodeType": "YulExpressionStatement", + "src": "8072:55:14" + }, + { + "nodeType": "YulAssignment", + "src": "8136:26:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8148:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8159:2:14", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8144:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "8144:18:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "8136:4:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_d36e2fdd2f4d349fc44a9cc6ea1a2b4f2a7eb320cfe91d40a3a9a6af97aada24__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "7970:9:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "7984:4:14", + "type": "" + } + ], + "src": "7819:349:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8365:82:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "8382:3:14" + }, + { + "hexValue": "746f74616c537570706c795f7265776172644574686572", + "kind": "string", + "nodeType": "YulLiteral", + "src": "8387:25:14", + "type": "", + "value": "totalSupply_rewardEther" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8375:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "8375:38:14" + }, + "nodeType": "YulExpressionStatement", + "src": "8375:38:14" + }, + { + "nodeType": "YulAssignment", + "src": "8422:19:14", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "8433:3:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8438:2:14", + "type": "", + "value": "23" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8429:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "8429:12:14" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "8422:3:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_0374d75381b3b197d745e6b159383515dfcf445652f3d60140f7a03bb136a74c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "8349:3:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "8357:3:14", + "type": "" + } + ], + "src": "8173:274:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8626:232:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8643:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8654:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8636:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "8636:21:14" + }, + "nodeType": "YulExpressionStatement", + "src": "8636:21:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8677:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8688:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8673:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "8673:18:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8693:2:14", + "type": "", + "value": "42" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8666:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "8666:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "8666:30:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8716:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8727:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8712:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "8712:18:14" + }, + { + "hexValue": "4d696e7420616d6f756e74206e6565647320746f206265206772656174657220", + "kind": "string", + "nodeType": "YulLiteral", + "src": "8732:34:14", + "type": "", + "value": "Mint amount needs to be greater " + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8705:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "8705:62:14" + }, + "nodeType": "YulExpressionStatement", + "src": "8705:62:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8787:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8798:2:14", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8783:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "8783:18:14" + }, + { + "hexValue": "7468616e207a65726f2e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "8803:12:14", + "type": "", + "value": "than zero." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "8776:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "8776:40:14" + }, + "nodeType": "YulExpressionStatement", + "src": "8776:40:14" + }, + { + "nodeType": "YulAssignment", + "src": "8825:27:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "8837:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8848:3:14", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8833:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "8833:19:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "8825:4:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_f6b53c7de5e97000949f1f34c12a660cb86381130912012977c5e8eef4442c49__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "8603:9:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "8617:4:14", + "type": "" + } + ], + "src": "8452:406:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8992:119:14", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "9002:26:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9014:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9025:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9010:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "9010:18:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "9002:4:14" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9044:9:14" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "9055:6:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9037:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "9037:25:14" + }, + "nodeType": "YulExpressionStatement", + "src": "9037:25:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9082:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9093:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9078:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "9078:18:14" + }, + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "9098:6:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9071:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "9071:34:14" + }, + "nodeType": "YulExpressionStatement", + "src": "9071:34:14" + } + ] + }, + "name": "abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "8953:9:14", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "8964:6:14", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "8972:6:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "8983:4:14", + "type": "" + } + ], + "src": "8863:248:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "9290:232:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9307:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9318:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9300:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "9300:21:14" + }, + "nodeType": "YulExpressionStatement", + "src": "9300:21:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9341:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9352:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9337:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "9337:18:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9357:2:14", + "type": "", + "value": "42" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9330:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "9330:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "9330:30:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9380:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9391:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9376:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "9376:18:14" + }, + { + "hexValue": "4275726e20616d6f756e74206e6565647320746f206265206772656174657220", + "kind": "string", + "nodeType": "YulLiteral", + "src": "9396:34:14", + "type": "", + "value": "Burn amount needs to be greater " + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9369:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "9369:62:14" + }, + "nodeType": "YulExpressionStatement", + "src": "9369:62:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9451:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9462:2:14", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9447:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "9447:18:14" + }, + { + "hexValue": "7468616e207a65726f2e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "9467:12:14", + "type": "", + "value": "than zero." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9440:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "9440:40:14" + }, + "nodeType": "YulExpressionStatement", + "src": "9440:40:14" + }, + { + "nodeType": "YulAssignment", + "src": "9489:27:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9501:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9512:3:14", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9497:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "9497:19:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "9489:4:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_b7433f37c229e4fafd99a92caefb09b9e5ad2d2e833e193ae02153f7830f1e08__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "9267:9:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "9281:4:14", + "type": "" + } + ], + "src": "9116:406:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "9701:177:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9718:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9729:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9711:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "9711:21:14" + }, + "nodeType": "YulExpressionStatement", + "src": "9711:21:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9752:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9763:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9748:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "9748:18:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9768:2:14", + "type": "", + "value": "27" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9741:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "9741:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "9741:30:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9791:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9802:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9787:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "9787:18:14" + }, + { + "hexValue": "496e73756666696369656e742072774574682062616c616e63652e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "9807:29:14", + "type": "", + "value": "Insufficient rwEth balance." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9780:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "9780:57:14" + }, + "nodeType": "YulExpressionStatement", + "src": "9780:57:14" + }, + { + "nodeType": "YulAssignment", + "src": "9846:26:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9858:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9869:2:14", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9854:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "9854:18:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "9846:4:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_64d7ac1c494517ceb822c7f6b767328d7b0d11312cd7bddf3ad3ea0cbd8db17f__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "9678:9:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "9692:4:14", + "type": "" + } + ], + "src": "9527:351:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "10057:247:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "10074:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10085:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "10067:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "10067:21:14" + }, + "nodeType": "YulExpressionStatement", + "src": "10067:21:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "10108:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10119:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10104:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "10104:18:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10124:2:14", + "type": "", + "value": "57" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "10097:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "10097:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "10097:30:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "10147:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10158:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10143:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "10143:18:14" + }, + { + "hexValue": "5468657265206172656e277420656e6f756768206261636b6564206574686572", + "kind": "string", + "nodeType": "YulLiteral", + "src": "10163:34:14", + "type": "", + "value": "There aren't enough backed ether" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "10136:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "10136:62:14" + }, + "nodeType": "YulExpressionStatement", + "src": "10136:62:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "10218:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10229:2:14", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10214:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "10214:18:14" + }, + { + "hexValue": "7320746f20706572666f726d207468697320616374696f6e2e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "10234:27:14", + "type": "", + "value": "s to perform this action." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "10207:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "10207:55:14" + }, + "nodeType": "YulExpressionStatement", + "src": "10207:55:14" + }, + { + "nodeType": "YulAssignment", + "src": "10271:27:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "10283:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10294:3:14", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10279:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "10279:19:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "10271:4:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_34aed5d1a3fc936e21ab00388a0307badbc66a0bfcc054d810418b9c87dce058__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "10034:9:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "10048:4:14", + "type": "" + } + ], + "src": "9883:421:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "10483:179:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "10500:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10511:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "10493:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "10493:21:14" + }, + "nodeType": "YulExpressionStatement", + "src": "10493:21:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "10534:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10545:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10530:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "10530:18:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10550:2:14", + "type": "", + "value": "29" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "10523:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "10523:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "10523:30:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "10573:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10584:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10569:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "10569:18:14" + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "10589:31:14", + "type": "", + "value": "The pool is currently closed." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "10562:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "10562:59:14" + }, + "nodeType": "YulExpressionStatement", + "src": "10562:59:14" + }, + { + "nodeType": "YulAssignment", + "src": "10630:26:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "10642:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10653:2:14", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10638:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "10638:18:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "10630:4:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "10460:9:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "10474:4:14", + "type": "" + } + ], + "src": "10309:353:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "10859:74:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "10876:3:14" + }, + { + "hexValue": "6d696e436f6e747269627574696f6e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "10881:17:14", + "type": "", + "value": "minContribution" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "10869:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "10869:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "10869:30:14" + }, + { + "nodeType": "YulAssignment", + "src": "10908:19:14", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "10919:3:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10924:2:14", + "type": "", + "value": "15" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10915:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "10915:12:14" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "10908:3:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "10843:3:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "10851:3:14", + "type": "" + } + ], + "src": "10667:266:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "11130:72:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "11147:3:14" + }, + { + "hexValue": "64617973546f52657761726473", + "kind": "string", + "nodeType": "YulLiteral", + "src": "11152:15:14", + "type": "", + "value": "daysToRewards" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "11140:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "11140:28:14" + }, + "nodeType": "YulExpressionStatement", + "src": "11140:28:14" + }, + { + "nodeType": "YulAssignment", + "src": "11177:19:14", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "11188:3:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11193:2:14", + "type": "", + "value": "13" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11184:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "11184:12:14" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "11177:3:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "11114:3:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "11122:3:14", + "type": "" + } + ], + "src": "10938:264:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "11399:76:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "11416:3:14" + }, + { + "hexValue": "636f6e747269627574696f6e4c696d6974", + "kind": "string", + "nodeType": "YulLiteral", + "src": "11421:19:14", + "type": "", + "value": "contributionLimit" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "11409:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "11409:32:14" + }, + "nodeType": "YulExpressionStatement", + "src": "11409:32:14" + }, + { + "nodeType": "YulAssignment", + "src": "11450:19:14", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "11461:3:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11466:2:14", + "type": "", + "value": "17" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11457:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "11457:12:14" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "11450:3:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "11383:3:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "11391:3:14", + "type": "" + } + ], + "src": "11207:268:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "11672:83:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "11689:3:14" + }, + { + "hexValue": "72657761726473496e746572657374506572506572696f64", + "kind": "string", + "nodeType": "YulLiteral", + "src": "11694:26:14", + "type": "", + "value": "rewardsInterestPerPeriod" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "11682:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "11682:39:14" + }, + "nodeType": "YulExpressionStatement", + "src": "11682:39:14" + }, + { + "nodeType": "YulAssignment", + "src": "11730:19:14", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "11741:3:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11746:2:14", + "type": "", + "value": "24" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11737:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "11737:12:14" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "11730:3:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "11656:3:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "11664:3:14", + "type": "" + } + ], + "src": "11480:275:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "11952:66:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "11969:3:14" + }, + { + "hexValue": "706f6f6c46656573", + "kind": "string", + "nodeType": "YulLiteral", + "src": "11974:10:14", + "type": "", + "value": "poolFees" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "11962:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "11962:23:14" + }, + "nodeType": "YulExpressionStatement", + "src": "11962:23:14" + }, + { + "nodeType": "YulAssignment", + "src": "11994:18:14", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "12005:3:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12010:1:14", + "type": "", + "value": "8" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "12001:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "12001:11:14" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "11994:3:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_0f5404ed03256cc6395ed559bf52ccb5ab11bf8dddbd240da7e6d5ad4ab04dd7__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "11936:3:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "11944:3:14", + "type": "" + } + ], + "src": "11760:258:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "12215:70:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "12232:3:14" + }, + { + "hexValue": "706f6f6c46656573536574", + "kind": "string", + "nodeType": "YulLiteral", + "src": "12237:13:14", + "type": "", + "value": "poolFeesSet" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "12225:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "12225:26:14" + }, + "nodeType": "YulExpressionStatement", + "src": "12225:26:14" + }, + { + "nodeType": "YulAssignment", + "src": "12260:19:14", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "12271:3:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12276:2:14", + "type": "", + "value": "11" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "12267:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "12267:12:14" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "12260:3:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_8f6e48ebe95c46ad356449234d760f7838119a9ccd28d70c8f8be00c200e3039__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "12199:3:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "12207:3:14", + "type": "" + } + ], + "src": "12023:262:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "12413:135:14", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "12423:26:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "12435:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12446:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "12431:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "12431:18:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "12423:4:14" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "12465:9:14" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "12476:6:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "12458:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "12458:25:14" + }, + "nodeType": "YulExpressionStatement", + "src": "12458:25:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "12503:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12514:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "12499:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "12499:18:14" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "12533:6:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "12526:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "12526:14:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "12519:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "12519:22:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "12492:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "12492:50:14" + }, + "nodeType": "YulExpressionStatement", + "src": "12492:50:14" + } + ] + }, + "name": "abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "12374:9:14", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "12385:6:14", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "12393:6:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "12404:4:14", + "type": "" + } + ], + "src": "12290:258:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "12727:227:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "12744:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12755:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "12737:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "12737:21:14" + }, + "nodeType": "YulExpressionStatement", + "src": "12737:21:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "12778:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12789:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "12774:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "12774:18:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12794:2:14", + "type": "", + "value": "37" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "12767:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "12767:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "12767:30:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "12817:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12828:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "12813:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "12813:18:14" + }, + { + "hexValue": "45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77", + "kind": "string", + "nodeType": "YulLiteral", + "src": "12833:34:14", + "type": "", + "value": "ERC20: decreased allowance below" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "12806:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "12806:62:14" + }, + "nodeType": "YulExpressionStatement", + "src": "12806:62:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "12888:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12899:2:14", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "12884:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "12884:18:14" + }, + { + "hexValue": "207a65726f", + "kind": "string", + "nodeType": "YulLiteral", + "src": "12904:7:14", + "type": "", + "value": " zero" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "12877:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "12877:35:14" + }, + "nodeType": "YulExpressionStatement", + "src": "12877:35:14" + }, + { + "nodeType": "YulAssignment", + "src": "12921:27:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "12933:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12944:3:14", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "12929:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "12929:19:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "12921:4:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "12704:9:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "12718:4:14", + "type": "" + } + ], + "src": "12553:401:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "13133:226:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "13150:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13161:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "13143:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "13143:21:14" + }, + "nodeType": "YulExpressionStatement", + "src": "13143:21:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "13184:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13195:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "13180:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "13180:18:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13200:2:14", + "type": "", + "value": "36" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "13173:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "13173:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "13173:30:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "13223:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13234:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "13219:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "13219:18:14" + }, + { + "hexValue": "45524332303a20617070726f76652066726f6d20746865207a65726f20616464", + "kind": "string", + "nodeType": "YulLiteral", + "src": "13239:34:14", + "type": "", + "value": "ERC20: approve from the zero add" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "13212:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "13212:62:14" + }, + "nodeType": "YulExpressionStatement", + "src": "13212:62:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "13294:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13305:2:14", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "13290:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "13290:18:14" + }, + { + "hexValue": "72657373", + "kind": "string", + "nodeType": "YulLiteral", + "src": "13310:6:14", + "type": "", + "value": "ress" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "13283:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "13283:34:14" + }, + "nodeType": "YulExpressionStatement", + "src": "13283:34:14" + }, + { + "nodeType": "YulAssignment", + "src": "13326:27:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "13338:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13349:3:14", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "13334:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "13334:19:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "13326:4:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "13110:9:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "13124:4:14", + "type": "" + } + ], + "src": "12959:400:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "13538:224:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "13555:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13566:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "13548:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "13548:21:14" + }, + "nodeType": "YulExpressionStatement", + "src": "13548:21:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "13589:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13600:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "13585:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "13585:18:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13605:2:14", + "type": "", + "value": "34" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "13578:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "13578:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "13578:30:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "13628:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13639:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "13624:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "13624:18:14" + }, + { + "hexValue": "45524332303a20617070726f766520746f20746865207a65726f206164647265", + "kind": "string", + "nodeType": "YulLiteral", + "src": "13644:34:14", + "type": "", + "value": "ERC20: approve to the zero addre" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "13617:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "13617:62:14" + }, + "nodeType": "YulExpressionStatement", + "src": "13617:62:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "13699:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13710:2:14", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "13695:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "13695:18:14" + }, + { + "hexValue": "7373", + "kind": "string", + "nodeType": "YulLiteral", + "src": "13715:4:14", + "type": "", + "value": "ss" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "13688:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "13688:32:14" + }, + "nodeType": "YulExpressionStatement", + "src": "13688:32:14" + }, + { + "nodeType": "YulAssignment", + "src": "13729:27:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "13741:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13752:3:14", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "13737:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "13737:19:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "13729:4:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "13515:9:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "13529:4:14", + "type": "" + } + ], + "src": "13364:398:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "14156:397:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "14173:3:14" + }, + { + "hexValue": "416363657373436f6e74726f6c3a206163636f756e7420", + "kind": "string", + "nodeType": "YulLiteral", + "src": "14178:25:14", + "type": "", + "value": "AccessControl: account " + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "14166:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "14166:38:14" + }, + "nodeType": "YulExpressionStatement", + "src": "14166:38:14" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "14213:27:14", + "value": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "14233:6:14" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "14227:5:14" + }, + "nodeType": "YulFunctionCall", + "src": "14227:13:14" + }, + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "14217:6:14", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "14275:6:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14283:4:14", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "14271:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "14271:17:14" + }, + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "14294:3:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14299:2:14", + "type": "", + "value": "23" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "14290:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "14290:12:14" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "14304:6:14" + } + ], + "functionName": { + "name": "copy_memory_to_memory", + "nodeType": "YulIdentifier", + "src": "14249:21:14" + }, + "nodeType": "YulFunctionCall", + "src": "14249:62:14" + }, + "nodeType": "YulExpressionStatement", + "src": "14249:62:14" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "14320:26:14", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "14334:3:14" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "14339:6:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "14330:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "14330:16:14" + }, + "variables": [ + { + "name": "_1", + "nodeType": "YulTypedName", + "src": "14324:2:14", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "14366:2:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14370:2:14", + "type": "", + "value": "23" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "14362:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "14362:11:14" + }, + { + "hexValue": "206973206d697373696e6720726f6c6520", + "kind": "string", + "nodeType": "YulLiteral", + "src": "14375:19:14", + "type": "", + "value": " is missing role " + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "14355:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "14355:40:14" + }, + "nodeType": "YulExpressionStatement", + "src": "14355:40:14" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "14404:29:14", + "value": { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "14426:6:14" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "14420:5:14" + }, + "nodeType": "YulFunctionCall", + "src": "14420:13:14" + }, + "variables": [ + { + "name": "length_1", + "nodeType": "YulTypedName", + "src": "14408:8:14", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "14468:6:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14476:4:14", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "14464:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "14464:17:14" + }, + { + "arguments": [ + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "14487:2:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14491:2:14", + "type": "", + "value": "40" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "14483:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "14483:11:14" + }, + { + "name": "length_1", + "nodeType": "YulIdentifier", + "src": "14496:8:14" + } + ], + "functionName": { + "name": "copy_memory_to_memory", + "nodeType": "YulIdentifier", + "src": "14442:21:14" + }, + "nodeType": "YulFunctionCall", + "src": "14442:63:14" + }, + "nodeType": "YulExpressionStatement", + "src": "14442:63:14" + }, + { + "nodeType": "YulAssignment", + "src": "14514:33:14", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "14529:2:14" + }, + { + "name": "length_1", + "nodeType": "YulIdentifier", + "src": "14533:8:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "14525:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "14525:17:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14544:2:14", + "type": "", + "value": "40" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "14521:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "14521:26:14" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "14514:3:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874_t_string_memory_ptr_t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "14124:3:14", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "14129:6:14", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "14137:6:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "14148:3:14", + "type": "" + } + ], + "src": "13767:786:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "14798:196:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "14815:3:14" + }, + { + "hexValue": "636f6e74726163745f5f61646472657373", + "kind": "string", + "nodeType": "YulLiteral", + "src": "14820:19:14", + "type": "", + "value": "contract__address" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "14808:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "14808:32:14" + }, + "nodeType": "YulExpressionStatement", + "src": "14808:32:14" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "14849:27:14", + "value": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "14869:6:14" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "14863:5:14" + }, + "nodeType": "YulFunctionCall", + "src": "14863:13:14" + }, + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "14853:6:14", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "14911:6:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14919:4:14", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "14907:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "14907:17:14" + }, + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "14930:3:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14935:2:14", + "type": "", + "value": "17" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "14926:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "14926:12:14" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "14940:6:14" + } + ], + "functionName": { + "name": "copy_memory_to_memory", + "nodeType": "YulIdentifier", + "src": "14885:21:14" + }, + "nodeType": "YulFunctionCall", + "src": "14885:62:14" + }, + "nodeType": "YulExpressionStatement", + "src": "14885:62:14" + }, + { + "nodeType": "YulAssignment", + "src": "14956:32:14", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "14971:3:14" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "14976:6:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "14967:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "14967:16:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14985:2:14", + "type": "", + "value": "17" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "14963:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "14963:25:14" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "14956:3:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_stringliteral_00b032c55d5413576ded643dc6cefced0f3cb828720e7577b44d09665bcd4ae3_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "14774:3:14", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "14779:6:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "14790:3:14", + "type": "" + } + ], + "src": "14558:436:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "15080:170:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "15126:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15135:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15138:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "15128:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "15128:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "15128:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "15101:7:14" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "15110:9:14" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "15097:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "15097:23:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15122:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "15093:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "15093:32:14" + }, + "nodeType": "YulIf", + "src": "15090:52:14" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "15151:29:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "15170:9:14" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "15164:5:14" + }, + "nodeType": "YulFunctionCall", + "src": "15164:16:14" + }, + "variables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "15155:5:14", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "15214:5:14" + } + ], + "functionName": { + "name": "validator_revert_address", + "nodeType": "YulIdentifier", + "src": "15189:24:14" + }, + "nodeType": "YulFunctionCall", + "src": "15189:31:14" + }, + "nodeType": "YulExpressionStatement", + "src": "15189:31:14" + }, + { + "nodeType": "YulAssignment", + "src": "15229:15:14", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "15239:5:14" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "15229:6:14" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_address_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "15046:9:14", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "15057:7:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "15069:6:14", + "type": "" + } + ], + "src": "14999:251:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "15429:177:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "15446:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15457:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "15439:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "15439:21:14" + }, + "nodeType": "YulExpressionStatement", + "src": "15439:21:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "15480:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15491:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "15476:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "15476:18:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15496:2:14", + "type": "", + "value": "27" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "15469:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "15469:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "15469:30:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "15519:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15530:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "15515:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "15515:18:14" + }, + { + "hexValue": "436f6e74726163742061646472657373206e6f7420666f756e642e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "15535:29:14", + "type": "", + "value": "Contract address not found." + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "15508:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "15508:57:14" + }, + "nodeType": "YulExpressionStatement", + "src": "15508:57:14" + }, + { + "nodeType": "YulAssignment", + "src": "15574:26:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "15586:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15597:2:14", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "15582:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "15582:18:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "15574:4:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_308638a0d46b73b9203c635ec2b36574c482f0f0b0c13080ce12f9b33ca2d5c6__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "15406:9:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "15420:4:14", + "type": "" + } + ], + "src": "15255:351:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "15785:179:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "15802:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15813:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "15795:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "15795:21:14" + }, + "nodeType": "YulExpressionStatement", + "src": "15795:21:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "15836:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15847:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "15832:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "15832:18:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15852:2:14", + "type": "", + "value": "29" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "15825:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "15825:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "15825:30:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "15875:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15886:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "15871:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "15871:18:14" + }, + { + "hexValue": "45524332303a20696e73756666696369656e7420616c6c6f77616e6365", + "kind": "string", + "nodeType": "YulLiteral", + "src": "15891:31:14", + "type": "", + "value": "ERC20: insufficient allowance" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "15864:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "15864:59:14" + }, + "nodeType": "YulExpressionStatement", + "src": "15864:59:14" + }, + { + "nodeType": "YulAssignment", + "src": "15932:26:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "15944:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15955:2:14", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "15940:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "15940:18:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "15932:4:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "15762:9:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "15776:4:14", + "type": "" + } + ], + "src": "15611:353:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "16143:227:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "16160:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "16171:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "16153:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "16153:21:14" + }, + "nodeType": "YulExpressionStatement", + "src": "16153:21:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "16194:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "16205:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "16190:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "16190:18:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "16210:2:14", + "type": "", + "value": "37" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "16183:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "16183:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "16183:30:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "16233:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "16244:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "16229:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "16229:18:14" + }, + { + "hexValue": "45524332303a207472616e736665722066726f6d20746865207a65726f206164", + "kind": "string", + "nodeType": "YulLiteral", + "src": "16249:34:14", + "type": "", + "value": "ERC20: transfer from the zero ad" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "16222:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "16222:62:14" + }, + "nodeType": "YulExpressionStatement", + "src": "16222:62:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "16304:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "16315:2:14", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "16300:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "16300:18:14" + }, + { + "hexValue": "6472657373", + "kind": "string", + "nodeType": "YulLiteral", + "src": "16320:7:14", + "type": "", + "value": "dress" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "16293:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "16293:35:14" + }, + "nodeType": "YulExpressionStatement", + "src": "16293:35:14" + }, + { + "nodeType": "YulAssignment", + "src": "16337:27:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "16349:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "16360:3:14", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "16345:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "16345:19:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "16337:4:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "16120:9:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "16134:4:14", + "type": "" + } + ], + "src": "15969:401:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "16549:225:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "16566:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "16577:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "16559:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "16559:21:14" + }, + "nodeType": "YulExpressionStatement", + "src": "16559:21:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "16600:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "16611:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "16596:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "16596:18:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "16616:2:14", + "type": "", + "value": "35" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "16589:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "16589:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "16589:30:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "16639:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "16650:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "16635:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "16635:18:14" + }, + { + "hexValue": "45524332303a207472616e7366657220746f20746865207a65726f2061646472", + "kind": "string", + "nodeType": "YulLiteral", + "src": "16655:34:14", + "type": "", + "value": "ERC20: transfer to the zero addr" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "16628:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "16628:62:14" + }, + "nodeType": "YulExpressionStatement", + "src": "16628:62:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "16710:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "16721:2:14", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "16706:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "16706:18:14" + }, + { + "hexValue": "657373", + "kind": "string", + "nodeType": "YulLiteral", + "src": "16726:5:14", + "type": "", + "value": "ess" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "16699:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "16699:33:14" + }, + "nodeType": "YulExpressionStatement", + "src": "16699:33:14" + }, + { + "nodeType": "YulAssignment", + "src": "16741:27:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "16753:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "16764:3:14", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "16749:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "16749:19:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "16741:4:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "16526:9:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "16540:4:14", + "type": "" + } + ], + "src": "16375:399:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "16953:228:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "16970:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "16981:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "16963:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "16963:21:14" + }, + "nodeType": "YulExpressionStatement", + "src": "16963:21:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "17004:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "17015:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "17000:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "17000:18:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "17020:2:14", + "type": "", + "value": "38" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "16993:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "16993:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "16993:30:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "17043:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "17054:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "17039:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "17039:18:14" + }, + { + "hexValue": "45524332303a207472616e7366657220616d6f756e7420657863656564732062", + "kind": "string", + "nodeType": "YulLiteral", + "src": "17059:34:14", + "type": "", + "value": "ERC20: transfer amount exceeds b" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "17032:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "17032:62:14" + }, + "nodeType": "YulExpressionStatement", + "src": "17032:62:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "17114:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "17125:2:14", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "17110:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "17110:18:14" + }, + { + "hexValue": "616c616e6365", + "kind": "string", + "nodeType": "YulLiteral", + "src": "17130:8:14", + "type": "", + "value": "alance" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "17103:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "17103:36:14" + }, + "nodeType": "YulExpressionStatement", + "src": "17103:36:14" + }, + { + "nodeType": "YulAssignment", + "src": "17148:27:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "17160:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "17171:3:14", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "17156:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "17156:19:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "17148:4:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "16930:9:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "16944:4:14", + "type": "" + } + ], + "src": "16779:402:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "17360:181:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "17377:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "17388:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "17370:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "17370:21:14" + }, + "nodeType": "YulExpressionStatement", + "src": "17370:21:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "17411:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "17422:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "17407:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "17407:18:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "17427:2:14", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "17400:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "17400:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "17400:30:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "17450:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "17461:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "17446:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "17446:18:14" + }, + { + "hexValue": "45524332303a206d696e7420746f20746865207a65726f2061646472657373", + "kind": "string", + "nodeType": "YulLiteral", + "src": "17466:33:14", + "type": "", + "value": "ERC20: mint to the zero address" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "17439:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "17439:61:14" + }, + "nodeType": "YulExpressionStatement", + "src": "17439:61:14" + }, + { + "nodeType": "YulAssignment", + "src": "17509:26:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "17521:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "17532:2:14", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "17517:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "17517:18:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "17509:4:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "17337:9:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "17351:4:14", + "type": "" + } + ], + "src": "17186:355:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "17720:223:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "17737:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "17748:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "17730:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "17730:21:14" + }, + "nodeType": "YulExpressionStatement", + "src": "17730:21:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "17771:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "17782:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "17767:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "17767:18:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "17787:2:14", + "type": "", + "value": "33" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "17760:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "17760:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "17760:30:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "17810:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "17821:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "17806:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "17806:18:14" + }, + { + "hexValue": "45524332303a206275726e2066726f6d20746865207a65726f20616464726573", + "kind": "string", + "nodeType": "YulLiteral", + "src": "17826:34:14", + "type": "", + "value": "ERC20: burn from the zero addres" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "17799:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "17799:62:14" + }, + "nodeType": "YulExpressionStatement", + "src": "17799:62:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "17881:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "17892:2:14", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "17877:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "17877:18:14" + }, + { + "hexValue": "73", + "kind": "string", + "nodeType": "YulLiteral", + "src": "17897:3:14", + "type": "", + "value": "s" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "17870:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "17870:31:14" + }, + "nodeType": "YulExpressionStatement", + "src": "17870:31:14" + }, + { + "nodeType": "YulAssignment", + "src": "17910:27:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "17922:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "17933:3:14", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "17918:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "17918:19:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "17910:4:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_b16788493b576042bb52c50ed56189e0b250db113c7bfb1c3897d25cf9632d7f__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "17697:9:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "17711:4:14", + "type": "" + } + ], + "src": "17546:397:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "18122:224:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "18139:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18150:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "18132:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "18132:21:14" + }, + "nodeType": "YulExpressionStatement", + "src": "18132:21:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "18173:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18184:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "18169:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "18169:18:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18189:2:14", + "type": "", + "value": "34" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "18162:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "18162:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "18162:30:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "18212:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18223:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "18208:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "18208:18:14" + }, + { + "hexValue": "45524332303a206275726e20616d6f756e7420657863656564732062616c616e", + "kind": "string", + "nodeType": "YulLiteral", + "src": "18228:34:14", + "type": "", + "value": "ERC20: burn amount exceeds balan" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "18201:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "18201:62:14" + }, + "nodeType": "YulExpressionStatement", + "src": "18201:62:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "18283:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18294:2:14", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "18279:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "18279:18:14" + }, + { + "hexValue": "6365", + "kind": "string", + "nodeType": "YulLiteral", + "src": "18299:4:14", + "type": "", + "value": "ce" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "18272:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "18272:32:14" + }, + "nodeType": "YulExpressionStatement", + "src": "18272:32:14" + }, + { + "nodeType": "YulAssignment", + "src": "18313:27:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "18325:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18336:3:14", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "18321:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "18321:19:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "18313:4:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_149b126e7125232b4200af45303d04fba8b74653b1a295a6a561a528c33fefdd__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "18099:9:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "18113:4:14", + "type": "" + } + ], + "src": "17948:398:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "18400:76:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "18422:22:14", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "18424:16:14" + }, + "nodeType": "YulFunctionCall", + "src": "18424:18:14" + }, + "nodeType": "YulExpressionStatement", + "src": "18424:18:14" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "18416:1:14" + }, + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "18419:1:14" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "18413:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "18413:8:14" + }, + "nodeType": "YulIf", + "src": "18410:34:14" + }, + { + "nodeType": "YulAssignment", + "src": "18453:17:14", + "value": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "18465:1:14" + }, + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "18468:1:14" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "18461:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "18461:9:14" + }, + "variableNames": [ + { + "name": "diff", + "nodeType": "YulIdentifier", + "src": "18453:4:14" + } + ] + } + ] + }, + "name": "checked_sub_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "x", + "nodeType": "YulTypedName", + "src": "18382:1:14", + "type": "" + }, + { + "name": "y", + "nodeType": "YulTypedName", + "src": "18385:1:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "diff", + "nodeType": "YulTypedName", + "src": "18391:4:14", + "type": "" + } + ], + "src": "18351:125:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "18513:95:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18530:1:14", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18537:3:14", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18542:10:14", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "18533:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "18533:20:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "18523:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "18523:31:14" + }, + "nodeType": "YulExpressionStatement", + "src": "18523:31:14" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18570:1:14", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18573:4:14", + "type": "", + "value": "0x41" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "18563:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "18563:15:14" + }, + "nodeType": "YulExpressionStatement", + "src": "18563:15:14" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18594:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18597:4:14", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "18587:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "18587:15:14" + }, + "nodeType": "YulExpressionStatement", + "src": "18587:15:14" + } + ] + }, + "name": "panic_error_0x41", + "nodeType": "YulFunctionDefinition", + "src": "18481:127:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "18645:95:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18662:1:14", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18669:3:14", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18674:10:14", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "18665:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "18665:20:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "18655:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "18655:31:14" + }, + "nodeType": "YulExpressionStatement", + "src": "18655:31:14" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18702:1:14", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18705:4:14", + "type": "", + "value": "0x32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "18695:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "18695:15:14" + }, + "nodeType": "YulExpressionStatement", + "src": "18695:15:14" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18726:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18729:4:14", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "18719:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "18719:15:14" + }, + "nodeType": "YulExpressionStatement", + "src": "18719:15:14" + } + ] + }, + "name": "panic_error_0x32", + "nodeType": "YulFunctionDefinition", + "src": "18613:127:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "18792:89:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "18819:22:14", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x11", + "nodeType": "YulIdentifier", + "src": "18821:16:14" + }, + "nodeType": "YulFunctionCall", + "src": "18821:18:14" + }, + "nodeType": "YulExpressionStatement", + "src": "18821:18:14" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "18812:5:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "18805:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "18805:13:14" + }, + "nodeType": "YulIf", + "src": "18802:39:14" + }, + { + "nodeType": "YulAssignment", + "src": "18850:25:14", + "value": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "18861:5:14" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "18872:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "18868:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "18868:6:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "18857:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "18857:18:14" + }, + "variableNames": [ + { + "name": "ret", + "nodeType": "YulIdentifier", + "src": "18850:3:14" + } + ] + } + ] + }, + "name": "decrement_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "18774:5:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "ret", + "nodeType": "YulTypedName", + "src": "18784:3:14", + "type": "" + } + ], + "src": "18745:136:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "19060:182:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "19077:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "19088:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "19070:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "19070:21:14" + }, + "nodeType": "YulExpressionStatement", + "src": "19070:21:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "19111:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "19122:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "19107:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "19107:18:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "19127:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "19100:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "19100:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "19100:30:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "19150:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "19161:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "19146:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "19146:18:14" + }, + { + "hexValue": "537472696e67733a20686578206c656e67746820696e73756666696369656e74", + "kind": "string", + "nodeType": "YulLiteral", + "src": "19166:34:14", + "type": "", + "value": "Strings: hex length insufficient" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "19139:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "19139:62:14" + }, + "nodeType": "YulExpressionStatement", + "src": "19139:62:14" + }, + { + "nodeType": "YulAssignment", + "src": "19210:26:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "19222:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "19233:2:14", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "19218:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "19218:18:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "19210:4:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_04fc88320d7c9f639317c75102c103ff0044d3075a5c627e24e76e5bbb2733c2__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "19037:9:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "19051:4:14", + "type": "" + } + ], + "src": "18886:356:14" + } + ] + }, + "contents": "{\n { }\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function abi_decode_tuple_t_bytes4(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n if iszero(eq(value, and(value, shl(224, 0xffffffff)))) { revert(0, 0) }\n value0 := value\n }\n function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, iszero(iszero(value0)))\n }\n function copy_memory_to_memory(src, dst, length)\n {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n if gt(i, length) { mstore(add(dst, length), 0) }\n }\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n mstore(headStart, 32)\n let length := mload(value0)\n mstore(add(headStart, 32), length)\n copy_memory_to_memory(add(value0, 32), add(headStart, 64), length)\n tail := add(add(headStart, and(add(length, 31), not(31))), 64)\n }\n function validator_revert_address(value)\n {\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n }\n function abi_decode_tuple_t_addresst_uint256(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_address(value)\n value0 := value\n value1 := calldataload(add(headStart, 32))\n }\n function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := calldataload(headStart)\n }\n function abi_decode_tuple_t_addresst_addresst_uint256(headStart, dataEnd) -> value0, value1, value2\n {\n if slt(sub(dataEnd, headStart), 96) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_address(value)\n value0 := value\n let value_1 := calldataload(add(headStart, 32))\n validator_revert_address(value_1)\n value1 := value_1\n value2 := calldataload(add(headStart, 64))\n }\n function abi_decode_tuple_t_bytes32(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := calldataload(headStart)\n }\n function abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_address(value)\n value0 := value\n }\n function abi_decode_tuple_t_bytes32t_address(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n value0 := calldataload(headStart)\n let value := calldataload(add(headStart, 32))\n validator_revert_address(value)\n value1 := value\n }\n function abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, 0xff))\n }\n function validator_revert_bool(value)\n {\n if iszero(eq(value, iszero(iszero(value)))) { revert(0, 0) }\n }\n function abi_decode_tuple_t_bool(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_bool(value)\n value0 := value\n }\n function abi_decode_tuple_t_addresst_address(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_address(value)\n value0 := value\n let value_1 := calldataload(add(headStart, 32))\n validator_revert_address(value_1)\n value1 := value_1\n }\n function extract_byte_array_length(data) -> length\n {\n length := shr(1, data)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) { length := and(length, 0x7f) }\n if eq(outOfPlaceEncoding, lt(length, 32))\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n }\n function abi_encode_tuple_packed_t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"poolMaxSize\")\n end := add(pos, 11)\n }\n function abi_decode_tuple_t_uint256_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := mload(headStart)\n }\n function abi_encode_tuple_t_bytes32_t_uint256__to_t_bytes32_t_uint256__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), value1)\n }\n function panic_error_0x11()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n function checked_mul_t_uint256(x, y) -> product\n {\n if and(iszero(iszero(x)), gt(y, div(not(0), x))) { panic_error_0x11() }\n product := mul(x, y)\n }\n function checked_div_t_uint256(x, y) -> r\n {\n if iszero(y)\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x12)\n revert(0, 0x24)\n }\n r := div(x, y)\n }\n function abi_encode_tuple_packed_t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"isPoolLive\")\n end := add(pos, 10)\n }\n function abi_decode_tuple_t_bool_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := mload(headStart)\n validator_revert_bool(value)\n value0 := value\n }\n function abi_encode_tuple_t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 47)\n mstore(add(headStart, 64), \"AccessControl: can only renounce\")\n mstore(add(headStart, 96), \" roles for self\")\n tail := add(headStart, 128)\n }\n function checked_add_t_uint256(x, y) -> sum\n {\n if gt(x, not(y)) { panic_error_0x11() }\n sum := add(x, y)\n }\n function abi_encode_tuple_t_stringliteral_55b2b3f2d860dc00999de2859b5705b081f23d227a860928aca26a9102461fd4__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 59)\n mstore(add(headStart, 64), \"Currently there are no ether sto\")\n mstore(add(headStart, 96), \"red. Cannot divide by zero.\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_packed_t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161_t_address__to_t_string_memory_ptr_t_address__nonPadded_inplace_fromStack_reversed(pos, value0) -> end\n {\n mstore(pos, \"contract_exists\")\n mstore(add(pos, 15), and(shl(96, value0), not(0xffffffffffffffffffffffff)))\n end := add(pos, 35)\n }\n function abi_encode_tuple_t_stringliteral_d36e2fdd2f4d349fc44a9cc6ea1a2b4f2a7eb320cfe91d40a3a9a6af97aada24__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 25)\n mstore(add(headStart, 64), \"Invalid Contract Address.\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_packed_t_stringliteral_0374d75381b3b197d745e6b159383515dfcf445652f3d60140f7a03bb136a74c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"totalSupply_rewardEther\")\n end := add(pos, 23)\n }\n function abi_encode_tuple_t_stringliteral_f6b53c7de5e97000949f1f34c12a660cb86381130912012977c5e8eef4442c49__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 42)\n mstore(add(headStart, 64), \"Mint amount needs to be greater \")\n mstore(add(headStart, 96), \"than zero.\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_uint256_t_uint256__to_t_uint256_t_uint256__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), value1)\n }\n function abi_encode_tuple_t_stringliteral_b7433f37c229e4fafd99a92caefb09b9e5ad2d2e833e193ae02153f7830f1e08__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 42)\n mstore(add(headStart, 64), \"Burn amount needs to be greater \")\n mstore(add(headStart, 96), \"than zero.\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_64d7ac1c494517ceb822c7f6b767328d7b0d11312cd7bddf3ad3ea0cbd8db17f__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 27)\n mstore(add(headStart, 64), \"Insufficient rwEth balance.\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_34aed5d1a3fc936e21ab00388a0307badbc66a0bfcc054d810418b9c87dce058__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 57)\n mstore(add(headStart, 64), \"There aren't enough backed ether\")\n mstore(add(headStart, 96), \"s to perform this action.\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 29)\n mstore(add(headStart, 64), \"The pool is currently closed.\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_packed_t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"minContribution\")\n end := add(pos, 15)\n }\n function abi_encode_tuple_packed_t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"daysToRewards\")\n end := add(pos, 13)\n }\n function abi_encode_tuple_packed_t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"contributionLimit\")\n end := add(pos, 17)\n }\n function abi_encode_tuple_packed_t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"rewardsInterestPerPeriod\")\n end := add(pos, 24)\n }\n function abi_encode_tuple_packed_t_stringliteral_0f5404ed03256cc6395ed559bf52ccb5ab11bf8dddbd240da7e6d5ad4ab04dd7__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"poolFees\")\n end := add(pos, 8)\n }\n function abi_encode_tuple_packed_t_stringliteral_8f6e48ebe95c46ad356449234d760f7838119a9ccd28d70c8f8be00c200e3039__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos) -> end\n {\n mstore(pos, \"poolFeesSet\")\n end := add(pos, 11)\n }\n function abi_encode_tuple_t_bytes32_t_bool__to_t_bytes32_t_bool__fromStack_reversed(headStart, value1, value0) -> tail\n {\n tail := add(headStart, 64)\n mstore(headStart, value0)\n mstore(add(headStart, 32), iszero(iszero(value1)))\n }\n function abi_encode_tuple_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 37)\n mstore(add(headStart, 64), \"ERC20: decreased allowance below\")\n mstore(add(headStart, 96), \" zero\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 36)\n mstore(add(headStart, 64), \"ERC20: approve from the zero add\")\n mstore(add(headStart, 96), \"ress\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 34)\n mstore(add(headStart, 64), \"ERC20: approve to the zero addre\")\n mstore(add(headStart, 96), \"ss\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_packed_t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874_t_string_memory_ptr_t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos, value1, value0) -> end\n {\n mstore(pos, \"AccessControl: account \")\n let length := mload(value0)\n copy_memory_to_memory(add(value0, 0x20), add(pos, 23), length)\n let _1 := add(pos, length)\n mstore(add(_1, 23), \" is missing role \")\n let length_1 := mload(value1)\n copy_memory_to_memory(add(value1, 0x20), add(_1, 40), length_1)\n end := add(add(_1, length_1), 40)\n }\n function abi_encode_tuple_packed_t_stringliteral_00b032c55d5413576ded643dc6cefced0f3cb828720e7577b44d09665bcd4ae3_t_string_memory_ptr__to_t_string_memory_ptr_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos, value0) -> end\n {\n mstore(pos, \"contract__address\")\n let length := mload(value0)\n copy_memory_to_memory(add(value0, 0x20), add(pos, 17), length)\n end := add(add(pos, length), 17)\n }\n function abi_decode_tuple_t_address_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := mload(headStart)\n validator_revert_address(value)\n value0 := value\n }\n function abi_encode_tuple_t_stringliteral_308638a0d46b73b9203c635ec2b36574c482f0f0b0c13080ce12f9b33ca2d5c6__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 27)\n mstore(add(headStart, 64), \"Contract address not found.\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 29)\n mstore(add(headStart, 64), \"ERC20: insufficient allowance\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 37)\n mstore(add(headStart, 64), \"ERC20: transfer from the zero ad\")\n mstore(add(headStart, 96), \"dress\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 35)\n mstore(add(headStart, 64), \"ERC20: transfer to the zero addr\")\n mstore(add(headStart, 96), \"ess\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 38)\n mstore(add(headStart, 64), \"ERC20: transfer amount exceeds b\")\n mstore(add(headStart, 96), \"alance\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 31)\n mstore(add(headStart, 64), \"ERC20: mint to the zero address\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_b16788493b576042bb52c50ed56189e0b250db113c7bfb1c3897d25cf9632d7f__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 33)\n mstore(add(headStart, 64), \"ERC20: burn from the zero addres\")\n mstore(add(headStart, 96), \"s\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_149b126e7125232b4200af45303d04fba8b74653b1a295a6a561a528c33fefdd__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 34)\n mstore(add(headStart, 64), \"ERC20: burn amount exceeds balan\")\n mstore(add(headStart, 96), \"ce\")\n tail := add(headStart, 128)\n }\n function checked_sub_t_uint256(x, y) -> diff\n {\n if lt(x, y) { panic_error_0x11() }\n diff := sub(x, y)\n }\n function panic_error_0x41()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n function panic_error_0x32()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x32)\n revert(0, 0x24)\n }\n function decrement_t_uint256(value) -> ret\n {\n if iszero(value) { panic_error_0x11() }\n ret := add(value, not(0))\n }\n function abi_encode_tuple_t_stringliteral_04fc88320d7c9f639317c75102c103ff0044d3075a5c627e24e76e5bbb2733c2__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 32)\n mstore(add(headStart, 64), \"Strings: hex length insufficient\")\n tail := add(headStart, 96)\n }\n}", + "id": 14, + "language": "Yul", + "name": "#utility.yul" + } + ], + "immutableReferences": {}, + "linkReferences": {}, + "object": "608060405234801561001057600080fd5b50600436106102485760003560e01c8063473b0d461161013b57806395d89b41116100b8578063bf4c00361161007c578063bf4c0036146104ce578063d1d8d060146104e1578063d547741f146104e9578063dd62ed3e146104fc578063fa1e19e51461053557600080fd5b806395d89b4114610485578063a217fddf1461048d578063a457c2d714610495578063a4975516146104a8578063a9059cbb146104bb57600080fd5b806370a08231116100ff57806370a082311461041b57806372d099a0146104445780637521796f146104575780638dd225d51461045f57806391d148541461047257600080fd5b8063473b0d46146103d0578063497d0241146103e357806353710f49146103eb578063543edfb6146103fe57806362308e851461040657600080fd5b8063248a9ca3116101c9578063395093511161018d57806339509351146103715780633ef3183c1461038457806340c10f191461039757806342966c68146103aa57806345077e71146103bd57600080fd5b8063248a9ca31461030657806329ca15bc146103295780632f2ff15d1461033c578063313ce5671461034f57806336568abe1461035e57600080fd5b8063126469871161021057806312646987146102bb57806312946fe1146102d057806318160ddd146102e3578063217ac237146102eb57806323b872dd146102f357600080fd5b8063012a33aa1461024d57806301ffc9a71461026857806306fdde031461028b578063095df57f146102a0578063095ea7b3146102a8575b600080fd5b61025561053d565b6040519081526020015b60405180910390f35b61027b610276366004612591565b610555565b604051901515815260200161025f565b61029361058c565b60405161025f91906125e7565b61025561061e565b61027b6102b6366004612632565b6106db565b6102ce6102c936600461265e565b6106f3565b005b6102556102de36600461265e565b6107ac565b600554610255565b61027b6108f6565b61027b610301366004612677565b61099b565b61025561031436600461265e565b60009081526020819052604090206001015490565b6102ce6103373660046126b8565b6109bf565b6102ce61034a3660046126d5565b610a1b565b6040516012815260200161025f565b6102ce61036c3660046126d5565b610a46565b61027b61037f366004612632565b610ac9565b61025561039236600461265e565b610b08565b6102ce6103a5366004612632565b610cac565b6102ce6103b836600461265e565b610f08565b6102ce6103cb3660046126b8565b6112c6565b6102ce6103de36600461265e565b611322565b610255611425565b6102ce6103f936600461265e565b61144b565b6102556115a5565b6102556000805160206129e683398151915281565b6102556104293660046126b8565b6001600160a01b031660009081526003602052604090205490565b6102ce61045236600461265e565b6115cd565b6102556116d2565b6102ce61046d36600461265e565b611703565b61027b6104803660046126d5565b61191c565b610293611945565b610255600081565b61027b6104a3366004612632565b611954565b6102ce6104b6366004612713565b6119e6565b61027b6104c9366004612632565b611a60565b6102ce6104dc36600461265e565b611a6e565b610255611b7a565b6102ce6104f73660046126d5565b611b9b565b61025561050a366004612730565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b610255611bc1565b6000610550670de0b6b3a76400006107ac565b905090565b60006001600160e01b03198216637965db0b60e01b148061058657506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606006805461059b9061275e565b80601f01602080910402602001604051908101604052809291908181526020018280546105c79061275e565b80156106145780601f106105e957610100808354040283529160200191610614565b820191906000526020600020905b8154815290600101906020018083116105f757829003601f168201915b5050505050905090565b600080604051602001610642906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b15801561069d57600080fd5b505afa1580156106b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d59190612799565b91505090565b6000336106e9818585611beb565b5060019392505050565b6000805160206129e683398151915261070c8133611d0f565b6040516a706f6f6c4d617853697a6560a81b6020820152600090602b015b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018690529092506001600160a01b0316906328192c55906044015b600060405180830381600087803b15801561078f57600080fd5b505af11580156107a3573d6000803e3d6000fd5b50505050505050565b6000806107dd6040518060400160405280600d81526020016c546f6b656e42616c616e63657360981b815250611d73565b90506000816001600160a01b0316636402c2626040518163ffffffff1660e01b815260040160206040518083038186803b15801561081a57600080fd5b505afa15801561082e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108529190612799565b90506000826001600160a01b031663e2bcb3df6040518163ffffffff1660e01b815260040160206040518083038186803b15801561088f57600080fd5b505afa1580156108a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c79190612799565b905080156108ed57806108da83876127c8565b6108e491906127e7565b95945050505050565b50929392505050565b60008060405160200161090890612809565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561096357600080fd5b505afa158015610977573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d5919061281f565b6000336109a9858285611e7f565b6109b4858585611f11565b506001949350505050565b60006109cb8133611d0f565b6109e36000805160206129e683398151915283611b9b565b6040516001600160a01b038316907fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd3190600090a25050565b600082815260208190526040902060010154610a378133611d0f565b610a4183836120df565b505050565b6001600160a01b0381163314610abb5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b610ac58282612163565b5050565b3360008181526004602090815260408083206001600160a01b03871684529091528120549091906106e99082908690610b0390879061283c565b611beb565b600080610b396040518060400160405280600d81526020016c546f6b656e42616c616e63657360981b815250611d73565b90506000816001600160a01b0316636402c2626040518163ffffffff1660e01b815260040160206040518083038186803b158015610b7657600080fd5b505afa158015610b8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bae9190612799565b90506000826001600160a01b031663e2bcb3df6040518163ffffffff1660e01b815260040160206040518083038186803b158015610beb57600080fd5b505afa158015610bff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c239190612799565b905080156108ed5760008211610ca15760405162461bcd60e51b815260206004820152603b60248201527f43757272656e746c7920746865726520617265206e6f2065746865722073746f60448201527f7265642e2043616e6e6f7420646976696465206279207a65726f2e00000000006064820152608401610ab2565b816108da82876127c8565b6002546040516001600160a01b03909116906355d9465590610cd2903390602001612854565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610d0691815260200190565b60206040518083038186803b158015610d1e57600080fd5b505afa158015610d32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d56919061281f565b610d9e5760405162461bcd60e51b815260206004820152601960248201527824b73b30b634b21021b7b73a3930b1ba1020b2323932b9b99760391b6044820152606401610ab2565b604051763a37ba30b629bab838363cafb932bbb0b93222ba3432b960491b602082015260009060370160405160208183030381529060405280519060200120905060008211610e425760405162461bcd60e51b815260206004820152602a60248201527f4d696e7420616d6f756e74206e6565647320746f2062652067726561746572206044820152693a3430b7103d32b9379760b11b6064820152608401610ab2565b6000610e4d83610b08565b9050610e5984826121c8565b60025460405162ec44af60e51b815260048101849052602481018390526001600160a01b0390911690631d8895e090604401600060405180830381600087803b158015610ea557600080fd5b505af1158015610eb9573d6000803e3d6000fd5b505060408051848152602081018790526001600160a01b03881693507f2e8ac5177a616f2aec08c3048f5021e4e9743ece034e8d83ba5caf76688bb4759250015b60405180910390a250505050565b6002546040516001600160a01b03909116906355d9465590610f2e903390602001612854565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610f6291815260200190565b60206040518083038186803b158015610f7a57600080fd5b505afa158015610f8e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb2919061281f565b610ffa5760405162461bcd60e51b815260206004820152601960248201527824b73b30b634b21021b7b73a3930b1ba1020b2323932b9b99760391b6044820152606401610ab2565b600061102a6040518060400160405280600d81526020016c546f6b656e42616c616e63657360981b815250611d73565b9050600060405160200161105b90763a37ba30b629bab838363cafb932bbb0b93222ba3432b960491b815260170190565b604051602081830303815290604052805190602001209050600083116110d65760405162461bcd60e51b815260206004820152602a60248201527f4275726e20616d6f756e74206e6565647320746f2062652067726561746572206044820152693a3430b7103d32b9379760b11b6064820152608401610ab2565b33600090815260036020526040812054116111335760405162461bcd60e51b815260206004820152601b60248201527f496e73756666696369656e742072774574682062616c616e63652e00000000006044820152606401610ab2565b600061113e846107ac565b9050826001600160a01b0316636402c2626040518163ffffffff1660e01b815260040160206040518083038186803b15801561117957600080fd5b505afa15801561118d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b19190612799565b81106112255760405162461bcd60e51b815260206004820152603960248201527f5468657265206172656e277420656e6f756768206261636b656420657468657260448201527f7320746f20706572666f726d207468697320616374696f6e2e000000000000006064820152608401610ab2565b600254604051635bcfee6760e01b815260048101849052602481018690526001600160a01b0390911690635bcfee6790604401600060405180830381600087803b15801561127257600080fd5b505af1158015611286573d6000803e3d6000fd5b5050505061129433856122a7565b60405184815233907ffd38818f5291bf0bb3a2a48aadc06ba8757865d1dabd804585338aab3009dcb690602001610efa565b60006112d28133611d0f565b6112ea6000805160206129e683398151915283610a1b565b6040516001600160a01b038316907fd873e3f571dc25e020cefdeb7255b3874ead3aade1f94a5fb4a5da831fd670cd90600090a25050565b6000805160206129e683398151915261133b8133611d0f565b6002546040516001600160a01b03909116906355d946559061135f90602001612809565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161139391815260200190565b60206040518083038186803b1580156113ab57600080fd5b505afa1580156113bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e3919061281f565b6113ff5760405162461bcd60e51b8152600401610ab290612889565b6040516e36b4b721b7b73a3934b13aba34b7b760891b6020820152600090602f0161072a565b600080604051602001610642906c64617973546f5265776172647360981b8152600d0190565b6000805160206129e68339815191526114648133611d0f565b6002546040516001600160a01b03909116906355d946559061148890602001612809565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b81526004016114bc91815260200190565b60206040518083038186803b1580156114d457600080fd5b505afa1580156114e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150c919061281f565b6115285760405162461bcd60e51b8152600401610ab290612889565b604080516c64617973546f5265776172647360981b6020808301919091528251600d818403018152602d90920190925280519101206002546001600160a01b03166328192c558261157c86620151806127c8565b6040516001600160e01b031960e085901b16815260048101929092526024820152604401610775565b600080604051602001610642906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b6000805160206129e68339815191526115e68133611d0f565b6002546040516001600160a01b03909116906355d946559061160a90602001612809565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161163e91815260200190565b60206040518083038186803b15801561165657600080fd5b505afa15801561166a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061168e919061281f565b6116aa5760405162461bcd60e51b8152600401610ab290612889565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b602082015260009060310161072a565b60008060405160200161064290771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b6000805160206129e683398151915261171c8133611d0f565b6002546040516001600160a01b03909116906355d946559061174090602001612809565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161177491815260200190565b60206040518083038186803b15801561178c57600080fd5b505afa1580156117a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c4919061281f565b6117e05760405162461bcd60e51b8152600401610ab290612889565b60405167706f6f6c4665657360c01b60208201526000906028016040516020818303038152906040528051906020012090506000604051602001611835906a1c1bdbdb1199595cd4d95d60aa1b8152600b0190565b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301859052602483018790529092506001600160a01b0316906328192c5590604401600060405180830381600087803b15801561189957600080fd5b505af11580156118ad573d6000803e3d6000fd5b505060025460405163988c515b60e01b815260048101859052600160248201526001600160a01b03909116925063988c515b9150604401600060405180830381600087803b1580156118fe57600080fd5b505af1158015611912573d6000803e3d6000fd5b5050505050505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60606007805461059b9061275e565b3360008181526004602090815260408083206001600160a01b0387168452909152812054909190838110156119d95760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610ab2565b6109b48286868403611beb565b6000805160206129e68339815191526119ff8133611d0f565b6000604051602001611a1090612809565b60408051808303601f1901815290829052805160209091012060025463988c515b60e01b83526004830182905285151560248401529092506001600160a01b03169063988c515b90604401610775565b6000336106e9818585611f11565b6000805160206129e6833981519152611a878133611d0f565b6002546040516001600160a01b03909116906355d9465590611aab90602001612809565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401611adf91815260200190565b60206040518083038186803b158015611af757600080fd5b505afa158015611b0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2f919061281f565b611b4b5760405162461bcd60e51b8152600401610ab290612889565b604051771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b602082015260009060380161072a565b6000806040516020016106429067706f6f6c4665657360c01b815260080190565b600082815260208190526040902060010154611bb78133611d0f565b610a418383612163565b600080604051602001610642907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b6001600160a01b038316611c4d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610ab2565b6001600160a01b038216611cae5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610ab2565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b611d19828261191c565b610ac557611d31816001600160a01b031660146123f5565b611d3c8360206123f5565b604051602001611d4d9291906128c0565b60408051601f198184030181529082905262461bcd60e51b8252610ab2916004016125e7565b60008082604051602001611d879190612935565b60408051808303601f190181529082905280516020909101206002546315485dd960e11b8352600483018290529092506000916001600160a01b0390911690632a90bbb29060240160206040518083038186803b158015611de757600080fd5b505afa158015611dfb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e1f919061296e565b90506001600160a01b03811615611e785760405162461bcd60e51b815260206004820152601b60248201527f436f6e74726163742061646472657373206e6f7420666f756e642e00000000006044820152606401610ab2565b9392505050565b6001600160a01b038381166000908152600460209081526040808320938616835292905220546000198114611f0b5781811015611efe5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610ab2565b611f0b8484848403611beb565b50505050565b6001600160a01b038316611f755760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610ab2565b6001600160a01b038216611fd75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610ab2565b6001600160a01b0383166000908152600360205260409020548181101561204f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610ab2565b6001600160a01b0380851660009081526003602052604080822085850390559185168152908120805484929061208690849061283c565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516120d291815260200190565b60405180910390a3611f0b565b6120e9828261191c565b610ac5576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905561211f3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61216d828261191c565b15610ac5576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b03821661221e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610ab2565b8060056000828254612230919061283c565b90915550506001600160a01b0382166000908152600360205260408120805483929061225d90849061283c565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382166123075760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610ab2565b6001600160a01b0382166000908152600360205260409020548181101561237b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610ab2565b6001600160a01b03831660009081526003602052604081208383039055600580548492906123aa90849061298b565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b606060006124048360026127c8565b61240f90600261283c565b67ffffffffffffffff811115612427576124276129a2565b6040519080825280601f01601f191660200182016040528015612451576020820181803683370190505b509050600360fc1b8160008151811061246c5761246c6129b8565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061249b5761249b6129b8565b60200101906001600160f81b031916908160001a90535060006124bf8460026127c8565b6124ca90600161283c565b90505b6001811115612542576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106124fe576124fe6129b8565b1a60f81b828281518110612514576125146129b8565b60200101906001600160f81b031916908160001a90535060049490941c9361253b816129ce565b90506124cd565b508315611e785760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610ab2565b6000602082840312156125a357600080fd5b81356001600160e01b031981168114611e7857600080fd5b60005b838110156125d65781810151838201526020016125be565b83811115611f0b5750506000910152565b60208152600082518060208401526126068160408501602087016125bb565b601f01601f19169190910160400192915050565b6001600160a01b038116811461262f57600080fd5b50565b6000806040838503121561264557600080fd5b82356126508161261a565b946020939093013593505050565b60006020828403121561267057600080fd5b5035919050565b60008060006060848603121561268c57600080fd5b83356126978161261a565b925060208401356126a78161261a565b929592945050506040919091013590565b6000602082840312156126ca57600080fd5b8135611e788161261a565b600080604083850312156126e857600080fd5b8235915060208301356126fa8161261a565b809150509250929050565b801515811461262f57600080fd5b60006020828403121561272557600080fd5b8135611e7881612705565b6000806040838503121561274357600080fd5b823561274e8161261a565b915060208301356126fa8161261a565b600181811c9082168061277257607f821691505b6020821081141561279357634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156127ab57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156127e2576127e26127b2565b500290565b60008261280457634e487b7160e01b600052601260045260246000fd5b500490565b696973506f6f6c4c69766560b01b8152600a0190565b60006020828403121561283157600080fd5b8151611e7881612705565b6000821982111561284f5761284f6127b2565b500190565b6e636f6e74726163745f65786973747360881b815260609190911b6bffffffffffffffffffffffff1916600f82015260230190565b6020808252601d908201527f54686520706f6f6c2069732063757272656e746c7920636c6f7365642e000000604082015260600190565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516128f88160178501602088016125bb565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516129298160288401602088016125bb565b01602801949350505050565b70636f6e74726163745f5f6164647265737360781b8152600082516129618160118501602087016125bb565b9190910160110192915050565b60006020828403121561298057600080fd5b8151611e788161261a565b60008282101561299d5761299d6127b2565b500390565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000816129dd576129dd6127b2565b50600019019056fe41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842a2646970667358221220c7c758780bfc1583b93ce8852f7995dd5dceb4dfd8028af77f57e49cd37acbc564736f6c63430008090033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x248 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x473B0D46 GT PUSH2 0x13B JUMPI DUP1 PUSH4 0x95D89B41 GT PUSH2 0xB8 JUMPI DUP1 PUSH4 0xBF4C0036 GT PUSH2 0x7C JUMPI DUP1 PUSH4 0xBF4C0036 EQ PUSH2 0x4CE JUMPI DUP1 PUSH4 0xD1D8D060 EQ PUSH2 0x4E1 JUMPI DUP1 PUSH4 0xD547741F EQ PUSH2 0x4E9 JUMPI DUP1 PUSH4 0xDD62ED3E EQ PUSH2 0x4FC JUMPI DUP1 PUSH4 0xFA1E19E5 EQ PUSH2 0x535 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x485 JUMPI DUP1 PUSH4 0xA217FDDF EQ PUSH2 0x48D JUMPI DUP1 PUSH4 0xA457C2D7 EQ PUSH2 0x495 JUMPI DUP1 PUSH4 0xA4975516 EQ PUSH2 0x4A8 JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x4BB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x70A08231 GT PUSH2 0xFF JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x41B JUMPI DUP1 PUSH4 0x72D099A0 EQ PUSH2 0x444 JUMPI DUP1 PUSH4 0x7521796F EQ PUSH2 0x457 JUMPI DUP1 PUSH4 0x8DD225D5 EQ PUSH2 0x45F JUMPI DUP1 PUSH4 0x91D14854 EQ PUSH2 0x472 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x473B0D46 EQ PUSH2 0x3D0 JUMPI DUP1 PUSH4 0x497D0241 EQ PUSH2 0x3E3 JUMPI DUP1 PUSH4 0x53710F49 EQ PUSH2 0x3EB JUMPI DUP1 PUSH4 0x543EDFB6 EQ PUSH2 0x3FE JUMPI DUP1 PUSH4 0x62308E85 EQ PUSH2 0x406 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x248A9CA3 GT PUSH2 0x1C9 JUMPI DUP1 PUSH4 0x39509351 GT PUSH2 0x18D JUMPI DUP1 PUSH4 0x39509351 EQ PUSH2 0x371 JUMPI DUP1 PUSH4 0x3EF3183C EQ PUSH2 0x384 JUMPI DUP1 PUSH4 0x40C10F19 EQ PUSH2 0x397 JUMPI DUP1 PUSH4 0x42966C68 EQ PUSH2 0x3AA JUMPI DUP1 PUSH4 0x45077E71 EQ PUSH2 0x3BD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x248A9CA3 EQ PUSH2 0x306 JUMPI DUP1 PUSH4 0x29CA15BC EQ PUSH2 0x329 JUMPI DUP1 PUSH4 0x2F2FF15D EQ PUSH2 0x33C JUMPI DUP1 PUSH4 0x313CE567 EQ PUSH2 0x34F JUMPI DUP1 PUSH4 0x36568ABE EQ PUSH2 0x35E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x12646987 GT PUSH2 0x210 JUMPI DUP1 PUSH4 0x12646987 EQ PUSH2 0x2BB JUMPI DUP1 PUSH4 0x12946FE1 EQ PUSH2 0x2D0 JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0x2E3 JUMPI DUP1 PUSH4 0x217AC237 EQ PUSH2 0x2EB JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0x2F3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x12A33AA EQ PUSH2 0x24D JUMPI DUP1 PUSH4 0x1FFC9A7 EQ PUSH2 0x268 JUMPI DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0x28B JUMPI DUP1 PUSH4 0x95DF57F EQ PUSH2 0x2A0 JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0x2A8 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x255 PUSH2 0x53D JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x27B PUSH2 0x276 CALLDATASIZE PUSH1 0x4 PUSH2 0x2591 JUMP JUMPDEST PUSH2 0x555 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x25F JUMP JUMPDEST PUSH2 0x293 PUSH2 0x58C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x25F SWAP2 SWAP1 PUSH2 0x25E7 JUMP JUMPDEST PUSH2 0x255 PUSH2 0x61E JUMP JUMPDEST PUSH2 0x27B PUSH2 0x2B6 CALLDATASIZE PUSH1 0x4 PUSH2 0x2632 JUMP JUMPDEST PUSH2 0x6DB JUMP JUMPDEST PUSH2 0x2CE PUSH2 0x2C9 CALLDATASIZE PUSH1 0x4 PUSH2 0x265E JUMP JUMPDEST PUSH2 0x6F3 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x255 PUSH2 0x2DE CALLDATASIZE PUSH1 0x4 PUSH2 0x265E JUMP JUMPDEST PUSH2 0x7AC JUMP JUMPDEST PUSH1 0x5 SLOAD PUSH2 0x255 JUMP JUMPDEST PUSH2 0x27B PUSH2 0x8F6 JUMP JUMPDEST PUSH2 0x27B PUSH2 0x301 CALLDATASIZE PUSH1 0x4 PUSH2 0x2677 JUMP JUMPDEST PUSH2 0x99B JUMP JUMPDEST PUSH2 0x255 PUSH2 0x314 CALLDATASIZE PUSH1 0x4 PUSH2 0x265E JUMP JUMPDEST PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x2CE PUSH2 0x337 CALLDATASIZE PUSH1 0x4 PUSH2 0x26B8 JUMP JUMPDEST PUSH2 0x9BF JUMP JUMPDEST PUSH2 0x2CE PUSH2 0x34A CALLDATASIZE PUSH1 0x4 PUSH2 0x26D5 JUMP JUMPDEST PUSH2 0xA1B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x12 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x25F JUMP JUMPDEST PUSH2 0x2CE PUSH2 0x36C CALLDATASIZE PUSH1 0x4 PUSH2 0x26D5 JUMP JUMPDEST PUSH2 0xA46 JUMP JUMPDEST PUSH2 0x27B PUSH2 0x37F CALLDATASIZE PUSH1 0x4 PUSH2 0x2632 JUMP JUMPDEST PUSH2 0xAC9 JUMP JUMPDEST PUSH2 0x255 PUSH2 0x392 CALLDATASIZE PUSH1 0x4 PUSH2 0x265E JUMP JUMPDEST PUSH2 0xB08 JUMP JUMPDEST PUSH2 0x2CE PUSH2 0x3A5 CALLDATASIZE PUSH1 0x4 PUSH2 0x2632 JUMP JUMPDEST PUSH2 0xCAC JUMP JUMPDEST PUSH2 0x2CE PUSH2 0x3B8 CALLDATASIZE PUSH1 0x4 PUSH2 0x265E JUMP JUMPDEST PUSH2 0xF08 JUMP JUMPDEST PUSH2 0x2CE PUSH2 0x3CB CALLDATASIZE PUSH1 0x4 PUSH2 0x26B8 JUMP JUMPDEST PUSH2 0x12C6 JUMP JUMPDEST PUSH2 0x2CE PUSH2 0x3DE CALLDATASIZE PUSH1 0x4 PUSH2 0x265E JUMP JUMPDEST PUSH2 0x1322 JUMP JUMPDEST PUSH2 0x255 PUSH2 0x1425 JUMP JUMPDEST PUSH2 0x2CE PUSH2 0x3F9 CALLDATASIZE PUSH1 0x4 PUSH2 0x265E JUMP JUMPDEST PUSH2 0x144B JUMP JUMPDEST PUSH2 0x255 PUSH2 0x15A5 JUMP JUMPDEST PUSH2 0x255 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x29E6 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP2 JUMP JUMPDEST PUSH2 0x255 PUSH2 0x429 CALLDATASIZE PUSH1 0x4 PUSH2 0x26B8 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x2CE PUSH2 0x452 CALLDATASIZE PUSH1 0x4 PUSH2 0x265E JUMP JUMPDEST PUSH2 0x15CD JUMP JUMPDEST PUSH2 0x255 PUSH2 0x16D2 JUMP JUMPDEST PUSH2 0x2CE PUSH2 0x46D CALLDATASIZE PUSH1 0x4 PUSH2 0x265E JUMP JUMPDEST PUSH2 0x1703 JUMP JUMPDEST PUSH2 0x27B PUSH2 0x480 CALLDATASIZE PUSH1 0x4 PUSH2 0x26D5 JUMP JUMPDEST PUSH2 0x191C JUMP JUMPDEST PUSH2 0x293 PUSH2 0x1945 JUMP JUMPDEST PUSH2 0x255 PUSH1 0x0 DUP2 JUMP JUMPDEST PUSH2 0x27B PUSH2 0x4A3 CALLDATASIZE PUSH1 0x4 PUSH2 0x2632 JUMP JUMPDEST PUSH2 0x1954 JUMP JUMPDEST PUSH2 0x2CE PUSH2 0x4B6 CALLDATASIZE PUSH1 0x4 PUSH2 0x2713 JUMP JUMPDEST PUSH2 0x19E6 JUMP JUMPDEST PUSH2 0x27B PUSH2 0x4C9 CALLDATASIZE PUSH1 0x4 PUSH2 0x2632 JUMP JUMPDEST PUSH2 0x1A60 JUMP JUMPDEST PUSH2 0x2CE PUSH2 0x4DC CALLDATASIZE PUSH1 0x4 PUSH2 0x265E JUMP JUMPDEST PUSH2 0x1A6E JUMP JUMPDEST PUSH2 0x255 PUSH2 0x1B7A JUMP JUMPDEST PUSH2 0x2CE PUSH2 0x4F7 CALLDATASIZE PUSH1 0x4 PUSH2 0x26D5 JUMP JUMPDEST PUSH2 0x1B9B JUMP JUMPDEST PUSH2 0x255 PUSH2 0x50A CALLDATASIZE PUSH1 0x4 PUSH2 0x2730 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 SWAP1 SWAP5 AND DUP3 MSTORE SWAP2 SWAP1 SWAP2 MSTORE KECCAK256 SLOAD SWAP1 JUMP JUMPDEST PUSH2 0x255 PUSH2 0x1BC1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x550 PUSH8 0xDE0B6B3A7640000 PUSH2 0x7AC JUMP JUMPDEST SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP3 AND PUSH4 0x7965DB0B PUSH1 0xE0 SHL EQ DUP1 PUSH2 0x586 JUMPI POP PUSH4 0x1FFC9A7 PUSH1 0xE0 SHL PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP4 AND EQ JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x6 DUP1 SLOAD PUSH2 0x59B SWAP1 PUSH2 0x275E JUMP JUMPDEST DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP1 SLOAD PUSH2 0x5C7 SWAP1 PUSH2 0x275E JUMP JUMPDEST DUP1 ISZERO PUSH2 0x614 JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x5E9 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x614 JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x5F7 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x642 SWAP1 PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL DUP2 MSTORE PUSH1 0xB ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0xAFC3602B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0xAFC3602B SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x69D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x6B1 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x6D5 SWAP2 SWAP1 PUSH2 0x2799 JUMP JUMPDEST SWAP2 POP POP SWAP1 JUMP JUMPDEST PUSH1 0x0 CALLER PUSH2 0x6E9 DUP2 DUP6 DUP6 PUSH2 0x1BEB JUMP JUMPDEST POP PUSH1 0x1 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x29E6 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x70C DUP2 CALLER PUSH2 0x1D0F JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH11 0x706F6F6C4D617853697A65 PUSH1 0xA8 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2B ADD JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP7 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x78F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x7A3 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x7DD PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0xD DUP2 MSTORE PUSH1 0x20 ADD PUSH13 0x546F6B656E42616C616E636573 PUSH1 0x98 SHL DUP2 MSTORE POP PUSH2 0x1D73 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x6402C262 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x81A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x82E JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x852 SWAP2 SWAP1 PUSH2 0x2799 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xE2BCB3DF PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x88F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x8A3 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x8C7 SWAP2 SWAP1 PUSH2 0x2799 JUMP JUMPDEST SWAP1 POP DUP1 ISZERO PUSH2 0x8ED JUMPI DUP1 PUSH2 0x8DA DUP4 DUP8 PUSH2 0x27C8 JUMP JUMPDEST PUSH2 0x8E4 SWAP2 SWAP1 PUSH2 0x27E7 JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST POP SWAP3 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x908 SWAP1 PUSH2 0x2809 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x55D94655 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x963 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x977 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x6D5 SWAP2 SWAP1 PUSH2 0x281F JUMP JUMPDEST PUSH1 0x0 CALLER PUSH2 0x9A9 DUP6 DUP3 DUP6 PUSH2 0x1E7F JUMP JUMPDEST PUSH2 0x9B4 DUP6 DUP6 DUP6 PUSH2 0x1F11 JUMP JUMPDEST POP PUSH1 0x1 SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x9CB DUP2 CALLER PUSH2 0x1D0F JUMP JUMPDEST PUSH2 0x9E3 PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x29E6 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0x1B9B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xEF69F7D97228658C92417BE1B16B19058315DE71FECB435D07B7D23728B6BD31 SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0xA37 DUP2 CALLER PUSH2 0x1D0F JUMP JUMPDEST PUSH2 0xA41 DUP4 DUP4 PUSH2 0x20DF JUMP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND CALLER EQ PUSH2 0xABB JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x416363657373436F6E74726F6C3A2063616E206F6E6C792072656E6F756E6365 PUSH1 0x44 DUP3 ADD MSTORE PUSH15 0x103937B632B9903337B91039B2B633 PUSH1 0x89 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0xAC5 DUP3 DUP3 PUSH2 0x2163 JUMP JUMPDEST POP POP JUMP JUMPDEST CALLER PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE DUP2 KECCAK256 SLOAD SWAP1 SWAP2 SWAP1 PUSH2 0x6E9 SWAP1 DUP3 SWAP1 DUP7 SWAP1 PUSH2 0xB03 SWAP1 DUP8 SWAP1 PUSH2 0x283C JUMP JUMPDEST PUSH2 0x1BEB JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0xB39 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0xD DUP2 MSTORE PUSH1 0x20 ADD PUSH13 0x546F6B656E42616C616E636573 PUSH1 0x98 SHL DUP2 MSTORE POP PUSH2 0x1D73 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x6402C262 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xB76 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xB8A JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xBAE SWAP2 SWAP1 PUSH2 0x2799 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0xE2BCB3DF PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xBEB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xBFF JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xC23 SWAP2 SWAP1 PUSH2 0x2799 JUMP JUMPDEST SWAP1 POP DUP1 ISZERO PUSH2 0x8ED JUMPI PUSH1 0x0 DUP3 GT PUSH2 0xCA1 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x3B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x43757272656E746C7920746865726520617265206E6F2065746865722073746F PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7265642E2043616E6E6F7420646976696465206279207A65726F2E0000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xAB2 JUMP JUMPDEST DUP2 PUSH2 0x8DA DUP3 DUP8 PUSH2 0x27C8 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xCD2 SWAP1 CALLER SWAP1 PUSH1 0x20 ADD PUSH2 0x2854 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xD06 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xD1E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xD32 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xD56 SWAP2 SWAP1 PUSH2 0x281F JUMP JUMPDEST PUSH2 0xD9E JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x19 PUSH1 0x24 DUP3 ADD MSTORE PUSH25 0x24B73B30B634B21021B7B73A3930B1BA1020B2323932B9B997 PUSH1 0x39 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0xAB2 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH23 0x3A37BA30B629BAB838363CAFB932BBB0B93222BA3432B9 PUSH1 0x49 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x37 ADD PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 DUP3 GT PUSH2 0xE42 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2A PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4D696E7420616D6F756E74206E6565647320746F206265206772656174657220 PUSH1 0x44 DUP3 ADD MSTORE PUSH10 0x3A3430B7103D32B93797 PUSH1 0xB1 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xAB2 JUMP JUMPDEST PUSH1 0x0 PUSH2 0xE4D DUP4 PUSH2 0xB08 JUMP JUMPDEST SWAP1 POP PUSH2 0xE59 DUP5 DUP3 PUSH2 0x21C8 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH3 0xEC44AF PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP5 SWAP1 MSTORE PUSH1 0x24 DUP2 ADD DUP4 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x1D8895E0 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xEA5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xEB9 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x40 DUP1 MLOAD DUP5 DUP2 MSTORE PUSH1 0x20 DUP2 ADD DUP8 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP9 AND SWAP4 POP PUSH32 0x2E8AC5177A616F2AEC08C3048F5021E4E9743ECE034E8D83BA5CAF76688BB475 SWAP3 POP ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG2 POP POP POP POP JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0xF2E SWAP1 CALLER SWAP1 PUSH1 0x20 ADD PUSH2 0x2854 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xF62 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xF7A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xF8E JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0xFB2 SWAP2 SWAP1 PUSH2 0x281F JUMP JUMPDEST PUSH2 0xFFA JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x19 PUSH1 0x24 DUP3 ADD MSTORE PUSH25 0x24B73B30B634B21021B7B73A3930B1BA1020B2323932B9B997 PUSH1 0x39 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0xAB2 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x102A PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0xD DUP2 MSTORE PUSH1 0x20 ADD PUSH13 0x546F6B656E42616C616E636573 PUSH1 0x98 SHL DUP2 MSTORE POP PUSH2 0x1D73 JUMP JUMPDEST SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x105B SWAP1 PUSH23 0x3A37BA30B629BAB838363CAFB932BBB0B93222BA3432B9 PUSH1 0x49 SHL DUP2 MSTORE PUSH1 0x17 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 DUP4 GT PUSH2 0x10D6 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2A PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x4275726E20616D6F756E74206E6565647320746F206265206772656174657220 PUSH1 0x44 DUP3 ADD MSTORE PUSH10 0x3A3430B7103D32B93797 PUSH1 0xB1 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xAB2 JUMP JUMPDEST CALLER PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 SLOAD GT PUSH2 0x1133 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x496E73756666696369656E742072774574682062616C616E63652E0000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0xAB2 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x113E DUP5 PUSH2 0x7AC JUMP JUMPDEST SWAP1 POP DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x6402C262 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1179 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x118D JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x11B1 SWAP2 SWAP1 PUSH2 0x2799 JUMP JUMPDEST DUP2 LT PUSH2 0x1225 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x39 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x5468657265206172656E277420656E6F756768206261636B6564206574686572 PUSH1 0x44 DUP3 ADD MSTORE PUSH32 0x7320746F20706572666F726D207468697320616374696F6E2E00000000000000 PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xAB2 JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0x5BCFEE67 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP5 SWAP1 MSTORE PUSH1 0x24 DUP2 ADD DUP7 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x5BCFEE67 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1272 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1286 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH2 0x1294 CALLER DUP6 PUSH2 0x22A7 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP5 DUP2 MSTORE CALLER SWAP1 PUSH32 0xFD38818F5291BF0BB3A2A48AADC06BA8757865D1DABD804585338AAB3009DCB6 SWAP1 PUSH1 0x20 ADD PUSH2 0xEFA JUMP JUMPDEST PUSH1 0x0 PUSH2 0x12D2 DUP2 CALLER PUSH2 0x1D0F JUMP JUMPDEST PUSH2 0x12EA PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x29E6 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE DUP4 PUSH2 0xA1B JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH32 0xD873E3F571DC25E020CEFDEB7255B3874EAD3AADE1F94A5FB4A5DA831FD670CD SWAP1 PUSH1 0x0 SWAP1 LOG2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x29E6 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x133B DUP2 CALLER PUSH2 0x1D0F JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x135F SWAP1 PUSH1 0x20 ADD PUSH2 0x2809 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1393 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x13AB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x13BF JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x13E3 SWAP2 SWAP1 PUSH2 0x281F JUMP JUMPDEST PUSH2 0x13FF JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAB2 SWAP1 PUSH2 0x2889 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x2F ADD PUSH2 0x72A JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x642 SWAP1 PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL DUP2 MSTORE PUSH1 0xD ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x29E6 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x1464 DUP2 CALLER PUSH2 0x1D0F JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x1488 SWAP1 PUSH1 0x20 ADD PUSH2 0x2809 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x14BC SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x14D4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x14E8 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x150C SWAP2 SWAP1 PUSH2 0x281F JUMP JUMPDEST PUSH2 0x1528 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAB2 SWAP1 PUSH2 0x2889 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH13 0x64617973546F52657761726473 PUSH1 0x98 SHL PUSH1 0x20 DUP1 DUP4 ADD SWAP2 SWAP1 SWAP2 MSTORE DUP3 MLOAD PUSH1 0xD DUP2 DUP5 SUB ADD DUP2 MSTORE PUSH1 0x2D SWAP1 SWAP3 ADD SWAP1 SWAP3 MSTORE DUP1 MLOAD SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x28192C55 DUP3 PUSH2 0x157C DUP7 PUSH3 0x15180 PUSH2 0x27C8 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT PUSH1 0xE0 DUP6 SWAP1 SHL AND DUP2 MSTORE PUSH1 0x4 DUP2 ADD SWAP3 SWAP1 SWAP3 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x44 ADD PUSH2 0x775 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x642 SWAP1 PUSH15 0x36B4B721B7B73A3934B13ABA34B7B7 PUSH1 0x89 SHL DUP2 MSTORE PUSH1 0xF ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x29E6 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x15E6 DUP2 CALLER PUSH2 0x1D0F JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x160A SWAP1 PUSH1 0x20 ADD PUSH2 0x2809 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x163E SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1656 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x166A JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x168E SWAP2 SWAP1 PUSH2 0x281F JUMP JUMPDEST PUSH2 0x16AA JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAB2 SWAP1 PUSH2 0x2889 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x31 ADD PUSH2 0x72A JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x642 SWAP1 PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL DUP2 MSTORE PUSH1 0x18 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x29E6 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x171C DUP2 CALLER PUSH2 0x1D0F JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x1740 SWAP1 PUSH1 0x20 ADD PUSH2 0x2809 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1774 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x178C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x17A0 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x17C4 SWAP2 SWAP1 PUSH2 0x281F JUMP JUMPDEST PUSH2 0x17E0 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAB2 SWAP1 PUSH2 0x2889 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH8 0x706F6F6C46656573 PUSH1 0xC0 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x28 ADD PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1835 SWAP1 PUSH11 0x1C1BDBDB1199595CD4D95D PUSH1 0xAA SHL DUP2 MSTORE PUSH1 0xB ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x28192C55 PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP6 SWAP1 MSTORE PUSH1 0x24 DUP4 ADD DUP8 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x28192C55 SWAP1 PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1899 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x18AD JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH4 0x988C515B PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 DUP2 ADD DUP6 SWAP1 MSTORE PUSH1 0x1 PUSH1 0x24 DUP3 ADD MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP3 POP PUSH4 0x988C515B SWAP2 POP PUSH1 0x44 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x18FE JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1912 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 SWAP2 DUP3 MSTORE PUSH1 0x20 DUP3 DUP2 MSTORE PUSH1 0x40 DUP1 DUP5 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP4 SWAP1 SWAP4 AND DUP5 MSTORE SWAP2 SWAP1 MSTORE SWAP1 KECCAK256 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x7 DUP1 SLOAD PUSH2 0x59B SWAP1 PUSH2 0x275E JUMP JUMPDEST CALLER PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE DUP2 KECCAK256 SLOAD SWAP1 SWAP2 SWAP1 DUP4 DUP2 LT ISZERO PUSH2 0x19D9 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x25 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A2064656372656173656420616C6C6F77616E63652062656C6F77 PUSH1 0x44 DUP3 ADD MSTORE PUSH5 0x207A65726F PUSH1 0xD8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xAB2 JUMP JUMPDEST PUSH2 0x9B4 DUP3 DUP7 DUP7 DUP5 SUB PUSH2 0x1BEB JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x29E6 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x19FF DUP2 CALLER PUSH2 0x1D0F JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1A10 SWAP1 PUSH2 0x2809 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x988C515B PUSH1 0xE0 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE DUP6 ISZERO ISZERO PUSH1 0x24 DUP5 ADD MSTORE SWAP1 SWAP3 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND SWAP1 PUSH4 0x988C515B SWAP1 PUSH1 0x44 ADD PUSH2 0x775 JUMP JUMPDEST PUSH1 0x0 CALLER PUSH2 0x6E9 DUP2 DUP6 DUP6 PUSH2 0x1F11 JUMP JUMPDEST PUSH1 0x0 DUP1 MLOAD PUSH1 0x20 PUSH2 0x29E6 DUP4 CODECOPY DUP2 MLOAD SWAP2 MSTORE PUSH2 0x1A87 DUP2 CALLER PUSH2 0x1D0F JUMP JUMPDEST PUSH1 0x2 SLOAD PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x55D94655 SWAP1 PUSH2 0x1AAB SWAP1 PUSH1 0x20 ADD PUSH2 0x2809 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE DUP1 MLOAD SWAP1 PUSH1 0x20 ADD KECCAK256 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x1ADF SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1AF7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1B0B JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x1B2F SWAP2 SWAP1 PUSH2 0x281F JUMP JUMPDEST PUSH2 0x1B4B JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0xAB2 SWAP1 PUSH2 0x2889 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH24 0x1C995DD85C991CD25B9D195C995CDD14195C94195C9A5BD9 PUSH1 0x42 SHL PUSH1 0x20 DUP3 ADD MSTORE PUSH1 0x0 SWAP1 PUSH1 0x38 ADD PUSH2 0x72A JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x642 SWAP1 PUSH8 0x706F6F6C46656573 PUSH1 0xC0 SHL DUP2 MSTORE PUSH1 0x8 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 PUSH1 0x1 ADD SLOAD PUSH2 0x1BB7 DUP2 CALLER PUSH2 0x1D0F JUMP JUMPDEST PUSH2 0xA41 DUP4 DUP4 PUSH2 0x2163 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x642 SWAP1 PUSH17 0x18DBDB9D1C9A589D5D1A5BDB931A5B5A5D PUSH1 0x7A SHL DUP2 MSTORE PUSH1 0x11 ADD SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH2 0x1C4D JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP1 DUP3 ADD MSTORE PUSH32 0x45524332303A20617070726F76652066726F6D20746865207A65726F20616464 PUSH1 0x44 DUP3 ADD MSTORE PUSH4 0x72657373 PUSH1 0xE0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xAB2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x1CAE JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x22 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A20617070726F766520746F20746865207A65726F206164647265 PUSH1 0x44 DUP3 ADD MSTORE PUSH2 0x7373 PUSH1 0xF0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xAB2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 DUP2 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP5 DUP8 AND DUP1 DUP5 MSTORE SWAP5 DUP3 MSTORE SWAP2 DUP3 SWAP1 KECCAK256 DUP6 SWAP1 SSTORE SWAP1 MLOAD DUP5 DUP2 MSTORE PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 SWAP2 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH2 0x1D19 DUP3 DUP3 PUSH2 0x191C JUMP JUMPDEST PUSH2 0xAC5 JUMPI PUSH2 0x1D31 DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x14 PUSH2 0x23F5 JUMP JUMPDEST PUSH2 0x1D3C DUP4 PUSH1 0x20 PUSH2 0x23F5 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1D4D SWAP3 SWAP2 SWAP1 PUSH2 0x28C0 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F NOT DUP2 DUP5 SUB ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE PUSH3 0x461BCD PUSH1 0xE5 SHL DUP3 MSTORE PUSH2 0xAB2 SWAP2 PUSH1 0x4 ADD PUSH2 0x25E7 JUMP JUMPDEST PUSH1 0x0 DUP1 DUP3 PUSH1 0x40 MLOAD PUSH1 0x20 ADD PUSH2 0x1D87 SWAP2 SWAP1 PUSH2 0x2935 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD DUP1 DUP4 SUB PUSH1 0x1F NOT ADD DUP2 MSTORE SWAP1 DUP3 SWAP1 MSTORE DUP1 MLOAD PUSH1 0x20 SWAP1 SWAP2 ADD KECCAK256 PUSH1 0x2 SLOAD PUSH4 0x15485DD9 PUSH1 0xE1 SHL DUP4 MSTORE PUSH1 0x4 DUP4 ADD DUP3 SWAP1 MSTORE SWAP1 SWAP3 POP PUSH1 0x0 SWAP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND SWAP1 PUSH4 0x2A90BBB2 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1DE7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1DFB JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP DUP2 ADD SWAP1 PUSH2 0x1E1F SWAP2 SWAP1 PUSH2 0x296E JUMP JUMPDEST SWAP1 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND ISZERO PUSH2 0x1E78 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1B PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x436F6E74726163742061646472657373206E6F7420666F756E642E0000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0xAB2 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x4 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 DUP7 AND DUP4 MSTORE SWAP3 SWAP1 MSTORE KECCAK256 SLOAD PUSH1 0x0 NOT DUP2 EQ PUSH2 0x1F0B JUMPI DUP2 DUP2 LT ISZERO PUSH2 0x1EFE JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A20696E73756666696369656E7420616C6C6F77616E6365000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0xAB2 JUMP JUMPDEST PUSH2 0x1F0B DUP5 DUP5 DUP5 DUP5 SUB PUSH2 0x1BEB JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH2 0x1F75 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x25 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A207472616E736665722066726F6D20746865207A65726F206164 PUSH1 0x44 DUP3 ADD MSTORE PUSH5 0x6472657373 PUSH1 0xD8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xAB2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x1FD7 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x23 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A207472616E7366657220746F20746865207A65726F2061646472 PUSH1 0x44 DUP3 ADD MSTORE PUSH3 0x657373 PUSH1 0xE8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xAB2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP2 DUP2 LT ISZERO PUSH2 0x204F JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A207472616E7366657220616D6F756E7420657863656564732062 PUSH1 0x44 DUP3 ADD MSTORE PUSH6 0x616C616E6365 PUSH1 0xD0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xAB2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 DUP6 DUP6 SUB SWAP1 SSTORE SWAP2 DUP6 AND DUP2 MSTORE SWAP1 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x2086 SWAP1 DUP5 SWAP1 PUSH2 0x283C JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF DUP5 PUSH1 0x40 MLOAD PUSH2 0x20D2 SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 PUSH2 0x1F0B JUMP JUMPDEST PUSH2 0x20E9 DUP3 DUP3 PUSH2 0x191C JUMP JUMPDEST PUSH2 0xAC5 JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE SWAP1 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH2 0x211F CALLER SWAP1 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP4 PUSH32 0x2F8788117E7EFF1D82E926EC794901D17C78024A50270940304540A733656F0D PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH2 0x216D DUP3 DUP3 PUSH2 0x191C JUMP JUMPDEST ISZERO PUSH2 0xAC5 JUMPI PUSH1 0x0 DUP3 DUP2 MSTORE PUSH1 0x20 DUP2 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND DUP1 DUP6 MSTORE SWAP3 MSTORE DUP1 DUP4 KECCAK256 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE MLOAD CALLER SWAP3 DUP6 SWAP2 PUSH32 0xF6391F5C32D9C69D2A47EA670B442974B53935D1EDC7FD64EB21E047A839171B SWAP2 SWAP1 LOG4 POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x221E JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1F PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A206D696E7420746F20746865207A65726F206164647265737300 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0xAB2 JUMP JUMPDEST DUP1 PUSH1 0x5 PUSH1 0x0 DUP3 DUP3 SLOAD PUSH2 0x2230 SWAP2 SWAP1 PUSH2 0x283C JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP1 SLOAD DUP4 SWAP3 SWAP1 PUSH2 0x225D SWAP1 DUP5 SWAP1 PUSH2 0x283C JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x40 MLOAD DUP2 DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND SWAP1 PUSH1 0x0 SWAP1 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP1 PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x2307 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x21 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A206275726E2066726F6D20746865207A65726F20616464726573 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x73 PUSH1 0xF8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xAB2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP2 DUP2 LT ISZERO PUSH2 0x237B JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x22 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A206275726E20616D6F756E7420657863656564732062616C616E PUSH1 0x44 DUP3 ADD MSTORE PUSH2 0x6365 PUSH1 0xF0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0xAB2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x3 PUSH1 0x20 MSTORE PUSH1 0x40 DUP2 KECCAK256 DUP4 DUP4 SUB SWAP1 SSTORE PUSH1 0x5 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x23AA SWAP1 DUP5 SWAP1 PUSH2 0x298B JUMP JUMPDEST SWAP1 SWAP2 SSTORE POP POP PUSH1 0x40 MLOAD DUP3 DUP2 MSTORE PUSH1 0x0 SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND SWAP1 PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF SWAP1 PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 PUSH2 0x2404 DUP4 PUSH1 0x2 PUSH2 0x27C8 JUMP JUMPDEST PUSH2 0x240F SWAP1 PUSH1 0x2 PUSH2 0x283C JUMP JUMPDEST PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH2 0x2427 JUMPI PUSH2 0x2427 PUSH2 0x29A2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x1F ADD PUSH1 0x1F NOT AND PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x2451 JUMPI PUSH1 0x20 DUP3 ADD DUP2 DUP1 CALLDATASIZE DUP4 CALLDATACOPY ADD SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x3 PUSH1 0xFC SHL DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x246C JUMPI PUSH2 0x246C PUSH2 0x29B8 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0xF PUSH1 0xFB SHL DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x249B JUMPI PUSH2 0x249B PUSH2 0x29B8 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x0 PUSH2 0x24BF DUP5 PUSH1 0x2 PUSH2 0x27C8 JUMP JUMPDEST PUSH2 0x24CA SWAP1 PUSH1 0x1 PUSH2 0x283C JUMP JUMPDEST SWAP1 POP JUMPDEST PUSH1 0x1 DUP2 GT ISZERO PUSH2 0x2542 JUMPI PUSH16 0x181899199A1A9B1B9C1CB0B131B232B3 PUSH1 0x81 SHL DUP6 PUSH1 0xF AND PUSH1 0x10 DUP2 LT PUSH2 0x24FE JUMPI PUSH2 0x24FE PUSH2 0x29B8 JUMP JUMPDEST BYTE PUSH1 0xF8 SHL DUP3 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x2514 JUMPI PUSH2 0x2514 PUSH2 0x29B8 JUMP JUMPDEST PUSH1 0x20 ADD ADD SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xF8 SHL SUB NOT AND SWAP1 DUP2 PUSH1 0x0 BYTE SWAP1 MSTORE8 POP PUSH1 0x4 SWAP5 SWAP1 SWAP5 SHR SWAP4 PUSH2 0x253B DUP2 PUSH2 0x29CE JUMP JUMPDEST SWAP1 POP PUSH2 0x24CD JUMP JUMPDEST POP DUP4 ISZERO PUSH2 0x1E78 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD DUP2 SWAP1 MSTORE PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x537472696E67733A20686578206C656E67746820696E73756666696369656E74 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0xAB2 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x25A3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xE0 SHL SUB NOT DUP2 AND DUP2 EQ PUSH2 0x1E78 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x25D6 JUMPI DUP2 DUP2 ADD MLOAD DUP4 DUP3 ADD MSTORE PUSH1 0x20 ADD PUSH2 0x25BE JUMP JUMPDEST DUP4 DUP2 GT ISZERO PUSH2 0x1F0B JUMPI POP POP PUSH1 0x0 SWAP2 ADD MSTORE JUMP JUMPDEST PUSH1 0x20 DUP2 MSTORE PUSH1 0x0 DUP3 MLOAD DUP1 PUSH1 0x20 DUP5 ADD MSTORE PUSH2 0x2606 DUP2 PUSH1 0x40 DUP6 ADD PUSH1 0x20 DUP8 ADD PUSH2 0x25BB JUMP JUMPDEST PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP2 SWAP1 SWAP2 ADD PUSH1 0x40 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x262F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x2645 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH2 0x2650 DUP2 PUSH2 0x261A JUMP JUMPDEST SWAP5 PUSH1 0x20 SWAP4 SWAP1 SWAP4 ADD CALLDATALOAD SWAP4 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x2670 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLDATALOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x268C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 CALLDATALOAD PUSH2 0x2697 DUP2 PUSH2 0x261A JUMP JUMPDEST SWAP3 POP PUSH1 0x20 DUP5 ADD CALLDATALOAD PUSH2 0x26A7 DUP2 PUSH2 0x261A JUMP JUMPDEST SWAP3 SWAP6 SWAP3 SWAP5 POP POP POP PUSH1 0x40 SWAP2 SWAP1 SWAP2 ADD CALLDATALOAD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x26CA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x1E78 DUP2 PUSH2 0x261A JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x26E8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x26FA DUP2 PUSH2 0x261A JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0x262F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x2725 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x1E78 DUP2 PUSH2 0x2705 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x2743 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH2 0x274E DUP2 PUSH2 0x261A JUMP JUMPDEST SWAP2 POP PUSH1 0x20 DUP4 ADD CALLDATALOAD PUSH2 0x26FA DUP2 PUSH2 0x261A JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x2772 JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x2793 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x27AB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH1 0x0 NOT DIV DUP4 GT DUP3 ISZERO ISZERO AND ISZERO PUSH2 0x27E2 JUMPI PUSH2 0x27E2 PUSH2 0x27B2 JUMP JUMPDEST POP MUL SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH2 0x2804 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x12 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP DIV SWAP1 JUMP JUMPDEST PUSH10 0x6973506F6F6C4C697665 PUSH1 0xB0 SHL DUP2 MSTORE PUSH1 0xA ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x2831 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x1E78 DUP2 PUSH2 0x2705 JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x284F JUMPI PUSH2 0x284F PUSH2 0x27B2 JUMP JUMPDEST POP ADD SWAP1 JUMP JUMPDEST PUSH15 0x636F6E74726163745F657869737473 PUSH1 0x88 SHL DUP2 MSTORE PUSH1 0x60 SWAP2 SWAP1 SWAP2 SHL PUSH12 0xFFFFFFFFFFFFFFFFFFFFFFFF NOT AND PUSH1 0xF DUP3 ADD MSTORE PUSH1 0x23 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x1D SWAP1 DUP3 ADD MSTORE PUSH32 0x54686520706F6F6C2069732063757272656E746C7920636C6F7365642E000000 PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH32 0x416363657373436F6E74726F6C3A206163636F756E7420000000000000000000 DUP2 MSTORE PUSH1 0x0 DUP4 MLOAD PUSH2 0x28F8 DUP2 PUSH1 0x17 DUP6 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x25BB JUMP JUMPDEST PUSH17 0x1034B99036B4B9B9B4B733903937B6329 PUSH1 0x7D SHL PUSH1 0x17 SWAP2 DUP5 ADD SWAP2 DUP3 ADD MSTORE DUP4 MLOAD PUSH2 0x2929 DUP2 PUSH1 0x28 DUP5 ADD PUSH1 0x20 DUP9 ADD PUSH2 0x25BB JUMP JUMPDEST ADD PUSH1 0x28 ADD SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH17 0x636F6E74726163745F5F61646472657373 PUSH1 0x78 SHL DUP2 MSTORE PUSH1 0x0 DUP3 MLOAD PUSH2 0x2961 DUP2 PUSH1 0x11 DUP6 ADD PUSH1 0x20 DUP8 ADD PUSH2 0x25BB JUMP JUMPDEST SWAP2 SWAP1 SWAP2 ADD PUSH1 0x11 ADD SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x2980 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x1E78 DUP2 PUSH2 0x261A JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 LT ISZERO PUSH2 0x299D JUMPI PUSH2 0x299D PUSH2 0x27B2 JUMP JUMPDEST POP SUB SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP2 PUSH2 0x29DD JUMPI PUSH2 0x29DD PUSH2 0x27B2 JUMP JUMPDEST POP PUSH1 0x0 NOT ADD SWAP1 JUMP INVALID COINBASE LOG0 0x1E 0xC0 LOG1 EXTCODESIZE JUMP EXTCODEHASH LOG4 MSTORE JUMP SWAP15 EXTCODEHASH 0xBB GT PUSH4 0x66D217C2 PUSH23 0x9AA1561822E65A617E3842A2646970667358221220C7C7 PC PUSH25 0xBFC1583B93CE8852F7995DD5DCEB4DFD8028AF77F57E49CD3 PUSH27 0xCBC564736F6C634300080900330000000000000000000000000000 ", + "sourceMap": "399:4134:3:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2563:96;;;:::i;:::-;;;160:25:14;;;148:2;133:18;2563:96:3;;;;;;;;2620:202:4;;;;;;:::i;:::-;;:::i;:::-;;;652:14:14;;645:22;627:41;;615:2;600:18;2620:202:4;487:187:14;2156:98:7;;;:::i;:::-;;;;;;;:::i;6939:205:1:-;;;:::i;4433:197:7:-;;;;;;:::i;:::-;;:::i;3291:218:1:-;;;;;;:::i;:::-;;:::i;:::-;;1261:507:3;;;;;;:::i;:::-;;:::i;3244:106:7:-;3331:12;;3244:106;;6747:184:1;;;:::i;5192:286:7:-;;;;;;:::i;:::-;;:::i;4008:129:4:-;;;;;;:::i;:::-;4082:7;4108:12;;;;;;;;;;:22;;;;4008:129;2171:175:1;;;;;;:::i;:::-;;:::i;4387:145:4:-;;;;;;:::i;:::-;;:::i;3093:91:7:-;;;3175:2;3513:36:14;;3501:2;3486:18;3093:91:7;3371:184:14;5404:214:4;;;;;;:::i;:::-;;:::i;5873:236:7:-;;;;;;:::i;:::-;;:::i;1851:612:3:-;;;;;;:::i;:::-;;:::i;2738:563::-;;;;;;:::i;:::-;;:::i;3641:887::-;;;;;;:::i;:::-;;:::i;1991:172:1:-;;;;;;:::i;:::-;;:::i;5115:350::-;;;;;;:::i;:::-;;:::i;7152:195::-;;;:::i;3583:359::-;;;;;;:::i;:::-;;:::i;7790:199::-;;;:::i;676:64::-;;-1:-1:-1;;;;;;;;;;;676:64:1;;3408:125:7;;;;;;:::i;:::-;-1:-1:-1;;;;;3508:18:7;3482:7;3508:18;;;:9;:18;;;;;;;3408:125;4638:361:1;;;;;;:::i;:::-;;:::i;7355:212::-;;;:::i;5781:477::-;;;;;;:::i;:::-;;:::i;2909:145:4:-;;;;;;:::i;:::-;;:::i;2367:102:7:-;;;:::i;2027:49:4:-;;2072:4;2027:49;;6596:429:7;;;;;;:::i;:::-;;:::i;2958:198:1:-;;;;;;:::i;:::-;;:::i;3729:189:7:-;;;;;;:::i;:::-;;:::i;4149:371:1:-;;;;;;:::i;:::-;;:::i;8001:185::-;;;:::i;4766:147:4:-;;;;;;:::i;:::-;;:::i;3976:149:7:-;;;;;;:::i;:::-;-1:-1:-1;;;;;4091:18:7;;;4065:7;4091:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;3976:149;7575:207:1;;;:::i;2563:96:3:-;2607:4;2630:21;2643:7;2630:12;:21::i;:::-;2623:28;;2563:96;:::o;2620:202:4:-;2705:4;-1:-1:-1;;;;;;2728:47:4;;-1:-1:-1;;;2728:47:4;;:87;;-1:-1:-1;;;;;;;;;;937:40:12;;;2779:36:4;2721:94;2620:202;-1:-1:-1;;2620:202:4:o;2156:98:7:-;2210:13;2242:5;2235:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2156:98;:::o;6939:205:1:-;6985:4;7001:22;7036:31;;;;;;-1:-1:-1;;;4909:26:14;;4960:2;4951:12;;4707:262;7036:31:1;;;;;;;-1:-1:-1;;7036:31:1;;;;;;;7026:42;;7036:31;7026:42;;;;7086:11;;-1:-1:-1;;;7086:42:1;;;;;160:25:14;;;7026:42:1;;-1:-1:-1;;;;;;7086:11:1;;:26;;133:18:14;;7086:42:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7079:49;;;6939:205;:::o;4433:197:7:-;4516:4;719:10:10;4570:32:7;719:10:10;4586:7:7;4595:6;4570:8;:32::i;:::-;-1:-1:-1;4619:4:7;;4433:197;-1:-1:-1;;;4433:197:7:o;3291:218:1:-;-1:-1:-1;;;;;;;;;;;2505:30:4;715:25:1;719:10:10;2505::4;:30::i;:::-;3406:31:1::1;::::0;-1:-1:-1;;;3406:31:1::1;::::0;::::1;4909:26:14::0;3371:22:1::1;::::0;4951:12:14;;3406:31:1::1;;::::0;;;;::::1;-1:-1:-1::0;;3406:31:1;;;;;;;3396:42;;3406:31:::1;3396:42:::0;;::::1;::::0;3449:11:::1;::::0;-1:-1:-1;;;3449:52:1;;::::1;::::0;::::1;5337:25:14::0;;;5378:18;;;5371:34;;;3396:42:1;;-1:-1:-1;;;;;;3449:11:1::1;::::0;:26:::1;::::0;5310:18:14;;3449:52:1::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;3360:149;3291:218:::0;;:::o;1261:507:3:-;1322:4;1338:40;1404:35;;;;;;;;;;;;;;-1:-1:-1;;;1404:35:3;;;:18;:35::i;:::-;1338:102;;1451:22;1476:17;-1:-1:-1;;;;;1476:35:3;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1451:62;;1524:23;1550:17;-1:-1:-1;;;;;1550:37:3;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1524:65;-1:-1:-1;1605:23:3;;1602:129;;1688:18;1653:32;1668:17;1653:12;:32;:::i;:::-;:53;;;;:::i;:::-;1644:63;1261:507;-1:-1:-1;;;;;1261:507:3:o;1602:129::-;-1:-1:-1;1748:12:3;;1261:507;-1:-1:-1;;;1261:507:3:o;6747:184:1:-;6791:4;6807:17;6837:30;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;6837:30:1;;;;;;;6827:41;;6837:30;6827:41;;;;6886:11;;-1:-1:-1;;;6886:37:1;;;;;160:25:14;;;6827:41:1;;-1:-1:-1;;;;;;6886:11:1;;:26;;133:18:14;;6886:37:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;5192:286:7:-;5319:4;719:10:10;5375:38:7;5391:4;719:10:10;5406:6:7;5375:15;:38::i;:::-;5423:27;5433:4;5439:2;5443:6;5423:9;:27::i;:::-;-1:-1:-1;5467:4:7;;5192:286;-1:-1:-1;;;;5192:286:7:o;2171:175:1:-;2072:4:4;2505:30;2072:4;719:10:10;2505::4;:30::i;:::-;2264:34:1::1;-1:-1:-1::0;;;;;;;;;;;2289:8:1::1;2264:10;:34::i;:::-;2314:24;::::0;-1:-1:-1;;;;;2314:24:1;::::1;::::0;::::1;::::0;;;::::1;2171:175:::0;;:::o;4387:145:4:-;4082:7;4108:12;;;;;;;;;;:22;;;2505:30;2516:4;719:10:10;2505::4;:30::i;:::-;4500:25:::1;4511:4;4517:7;4500:10;:25::i;:::-;4387:145:::0;;;:::o;5404:214::-;-1:-1:-1;;;;;5499:23:4;;719:10:10;5499:23:4;5491:83;;;;-1:-1:-1;;;5491:83:4;;6661:2:14;5491:83:4;;;6643:21:14;6700:2;6680:18;;;6673:30;6739:34;6719:18;;;6712:62;-1:-1:-1;;;6790:18:14;;;6783:45;6845:19;;5491:83:4;;;;;;;;;5585:26;5597:4;5603:7;5585:11;:26::i;:::-;5404:214;;:::o;5873:236:7:-;719:10:10;5961:4:7;6040:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;6040:27:7;;;;;;;;;;5961:4;;719:10:10;6015:66:7;;719:10:10;;6040:27:7;;:40;;6070:10;;6040:40;:::i;:::-;6015:8;:66::i;1851:612:3:-;1912:4;1928:40;1994:35;;;;;;;;;;;;;;-1:-1:-1;;;1994:35:3;;;:18;:35::i;:::-;1928:102;;2041:22;2066:17;-1:-1:-1;;;;;2066:35:3;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2041:62;;2114:23;2140:17;-1:-1:-1;;;;;2140:37:3;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2114:65;-1:-1:-1;2195:23:3;;2192:236;;2262:1;2242:17;:21;2234:93;;;;-1:-1:-1;;;2234:93:3;;7210:2:14;2234:93:3;;;7192:21:14;7249:2;7229:18;;;7222:30;7288:34;7268:18;;;7261:62;7359:29;7339:18;;;7332:57;7406:19;;2234:93:3;7008:423:14;2234:93:3;2385:17;2351:31;2364:18;2351:10;:31;:::i;2738:563::-;1809:11:1;;1846:47;;-1:-1:-1;;;;;1809:11:1;;;;:26;;1846:47;;1882:10;;1846:47;;;:::i;:::-;;;;;;;;;;;;;1836:58;;;;;;1809:86;;;;;;;;;;;;;160:25:14;;148:2;133:18;;14:177;1809:86:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1801:124;;;;-1:-1:-1;;;1801:124:1;;8021:2:14;1801:124:1;;;8003:21:14;8060:2;8040:18;;;8033:30;-1:-1:-1;;;8079:18:14;;;8072:55;8144:18;;1801:124:1;7819:349:14;1801:124:1;2855:43:3::1;::::0;-1:-1:-1;;;2855:43:3::1;::::0;::::1;8375:38:14::0;2820:22:3::1;::::0;8429:12:14;;2855:43:3::1;;;;;;;;;;;;2845:54;;;;;;2820:79;;2931:1;2918:10;:14;2910:70;;;::::0;-1:-1:-1;;;2910:70:3;;8654:2:14;2910:70:3::1;::::0;::::1;8636:21:14::0;8693:2;8673:18;;;8666:30;8732:34;8712:18;;;8705:62;-1:-1:-1;;;8783:18:14;;;8776:40;8833:19;;2910:70:3::1;8452:406:14::0;2910:70:3::1;3085:16;3104:26;3119:10;3104:14;:26::i;:::-;3085:45;;3141:23;3147:3;3152:11;3141:5;:23::i;:::-;3175:11;::::0;:60:::1;::::0;-1:-1:-1;;;3175:60:3;;::::1;::::0;::::1;5337:25:14::0;;;5378:18;;;5371:34;;;-1:-1:-1;;;;;3175:11:3;;::::1;::::0;:31:::1;::::0;5310:18:14;;3175:60:3::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;3251:42:3::1;::::0;;5337:25:14;;;5393:2;5378:18;;5371:34;;;-1:-1:-1;;;;;3251:42:3;::::1;::::0;-1:-1:-1;3251:42:3::1;::::0;-1:-1:-1;5310:18:14;3251:42:3::1;;;;;;;;2809:492;;2738:563:::0;;:::o;3641:887::-;1809:11:1;;1846:47;;-1:-1:-1;;;;;1809:11:1;;;;:26;;1846:47;;1882:10;;1846:47;;;:::i;:::-;;;;;;;;;;;;;1836:58;;;;;;1809:86;;;;;;;;;;;;;160:25:14;;148:2;133:18;;14:177;1809:86:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1801:124;;;;-1:-1:-1;;;1801:124:1;;8021:2:14;1801:124:1;;;8003:21:14;8060:2;8040:18;;;8033:30;-1:-1:-1;;;8079:18:14;;;8072:55;8144:18;;1801:124:1;7819:349:14;1801:124:1;3712:40:3::1;3778:35;;;;;;;;;;;;;;-1:-1:-1::0;;;3778:35:3::1;;::::0;:18:::1;:35::i;:::-;3712:102;;3825:22;3860:43;;;;;;-1:-1:-1::0;;;8375:38:14;;8438:2;8429:12;;8173:274;3860:43:3::1;;;;;;;;;;;;;3850:54;;;;;;3825:79;;3948:1;3933:12;:16;3925:72;;;::::0;-1:-1:-1;;;3925:72:3;;9318:2:14;3925:72:3::1;::::0;::::1;9300:21:14::0;9357:2;9337:18;;;9330:30;9396:34;9376:18;;;9369:62;-1:-1:-1;;;9447:18:14;;;9440:40;9497:19;;3925:72:3::1;9116:406:14::0;3925:72:3::1;4026:10;4040:1;3508:18:7::0;;;:9;:18;;;;;;4016:25:3::1;4008:64;;;::::0;-1:-1:-1;;;4008:64:3;;9729:2:14;4008:64:3::1;::::0;::::1;9711:21:14::0;9768:2;9748:18;;;9741:30;9807:29;9787:18;;;9780:57;9854:18;;4008:64:3::1;9527:351:14::0;4008:64:3::1;4179:14;4196:26;4209:12;4196;:26::i;:::-;4179:43;;4253:17;-1:-1:-1::0;;;;;4253:35:3::1;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4241:9;:49;4233:119;;;::::0;-1:-1:-1;;;4233:119:3;;10085:2:14;4233:119:3::1;::::0;::::1;10067:21:14::0;10124:2;10104:18;;;10097:30;10163:34;10143:18;;;10136:62;10234:27;10214:18;;;10207:55;10279:19;;4233:119:3::1;9883:421:14::0;4233:119:3::1;4363:11;::::0;:61:::1;::::0;-1:-1:-1;;;4363:61:3;;::::1;::::0;::::1;5337:25:14::0;;;5378:18;;;5371:34;;;-1:-1:-1;;;;;4363:11:3;;::::1;::::0;:31:::1;::::0;5310:18:14;;4363:61:3::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;4435:31;4441:10;4453:12;4435:5;:31::i;:::-;4482:38;::::0;160:25:14;;;4495:10:3::1;::::0;4482:38:::1;::::0;148:2:14;133:18;4482:38:3::1;14:177:14::0;1991:172:1;2072:4:4;2505:30;2072:4;719:10:10;2505::4;:30::i;:::-;2081:33:1::1;-1:-1:-1::0;;;;;;;;;;;2105:8:1::1;2081:9;:33::i;:::-;2130:25;::::0;-1:-1:-1;;;;;2130:25:1;::::1;::::0;::::1;::::0;;;::::1;1991:172:::0;;:::o;5115:350::-;-1:-1:-1;;;;;;;;;;;2505:30:4;715:25:1;719:10:10;2505::4;:30::i;:::-;5211:11:1::1;::::0;5248:30:::1;::::0;-1:-1:-1;;;;;5211:11:1;;::::1;::::0;:26:::1;::::0;5248:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;5238:41;;;;;;5211:69;;;;;;;;;;;;;160:25:14::0;;148:2;133:18;;14:177;5211:69:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5203:111;;;;-1:-1:-1::0;;;5203:111:1::1;;;;;;;:::i;:::-;5357:35;::::0;-1:-1:-1;;;5357:35:1::1;::::0;::::1;10869:30:14::0;5325:19:1::1;::::0;10915:12:14;;5357:35:1::1;10667:266:14::0;7152:195:1;7202:4;7218:18;7249:33;;;;;;-1:-1:-1;;;11140:28:14;;11193:2;11184:12;;10938:264;3583:359:1;-1:-1:-1;;;;;;;;;;;2505:30:4;715:25:1;719:10:10;2505::4;:30::i;:::-;3681:11:1::1;::::0;3718:30:::1;::::0;-1:-1:-1;;;;;3681:11:1;;::::1;::::0;:26:::1;::::0;3718:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;3708:41;;;;;;3681:69;;;;;;;;;;;;;160:25:14::0;;148:2;133:18;;14:177;3681:69:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3673:111;;;;-1:-1:-1::0;;;3673:111:1::1;;;;;;;:::i;:::-;3826:33;::::0;;-1:-1:-1;;;3826:33:1::1;::::0;;::::1;11140:28:14::0;;;;3826:33:1;;;;;;;;;11184:12:14;;;;3826:33:1;;;3816:44;;;::::1;::::0;3871:11:::1;::::0;-1:-1:-1;;;;;3871:11:1::1;:26;3816:44:::0;3910:23:::1;:14:::0;3927:6:::1;3910:23;:::i;:::-;3871:63;::::0;-1:-1:-1;;;;;;3871:63:1::1;::::0;;;;;;::::1;::::0;::::1;5337:25:14::0;;;;5378:18;;;5371:34;5310:18;;3871:63:1::1;5163:248:14::0;7790:199:1;7840:4;7856:19;7888:35;;;;;;-1:-1:-1;;;10869:30:14;;10924:2;10915:12;;10667:266;4638:361:1;-1:-1:-1;;;;;;;;;;;2505:30:4;715:25:1;719:10:10;2505::4;:30::i;:::-;4737:11:1::1;::::0;4774:30:::1;::::0;-1:-1:-1;;;;;4737:11:1;;::::1;::::0;:26:::1;::::0;4774:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;4764:41;;;;;;4737:69;;;;;;;;;;;;;160:25:14::0;;148:2;133:18;;14:177;4737:69:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4729:111;;;;-1:-1:-1::0;;;4729:111:1::1;;;;;;;:::i;:::-;4885:37;::::0;-1:-1:-1;;;4885:37:1::1;::::0;::::1;11409:32:14::0;4851:21:1::1;::::0;11457:12:14;;4885:37:1::1;11207:268:14::0;7355:212:1;7405:4;7421:21;7455:44;;;;;;-1:-1:-1;;;11682:39:14;;11746:2;11737:12;;11480:275;5781:477:1;-1:-1:-1;;;;;;;;;;;2505:30:4;715:25:1;719:10:10;2505::4;:30::i;:::-;5867:11:1::1;::::0;5904:30:::1;::::0;-1:-1:-1;;;;;5867:11:1;;::::1;::::0;:26:::1;::::0;5904:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;5894:41;;;;;;5867:69;;;;;;;;;;;;;160:25:14::0;;148:2;133:18;;14:177;5867:69:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5859:111;;;;-1:-1:-1::0;;;5859:111:1::1;;;;;;;:::i;:::-;6013:28;::::0;-1:-1:-1;;;6013:28:1::1;::::0;::::1;11962:23:14::0;5981:19:1::1;::::0;12001:11:14;;6013:28:1::1;;;;;;;;;;;;6003:39;;;;;;5981:61;;6053:22;6088:31;;;;;;-1:-1:-1::0;;;12225:26:14;;12276:2;12267:12;;12023:262;6088:31:1::1;;::::0;;;;::::1;-1:-1:-1::0;;6088:31:1;;;;;;;6078:42;;6088:31:::1;6078:42:::0;;::::1;::::0;6141:11:::1;::::0;-1:-1:-1;;;6141:50:1;;::::1;::::0;::::1;5337:25:14::0;;;5378:18;;;5371:34;;;6078:42:1;;-1:-1:-1;;;;;;6141:11:1::1;::::0;:26:::1;::::0;5310:18:14;;6141:50:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;6202:11:1::1;::::0;:48:::1;::::0;-1:-1:-1;;;6202:48:1;;::::1;::::0;::::1;12458:25:14::0;;;6202:11:1;12499:18:14;;;12492:50;-1:-1:-1;;;;;6202:11:1;;::::1;::::0;-1:-1:-1;6202:26:1::1;::::0;-1:-1:-1;12431:18:14;;6202:48:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;5848:410;;5781:477:::0;;:::o;2909:145:4:-;2995:4;3018:12;;;;;;;;;;;-1:-1:-1;;;;;3018:29:4;;;;;;;;;;;;;;;2909:145::o;2367:102:7:-;2423:13;2455:7;2448:14;;;;;:::i;6596:429::-;719:10:10;6689:4:7;6770:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;6770:27:7;;;;;;;;;;6689:4;;719:10:10;6815:35:7;;;;6807:85;;;;-1:-1:-1;;;6807:85:7;;12755:2:14;6807:85:7;;;12737:21:14;12794:2;12774:18;;;12767:30;12833:34;12813:18;;;12806:62;-1:-1:-1;;;12884:18:14;;;12877:35;12929:19;;6807:85:7;12553:401:14;6807:85:7;6926:60;6935:5;6942:7;6970:15;6951:16;:34;6926:8;:60::i;2958:198:1:-;-1:-1:-1;;;;;;;;;;;2505:30:4;715:25:1;719:10:10;2505::4;:30::i;:::-;3032:17:1::1;3062:30;;;;;;;:::i;:::-;;::::0;;;;::::1;-1:-1:-1::0;;3062:30:1;;;;;;;3052:41;;3062:30:::1;3052:41:::0;;::::1;::::0;3104:11:::1;::::0;-1:-1:-1;;;3104:44:1;;::::1;::::0;::::1;12458:25:14::0;;;12526:14;;12519:22;12499:18;;;12492:50;3052:41:1;;-1:-1:-1;;;;;;3104:11:1::1;::::0;:26:::1;::::0;12431:18:14;;3104:44:1::1;12290:258:14::0;3729:189:7;3808:4;719:10:10;3862:28:7;719:10:10;3879:2:7;3883:6;3862:9;:28::i;4149:371:1:-;-1:-1:-1;;;;;;;;;;;2505:30:4;715:25:1;719:10:10;2505::4;:30::i;:::-;4249:11:1::1;::::0;4286:30:::1;::::0;-1:-1:-1;;;;;4249:11:1;;::::1;::::0;:26:::1;::::0;4286:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;4276:41;;;;;;4249:69;;;;;;;;;;;;;160:25:14::0;;148:2;133:18;;14:177;4249:69:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4241:111;;;;-1:-1:-1::0;;;4241:111:1::1;;;;;;;:::i;:::-;4397:44;::::0;-1:-1:-1;;;4397:44:1::1;::::0;::::1;11682:39:14::0;4363:21:1::1;::::0;11737:12:14;;4397:44:1::1;11480:275:14::0;8001:185:1;8044:4;8060:19;8092:28;;;;;;-1:-1:-1;;;11962:23:14;;12010:1;12001:11;;11760:258;4766:147:4;4082:7;4108:12;;;;;;;;;;:22;;;2505:30;2516:4;719:10:10;2505::4;:30::i;:::-;4880:26:::1;4892:4;4898:7;4880:11;:26::i;7575:207:1:-:0;7627:4;7643:21;7677:37;;;;;;-1:-1:-1;;;11409:32:14;;11466:2;11457:12;;11207:268;10123:370:7;-1:-1:-1;;;;;10254:19:7;;10246:68;;;;-1:-1:-1;;;10246:68:7;;13161:2:14;10246:68:7;;;13143:21:14;13200:2;13180:18;;;13173:30;13239:34;13219:18;;;13212:62;-1:-1:-1;;;13290:18:14;;;13283:34;13334:19;;10246:68:7;12959:400:14;10246:68:7;-1:-1:-1;;;;;10332:21:7;;10324:68;;;;-1:-1:-1;;;10324:68:7;;13566:2:14;10324:68:7;;;13548:21:14;13605:2;13585:18;;;13578:30;13644:34;13624:18;;;13617:62;-1:-1:-1;;;13695:18:14;;;13688:32;13737:19;;10324:68:7;13364:398:14;10324:68:7;-1:-1:-1;;;;;10403:18:7;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;10454:32;;160:25:14;;;10454:32:7;;133:18:14;10454:32:7;;;;;;;10123:370;;;:::o;3335:492:4:-;3423:22;3431:4;3437:7;3423;:22::i;:::-;3418:403;;3606:41;3634:7;-1:-1:-1;;;;;3606:41:4;3644:2;3606:19;:41::i;:::-;3718:38;3746:4;3753:2;3718:19;:38::i;:::-;3513:265;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3513:265:4;;;;;;;;;;-1:-1:-1;;;3461:349:4;;;;;;;:::i;6356:383:1:-;6435:7;6454:18;6523:13;6485:52;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;6485:52:1;;;;;;;6475:63;;6485:52;6475:63;;;;6575:11;;-1:-1:-1;;;6575:41:1;;;;;160:25:14;;;6475:63:1;;-1:-1:-1;6549:23:1;;-1:-1:-1;;;;;6575:11:1;;;;:29;;133:18:14;;6575:41:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6549:67;-1:-1:-1;;;;;;6635:31:1;;;6627:71;;;;-1:-1:-1;;;6627:71:1;;15457:2:14;6627:71:1;;;15439:21:14;15496:2;15476:18;;;15469:30;15535:29;15515:18;;;15508:57;15582:18;;6627:71:1;15255:351:14;6627:71:1;6716:15;6356:383;-1:-1:-1;;;6356:383:1:o;10770:441:7:-;-1:-1:-1;;;;;4091:18:7;;;10900:24;4091:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;10966:37:7;;10962:243;;11047:6;11027:16;:26;;11019:68;;;;-1:-1:-1;;;11019:68:7;;15813:2:14;11019:68:7;;;15795:21:14;15852:2;15832:18;;;15825:30;15891:31;15871:18;;;15864:59;15940:18;;11019:68:7;15611:353:14;11019:68:7;11129:51;11138:5;11145:7;11173:6;11154:16;:25;11129:8;:51::i;:::-;10890:321;10770:441;;;:::o;7488:651::-;-1:-1:-1;;;;;7614:18:7;;7606:68;;;;-1:-1:-1;;;7606:68:7;;16171:2:14;7606:68:7;;;16153:21:14;16210:2;16190:18;;;16183:30;16249:34;16229:18;;;16222:62;-1:-1:-1;;;16300:18:14;;;16293:35;16345:19;;7606:68:7;15969:401:14;7606:68:7;-1:-1:-1;;;;;7692:16:7;;7684:64;;;;-1:-1:-1;;;7684:64:7;;16577:2:14;7684:64:7;;;16559:21:14;16616:2;16596:18;;;16589:30;16655:34;16635:18;;;16628:62;-1:-1:-1;;;16706:18:14;;;16699:33;16749:19;;7684:64:7;16375:399:14;7684:64:7;-1:-1:-1;;;;;7830:15:7;;7808:19;7830:15;;;:9;:15;;;;;;7863:21;;;;7855:72;;;;-1:-1:-1;;;7855:72:7;;16981:2:14;7855:72:7;;;16963:21:14;17020:2;17000:18;;;16993:30;17059:34;17039:18;;;17032:62;-1:-1:-1;;;17110:18:14;;;17103:36;17156:19;;7855:72:7;16779:402:14;7855:72:7;-1:-1:-1;;;;;7961:15:7;;;;;;;:9;:15;;;;;;7979:20;;;7961:38;;8019:13;;;;;;;;:23;;7993:6;;7961:15;8019:23;;7993:6;;8019:23;:::i;:::-;;;;;;;;8073:2;-1:-1:-1;;;;;8058:26:7;8067:4;-1:-1:-1;;;;;8058:26:7;;8077:6;8058:26;;;;160:25:14;;148:2;133:18;;14:177;8058:26:7;;;;;;;;8095:37;4387:145:4;6861:233;6944:22;6952:4;6958:7;6944;:22::i;:::-;6939:149;;6982:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6982:29:4;;;;;;;;;:36;;-1:-1:-1;;6982:36:4;7014:4;6982:36;;;7064:12;719:10:10;;640:96;7064:12:4;-1:-1:-1;;;;;7037:40:4;7055:7;-1:-1:-1;;;;;7037:40:4;7049:4;7037:40;;;;;;;;;;6861:233;;:::o;7219:234::-;7302:22;7310:4;7316:7;7302;:22::i;:::-;7298:149;;;7372:5;7340:12;;;;;;;;;;;-1:-1:-1;;;;;7340:29:4;;;;;;;;;;:37;;-1:-1:-1;;7340:37:4;;;7396:40;719:10:10;;7340:12:4;;7396:40;;7372:5;7396:40;7219:234;;:::o;8415:389:7:-;-1:-1:-1;;;;;8498:21:7;;8490:65;;;;-1:-1:-1;;;8490:65:7;;17388:2:14;8490:65:7;;;17370:21:14;17427:2;17407:18;;;17400:30;17466:33;17446:18;;;17439:61;17517:18;;8490:65:7;17186:355:14;8490:65:7;8642:6;8626:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;8658:18:7;;;;;;:9;:18;;;;;:28;;8680:6;;8658:18;:28;;8680:6;;8658:28;:::i;:::-;;;;-1:-1:-1;;8701:37:7;;160:25:14;;;-1:-1:-1;;;;;8701:37:7;;;8718:1;;8701:37;;148:2:14;133:18;8701:37:7;;;;;;;5404:214:4;;:::o;9124:576:7:-;-1:-1:-1;;;;;9207:21:7;;9199:67;;;;-1:-1:-1;;;9199:67:7;;17748:2:14;9199:67:7;;;17730:21:14;17787:2;17767:18;;;17760:30;17826:34;17806:18;;;17799:62;-1:-1:-1;;;17877:18:14;;;17870:31;17918:19;;9199:67:7;17546:397:14;9199:67:7;-1:-1:-1;;;;;9362:18:7;;9337:22;9362:18;;;:9;:18;;;;;;9398:24;;;;9390:71;;;;-1:-1:-1;;;9390:71:7;;18150:2:14;9390:71:7;;;18132:21:14;18189:2;18169:18;;;18162:30;18228:34;18208:18;;;18201:62;-1:-1:-1;;;18279:18:14;;;18272:32;18321:19;;9390:71:7;17948:398:14;9390:71:7;-1:-1:-1;;;;;9495:18:7;;;;;;:9;:18;;;;;9516:23;;;9495:44;;9559:12;:22;;9533:6;;9495:18;9559:22;;9533:6;;9559:22;:::i;:::-;;;;-1:-1:-1;;9597:37:7;;160:25:14;;;9623:1:7;;-1:-1:-1;;;;;9597:37:7;;;;;148:2:14;133:18;9597:37:7;;;;;;;4387:145:4;;;:::o;1588:441:11:-;1663:13;1688:19;1720:10;1724:6;1720:1;:10;:::i;:::-;:14;;1733:1;1720:14;:::i;:::-;1710:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1710:25:11;;1688:47;;-1:-1:-1;;;1745:6:11;1752:1;1745:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1745:15:11;;;;;;;;;-1:-1:-1;;;1770:6:11;1777:1;1770:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1770:15:11;;;;;;;;-1:-1:-1;1800:9:11;1812:10;1816:6;1812:1;:10;:::i;:::-;:14;;1825:1;1812:14;:::i;:::-;1800:26;;1795:132;1832:1;1828;:5;1795:132;;;-1:-1:-1;;;1879:5:11;1887:3;1879:11;1866:25;;;;;;;:::i;:::-;;;;1854:6;1861:1;1854:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;1854:37:11;;;;;;;;-1:-1:-1;1915:1:11;1905:11;;;;;1835:3;;;:::i;:::-;;;1795:132;;;-1:-1:-1;1944:10:11;;1936:55;;;;-1:-1:-1;;;1936:55:11;;19088:2:14;1936:55:11;;;19070:21:14;;;19107:18;;;19100:30;19166:34;19146:18;;;19139:62;19218:18;;1936:55:11;18886:356:14;196:286;254:6;307:2;295:9;286:7;282:23;278:32;275:52;;;323:1;320;313:12;275:52;349:23;;-1:-1:-1;;;;;;401:32:14;;391:43;;381:71;;448:1;445;438:12;679:258;751:1;761:113;775:6;772:1;769:13;761:113;;;851:11;;;845:18;832:11;;;825:39;797:2;790:10;761:113;;;892:6;889:1;886:13;883:48;;;-1:-1:-1;;927:1:14;909:16;;902:27;679:258::o;942:383::-;1091:2;1080:9;1073:21;1054:4;1123:6;1117:13;1166:6;1161:2;1150:9;1146:18;1139:34;1182:66;1241:6;1236:2;1225:9;1221:18;1216:2;1208:6;1204:15;1182:66;:::i;:::-;1309:2;1288:15;-1:-1:-1;;1284:29:14;1269:45;;;;1316:2;1265:54;;942:383;-1:-1:-1;;942:383:14:o;1330:131::-;-1:-1:-1;;;;;1405:31:14;;1395:42;;1385:70;;1451:1;1448;1441:12;1385:70;1330:131;:::o;1466:315::-;1534:6;1542;1595:2;1583:9;1574:7;1570:23;1566:32;1563:52;;;1611:1;1608;1601:12;1563:52;1650:9;1637:23;1669:31;1694:5;1669:31;:::i;:::-;1719:5;1771:2;1756:18;;;;1743:32;;-1:-1:-1;;;1466:315:14:o;1786:180::-;1845:6;1898:2;1886:9;1877:7;1873:23;1869:32;1866:52;;;1914:1;1911;1904:12;1866:52;-1:-1:-1;1937:23:14;;1786:180;-1:-1:-1;1786:180:14:o;1971:456::-;2048:6;2056;2064;2117:2;2105:9;2096:7;2092:23;2088:32;2085:52;;;2133:1;2130;2123:12;2085:52;2172:9;2159:23;2191:31;2216:5;2191:31;:::i;:::-;2241:5;-1:-1:-1;2298:2:14;2283:18;;2270:32;2311:33;2270:32;2311:33;:::i;:::-;1971:456;;2363:7;;-1:-1:-1;;;2417:2:14;2402:18;;;;2389:32;;1971:456::o;2799:247::-;2858:6;2911:2;2899:9;2890:7;2886:23;2882:32;2879:52;;;2927:1;2924;2917:12;2879:52;2966:9;2953:23;2985:31;3010:5;2985:31;:::i;3051:315::-;3119:6;3127;3180:2;3168:9;3159:7;3155:23;3151:32;3148:52;;;3196:1;3193;3186:12;3148:52;3232:9;3219:23;3209:33;;3292:2;3281:9;3277:18;3264:32;3305:31;3330:5;3305:31;:::i;:::-;3355:5;3345:15;;;3051:315;;;;;:::o;3560:118::-;3646:5;3639:13;3632:21;3625:5;3622:32;3612:60;;3668:1;3665;3658:12;3683:241;3739:6;3792:2;3780:9;3771:7;3767:23;3763:32;3760:52;;;3808:1;3805;3798:12;3760:52;3847:9;3834:23;3866:28;3888:5;3866:28;:::i;3929:388::-;3997:6;4005;4058:2;4046:9;4037:7;4033:23;4029:32;4026:52;;;4074:1;4071;4064:12;4026:52;4113:9;4100:23;4132:31;4157:5;4132:31;:::i;:::-;4182:5;-1:-1:-1;4239:2:14;4224:18;;4211:32;4252:33;4211:32;4252:33;:::i;4322:380::-;4401:1;4397:12;;;;4444;;;4465:61;;4519:4;4511:6;4507:17;4497:27;;4465:61;4572:2;4564:6;4561:14;4541:18;4538:38;4535:161;;;4618:10;4613:3;4609:20;4606:1;4599:31;4653:4;4650:1;4643:15;4681:4;4678:1;4671:15;4535:161;;4322:380;;;:::o;4974:184::-;5044:6;5097:2;5085:9;5076:7;5072:23;5068:32;5065:52;;;5113:1;5110;5103:12;5065:52;-1:-1:-1;5136:16:14;;4974:184;-1:-1:-1;4974:184:14:o;5416:127::-;5477:10;5472:3;5468:20;5465:1;5458:31;5508:4;5505:1;5498:15;5532:4;5529:1;5522:15;5548:168;5588:7;5654:1;5650;5646:6;5642:14;5639:1;5636:21;5631:1;5624:9;5617:17;5613:45;5610:71;;;5661:18;;:::i;:::-;-1:-1:-1;5701:9:14;;5548:168::o;5721:217::-;5761:1;5787;5777:132;;5831:10;5826:3;5822:20;5819:1;5812:31;5866:4;5863:1;5856:15;5894:4;5891:1;5884:15;5777:132;-1:-1:-1;5923:9:14;;5721:217::o;5943:261::-;-1:-1:-1;;;6145:25:14;;6195:2;6186:12;;5943:261::o;6209:245::-;6276:6;6329:2;6317:9;6308:7;6304:23;6300:32;6297:52;;;6345:1;6342;6335:12;6297:52;6377:9;6371:16;6396:28;6418:5;6396:28;:::i;6875:128::-;6915:3;6946:1;6942:6;6939:1;6936:13;6933:39;;;6952:18;;:::i;:::-;-1:-1:-1;6988:9:14;;6875:128::o;7436:378::-;-1:-1:-1;;;7666:30:14;;7734:2;7730:15;;;;-1:-1:-1;;7726:53:14;7721:2;7712:12;;7705:75;7805:2;7796:12;;7436:378::o;10309:353::-;10511:2;10493:21;;;10550:2;10530:18;;;10523:30;10589:31;10584:2;10569:18;;10562:59;10653:2;10638:18;;10309:353::o;13767:786::-;14178:25;14173:3;14166:38;14148:3;14233:6;14227:13;14249:62;14304:6;14299:2;14294:3;14290:12;14283:4;14275:6;14271:17;14249:62;:::i;:::-;-1:-1:-1;;;14370:2:14;14330:16;;;14362:11;;;14355:40;14420:13;;14442:63;14420:13;14491:2;14483:11;;14476:4;14464:17;;14442:63;:::i;:::-;14525:17;14544:2;14521:26;;13767:786;-1:-1:-1;;;;13767:786:14:o;14558:436::-;-1:-1:-1;;;14815:3:14;14808:32;14790:3;14869:6;14863:13;14885:62;14940:6;14935:2;14930:3;14926:12;14919:4;14911:6;14907:17;14885:62;:::i;:::-;14967:16;;;;14985:2;14963:25;;14558:436;-1:-1:-1;;14558:436:14:o;14999:251::-;15069:6;15122:2;15110:9;15101:7;15097:23;15093:32;15090:52;;;15138:1;15135;15128:12;15090:52;15170:9;15164:16;15189:31;15214:5;15189:31;:::i;18351:125::-;18391:4;18419:1;18416;18413:8;18410:34;;;18424:18;;:::i;:::-;-1:-1:-1;18461:9:14;;18351:125::o;18481:127::-;18542:10;18537:3;18533:20;18530:1;18523:31;18573:4;18570:1;18563:15;18597:4;18594:1;18587:15;18613:127;18674:10;18669:3;18665:20;18662:1;18655:31;18705:4;18702:1;18695:15;18729:4;18726:1;18719:15;18745:136;18784:3;18812:5;18802:39;;18821:18;;:::i;:::-;-1:-1:-1;;;18857:18:14;;18745:136::o" + }, + "gasEstimates": { + "creation": { + "codeDepositCost": "2162200", + "executionCost": "infinite", + "totalCost": "infinite" + }, + "external": { + "DEFAULT_ADMIN_ROLE()": "251", + "POOL_MANAGER()": "infinite", + "addPoolManager(address)": "infinite", + "allowance(address,address)": "infinite", + "approve(address,uint256)": "24730", + "balanceOf(address)": "2565", + "burn(uint256)": "infinite", + "calcEthValue(uint256)": "infinite", + "calcRwEthValue(uint256)": "infinite", + "decimals()": "289", + "decreaseAllowance(address,uint256)": "26983", + "getContributionLimit()": "infinite", + "getPoolFees()": "infinite", + "getPoolMaxSize()": "infinite", + "getPoolState()": "infinite", + "getRewardsInterest()": "infinite", + "getRewardsInterval()": "infinite", + "getRoleAdmin(bytes32)": "2482", + "getUnitPrice()": "infinite", + "grantRole(bytes32,address)": "infinite", + "hasRole(bytes32,address)": "2794", + "increaseAllowance(address,uint256)": "26984", + "mint(address,uint256)": "infinite", + "name()": "infinite", + "removePoolManager(address)": "infinite", + "renounceRole(bytes32,address)": "29128", + "revokeRole(bytes32,address)": "infinite", + "setContributionLimit(uint256)": "infinite", + "setMinContribution()": "infinite", + "setMinContribution(uint256)": "infinite", + "setPoolFees(uint256)": "infinite", + "setPoolLive(bool)": "infinite", + "setPoolMaxSize(uint256)": "infinite", + "setRewardsInterest(uint256)": "infinite", + "setRewardsInterval(uint256)": "infinite", + "supportsInterface(bytes4)": "506", + "symbol()": "infinite", + "totalSupply()": "2371", + "transfer(address,uint256)": "51303", + "transferFrom(address,address,uint256)": "infinite" + }, + "internal": { + "_setRwETHTokenAddress()": "infinite" + } + }, + "methodIdentifiers": { + "DEFAULT_ADMIN_ROLE()": "a217fddf", + "POOL_MANAGER()": "62308e85", + "addPoolManager(address)": "45077e71", + "allowance(address,address)": "dd62ed3e", + "approve(address,uint256)": "095ea7b3", + "balanceOf(address)": "70a08231", + "burn(uint256)": "42966c68", + "calcEthValue(uint256)": "12946fe1", + "calcRwEthValue(uint256)": "3ef3183c", + "decimals()": "313ce567", + "decreaseAllowance(address,uint256)": "a457c2d7", + "getContributionLimit()": "fa1e19e5", + "getPoolFees()": "d1d8d060", + "getPoolMaxSize()": "095df57f", + "getPoolState()": "217ac237", + "getRewardsInterest()": "7521796f", + "getRewardsInterval()": "497d0241", + "getRoleAdmin(bytes32)": "248a9ca3", + "getUnitPrice()": "012a33aa", + "grantRole(bytes32,address)": "2f2ff15d", + "hasRole(bytes32,address)": "91d14854", + "increaseAllowance(address,uint256)": "39509351", + "mint(address,uint256)": "40c10f19", + "name()": "06fdde03", + "removePoolManager(address)": "29ca15bc", + "renounceRole(bytes32,address)": "36568abe", + "revokeRole(bytes32,address)": "d547741f", + "setContributionLimit(uint256)": "72d099a0", + "setMinContribution()": "543edfb6", + "setMinContribution(uint256)": "473b0d46", + "setPoolFees(uint256)": "8dd225d5", + "setPoolLive(bool)": "a4975516", + "setPoolMaxSize(uint256)": "12646987", + "setRewardsInterest(uint256)": "bf4c0036", + "setRewardsInterval(uint256)": "53710f49", + "supportsInterface(bytes4)": "01ffc9a7", + "symbol()": "95d89b41", + "totalSupply()": "18160ddd", + "transfer(address,uint256)": "a9059cbb", + "transferFrom(address,address,uint256)": "23b872dd" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract DataStorageInterface\",\"name\":\"_dataStorageAddress\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_removedManager\",\"type\":\"address\"}],\"name\":\"ManagerRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_newManager\",\"type\":\"address\"}],\"name\":\"NewManagerAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_rwEthAmount\",\"type\":\"uint256\"}],\"name\":\"TokensBurned\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_rwEthAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_ethAmount\",\"type\":\"uint256\"}],\"name\":\"TokensMinted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"POOL_MANAGER\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"addPoolManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_rwEthAmount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_rwEthAmount\",\"type\":\"uint256\"}],\"name\":\"calcEthValue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_ethAmount\",\"type\":\"uint256\"}],\"name\":\"calcRwEthValue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getContributionLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolMaxSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolState\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsInterest\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsInterval\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getUnitPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_ethAmount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"removePoolManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newContrLimit\",\"type\":\"uint256\"}],\"name\":\"setContributionLimit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newMinContr\",\"type\":\"uint256\"}],\"name\":\"setMinContribution\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"setMinContribution\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_poolFees\",\"type\":\"uint256\"}],\"name\":\"setPoolFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_live\",\"type\":\"bool\"}],\"name\":\"setPoolLive\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxSize\",\"type\":\"uint256\"}],\"name\":\"setPoolMaxSize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_rewardsInterest\",\"type\":\"uint256\"}],\"name\":\"setRewardsInterest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_daysToRewards\",\"type\":\"uint256\"}],\"name\":\"setRewardsInterval\",\"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\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"allowance(address,address)\":{\"details\":\"See {IERC20-allowance}.\"},\"approve(address,uint256)\":{\"details\":\"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address.\"},\"balanceOf(address)\":{\"details\":\"See {IERC20-balanceOf}.\"},\"burn(uint256)\":{\"details\":\"Burns rwEther.\"},\"calcEthValue(uint256)\":{\"details\":\"Calculate the equivalent Ether to a certain rwEther amount.\"},\"calcRwEthValue(uint256)\":{\"details\":\"Calculate the equivalent rwEther to a certain Ether amount.\"},\"decimals()\":{\"details\":\"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the value {ERC20} uses, unless this function is overridden; NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}.\"},\"decreaseAllowance(address,uint256)\":{\"details\":\"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`.\"},\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"getUnitPrice()\":{\"details\":\"Calculate the Eth / rwEth ratio a.k.a rwEth price expressed in Ether (wei)\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"increaseAllowance(address,uint256)\":{\"details\":\"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address.\"},\"mint(address,uint256)\":{\"details\":\"Mints reward ether (rwEth) as a receipt of investment.\"},\"name()\":{\"details\":\"Returns the name of the token.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role.\"},\"setContributionLimit(uint256)\":{\"details\":\"Set the max. contribution allowed for each user.\",\"params\":{\"_newContrLimit\":\"is a WEI value.\"}},\"setMinContribution(uint256)\":{\"details\":\"Set the min. contribution allowed for each user.\",\"params\":{\"_newMinContr\":\"is a WEI value.\"}},\"setPoolFees(uint256)\":{\"details\":\"Set the pool fees fraction that the pool charges for each deposit.\",\"params\":{\"_poolFees\":\"within the storage has 6 decimals.\"}},\"setPoolLive(bool)\":{\"details\":\"Toggles the Pool Investing Switch. \"},\"setPoolMaxSize(uint256)\":{\"details\":\"Sets the Pool Maximium size expressed on ether.\",\"params\":{\"_maxSize\":\"is a WEI value (or BigInt / BigNumber).\"}},\"setRewardsInterest(uint256)\":{\"details\":\"Set the interest per effective period.\",\"params\":{\"_rewardsInterest\":\"within the storage has 6 decimals.\"}},\"setRewardsInterval(uint256)\":{\"details\":\"Set the interval in days of the rewards period.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"},\"symbol()\":{\"details\":\"Returns the symbol of the token, usually a shorter version of the name.\"},\"totalSupply()\":{\"details\":\"See {IERC20-totalSupply}.\"},\"transfer(address,uint256)\":{\"details\":\"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"burn(uint256)\":{\"notice\":\"Used while withdrawing funds to keep balanced the system.No counterpart of ethers are transfered back to the burner while performing this call.After calling this function, it is needed to perform the ether counterpart transfer to the involved parts.\"},\"setPoolFees(uint256)\":{\"notice\":\"E.G. If 0.001235 fees fraction are desired, 0.001235 * (10**6) = 1235.Also it sets the state variable \\\"poolFeesSet\\\" as true.\"},\"setPoolLive(bool)\":{\"notice\":\"While live, anyone can invest but any state variable can be modified nor deleted.\"},\"setRewardsInterest(uint256)\":{\"notice\":\"E.G. If 0.001134 rate is desired, 0.001134 * (10**6) = 1134.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/rwETHToken.sol\":\"rwETHToken\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/DataStorageInterface.sol\":{\"keccak256\":\"0x2136bae23b43613eea5248f48da3a33c0fd5c9090337d43a31b943912ef8203b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7a084874e9224800b6b710f304a926ef04eab7cd361d9fb87a073b52dd4e2a6\",\"dweb:/ipfs/QmWZJKF1ReW1d3aXvZRL75QuuGfskLLvi2TwbtV4QRFTob\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol\":{\"keccak256\":\"0x915945c322eecea4d77e49da6ae7e69cc377bbc275a851dea233a8816780b6ff\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7027b622a79b11c1fe2e697567c7869459dd0a003ac4174d68faf3328f59cb1f\",\"dweb:/ipfs/QmUxsT4rPoNBKstE6s1uGEzZA9UryN8xzdrkoZTnUk9NrF\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/TokenBalancesInterface.sol\":{\"keccak256\":\"0xd6204ae29996eea9a0e9f5ac6f99dc2766bff2af30e9c474988494e87a87d76a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c005ad64c1f6e4a66ec63625939404fd024fd1c9df1f3d20422065ca8744141f\",\"dweb:/ipfs/QmSveqBGxZXFWLYZqAasz4nR3Un5n2SxMjBKnrDxFmxwYp\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/rwETHToken.sol\":{\"keccak256\":\"0x5a0cb86e743621532431a537e59d7cd8a14354e8cff274682eae08cf72ea242b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be673b2cb56db5db262724601d108f954f4e143edd84fa15cc5b90d1e0c6f347\",\"dweb:/ipfs/QmaP8bkfsxSrJ5ay1359GVczLPbAoSdBYjmFLZRLryTMhi\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0x4a1a0ba12bf1a33f10d9fe226278cf59675c0b929d29e4da99658a079b27fb84\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bda1319db846d6d6f92d8a57a9bdee8bde1dc39aa7546165791692c24dd6f30a\",\"dweb:/ipfs/Qma5oZ7DmbdAjd8mpiW7mx896PDtwsQtCQ2hj9Upf7b7JK\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol\":{\"keccak256\":\"0x0e9621f60b2faabe65549f7ed0f24e8853a45c1b7990d47e8160e523683f3935\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://287a2f8d5814dd0f05f22b740f18ca8321acc21c9bd03a6cb2203ea626e2f3f2\",\"dweb:/ipfs/QmZRQv9iuwU817VuqkA2WweiaibKii69x9QxYBBEfbNEud\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol\":{\"keccak256\":\"0xdadd41acb749920eccf40aeaa8d291adf9751399a7343561bad13e7a8d99be0b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12af4ac016f9fdf3be5d15824f4292272aa11f6b2e0192a0f7320f5ad49bbbf0\",\"dweb:/ipfs/QmRXMpdqCgA3TYuYxBodqs5p9jGbnMW6xa2gvjppvq4TWk\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xbbc8ac883ac3c0078ce5ad3e288fbb3ffcc8a30c3a98c0fda0114d64fc44fca2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87a7a5d2f6f63f84598af02b8c50ca2df2631cb8ba2453e8d95fcb17e4be9824\",\"dweb:/ipfs/QmR76hqtAcRqoFj33tmNjcWTLrgNsAaakYwnKZ8zoJtKei\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\":{\"keccak256\":\"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd\",\"dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}", + "storageLayout": { + "storage": [ + { + "astId": 1076, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/rwETHToken.sol:rwETHToken", + "label": "_roles", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_bytes32,t_struct(RoleData)1071_storage)" + }, + { + "astId": 1444, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/rwETHToken.sol:rwETHToken", + "label": "_status", + "offset": 0, + "slot": "1", + "type": "t_uint256" + }, + { + "astId": 140, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/rwETHToken.sol:rwETHToken", + "label": "dataStorage", + "offset": 0, + "slot": "2", + "type": "t_contract(DataStorageInterface)113" + }, + { + "astId": 1489, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/rwETHToken.sol:rwETHToken", + "label": "_balances", + "offset": 0, + "slot": "3", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 1495, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/rwETHToken.sol:rwETHToken", + "label": "_allowances", + "offset": 0, + "slot": "4", + "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))" + }, + { + "astId": 1497, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/rwETHToken.sol:rwETHToken", + "label": "_totalSupply", + "offset": 0, + "slot": "5", + "type": "t_uint256" + }, + { + "astId": 1499, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/rwETHToken.sol:rwETHToken", + "label": "_name", + "offset": 0, + "slot": "6", + "type": "t_string_storage" + }, + { + "astId": 1501, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/rwETHToken.sol:rwETHToken", + "label": "_symbol", + "offset": 0, + "slot": "7", + "type": "t_string_storage" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_contract(DataStorageInterface)113": { + "encoding": "inplace", + "label": "contract DataStorageInterface", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_bool)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_address,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_mapping(t_bytes32,t_struct(RoleData)1071_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => struct AccessControl.RoleData)", + "numberOfBytes": "32", + "value": "t_struct(RoleData)1071_storage" + }, + "t_string_storage": { + "encoding": "bytes", + "label": "string", + "numberOfBytes": "32" + }, + "t_struct(RoleData)1071_storage": { + "encoding": "inplace", + "label": "struct AccessControl.RoleData", + "members": [ + { + "astId": 1068, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/rwETHToken.sol:rwETHToken", + "label": "members", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 1070, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/rwETHToken.sol:rwETHToken", + "label": "adminRole", + "offset": 0, + "slot": "1", + "type": "t_bytes32" + } + ], + "numberOfBytes": "64" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } + }, + "userdoc": { + "kind": "user", + "methods": { + "burn(uint256)": { + "notice": "Used while withdrawing funds to keep balanced the system.No counterpart of ethers are transfered back to the burner while performing this call.After calling this function, it is needed to perform the ether counterpart transfer to the involved parts." + }, + "setPoolFees(uint256)": { + "notice": "E.G. If 0.001235 fees fraction are desired, 0.001235 * (10**6) = 1235.Also it sets the state variable \"poolFeesSet\" as true." + }, + "setPoolLive(bool)": { + "notice": "While live, anyone can invest but any state variable can be modified nor deleted." + }, + "setRewardsInterest(uint256)": { + "notice": "E.G. If 0.001134 rate is desired, 0.001134 * (10**6) = 1134." + } + }, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol": { + "AccessControl": { + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "devdoc": { + "details": "Contract module that allows children to implement role-based access control mechanisms. This is a lightweight version that doesn't allow enumerating role members except through off-chain means by accessing the contract event logs. Some applications may benefit from on-chain enumerability, for those cases see {AccessControlEnumerable}. Roles are referred to by their `bytes32` identifier. These should be exposed in the external API and be unique. The best way to achieve this is by using `public constant` hash digests: ``` bytes32 public constant MY_ROLE = keccak256(\"MY_ROLE\"); ``` Roles can be used to represent a set of permissions. To restrict access to a function call, use {hasRole}: ``` function foo() public { require(hasRole(MY_ROLE, msg.sender)); ... } ``` Roles can be granted and revoked dynamically via the {grantRole} and {revokeRole} functions. Each role has an associated admin role, and only accounts that have a role's admin role can call {grantRole} and {revokeRole}. By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means that only accounts with this role will be able to grant or revoke other roles. More complex role relationships can be created by using {_setRoleAdmin}. WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to grant and revoke this role. Extra precautions should be taken to secure accounts that have been granted it.", + "kind": "dev", + "methods": { + "getRoleAdmin(bytes32)": { + "details": "Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}." + }, + "grantRole(bytes32,address)": { + "details": "Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role." + }, + "hasRole(bytes32,address)": { + "details": "Returns `true` if `account` has been granted `role`." + }, + "renounceRole(bytes32,address)": { + "details": "Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`." + }, + "revokeRole(bytes32,address)": { + "details": "Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role." + }, + "supportsInterface(bytes4)": { + "details": "See {IERC165-supportsInterface}." + } + }, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "DEFAULT_ADMIN_ROLE()": "a217fddf", + "getRoleAdmin(bytes32)": "248a9ca3", + "grantRole(bytes32,address)": "2f2ff15d", + "hasRole(bytes32,address)": "91d14854", + "renounceRole(bytes32,address)": "36568abe", + "revokeRole(bytes32,address)": "d547741f", + "supportsInterface(bytes4)": "01ffc9a7" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Contract module that allows children to implement role-based access control mechanisms. This is a lightweight version that doesn't allow enumerating role members except through off-chain means by accessing the contract event logs. Some applications may benefit from on-chain enumerability, for those cases see {AccessControlEnumerable}. Roles are referred to by their `bytes32` identifier. These should be exposed in the external API and be unique. The best way to achieve this is by using `public constant` hash digests: ``` bytes32 public constant MY_ROLE = keccak256(\\\"MY_ROLE\\\"); ``` Roles can be used to represent a set of permissions. To restrict access to a function call, use {hasRole}: ``` function foo() public { require(hasRole(MY_ROLE, msg.sender)); ... } ``` Roles can be granted and revoked dynamically via the {grantRole} and {revokeRole} functions. Each role has an associated admin role, and only accounts that have a role's admin role can call {grantRole} and {revokeRole}. By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means that only accounts with this role will be able to grant or revoke other roles. More complex role relationships can be created by using {_setRoleAdmin}. WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to grant and revoke this role. Extra precautions should be taken to secure accounts that have been granted it.\",\"kind\":\"dev\",\"methods\":{\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol\":\"AccessControl\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0x4a1a0ba12bf1a33f10d9fe226278cf59675c0b929d29e4da99658a079b27fb84\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bda1319db846d6d6f92d8a57a9bdee8bde1dc39aa7546165791692c24dd6f30a\",\"dweb:/ipfs/Qma5oZ7DmbdAjd8mpiW7mx896PDtwsQtCQ2hj9Upf7b7JK\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}", + "storageLayout": { + "storage": [ + { + "astId": 1076, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol:AccessControl", + "label": "_roles", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_bytes32,t_struct(RoleData)1071_storage)" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_bool": { + "encoding": "inplace", + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "encoding": "inplace", + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_bool)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => bool)", + "numberOfBytes": "32", + "value": "t_bool" + }, + "t_mapping(t_bytes32,t_struct(RoleData)1071_storage)": { + "encoding": "mapping", + "key": "t_bytes32", + "label": "mapping(bytes32 => struct AccessControl.RoleData)", + "numberOfBytes": "32", + "value": "t_struct(RoleData)1071_storage" + }, + "t_struct(RoleData)1071_storage": { + "encoding": "inplace", + "label": "struct AccessControl.RoleData", + "members": [ + { + "astId": 1068, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol:AccessControl", + "label": "members", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_address,t_bool)" + }, + { + "astId": 1070, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol:AccessControl", + "label": "adminRole", + "offset": 0, + "slot": "1", + "type": "t_bytes32" + } + ], + "numberOfBytes": "64" + } + } + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol": { + "IAccessControl": { + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "devdoc": { + "details": "External interface of AccessControl declared to support ERC165 detection.", + "events": { + "RoleAdminChanged(bytes32,bytes32,bytes32)": { + "details": "Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite {RoleAdminChanged} not being emitted signaling this. _Available since v3.1._" + }, + "RoleGranted(bytes32,address,address)": { + "details": "Emitted when `account` is granted `role`. `sender` is the account that originated the contract call, an admin role bearer except when using {AccessControl-_setupRole}." + }, + "RoleRevoked(bytes32,address,address)": { + "details": "Emitted when `account` is revoked `role`. `sender` is the account that originated the contract call: - if using `revokeRole`, it is the admin role bearer - if using `renounceRole`, it is the role bearer (i.e. `account`)" + } + }, + "kind": "dev", + "methods": { + "getRoleAdmin(bytes32)": { + "details": "Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {AccessControl-_setRoleAdmin}." + }, + "grantRole(bytes32,address)": { + "details": "Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role." + }, + "hasRole(bytes32,address)": { + "details": "Returns `true` if `account` has been granted `role`." + }, + "renounceRole(bytes32,address)": { + "details": "Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`." + }, + "revokeRole(bytes32,address)": { + "details": "Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role." + } + }, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "getRoleAdmin(bytes32)": "248a9ca3", + "grantRole(bytes32,address)": "2f2ff15d", + "hasRole(bytes32,address)": "91d14854", + "renounceRole(bytes32,address)": "36568abe", + "revokeRole(bytes32,address)": "d547741f" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"External interface of AccessControl declared to support ERC165 detection.\",\"events\":{\"RoleAdminChanged(bytes32,bytes32,bytes32)\":{\"details\":\"Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite {RoleAdminChanged} not being emitted signaling this. _Available since v3.1._\"},\"RoleGranted(bytes32,address,address)\":{\"details\":\"Emitted when `account` is granted `role`. `sender` is the account that originated the contract call, an admin role bearer except when using {AccessControl-_setupRole}.\"},\"RoleRevoked(bytes32,address,address)\":{\"details\":\"Emitted when `account` is revoked `role`. `sender` is the account that originated the contract call: - if using `revokeRole`, it is the admin role bearer - if using `renounceRole`, it is the role bearer (i.e. `account`)\"}},\"kind\":\"dev\",\"methods\":{\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {AccessControl-_setRoleAdmin}.\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":\"IAccessControl\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol": { + "ReentrancyGuard": { + "abi": [], + "devdoc": { + "details": "Contract module that helps prevent reentrant calls to a function. Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier available, which can be applied to functions to make sure there are no nested (reentrant) calls to them. Note that because there is a single `nonReentrant` guard, functions marked as `nonReentrant` may not call one another. This can be worked around by making those functions `private`, and then adding `external` `nonReentrant` entry points to them. TIP: If you would like to learn more about reentrancy and alternative ways to protect against it, check out our blog post https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].", + "kind": "dev", + "methods": {}, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": {} + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Contract module that helps prevent reentrant calls to a function. Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier available, which can be applied to functions to make sure there are no nested (reentrant) calls to them. Note that because there is a single `nonReentrant` guard, functions marked as `nonReentrant` may not call one another. This can be worked around by making those functions `private`, and then adding `external` `nonReentrant` entry points to them. TIP: If you would like to learn more about reentrancy and alternative ways to protect against it, check out our blog post https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol\":\"ReentrancyGuard\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol\":{\"keccak256\":\"0x0e9621f60b2faabe65549f7ed0f24e8853a45c1b7990d47e8160e523683f3935\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://287a2f8d5814dd0f05f22b740f18ca8321acc21c9bd03a6cb2203ea626e2f3f2\",\"dweb:/ipfs/QmZRQv9iuwU817VuqkA2WweiaibKii69x9QxYBBEfbNEud\"]}},\"version\":1}", + "storageLayout": { + "storage": [ + { + "astId": 1444, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol:ReentrancyGuard", + "label": "_status", + "offset": 0, + "slot": "0", + "type": "t_uint256" + } + ], + "types": { + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol": { + "ERC20": { + "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": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "spender", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "decimals", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "subtractedValue", + "type": "uint256" + } + ], + "name": "decreaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "addedValue", + "type": "uint256" + } + ], + "name": "increaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "symbol", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "devdoc": { + "details": "Implementation of the {IERC20} interface. This implementation is agnostic to the way tokens are created. This means that a supply mechanism has to be added in a derived contract using {_mint}. For a generic mechanism see {ERC20PresetMinterPauser}. TIP: For a detailed writeup see our guide https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How to implement supply mechanisms]. We have followed general OpenZeppelin Contracts guidelines: functions revert instead returning `false` on failure. This behavior is nonetheless conventional and does not conflict with the expectations of ERC20 applications. Additionally, an {Approval} event is emitted on calls to {transferFrom}. This allows applications to reconstruct the allowance for all accounts just by listening to said events. Other implementations of the EIP may not emit these events, as it isn't required by the specification. Finally, the non-standard {decreaseAllowance} and {increaseAllowance} functions have been added to mitigate the well-known issues around setting allowances. See {IERC20-approve}.", + "kind": "dev", + "methods": { + "allowance(address,address)": { + "details": "See {IERC20-allowance}." + }, + "approve(address,uint256)": { + "details": "See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address." + }, + "balanceOf(address)": { + "details": "See {IERC20-balanceOf}." + }, + "constructor": { + "details": "Sets the values for {name} and {symbol}. The default value of {decimals} is 18. To select a different value for {decimals} you should overload it. All two of these values are immutable: they can only be set once during construction." + }, + "decimals()": { + "details": "Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the value {ERC20} uses, unless this function is overridden; NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}." + }, + "decreaseAllowance(address,uint256)": { + "details": "Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`." + }, + "increaseAllowance(address,uint256)": { + "details": "Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address." + }, + "name()": { + "details": "Returns the name of the token." + }, + "symbol()": { + "details": "Returns the symbol of the token, usually a shorter version of the name." + }, + "totalSupply()": { + "details": "See {IERC20-totalSupply}." + }, + "transfer(address,uint256)": { + "details": "See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`." + }, + "transferFrom(address,address,uint256)": { + "details": "See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`." + } + }, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": { + "@_1518": { + "entryPoint": null, + "id": 1518, + "parameterSlots": 2, + "returnSlots": 0 + }, + "abi_decode_string_fromMemory": { + "entryPoint": 292, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_string_memory_ptrt_string_memory_ptr_fromMemory": { + "entryPoint": 475, + "id": null, + "parameterSlots": 2, + "returnSlots": 2 + }, + "extract_byte_array_length": { + "entryPoint": 581, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "panic_error_0x41": { + "entryPoint": 270, + "id": null, + "parameterSlots": 0, + "returnSlots": 0 + } + }, + "generatedSources": [ + { + "ast": { + "nodeType": "YulBlock", + "src": "0:1985:14", + "statements": [ + { + "nodeType": "YulBlock", + "src": "6:3:14", + "statements": [] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "46:95:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "63:1:14", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "70:3:14", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "75:10:14", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "66:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "66:20:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "56:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "56:31:14" + }, + "nodeType": "YulExpressionStatement", + "src": "56:31:14" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "103:1:14", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "106:4:14", + "type": "", + "value": "0x41" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "96:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "96:15:14" + }, + "nodeType": "YulExpressionStatement", + "src": "96:15:14" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "127:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "130:4:14", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "120:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "120:15:14" + }, + "nodeType": "YulExpressionStatement", + "src": "120:15:14" + } + ] + }, + "name": "panic_error_0x41", + "nodeType": "YulFunctionDefinition", + "src": "14:127:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "210:821:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "259:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "268:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "271:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "261:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "261:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "261:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "238:6:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "246:4:14", + "type": "", + "value": "0x1f" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "234:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "234:17:14" + }, + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "253:3:14" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "230:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "230:27:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "223:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "223:35:14" + }, + "nodeType": "YulIf", + "src": "220:55:14" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "284:23:14", + "value": { + "arguments": [ + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "300:6:14" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "294:5:14" + }, + "nodeType": "YulFunctionCall", + "src": "294:13:14" + }, + "variables": [ + { + "name": "_1", + "nodeType": "YulTypedName", + "src": "288:2:14", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "316:28:14", + "value": { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "334:2:14", + "type": "", + "value": "64" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "338:1:14", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "330:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "330:10:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "342:1:14", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "326:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "326:18:14" + }, + "variables": [ + { + "name": "_2", + "nodeType": "YulTypedName", + "src": "320:2:14", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "367:22:14", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x41", + "nodeType": "YulIdentifier", + "src": "369:16:14" + }, + "nodeType": "YulFunctionCall", + "src": "369:18:14" + }, + "nodeType": "YulExpressionStatement", + "src": "369:18:14" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "359:2:14" + }, + { + "name": "_2", + "nodeType": "YulIdentifier", + "src": "363:2:14" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "356:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "356:10:14" + }, + "nodeType": "YulIf", + "src": "353:36:14" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "398:17:14", + "value": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "412:2:14", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "408:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "408:7:14" + }, + "variables": [ + { + "name": "_3", + "nodeType": "YulTypedName", + "src": "402:2:14", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "424:23:14", + "value": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "444:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "438:5:14" + }, + "nodeType": "YulFunctionCall", + "src": "438:9:14" + }, + "variables": [ + { + "name": "memPtr", + "nodeType": "YulTypedName", + "src": "428:6:14", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "456:71:14", + "value": { + "arguments": [ + { + "name": "memPtr", + "nodeType": "YulIdentifier", + "src": "478:6:14" + }, + { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "502:2:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "506:4:14", + "type": "", + "value": "0x1f" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "498:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "498:13:14" + }, + { + "name": "_3", + "nodeType": "YulIdentifier", + "src": "513:2:14" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "494:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "494:22:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "518:2:14", + "type": "", + "value": "63" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "490:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "490:31:14" + }, + { + "name": "_3", + "nodeType": "YulIdentifier", + "src": "523:2:14" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "486:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "486:40:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "474:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "474:53:14" + }, + "variables": [ + { + "name": "newFreePtr", + "nodeType": "YulTypedName", + "src": "460:10:14", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "586:22:14", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error_0x41", + "nodeType": "YulIdentifier", + "src": "588:16:14" + }, + "nodeType": "YulFunctionCall", + "src": "588:18:14" + }, + "nodeType": "YulExpressionStatement", + "src": "588:18:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "newFreePtr", + "nodeType": "YulIdentifier", + "src": "545:10:14" + }, + { + "name": "_2", + "nodeType": "YulIdentifier", + "src": "557:2:14" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "542:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "542:18:14" + }, + { + "arguments": [ + { + "name": "newFreePtr", + "nodeType": "YulIdentifier", + "src": "565:10:14" + }, + { + "name": "memPtr", + "nodeType": "YulIdentifier", + "src": "577:6:14" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "562:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "562:22:14" + } + ], + "functionName": { + "name": "or", + "nodeType": "YulIdentifier", + "src": "539:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "539:46:14" + }, + "nodeType": "YulIf", + "src": "536:72:14" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "624:2:14", + "type": "", + "value": "64" + }, + { + "name": "newFreePtr", + "nodeType": "YulIdentifier", + "src": "628:10:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "617:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "617:22:14" + }, + "nodeType": "YulExpressionStatement", + "src": "617:22:14" + }, + { + "expression": { + "arguments": [ + { + "name": "memPtr", + "nodeType": "YulIdentifier", + "src": "655:6:14" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "663:2:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "648:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "648:18:14" + }, + "nodeType": "YulExpressionStatement", + "src": "648:18:14" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "675:14:14", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "685:4:14", + "type": "", + "value": "0x20" + }, + "variables": [ + { + "name": "_4", + "nodeType": "YulTypedName", + "src": "679:2:14", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "735:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "744:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "747:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "737:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "737:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "737:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "712:6:14" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "720:2:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "708:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "708:15:14" + }, + { + "name": "_4", + "nodeType": "YulIdentifier", + "src": "725:2:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "704:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "704:24:14" + }, + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "730:3:14" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "701:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "701:33:14" + }, + "nodeType": "YulIf", + "src": "698:53:14" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "760:10:14", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "769:1:14", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "i", + "nodeType": "YulTypedName", + "src": "764:1:14", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "825:87:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nodeType": "YulIdentifier", + "src": "854:6:14" + }, + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "862:1:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "850:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "850:14:14" + }, + { + "name": "_4", + "nodeType": "YulIdentifier", + "src": "866:2:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "846:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "846:23:14" + }, + { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "885:6:14" + }, + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "893:1:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "881:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "881:14:14" + }, + { + "name": "_4", + "nodeType": "YulIdentifier", + "src": "897:2:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "877:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "877:23:14" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "871:5:14" + }, + "nodeType": "YulFunctionCall", + "src": "871:30:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "839:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "839:63:14" + }, + "nodeType": "YulExpressionStatement", + "src": "839:63:14" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "790:1:14" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "793:2:14" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "787:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "787:9:14" + }, + "nodeType": "YulForLoop", + "post": { + "nodeType": "YulBlock", + "src": "797:19:14", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "799:15:14", + "value": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "808:1:14" + }, + { + "name": "_4", + "nodeType": "YulIdentifier", + "src": "811:2:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "804:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "804:10:14" + }, + "variableNames": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "799:1:14" + } + ] + } + ] + }, + "pre": { + "nodeType": "YulBlock", + "src": "783:3:14", + "statements": [] + }, + "src": "779:133:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "942:59:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "name": "memPtr", + "nodeType": "YulIdentifier", + "src": "971:6:14" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "979:2:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "967:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "967:15:14" + }, + { + "name": "_4", + "nodeType": "YulIdentifier", + "src": "984:2:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "963:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "963:24:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "989:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "956:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "956:35:14" + }, + "nodeType": "YulExpressionStatement", + "src": "956:35:14" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "927:1:14" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "930:2:14" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "924:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "924:9:14" + }, + "nodeType": "YulIf", + "src": "921:80:14" + }, + { + "nodeType": "YulAssignment", + "src": "1010:15:14", + "value": { + "name": "memPtr", + "nodeType": "YulIdentifier", + "src": "1019:6:14" + }, + "variableNames": [ + { + "name": "array", + "nodeType": "YulIdentifier", + "src": "1010:5:14" + } + ] + } + ] + }, + "name": "abi_decode_string_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "184:6:14", + "type": "" + }, + { + "name": "end", + "nodeType": "YulTypedName", + "src": "192:3:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "array", + "nodeType": "YulTypedName", + "src": "200:5:14", + "type": "" + } + ], + "src": "146:885:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1154:444:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1200:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1209:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1212:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1202:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1202:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "1202:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "1175:7:14" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1184:9:14" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1171:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1171:23:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1196:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "1167:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1167:32:14" + }, + "nodeType": "YulIf", + "src": "1164:52:14" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "1225:30:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1245:9:14" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "1239:5:14" + }, + "nodeType": "YulFunctionCall", + "src": "1239:16:14" + }, + "variables": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "1229:6:14", + "type": "" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "1264:28:14", + "value": { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1282:2:14", + "type": "", + "value": "64" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1286:1:14", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "1278:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1278:10:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1290:1:14", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1274:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1274:18:14" + }, + "variables": [ + { + "name": "_1", + "nodeType": "YulTypedName", + "src": "1268:2:14", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1319:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1328:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1331:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1321:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1321:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "1321:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "1307:6:14" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "1315:2:14" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "1304:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "1304:14:14" + }, + "nodeType": "YulIf", + "src": "1301:34:14" + }, + { + "nodeType": "YulAssignment", + "src": "1344:71:14", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1387:9:14" + }, + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "1398:6:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1383:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1383:22:14" + }, + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "1407:7:14" + } + ], + "functionName": { + "name": "abi_decode_string_fromMemory", + "nodeType": "YulIdentifier", + "src": "1354:28:14" + }, + "nodeType": "YulFunctionCall", + "src": "1354:61:14" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1344:6:14" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "1424:41:14", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1450:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1461:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1446:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1446:18:14" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "1440:5:14" + }, + "nodeType": "YulFunctionCall", + "src": "1440:25:14" + }, + "variables": [ + { + "name": "offset_1", + "nodeType": "YulTypedName", + "src": "1428:8:14", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1494:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1503:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1506:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1496:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1496:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "1496:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "offset_1", + "nodeType": "YulIdentifier", + "src": "1480:8:14" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "1490:2:14" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "1477:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "1477:16:14" + }, + "nodeType": "YulIf", + "src": "1474:36:14" + }, + { + "nodeType": "YulAssignment", + "src": "1519:73:14", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1562:9:14" + }, + { + "name": "offset_1", + "nodeType": "YulIdentifier", + "src": "1573:8:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1558:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1558:24:14" + }, + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "1584:7:14" + } + ], + "functionName": { + "name": "abi_decode_string_fromMemory", + "nodeType": "YulIdentifier", + "src": "1529:28:14" + }, + "nodeType": "YulFunctionCall", + "src": "1529:63:14" + }, + "variableNames": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "1519:6:14" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_string_memory_ptrt_string_memory_ptr_fromMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1112:9:14", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "1123:7:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1135:6:14", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "1143:6:14", + "type": "" + } + ], + "src": "1036:562:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1658:325:14", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "1668:22:14", + "value": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1682:1:14", + "type": "", + "value": "1" + }, + { + "name": "data", + "nodeType": "YulIdentifier", + "src": "1685:4:14" + } + ], + "functionName": { + "name": "shr", + "nodeType": "YulIdentifier", + "src": "1678:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1678:12:14" + }, + "variableNames": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "1668:6:14" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "1699:38:14", + "value": { + "arguments": [ + { + "name": "data", + "nodeType": "YulIdentifier", + "src": "1729:4:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1735:1:14", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "1725:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1725:12:14" + }, + "variables": [ + { + "name": "outOfPlaceEncoding", + "nodeType": "YulTypedName", + "src": "1703:18:14", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1776:31:14", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "1778:27:14", + "value": { + "arguments": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "1792:6:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1800:4:14", + "type": "", + "value": "0x7f" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "1788:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1788:17:14" + }, + "variableNames": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "1778:6:14" + } + ] + } + ] + }, + "condition": { + "arguments": [ + { + "name": "outOfPlaceEncoding", + "nodeType": "YulIdentifier", + "src": "1756:18:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "1749:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1749:26:14" + }, + "nodeType": "YulIf", + "src": "1746:61:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1866:111:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1887:1:14", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1894:3:14", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1899:10:14", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "1890:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1890:20:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1880:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1880:31:14" + }, + "nodeType": "YulExpressionStatement", + "src": "1880:31:14" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1931:1:14", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1934:4:14", + "type": "", + "value": "0x22" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1924:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1924:15:14" + }, + "nodeType": "YulExpressionStatement", + "src": "1924:15:14" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1959:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1962:4:14", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1952:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1952:15:14" + }, + "nodeType": "YulExpressionStatement", + "src": "1952:15:14" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "outOfPlaceEncoding", + "nodeType": "YulIdentifier", + "src": "1822:18:14" + }, + { + "arguments": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "1845:6:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1853:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "1842:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "1842:14:14" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "1819:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "1819:38:14" + }, + "nodeType": "YulIf", + "src": "1816:161:14" + } + ] + }, + "name": "extract_byte_array_length", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "data", + "nodeType": "YulTypedName", + "src": "1638:4:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "1647:6:14", + "type": "" + } + ], + "src": "1603:380:14" + } + ] + }, + "contents": "{\n { }\n function panic_error_0x41()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n function abi_decode_string_fromMemory(offset, end) -> array\n {\n if iszero(slt(add(offset, 0x1f), end)) { revert(0, 0) }\n let _1 := mload(offset)\n let _2 := sub(shl(64, 1), 1)\n if gt(_1, _2) { panic_error_0x41() }\n let _3 := not(31)\n let memPtr := mload(64)\n let newFreePtr := add(memPtr, and(add(and(add(_1, 0x1f), _3), 63), _3))\n if or(gt(newFreePtr, _2), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n mstore(64, newFreePtr)\n mstore(memPtr, _1)\n let _4 := 0x20\n if gt(add(add(offset, _1), _4), end) { revert(0, 0) }\n let i := 0\n for { } lt(i, _1) { i := add(i, _4) }\n {\n mstore(add(add(memPtr, i), _4), mload(add(add(offset, i), _4)))\n }\n if gt(i, _1)\n {\n mstore(add(add(memPtr, _1), _4), 0)\n }\n array := memPtr\n }\n function abi_decode_tuple_t_string_memory_ptrt_string_memory_ptr_fromMemory(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n let offset := mload(headStart)\n let _1 := sub(shl(64, 1), 1)\n if gt(offset, _1) { revert(0, 0) }\n value0 := abi_decode_string_fromMemory(add(headStart, offset), dataEnd)\n let offset_1 := mload(add(headStart, 32))\n if gt(offset_1, _1) { revert(0, 0) }\n value1 := abi_decode_string_fromMemory(add(headStart, offset_1), dataEnd)\n }\n function extract_byte_array_length(data) -> length\n {\n length := shr(1, data)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) { length := and(length, 0x7f) }\n if eq(outOfPlaceEncoding, lt(length, 32))\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n }\n}", + "id": 14, + "language": "Yul", + "name": "#utility.yul" + } + ], + "linkReferences": {}, + "object": "60806040523480156200001157600080fd5b5060405162000b6038038062000b608339810160408190526200003491620001db565b81516200004990600390602085019062000068565b5080516200005f90600490602084019062000068565b50505062000282565b828054620000769062000245565b90600052602060002090601f0160209004810192826200009a5760008555620000e5565b82601f10620000b557805160ff1916838001178555620000e5565b82800160010185558215620000e5579182015b82811115620000e5578251825591602001919060010190620000c8565b50620000f3929150620000f7565b5090565b5b80821115620000f35760008155600101620000f8565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200013657600080fd5b81516001600160401b03808211156200015357620001536200010e565b604051601f8301601f19908116603f011681019082821181831017156200017e576200017e6200010e565b816040528381526020925086838588010111156200019b57600080fd5b600091505b83821015620001bf5785820183015181830184015290820190620001a0565b83821115620001d15760008385830101525b9695505050505050565b60008060408385031215620001ef57600080fd5b82516001600160401b03808211156200020757600080fd5b620002158683870162000124565b935060208501519150808211156200022c57600080fd5b506200023b8582860162000124565b9150509250929050565b600181811c908216806200025a57607f821691505b602082108114156200027c57634e487b7160e01b600052602260045260246000fd5b50919050565b6108ce80620002926000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80633950935111610071578063395093511461012357806370a082311461013657806395d89b411461015f578063a457c2d714610167578063a9059cbb1461017a578063dd62ed3e1461018d57600080fd5b806306fdde03146100ae578063095ea7b3146100cc57806318160ddd146100ef57806323b872dd14610101578063313ce56714610114575b600080fd5b6100b66101c6565b6040516100c3919061070b565b60405180910390f35b6100df6100da36600461077c565b610258565b60405190151581526020016100c3565b6002545b6040519081526020016100c3565b6100df61010f3660046107a6565b610270565b604051601281526020016100c3565b6100df61013136600461077c565b610294565b6100f36101443660046107e2565b6001600160a01b031660009081526020819052604090205490565b6100b66102d3565b6100df61017536600461077c565b6102e2565b6100df61018836600461077c565b610379565b6100f361019b366004610804565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600380546101d590610837565b80601f016020809104026020016040519081016040528092919081815260200182805461020190610837565b801561024e5780601f106102235761010080835404028352916020019161024e565b820191906000526020600020905b81548152906001019060200180831161023157829003601f168201915b5050505050905090565b600033610266818585610387565b5060019392505050565b60003361027e8582856104ab565b61028985858561053d565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061026690829086906102ce908790610872565b610387565b6060600480546101d590610837565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091908381101561036c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6102898286868403610387565b60003361026681858561053d565b6001600160a01b0383166103e95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610363565b6001600160a01b03821661044a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610363565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610537578181101561052a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610363565b6105378484848403610387565b50505050565b6001600160a01b0383166105a15760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610363565b6001600160a01b0382166106035760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610363565b6001600160a01b0383166000908152602081905260409020548181101561067b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610363565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906106b2908490610872565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516106fe91815260200190565b60405180910390a3610537565b600060208083528351808285015260005b818110156107385785810183015185820160400152820161071c565b8181111561074a576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461077757600080fd5b919050565b6000806040838503121561078f57600080fd5b61079883610760565b946020939093013593505050565b6000806000606084860312156107bb57600080fd5b6107c484610760565b92506107d260208501610760565b9150604084013590509250925092565b6000602082840312156107f457600080fd5b6107fd82610760565b9392505050565b6000806040838503121561081757600080fd5b61082083610760565b915061082e60208401610760565b90509250929050565b600181811c9082168061084b57607f821691505b6020821081141561086c57634e487b7160e01b600052602260045260246000fd5b50919050565b6000821982111561089357634e487b7160e01b600052601160045260246000fd5b50019056fea2646970667358221220cbd8004f6f25238149599be8560fbd0ca18aeaa8a08705190dd45fe14dff358064736f6c63430008090033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH3 0x11 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH3 0xB60 CODESIZE SUB DUP1 PUSH3 0xB60 DUP4 CODECOPY DUP2 ADD PUSH1 0x40 DUP2 SWAP1 MSTORE PUSH3 0x34 SWAP2 PUSH3 0x1DB JUMP JUMPDEST DUP2 MLOAD PUSH3 0x49 SWAP1 PUSH1 0x3 SWAP1 PUSH1 0x20 DUP6 ADD SWAP1 PUSH3 0x68 JUMP JUMPDEST POP DUP1 MLOAD PUSH3 0x5F SWAP1 PUSH1 0x4 SWAP1 PUSH1 0x20 DUP5 ADD SWAP1 PUSH3 0x68 JUMP JUMPDEST POP POP POP PUSH3 0x282 JUMP JUMPDEST DUP3 DUP1 SLOAD PUSH3 0x76 SWAP1 PUSH3 0x245 JUMP JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x1F ADD PUSH1 0x20 SWAP1 DIV DUP2 ADD SWAP3 DUP3 PUSH3 0x9A JUMPI PUSH1 0x0 DUP6 SSTORE PUSH3 0xE5 JUMP JUMPDEST DUP3 PUSH1 0x1F LT PUSH3 0xB5 JUMPI DUP1 MLOAD PUSH1 0xFF NOT AND DUP4 DUP1 ADD OR DUP6 SSTORE PUSH3 0xE5 JUMP JUMPDEST DUP3 DUP1 ADD PUSH1 0x1 ADD DUP6 SSTORE DUP3 ISZERO PUSH3 0xE5 JUMPI SWAP2 DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH3 0xE5 JUMPI DUP3 MLOAD DUP3 SSTORE SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH3 0xC8 JUMP JUMPDEST POP PUSH3 0xF3 SWAP3 SWAP2 POP PUSH3 0xF7 JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH3 0xF3 JUMPI PUSH1 0x0 DUP2 SSTORE PUSH1 0x1 ADD PUSH3 0xF8 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH3 0x136 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP1 DUP3 GT ISZERO PUSH3 0x153 JUMPI PUSH3 0x153 PUSH3 0x10E JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1F DUP4 ADD PUSH1 0x1F NOT SWAP1 DUP2 AND PUSH1 0x3F ADD AND DUP2 ADD SWAP1 DUP3 DUP3 GT DUP2 DUP4 LT OR ISZERO PUSH3 0x17E JUMPI PUSH3 0x17E PUSH3 0x10E JUMP JUMPDEST DUP2 PUSH1 0x40 MSTORE DUP4 DUP2 MSTORE PUSH1 0x20 SWAP3 POP DUP7 DUP4 DUP6 DUP9 ADD ADD GT ISZERO PUSH3 0x19B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 SWAP2 POP JUMPDEST DUP4 DUP3 LT ISZERO PUSH3 0x1BF JUMPI DUP6 DUP3 ADD DUP4 ADD MLOAD DUP2 DUP4 ADD DUP5 ADD MSTORE SWAP1 DUP3 ADD SWAP1 PUSH3 0x1A0 JUMP JUMPDEST DUP4 DUP3 GT ISZERO PUSH3 0x1D1 JUMPI PUSH1 0x0 DUP4 DUP6 DUP4 ADD ADD MSTORE JUMPDEST SWAP7 SWAP6 POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH3 0x1EF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0x40 SHL SUB DUP1 DUP3 GT ISZERO PUSH3 0x207 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH3 0x215 DUP7 DUP4 DUP8 ADD PUSH3 0x124 JUMP JUMPDEST SWAP4 POP PUSH1 0x20 DUP6 ADD MLOAD SWAP2 POP DUP1 DUP3 GT ISZERO PUSH3 0x22C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH3 0x23B DUP6 DUP3 DUP7 ADD PUSH3 0x124 JUMP JUMPDEST SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH3 0x25A JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH3 0x27C JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0x8CE DUP1 PUSH3 0x292 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0xA9 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x39509351 GT PUSH2 0x71 JUMPI DUP1 PUSH4 0x39509351 EQ PUSH2 0x123 JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x136 JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x15F JUMPI DUP1 PUSH4 0xA457C2D7 EQ PUSH2 0x167 JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x17A JUMPI DUP1 PUSH4 0xDD62ED3E EQ PUSH2 0x18D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0xAE JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0xCC JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0xEF JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0x101 JUMPI DUP1 PUSH4 0x313CE567 EQ PUSH2 0x114 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xB6 PUSH2 0x1C6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xC3 SWAP2 SWAP1 PUSH2 0x70B JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xDF PUSH2 0xDA CALLDATASIZE PUSH1 0x4 PUSH2 0x77C JUMP JUMPDEST PUSH2 0x258 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xC3 JUMP JUMPDEST PUSH1 0x2 SLOAD JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xC3 JUMP JUMPDEST PUSH2 0xDF PUSH2 0x10F CALLDATASIZE PUSH1 0x4 PUSH2 0x7A6 JUMP JUMPDEST PUSH2 0x270 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x12 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xC3 JUMP JUMPDEST PUSH2 0xDF PUSH2 0x131 CALLDATASIZE PUSH1 0x4 PUSH2 0x77C JUMP JUMPDEST PUSH2 0x294 JUMP JUMPDEST PUSH2 0xF3 PUSH2 0x144 CALLDATASIZE PUSH1 0x4 PUSH2 0x7E2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD SWAP1 JUMP JUMPDEST PUSH2 0xB6 PUSH2 0x2D3 JUMP JUMPDEST PUSH2 0xDF PUSH2 0x175 CALLDATASIZE PUSH1 0x4 PUSH2 0x77C JUMP JUMPDEST PUSH2 0x2E2 JUMP JUMPDEST PUSH2 0xDF PUSH2 0x188 CALLDATASIZE PUSH1 0x4 PUSH2 0x77C JUMP JUMPDEST PUSH2 0x379 JUMP JUMPDEST PUSH2 0xF3 PUSH2 0x19B CALLDATASIZE PUSH1 0x4 PUSH2 0x804 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 SWAP1 SWAP5 AND DUP3 MSTORE SWAP2 SWAP1 SWAP2 MSTORE KECCAK256 SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x3 DUP1 SLOAD PUSH2 0x1D5 SWAP1 PUSH2 0x837 JUMP JUMPDEST DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP1 SLOAD PUSH2 0x201 SWAP1 PUSH2 0x837 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x24E JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x223 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x24E JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x231 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 CALLER PUSH2 0x266 DUP2 DUP6 DUP6 PUSH2 0x387 JUMP JUMPDEST POP PUSH1 0x1 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 CALLER PUSH2 0x27E DUP6 DUP3 DUP6 PUSH2 0x4AB JUMP JUMPDEST PUSH2 0x289 DUP6 DUP6 DUP6 PUSH2 0x53D JUMP JUMPDEST POP PUSH1 0x1 SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST CALLER PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE DUP2 KECCAK256 SLOAD SWAP1 SWAP2 SWAP1 PUSH2 0x266 SWAP1 DUP3 SWAP1 DUP7 SWAP1 PUSH2 0x2CE SWAP1 DUP8 SWAP1 PUSH2 0x872 JUMP JUMPDEST PUSH2 0x387 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x4 DUP1 SLOAD PUSH2 0x1D5 SWAP1 PUSH2 0x837 JUMP JUMPDEST CALLER PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE DUP2 KECCAK256 SLOAD SWAP1 SWAP2 SWAP1 DUP4 DUP2 LT ISZERO PUSH2 0x36C JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x25 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A2064656372656173656420616C6C6F77616E63652062656C6F77 PUSH1 0x44 DUP3 ADD MSTORE PUSH5 0x207A65726F PUSH1 0xD8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x289 DUP3 DUP7 DUP7 DUP5 SUB PUSH2 0x387 JUMP JUMPDEST PUSH1 0x0 CALLER PUSH2 0x266 DUP2 DUP6 DUP6 PUSH2 0x53D JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH2 0x3E9 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP1 DUP3 ADD MSTORE PUSH32 0x45524332303A20617070726F76652066726F6D20746865207A65726F20616464 PUSH1 0x44 DUP3 ADD MSTORE PUSH4 0x72657373 PUSH1 0xE0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x363 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x44A JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x22 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A20617070726F766520746F20746865207A65726F206164647265 PUSH1 0x44 DUP3 ADD MSTORE PUSH2 0x7373 PUSH1 0xF0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x363 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 DUP2 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP5 DUP8 AND DUP1 DUP5 MSTORE SWAP5 DUP3 MSTORE SWAP2 DUP3 SWAP1 KECCAK256 DUP6 SWAP1 SSTORE SWAP1 MLOAD DUP5 DUP2 MSTORE PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 SWAP2 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 DUP7 AND DUP4 MSTORE SWAP3 SWAP1 MSTORE KECCAK256 SLOAD PUSH1 0x0 NOT DUP2 EQ PUSH2 0x537 JUMPI DUP2 DUP2 LT ISZERO PUSH2 0x52A JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A20696E73756666696369656E7420616C6C6F77616E6365000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x363 JUMP JUMPDEST PUSH2 0x537 DUP5 DUP5 DUP5 DUP5 SUB PUSH2 0x387 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH2 0x5A1 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x25 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A207472616E736665722066726F6D20746865207A65726F206164 PUSH1 0x44 DUP3 ADD MSTORE PUSH5 0x6472657373 PUSH1 0xD8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x363 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x603 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x23 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A207472616E7366657220746F20746865207A65726F2061646472 PUSH1 0x44 DUP3 ADD MSTORE PUSH3 0x657373 PUSH1 0xE8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x363 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP2 DUP2 LT ISZERO PUSH2 0x67B JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A207472616E7366657220616D6F756E7420657863656564732062 PUSH1 0x44 DUP3 ADD MSTORE PUSH6 0x616C616E6365 PUSH1 0xD0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x363 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 DUP6 DUP6 SUB SWAP1 SSTORE SWAP2 DUP6 AND DUP2 MSTORE SWAP1 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x6B2 SWAP1 DUP5 SWAP1 PUSH2 0x872 JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF DUP5 PUSH1 0x40 MLOAD PUSH2 0x6FE SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 PUSH2 0x537 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP1 DUP4 MSTORE DUP4 MLOAD DUP1 DUP3 DUP6 ADD MSTORE PUSH1 0x0 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x738 JUMPI DUP6 DUP2 ADD DUP4 ADD MLOAD DUP6 DUP3 ADD PUSH1 0x40 ADD MSTORE DUP3 ADD PUSH2 0x71C JUMP JUMPDEST DUP2 DUP2 GT ISZERO PUSH2 0x74A JUMPI PUSH1 0x0 PUSH1 0x40 DUP4 DUP8 ADD ADD MSTORE JUMPDEST POP PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x40 ADD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x777 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x78F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x798 DUP4 PUSH2 0x760 JUMP JUMPDEST SWAP5 PUSH1 0x20 SWAP4 SWAP1 SWAP4 ADD CALLDATALOAD SWAP4 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x7BB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x7C4 DUP5 PUSH2 0x760 JUMP JUMPDEST SWAP3 POP PUSH2 0x7D2 PUSH1 0x20 DUP6 ADD PUSH2 0x760 JUMP JUMPDEST SWAP2 POP PUSH1 0x40 DUP5 ADD CALLDATALOAD SWAP1 POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x7F4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x7FD DUP3 PUSH2 0x760 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x817 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x820 DUP4 PUSH2 0x760 JUMP JUMPDEST SWAP2 POP PUSH2 0x82E PUSH1 0x20 DUP5 ADD PUSH2 0x760 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x84B JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x86C JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x893 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP ADD SWAP1 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xCB 0xD8 STOP 0x4F PUSH16 0x25238149599BE8560FBD0CA18AEAA8A0 DUP8 SDIV NOT 0xD 0xD4 0x5F 0xE1 0x4D SELFDESTRUCT CALLDATALOAD DUP1 PUSH5 0x736F6C6343 STOP ADDMOD MULMOD STOP CALLER ", + "sourceMap": "1403:11223:7:-:0;;;1978:113;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2044:13;;;;:5;;:13;;;;;:::i;:::-;-1:-1:-1;2067:17:7;;;;:7;;:17;;;;;:::i;:::-;;1978:113;;1403:11223;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1403:11223:7;;;-1:-1:-1;1403:11223:7;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:127:14;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:885;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:14;;;353:36;;;369:18;;:::i;:::-;444:2;438:9;412:2;498:13;;-1:-1:-1;;494:22:14;;;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;;;930:2;927:1;924:9;921:80;;;989:1;984:2;979;971:6;967:15;963:24;956:35;921:80;1019:6;146:885;-1:-1:-1;;;;;;146:885:14:o;1036:562::-;1135:6;1143;1196:2;1184:9;1175:7;1171:23;1167:32;1164:52;;;1212:1;1209;1202:12;1164:52;1239:16;;-1:-1:-1;;;;;1304:14:14;;;1301:34;;;1331:1;1328;1321:12;1301:34;1354:61;1407:7;1398:6;1387:9;1383:22;1354:61;:::i;:::-;1344:71;;1461:2;1450:9;1446:18;1440:25;1424:41;;1490:2;1480:8;1477:16;1474:36;;;1506:1;1503;1496:12;1474:36;;1529:63;1584:7;1573:8;1562:9;1558:24;1529:63;:::i;:::-;1519:73;;;1036:562;;;;;:::o;1603:380::-;1682:1;1678:12;;;;1725;;;1746:61;;1800:4;1792:6;1788:17;1778:27;;1746:61;1853:2;1845:6;1842:14;1822:18;1819:38;1816:161;;;1899:10;1894:3;1890:20;1887:1;1880:31;1934:4;1931:1;1924:15;1962:4;1959:1;1952:15;1816:161;;1603:380;;;:::o;:::-;1403:11223:7;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": { + "@_afterTokenTransfer_2060": { + "entryPoint": null, + "id": 2060, + "parameterSlots": 3, + "returnSlots": 0 + }, + "@_approve_1995": { + "entryPoint": 903, + "id": 1995, + "parameterSlots": 3, + "returnSlots": 0 + }, + "@_beforeTokenTransfer_2049": { + "entryPoint": null, + "id": 2049, + "parameterSlots": 3, + "returnSlots": 0 + }, + "@_msgSender_2176": { + "entryPoint": null, + "id": 2176, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@_spendAllowance_2038": { + "entryPoint": 1195, + "id": 2038, + "parameterSlots": 3, + "returnSlots": 0 + }, + "@_transfer_1822": { + "entryPoint": 1341, + "id": 1822, + "parameterSlots": 3, + "returnSlots": 0 + }, + "@allowance_1615": { + "entryPoint": null, + "id": 1615, + "parameterSlots": 2, + "returnSlots": 1 + }, + "@approve_1640": { + "entryPoint": 600, + "id": 1640, + "parameterSlots": 2, + "returnSlots": 1 + }, + "@balanceOf_1572": { + "entryPoint": null, + "id": 1572, + "parameterSlots": 1, + "returnSlots": 1 + }, + "@decimals_1548": { + "entryPoint": null, + "id": 1548, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@decreaseAllowance_1745": { + "entryPoint": 738, + "id": 1745, + "parameterSlots": 2, + "returnSlots": 1 + }, + "@increaseAllowance_1703": { + "entryPoint": 660, + "id": 1703, + "parameterSlots": 2, + "returnSlots": 1 + }, + "@name_1528": { + "entryPoint": 454, + "id": 1528, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@symbol_1538": { + "entryPoint": 723, + "id": 1538, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@totalSupply_1558": { + "entryPoint": null, + "id": 1558, + "parameterSlots": 0, + "returnSlots": 1 + }, + "@transferFrom_1673": { + "entryPoint": 624, + "id": 1673, + "parameterSlots": 3, + "returnSlots": 1 + }, + "@transfer_1597": { + "entryPoint": 889, + "id": 1597, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_address": { + "entryPoint": 1888, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_decode_tuple_t_address": { + "entryPoint": 2018, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_decode_tuple_t_addresst_address": { + "entryPoint": 2052, + "id": null, + "parameterSlots": 2, + "returnSlots": 2 + }, + "abi_decode_tuple_t_addresst_addresst_uint256": { + "entryPoint": 1958, + "id": null, + "parameterSlots": 2, + "returnSlots": 3 + }, + "abi_decode_tuple_t_addresst_uint256": { + "entryPoint": 1916, + "id": null, + "parameterSlots": 2, + "returnSlots": 2 + }, + "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": 1803, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8__to_t_string_memory_ptr__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + }, + "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed": { + "entryPoint": null, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "checked_add_t_uint256": { + "entryPoint": 2162, + "id": null, + "parameterSlots": 2, + "returnSlots": 1 + }, + "extract_byte_array_length": { + "entryPoint": 2103, + "id": null, + "parameterSlots": 1, + "returnSlots": 1 + } + }, + "generatedSources": [ + { + "ast": { + "nodeType": "YulBlock", + "src": "0:5806:14", + "statements": [ + { + "nodeType": "YulBlock", + "src": "6:3:14", + "statements": [] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "135:476:14", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "145:12:14", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "155:2:14", + "type": "", + "value": "32" + }, + "variables": [ + { + "name": "_1", + "nodeType": "YulTypedName", + "src": "149:2:14", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "173:9:14" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "184:2:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "166:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "166:21:14" + }, + "nodeType": "YulExpressionStatement", + "src": "166:21:14" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "196:27:14", + "value": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "216:6:14" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "210:5:14" + }, + "nodeType": "YulFunctionCall", + "src": "210:13:14" + }, + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "200:6:14", + "type": "" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "243:9:14" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "254:2:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "239:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "239:18:14" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "259:6:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "232:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "232:34:14" + }, + "nodeType": "YulExpressionStatement", + "src": "232:34:14" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "275:10:14", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "284:1:14", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "i", + "nodeType": "YulTypedName", + "src": "279:1:14", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "344:90:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "373:9:14" + }, + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "384:1:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "369:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "369:17:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "388:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "365:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "365:26:14" + }, + { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "407:6:14" + }, + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "415:1:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "403:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "403:14:14" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "419:2:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "399:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "399:23:14" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "393:5:14" + }, + "nodeType": "YulFunctionCall", + "src": "393:30:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "358:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "358:66:14" + }, + "nodeType": "YulExpressionStatement", + "src": "358:66:14" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "305:1:14" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "308:6:14" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "302:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "302:13:14" + }, + "nodeType": "YulForLoop", + "post": { + "nodeType": "YulBlock", + "src": "316:19:14", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "318:15:14", + "value": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "327:1:14" + }, + { + "name": "_1", + "nodeType": "YulIdentifier", + "src": "330:2:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "323:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "323:10:14" + }, + "variableNames": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "318:1:14" + } + ] + } + ] + }, + "pre": { + "nodeType": "YulBlock", + "src": "298:3:14", + "statements": [] + }, + "src": "294:140:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "468:66:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "497:9:14" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "508:6:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "493:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "493:22:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "517:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "489:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "489:31:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "522:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "482:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "482:42:14" + }, + "nodeType": "YulExpressionStatement", + "src": "482:42:14" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "449:1:14" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "452:6:14" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "446:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "446:13:14" + }, + "nodeType": "YulIf", + "src": "443:91:14" + }, + { + "nodeType": "YulAssignment", + "src": "543:62:14", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "559:9:14" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "578:6:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "586:2:14", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "574:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "574:15:14" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "595:2:14", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "591:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "591:7:14" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "570:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "570:29:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "555:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "555:45:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "602:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "551:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "551:54:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "543:4:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "104:9:14", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "115:6:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "126:4:14", + "type": "" + } + ], + "src": "14:597:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "665:124:14", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "675:29:14", + "value": { + "arguments": [ + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "697:6:14" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "684:12:14" + }, + "nodeType": "YulFunctionCall", + "src": "684:20:14" + }, + "variableNames": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "675:5:14" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "767:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "776:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "779:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "769:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "769:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "769:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "726:5:14" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "737:5:14" + }, + { + "arguments": [ + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "752:3:14", + "type": "", + "value": "160" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "757:1:14", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "748:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "748:11:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "761:1:14", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "744:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "744:19:14" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "733:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "733:31:14" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "723:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "723:42:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "716:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "716:50:14" + }, + "nodeType": "YulIf", + "src": "713:70:14" + } + ] + }, + "name": "abi_decode_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "644:6:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "655:5:14", + "type": "" + } + ], + "src": "616:173:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "881:167:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "927:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "936:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "939:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "929:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "929:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "929:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "902:7:14" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "911:9:14" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "898:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "898:23:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "923:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "894:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "894:32:14" + }, + "nodeType": "YulIf", + "src": "891:52:14" + }, + { + "nodeType": "YulAssignment", + "src": "952:39:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "981:9:14" + } + ], + "functionName": { + "name": "abi_decode_address", + "nodeType": "YulIdentifier", + "src": "962:18:14" + }, + "nodeType": "YulFunctionCall", + "src": "962:29:14" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "952:6:14" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "1000:42:14", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1027:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1038:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1023:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1023:18:14" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1010:12:14" + }, + "nodeType": "YulFunctionCall", + "src": "1010:32:14" + }, + "variableNames": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "1000:6:14" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_addresst_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "839:9:14", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "850:7:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "862:6:14", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "870:6:14", + "type": "" + } + ], + "src": "794:254:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1148:92:14", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "1158:26:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1170:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1181:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1166:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1166:18:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "1158:4:14" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1200:9:14" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1225:6:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "1218:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1218:14:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "1211:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1211:22:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1193:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1193:41:14" + }, + "nodeType": "YulExpressionStatement", + "src": "1193:41:14" + } + ] + }, + "name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1117:9:14", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1128:6:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "1139:4:14", + "type": "" + } + ], + "src": "1053:187:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1346:76:14", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "1356:26:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1368:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1379:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1364:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1364:18:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "1356:4:14" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1398:9:14" + }, + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1409:6:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1391:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1391:25:14" + }, + "nodeType": "YulExpressionStatement", + "src": "1391:25:14" + } + ] + }, + "name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1315:9:14", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1326:6:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "1337:4:14", + "type": "" + } + ], + "src": "1245:177:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1531:224:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1577:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1586:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1589:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1579:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1579:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "1579:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "1552:7:14" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1561:9:14" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "1548:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1548:23:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1573:2:14", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "1544:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1544:32:14" + }, + "nodeType": "YulIf", + "src": "1541:52:14" + }, + { + "nodeType": "YulAssignment", + "src": "1602:39:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1631:9:14" + } + ], + "functionName": { + "name": "abi_decode_address", + "nodeType": "YulIdentifier", + "src": "1612:18:14" + }, + "nodeType": "YulFunctionCall", + "src": "1612:29:14" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1602:6:14" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "1650:48:14", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1683:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1694:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1679:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1679:18:14" + } + ], + "functionName": { + "name": "abi_decode_address", + "nodeType": "YulIdentifier", + "src": "1660:18:14" + }, + "nodeType": "YulFunctionCall", + "src": "1660:38:14" + }, + "variableNames": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "1650:6:14" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "1707:42:14", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1734:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1745:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1730:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1730:18:14" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1717:12:14" + }, + "nodeType": "YulFunctionCall", + "src": "1717:32:14" + }, + "variableNames": [ + { + "name": "value2", + "nodeType": "YulIdentifier", + "src": "1707:6:14" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_addresst_addresst_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1481:9:14", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "1492:7:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1504:6:14", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "1512:6:14", + "type": "" + }, + { + "name": "value2", + "nodeType": "YulTypedName", + "src": "1520:6:14", + "type": "" + } + ], + "src": "1427:328:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1857:87:14", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "1867:26:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1879:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1890:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1875:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1875:18:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "1867:4:14" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "1909:9:14" + }, + { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "1924:6:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1932:4:14", + "type": "", + "value": "0xff" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "1920:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "1920:17:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "1902:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "1902:36:14" + }, + "nodeType": "YulExpressionStatement", + "src": "1902:36:14" + } + ] + }, + "name": "abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1826:9:14", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "1837:6:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "1848:4:14", + "type": "" + } + ], + "src": "1760:184:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2019:116:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "2065:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2074:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2077:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "2067:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "2067:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "2067:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "2040:7:14" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2049:9:14" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "2036:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "2036:23:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2061:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "2032:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "2032:32:14" + }, + "nodeType": "YulIf", + "src": "2029:52:14" + }, + { + "nodeType": "YulAssignment", + "src": "2090:39:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2119:9:14" + } + ], + "functionName": { + "name": "abi_decode_address", + "nodeType": "YulIdentifier", + "src": "2100:18:14" + }, + "nodeType": "YulFunctionCall", + "src": "2100:29:14" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "2090:6:14" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "1985:9:14", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "1996:7:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "2008:6:14", + "type": "" + } + ], + "src": "1949:186:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2227:173:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "2273:16:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2282:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2285:1:14", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "2275:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "2275:12:14" + }, + "nodeType": "YulExpressionStatement", + "src": "2275:12:14" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "2248:7:14" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2257:9:14" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "2244:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "2244:23:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2269:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "2240:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "2240:32:14" + }, + "nodeType": "YulIf", + "src": "2237:52:14" + }, + { + "nodeType": "YulAssignment", + "src": "2298:39:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2327:9:14" + } + ], + "functionName": { + "name": "abi_decode_address", + "nodeType": "YulIdentifier", + "src": "2308:18:14" + }, + "nodeType": "YulFunctionCall", + "src": "2308:29:14" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "2298:6:14" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "2346:48:14", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2379:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2390:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2375:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "2375:18:14" + } + ], + "functionName": { + "name": "abi_decode_address", + "nodeType": "YulIdentifier", + "src": "2356:18:14" + }, + "nodeType": "YulFunctionCall", + "src": "2356:38:14" + }, + "variableNames": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "2346:6:14" + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_addresst_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "2185:9:14", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "2196:7:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "2208:6:14", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "2216:6:14", + "type": "" + } + ], + "src": "2140:260:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2460:325:14", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "2470:22:14", + "value": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2484:1:14", + "type": "", + "value": "1" + }, + { + "name": "data", + "nodeType": "YulIdentifier", + "src": "2487:4:14" + } + ], + "functionName": { + "name": "shr", + "nodeType": "YulIdentifier", + "src": "2480:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "2480:12:14" + }, + "variableNames": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "2470:6:14" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "2501:38:14", + "value": { + "arguments": [ + { + "name": "data", + "nodeType": "YulIdentifier", + "src": "2531:4:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2537:1:14", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "2527:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "2527:12:14" + }, + "variables": [ + { + "name": "outOfPlaceEncoding", + "nodeType": "YulTypedName", + "src": "2505:18:14", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2578:31:14", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "2580:27:14", + "value": { + "arguments": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "2594:6:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2602:4:14", + "type": "", + "value": "0x7f" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "2590:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "2590:17:14" + }, + "variableNames": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "2580:6:14" + } + ] + } + ] + }, + "condition": { + "arguments": [ + { + "name": "outOfPlaceEncoding", + "nodeType": "YulIdentifier", + "src": "2558:18:14" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "2551:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "2551:26:14" + }, + "nodeType": "YulIf", + "src": "2548:61:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2668:111:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2689:1:14", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2696:3:14", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2701:10:14", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "2692:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "2692:20:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2682:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "2682:31:14" + }, + "nodeType": "YulExpressionStatement", + "src": "2682:31:14" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2733:1:14", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2736:4:14", + "type": "", + "value": "0x22" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2726:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "2726:15:14" + }, + "nodeType": "YulExpressionStatement", + "src": "2726:15:14" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2761:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2764:4:14", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "2754:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "2754:15:14" + }, + "nodeType": "YulExpressionStatement", + "src": "2754:15:14" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "outOfPlaceEncoding", + "nodeType": "YulIdentifier", + "src": "2624:18:14" + }, + { + "arguments": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "2647:6:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2655:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "2644:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "2644:14:14" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "2621:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "2621:38:14" + }, + "nodeType": "YulIf", + "src": "2618:161:14" + } + ] + }, + "name": "extract_byte_array_length", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "data", + "nodeType": "YulTypedName", + "src": "2440:4:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "2449:6:14", + "type": "" + } + ], + "src": "2405:380:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2838:177:14", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "2873:111:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2894:1:14", + "type": "", + "value": "0" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2901:3:14", + "type": "", + "value": "224" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2906:10:14", + "type": "", + "value": "0x4e487b71" + } + ], + "functionName": { + "name": "shl", + "nodeType": "YulIdentifier", + "src": "2897:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "2897:20:14" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2887:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "2887:31:14" + }, + "nodeType": "YulExpressionStatement", + "src": "2887:31:14" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2938:1:14", + "type": "", + "value": "4" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2941:4:14", + "type": "", + "value": "0x11" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "2931:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "2931:15:14" + }, + "nodeType": "YulExpressionStatement", + "src": "2931:15:14" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2966:1:14", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2969:4:14", + "type": "", + "value": "0x24" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "2959:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "2959:15:14" + }, + "nodeType": "YulExpressionStatement", + "src": "2959:15:14" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "2854:1:14" + }, + { + "arguments": [ + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "2861:1:14" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "2857:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "2857:6:14" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "2851:2:14" + }, + "nodeType": "YulFunctionCall", + "src": "2851:13:14" + }, + "nodeType": "YulIf", + "src": "2848:136:14" + }, + { + "nodeType": "YulAssignment", + "src": "2993:16:14", + "value": { + "arguments": [ + { + "name": "x", + "nodeType": "YulIdentifier", + "src": "3004:1:14" + }, + { + "name": "y", + "nodeType": "YulIdentifier", + "src": "3007:1:14" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3000:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "3000:9:14" + }, + "variableNames": [ + { + "name": "sum", + "nodeType": "YulIdentifier", + "src": "2993:3:14" + } + ] + } + ] + }, + "name": "checked_add_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "x", + "nodeType": "YulTypedName", + "src": "2821:1:14", + "type": "" + }, + { + "name": "y", + "nodeType": "YulTypedName", + "src": "2824:1:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "sum", + "nodeType": "YulTypedName", + "src": "2830:3:14", + "type": "" + } + ], + "src": "2790:225:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3194:227:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3211:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3222:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3204:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "3204:21:14" + }, + "nodeType": "YulExpressionStatement", + "src": "3204:21:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3245:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3256:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3241:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "3241:18:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3261:2:14", + "type": "", + "value": "37" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3234:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "3234:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "3234:30:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3284:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3295:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3280:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "3280:18:14" + }, + { + "hexValue": "45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77", + "kind": "string", + "nodeType": "YulLiteral", + "src": "3300:34:14", + "type": "", + "value": "ERC20: decreased allowance below" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3273:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "3273:62:14" + }, + "nodeType": "YulExpressionStatement", + "src": "3273:62:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3355:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3366:2:14", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3351:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "3351:18:14" + }, + { + "hexValue": "207a65726f", + "kind": "string", + "nodeType": "YulLiteral", + "src": "3371:7:14", + "type": "", + "value": " zero" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3344:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "3344:35:14" + }, + "nodeType": "YulExpressionStatement", + "src": "3344:35:14" + }, + { + "nodeType": "YulAssignment", + "src": "3388:27:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3400:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3411:3:14", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3396:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "3396:19:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "3388:4:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "3171:9:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "3185:4:14", + "type": "" + } + ], + "src": "3020:401:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3600:226:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3617:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3628:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3610:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "3610:21:14" + }, + "nodeType": "YulExpressionStatement", + "src": "3610:21:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3651:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3662:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3647:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "3647:18:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3667:2:14", + "type": "", + "value": "36" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3640:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "3640:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "3640:30:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3690:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3701:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3686:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "3686:18:14" + }, + { + "hexValue": "45524332303a20617070726f76652066726f6d20746865207a65726f20616464", + "kind": "string", + "nodeType": "YulLiteral", + "src": "3706:34:14", + "type": "", + "value": "ERC20: approve from the zero add" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3679:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "3679:62:14" + }, + "nodeType": "YulExpressionStatement", + "src": "3679:62:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3761:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3772:2:14", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3757:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "3757:18:14" + }, + { + "hexValue": "72657373", + "kind": "string", + "nodeType": "YulLiteral", + "src": "3777:6:14", + "type": "", + "value": "ress" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "3750:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "3750:34:14" + }, + "nodeType": "YulExpressionStatement", + "src": "3750:34:14" + }, + { + "nodeType": "YulAssignment", + "src": "3793:27:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3805:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3816:3:14", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3801:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "3801:19:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "3793:4:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "3577:9:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "3591:4:14", + "type": "" + } + ], + "src": "3426:400:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4005:224:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4022:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4033:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4015:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "4015:21:14" + }, + "nodeType": "YulExpressionStatement", + "src": "4015:21:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4056:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4067:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4052:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "4052:18:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4072:2:14", + "type": "", + "value": "34" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4045:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "4045:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "4045:30:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4095:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4106:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4091:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "4091:18:14" + }, + { + "hexValue": "45524332303a20617070726f766520746f20746865207a65726f206164647265", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4111:34:14", + "type": "", + "value": "ERC20: approve to the zero addre" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4084:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "4084:62:14" + }, + "nodeType": "YulExpressionStatement", + "src": "4084:62:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4166:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4177:2:14", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4162:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "4162:18:14" + }, + { + "hexValue": "7373", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4182:4:14", + "type": "", + "value": "ss" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4155:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "4155:32:14" + }, + "nodeType": "YulExpressionStatement", + "src": "4155:32:14" + }, + { + "nodeType": "YulAssignment", + "src": "4196:27:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4208:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4219:3:14", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4204:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "4204:19:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "4196:4:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "3982:9:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "3996:4:14", + "type": "" + } + ], + "src": "3831:398:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4408:179:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4425:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4436:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4418:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "4418:21:14" + }, + "nodeType": "YulExpressionStatement", + "src": "4418:21:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4459:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4470:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4455:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "4455:18:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4475:2:14", + "type": "", + "value": "29" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4448:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "4448:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "4448:30:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4498:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4509:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4494:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "4494:18:14" + }, + { + "hexValue": "45524332303a20696e73756666696369656e7420616c6c6f77616e6365", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4514:31:14", + "type": "", + "value": "ERC20: insufficient allowance" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4487:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "4487:59:14" + }, + "nodeType": "YulExpressionStatement", + "src": "4487:59:14" + }, + { + "nodeType": "YulAssignment", + "src": "4555:26:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4567:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4578:2:14", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4563:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "4563:18:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "4555:4:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "4385:9:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "4399:4:14", + "type": "" + } + ], + "src": "4234:353:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4766:227:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4783:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4794:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4776:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "4776:21:14" + }, + "nodeType": "YulExpressionStatement", + "src": "4776:21:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4817:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4828:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4813:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "4813:18:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4833:2:14", + "type": "", + "value": "37" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4806:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "4806:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "4806:30:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4856:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4867:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4852:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "4852:18:14" + }, + { + "hexValue": "45524332303a207472616e736665722066726f6d20746865207a65726f206164", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4872:34:14", + "type": "", + "value": "ERC20: transfer from the zero ad" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4845:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "4845:62:14" + }, + "nodeType": "YulExpressionStatement", + "src": "4845:62:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4927:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4938:2:14", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4923:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "4923:18:14" + }, + { + "hexValue": "6472657373", + "kind": "string", + "nodeType": "YulLiteral", + "src": "4943:7:14", + "type": "", + "value": "dress" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "4916:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "4916:35:14" + }, + "nodeType": "YulExpressionStatement", + "src": "4916:35:14" + }, + { + "nodeType": "YulAssignment", + "src": "4960:27:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4972:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4983:3:14", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4968:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "4968:19:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "4960:4:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "4743:9:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "4757:4:14", + "type": "" + } + ], + "src": "4592:401:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5172:225:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5189:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5200:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5182:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "5182:21:14" + }, + "nodeType": "YulExpressionStatement", + "src": "5182:21:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5223:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5234:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5219:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "5219:18:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5239:2:14", + "type": "", + "value": "35" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5212:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "5212:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "5212:30:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5262:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5273:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5258:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "5258:18:14" + }, + { + "hexValue": "45524332303a207472616e7366657220746f20746865207a65726f2061646472", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5278:34:14", + "type": "", + "value": "ERC20: transfer to the zero addr" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5251:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "5251:62:14" + }, + "nodeType": "YulExpressionStatement", + "src": "5251:62:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5333:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5344:2:14", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5329:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "5329:18:14" + }, + { + "hexValue": "657373", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5349:5:14", + "type": "", + "value": "ess" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5322:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "5322:33:14" + }, + "nodeType": "YulExpressionStatement", + "src": "5322:33:14" + }, + { + "nodeType": "YulAssignment", + "src": "5364:27:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5376:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5387:3:14", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5372:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "5372:19:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "5364:4:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "5149:9:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "5163:4:14", + "type": "" + } + ], + "src": "4998:399:14" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5576:228:14", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5593:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5604:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5586:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "5586:21:14" + }, + "nodeType": "YulExpressionStatement", + "src": "5586:21:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5627:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5638:2:14", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5623:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "5623:18:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5643:2:14", + "type": "", + "value": "38" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5616:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "5616:30:14" + }, + "nodeType": "YulExpressionStatement", + "src": "5616:30:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5666:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5677:2:14", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5662:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "5662:18:14" + }, + { + "hexValue": "45524332303a207472616e7366657220616d6f756e7420657863656564732062", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5682:34:14", + "type": "", + "value": "ERC20: transfer amount exceeds b" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5655:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "5655:62:14" + }, + "nodeType": "YulExpressionStatement", + "src": "5655:62:14" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5737:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5748:2:14", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5733:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "5733:18:14" + }, + { + "hexValue": "616c616e6365", + "kind": "string", + "nodeType": "YulLiteral", + "src": "5753:8:14", + "type": "", + "value": "alance" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "5726:6:14" + }, + "nodeType": "YulFunctionCall", + "src": "5726:36:14" + }, + "nodeType": "YulExpressionStatement", + "src": "5726:36:14" + }, + { + "nodeType": "YulAssignment", + "src": "5771:27:14", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5783:9:14" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5794:3:14", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5779:3:14" + }, + "nodeType": "YulFunctionCall", + "src": "5779:19:14" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "5771:4:14" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "5553:9:14", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "5567:4:14", + "type": "" + } + ], + "src": "5402:402:14" + } + ] + }, + "contents": "{\n { }\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n let _1 := 32\n mstore(headStart, _1)\n let length := mload(value0)\n mstore(add(headStart, _1), length)\n let i := 0\n for { } lt(i, length) { i := add(i, _1) }\n {\n mstore(add(add(headStart, i), 64), mload(add(add(value0, i), _1)))\n }\n if gt(i, length)\n {\n mstore(add(add(headStart, length), 64), 0)\n }\n tail := add(add(headStart, and(add(length, 31), not(31))), 64)\n }\n function abi_decode_address(offset) -> value\n {\n value := calldataload(offset)\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n }\n function abi_decode_tuple_t_addresst_uint256(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n value0 := abi_decode_address(headStart)\n value1 := calldataload(add(headStart, 32))\n }\n function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, iszero(iszero(value0)))\n }\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, value0)\n }\n function abi_decode_tuple_t_addresst_addresst_uint256(headStart, dataEnd) -> value0, value1, value2\n {\n if slt(sub(dataEnd, headStart), 96) { revert(0, 0) }\n value0 := abi_decode_address(headStart)\n value1 := abi_decode_address(add(headStart, 32))\n value2 := calldataload(add(headStart, 64))\n }\n function abi_encode_tuple_t_uint8__to_t_uint8__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, 0xff))\n }\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := abi_decode_address(headStart)\n }\n function abi_decode_tuple_t_addresst_address(headStart, dataEnd) -> value0, value1\n {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n value0 := abi_decode_address(headStart)\n value1 := abi_decode_address(add(headStart, 32))\n }\n function extract_byte_array_length(data) -> length\n {\n length := shr(1, data)\n let outOfPlaceEncoding := and(data, 1)\n if iszero(outOfPlaceEncoding) { length := and(length, 0x7f) }\n if eq(outOfPlaceEncoding, lt(length, 32))\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x22)\n revert(0, 0x24)\n }\n }\n function checked_add_t_uint256(x, y) -> sum\n {\n if gt(x, not(y))\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n sum := add(x, y)\n }\n function abi_encode_tuple_t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 37)\n mstore(add(headStart, 64), \"ERC20: decreased allowance below\")\n mstore(add(headStart, 96), \" zero\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 36)\n mstore(add(headStart, 64), \"ERC20: approve from the zero add\")\n mstore(add(headStart, 96), \"ress\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 34)\n mstore(add(headStart, 64), \"ERC20: approve to the zero addre\")\n mstore(add(headStart, 96), \"ss\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 29)\n mstore(add(headStart, 64), \"ERC20: insufficient allowance\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 37)\n mstore(add(headStart, 64), \"ERC20: transfer from the zero ad\")\n mstore(add(headStart, 96), \"dress\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 35)\n mstore(add(headStart, 64), \"ERC20: transfer to the zero addr\")\n mstore(add(headStart, 96), \"ess\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 38)\n mstore(add(headStart, 64), \"ERC20: transfer amount exceeds b\")\n mstore(add(headStart, 96), \"alance\")\n tail := add(headStart, 128)\n }\n}", + "id": 14, + "language": "Yul", + "name": "#utility.yul" + } + ], + "immutableReferences": {}, + "linkReferences": {}, + "object": "608060405234801561001057600080fd5b50600436106100a95760003560e01c80633950935111610071578063395093511461012357806370a082311461013657806395d89b411461015f578063a457c2d714610167578063a9059cbb1461017a578063dd62ed3e1461018d57600080fd5b806306fdde03146100ae578063095ea7b3146100cc57806318160ddd146100ef57806323b872dd14610101578063313ce56714610114575b600080fd5b6100b66101c6565b6040516100c3919061070b565b60405180910390f35b6100df6100da36600461077c565b610258565b60405190151581526020016100c3565b6002545b6040519081526020016100c3565b6100df61010f3660046107a6565b610270565b604051601281526020016100c3565b6100df61013136600461077c565b610294565b6100f36101443660046107e2565b6001600160a01b031660009081526020819052604090205490565b6100b66102d3565b6100df61017536600461077c565b6102e2565b6100df61018836600461077c565b610379565b6100f361019b366004610804565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600380546101d590610837565b80601f016020809104026020016040519081016040528092919081815260200182805461020190610837565b801561024e5780601f106102235761010080835404028352916020019161024e565b820191906000526020600020905b81548152906001019060200180831161023157829003601f168201915b5050505050905090565b600033610266818585610387565b5060019392505050565b60003361027e8582856104ab565b61028985858561053d565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061026690829086906102ce908790610872565b610387565b6060600480546101d590610837565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091908381101561036c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6102898286868403610387565b60003361026681858561053d565b6001600160a01b0383166103e95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610363565b6001600160a01b03821661044a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610363565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610537578181101561052a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610363565b6105378484848403610387565b50505050565b6001600160a01b0383166105a15760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610363565b6001600160a01b0382166106035760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610363565b6001600160a01b0383166000908152602081905260409020548181101561067b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610363565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906106b2908490610872565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516106fe91815260200190565b60405180910390a3610537565b600060208083528351808285015260005b818110156107385785810183015185820160400152820161071c565b8181111561074a576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461077757600080fd5b919050565b6000806040838503121561078f57600080fd5b61079883610760565b946020939093013593505050565b6000806000606084860312156107bb57600080fd5b6107c484610760565b92506107d260208501610760565b9150604084013590509250925092565b6000602082840312156107f457600080fd5b6107fd82610760565b9392505050565b6000806040838503121561081757600080fd5b61082083610760565b915061082e60208401610760565b90509250929050565b600181811c9082168061084b57607f821691505b6020821081141561086c57634e487b7160e01b600052602260045260246000fd5b50919050565b6000821982111561089357634e487b7160e01b600052601160045260246000fd5b50019056fea2646970667358221220cbd8004f6f25238149599be8560fbd0ca18aeaa8a08705190dd45fe14dff358064736f6c63430008090033", + "opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0xA9 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x39509351 GT PUSH2 0x71 JUMPI DUP1 PUSH4 0x39509351 EQ PUSH2 0x123 JUMPI DUP1 PUSH4 0x70A08231 EQ PUSH2 0x136 JUMPI DUP1 PUSH4 0x95D89B41 EQ PUSH2 0x15F JUMPI DUP1 PUSH4 0xA457C2D7 EQ PUSH2 0x167 JUMPI DUP1 PUSH4 0xA9059CBB EQ PUSH2 0x17A JUMPI DUP1 PUSH4 0xDD62ED3E EQ PUSH2 0x18D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x6FDDE03 EQ PUSH2 0xAE JUMPI DUP1 PUSH4 0x95EA7B3 EQ PUSH2 0xCC JUMPI DUP1 PUSH4 0x18160DDD EQ PUSH2 0xEF JUMPI DUP1 PUSH4 0x23B872DD EQ PUSH2 0x101 JUMPI DUP1 PUSH4 0x313CE567 EQ PUSH2 0x114 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xB6 PUSH2 0x1C6 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xC3 SWAP2 SWAP1 PUSH2 0x70B JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xDF PUSH2 0xDA CALLDATASIZE PUSH1 0x4 PUSH2 0x77C JUMP JUMPDEST PUSH2 0x258 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xC3 JUMP JUMPDEST PUSH1 0x2 SLOAD JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xC3 JUMP JUMPDEST PUSH2 0xDF PUSH2 0x10F CALLDATASIZE PUSH1 0x4 PUSH2 0x7A6 JUMP JUMPDEST PUSH2 0x270 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x12 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0xC3 JUMP JUMPDEST PUSH2 0xDF PUSH2 0x131 CALLDATASIZE PUSH1 0x4 PUSH2 0x77C JUMP JUMPDEST PUSH2 0x294 JUMP JUMPDEST PUSH2 0xF3 PUSH2 0x144 CALLDATASIZE PUSH1 0x4 PUSH2 0x7E2 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD SWAP1 JUMP JUMPDEST PUSH2 0xB6 PUSH2 0x2D3 JUMP JUMPDEST PUSH2 0xDF PUSH2 0x175 CALLDATASIZE PUSH1 0x4 PUSH2 0x77C JUMP JUMPDEST PUSH2 0x2E2 JUMP JUMPDEST PUSH2 0xDF PUSH2 0x188 CALLDATASIZE PUSH1 0x4 PUSH2 0x77C JUMP JUMPDEST PUSH2 0x379 JUMP JUMPDEST PUSH2 0xF3 PUSH2 0x19B CALLDATASIZE PUSH1 0x4 PUSH2 0x804 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP2 DUP3 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 SWAP1 SWAP5 AND DUP3 MSTORE SWAP2 SWAP1 SWAP2 MSTORE KECCAK256 SLOAD SWAP1 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x3 DUP1 SLOAD PUSH2 0x1D5 SWAP1 PUSH2 0x837 JUMP JUMPDEST DUP1 PUSH1 0x1F ADD PUSH1 0x20 DUP1 SWAP2 DIV MUL PUSH1 0x20 ADD PUSH1 0x40 MLOAD SWAP1 DUP2 ADD PUSH1 0x40 MSTORE DUP1 SWAP3 SWAP2 SWAP1 DUP2 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP1 SLOAD PUSH2 0x201 SWAP1 PUSH2 0x837 JUMP JUMPDEST DUP1 ISZERO PUSH2 0x24E JUMPI DUP1 PUSH1 0x1F LT PUSH2 0x223 JUMPI PUSH2 0x100 DUP1 DUP4 SLOAD DIV MUL DUP4 MSTORE SWAP2 PUSH1 0x20 ADD SWAP2 PUSH2 0x24E JUMP JUMPDEST DUP3 ADD SWAP2 SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 JUMPDEST DUP2 SLOAD DUP2 MSTORE SWAP1 PUSH1 0x1 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0x231 JUMPI DUP3 SWAP1 SUB PUSH1 0x1F AND DUP3 ADD SWAP2 JUMPDEST POP POP POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 CALLER PUSH2 0x266 DUP2 DUP6 DUP6 PUSH2 0x387 JUMP JUMPDEST POP PUSH1 0x1 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 CALLER PUSH2 0x27E DUP6 DUP3 DUP6 PUSH2 0x4AB JUMP JUMPDEST PUSH2 0x289 DUP6 DUP6 DUP6 PUSH2 0x53D JUMP JUMPDEST POP PUSH1 0x1 SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST CALLER PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE DUP2 KECCAK256 SLOAD SWAP1 SWAP2 SWAP1 PUSH2 0x266 SWAP1 DUP3 SWAP1 DUP7 SWAP1 PUSH2 0x2CE SWAP1 DUP8 SWAP1 PUSH2 0x872 JUMP JUMPDEST PUSH2 0x387 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x4 DUP1 SLOAD PUSH2 0x1D5 SWAP1 PUSH2 0x837 JUMP JUMPDEST CALLER PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 AND DUP5 MSTORE SWAP1 SWAP2 MSTORE DUP2 KECCAK256 SLOAD SWAP1 SWAP2 SWAP1 DUP4 DUP2 LT ISZERO PUSH2 0x36C JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x25 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A2064656372656173656420616C6C6F77616E63652062656C6F77 PUSH1 0x44 DUP3 ADD MSTORE PUSH5 0x207A65726F PUSH1 0xD8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x289 DUP3 DUP7 DUP7 DUP5 SUB PUSH2 0x387 JUMP JUMPDEST PUSH1 0x0 CALLER PUSH2 0x266 DUP2 DUP6 DUP6 PUSH2 0x53D JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH2 0x3E9 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x24 DUP1 DUP3 ADD MSTORE PUSH32 0x45524332303A20617070726F76652066726F6D20746865207A65726F20616464 PUSH1 0x44 DUP3 ADD MSTORE PUSH4 0x72657373 PUSH1 0xE0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x363 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x44A JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x22 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A20617070726F766520746F20746865207A65726F206164647265 PUSH1 0x44 DUP3 ADD MSTORE PUSH2 0x7373 PUSH1 0xF0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x363 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 DUP2 AND PUSH1 0x0 DUP2 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP5 DUP8 AND DUP1 DUP5 MSTORE SWAP5 DUP3 MSTORE SWAP2 DUP3 SWAP1 KECCAK256 DUP6 SWAP1 SSTORE SWAP1 MLOAD DUP5 DUP2 MSTORE PUSH32 0x8C5BE1E5EBEC7D5BD14F71427D1E84F3DD0314C0F7B2291E5B200AC8C7C3B925 SWAP2 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x1 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 DUP1 DUP4 KECCAK256 SWAP4 DUP7 AND DUP4 MSTORE SWAP3 SWAP1 MSTORE KECCAK256 SLOAD PUSH1 0x0 NOT DUP2 EQ PUSH2 0x537 JUMPI DUP2 DUP2 LT ISZERO PUSH2 0x52A JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1D PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A20696E73756666696369656E7420616C6C6F77616E6365000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x363 JUMP JUMPDEST PUSH2 0x537 DUP5 DUP5 DUP5 DUP5 SUB PUSH2 0x387 JUMP JUMPDEST POP POP POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH2 0x5A1 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x25 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A207472616E736665722066726F6D20746865207A65726F206164 PUSH1 0x44 DUP3 ADD MSTORE PUSH5 0x6472657373 PUSH1 0xD8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x363 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0x603 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x23 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A207472616E7366657220746F20746865207A65726F2061646472 PUSH1 0x44 DUP3 ADD MSTORE PUSH3 0x657373 PUSH1 0xE8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x363 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP2 DUP2 LT ISZERO PUSH2 0x67B JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x26 PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x45524332303A207472616E7366657220616D6F756E7420657863656564732062 PUSH1 0x44 DUP3 ADD MSTORE PUSH6 0x616C616E6365 PUSH1 0xD0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x363 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x20 DUP2 SWAP1 MSTORE PUSH1 0x40 DUP1 DUP3 KECCAK256 DUP6 DUP6 SUB SWAP1 SSTORE SWAP2 DUP6 AND DUP2 MSTORE SWAP1 DUP2 KECCAK256 DUP1 SLOAD DUP5 SWAP3 SWAP1 PUSH2 0x6B2 SWAP1 DUP5 SWAP1 PUSH2 0x872 JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0xDDF252AD1BE2C89B69C2B068FC378DAA952BA7F163C4A11628F55A4DF523B3EF DUP5 PUSH1 0x40 MLOAD PUSH2 0x6FE SWAP2 DUP2 MSTORE PUSH1 0x20 ADD SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 PUSH2 0x537 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP1 DUP4 MSTORE DUP4 MLOAD DUP1 DUP3 DUP6 ADD MSTORE PUSH1 0x0 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x738 JUMPI DUP6 DUP2 ADD DUP4 ADD MLOAD DUP6 DUP3 ADD PUSH1 0x40 ADD MSTORE DUP3 ADD PUSH2 0x71C JUMP JUMPDEST DUP2 DUP2 GT ISZERO PUSH2 0x74A JUMPI PUSH1 0x0 PUSH1 0x40 DUP4 DUP8 ADD ADD MSTORE JUMPDEST POP PUSH1 0x1F ADD PUSH1 0x1F NOT AND SWAP3 SWAP1 SWAP3 ADD PUSH1 0x40 ADD SWAP4 SWAP3 POP POP POP JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0x777 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x78F JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x798 DUP4 PUSH2 0x760 JUMP JUMPDEST SWAP5 PUSH1 0x20 SWAP4 SWAP1 SWAP4 ADD CALLDATALOAD SWAP4 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x7BB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x7C4 DUP5 PUSH2 0x760 JUMP JUMPDEST SWAP3 POP PUSH2 0x7D2 PUSH1 0x20 DUP6 ADD PUSH2 0x760 JUMP JUMPDEST SWAP2 POP PUSH1 0x40 DUP5 ADD CALLDATALOAD SWAP1 POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x7F4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x7FD DUP3 PUSH2 0x760 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x817 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x820 DUP4 PUSH2 0x760 JUMP JUMPDEST SWAP2 POP PUSH2 0x82E PUSH1 0x20 DUP5 ADD PUSH2 0x760 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 DUP2 DUP2 SHR SWAP1 DUP3 AND DUP1 PUSH2 0x84B JUMPI PUSH1 0x7F DUP3 AND SWAP2 POP JUMPDEST PUSH1 0x20 DUP3 LT DUP2 EQ ISZERO PUSH2 0x86C JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x22 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 NOT DUP3 GT ISZERO PUSH2 0x893 JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP ADD SWAP1 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xCB 0xD8 STOP 0x4F PUSH16 0x25238149599BE8560FBD0CA18AEAA8A0 DUP8 SDIV NOT 0xD 0xD4 0x5F 0xE1 0x4D SELFDESTRUCT CALLDATALOAD DUP1 PUSH5 0x736F6C6343 STOP ADDMOD MULMOD STOP CALLER ", + "sourceMap": "1403:11223:7:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2156:98;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4433:197;;;;;;:::i;:::-;;:::i;:::-;;;1218:14:14;;1211:22;1193:41;;1181:2;1166:18;4433:197:7;1053:187:14;3244:106:7;3331:12;;3244:106;;;1391:25:14;;;1379:2;1364:18;3244:106:7;1245:177:14;5192:286:7;;;;;;:::i;:::-;;:::i;3093:91::-;;;3175:2;1902:36:14;;1890:2;1875:18;3093:91:7;1760:184:14;5873:236:7;;;;;;:::i;:::-;;:::i;3408:125::-;;;;;;:::i;:::-;-1:-1:-1;;;;;3508:18:7;3482:7;3508:18;;;;;;;;;;;;3408:125;2367:102;;;:::i;6596:429::-;;;;;;:::i;:::-;;:::i;3729:189::-;;;;;;:::i;:::-;;:::i;3976:149::-;;;;;;:::i;:::-;-1:-1:-1;;;;;4091:18:7;;;4065:7;4091:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;3976:149;2156:98;2210:13;2242:5;2235:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2156:98;:::o;4433:197::-;4516:4;719:10:10;4570:32:7;719:10:10;4586:7:7;4595:6;4570:8;:32::i;:::-;-1:-1:-1;4619:4:7;;4433:197;-1:-1:-1;;;4433:197:7:o;5192:286::-;5319:4;719:10:10;5375:38:7;5391:4;719:10:10;5406:6:7;5375:15;:38::i;:::-;5423:27;5433:4;5439:2;5443:6;5423:9;:27::i;:::-;-1:-1:-1;5467:4:7;;5192:286;-1:-1:-1;;;;5192:286:7:o;5873:236::-;719:10:10;5961:4:7;6040:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;6040:27:7;;;;;;;;;;5961:4;;719:10:10;6015:66:7;;719:10:10;;6040:27:7;;:40;;6070:10;;6040:40;:::i;:::-;6015:8;:66::i;2367:102::-;2423:13;2455:7;2448:14;;;;;:::i;6596:429::-;719:10:10;6689:4:7;6770:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;6770:27:7;;;;;;;;;;6689:4;;719:10:10;6815:35:7;;;;6807:85;;;;-1:-1:-1;;;6807:85:7;;3222:2:14;6807:85:7;;;3204:21:14;3261:2;3241:18;;;3234:30;3300:34;3280:18;;;3273:62;-1:-1:-1;;;3351:18:14;;;3344:35;3396:19;;6807:85:7;;;;;;;;;6926:60;6935:5;6942:7;6970:15;6951:16;:34;6926:8;:60::i;3729:189::-;3808:4;719:10:10;3862:28:7;719:10:10;3879:2:7;3883:6;3862:9;:28::i;10123:370::-;-1:-1:-1;;;;;10254:19:7;;10246:68;;;;-1:-1:-1;;;10246:68:7;;3628:2:14;10246:68:7;;;3610:21:14;3667:2;3647:18;;;3640:30;3706:34;3686:18;;;3679:62;-1:-1:-1;;;3757:18:14;;;3750:34;3801:19;;10246:68:7;3426:400:14;10246:68:7;-1:-1:-1;;;;;10332:21:7;;10324:68;;;;-1:-1:-1;;;10324:68:7;;4033:2:14;10324:68:7;;;4015:21:14;4072:2;4052:18;;;4045:30;4111:34;4091:18;;;4084:62;-1:-1:-1;;;4162:18:14;;;4155:32;4204:19;;10324:68:7;3831:398:14;10324:68:7;-1:-1:-1;;;;;10403:18:7;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;10454:32;;1391:25:14;;;10454:32:7;;1364:18:14;10454:32:7;;;;;;;10123:370;;;:::o;10770:441::-;-1:-1:-1;;;;;4091:18:7;;;10900:24;4091:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;10966:37:7;;10962:243;;11047:6;11027:16;:26;;11019:68;;;;-1:-1:-1;;;11019:68:7;;4436:2:14;11019:68:7;;;4418:21:14;4475:2;4455:18;;;4448:30;4514:31;4494:18;;;4487:59;4563:18;;11019:68:7;4234:353:14;11019:68:7;11129:51;11138:5;11145:7;11173:6;11154:16;:25;11129:8;:51::i;:::-;10890:321;10770:441;;;:::o;7488:651::-;-1:-1:-1;;;;;7614:18:7;;7606:68;;;;-1:-1:-1;;;7606:68:7;;4794:2:14;7606:68:7;;;4776:21:14;4833:2;4813:18;;;4806:30;4872:34;4852:18;;;4845:62;-1:-1:-1;;;4923:18:14;;;4916:35;4968:19;;7606:68:7;4592:401:14;7606:68:7;-1:-1:-1;;;;;7692:16:7;;7684:64;;;;-1:-1:-1;;;7684:64:7;;5200:2:14;7684:64:7;;;5182:21:14;5239:2;5219:18;;;5212:30;5278:34;5258:18;;;5251:62;-1:-1:-1;;;5329:18:14;;;5322:33;5372:19;;7684:64:7;4998:399:14;7684:64:7;-1:-1:-1;;;;;7830:15:7;;7808:19;7830:15;;;;;;;;;;;7863:21;;;;7855:72;;;;-1:-1:-1;;;7855:72:7;;5604:2:14;7855:72:7;;;5586:21:14;5643:2;5623:18;;;5616:30;5682:34;5662:18;;;5655:62;-1:-1:-1;;;5733:18:14;;;5726:36;5779:19;;7855:72:7;5402:402:14;7855:72:7;-1:-1:-1;;;;;7961:15:7;;;:9;:15;;;;;;;;;;;7979:20;;;7961:38;;8019:13;;;;;;;;:23;;7993:6;;7961:9;8019:23;;7993:6;;8019:23;:::i;:::-;;;;;;;;8073:2;-1:-1:-1;;;;;8058:26:7;8067:4;-1:-1:-1;;;;;8058:26:7;;8077:6;8058:26;;;;1391:25:14;;1379:2;1364:18;;1245:177;8058:26:7;;;;;;;;8095:37;11795:121;14:597:14;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;452:6;449:1;446:13;443:91;;;522:1;517:2;508:6;497:9;493:22;489:31;482:42;443:91;-1:-1:-1;595:2:14;574:15;-1:-1:-1;;570:29:14;555:45;;;;602:2;551:54;;14:597;-1:-1:-1;;;14:597:14:o;616:173::-;684:20;;-1:-1:-1;;;;;733:31:14;;723:42;;713:70;;779:1;776;769:12;713:70;616:173;;;:::o;794:254::-;862:6;870;923:2;911:9;902:7;898:23;894:32;891:52;;;939:1;936;929:12;891:52;962:29;981:9;962:29;:::i;:::-;952:39;1038:2;1023:18;;;;1010:32;;-1:-1:-1;;;794:254:14:o;1427:328::-;1504:6;1512;1520;1573:2;1561:9;1552:7;1548:23;1544:32;1541:52;;;1589:1;1586;1579:12;1541:52;1612:29;1631:9;1612:29;:::i;:::-;1602:39;;1660:38;1694:2;1683:9;1679:18;1660:38;:::i;:::-;1650:48;;1745:2;1734:9;1730:18;1717:32;1707:42;;1427:328;;;;;:::o;1949:186::-;2008:6;2061:2;2049:9;2040:7;2036:23;2032:32;2029:52;;;2077:1;2074;2067:12;2029:52;2100:29;2119:9;2100:29;:::i;:::-;2090:39;1949:186;-1:-1:-1;;;1949:186:14:o;2140:260::-;2208:6;2216;2269:2;2257:9;2248:7;2244:23;2240:32;2237:52;;;2285:1;2282;2275:12;2237:52;2308:29;2327:9;2308:29;:::i;:::-;2298:39;;2356:38;2390:2;2379:9;2375:18;2356:38;:::i;:::-;2346:48;;2140:260;;;;;:::o;2405:380::-;2484:1;2480:12;;;;2527;;;2548:61;;2602:4;2594:6;2590:17;2580:27;;2548:61;2655:2;2647:6;2644:14;2624:18;2621:38;2618:161;;;2701:10;2696:3;2692:20;2689:1;2682:31;2736:4;2733:1;2726:15;2764:4;2761:1;2754:15;2618:161;;2405:380;;;:::o;2790:225::-;2830:3;2861:1;2857:6;2854:1;2851:13;2848:136;;;2906:10;2901:3;2897:20;2894:1;2887:31;2941:4;2938:1;2931:15;2969:4;2966:1;2959:15;2848:136;-1:-1:-1;3000:9:14;;2790:225::o" + }, + "gasEstimates": { + "creation": { + "codeDepositCost": "450800", + "executionCost": "infinite", + "totalCost": "infinite" + }, + "external": { + "allowance(address,address)": "infinite", + "approve(address,uint256)": "24624", + "balanceOf(address)": "2562", + "decimals()": "266", + "decreaseAllowance(address,uint256)": "26966", + "increaseAllowance(address,uint256)": "26945", + "name()": "infinite", + "symbol()": "infinite", + "totalSupply()": "2326", + "transfer(address,uint256)": "51270", + "transferFrom(address,address,uint256)": "infinite" + }, + "internal": { + "_afterTokenTransfer(address,address,uint256)": "infinite", + "_approve(address,address,uint256)": "infinite", + "_beforeTokenTransfer(address,address,uint256)": "infinite", + "_burn(address,uint256)": "infinite", + "_mint(address,uint256)": "infinite", + "_spendAllowance(address,address,uint256)": "infinite", + "_transfer(address,address,uint256)": "infinite" + } + }, + "methodIdentifiers": { + "allowance(address,address)": "dd62ed3e", + "approve(address,uint256)": "095ea7b3", + "balanceOf(address)": "70a08231", + "decimals()": "313ce567", + "decreaseAllowance(address,uint256)": "a457c2d7", + "increaseAllowance(address,uint256)": "39509351", + "name()": "06fdde03", + "symbol()": "95d89b41", + "totalSupply()": "18160ddd", + "transfer(address,uint256)": "a9059cbb", + "transferFrom(address,address,uint256)": "23b872dd" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"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\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Implementation of the {IERC20} interface. This implementation is agnostic to the way tokens are created. This means that a supply mechanism has to be added in a derived contract using {_mint}. For a generic mechanism see {ERC20PresetMinterPauser}. TIP: For a detailed writeup see our guide https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How to implement supply mechanisms]. We have followed general OpenZeppelin Contracts guidelines: functions revert instead returning `false` on failure. This behavior is nonetheless conventional and does not conflict with the expectations of ERC20 applications. Additionally, an {Approval} event is emitted on calls to {transferFrom}. This allows applications to reconstruct the allowance for all accounts just by listening to said events. Other implementations of the EIP may not emit these events, as it isn't required by the specification. Finally, the non-standard {decreaseAllowance} and {increaseAllowance} functions have been added to mitigate the well-known issues around setting allowances. See {IERC20-approve}.\",\"kind\":\"dev\",\"methods\":{\"allowance(address,address)\":{\"details\":\"See {IERC20-allowance}.\"},\"approve(address,uint256)\":{\"details\":\"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address.\"},\"balanceOf(address)\":{\"details\":\"See {IERC20-balanceOf}.\"},\"constructor\":{\"details\":\"Sets the values for {name} and {symbol}. The default value of {decimals} is 18. To select a different value for {decimals} you should overload it. All two of these values are immutable: they can only be set once during construction.\"},\"decimals()\":{\"details\":\"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the value {ERC20} uses, unless this function is overridden; NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}.\"},\"decreaseAllowance(address,uint256)\":{\"details\":\"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`.\"},\"increaseAllowance(address,uint256)\":{\"details\":\"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address.\"},\"name()\":{\"details\":\"Returns the name of the token.\"},\"symbol()\":{\"details\":\"Returns the symbol of the token, usually a shorter version of the name.\"},\"totalSupply()\":{\"details\":\"See {IERC20-totalSupply}.\"},\"transfer(address,uint256)\":{\"details\":\"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol\":\"ERC20\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol\":{\"keccak256\":\"0xdadd41acb749920eccf40aeaa8d291adf9751399a7343561bad13e7a8d99be0b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12af4ac016f9fdf3be5d15824f4292272aa11f6b2e0192a0f7320f5ad49bbbf0\",\"dweb:/ipfs/QmRXMpdqCgA3TYuYxBodqs5p9jGbnMW6xa2gvjppvq4TWk\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xbbc8ac883ac3c0078ce5ad3e288fbb3ffcc8a30c3a98c0fda0114d64fc44fca2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87a7a5d2f6f63f84598af02b8c50ca2df2631cb8ba2453e8d95fcb17e4be9824\",\"dweb:/ipfs/QmR76hqtAcRqoFj33tmNjcWTLrgNsAaakYwnKZ8zoJtKei\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\":{\"keccak256\":\"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd\",\"dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]}},\"version\":1}", + "storageLayout": { + "storage": [ + { + "astId": 1489, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol:ERC20", + "label": "_balances", + "offset": 0, + "slot": "0", + "type": "t_mapping(t_address,t_uint256)" + }, + { + "astId": 1495, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol:ERC20", + "label": "_allowances", + "offset": 0, + "slot": "1", + "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))" + }, + { + "astId": 1497, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol:ERC20", + "label": "_totalSupply", + "offset": 0, + "slot": "2", + "type": "t_uint256" + }, + { + "astId": 1499, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol:ERC20", + "label": "_name", + "offset": 0, + "slot": "3", + "type": "t_string_storage" + }, + { + "astId": 1501, + "contract": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol:ERC20", + "label": "_symbol", + "offset": 0, + "slot": "4", + "type": "t_string_storage" + } + ], + "types": { + "t_address": { + "encoding": "inplace", + "label": "address", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_mapping(t_address,t_uint256))": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => mapping(address => uint256))", + "numberOfBytes": "32", + "value": "t_mapping(t_address,t_uint256)" + }, + "t_mapping(t_address,t_uint256)": { + "encoding": "mapping", + "key": "t_address", + "label": "mapping(address => uint256)", + "numberOfBytes": "32", + "value": "t_uint256" + }, + "t_string_storage": { + "encoding": "bytes", + "label": "string", + "numberOfBytes": "32" + }, + "t_uint256": { + "encoding": "inplace", + "label": "uint256", + "numberOfBytes": "32" + } + } + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol": { + "IERC20": { + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "spender", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "devdoc": { + "details": "Interface of the ERC20 standard as defined in the EIP.", + "events": { + "Approval(address,address,uint256)": { + "details": "Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance." + }, + "Transfer(address,address,uint256)": { + "details": "Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero." + } + }, + "kind": "dev", + "methods": { + "allowance(address,address)": { + "details": "Returns the remaining number of tokens that `spender` will be allowed to spend on behalf of `owner` through {transferFrom}. This is zero by default. This value changes when {approve} or {transferFrom} are called." + }, + "approve(address,uint256)": { + "details": "Sets `amount` as the allowance of `spender` over the caller's tokens. Returns a boolean value indicating whether the operation succeeded. IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 Emits an {Approval} event." + }, + "balanceOf(address)": { + "details": "Returns the amount of tokens owned by `account`." + }, + "totalSupply()": { + "details": "Returns the amount of tokens in existence." + }, + "transfer(address,uint256)": { + "details": "Moves `amount` tokens from the caller's account to `to`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event." + }, + "transferFrom(address,address,uint256)": { + "details": "Moves `amount` tokens from `from` to `to` using the allowance mechanism. `amount` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event." + } + }, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "allowance(address,address)": "dd62ed3e", + "approve(address,uint256)": "095ea7b3", + "balanceOf(address)": "70a08231", + "totalSupply()": "18160ddd", + "transfer(address,uint256)": "a9059cbb", + "transferFrom(address,address,uint256)": "23b872dd" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface of the ERC20 standard as defined in the EIP.\",\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero.\"}},\"kind\":\"dev\",\"methods\":{\"allowance(address,address)\":{\"details\":\"Returns the remaining number of tokens that `spender` will be allowed to spend on behalf of `owner` through {transferFrom}. This is zero by default. This value changes when {approve} or {transferFrom} are called.\"},\"approve(address,uint256)\":{\"details\":\"Sets `amount` as the allowance of `spender` over the caller's tokens. Returns a boolean value indicating whether the operation succeeded. IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the amount of tokens owned by `account`.\"},\"totalSupply()\":{\"details\":\"Returns the amount of tokens in existence.\"},\"transfer(address,uint256)\":{\"details\":\"Moves `amount` tokens from the caller's account to `to`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Moves `amount` tokens from `from` to `to` using the allowance mechanism. `amount` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\":\"IERC20\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xbbc8ac883ac3c0078ce5ad3e288fbb3ffcc8a30c3a98c0fda0114d64fc44fca2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87a7a5d2f6f63f84598af02b8c50ca2df2631cb8ba2453e8d95fcb17e4be9824\",\"dweb:/ipfs/QmR76hqtAcRqoFj33tmNjcWTLrgNsAaakYwnKZ8zoJtKei\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol": { + "IERC20Metadata": { + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "spender", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "decimals", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "symbol", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "devdoc": { + "details": "Interface for the optional metadata functions from the ERC20 standard. _Available since v4.1._", + "kind": "dev", + "methods": { + "allowance(address,address)": { + "details": "Returns the remaining number of tokens that `spender` will be allowed to spend on behalf of `owner` through {transferFrom}. This is zero by default. This value changes when {approve} or {transferFrom} are called." + }, + "approve(address,uint256)": { + "details": "Sets `amount` as the allowance of `spender` over the caller's tokens. Returns a boolean value indicating whether the operation succeeded. IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 Emits an {Approval} event." + }, + "balanceOf(address)": { + "details": "Returns the amount of tokens owned by `account`." + }, + "decimals()": { + "details": "Returns the decimals places of the token." + }, + "name()": { + "details": "Returns the name of the token." + }, + "symbol()": { + "details": "Returns the symbol of the token." + }, + "totalSupply()": { + "details": "Returns the amount of tokens in existence." + }, + "transfer(address,uint256)": { + "details": "Moves `amount` tokens from the caller's account to `to`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event." + }, + "transferFrom(address,address,uint256)": { + "details": "Moves `amount` tokens from `from` to `to` using the allowance mechanism. `amount` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event." + } + }, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "allowance(address,address)": "dd62ed3e", + "approve(address,uint256)": "095ea7b3", + "balanceOf(address)": "70a08231", + "decimals()": "313ce567", + "name()": "06fdde03", + "symbol()": "95d89b41", + "totalSupply()": "18160ddd", + "transfer(address,uint256)": "a9059cbb", + "transferFrom(address,address,uint256)": "23b872dd" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface for the optional metadata functions from the ERC20 standard. _Available since v4.1._\",\"kind\":\"dev\",\"methods\":{\"allowance(address,address)\":{\"details\":\"Returns the remaining number of tokens that `spender` will be allowed to spend on behalf of `owner` through {transferFrom}. This is zero by default. This value changes when {approve} or {transferFrom} are called.\"},\"approve(address,uint256)\":{\"details\":\"Sets `amount` as the allowance of `spender` over the caller's tokens. Returns a boolean value indicating whether the operation succeeded. IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the amount of tokens owned by `account`.\"},\"decimals()\":{\"details\":\"Returns the decimals places of the token.\"},\"name()\":{\"details\":\"Returns the name of the token.\"},\"symbol()\":{\"details\":\"Returns the symbol of the token.\"},\"totalSupply()\":{\"details\":\"Returns the amount of tokens in existence.\"},\"transfer(address,uint256)\":{\"details\":\"Moves `amount` tokens from the caller's account to `to`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Moves `amount` tokens from `from` to `to` using the allowance mechanism. `amount` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\":\"IERC20Metadata\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xbbc8ac883ac3c0078ce5ad3e288fbb3ffcc8a30c3a98c0fda0114d64fc44fca2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87a7a5d2f6f63f84598af02b8c50ca2df2631cb8ba2453e8d95fcb17e4be9824\",\"dweb:/ipfs/QmR76hqtAcRqoFj33tmNjcWTLrgNsAaakYwnKZ8zoJtKei\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\":{\"keccak256\":\"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd\",\"dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol": { + "Context": { + "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 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": {} + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"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\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol\":\"Context\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol": { + "Strings": { + "abi": [], + "devdoc": { + "details": "String operations.", + "kind": "dev", + "methods": {}, + "version": 1 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202f9345af5ae9c45c24126d0cdf967b54d208ff8960058323c80bace4d36c3bae64736f6c63430008090033", + "opcodes": "PUSH1 0x56 PUSH1 0x37 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x2A JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST ADDRESS PUSH1 0x0 MSTORE PUSH1 0x73 DUP2 MSTORE8 DUP3 DUP2 RETURN INVALID PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x2F SWAP4 GASLIMIT 0xAF GAS 0xE9 0xC4 0x5C 0x24 SLT PUSH14 0xCDF967B54D208FF8960058323C8 SIGNEXTEND 0xAC 0xE4 0xD3 PUSH13 0x3BAE64736F6C63430008090033 ", + "sourceMap": "146:1885:11:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;146:1885:11;;;;;;;;;;;;;;;;;" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202f9345af5ae9c45c24126d0cdf967b54d208ff8960058323c80bace4d36c3bae64736f6c63430008090033", + "opcodes": "PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0x2F SWAP4 GASLIMIT 0xAF GAS 0xE9 0xC4 0x5C 0x24 SLT PUSH14 0xCDF967B54D208FF8960058323C8 SIGNEXTEND 0xAC 0xE4 0xD3 PUSH13 0x3BAE64736F6C63430008090033 ", + "sourceMap": "146:1885:11:-:0;;;;;;;;" + }, + "gasEstimates": { + "creation": { + "codeDepositCost": "17200", + "executionCost": "103", + "totalCost": "17303" + }, + "internal": { + "toHexString(uint256)": "infinite", + "toHexString(uint256,uint256)": "infinite", + "toString(uint256)": "infinite" + } + }, + "methodIdentifiers": {} + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"String operations.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol\":\"Strings\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol": { + "ERC165": { + "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 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "supportsInterface(bytes4)": "01ffc9a7" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"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\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":\"ERC165\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol": { + "IERC165": { + "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 + }, + "evm": { + "bytecode": { + "functionDebugData": {}, + "generatedSources": [], + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "deployedBytecode": { + "functionDebugData": {}, + "generatedSources": [], + "immutableReferences": {}, + "linkReferences": {}, + "object": "", + "opcodes": "", + "sourceMap": "" + }, + "gasEstimates": null, + "methodIdentifiers": { + "supportsInterface(bytes4)": "01ffc9a7" + } + }, + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"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\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":\"IERC165\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}", + "storageLayout": { + "storage": [], + "types": null + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } + } + } + }, + "sources": { + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/DataStorageInterface.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/DataStorageInterface.sol", + "exportedSymbols": { + "DataStorageInterface": [ + 113 + ] + }, + "id": 114, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1, + "literals": [ + "solidity", + "0.8", + ".9" + ], + "nodeType": "PragmaDirective", + "src": "33:22:0" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "DataStorageInterface", + "contractDependencies": [], + "contractKind": "interface", + "fullyImplemented": false, + "id": 113, + "linearizedBaseContracts": [ + 113 + ], + "name": "DataStorageInterface", + "nameLocation": "69:20:0", + "nodeType": "ContractDefinition", + "nodes": [ + { + "functionSelector": "545e1b52", + "id": 6, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getStorageStatus", + "nameLocation": "155:16:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2, + "nodeType": "ParameterList", + "parameters": [], + "src": "171:2:0" + }, + "returnParameters": { + "id": 5, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 4, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 6, + "src": "196:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 3, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "196:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "195:6:0" + }, + "scope": 113, + "src": "146:56:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "0bc169a5", + "id": 11, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getCurrentGuardian", + "nameLocation": "217:18:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 7, + "nodeType": "ParameterList", + "parameters": [], + "src": "235:2:0" + }, + "returnParameters": { + "id": 10, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 9, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 11, + "src": "260:7:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 8, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "260:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "259:9:0" + }, + "scope": 113, + "src": "208:61:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "e87f7c31", + "id": 16, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setNewGuardian", + "nameLocation": "284:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 14, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 13, + "mutability": "mutable", + "name": "_newGuardian", + "nameLocation": "307:12:0", + "nodeType": "VariableDeclaration", + "scope": 16, + "src": "299:20:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 12, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "299:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "298:22:0" + }, + "returnParameters": { + "id": 15, + "nodeType": "ParameterList", + "parameters": [], + "src": "329:0:0" + }, + "scope": 113, + "src": "275:55:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "27918182", + "id": 19, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "confirmGuard", + "nameLocation": "345:12:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 17, + "nodeType": "ParameterList", + "parameters": [], + "src": "357:2:0" + }, + "returnParameters": { + "id": 18, + "nodeType": "ParameterList", + "parameters": [], + "src": "368:0:0" + }, + "scope": 113, + "src": "336:33:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "66b80832", + "id": 22, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setStorageLive", + "nameLocation": "384:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 20, + "nodeType": "ParameterList", + "parameters": [], + "src": "398:2:0" + }, + "returnParameters": { + "id": 21, + "nodeType": "ParameterList", + "parameters": [], + "src": "409:0:0" + }, + "scope": 113, + "src": "375:35:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "afc3602b", + "id": 29, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getUintStorage", + "nameLocation": "474:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 25, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 24, + "mutability": "mutable", + "name": "_id", + "nameLocation": "497:3:0", + "nodeType": "VariableDeclaration", + "scope": 29, + "src": "489:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 23, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "489:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "488:13:0" + }, + "returnParameters": { + "id": 28, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 27, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 29, + "src": "524:7:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 26, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "524:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "523:9:0" + }, + "scope": 113, + "src": "465:68:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "55d94655", + "id": 36, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getBoolStorage", + "nameLocation": "548:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 32, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 31, + "mutability": "mutable", + "name": "_id", + "nameLocation": "571:3:0", + "nodeType": "VariableDeclaration", + "scope": 36, + "src": "563:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 30, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "563:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "562:13:0" + }, + "returnParameters": { + "id": 35, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 34, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 36, + "src": "598:4:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 33, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "598:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "597:6:0" + }, + "scope": 113, + "src": "539:65:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "2a90bbb2", + "id": 43, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getAddressStorage", + "nameLocation": "619:17:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 39, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 38, + "mutability": "mutable", + "name": "_id", + "nameLocation": "645:3:0", + "nodeType": "VariableDeclaration", + "scope": 43, + "src": "637:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 37, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "637:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "636:13:0" + }, + "returnParameters": { + "id": 42, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 41, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 43, + "src": "672:7:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 40, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "672:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "671:9:0" + }, + "scope": 113, + "src": "610:71:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "b47f11e7", + "id": 50, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getBytes32Storage", + "nameLocation": "696:17:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 46, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 45, + "mutability": "mutable", + "name": "_id", + "nameLocation": "722:3:0", + "nodeType": "VariableDeclaration", + "scope": 50, + "src": "714:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 44, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "714:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "713:13:0" + }, + "returnParameters": { + "id": 49, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 48, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 50, + "src": "749:7:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 47, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "749:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "748:9:0" + }, + "scope": 113, + "src": "687:71:0", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "28192c55", + "id": 57, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setUintStorage", + "nameLocation": "826:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 55, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 52, + "mutability": "mutable", + "name": "_id", + "nameLocation": "849:3:0", + "nodeType": "VariableDeclaration", + "scope": 57, + "src": "841:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 51, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "841:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 54, + "mutability": "mutable", + "name": "_value", + "nameLocation": "862:6:0", + "nodeType": "VariableDeclaration", + "scope": 57, + "src": "854:14:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 53, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "854:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "840:29:0" + }, + "returnParameters": { + "id": 56, + "nodeType": "ParameterList", + "parameters": [], + "src": "878:0:0" + }, + "scope": 113, + "src": "817:62:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "988c515b", + "id": 64, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setBoolStorage", + "nameLocation": "894:14:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 62, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 59, + "mutability": "mutable", + "name": "_id", + "nameLocation": "917:3:0", + "nodeType": "VariableDeclaration", + "scope": 64, + "src": "909:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 58, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "909:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 61, + "mutability": "mutable", + "name": "_value", + "nameLocation": "927:6:0", + "nodeType": "VariableDeclaration", + "scope": 64, + "src": "922:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 60, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "922:4:0", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "908:26:0" + }, + "returnParameters": { + "id": 63, + "nodeType": "ParameterList", + "parameters": [], + "src": "943:0:0" + }, + "scope": 113, + "src": "885:59:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "7221263a", + "id": 71, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setAddressStorage", + "nameLocation": "959:17:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 69, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 66, + "mutability": "mutable", + "name": "_id", + "nameLocation": "985:3:0", + "nodeType": "VariableDeclaration", + "scope": 71, + "src": "977:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 65, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "977:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 68, + "mutability": "mutable", + "name": "_value", + "nameLocation": "998:6:0", + "nodeType": "VariableDeclaration", + "scope": 71, + "src": "990:14:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 67, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "990:7:0", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "976:29:0" + }, + "returnParameters": { + "id": 70, + "nodeType": "ParameterList", + "parameters": [], + "src": "1014:0:0" + }, + "scope": 113, + "src": "950:65:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "8d42b4af", + "id": 78, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "setBytes32Storage", + "nameLocation": "1031:17:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 76, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 73, + "mutability": "mutable", + "name": "_id", + "nameLocation": "1057:3:0", + "nodeType": "VariableDeclaration", + "scope": 78, + "src": "1049:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 72, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1049:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 75, + "mutability": "mutable", + "name": "_value", + "nameLocation": "1070:6:0", + "nodeType": "VariableDeclaration", + "scope": 78, + "src": "1062:14:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 74, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1062:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "1048:29:0" + }, + "returnParameters": { + "id": 77, + "nodeType": "ParameterList", + "parameters": [], + "src": "1086:0:0" + }, + "scope": 113, + "src": "1022:65:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "1d8895e0", + "id": 85, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "increaseUintStorage", + "nameLocation": "1102:19:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 83, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 80, + "mutability": "mutable", + "name": "_id", + "nameLocation": "1130:3:0", + "nodeType": "VariableDeclaration", + "scope": 85, + "src": "1122:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 79, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1122:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 82, + "mutability": "mutable", + "name": "_increment", + "nameLocation": "1143:10:0", + "nodeType": "VariableDeclaration", + "scope": 85, + "src": "1135:18:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 81, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1135:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1121:33:0" + }, + "returnParameters": { + "id": 84, + "nodeType": "ParameterList", + "parameters": [], + "src": "1163:0:0" + }, + "scope": 113, + "src": "1093:71:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "5bcfee67", + "id": 92, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "decreaseUintStorage", + "nameLocation": "1179:19:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 90, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 87, + "mutability": "mutable", + "name": "_id", + "nameLocation": "1207:3:0", + "nodeType": "VariableDeclaration", + "scope": 92, + "src": "1199:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 86, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1199:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 89, + "mutability": "mutable", + "name": "_decrement", + "nameLocation": "1220:10:0", + "nodeType": "VariableDeclaration", + "scope": 92, + "src": "1212:18:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 88, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1212:7:0", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1198:33:0" + }, + "returnParameters": { + "id": 91, + "nodeType": "ParameterList", + "parameters": [], + "src": "1240:0:0" + }, + "scope": 113, + "src": "1170:71:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "8a2c6738", + "id": 97, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "deleteUintStorage", + "nameLocation": "1314:17:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 95, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 94, + "mutability": "mutable", + "name": "_id", + "nameLocation": "1340:3:0", + "nodeType": "VariableDeclaration", + "scope": 97, + "src": "1332:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 93, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1332:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "1331:13:0" + }, + "returnParameters": { + "id": 96, + "nodeType": "ParameterList", + "parameters": [], + "src": "1353:0:0" + }, + "scope": 113, + "src": "1305:49:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "b240da3f", + "id": 102, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "deleteBoolStorage", + "nameLocation": "1369:17:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 100, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 99, + "mutability": "mutable", + "name": "_id", + "nameLocation": "1395:3:0", + "nodeType": "VariableDeclaration", + "scope": 102, + "src": "1387:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 98, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1387:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "1386:13:0" + }, + "returnParameters": { + "id": 101, + "nodeType": "ParameterList", + "parameters": [], + "src": "1408:0:0" + }, + "scope": 113, + "src": "1360:49:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "e732da72", + "id": 107, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "deleteAddressStorage", + "nameLocation": "1424:20:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 105, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 104, + "mutability": "mutable", + "name": "_id", + "nameLocation": "1453:3:0", + "nodeType": "VariableDeclaration", + "scope": 107, + "src": "1445:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 103, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1445:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "1444:13:0" + }, + "returnParameters": { + "id": 106, + "nodeType": "ParameterList", + "parameters": [], + "src": "1466:0:0" + }, + "scope": 113, + "src": "1415:52:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "540ec89c", + "id": 112, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "deleteBytes32Storage", + "nameLocation": "1482:20:0", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 110, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 109, + "mutability": "mutable", + "name": "_id", + "nameLocation": "1511:3:0", + "nodeType": "VariableDeclaration", + "scope": 112, + "src": "1503:11:0", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 108, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1503:7:0", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "1502:13:0" + }, + "returnParameters": { + "id": 111, + "nodeType": "ParameterList", + "parameters": [], + "src": "1524:0:0" + }, + "scope": 113, + "src": "1473:52:0", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + } + ], + "scope": 114, + "src": "59:1475:0", + "usedErrors": [] + } + ], + "src": "33:1501:0" + }, + "id": 0 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol", + "exportedSymbols": { + "AccessControl": [ + 1360 + ], + "Context": [ + 2186 + ], + "DataStorageInterface": [ + 113 + ], + "ERC165": [ + 2413 + ], + "IAccessControl": [ + 1433 + ], + "IERC165": [ + 2425 + ], + "PoolBase": [ + 720 + ], + "ReentrancyGuard": [ + 1473 + ], + "Strings": [ + 2389 + ] + }, + "id": 721, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 115, + "literals": [ + "solidity", + "0.8", + ".9" + ], + "nodeType": "PragmaDirective", + "src": "33:22:1" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/DataStorageInterface.sol", + "file": "./DataStorageInterface.sol", + "id": 116, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 721, + "sourceUnit": 114, + "src": "201:36:1", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol", + "file": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol", + "id": 117, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 721, + "sourceUnit": 1361, + "src": "239:132:1", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol", + "file": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol", + "id": 118, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 721, + "sourceUnit": 1474, + "src": "373:136:1", + "symbolAliases": [], + "unitAlias": "" + }, + { + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 120, + "name": "AccessControl", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1360, + "src": "637:13:1" + }, + "id": 121, + "nodeType": "InheritanceSpecifier", + "src": "637:13:1" + }, + { + "baseName": { + "id": 122, + "name": "ReentrancyGuard", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1473, + "src": "652:15:1" + }, + "id": 123, + "nodeType": "InheritanceSpecifier", + "src": "652:15:1" + } + ], + "canonicalName": "PoolBase", + "contractDependencies": [], + "contractKind": "contract", + "documentation": { + "id": 119, + "nodeType": "StructuredDocumentation", + "src": "513:101:1", + "text": "@title This contract handles the modifiers and environmental parameters that control the pool. " + }, + "fullyImplemented": true, + "id": 720, + "linearizedBaseContracts": [ + 720, + 1473, + 1360, + 2413, + 2425, + 1433, + 2186 + ], + "name": "PoolBase", + "nameLocation": "625:8:1", + "nodeType": "ContractDefinition", + "nodes": [ + { + "constant": true, + "functionSelector": "62308e85", + "id": 128, + "mutability": "constant", + "name": "POOL_MANAGER", + "nameLocation": "700:12:1", + "nodeType": "VariableDeclaration", + "scope": 720, + "src": "676:64:1", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 124, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "676:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": { + "arguments": [ + { + "hexValue": "504f4f4c5f4d414e41474552", + "id": 126, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "725:14:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842", + "typeString": "literal_string \"POOL_MANAGER\"" + }, + "value": "POOL_MANAGER" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842", + "typeString": "literal_string \"POOL_MANAGER\"" + } + ], + "id": 125, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "715:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 127, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "715:25:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "public" + }, + { + "anonymous": false, + "id": 132, + "name": "NewManagerAdded", + "nameLocation": "774:15:1", + "nodeType": "EventDefinition", + "parameters": { + "id": 131, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 130, + "indexed": true, + "mutability": "mutable", + "name": "_newManager", + "nameLocation": "806:11:1", + "nodeType": "VariableDeclaration", + "scope": 132, + "src": "790:27:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 129, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "790:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "789:29:1" + }, + "src": "768:51:1" + }, + { + "anonymous": false, + "id": 136, + "name": "ManagerRemoved", + "nameLocation": "831:14:1", + "nodeType": "EventDefinition", + "parameters": { + "id": 135, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 134, + "indexed": true, + "mutability": "mutable", + "name": "_removedManager", + "nameLocation": "862:15:1", + "nodeType": "VariableDeclaration", + "scope": 136, + "src": "846:31:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 133, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "846:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "845:33:1" + }, + "src": "825:54:1" + }, + { + "constant": false, + "documentation": { + "id": 137, + "nodeType": "StructuredDocumentation", + "src": "887:55:1", + "text": "@notice Getting access to the DataStorage Contract." + }, + "id": 140, + "mutability": "mutable", + "name": "dataStorage", + "nameLocation": "969:11:1", + "nodeType": "VariableDeclaration", + "scope": 720, + "src": "948:32:1", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + }, + "typeName": { + "id": 139, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 138, + "name": "DataStorageInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 113, + "src": "948:20:1" + }, + "referencedDeclaration": 113, + "src": "948:20:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "visibility": "internal" + }, + { + "body": { + "id": 168, + "nodeType": "Block", + "src": "1251:206:1", + "statements": [ + { + "expression": { + "id": 151, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 147, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "1262:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "id": 149, + "name": "_dataStorageAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 144, + "src": "1297:19:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + ], + "id": 148, + "name": "DataStorageInterface", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 113, + "src": "1276:20:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_DataStorageInterface_$113_$", + "typeString": "type(contract DataStorageInterface)" + } + }, + "id": 150, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1276:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "src": "1262:55:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 152, + "nodeType": "ExpressionStatement", + "src": "1262:55:1" + }, + { + "expression": { + "arguments": [ + { + "id": 154, + "name": "DEFAULT_ADMIN_ROLE", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1079, + "src": "1339:18:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "expression": { + "id": 155, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1359:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 156, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "1359:10:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 153, + "name": "_setupRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1268, + "src": "1328:10:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 157, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1328:42:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 158, + "nodeType": "ExpressionStatement", + "src": "1328:42:1" + }, + { + "expression": { + "arguments": [ + { + "id": 160, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 128, + "src": "1392:12:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "expression": { + "id": 161, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1406:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 162, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "1406:10:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 159, + "name": "_setupRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1268, + "src": "1381:10:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 163, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1381:36:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 164, + "nodeType": "ExpressionStatement", + "src": "1381:36:1" + }, + { + "expression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 165, + "name": "_setPoolBaseAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 276, + "src": "1428:19:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", + "typeString": "function ()" + } + }, + "id": 166, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1428:21:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 167, + "nodeType": "ExpressionStatement", + "src": "1428:21:1" + } + ] + }, + "documentation": { + "id": 141, + "nodeType": "StructuredDocumentation", + "src": "993:199:1", + "text": "@notice This contract will be deployed by the same address of the initial guardian. Afterwards Guardian may not be the same as the admin\n @notice if the guardian renounces to their guard." + }, + "id": 169, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 145, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 144, + "mutability": "mutable", + "name": "_dataStorageAddress", + "nameLocation": "1231:19:1", + "nodeType": "VariableDeclaration", + "scope": 169, + "src": "1210:40:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + }, + "typeName": { + "id": 143, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 142, + "name": "DataStorageInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 113, + "src": "1210:20:1" + }, + "referencedDeclaration": 113, + "src": "1210:20:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "visibility": "internal" + } + ], + "src": "1209:42:1" + }, + "returnParameters": { + "id": 146, + "nodeType": "ParameterList", + "parameters": [], + "src": "1251:0:1" + }, + "scope": 720, + "src": "1198:259:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 183, + "nodeType": "Block", + "src": "1631:124:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 178, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 173, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1650:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 174, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "1650:10:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 175, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "1664:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 176, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getCurrentGuardian", + "nodeType": "MemberAccess", + "referencedDeclaration": 11, + "src": "1664:30:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_address_$", + "typeString": "function () view external returns (address)" + } + }, + "id": 177, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1664:32:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "1650:46:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "4f6e6c792063616c6c61626c652062792063757272656e7420677561726469616e2e", + "id": 179, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1698:36:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c295098e4653db03d2d22453c3eb7ae49307d50964fb5a9a1311d3fef2f9e749", + "typeString": "literal_string \"Only callable by current guardian.\"" + }, + "value": "Only callable by current guardian." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_c295098e4653db03d2d22453c3eb7ae49307d50964fb5a9a1311d3fef2f9e749", + "typeString": "literal_string \"Only callable by current guardian.\"" + } + ], + "id": 172, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "1642:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 180, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1642:93:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 181, + "nodeType": "ExpressionStatement", + "src": "1642:93:1" + }, + { + "id": 182, + "nodeType": "PlaceholderStatement", + "src": "1746:1:1" + } + ] + }, + "documentation": { + "id": 170, + "nodeType": "StructuredDocumentation", + "src": "1508:86:1", + "text": "@notice Besides the access control contract, the following modifiers will be used." + }, + "id": 184, + "name": "onlyCurrentGuardian", + "nameLocation": "1609:19:1", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 171, + "nodeType": "ParameterList", + "parameters": [], + "src": "1628:2:1" + }, + "src": "1600:155:1", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 202, + "nodeType": "Block", + "src": "1790:155:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f657869737473", + "id": 192, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1863:17:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + "value": "contract_exists" + }, + { + "expression": { + "id": 193, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1882:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 194, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "1882:10:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 190, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1846:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 191, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1846:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 195, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1846:47:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 189, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1836:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 196, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1836:58:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 187, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "1809:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 188, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 36, + "src": "1809:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 197, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1809:86:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "496e76616c696420436f6e747261637420416464726573732e", + "id": 198, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1897:27:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_d36e2fdd2f4d349fc44a9cc6ea1a2b4f2a7eb320cfe91d40a3a9a6af97aada24", + "typeString": "literal_string \"Invalid Contract Address.\"" + }, + "value": "Invalid Contract Address." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_d36e2fdd2f4d349fc44a9cc6ea1a2b4f2a7eb320cfe91d40a3a9a6af97aada24", + "typeString": "literal_string \"Invalid Contract Address.\"" + } + ], + "id": 186, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "1801:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 199, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1801:124:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 200, + "nodeType": "ExpressionStatement", + "src": "1801:124:1" + }, + { + "id": 201, + "nodeType": "PlaceholderStatement", + "src": "1936:1:1" + } + ] + }, + "id": 203, + "name": "onlyPoolContract", + "nameLocation": "1772:16:1", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 185, + "nodeType": "ParameterList", + "parameters": [], + "src": "1788:2:1" + }, + "src": "1763:182:1", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 220, + "nodeType": "Block", + "src": "2070:93:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 212, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 128, + "src": "2091:12:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 213, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 205, + "src": "2105:8:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 211, + "name": "grantRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1211, + "src": "2081:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 214, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2081:33:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 215, + "nodeType": "ExpressionStatement", + "src": "2081:33:1" + }, + { + "eventCall": { + "arguments": [ + { + "id": 217, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 205, + "src": "2146:8:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 216, + "name": "NewManagerAdded", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 132, + "src": "2130:15:1", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 218, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2130:25:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 219, + "nodeType": "EmitStatement", + "src": "2125:30:1" + } + ] + }, + "functionSelector": "45077e71", + "id": 221, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 208, + "name": "DEFAULT_ADMIN_ROLE", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1079, + "src": "2050:18:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 209, + "kind": "modifierInvocation", + "modifierName": { + "id": 207, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1092, + "src": "2041:8:1" + }, + "nodeType": "ModifierInvocation", + "src": "2041:28:1" + } + ], + "name": "addPoolManager", + "nameLocation": "2000:14:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 206, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 205, + "mutability": "mutable", + "name": "_address", + "nameLocation": "2024:8:1", + "nodeType": "VariableDeclaration", + "scope": 221, + "src": "2016:16:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 204, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2016:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2015:18:1" + }, + "returnParameters": { + "id": 210, + "nodeType": "ParameterList", + "parameters": [], + "src": "2070:0:1" + }, + "scope": 720, + "src": "1991:172:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 238, + "nodeType": "Block", + "src": "2253:93:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 230, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 128, + "src": "2275:12:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 231, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 223, + "src": "2289:8:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 229, + "name": "revokeRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1231, + "src": "2264:10:1", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 232, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2264:34:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 233, + "nodeType": "ExpressionStatement", + "src": "2264:34:1" + }, + { + "eventCall": { + "arguments": [ + { + "id": 235, + "name": "_address", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 223, + "src": "2329:8:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 234, + "name": "ManagerRemoved", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 136, + "src": "2314:14:1", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", + "typeString": "function (address)" + } + }, + "id": 236, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2314:24:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 237, + "nodeType": "EmitStatement", + "src": "2309:29:1" + } + ] + }, + "functionSelector": "29ca15bc", + "id": 239, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 226, + "name": "DEFAULT_ADMIN_ROLE", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1079, + "src": "2233:18:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 227, + "kind": "modifierInvocation", + "modifierName": { + "id": 225, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1092, + "src": "2224:8:1" + }, + "nodeType": "ModifierInvocation", + "src": "2224:28:1" + } + ], + "name": "removePoolManager", + "nameLocation": "2180:17:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 224, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 223, + "mutability": "mutable", + "name": "_address", + "nameLocation": "2207:8:1", + "nodeType": "VariableDeclaration", + "scope": 239, + "src": "2199:16:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 222, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2199:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2198:18:1" + }, + "returnParameters": { + "id": 228, + "nodeType": "ParameterList", + "parameters": [], + "src": "2253:0:1" + }, + "scope": 720, + "src": "2171:175:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 275, + "nodeType": "Block", + "src": "2571:230:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f657869737473", + "id": 249, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2636:17:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + "value": "contract_exists" + }, + { + "arguments": [ + { + "id": 252, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "2663:4:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolBase_$720", + "typeString": "contract PoolBase" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_PoolBase_$720", + "typeString": "contract PoolBase" + } + ], + "id": 251, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2655:7:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 250, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2655:7:1", + "typeDescriptions": {} + } + }, + "id": 253, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2655:13:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 247, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "2619:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 248, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "2619:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 254, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2619:50:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 246, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "2609:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 255, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2609:61:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "hexValue": "74727565", + "id": 256, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2672:4:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "expression": { + "id": 243, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "2582:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 245, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 64, + "src": "2582:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_bool_$returns$__$", + "typeString": "function (bytes32,bool) external" + } + }, + "id": 257, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2582:95:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 258, + "nodeType": "ExpressionStatement", + "src": "2582:95:1" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f61646472657373", + "id": 265, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2745:18:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + "value": "contract_address" + }, + { + "hexValue": "506f6f6c42617365", + "id": 266, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2765:10:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27", + "typeString": "literal_string \"PoolBase\"" + }, + "value": "PoolBase" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + { + "typeIdentifier": "t_stringliteral_7d48e44b217fc4416b8f41623931d815be078886879ea2b15e8f101d120dbf27", + "typeString": "literal_string \"PoolBase\"" + } + ], + "expression": { + "id": 263, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "2728:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 264, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "2728:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 267, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2728:48:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 262, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "2718:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 268, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2718:59:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "arguments": [ + { + "id": 271, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "2787:4:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_PoolBase_$720", + "typeString": "contract PoolBase" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_PoolBase_$720", + "typeString": "contract PoolBase" + } + ], + "id": 270, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2779:7:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 269, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2779:7:1", + "typeDescriptions": {} + } + }, + "id": 272, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2779:13:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 259, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "2688:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 261, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setAddressStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 71, + "src": "2688:29:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address) external" + } + }, + "id": 273, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2688:105:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 274, + "nodeType": "ExpressionStatement", + "src": "2688:105:1" + } + ] + }, + "documentation": { + "id": 240, + "nodeType": "StructuredDocumentation", + "src": "2400:126:1", + "text": "@dev Store this contract address and existance on the main storage.\n @notice Called while deploying the contract. " + }, + "id": 276, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_setPoolBaseAddress", + "nameLocation": "2541:19:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 241, + "nodeType": "ParameterList", + "parameters": [], + "src": "2560:2:1" + }, + "returnParameters": { + "id": 242, + "nodeType": "ParameterList", + "parameters": [], + "src": "2571:0:1" + }, + "scope": 720, + "src": "2532:269:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "private" + }, + { + "body": { + "id": 301, + "nodeType": "Block", + "src": "3021:135:1", + "statements": [ + { + "assignments": [ + 286 + ], + "declarations": [ + { + "constant": false, + "id": 286, + "mutability": "mutable", + "name": "statusTag", + "nameLocation": "3040:9:1", + "nodeType": "VariableDeclaration", + "scope": 301, + "src": "3032:17:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 285, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3032:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 293, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 290, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3079:12:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 288, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3062:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 289, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3062:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 291, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3062:30:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 287, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "3052:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 292, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3052:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3032:61:1" + }, + { + "expression": { + "arguments": [ + { + "id": 297, + "name": "statusTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 286, + "src": "3131:9:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 298, + "name": "_live", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 279, + "src": "3142:5:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "expression": { + "id": 294, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "3104:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 296, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 64, + "src": "3104:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_bool_$returns$__$", + "typeString": "function (bytes32,bool) external" + } + }, + "id": 299, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3104:44:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 300, + "nodeType": "ExpressionStatement", + "src": "3104:44:1" + } + ] + }, + "documentation": { + "id": 277, + "nodeType": "StructuredDocumentation", + "src": "2809:143:1", + "text": "@dev Toggles the Pool Investing Switch. \n @notice While live, anyone can invest but any state variable can be modified nor deleted." + }, + "functionSelector": "a4975516", + "id": 302, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 282, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 128, + "src": "3007:12:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 283, + "kind": "modifierInvocation", + "modifierName": { + "id": 281, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1092, + "src": "2998:8:1" + }, + "nodeType": "ModifierInvocation", + "src": "2998:22:1" + } + ], + "name": "setPoolLive", + "nameLocation": "2967:11:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 280, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 279, + "mutability": "mutable", + "name": "_live", + "nameLocation": "2984:5:1", + "nodeType": "VariableDeclaration", + "scope": 302, + "src": "2979:10:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 278, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2979:4:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "2978:12:1" + }, + "returnParameters": { + "id": 284, + "nodeType": "ParameterList", + "parameters": [], + "src": "3021:0:1" + }, + "scope": 720, + "src": "2958:198:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 327, + "nodeType": "Block", + "src": "3360:149:1", + "statements": [ + { + "assignments": [ + 312 + ], + "declarations": [ + { + "constant": false, + "id": 312, + "mutability": "mutable", + "name": "poolMaxSizeTag", + "nameLocation": "3379:14:1", + "nodeType": "VariableDeclaration", + "scope": 327, + "src": "3371:22:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 311, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3371:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 319, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "706f6f6c4d617853697a65", + "id": 316, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3423:13:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42", + "typeString": "literal_string \"poolMaxSize\"" + }, + "value": "poolMaxSize" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42", + "typeString": "literal_string \"poolMaxSize\"" + } + ], + "expression": { + "id": 314, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3406:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 315, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3406:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 317, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3406:31:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 313, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "3396:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 318, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3396:42:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3371:67:1" + }, + { + "expression": { + "arguments": [ + { + "id": 323, + "name": "poolMaxSizeTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 312, + "src": "3476:14:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 324, + "name": "_maxSize", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 305, + "src": "3492:8:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 320, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "3449:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 322, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 57, + "src": "3449:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 325, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3449:52:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 326, + "nodeType": "ExpressionStatement", + "src": "3449:52:1" + } + ] + }, + "documentation": { + "id": 303, + "nodeType": "StructuredDocumentation", + "src": "3164:121:1", + "text": "@dev Sets the Pool Maximium size expressed on ether.\n @param _maxSize is a WEI value (or BigInt / BigNumber)." + }, + "functionSelector": "12646987", + "id": 328, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 308, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 128, + "src": "3346:12:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 309, + "kind": "modifierInvocation", + "modifierName": { + "id": 307, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1092, + "src": "3337:8:1" + }, + "nodeType": "ModifierInvocation", + "src": "3337:22:1" + } + ], + "name": "setPoolMaxSize", + "nameLocation": "3300:14:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 306, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 305, + "mutability": "mutable", + "name": "_maxSize", + "nameLocation": "3320:8:1", + "nodeType": "VariableDeclaration", + "scope": 328, + "src": "3315:13:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 304, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3315:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3314:15:1" + }, + "returnParameters": { + "id": 310, + "nodeType": "ParameterList", + "parameters": [], + "src": "3360:0:1" + }, + "scope": 720, + "src": "3291:218:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 368, + "nodeType": "Block", + "src": "3662:280:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 343, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3735:12:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 341, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3718:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 342, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3718:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 344, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3718:30:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 340, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "3708:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 345, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3708:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 338, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "3681:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 339, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 36, + "src": "3681:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 346, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3681:69:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "id": 347, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3752:31:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + }, + "value": "The pool is currently closed." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + } + ], + "id": 337, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "3673:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 348, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3673:111:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 349, + "nodeType": "ExpressionStatement", + "src": "3673:111:1" + }, + { + "assignments": [ + 351 + ], + "declarations": [ + { + "constant": false, + "id": 351, + "mutability": "mutable", + "name": "daysRewTag", + "nameLocation": "3803:10:1", + "nodeType": "VariableDeclaration", + "scope": 368, + "src": "3795:18:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 350, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3795:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 358, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "64617973546f52657761726473", + "id": 355, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3843:15:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d", + "typeString": "literal_string \"daysToRewards\"" + }, + "value": "daysToRewards" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d", + "typeString": "literal_string \"daysToRewards\"" + } + ], + "expression": { + "id": 353, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3826:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 354, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3826:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 356, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3826:33:1", + "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": 4294967288, + "src": "3816:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 357, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3816:44:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3795:65:1" + }, + { + "expression": { + "arguments": [ + { + "id": 362, + "name": "daysRewTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 351, + "src": "3898:10:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 365, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 363, + "name": "_daysToRewards", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 331, + "src": "3910:14:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "hexValue": "31", + "id": 364, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3927:6:1", + "subdenomination": "days", + "typeDescriptions": { + "typeIdentifier": "t_rational_86400_by_1", + "typeString": "int_const 86400" + }, + "value": "1" + }, + "src": "3910:23:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 359, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "3871:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 361, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 57, + "src": "3871:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 366, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3871:63:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 367, + "nodeType": "ExpressionStatement", + "src": "3871:63:1" + } + ] + }, + "documentation": { + "id": 329, + "nodeType": "StructuredDocumentation", + "src": "3521:56:1", + "text": "@dev Set the interval in days of the rewards period." + }, + "functionSelector": "53710f49", + "id": 369, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 334, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 128, + "src": "3648:12:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 335, + "kind": "modifierInvocation", + "modifierName": { + "id": 333, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1092, + "src": "3639:8:1" + }, + "nodeType": "ModifierInvocation", + "src": "3639:22:1" + } + ], + "name": "setRewardsInterval", + "nameLocation": "3592:18:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 332, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 331, + "mutability": "mutable", + "name": "_daysToRewards", + "nameLocation": "3616:14:1", + "nodeType": "VariableDeclaration", + "scope": 369, + "src": "3611:19:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 330, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3611:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3610:21:1" + }, + "returnParameters": { + "id": 336, + "nodeType": "ParameterList", + "parameters": [], + "src": "3662:0:1" + }, + "scope": 720, + "src": "3583:359:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 407, + "nodeType": "Block", + "src": "4230:290:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 384, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4303:12:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 382, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "4286:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 383, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "4286:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 385, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4286:30:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 381, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "4276:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 386, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4276:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 379, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "4249:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 380, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 36, + "src": "4249:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 387, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4249:69:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "id": 388, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4320:31:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + }, + "value": "The pool is currently closed." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + } + ], + "id": 378, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "4241:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 389, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4241:111:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 390, + "nodeType": "ExpressionStatement", + "src": "4241:111:1" + }, + { + "assignments": [ + 392 + ], + "declarations": [ + { + "constant": false, + "id": 392, + "mutability": "mutable", + "name": "rewardsIntTag", + "nameLocation": "4371:13:1", + "nodeType": "VariableDeclaration", + "scope": 407, + "src": "4363:21:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 391, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4363:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 399, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "72657761726473496e746572657374506572506572696f64", + "id": 396, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4414:26:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c", + "typeString": "literal_string \"rewardsInterestPerPeriod\"" + }, + "value": "rewardsInterestPerPeriod" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c", + "typeString": "literal_string \"rewardsInterestPerPeriod\"" + } + ], + "expression": { + "id": 394, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "4397:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 395, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "4397:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 397, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4397:44:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 393, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "4387:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 398, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4387:55:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4363:79:1" + }, + { + "expression": { + "arguments": [ + { + "id": 403, + "name": "rewardsIntTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 392, + "src": "4480:13:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 404, + "name": "_rewardsInterest", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 372, + "src": "4495:16:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 400, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "4453:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 402, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 57, + "src": "4453:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 405, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4453:59:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 406, + "nodeType": "ExpressionStatement", + "src": "4453:59:1" + } + ] + }, + "documentation": { + "id": 370, + "nodeType": "StructuredDocumentation", + "src": "3950:193:1", + "text": "@dev Set the interest per effective period.\n @param _rewardsInterest within the storage has 6 decimals.\n @notice E.G. If 0.001134 rate is desired, 0.001134 * (10**6) = 1134." + }, + "functionSelector": "bf4c0036", + "id": 408, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 375, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 128, + "src": "4216:12:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 376, + "kind": "modifierInvocation", + "modifierName": { + "id": 374, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1092, + "src": "4207:8:1" + }, + "nodeType": "ModifierInvocation", + "src": "4207:22:1" + } + ], + "name": "setRewardsInterest", + "nameLocation": "4158:18:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 373, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 372, + "mutability": "mutable", + "name": "_rewardsInterest", + "nameLocation": "4182:16:1", + "nodeType": "VariableDeclaration", + "scope": 408, + "src": "4177:21:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 371, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "4177:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "4176:23:1" + }, + "returnParameters": { + "id": 377, + "nodeType": "ParameterList", + "parameters": [], + "src": "4230:0:1" + }, + "scope": 720, + "src": "4149:371:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 446, + "nodeType": "Block", + "src": "4718:281:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 423, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4791:12:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 421, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "4774:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 422, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "4774:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 424, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4774:30:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 420, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "4764:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 425, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4764:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 418, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "4737:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 419, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 36, + "src": "4737:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 426, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4737:69:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "id": 427, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4808:31:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + }, + "value": "The pool is currently closed." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + } + ], + "id": 417, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "4729:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 428, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4729:111:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 429, + "nodeType": "ExpressionStatement", + "src": "4729:111:1" + }, + { + "assignments": [ + 431 + ], + "declarations": [ + { + "constant": false, + "id": 431, + "mutability": "mutable", + "name": "contrLimitTag", + "nameLocation": "4859:13:1", + "nodeType": "VariableDeclaration", + "scope": 446, + "src": "4851:21:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 430, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4851:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 438, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e747269627574696f6e4c696d6974", + "id": 435, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4902:19:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044", + "typeString": "literal_string \"contributionLimit\"" + }, + "value": "contributionLimit" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044", + "typeString": "literal_string \"contributionLimit\"" + } + ], + "expression": { + "id": 433, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "4885:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 434, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "4885:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 436, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4885:37:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 432, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "4875:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 437, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4875:48:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4851:72:1" + }, + { + "expression": { + "arguments": [ + { + "id": 442, + "name": "contrLimitTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 431, + "src": "4961:13:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 443, + "name": "_newContrLimit", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 411, + "src": "4976:14:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 439, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "4934:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 441, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 57, + "src": "4934:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 444, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4934:57:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 445, + "nodeType": "ExpressionStatement", + "src": "4934:57:1" + } + ] + }, + "documentation": { + "id": 409, + "nodeType": "StructuredDocumentation", + "src": "4528:104:1", + "text": "@dev Set the max. contribution allowed for each user.\n @param _newContrLimit is a WEI value." + }, + "functionSelector": "72d099a0", + "id": 447, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 414, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 128, + "src": "4705:12:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 415, + "kind": "modifierInvocation", + "modifierName": { + "id": 413, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1092, + "src": "4696:8:1" + }, + "nodeType": "ModifierInvocation", + "src": "4696:22:1" + } + ], + "name": "setContributionLimit", + "nameLocation": "4647:20:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 412, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 411, + "mutability": "mutable", + "name": "_newContrLimit", + "nameLocation": "4673:14:1", + "nodeType": "VariableDeclaration", + "scope": 447, + "src": "4668:19:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 410, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "4668:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "4667:21:1" + }, + "returnParameters": { + "id": 416, + "nodeType": "ParameterList", + "parameters": [], + "src": "4718:0:1" + }, + "scope": 720, + "src": "4638:361:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 485, + "nodeType": "Block", + "src": "5192:273:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 462, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5265:12:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 460, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "5248:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 461, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5248:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 463, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5248:30:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 459, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "5238:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 464, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5238:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 457, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "5211:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 458, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 36, + "src": "5211:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 465, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5211:69:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "id": 466, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5282:31:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + }, + "value": "The pool is currently closed." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + } + ], + "id": 456, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "5203:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 467, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5203:111:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 468, + "nodeType": "ExpressionStatement", + "src": "5203:111:1" + }, + { + "assignments": [ + 470 + ], + "declarations": [ + { + "constant": false, + "id": 470, + "mutability": "mutable", + "name": "minContrTag", + "nameLocation": "5333:11:1", + "nodeType": "VariableDeclaration", + "scope": 485, + "src": "5325:19:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 469, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "5325:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 477, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6d696e436f6e747269627574696f6e", + "id": 474, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5374:17:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36", + "typeString": "literal_string \"minContribution\"" + }, + "value": "minContribution" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36", + "typeString": "literal_string \"minContribution\"" + } + ], + "expression": { + "id": 472, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "5357:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 473, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5357:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 475, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5357:35:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 471, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "5347:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 476, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5347:46:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5325:68:1" + }, + { + "expression": { + "arguments": [ + { + "id": 481, + "name": "minContrTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 470, + "src": "5431:11:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 482, + "name": "_newMinContr", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 450, + "src": "5444:12:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 478, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "5404:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 480, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 57, + "src": "5404:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 483, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5404:53:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 484, + "nodeType": "ExpressionStatement", + "src": "5404:53:1" + } + ] + }, + "documentation": { + "id": 448, + "nodeType": "StructuredDocumentation", + "src": "5007:102:1", + "text": "@dev Set the min. contribution allowed for each user.\n @param _newMinContr is a WEI value." + }, + "functionSelector": "473b0d46", + "id": 486, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 453, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 128, + "src": "5179:12:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 454, + "kind": "modifierInvocation", + "modifierName": { + "id": 452, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1092, + "src": "5170:8:1" + }, + "nodeType": "ModifierInvocation", + "src": "5170:22:1" + } + ], + "name": "setMinContribution", + "nameLocation": "5124:18:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 451, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 450, + "mutability": "mutable", + "name": "_newMinContr", + "nameLocation": "5149:12:1", + "nodeType": "VariableDeclaration", + "scope": 486, + "src": "5144:17:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 449, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "5144:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "5143:19:1" + }, + "returnParameters": { + "id": 455, + "nodeType": "ParameterList", + "parameters": [], + "src": "5192:0:1" + }, + "scope": 720, + "src": "5115:350:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 540, + "nodeType": "Block", + "src": "5848:410:1", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 501, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5921:12:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 499, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "5904:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 500, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "5904:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 502, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5904:30:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 498, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "5894:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 503, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5894:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 496, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "5867:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 497, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 36, + "src": "5867:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 504, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5867:69:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "54686520706f6f6c2069732063757272656e746c7920636c6f7365642e", + "id": 505, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5938:31:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + }, + "value": "The pool is currently closed." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_60c4e760591f587f06ca49f1ec0297eecd2db832fbe6a591ed83e03f27f0db7c", + "typeString": "literal_string \"The pool is currently closed.\"" + } + ], + "id": 495, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "5859:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 506, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5859:111:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 507, + "nodeType": "ExpressionStatement", + "src": "5859:111:1" + }, + { + "assignments": [ + 509 + ], + "declarations": [ + { + "constant": false, + "id": 509, + "mutability": "mutable", + "name": "poolFeesTag", + "nameLocation": "5989:11:1", + "nodeType": "VariableDeclaration", + "scope": 540, + "src": "5981:19:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 508, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "5981:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 516, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "706f6f6c46656573", + "id": 513, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6030:10:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_0f5404ed03256cc6395ed559bf52ccb5ab11bf8dddbd240da7e6d5ad4ab04dd7", + "typeString": "literal_string \"poolFees\"" + }, + "value": "poolFees" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_0f5404ed03256cc6395ed559bf52ccb5ab11bf8dddbd240da7e6d5ad4ab04dd7", + "typeString": "literal_string \"poolFees\"" + } + ], + "expression": { + "id": 511, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "6013:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 512, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "6013:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 514, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6013:28:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 510, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "6003:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 515, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6003:39:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5981:61:1" + }, + { + "assignments": [ + 518 + ], + "declarations": [ + { + "constant": false, + "id": 518, + "mutability": "mutable", + "name": "poolFeesSetTag", + "nameLocation": "6061:14:1", + "nodeType": "VariableDeclaration", + "scope": 540, + "src": "6053:22:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 517, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6053:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 525, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "706f6f6c46656573536574", + "id": 522, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6105:13:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_8f6e48ebe95c46ad356449234d760f7838119a9ccd28d70c8f8be00c200e3039", + "typeString": "literal_string \"poolFeesSet\"" + }, + "value": "poolFeesSet" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_8f6e48ebe95c46ad356449234d760f7838119a9ccd28d70c8f8be00c200e3039", + "typeString": "literal_string \"poolFeesSet\"" + } + ], + "expression": { + "id": 520, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "6088:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 521, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "6088:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 523, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6088:31:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 519, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "6078:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 524, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6078:42:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6053:67:1" + }, + { + "expression": { + "arguments": [ + { + "id": 529, + "name": "poolFeesTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 509, + "src": "6168:11:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 530, + "name": "_poolFees", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 489, + "src": "6181:9:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 526, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "6141:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 528, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 57, + "src": "6141:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 531, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6141:50:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 532, + "nodeType": "ExpressionStatement", + "src": "6141:50:1" + }, + { + "expression": { + "arguments": [ + { + "id": 536, + "name": "poolFeesSetTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 518, + "src": "6229:14:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "hexValue": "74727565", + "id": 537, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6245:4:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "expression": { + "id": 533, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "6202:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 535, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 64, + "src": "6202:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_bool_$returns$__$", + "typeString": "function (bytes32,bool) external" + } + }, + "id": 538, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6202:48:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 539, + "nodeType": "ExpressionStatement", + "src": "6202:48:1" + } + ] + }, + "documentation": { + "id": 487, + "nodeType": "StructuredDocumentation", + "src": "5479:296:1", + "text": "@dev Set the pool fees fraction that the pool charges for each deposit.\n @param _poolFees within the storage has 6 decimals.\n @notice E.G. If 0.001235 fees fraction are desired, 0.001235 * (10**6) = 1235.\n @notice Also it sets the state variable \"poolFeesSet\" as true." + }, + "functionSelector": "8dd225d5", + "id": 541, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "id": 492, + "name": "POOL_MANAGER", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 128, + "src": "5834:12:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 493, + "kind": "modifierInvocation", + "modifierName": { + "id": 491, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1092, + "src": "5825:8:1" + }, + "nodeType": "ModifierInvocation", + "src": "5825:22:1" + } + ], + "name": "setPoolFees", + "nameLocation": "5790:11:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 490, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 489, + "mutability": "mutable", + "name": "_poolFees", + "nameLocation": "5807:9:1", + "nodeType": "VariableDeclaration", + "scope": 541, + "src": "5802:14:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 488, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "5802:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "5801:16:1" + }, + "returnParameters": { + "id": 494, + "nodeType": "ParameterList", + "parameters": [], + "src": "5848:0:1" + }, + "scope": 720, + "src": "5781:477:1", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 578, + "nodeType": "Block", + "src": "6443:296:1", + "statements": [ + { + "assignments": [ + 550 + ], + "declarations": [ + { + "constant": false, + "id": 550, + "mutability": "mutable", + "name": "addressTag", + "nameLocation": "6462:10:1", + "nodeType": "VariableDeclaration", + "scope": 578, + "src": "6454:18:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 549, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6454:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 558, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f5f61646472657373", + "id": 554, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6502:19:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_00b032c55d5413576ded643dc6cefced0f3cb828720e7577b44d09665bcd4ae3", + "typeString": "literal_string \"contract__address\"" + }, + "value": "contract__address" + }, + { + "id": 555, + "name": "_contractName", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 544, + "src": "6523:13:1", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_00b032c55d5413576ded643dc6cefced0f3cb828720e7577b44d09665bcd4ae3", + "typeString": "literal_string \"contract__address\"" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 552, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "6485:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 553, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "6485:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 556, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6485:52:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 551, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "6475:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 557, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6475:63:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6454:84:1" + }, + { + "assignments": [ + 560 + ], + "declarations": [ + { + "constant": false, + "id": 560, + "mutability": "mutable", + "name": "contractAddress", + "nameLocation": "6557:15:1", + "nodeType": "VariableDeclaration", + "scope": 578, + "src": "6549:23:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 559, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6549:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "id": 565, + "initialValue": { + "arguments": [ + { + "id": 563, + "name": "addressTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 550, + "src": "6605:10:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 561, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "6575:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 562, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getAddressStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 43, + "src": "6575:29:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_address_$", + "typeString": "function (bytes32) view external returns (address)" + } + }, + "id": 564, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6575:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6549:67:1" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 572, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 567, + "name": "contractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 560, + "src": "6635:15:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "arguments": [ + { + "hexValue": "307830", + "id": 570, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6662:3:1", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0x0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 569, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "6654:7:1", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 568, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6654:7:1", + "typeDescriptions": {} + } + }, + "id": 571, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6654:12:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "6635:31:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "436f6e74726163742061646472657373206e6f7420666f756e642e", + "id": 573, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6668:29:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_308638a0d46b73b9203c635ec2b36574c482f0f0b0c13080ce12f9b33ca2d5c6", + "typeString": "literal_string \"Contract address not found.\"" + }, + "value": "Contract address not found." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_308638a0d46b73b9203c635ec2b36574c482f0f0b0c13080ce12f9b33ca2d5c6", + "typeString": "literal_string \"Contract address not found.\"" + } + ], + "id": 566, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "6627:7:1", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 574, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6627:71:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 575, + "nodeType": "ExpressionStatement", + "src": "6627:71:1" + }, + { + "expression": { + "id": 576, + "name": "contractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 560, + "src": "6716:15:1", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "functionReturnParameters": 548, + "id": 577, + "nodeType": "Return", + "src": "6709:22:1" + } + ] + }, + "documentation": { + "id": 542, + "nodeType": "StructuredDocumentation", + "src": "6308:42:1", + "text": "@dev Getters for each pool variable." + }, + "id": 579, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getContractAddress", + "nameLocation": "6365:18:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 545, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 544, + "mutability": "mutable", + "name": "_contractName", + "nameLocation": "6398:13:1", + "nodeType": "VariableDeclaration", + "scope": 579, + "src": "6384:27:1", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 543, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "6384:6:1", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "6383:29:1" + }, + "returnParameters": { + "id": 548, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 547, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 579, + "src": "6435:7:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 546, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6435:7:1", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "6434:9:1" + }, + "scope": 720, + "src": "6356:383:1", + "stateMutability": "view", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 598, + "nodeType": "Block", + "src": "6796:135:1", + "statements": [ + { + "assignments": [ + 585 + ], + "declarations": [ + { + "constant": false, + "id": 585, + "mutability": "mutable", + "name": "statusTag", + "nameLocation": "6815:9:1", + "nodeType": "VariableDeclaration", + "scope": 598, + "src": "6807:17:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 584, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6807:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 592, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6973506f6f6c4c697665", + "id": 589, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6854:12:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + }, + "value": "isPoolLive" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_24afc7586fa65aad2110d4f3033935f34f59a2992360b396224b20cc357f64ad", + "typeString": "literal_string \"isPoolLive\"" + } + ], + "expression": { + "id": 587, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "6837:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 588, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "6837:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 590, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6837:30:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 586, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "6827:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 591, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6827:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6807:61:1" + }, + { + "expression": { + "arguments": [ + { + "id": 595, + "name": "statusTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 585, + "src": "6913:9:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 593, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "6886:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 594, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 36, + "src": "6886:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_bool_$", + "typeString": "function (bytes32) view external returns (bool)" + } + }, + "id": 596, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6886:37:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "functionReturnParameters": 583, + "id": 597, + "nodeType": "Return", + "src": "6879:44:1" + } + ] + }, + "functionSelector": "217ac237", + "id": 599, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getPoolState", + "nameLocation": "6756:12:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 580, + "nodeType": "ParameterList", + "parameters": [], + "src": "6768:2:1" + }, + "returnParameters": { + "id": 583, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 582, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 599, + "src": "6791:4:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 581, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "6791:4:1", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "6790:6:1" + }, + "scope": 720, + "src": "6747:184:1", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 618, + "nodeType": "Block", + "src": "6990:154:1", + "statements": [ + { + "assignments": [ + 605 + ], + "declarations": [ + { + "constant": false, + "id": 605, + "mutability": "mutable", + "name": "poolMaxSizeTag", + "nameLocation": "7009:14:1", + "nodeType": "VariableDeclaration", + "scope": 618, + "src": "7001:22:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 604, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "7001:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 612, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "706f6f6c4d617853697a65", + "id": 609, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7053:13:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42", + "typeString": "literal_string \"poolMaxSize\"" + }, + "value": "poolMaxSize" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_8008567fb612d2a173217e335317f699bfe7c52b9bee7b58dbaa7fc3ecad3d42", + "typeString": "literal_string \"poolMaxSize\"" + } + ], + "expression": { + "id": 607, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "7036:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 608, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "7036:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 610, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7036:31:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 606, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "7026:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 611, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7026:42:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7001:67:1" + }, + { + "expression": { + "arguments": [ + { + "id": 615, + "name": "poolMaxSizeTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 605, + "src": "7113:14:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 613, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "7086:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 614, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 29, + "src": "7086:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 616, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7086:42:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 603, + "id": 617, + "nodeType": "Return", + "src": "7079:49:1" + } + ] + }, + "functionSelector": "095df57f", + "id": 619, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getPoolMaxSize", + "nameLocation": "6948:14:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 600, + "nodeType": "ParameterList", + "parameters": [], + "src": "6962:2:1" + }, + "returnParameters": { + "id": 603, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 602, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 619, + "src": "6985:4:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 601, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "6985:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "6984:6:1" + }, + "scope": 720, + "src": "6939:205:1", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 638, + "nodeType": "Block", + "src": "7207:140:1", + "statements": [ + { + "assignments": [ + 625 + ], + "declarations": [ + { + "constant": false, + "id": 625, + "mutability": "mutable", + "name": "daysRewTag", + "nameLocation": "7226:10:1", + "nodeType": "VariableDeclaration", + "scope": 638, + "src": "7218:18:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 624, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "7218:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 632, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "64617973546f52657761726473", + "id": 629, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7266:15:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d", + "typeString": "literal_string \"daysToRewards\"" + }, + "value": "daysToRewards" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_7a3fdd3c1d2a175a98f62772d8101d4627fca9f0c89e0b0f8ddaf54c3585f53d", + "typeString": "literal_string \"daysToRewards\"" + } + ], + "expression": { + "id": 627, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "7249:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 628, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "7249:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 630, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7249:33:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 626, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "7239:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 631, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7239:44:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7218:65:1" + }, + { + "expression": { + "arguments": [ + { + "id": 635, + "name": "daysRewTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 625, + "src": "7328:10:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 633, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "7301:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 634, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 29, + "src": "7301:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 636, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7301:38:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 623, + "id": 637, + "nodeType": "Return", + "src": "7294:45:1" + } + ] + }, + "functionSelector": "497d0241", + "id": 639, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getRewardsInterval", + "nameLocation": "7161:18:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 620, + "nodeType": "ParameterList", + "parameters": [], + "src": "7179:2:1" + }, + "returnParameters": { + "id": 623, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 622, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 639, + "src": "7202:4:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 621, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7202:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "7201:6:1" + }, + "scope": 720, + "src": "7152:195:1", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 658, + "nodeType": "Block", + "src": "7410:157:1", + "statements": [ + { + "assignments": [ + 645 + ], + "declarations": [ + { + "constant": false, + "id": 645, + "mutability": "mutable", + "name": "rewardsIntTag", + "nameLocation": "7429:13:1", + "nodeType": "VariableDeclaration", + "scope": 658, + "src": "7421:21:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 644, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "7421:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 652, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "72657761726473496e746572657374506572506572696f64", + "id": 649, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7472:26:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c", + "typeString": "literal_string \"rewardsInterestPerPeriod\"" + }, + "value": "rewardsInterestPerPeriod" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_afcd0218552f61c6577a96e230e2b5e01c1637e242fba20b0287d8cc8d80094c", + "typeString": "literal_string \"rewardsInterestPerPeriod\"" + } + ], + "expression": { + "id": 647, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "7455:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 648, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "7455:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 650, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7455:44:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 646, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "7445:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 651, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7445:55:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7421:79:1" + }, + { + "expression": { + "arguments": [ + { + "id": 655, + "name": "rewardsIntTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 645, + "src": "7545:13:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 653, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "7518:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 654, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 29, + "src": "7518:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 656, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7518:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 643, + "id": 657, + "nodeType": "Return", + "src": "7511:48:1" + } + ] + }, + "functionSelector": "7521796f", + "id": 659, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getRewardsInterest", + "nameLocation": "7364:18:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 640, + "nodeType": "ParameterList", + "parameters": [], + "src": "7382:2:1" + }, + "returnParameters": { + "id": 643, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 642, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 659, + "src": "7405:4:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 641, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7405:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "7404:6:1" + }, + "scope": 720, + "src": "7355:212:1", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 678, + "nodeType": "Block", + "src": "7632:150:1", + "statements": [ + { + "assignments": [ + 665 + ], + "declarations": [ + { + "constant": false, + "id": 665, + "mutability": "mutable", + "name": "contrLimitTag", + "nameLocation": "7651:13:1", + "nodeType": "VariableDeclaration", + "scope": 678, + "src": "7643:21:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 664, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "7643:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 672, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e747269627574696f6e4c696d6974", + "id": 669, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7694:19:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044", + "typeString": "literal_string \"contributionLimit\"" + }, + "value": "contributionLimit" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_87becb06b1947d0aac429bd2dd479f08c7e67b389fca80dd22644701d3010044", + "typeString": "literal_string \"contributionLimit\"" + } + ], + "expression": { + "id": 667, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "7677:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 668, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "7677:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 670, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7677:37:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 666, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "7667:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 671, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7667:48:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7643:72:1" + }, + { + "expression": { + "arguments": [ + { + "id": 675, + "name": "contrLimitTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 665, + "src": "7760:13:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 673, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "7733:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 674, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 29, + "src": "7733:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 676, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7733:41:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 663, + "id": 677, + "nodeType": "Return", + "src": "7726:48:1" + } + ] + }, + "functionSelector": "fa1e19e5", + "id": 679, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getContributionLimit", + "nameLocation": "7584:20:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 660, + "nodeType": "ParameterList", + "parameters": [], + "src": "7604:2:1" + }, + "returnParameters": { + "id": 663, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 662, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 679, + "src": "7627:4:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 661, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7627:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "7626:6:1" + }, + "scope": 720, + "src": "7575:207:1", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 698, + "nodeType": "Block", + "src": "7845:144:1", + "statements": [ + { + "assignments": [ + 685 + ], + "declarations": [ + { + "constant": false, + "id": 685, + "mutability": "mutable", + "name": "minContrTag", + "nameLocation": "7864:11:1", + "nodeType": "VariableDeclaration", + "scope": 698, + "src": "7856:19:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 684, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "7856:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 692, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "6d696e436f6e747269627574696f6e", + "id": 689, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7905:17:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36", + "typeString": "literal_string \"minContribution\"" + }, + "value": "minContribution" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_f19647660d9da961d7c33a865aff72411c32724bb2435fef3265afa18d021f36", + "typeString": "literal_string \"minContribution\"" + } + ], + "expression": { + "id": 687, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "7888:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 688, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "7888:16:1", + "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, + "names": [], + "nodeType": "FunctionCall", + "src": "7888:35:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 686, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "7878:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 691, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7878:46:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7856:68:1" + }, + { + "expression": { + "arguments": [ + { + "id": 695, + "name": "minContrTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 685, + "src": "7969:11:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 693, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "7942:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 694, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 29, + "src": "7942:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 696, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7942:39:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 683, + "id": 697, + "nodeType": "Return", + "src": "7935:46:1" + } + ] + }, + "functionSelector": "543edfb6", + "id": 699, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "setMinContribution", + "nameLocation": "7799:18:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 680, + "nodeType": "ParameterList", + "parameters": [], + "src": "7817:2:1" + }, + "returnParameters": { + "id": 683, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 682, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 699, + "src": "7840:4:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 681, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "7840:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "7839:6:1" + }, + "scope": 720, + "src": "7790:199:1", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 718, + "nodeType": "Block", + "src": "8049:137:1", + "statements": [ + { + "assignments": [ + 705 + ], + "declarations": [ + { + "constant": false, + "id": 705, + "mutability": "mutable", + "name": "poolFeesTag", + "nameLocation": "8068:11:1", + "nodeType": "VariableDeclaration", + "scope": 718, + "src": "8060:19:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 704, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "8060:7:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 712, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "706f6f6c46656573", + "id": 709, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8109:10:1", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_0f5404ed03256cc6395ed559bf52ccb5ab11bf8dddbd240da7e6d5ad4ab04dd7", + "typeString": "literal_string \"poolFees\"" + }, + "value": "poolFees" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_0f5404ed03256cc6395ed559bf52ccb5ab11bf8dddbd240da7e6d5ad4ab04dd7", + "typeString": "literal_string \"poolFees\"" + } + ], + "expression": { + "id": 707, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "8092:3:1", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 708, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "8092:16:1", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 710, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8092:28:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 706, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "8082:9:1", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 711, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8082:39:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "8060:61:1" + }, + { + "expression": { + "arguments": [ + { + "id": 715, + "name": "poolFeesTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 705, + "src": "8166:11:1", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "expression": { + "id": 713, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "8139:11:1", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 714, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 29, + "src": "8139:26:1", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$_t_bytes32_$returns$_t_uint256_$", + "typeString": "function (bytes32) view external returns (uint256)" + } + }, + "id": 716, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8139:39:1", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 703, + "id": 717, + "nodeType": "Return", + "src": "8132:46:1" + } + ] + }, + "functionSelector": "d1d8d060", + "id": 719, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getPoolFees", + "nameLocation": "8010:11:1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 700, + "nodeType": "ParameterList", + "parameters": [], + "src": "8021:2:1" + }, + "returnParameters": { + "id": 703, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 702, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 719, + "src": "8044:4:1", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 701, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "8044:4:1", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "8043:6:1" + }, + "scope": 720, + "src": "8001:185:1", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + } + ], + "scope": 721, + "src": "616:7585:1", + "usedErrors": [] + } + ], + "src": "33:8168:1" + }, + "id": 1 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/TokenBalancesInterface.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/TokenBalancesInterface.sol", + "exportedSymbols": { + "TokenBalancesInterface": [ + 738 + ] + }, + "id": 739, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 722, + "literals": [ + "solidity", + "0.8", + ".9" + ], + "nodeType": "PragmaDirective", + "src": "33:22:2" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "TokenBalancesInterface", + "contractDependencies": [], + "contractKind": "interface", + "fullyImplemented": false, + "id": 738, + "linearizedBaseContracts": [ + 738 + ], + "name": "TokenBalancesInterface", + "nameLocation": "71:22:2", + "nodeType": "ContractDefinition", + "nodes": [ + { + "functionSelector": "6402c262", + "id": 727, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getTotalEthSupply", + "nameLocation": "113:17:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 723, + "nodeType": "ParameterList", + "parameters": [], + "src": "130:2:2" + }, + "returnParameters": { + "id": 726, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 725, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 727, + "src": "155:4:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 724, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "155:4:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "154:6:2" + }, + "scope": 738, + "src": "104:57:2", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "e2bcb3df", + "id": 732, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getTotalrwEthSupply", + "nameLocation": "176:19:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 728, + "nodeType": "ParameterList", + "parameters": [], + "src": "195:2:2" + }, + "returnParameters": { + "id": 731, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 730, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 732, + "src": "220:4:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 729, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "220:4:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "219:6:2" + }, + "scope": 738, + "src": "167:59:2", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "functionSelector": "70959ff8", + "id": 737, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getTotalEtherStaked", + "nameLocation": "241:19:2", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 733, + "nodeType": "ParameterList", + "parameters": [], + "src": "260:2:2" + }, + "returnParameters": { + "id": 736, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 735, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 737, + "src": "285:4:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 734, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "285:4:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "284:6:2" + }, + "scope": 738, + "src": "232:59:2", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + } + ], + "scope": 739, + "src": "61:233:2", + "usedErrors": [] + } + ], + "src": "33:261:2" + }, + "id": 2 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/rwETHToken.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/rwETHToken.sol", + "exportedSymbols": { + "AccessControl": [ + 1360 + ], + "Context": [ + 2186 + ], + "DataStorageInterface": [ + 113 + ], + "ERC165": [ + 2413 + ], + "ERC20": [ + 2061 + ], + "IAccessControl": [ + 1433 + ], + "IERC165": [ + 2425 + ], + "IERC20": [ + 2139 + ], + "IERC20Metadata": [ + 2164 + ], + "PoolBase": [ + 720 + ], + "ReentrancyGuard": [ + 1473 + ], + "Strings": [ + 2389 + ], + "TokenBalancesInterface": [ + 738 + ], + "rwETHToken": [ + 1051 + ] + }, + "id": 1052, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 740, + "literals": [ + "solidity", + "0.8", + ".9" + ], + "nodeType": "PragmaDirective", + "src": "33:22:3" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol", + "file": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol", + "id": 741, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1052, + "sourceUnit": 2062, + "src": "200:129:3", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol", + "file": "./PoolBase.sol", + "id": 742, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1052, + "sourceUnit": 721, + "src": "331:24:3", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/TokenBalancesInterface.sol", + "file": "./TokenBalancesInterface.sol", + "id": 743, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1052, + "sourceUnit": 739, + "src": "357:38:3", + "symbolAliases": [], + "unitAlias": "" + }, + { + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 744, + "name": "PoolBase", + "nodeType": "IdentifierPath", + "referencedDeclaration": 720, + "src": "422:8:3" + }, + "id": 745, + "nodeType": "InheritanceSpecifier", + "src": "422:8:3" + }, + { + "baseName": { + "id": 746, + "name": "ERC20", + "nodeType": "IdentifierPath", + "referencedDeclaration": 2061, + "src": "432:5:3" + }, + "id": 747, + "nodeType": "InheritanceSpecifier", + "src": "432:5:3" + } + ], + "canonicalName": "rwETHToken", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "id": 1051, + "linearizedBaseContracts": [ + 1051, + 2061, + 2164, + 2139, + 720, + 1473, + 1360, + 2413, + 2425, + 1433, + 2186 + ], + "name": "rwETHToken", + "nameLocation": "408:10:3", + "nodeType": "ContractDefinition", + "nodes": [ + { + "anonymous": false, + "id": 755, + "name": "TokensMinted", + "nameLocation": "453:12:3", + "nodeType": "EventDefinition", + "parameters": { + "id": 754, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 749, + "indexed": true, + "mutability": "mutable", + "name": "_to", + "nameLocation": "482:3:3", + "nodeType": "VariableDeclaration", + "scope": 755, + "src": "466:19:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 748, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "466:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 751, + "indexed": false, + "mutability": "mutable", + "name": "_rwEthAmount", + "nameLocation": "492:12:3", + "nodeType": "VariableDeclaration", + "scope": 755, + "src": "487:17:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 750, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "487:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 753, + "indexed": false, + "mutability": "mutable", + "name": "_ethAmount", + "nameLocation": "511:10:3", + "nodeType": "VariableDeclaration", + "scope": 755, + "src": "506:15:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 752, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "506:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "465:57:3" + }, + "src": "447:76:3" + }, + { + "anonymous": false, + "id": 761, + "name": "TokensBurned", + "nameLocation": "535:12:3", + "nodeType": "EventDefinition", + "parameters": { + "id": 760, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 757, + "indexed": true, + "mutability": "mutable", + "name": "_from", + "nameLocation": "564:5:3", + "nodeType": "VariableDeclaration", + "scope": 761, + "src": "548:21:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 756, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "548:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 759, + "indexed": false, + "mutability": "mutable", + "name": "_rwEthAmount", + "nameLocation": "576:12:3", + "nodeType": "VariableDeclaration", + "scope": 761, + "src": "571:17:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 758, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "571:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "547:42:3" + }, + "src": "529:61:3" + }, + { + "body": { + "id": 777, + "nodeType": "Block", + "src": "716:42:3", + "statements": [ + { + "expression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 774, + "name": "_setRwETHTokenAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 815, + "src": "727:21:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", + "typeString": "function ()" + } + }, + "id": 775, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "727:23:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 776, + "nodeType": "ExpressionStatement", + "src": "727:23:3" + } + ] + }, + "id": 778, + "implemented": true, + "kind": "constructor", + "modifiers": [ + { + "arguments": [ + { + "id": 767, + "name": "_dataStorageAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 764, + "src": "661:19:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + } + ], + "id": 768, + "kind": "baseConstructorSpecifier", + "modifierName": { + "id": 766, + "name": "PoolBase", + "nodeType": "IdentifierPath", + "referencedDeclaration": 720, + "src": "652:8:3" + }, + "nodeType": "ModifierInvocation", + "src": "652:29:3" + }, + { + "arguments": [ + { + "hexValue": "5265776172642045544820546f6b656e", + "id": 770, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "688:18:3", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_8b8d1d3634a822bd09cb06bb99b0e98a3a7e4516852acb0b2bccd81c97d4d569", + "typeString": "literal_string \"Reward ETH Token\"" + }, + "value": "Reward ETH Token" + }, + { + "hexValue": "7277455448", + "id": 771, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "708:7:3", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_6252835a2e79e84d21ce282830f28a7f31caab1daa1032b0ba6c39618191618f", + "typeString": "literal_string \"rwETH\"" + }, + "value": "rwETH" + } + ], + "id": 772, + "kind": "baseConstructorSpecifier", + "modifierName": { + "id": 769, + "name": "ERC20", + "nodeType": "IdentifierPath", + "referencedDeclaration": 2061, + "src": "682:5:3" + }, + "nodeType": "ModifierInvocation", + "src": "682:34:3" + } + ], + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 765, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 764, + "mutability": "mutable", + "name": "_dataStorageAddress", + "nameLocation": "631:19:3", + "nodeType": "VariableDeclaration", + "scope": 778, + "src": "610:40:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + }, + "typeName": { + "id": 763, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 762, + "name": "DataStorageInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 113, + "src": "610:20:3" + }, + "referencedDeclaration": 113, + "src": "610:20:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "visibility": "internal" + } + ], + "src": "609:42:3" + }, + "returnParameters": { + "id": 773, + "nodeType": "ParameterList", + "parameters": [], + "src": "716:0:3" + }, + "scope": 1051, + "src": "598:160:3", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 814, + "nodeType": "Block", + "src": "939:232:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f657869737473", + "id": 788, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1004:17:3", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + "value": "contract_exists" + }, + { + "arguments": [ + { + "id": 791, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "1031:4:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHToken_$1051", + "typeString": "contract rwETHToken" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_rwETHToken_$1051", + "typeString": "contract rwETHToken" + } + ], + "id": 790, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1023:7:3", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 789, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1023:7:3", + "typeDescriptions": {} + } + }, + "id": 792, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1023:13:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 786, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "987:3:3", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 787, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "987:16:3", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 793, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "987:50:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 785, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "977:9:3", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 794, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "977:61:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "hexValue": "74727565", + "id": 795, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1040:4:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "expression": { + "id": 782, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "950:11:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 784, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 64, + "src": "950:26:3", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_bool_$returns$__$", + "typeString": "function (bytes32,bool) external" + } + }, + "id": 796, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "950:95:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 797, + "nodeType": "ExpressionStatement", + "src": "950:95:3" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f61646472657373", + "id": 804, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1113:18:3", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + "value": "contract_address" + }, + { + "hexValue": "7277455448546f6b656e", + "id": 805, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1133:12:3", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7d524a24df8794b8c8ace1bb51668b020bb309552ba8f8b2f78f8f206243afbb", + "typeString": "literal_string \"rwETHToken\"" + }, + "value": "rwETHToken" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + { + "typeIdentifier": "t_stringliteral_7d524a24df8794b8c8ace1bb51668b020bb309552ba8f8b2f78f8f206243afbb", + "typeString": "literal_string \"rwETHToken\"" + } + ], + "expression": { + "id": 802, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1096:3:3", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 803, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1096:16:3", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 806, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1096:50:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 801, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1086:9:3", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 807, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1086:61:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "arguments": [ + { + "id": 810, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "1157:4:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHToken_$1051", + "typeString": "contract rwETHToken" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_rwETHToken_$1051", + "typeString": "contract rwETHToken" + } + ], + "id": 809, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1149:7:3", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 808, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1149:7:3", + "typeDescriptions": {} + } + }, + "id": 811, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1149:13:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 798, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "1056:11:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 800, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setAddressStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 71, + "src": "1056:29:3", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address) external" + } + }, + "id": 812, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1056:107:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 813, + "nodeType": "ExpressionStatement", + "src": "1056:107:3" + } + ] + }, + "documentation": { + "id": 779, + "nodeType": "StructuredDocumentation", + "src": "766:126:3", + "text": "@dev Store this contract address and existance on the main storage.\n @notice Called while deploying the contract. " + }, + "id": 815, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_setRwETHTokenAddress", + "nameLocation": "907:21:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 780, + "nodeType": "ParameterList", + "parameters": [], + "src": "928:2:3" + }, + "returnParameters": { + "id": 781, + "nodeType": "ParameterList", + "parameters": [], + "src": "939:0:3" + }, + "scope": 1051, + "src": "898:273:3", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "private" + }, + { + "body": { + "id": 858, + "nodeType": "Block", + "src": "1327:441:3", + "statements": [ + { + "assignments": [ + 825 + ], + "declarations": [ + { + "constant": false, + "id": 825, + "mutability": "mutable", + "name": "poolTokenBalances", + "nameLocation": "1361:17:3", + "nodeType": "VariableDeclaration", + "scope": 858, + "src": "1338:40:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$738", + "typeString": "contract TokenBalancesInterface" + }, + "typeName": { + "id": 824, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 823, + "name": "TokenBalancesInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 738, + "src": "1338:22:3" + }, + "referencedDeclaration": 738, + "src": "1338:22:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$738", + "typeString": "contract TokenBalancesInterface" + } + }, + "visibility": "internal" + } + ], + "id": 831, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "546f6b656e42616c616e636573", + "id": 828, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1423:15:3", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_3b6d5f7972ed6795e7621e32620438487583050aef09a1228b0cc6a9a3f04fe9", + "typeString": "literal_string \"TokenBalances\"" + }, + "value": "TokenBalances" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_3b6d5f7972ed6795e7621e32620438487583050aef09a1228b0cc6a9a3f04fe9", + "typeString": "literal_string \"TokenBalances\"" + } + ], + "id": 827, + "name": "getContractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 579, + "src": "1404:18:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$returns$_t_address_$", + "typeString": "function (string memory) view returns (address)" + } + }, + "id": 829, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1404:35:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 826, + "name": "TokenBalancesInterface", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 738, + "src": "1381:22:3", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_TokenBalancesInterface_$738_$", + "typeString": "type(contract TokenBalancesInterface)" + } + }, + "id": 830, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1381:59:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$738", + "typeString": "contract TokenBalancesInterface" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1338:102:3" + }, + { + "assignments": [ + 833 + ], + "declarations": [ + { + "constant": false, + "id": 833, + "mutability": "mutable", + "name": "currentEthBalance", + "nameLocation": "1456:17:3", + "nodeType": "VariableDeclaration", + "scope": 858, + "src": "1451:22:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 832, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1451:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 837, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 834, + "name": "poolTokenBalances", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 825, + "src": "1476:17:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$738", + "typeString": "contract TokenBalancesInterface" + } + }, + "id": 835, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getTotalEthSupply", + "nodeType": "MemberAccess", + "referencedDeclaration": 727, + "src": "1476:35:3", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", + "typeString": "function () view external returns (uint256)" + } + }, + "id": 836, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1476:37:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1451:62:3" + }, + { + "assignments": [ + 839 + ], + "declarations": [ + { + "constant": false, + "id": 839, + "mutability": "mutable", + "name": "currentRwEthSupply", + "nameLocation": "1529:18:3", + "nodeType": "VariableDeclaration", + "scope": 858, + "src": "1524:23:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 838, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1524:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 843, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 840, + "name": "poolTokenBalances", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 825, + "src": "1550:17:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$738", + "typeString": "contract TokenBalancesInterface" + } + }, + "id": 841, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getTotalrwEthSupply", + "nodeType": "MemberAccess", + "referencedDeclaration": 732, + "src": "1550:37:3", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", + "typeString": "function () view external returns (uint256)" + } + }, + "id": 842, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1550:39:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1524:65:3" + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 846, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 844, + "name": "currentRwEthSupply", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 839, + "src": "1605:18:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "hexValue": "30", + "id": 845, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1627:1:3", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "1605:23:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 855, + "nodeType": "IfStatement", + "src": "1602:129:3", + "trueBody": { + "id": 854, + "nodeType": "Block", + "src": "1629:102:3", + "statements": [ + { + "expression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 851, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 849, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 847, + "name": "_rwEthAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 818, + "src": "1653:12:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 848, + "name": "currentEthBalance", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 833, + "src": "1668:17:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1653:32:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "id": 850, + "name": "currentRwEthSupply", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 839, + "src": "1688:18:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1653:53:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 852, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "1652:55:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 822, + "id": 853, + "nodeType": "Return", + "src": "1644:63:3" + } + ] + } + }, + { + "expression": { + "id": 856, + "name": "_rwEthAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 818, + "src": "1748:12:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 822, + "id": 857, + "nodeType": "Return", + "src": "1741:19:3" + } + ] + }, + "documentation": { + "id": 816, + "nodeType": "StructuredDocumentation", + "src": "1187:68:3", + "text": "@dev Calculate the equivalent Ether to a certain rwEther amount." + }, + "functionSelector": "12946fe1", + "id": 859, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "calcEthValue", + "nameLocation": "1270:12:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 819, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 818, + "mutability": "mutable", + "name": "_rwEthAmount", + "nameLocation": "1288:12:3", + "nodeType": "VariableDeclaration", + "scope": 859, + "src": "1283:17:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 817, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1283:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1282:19:3" + }, + "returnParameters": { + "id": 822, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 821, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 859, + "src": "1322:4:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 820, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1322:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1321:6:3" + }, + "scope": 1051, + "src": "1261:507:3", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 909, + "nodeType": "Block", + "src": "1917:546:3", + "statements": [ + { + "assignments": [ + 869 + ], + "declarations": [ + { + "constant": false, + "id": 869, + "mutability": "mutable", + "name": "poolTokenBalances", + "nameLocation": "1951:17:3", + "nodeType": "VariableDeclaration", + "scope": 909, + "src": "1928:40:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$738", + "typeString": "contract TokenBalancesInterface" + }, + "typeName": { + "id": 868, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 867, + "name": "TokenBalancesInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 738, + "src": "1928:22:3" + }, + "referencedDeclaration": 738, + "src": "1928:22:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$738", + "typeString": "contract TokenBalancesInterface" + } + }, + "visibility": "internal" + } + ], + "id": 875, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "546f6b656e42616c616e636573", + "id": 872, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2013:15:3", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_3b6d5f7972ed6795e7621e32620438487583050aef09a1228b0cc6a9a3f04fe9", + "typeString": "literal_string \"TokenBalances\"" + }, + "value": "TokenBalances" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_3b6d5f7972ed6795e7621e32620438487583050aef09a1228b0cc6a9a3f04fe9", + "typeString": "literal_string \"TokenBalances\"" + } + ], + "id": 871, + "name": "getContractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 579, + "src": "1994:18:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$returns$_t_address_$", + "typeString": "function (string memory) view returns (address)" + } + }, + "id": 873, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1994:35:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 870, + "name": "TokenBalancesInterface", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 738, + "src": "1971:22:3", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_TokenBalancesInterface_$738_$", + "typeString": "type(contract TokenBalancesInterface)" + } + }, + "id": 874, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1971:59:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$738", + "typeString": "contract TokenBalancesInterface" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1928:102:3" + }, + { + "assignments": [ + 877 + ], + "declarations": [ + { + "constant": false, + "id": 877, + "mutability": "mutable", + "name": "currentEthBalance", + "nameLocation": "2046:17:3", + "nodeType": "VariableDeclaration", + "scope": 909, + "src": "2041:22:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 876, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2041:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 881, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 878, + "name": "poolTokenBalances", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 869, + "src": "2066:17:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$738", + "typeString": "contract TokenBalancesInterface" + } + }, + "id": 879, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getTotalEthSupply", + "nodeType": "MemberAccess", + "referencedDeclaration": 727, + "src": "2066:35:3", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", + "typeString": "function () view external returns (uint256)" + } + }, + "id": 880, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2066:37:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2041:62:3" + }, + { + "assignments": [ + 883 + ], + "declarations": [ + { + "constant": false, + "id": 883, + "mutability": "mutable", + "name": "currentRwEthSupply", + "nameLocation": "2119:18:3", + "nodeType": "VariableDeclaration", + "scope": 909, + "src": "2114:23:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 882, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2114:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 887, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 884, + "name": "poolTokenBalances", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 869, + "src": "2140:17:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$738", + "typeString": "contract TokenBalancesInterface" + } + }, + "id": 885, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getTotalrwEthSupply", + "nodeType": "MemberAccess", + "referencedDeclaration": 732, + "src": "2140:37:3", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", + "typeString": "function () view external returns (uint256)" + } + }, + "id": 886, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2140:39:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2114:65:3" + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 890, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 888, + "name": "currentRwEthSupply", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 883, + "src": "2195:18:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "hexValue": "30", + "id": 889, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2217:1:3", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "2195:23:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 906, + "nodeType": "IfStatement", + "src": "2192:236:3", + "trueBody": { + "id": 905, + "nodeType": "Block", + "src": "2219:209:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 894, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 892, + "name": "currentEthBalance", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 877, + "src": "2242:17:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "hexValue": "30", + "id": 893, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2262:1:3", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "2242:21:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "43757272656e746c7920746865726520617265206e6f2065746865722073746f7265642e2043616e6e6f7420646976696465206279207a65726f2e", + "id": 895, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2265:61:3", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_55b2b3f2d860dc00999de2859b5705b081f23d227a860928aca26a9102461fd4", + "typeString": "literal_string \"Currently there are no ether stored. Cannot divide by zero.\"" + }, + "value": "Currently there are no ether stored. Cannot divide by zero." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_55b2b3f2d860dc00999de2859b5705b081f23d227a860928aca26a9102461fd4", + "typeString": "literal_string \"Currently there are no ether stored. Cannot divide by zero.\"" + } + ], + "id": 891, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "2234:7:3", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 896, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2234:93:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 897, + "nodeType": "ExpressionStatement", + "src": "2234:93:3" + }, + { + "expression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 902, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 900, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 898, + "name": "_ethAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 862, + "src": "2351:10:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 899, + "name": "currentRwEthSupply", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 883, + "src": "2364:18:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2351:31:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "id": 901, + "name": "currentEthBalance", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 877, + "src": "2385:17:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2351:51:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 903, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "2350:54:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 866, + "id": 904, + "nodeType": "Return", + "src": "2342:62:3" + } + ] + } + }, + { + "expression": { + "id": 907, + "name": "_ethAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 862, + "src": "2445:10:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 866, + "id": 908, + "nodeType": "Return", + "src": "2438:17:3" + } + ] + }, + "documentation": { + "id": 860, + "nodeType": "StructuredDocumentation", + "src": "1777:68:3", + "text": "@dev Calculate the equivalent rwEther to a certain Ether amount." + }, + "functionSelector": "3ef3183c", + "id": 910, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "calcRwEthValue", + "nameLocation": "1860:14:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 863, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 862, + "mutability": "mutable", + "name": "_ethAmount", + "nameLocation": "1880:10:3", + "nodeType": "VariableDeclaration", + "scope": 910, + "src": "1875:15:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 861, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1875:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1874:17:3" + }, + "returnParameters": { + "id": 866, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 865, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 910, + "src": "1912:4:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 864, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1912:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1911:6:3" + }, + "scope": 1051, + "src": "1851:612:3", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 920, + "nodeType": "Block", + "src": "2612:47:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "hexValue": "31", + "id": 917, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2643:7:3", + "subdenomination": "ether", + "typeDescriptions": { + "typeIdentifier": "t_rational_1000000000000000000_by_1", + "typeString": "int_const 1000000000000000000" + }, + "value": "1" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_1000000000000000000_by_1", + "typeString": "int_const 1000000000000000000" + } + ], + "id": 916, + "name": "calcEthValue", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 859, + "src": "2630:12:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_uint256_$", + "typeString": "function (uint256) view returns (uint256)" + } + }, + "id": 918, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2630:21:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 915, + "id": 919, + "nodeType": "Return", + "src": "2623:28:3" + } + ] + }, + "documentation": { + "id": 911, + "nodeType": "StructuredDocumentation", + "src": "2474:83:3", + "text": "@dev Calculate the Eth / rwEth ratio a.k.a rwEth price expressed in Ether (wei)" + }, + "functionSelector": "012a33aa", + "id": 921, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getUnitPrice", + "nameLocation": "2572:12:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 912, + "nodeType": "ParameterList", + "parameters": [], + "src": "2584:2:3" + }, + "returnParameters": { + "id": 915, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 914, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 921, + "src": "2607:4:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 913, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2607:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "2606:6:3" + }, + "scope": 1051, + "src": "2563:96:3", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 971, + "nodeType": "Block", + "src": "2809:492:3", + "statements": [ + { + "assignments": [ + 932 + ], + "declarations": [ + { + "constant": false, + "id": 932, + "mutability": "mutable", + "name": "rwEthSupplyTag", + "nameLocation": "2828:14:3", + "nodeType": "VariableDeclaration", + "scope": 971, + "src": "2820:22:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 931, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2820:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 939, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "746f74616c537570706c795f7265776172644574686572", + "id": 936, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2872:25:3", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_0374d75381b3b197d745e6b159383515dfcf445652f3d60140f7a03bb136a74c", + "typeString": "literal_string \"totalSupply_rewardEther\"" + }, + "value": "totalSupply_rewardEther" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_0374d75381b3b197d745e6b159383515dfcf445652f3d60140f7a03bb136a74c", + "typeString": "literal_string \"totalSupply_rewardEther\"" + } + ], + "expression": { + "id": 934, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "2855:3:3", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 935, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "2855:16:3", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 937, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2855:43:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 933, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "2845:9:3", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 938, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2845:54:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2820:79:3" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 943, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 941, + "name": "_ethAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 926, + "src": "2918:10:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "hexValue": "30", + "id": 942, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2931:1:3", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "2918:14:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "4d696e7420616d6f756e74206e6565647320746f2062652067726561746572207468616e207a65726f2e", + "id": 944, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2935:44:3", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_f6b53c7de5e97000949f1f34c12a660cb86381130912012977c5e8eef4442c49", + "typeString": "literal_string \"Mint amount needs to be greater than zero.\"" + }, + "value": "Mint amount needs to be greater than zero." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_f6b53c7de5e97000949f1f34c12a660cb86381130912012977c5e8eef4442c49", + "typeString": "literal_string \"Mint amount needs to be greater than zero.\"" + } + ], + "id": 940, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "2910:7:3", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 945, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2910:70:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 946, + "nodeType": "ExpressionStatement", + "src": "2910:70:3" + }, + { + "assignments": [ + 948 + ], + "declarations": [ + { + "constant": false, + "id": 948, + "mutability": "mutable", + "name": "rwEtherCalc", + "nameLocation": "3090:11:3", + "nodeType": "VariableDeclaration", + "scope": 971, + "src": "3085:16:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 947, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3085:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 952, + "initialValue": { + "arguments": [ + { + "id": 950, + "name": "_ethAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 926, + "src": "3119:10:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 949, + "name": "calcRwEthValue", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 910, + "src": "3104:14:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_uint256_$", + "typeString": "function (uint256) view returns (uint256)" + } + }, + "id": 951, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3104:26:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3085:45:3" + }, + { + "expression": { + "arguments": [ + { + "id": 954, + "name": "_to", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 924, + "src": "3147:3:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 955, + "name": "rwEtherCalc", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 948, + "src": "3152:11:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 953, + "name": "_mint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1878, + "src": "3141:5:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256)" + } + }, + "id": 956, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3141:23:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 957, + "nodeType": "ExpressionStatement", + "src": "3141:23:3" + }, + { + "expression": { + "arguments": [ + { + "id": 961, + "name": "rwEthSupplyTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 932, + "src": "3207:14:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 962, + "name": "rwEtherCalc", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 948, + "src": "3223:11:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 958, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "3175:11:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 960, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "increaseUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 85, + "src": "3175:31:3", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 963, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3175:60:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 964, + "nodeType": "ExpressionStatement", + "src": "3175:60:3" + }, + { + "eventCall": { + "arguments": [ + { + "id": 966, + "name": "_to", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 924, + "src": "3264:3:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 967, + "name": "rwEtherCalc", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 948, + "src": "3269:11:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "id": 968, + "name": "_ethAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 926, + "src": "3282:10:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 965, + "name": "TokensMinted", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 755, + "src": "3251:12:3", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256,uint256)" + } + }, + "id": 969, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3251:42:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 970, + "nodeType": "EmitStatement", + "src": "3246:47:3" + } + ] + }, + "documentation": { + "id": 922, + "nodeType": "StructuredDocumentation", + "src": "2669:63:3", + "text": "@dev Mints reward ether (rwEth) as a receipt of investment." + }, + "functionSelector": "40c10f19", + "id": 972, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [], + "id": 929, + "kind": "modifierInvocation", + "modifierName": { + "id": 928, + "name": "onlyPoolContract", + "nodeType": "IdentifierPath", + "referencedDeclaration": 203, + "src": "2791:16:3" + }, + "nodeType": "ModifierInvocation", + "src": "2791:18:3" + } + ], + "name": "mint", + "nameLocation": "2747:4:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 927, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 924, + "mutability": "mutable", + "name": "_to", + "nameLocation": "2760:3:3", + "nodeType": "VariableDeclaration", + "scope": 972, + "src": "2752:11:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 923, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2752:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 926, + "mutability": "mutable", + "name": "_ethAmount", + "nameLocation": "2770:10:3", + "nodeType": "VariableDeclaration", + "scope": 972, + "src": "2765:15:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 925, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2765:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "2751:30:3" + }, + "returnParameters": { + "id": 930, + "nodeType": "ParameterList", + "parameters": [], + "src": "2809:0:3" + }, + "scope": 1051, + "src": "2738:563:3", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "body": { + "id": 1049, + "nodeType": "Block", + "src": "3701:827:3", + "statements": [ + { + "assignments": [ + 982 + ], + "declarations": [ + { + "constant": false, + "id": 982, + "mutability": "mutable", + "name": "poolTokenBalances", + "nameLocation": "3735:17:3", + "nodeType": "VariableDeclaration", + "scope": 1049, + "src": "3712:40:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$738", + "typeString": "contract TokenBalancesInterface" + }, + "typeName": { + "id": 981, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 980, + "name": "TokenBalancesInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 738, + "src": "3712:22:3" + }, + "referencedDeclaration": 738, + "src": "3712:22:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$738", + "typeString": "contract TokenBalancesInterface" + } + }, + "visibility": "internal" + } + ], + "id": 988, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "546f6b656e42616c616e636573", + "id": 985, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3797:15:3", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_3b6d5f7972ed6795e7621e32620438487583050aef09a1228b0cc6a9a3f04fe9", + "typeString": "literal_string \"TokenBalances\"" + }, + "value": "TokenBalances" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_3b6d5f7972ed6795e7621e32620438487583050aef09a1228b0cc6a9a3f04fe9", + "typeString": "literal_string \"TokenBalances\"" + } + ], + "id": 984, + "name": "getContractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 579, + "src": "3778:18:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$returns$_t_address_$", + "typeString": "function (string memory) view returns (address)" + } + }, + "id": 986, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3778:35:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 983, + "name": "TokenBalancesInterface", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 738, + "src": "3755:22:3", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_TokenBalancesInterface_$738_$", + "typeString": "type(contract TokenBalancesInterface)" + } + }, + "id": 987, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3755:59:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$738", + "typeString": "contract TokenBalancesInterface" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3712:102:3" + }, + { + "assignments": [ + 990 + ], + "declarations": [ + { + "constant": false, + "id": 990, + "mutability": "mutable", + "name": "rwEthSupplyTag", + "nameLocation": "3833:14:3", + "nodeType": "VariableDeclaration", + "scope": 1049, + "src": "3825:22:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 989, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3825:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 997, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "746f74616c537570706c795f7265776172644574686572", + "id": 994, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3877:25:3", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_0374d75381b3b197d745e6b159383515dfcf445652f3d60140f7a03bb136a74c", + "typeString": "literal_string \"totalSupply_rewardEther\"" + }, + "value": "totalSupply_rewardEther" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_0374d75381b3b197d745e6b159383515dfcf445652f3d60140f7a03bb136a74c", + "typeString": "literal_string \"totalSupply_rewardEther\"" + } + ], + "expression": { + "id": 992, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3860:3:3", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 993, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3860:16:3", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 995, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3860:43:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 991, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "3850:9:3", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 996, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3850:54:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3825:79:3" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1001, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 999, + "name": "_rwEthAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 975, + "src": "3933:12:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "hexValue": "30", + "id": 1000, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3948:1:3", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "3933:16:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "4275726e20616d6f756e74206e6565647320746f2062652067726561746572207468616e207a65726f2e", + "id": 1002, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3952:44:3", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_b7433f37c229e4fafd99a92caefb09b9e5ad2d2e833e193ae02153f7830f1e08", + "typeString": "literal_string \"Burn amount needs to be greater than zero.\"" + }, + "value": "Burn amount needs to be greater than zero." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_b7433f37c229e4fafd99a92caefb09b9e5ad2d2e833e193ae02153f7830f1e08", + "typeString": "literal_string \"Burn amount needs to be greater than zero.\"" + } + ], + "id": 998, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "3925:7:3", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 1003, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3925:72:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1004, + "nodeType": "ExpressionStatement", + "src": "3925:72:3" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1011, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "expression": { + "id": 1007, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "4026:3:3", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1008, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "4026:10:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1006, + "name": "balanceOf", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1572, + "src": "4016:9:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_uint256_$", + "typeString": "function (address) view returns (uint256)" + } + }, + "id": 1009, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4016:21:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "hexValue": "30", + "id": 1010, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4040:1:3", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "4016:25:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "496e73756666696369656e742072774574682062616c616e63652e", + "id": 1012, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4042:29:3", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_64d7ac1c494517ceb822c7f6b767328d7b0d11312cd7bddf3ad3ea0cbd8db17f", + "typeString": "literal_string \"Insufficient rwEth balance.\"" + }, + "value": "Insufficient rwEth balance." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_64d7ac1c494517ceb822c7f6b767328d7b0d11312cd7bddf3ad3ea0cbd8db17f", + "typeString": "literal_string \"Insufficient rwEth balance.\"" + } + ], + "id": 1005, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "4008:7:3", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 1013, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4008:64:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1014, + "nodeType": "ExpressionStatement", + "src": "4008:64:3" + }, + { + "assignments": [ + 1016 + ], + "declarations": [ + { + "constant": false, + "id": 1016, + "mutability": "mutable", + "name": "etherCalc", + "nameLocation": "4184:9:3", + "nodeType": "VariableDeclaration", + "scope": 1049, + "src": "4179:14:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1015, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "4179:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1020, + "initialValue": { + "arguments": [ + { + "id": 1018, + "name": "_rwEthAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 975, + "src": "4209:12:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1017, + "name": "calcEthValue", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 859, + "src": "4196:12:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_uint256_$", + "typeString": "function (uint256) view returns (uint256)" + } + }, + "id": 1019, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4196:26:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4179:43:3" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1026, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1022, + "name": "etherCalc", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1016, + "src": "4241:9:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 1023, + "name": "poolTokenBalances", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 982, + "src": "4253:17:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$738", + "typeString": "contract TokenBalancesInterface" + } + }, + "id": 1024, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getTotalEthSupply", + "nodeType": "MemberAccess", + "referencedDeclaration": 727, + "src": "4253:35:3", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", + "typeString": "function () view external returns (uint256)" + } + }, + "id": 1025, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4253:37:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "4241:49:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "5468657265206172656e277420656e6f756768206261636b65642065746865727320746f20706572666f726d207468697320616374696f6e2e", + "id": 1027, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4292:59:3", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_34aed5d1a3fc936e21ab00388a0307badbc66a0bfcc054d810418b9c87dce058", + "typeString": "literal_string \"There aren't enough backed ethers to perform this action.\"" + }, + "value": "There aren't enough backed ethers to perform this action." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_34aed5d1a3fc936e21ab00388a0307badbc66a0bfcc054d810418b9c87dce058", + "typeString": "literal_string \"There aren't enough backed ethers to perform this action.\"" + } + ], + "id": 1021, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "4233:7:3", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 1028, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4233:119:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1029, + "nodeType": "ExpressionStatement", + "src": "4233:119:3" + }, + { + "expression": { + "arguments": [ + { + "id": 1033, + "name": "rwEthSupplyTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 990, + "src": "4395:14:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1034, + "name": "_rwEthAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 975, + "src": "4411:12:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 1030, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "4363:11:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 1032, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "decreaseUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 92, + "src": "4363:31:3", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 1035, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4363:61:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1036, + "nodeType": "ExpressionStatement", + "src": "4363:61:3" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 1038, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "4441:3:3", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1039, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "4441:10:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1040, + "name": "_rwEthAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 975, + "src": "4453:12:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1037, + "name": "_burn", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1950, + "src": "4435:5:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256)" + } + }, + "id": 1041, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4435:31:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1042, + "nodeType": "ExpressionStatement", + "src": "4435:31:3" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 1044, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "4495:3:3", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1045, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "4495:10:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1046, + "name": "_rwEthAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 975, + "src": "4507:12:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1043, + "name": "TokensBurned", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 761, + "src": "4482:12:3", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256)" + } + }, + "id": 1047, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4482:38:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1048, + "nodeType": "EmitStatement", + "src": "4477:43:3" + } + ] + }, + "documentation": { + "id": 973, + "nodeType": "StructuredDocumentation", + "src": "3309:326:3", + "text": "@dev Burns rwEther.\n @notice Used while withdrawing funds to keep balanced the system.\n @notice No counterpart of ethers are transfered back to the burner while performing this call.\n @notice After calling this function, it is needed to perform the ether counterpart transfer to the involved parts." + }, + "functionSelector": "42966c68", + "id": 1050, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [], + "id": 978, + "kind": "modifierInvocation", + "modifierName": { + "id": 977, + "name": "onlyPoolContract", + "nodeType": "IdentifierPath", + "referencedDeclaration": 203, + "src": "3683:16:3" + }, + "nodeType": "ModifierInvocation", + "src": "3683:18:3" + } + ], + "name": "burn", + "nameLocation": "3650:4:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 976, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 975, + "mutability": "mutable", + "name": "_rwEthAmount", + "nameLocation": "3660:12:3", + "nodeType": "VariableDeclaration", + "scope": 1050, + "src": "3655:17:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 974, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3655:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3654:19:3" + }, + "returnParameters": { + "id": 979, + "nodeType": "ParameterList", + "parameters": [], + "src": "3701:0:3" + }, + "scope": 1051, + "src": "3641:887:3", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + } + ], + "scope": 1052, + "src": "399:4134:3", + "usedErrors": [] + } + ], + "src": "33:4502:3" + }, + "id": 3 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol", + "exportedSymbols": { + "AccessControl": [ + 1360 + ], + "Context": [ + 2186 + ], + "ERC165": [ + 2413 + ], + "IAccessControl": [ + 1433 + ], + "IERC165": [ + 2425 + ], + "Strings": [ + 2389 + ] + }, + "id": 1361, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1053, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "108:23:4" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol", + "file": "./IAccessControl.sol", + "id": 1054, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1361, + "sourceUnit": 1434, + "src": "133:30:4", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol", + "file": "../utils/Context.sol", + "id": 1055, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1361, + "sourceUnit": 2187, + "src": "164:30:4", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol", + "file": "../utils/Strings.sol", + "id": 1056, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1361, + "sourceUnit": 2390, + "src": "195:30:4", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol", + "file": "../utils/introspection/ERC165.sol", + "id": 1057, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1361, + "sourceUnit": 2414, + "src": "226:43:4", + "symbolAliases": [], + "unitAlias": "" + }, + { + "abstract": true, + "baseContracts": [ + { + "baseName": { + "id": 1059, + "name": "Context", + "nodeType": "IdentifierPath", + "referencedDeclaration": 2186, + "src": "1841:7:4" + }, + "id": 1060, + "nodeType": "InheritanceSpecifier", + "src": "1841:7:4" + }, + { + "baseName": { + "id": 1061, + "name": "IAccessControl", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1433, + "src": "1850:14:4" + }, + "id": 1062, + "nodeType": "InheritanceSpecifier", + "src": "1850:14:4" + }, + { + "baseName": { + "id": 1063, + "name": "ERC165", + "nodeType": "IdentifierPath", + "referencedDeclaration": 2413, + "src": "1866:6:4" + }, + "id": 1064, + "nodeType": "InheritanceSpecifier", + "src": "1866:6:4" + } + ], + "canonicalName": "AccessControl", + "contractDependencies": [], + "contractKind": "contract", + "documentation": { + "id": 1058, + "nodeType": "StructuredDocumentation", + "src": "271:1534:4", + "text": " @dev Contract module that allows children to implement role-based access\n control mechanisms. This is a lightweight version that doesn't allow enumerating role\n members except through off-chain means by accessing the contract event logs. Some\n applications may benefit from on-chain enumerability, for those cases see\n {AccessControlEnumerable}.\n Roles are referred to by their `bytes32` identifier. These should be exposed\n in the external API and be unique. The best way to achieve this is by\n using `public constant` hash digests:\n ```\n bytes32 public constant MY_ROLE = keccak256(\"MY_ROLE\");\n ```\n Roles can be used to represent a set of permissions. To restrict access to a\n function call, use {hasRole}:\n ```\n function foo() public {\n require(hasRole(MY_ROLE, msg.sender));\n ...\n }\n ```\n Roles can be granted and revoked dynamically via the {grantRole} and\n {revokeRole} functions. Each role has an associated admin role, and only\n accounts that have a role's admin role can call {grantRole} and {revokeRole}.\n By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means\n that only accounts with this role will be able to grant or revoke other\n roles. More complex role relationships can be created by using\n {_setRoleAdmin}.\n WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to\n grant and revoke this role. Extra precautions should be taken to secure\n accounts that have been granted it." + }, + "fullyImplemented": true, + "id": 1360, + "linearizedBaseContracts": [ + 1360, + 2413, + 2425, + 1433, + 2186 + ], + "name": "AccessControl", + "nameLocation": "1824:13:4", + "nodeType": "ContractDefinition", + "nodes": [ + { + "canonicalName": "AccessControl.RoleData", + "id": 1071, + "members": [ + { + "constant": false, + "id": 1068, + "mutability": "mutable", + "name": "members", + "nameLocation": "1930:7:4", + "nodeType": "VariableDeclaration", + "scope": 1071, + "src": "1905:32:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + }, + "typeName": { + "id": 1067, + "keyType": { + "id": 1065, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1913:7:4", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Mapping", + "src": "1905:24:4", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + }, + "valueType": { + "id": 1066, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "1924:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1070, + "mutability": "mutable", + "name": "adminRole", + "nameLocation": "1955:9:4", + "nodeType": "VariableDeclaration", + "scope": 1071, + "src": "1947:17:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1069, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1947:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "name": "RoleData", + "nameLocation": "1886:8:4", + "nodeType": "StructDefinition", + "scope": 1360, + "src": "1879:92:4", + "visibility": "public" + }, + { + "constant": false, + "id": 1076, + "mutability": "mutable", + "name": "_roles", + "nameLocation": "2014:6:4", + "nodeType": "VariableDeclaration", + "scope": 1360, + "src": "1977:43:4", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$1071_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData)" + }, + "typeName": { + "id": 1075, + "keyType": { + "id": 1072, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1985:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "Mapping", + "src": "1977:28:4", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$1071_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData)" + }, + "valueType": { + "id": 1074, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 1073, + "name": "RoleData", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1071, + "src": "1996:8:4" + }, + "referencedDeclaration": 1071, + "src": "1996:8:4", + "typeDescriptions": { + "typeIdentifier": "t_struct$_RoleData_$1071_storage_ptr", + "typeString": "struct AccessControl.RoleData" + } + } + }, + "visibility": "private" + }, + { + "constant": true, + "functionSelector": "a217fddf", + "id": 1079, + "mutability": "constant", + "name": "DEFAULT_ADMIN_ROLE", + "nameLocation": "2051:18:4", + "nodeType": "VariableDeclaration", + "scope": 1360, + "src": "2027:49:4", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1077, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2027:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "value": { + "hexValue": "30783030", + "id": 1078, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2072:4:4", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0x00" + }, + "visibility": "public" + }, + { + "body": { + "id": 1091, + "nodeType": "Block", + "src": "2495:58:4", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 1085, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1082, + "src": "2516:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 1086, + "name": "_msgSender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2176, + "src": "2522:10:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", + "typeString": "function () view returns (address)" + } + }, + "id": 1087, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2522:12:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1084, + "name": "_checkRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1176, + "src": "2505:10:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address) view" + } + }, + "id": 1088, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2505:30:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1089, + "nodeType": "ExpressionStatement", + "src": "2505:30:4" + }, + { + "id": 1090, + "nodeType": "PlaceholderStatement", + "src": "2545:1:4" + } + ] + }, + "documentation": { + "id": 1080, + "nodeType": "StructuredDocumentation", + "src": "2083:375:4", + "text": " @dev Modifier that checks that an account has a specific role. Reverts\n with a standardized message including the required role.\n The format of the revert reason is given by the following regular expression:\n /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/\n _Available since v4.1._" + }, + "id": 1092, + "name": "onlyRole", + "nameLocation": "2472:8:4", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 1083, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1082, + "mutability": "mutable", + "name": "role", + "nameLocation": "2489:4:4", + "nodeType": "VariableDeclaration", + "scope": 1092, + "src": "2481:12:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1081, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2481:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "2480:14:4" + }, + "src": "2463:90:4", + "virtual": false, + "visibility": "internal" + }, + { + "baseFunctions": [ + 2412 + ], + "body": { + "id": 1113, + "nodeType": "Block", + "src": "2711:111:4", + "statements": [ + { + "expression": { + "commonType": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "id": 1111, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + "id": 1106, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1101, + "name": "interfaceId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1095, + "src": "2728:11:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "expression": { + "arguments": [ + { + "id": 1103, + "name": "IAccessControl", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1433, + "src": "2748:14:4", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_IAccessControl_$1433_$", + "typeString": "type(contract IAccessControl)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_type$_t_contract$_IAccessControl_$1433_$", + "typeString": "type(contract IAccessControl)" + } + ], + "id": 1102, + "name": "type", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967269, + "src": "2743:4:4", + "typeDescriptions": { + "typeIdentifier": "t_function_metatype_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 1104, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2743:20:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_magic_meta_type_t_contract$_IAccessControl_$1433", + "typeString": "type(contract IAccessControl)" + } + }, + "id": 1105, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "interfaceId", + "nodeType": "MemberAccess", + "src": "2743:32:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "src": "2728:47:4", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "BinaryOperation", + "operator": "||", + "rightExpression": { + "arguments": [ + { + "id": 1109, + "name": "interfaceId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1095, + "src": "2803:11:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + ], + "expression": { + "id": 1107, + "name": "super", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967271, + "src": "2779:5:4", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_super$_AccessControl_$1360_$", + "typeString": "type(contract super AccessControl)" + } + }, + "id": 1108, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "supportsInterface", + "nodeType": "MemberAccess", + "referencedDeclaration": 2412, + "src": "2779:23:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes4_$returns$_t_bool_$", + "typeString": "function (bytes4) view returns (bool)" + } + }, + "id": 1110, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2779:36:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "src": "2728:87:4", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "functionReturnParameters": 1100, + "id": 1112, + "nodeType": "Return", + "src": "2721:94:4" + } + ] + }, + "documentation": { + "id": 1093, + "nodeType": "StructuredDocumentation", + "src": "2559:56:4", + "text": " @dev See {IERC165-supportsInterface}." + }, + "functionSelector": "01ffc9a7", + "id": 1114, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "supportsInterface", + "nameLocation": "2629:17:4", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 1097, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "2687:8:4" + }, + "parameters": { + "id": 1096, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1095, + "mutability": "mutable", + "name": "interfaceId", + "nameLocation": "2654:11:4", + "nodeType": "VariableDeclaration", + "scope": 1114, + "src": "2647:18:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + "typeName": { + "id": 1094, + "name": "bytes4", + "nodeType": "ElementaryTypeName", + "src": "2647:6:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "visibility": "internal" + } + ], + "src": "2646:20:4" + }, + "returnParameters": { + "id": 1100, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1099, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1114, + "src": "2705:4:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1098, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2705:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "2704:6:4" + }, + "scope": 1360, + "src": "2620:202:4", + "stateMutability": "view", + "virtual": true, + "visibility": "public" + }, + { + "baseFunctions": [ + 1400 + ], + "body": { + "id": 1132, + "nodeType": "Block", + "src": "3001:53:4", + "statements": [ + { + "expression": { + "baseExpression": { + "expression": { + "baseExpression": { + "id": 1125, + "name": "_roles", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1076, + "src": "3018:6:4", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$1071_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" + } + }, + "id": 1127, + "indexExpression": { + "id": 1126, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1117, + "src": "3025:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3018:12:4", + "typeDescriptions": { + "typeIdentifier": "t_struct$_RoleData_$1071_storage", + "typeString": "struct AccessControl.RoleData storage ref" + } + }, + "id": 1128, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "members", + "nodeType": "MemberAccess", + "referencedDeclaration": 1068, + "src": "3018:20:4", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 1130, + "indexExpression": { + "id": 1129, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1119, + "src": "3039:7:4", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3018:29:4", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "functionReturnParameters": 1124, + "id": 1131, + "nodeType": "Return", + "src": "3011:36:4" + } + ] + }, + "documentation": { + "id": 1115, + "nodeType": "StructuredDocumentation", + "src": "2828:76:4", + "text": " @dev Returns `true` if `account` has been granted `role`." + }, + "functionSelector": "91d14854", + "id": 1133, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "hasRole", + "nameLocation": "2918:7:4", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 1121, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "2977:8:4" + }, + "parameters": { + "id": 1120, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1117, + "mutability": "mutable", + "name": "role", + "nameLocation": "2934:4:4", + "nodeType": "VariableDeclaration", + "scope": 1133, + "src": "2926:12:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1116, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2926:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1119, + "mutability": "mutable", + "name": "account", + "nameLocation": "2948:7:4", + "nodeType": "VariableDeclaration", + "scope": 1133, + "src": "2940:15:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1118, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2940:7:4", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2925:31:4" + }, + "returnParameters": { + "id": 1124, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1123, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1133, + "src": "2995:4:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1122, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2995:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "2994:6:4" + }, + "scope": 1360, + "src": "2909:145:4", + "stateMutability": "view", + "virtual": true, + "visibility": "public" + }, + { + "body": { + "id": 1175, + "nodeType": "Block", + "src": "3408:419:4", + "statements": [ + { + "condition": { + "id": 1145, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "3422:23:4", + "subExpression": { + "arguments": [ + { + "id": 1142, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1136, + "src": "3431:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1143, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1138, + "src": "3437:7:4", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1141, + "name": "hasRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1133, + "src": "3423:7:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$", + "typeString": "function (bytes32,address) view returns (bool)" + } + }, + "id": 1144, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3423:22:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1174, + "nodeType": "IfStatement", + "src": "3418:403:4", + "trueBody": { + "id": 1173, + "nodeType": "Block", + "src": "3447:374:4", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "416363657373436f6e74726f6c3a206163636f756e7420", + "id": 1151, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3555:25:4", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874", + "typeString": "literal_string \"AccessControl: account \"" + }, + "value": "AccessControl: account " + }, + { + "arguments": [ + { + "arguments": [ + { + "id": 1156, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1138, + "src": "3634:7:4", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1155, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3626:7:4", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint160_$", + "typeString": "type(uint160)" + }, + "typeName": { + "id": 1154, + "name": "uint160", + "nodeType": "ElementaryTypeName", + "src": "3626:7:4", + "typeDescriptions": {} + } + }, + "id": 1157, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3626:16:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint160", + "typeString": "uint160" + } + }, + { + "hexValue": "3230", + "id": 1158, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3644:2:4", + "typeDescriptions": { + "typeIdentifier": "t_rational_20_by_1", + "typeString": "int_const 20" + }, + "value": "20" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint160", + "typeString": "uint160" + }, + { + "typeIdentifier": "t_rational_20_by_1", + "typeString": "int_const 20" + } + ], + "expression": { + "id": 1152, + "name": "Strings", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2389, + "src": "3606:7:4", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Strings_$2389_$", + "typeString": "type(library Strings)" + } + }, + "id": 1153, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "toHexString", + "nodeType": "MemberAccess", + "referencedDeclaration": 2388, + "src": "3606:19:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_string_memory_ptr_$", + "typeString": "function (uint256,uint256) pure returns (string memory)" + } + }, + "id": 1159, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3606:41:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + { + "hexValue": "206973206d697373696e6720726f6c6520", + "id": 1160, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3673:19:4", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69", + "typeString": "literal_string \" is missing role \"" + }, + "value": " is missing role " + }, + { + "arguments": [ + { + "arguments": [ + { + "id": 1165, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1136, + "src": "3746:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "id": 1164, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3738:7:4", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint256_$", + "typeString": "type(uint256)" + }, + "typeName": { + "id": 1163, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3738:7:4", + "typeDescriptions": {} + } + }, + "id": 1166, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3738:13:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "hexValue": "3332", + "id": 1167, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3753:2:4", + "typeDescriptions": { + "typeIdentifier": "t_rational_32_by_1", + "typeString": "int_const 32" + }, + "value": "32" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_rational_32_by_1", + "typeString": "int_const 32" + } + ], + "expression": { + "id": 1161, + "name": "Strings", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2389, + "src": "3718:7:4", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_Strings_$2389_$", + "typeString": "type(library Strings)" + } + }, + "id": 1162, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "toHexString", + "nodeType": "MemberAccess", + "referencedDeclaration": 2388, + "src": "3718:19:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_string_memory_ptr_$", + "typeString": "function (uint256,uint256) pure returns (string memory)" + } + }, + "id": 1168, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3718:38:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_da0d07ce4a2849fbfc4cb9d6f939e9bd93016c372ca4a5ff14fe06caf3d67874", + "typeString": "literal_string \"AccessControl: account \"" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + }, + { + "typeIdentifier": "t_stringliteral_f986ce851518a691bccd44ea42a5a185d1b866ef6cb07984a09b81694d20ab69", + "typeString": "literal_string \" is missing role \"" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "expression": { + "id": 1149, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3513:3:4", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 1150, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3513:16:4", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 1169, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3513:265:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 1148, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "3485:6:4", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_string_storage_ptr_$", + "typeString": "type(string storage pointer)" + }, + "typeName": { + "id": 1147, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "3485:6:4", + "typeDescriptions": {} + } + }, + "id": 1170, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3485:311:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "id": 1146, + "name": "revert", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967277, + 4294967277 + ], + "referencedDeclaration": 4294967277, + "src": "3461:6:4", + "typeDescriptions": { + "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", + "typeString": "function (string memory) pure" + } + }, + "id": 1171, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3461:349:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1172, + "nodeType": "ExpressionStatement", + "src": "3461:349:4" + } + ] + } + } + ] + }, + "documentation": { + "id": 1134, + "nodeType": "StructuredDocumentation", + "src": "3060:270:4", + "text": " @dev Revert with a standard message if `account` is missing `role`.\n The format of the revert reason is given by the following regular expression:\n /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/" + }, + "id": 1176, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_checkRole", + "nameLocation": "3344:10:4", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1139, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1136, + "mutability": "mutable", + "name": "role", + "nameLocation": "3363:4:4", + "nodeType": "VariableDeclaration", + "scope": 1176, + "src": "3355:12:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1135, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3355:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1138, + "mutability": "mutable", + "name": "account", + "nameLocation": "3377:7:4", + "nodeType": "VariableDeclaration", + "scope": 1176, + "src": "3369:15:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1137, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3369:7:4", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "3354:31:4" + }, + "returnParameters": { + "id": 1140, + "nodeType": "ParameterList", + "parameters": [], + "src": "3408:0:4" + }, + "scope": 1360, + "src": "3335:492:4", + "stateMutability": "view", + "virtual": true, + "visibility": "internal" + }, + { + "baseFunctions": [ + 1408 + ], + "body": { + "id": 1190, + "nodeType": "Block", + "src": "4091:46:4", + "statements": [ + { + "expression": { + "expression": { + "baseExpression": { + "id": 1185, + "name": "_roles", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1076, + "src": "4108:6:4", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$1071_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" + } + }, + "id": 1187, + "indexExpression": { + "id": 1186, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1179, + "src": "4115:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4108:12:4", + "typeDescriptions": { + "typeIdentifier": "t_struct$_RoleData_$1071_storage", + "typeString": "struct AccessControl.RoleData storage ref" + } + }, + "id": 1188, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "adminRole", + "nodeType": "MemberAccess", + "referencedDeclaration": 1070, + "src": "4108:22:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "functionReturnParameters": 1184, + "id": 1189, + "nodeType": "Return", + "src": "4101:29:4" + } + ] + }, + "documentation": { + "id": 1177, + "nodeType": "StructuredDocumentation", + "src": "3833:170:4", + "text": " @dev Returns the admin role that controls `role`. See {grantRole} and\n {revokeRole}.\n To change a role's admin, use {_setRoleAdmin}." + }, + "functionSelector": "248a9ca3", + "id": 1191, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getRoleAdmin", + "nameLocation": "4017:12:4", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 1181, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "4064:8:4" + }, + "parameters": { + "id": 1180, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1179, + "mutability": "mutable", + "name": "role", + "nameLocation": "4038:4:4", + "nodeType": "VariableDeclaration", + "scope": 1191, + "src": "4030:12:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1178, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4030:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "4029:14:4" + }, + "returnParameters": { + "id": 1184, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1183, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1191, + "src": "4082:7:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1182, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4082:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "4081:9:4" + }, + "scope": 1360, + "src": "4008:129:4", + "stateMutability": "view", + "virtual": true, + "visibility": "public" + }, + { + "baseFunctions": [ + 1416 + ], + "body": { + "id": 1210, + "nodeType": "Block", + "src": "4490:42:4", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 1206, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1194, + "src": "4511:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1207, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1196, + "src": "4517:7:4", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1205, + "name": "_grantRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1328, + "src": "4500:10:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 1208, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4500:25:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1209, + "nodeType": "ExpressionStatement", + "src": "4500:25:4" + } + ] + }, + "documentation": { + "id": 1192, + "nodeType": "StructuredDocumentation", + "src": "4143:239:4", + "text": " @dev Grants `role` to `account`.\n If `account` had not been already granted `role`, emits a {RoleGranted}\n event.\n Requirements:\n - the caller must have ``role``'s admin role." + }, + "functionSelector": "2f2ff15d", + "id": 1211, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "arguments": [ + { + "id": 1201, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1194, + "src": "4483:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "id": 1200, + "name": "getRoleAdmin", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1191, + "src": "4470:12:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_bytes32_$", + "typeString": "function (bytes32) view returns (bytes32)" + } + }, + "id": 1202, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4470:18:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 1203, + "kind": "modifierInvocation", + "modifierName": { + "id": 1199, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1092, + "src": "4461:8:4" + }, + "nodeType": "ModifierInvocation", + "src": "4461:28:4" + } + ], + "name": "grantRole", + "nameLocation": "4396:9:4", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 1198, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "4452:8:4" + }, + "parameters": { + "id": 1197, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1194, + "mutability": "mutable", + "name": "role", + "nameLocation": "4414:4:4", + "nodeType": "VariableDeclaration", + "scope": 1211, + "src": "4406:12:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1193, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4406:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1196, + "mutability": "mutable", + "name": "account", + "nameLocation": "4428:7:4", + "nodeType": "VariableDeclaration", + "scope": 1211, + "src": "4420:15:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1195, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4420:7:4", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "4405:31:4" + }, + "returnParameters": { + "id": 1204, + "nodeType": "ParameterList", + "parameters": [], + "src": "4490:0:4" + }, + "scope": 1360, + "src": "4387:145:4", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + }, + { + "baseFunctions": [ + 1424 + ], + "body": { + "id": 1230, + "nodeType": "Block", + "src": "4870:43:4", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 1226, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1214, + "src": "4892:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1227, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1216, + "src": "4898:7:4", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1225, + "name": "_revokeRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1359, + "src": "4880:11:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 1228, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4880:26:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1229, + "nodeType": "ExpressionStatement", + "src": "4880:26:4" + } + ] + }, + "documentation": { + "id": 1212, + "nodeType": "StructuredDocumentation", + "src": "4538:223:4", + "text": " @dev Revokes `role` from `account`.\n If `account` had been granted `role`, emits a {RoleRevoked} event.\n Requirements:\n - the caller must have ``role``'s admin role." + }, + "functionSelector": "d547741f", + "id": 1231, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [ + { + "arguments": [ + { + "id": 1221, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1214, + "src": "4863:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "id": 1220, + "name": "getRoleAdmin", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1191, + "src": "4850:12:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_bytes32_$", + "typeString": "function (bytes32) view returns (bytes32)" + } + }, + "id": 1222, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4850:18:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "id": 1223, + "kind": "modifierInvocation", + "modifierName": { + "id": 1219, + "name": "onlyRole", + "nodeType": "IdentifierPath", + "referencedDeclaration": 1092, + "src": "4841:8:4" + }, + "nodeType": "ModifierInvocation", + "src": "4841:28:4" + } + ], + "name": "revokeRole", + "nameLocation": "4775:10:4", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 1218, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "4832:8:4" + }, + "parameters": { + "id": 1217, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1214, + "mutability": "mutable", + "name": "role", + "nameLocation": "4794:4:4", + "nodeType": "VariableDeclaration", + "scope": 1231, + "src": "4786:12:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1213, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "4786:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1216, + "mutability": "mutable", + "name": "account", + "nameLocation": "4808:7:4", + "nodeType": "VariableDeclaration", + "scope": 1231, + "src": "4800:15:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1215, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4800:7:4", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "4785:31:4" + }, + "returnParameters": { + "id": 1224, + "nodeType": "ParameterList", + "parameters": [], + "src": "4870:0:4" + }, + "scope": 1360, + "src": "4766:147:4", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + }, + { + "baseFunctions": [ + 1432 + ], + "body": { + "id": 1253, + "nodeType": "Block", + "src": "5481:137:4", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 1244, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1241, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1236, + "src": "5499:7:4", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 1242, + "name": "_msgSender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2176, + "src": "5510:10:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", + "typeString": "function () view returns (address)" + } + }, + "id": 1243, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5510:12:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "5499:23:4", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66", + "id": 1245, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5524:49:4", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b", + "typeString": "literal_string \"AccessControl: can only renounce roles for self\"" + }, + "value": "AccessControl: can only renounce roles for self" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_fb06fa8ff2141e8ed74502f6792273793f25f0e9d3cf15344f3f5a0d4948fd4b", + "typeString": "literal_string \"AccessControl: can only renounce roles for self\"" + } + ], + "id": 1240, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "5491:7:4", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 1246, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5491:83:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1247, + "nodeType": "ExpressionStatement", + "src": "5491:83:4" + }, + { + "expression": { + "arguments": [ + { + "id": 1249, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1234, + "src": "5597:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1250, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1236, + "src": "5603:7:4", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1248, + "name": "_revokeRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1359, + "src": "5585:11:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 1251, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5585:26:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1252, + "nodeType": "ExpressionStatement", + "src": "5585:26:4" + } + ] + }, + "documentation": { + "id": 1232, + "nodeType": "StructuredDocumentation", + "src": "4919:480:4", + "text": " @dev Revokes `role` from the calling account.\n Roles are often managed via {grantRole} and {revokeRole}: this function's\n purpose is to provide a mechanism for accounts to lose their privileges\n if they are compromised (such as when a trusted device is misplaced).\n If the calling account had been revoked `role`, emits a {RoleRevoked}\n event.\n Requirements:\n - the caller must be `account`." + }, + "functionSelector": "36568abe", + "id": 1254, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "renounceRole", + "nameLocation": "5413:12:4", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 1238, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "5472:8:4" + }, + "parameters": { + "id": 1237, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1234, + "mutability": "mutable", + "name": "role", + "nameLocation": "5434:4:4", + "nodeType": "VariableDeclaration", + "scope": 1254, + "src": "5426:12:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1233, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "5426:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1236, + "mutability": "mutable", + "name": "account", + "nameLocation": "5448:7:4", + "nodeType": "VariableDeclaration", + "scope": 1254, + "src": "5440:15:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1235, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5440:7:4", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "5425:31:4" + }, + "returnParameters": { + "id": 1239, + "nodeType": "ParameterList", + "parameters": [], + "src": "5481:0:4" + }, + "scope": 1360, + "src": "5404:214:4", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + }, + { + "body": { + "id": 1267, + "nodeType": "Block", + "src": "6325:42:4", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 1263, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1257, + "src": "6346:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1264, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1259, + "src": "6352:7:4", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1262, + "name": "_grantRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1328, + "src": "6335:10:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address)" + } + }, + "id": 1265, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6335:25:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1266, + "nodeType": "ExpressionStatement", + "src": "6335:25:4" + } + ] + }, + "documentation": { + "id": 1255, + "nodeType": "StructuredDocumentation", + "src": "5624:628:4", + "text": " @dev Grants `role` to `account`.\n If `account` had not been already granted `role`, emits a {RoleGranted}\n event. Note that unlike {grantRole}, this function doesn't perform any\n checks on the calling account.\n [WARNING]\n ====\n This function should only be called from the constructor when setting\n up the initial roles for the system.\n Using this function in any other way is effectively circumventing the admin\n system imposed by {AccessControl}.\n ====\n NOTE: This function is deprecated in favor of {_grantRole}." + }, + "id": 1268, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_setupRole", + "nameLocation": "6266:10:4", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1260, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1257, + "mutability": "mutable", + "name": "role", + "nameLocation": "6285:4:4", + "nodeType": "VariableDeclaration", + "scope": 1268, + "src": "6277:12:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1256, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6277:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1259, + "mutability": "mutable", + "name": "account", + "nameLocation": "6299:7:4", + "nodeType": "VariableDeclaration", + "scope": 1268, + "src": "6291:15:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1258, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6291:7:4", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "6276:31:4" + }, + "returnParameters": { + "id": 1261, + "nodeType": "ParameterList", + "parameters": [], + "src": "6325:0:4" + }, + "scope": 1360, + "src": "6257:110:4", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + }, + { + "body": { + "id": 1295, + "nodeType": "Block", + "src": "6565:174:4", + "statements": [ + { + "assignments": [ + 1277 + ], + "declarations": [ + { + "constant": false, + "id": 1277, + "mutability": "mutable", + "name": "previousAdminRole", + "nameLocation": "6583:17:4", + "nodeType": "VariableDeclaration", + "scope": 1295, + "src": "6575:25:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1276, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6575:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 1281, + "initialValue": { + "arguments": [ + { + "id": 1279, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1271, + "src": "6616:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "id": 1278, + "name": "getRoleAdmin", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1191, + "src": "6603:12:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$returns$_t_bytes32_$", + "typeString": "function (bytes32) view returns (bytes32)" + } + }, + "id": 1280, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6603:18:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6575:46:4" + }, + { + "expression": { + "id": 1287, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "expression": { + "baseExpression": { + "id": 1282, + "name": "_roles", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1076, + "src": "6631:6:4", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$1071_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" + } + }, + "id": 1284, + "indexExpression": { + "id": 1283, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1271, + "src": "6638:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6631:12:4", + "typeDescriptions": { + "typeIdentifier": "t_struct$_RoleData_$1071_storage", + "typeString": "struct AccessControl.RoleData storage ref" + } + }, + "id": 1285, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "adminRole", + "nodeType": "MemberAccess", + "referencedDeclaration": 1070, + "src": "6631:22:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 1286, + "name": "adminRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1273, + "src": "6656:9:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "src": "6631:34:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "id": 1288, + "nodeType": "ExpressionStatement", + "src": "6631:34:4" + }, + { + "eventCall": { + "arguments": [ + { + "id": 1290, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1271, + "src": "6697:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1291, + "name": "previousAdminRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1277, + "src": "6703:17:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1292, + "name": "adminRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1273, + "src": "6722:9:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + ], + "id": 1289, + "name": "RoleAdminChanged", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1372, + "src": "6680:16:4", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_bytes32_$_t_bytes32_$returns$__$", + "typeString": "function (bytes32,bytes32,bytes32)" + } + }, + "id": 1293, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6680:52:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1294, + "nodeType": "EmitStatement", + "src": "6675:57:4" + } + ] + }, + "documentation": { + "id": 1269, + "nodeType": "StructuredDocumentation", + "src": "6373:114:4", + "text": " @dev Sets `adminRole` as ``role``'s admin role.\n Emits a {RoleAdminChanged} event." + }, + "id": 1296, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_setRoleAdmin", + "nameLocation": "6501:13:4", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1274, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1271, + "mutability": "mutable", + "name": "role", + "nameLocation": "6523:4:4", + "nodeType": "VariableDeclaration", + "scope": 1296, + "src": "6515:12:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1270, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6515:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1273, + "mutability": "mutable", + "name": "adminRole", + "nameLocation": "6537:9:4", + "nodeType": "VariableDeclaration", + "scope": 1296, + "src": "6529:17:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1272, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6529:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "6514:33:4" + }, + "returnParameters": { + "id": 1275, + "nodeType": "ParameterList", + "parameters": [], + "src": "6565:0:4" + }, + "scope": 1360, + "src": "6492:247:4", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + }, + { + "body": { + "id": 1327, + "nodeType": "Block", + "src": "6929:165:4", + "statements": [ + { + "condition": { + "id": 1308, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "6943:23:4", + "subExpression": { + "arguments": [ + { + "id": 1305, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1299, + "src": "6952:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1306, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1301, + "src": "6958:7:4", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1304, + "name": "hasRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1133, + "src": "6944:7:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$", + "typeString": "function (bytes32,address) view returns (bool)" + } + }, + "id": 1307, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6944:22:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1326, + "nodeType": "IfStatement", + "src": "6939:149:4", + "trueBody": { + "id": 1325, + "nodeType": "Block", + "src": "6968:120:4", + "statements": [ + { + "expression": { + "id": 1316, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "expression": { + "baseExpression": { + "id": 1309, + "name": "_roles", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1076, + "src": "6982:6:4", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$1071_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" + } + }, + "id": 1311, + "indexExpression": { + "id": 1310, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1299, + "src": "6989:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6982:12:4", + "typeDescriptions": { + "typeIdentifier": "t_struct$_RoleData_$1071_storage", + "typeString": "struct AccessControl.RoleData storage ref" + } + }, + "id": 1312, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "members", + "nodeType": "MemberAccess", + "referencedDeclaration": 1068, + "src": "6982:20:4", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 1314, + "indexExpression": { + "id": 1313, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1301, + "src": "7003:7:4", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "6982:29:4", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "74727565", + "id": 1315, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7014:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "src": "6982:36:4", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1317, + "nodeType": "ExpressionStatement", + "src": "6982:36:4" + }, + { + "eventCall": { + "arguments": [ + { + "id": 1319, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1299, + "src": "7049:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1320, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1301, + "src": "7055:7:4", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 1321, + "name": "_msgSender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2176, + "src": "7064:10:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", + "typeString": "function () view returns (address)" + } + }, + "id": 1322, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7064:12:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1318, + "name": "RoleGranted", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1381, + "src": "7037:11:4", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_address_$returns$__$", + "typeString": "function (bytes32,address,address)" + } + }, + "id": 1323, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7037:40:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1324, + "nodeType": "EmitStatement", + "src": "7032:45:4" + } + ] + } + } + ] + }, + "documentation": { + "id": 1297, + "nodeType": "StructuredDocumentation", + "src": "6745:111:4", + "text": " @dev Grants `role` to `account`.\n Internal function without access restriction." + }, + "id": 1328, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_grantRole", + "nameLocation": "6870:10:4", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1302, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1299, + "mutability": "mutable", + "name": "role", + "nameLocation": "6889:4:4", + "nodeType": "VariableDeclaration", + "scope": 1328, + "src": "6881:12:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1298, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "6881:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1301, + "mutability": "mutable", + "name": "account", + "nameLocation": "6903:7:4", + "nodeType": "VariableDeclaration", + "scope": 1328, + "src": "6895:15:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1300, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6895:7:4", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "6880:31:4" + }, + "returnParameters": { + "id": 1303, + "nodeType": "ParameterList", + "parameters": [], + "src": "6929:0:4" + }, + "scope": 1360, + "src": "6861:233:4", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + }, + { + "body": { + "id": 1358, + "nodeType": "Block", + "src": "7288:165:4", + "statements": [ + { + "condition": { + "arguments": [ + { + "id": 1337, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1331, + "src": "7310:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1338, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1333, + "src": "7316:7:4", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1336, + "name": "hasRole", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1133, + "src": "7302:7:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_bytes32_$_t_address_$returns$_t_bool_$", + "typeString": "function (bytes32,address) view returns (bool)" + } + }, + "id": 1339, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7302:22:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1357, + "nodeType": "IfStatement", + "src": "7298:149:4", + "trueBody": { + "id": 1356, + "nodeType": "Block", + "src": "7326:121:4", + "statements": [ + { + "expression": { + "id": 1347, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "expression": { + "baseExpression": { + "id": 1340, + "name": "_roles", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1076, + "src": "7340:6:4", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_RoleData_$1071_storage_$", + "typeString": "mapping(bytes32 => struct AccessControl.RoleData storage ref)" + } + }, + "id": 1342, + "indexExpression": { + "id": 1341, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1331, + "src": "7347:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7340:12:4", + "typeDescriptions": { + "typeIdentifier": "t_struct$_RoleData_$1071_storage", + "typeString": "struct AccessControl.RoleData storage ref" + } + }, + "id": 1343, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "members", + "nodeType": "MemberAccess", + "referencedDeclaration": 1068, + "src": "7340:20:4", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", + "typeString": "mapping(address => bool)" + } + }, + "id": 1345, + "indexExpression": { + "id": 1344, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1333, + "src": "7361:7:4", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7340:29:4", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "66616c7365", + "id": 1346, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7372:5:4", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "src": "7340:37:4", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 1348, + "nodeType": "ExpressionStatement", + "src": "7340:37:4" + }, + { + "eventCall": { + "arguments": [ + { + "id": 1350, + "name": "role", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1331, + "src": "7408:4:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1351, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1333, + "src": "7414:7:4", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 1352, + "name": "_msgSender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2176, + "src": "7423:10:4", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", + "typeString": "function () view returns (address)" + } + }, + "id": 1353, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7423:12:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1349, + "name": "RoleRevoked", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1390, + "src": "7396:11:4", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_address_$returns$__$", + "typeString": "function (bytes32,address,address)" + } + }, + "id": 1354, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7396:40:4", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1355, + "nodeType": "EmitStatement", + "src": "7391:45:4" + } + ] + } + } + ] + }, + "documentation": { + "id": 1329, + "nodeType": "StructuredDocumentation", + "src": "7100:114:4", + "text": " @dev Revokes `role` from `account`.\n Internal function without access restriction." + }, + "id": 1359, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_revokeRole", + "nameLocation": "7228:11:4", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1334, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1331, + "mutability": "mutable", + "name": "role", + "nameLocation": "7248:4:4", + "nodeType": "VariableDeclaration", + "scope": 1359, + "src": "7240:12:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1330, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "7240:7:4", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1333, + "mutability": "mutable", + "name": "account", + "nameLocation": "7262:7:4", + "nodeType": "VariableDeclaration", + "scope": 1359, + "src": "7254:15:4", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1332, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "7254:7:4", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "7239:31:4" + }, + "returnParameters": { + "id": 1335, + "nodeType": "ParameterList", + "parameters": [], + "src": "7288:0:4" + }, + "scope": 1360, + "src": "7219:234:4", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "scope": 1361, + "src": "1806:5649:4", + "usedErrors": [] + } + ], + "src": "108:7348:4" + }, + "id": 4 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol", + "exportedSymbols": { + "IAccessControl": [ + 1433 + ] + }, + "id": 1434, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1362, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "94:23:5" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "IAccessControl", + "contractDependencies": [], + "contractKind": "interface", + "documentation": { + "id": 1363, + "nodeType": "StructuredDocumentation", + "src": "119:89:5", + "text": " @dev External interface of AccessControl declared to support ERC165 detection." + }, + "fullyImplemented": false, + "id": 1433, + "linearizedBaseContracts": [ + 1433 + ], + "name": "IAccessControl", + "nameLocation": "219:14:5", + "nodeType": "ContractDefinition", + "nodes": [ + { + "anonymous": false, + "documentation": { + "id": 1364, + "nodeType": "StructuredDocumentation", + "src": "240:292:5", + "text": " @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`\n `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite\n {RoleAdminChanged} not being emitted signaling this.\n _Available since v3.1._" + }, + "id": 1372, + "name": "RoleAdminChanged", + "nameLocation": "543:16:5", + "nodeType": "EventDefinition", + "parameters": { + "id": 1371, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1366, + "indexed": true, + "mutability": "mutable", + "name": "role", + "nameLocation": "576:4:5", + "nodeType": "VariableDeclaration", + "scope": 1372, + "src": "560:20:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1365, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "560:7:5", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1368, + "indexed": true, + "mutability": "mutable", + "name": "previousAdminRole", + "nameLocation": "598:17:5", + "nodeType": "VariableDeclaration", + "scope": 1372, + "src": "582:33:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1367, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "582:7:5", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1370, + "indexed": true, + "mutability": "mutable", + "name": "newAdminRole", + "nameLocation": "633:12:5", + "nodeType": "VariableDeclaration", + "scope": 1372, + "src": "617:28:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1369, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "617:7:5", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "559:87:5" + }, + "src": "537:110:5" + }, + { + "anonymous": false, + "documentation": { + "id": 1373, + "nodeType": "StructuredDocumentation", + "src": "653:212:5", + "text": " @dev Emitted when `account` is granted `role`.\n `sender` is the account that originated the contract call, an admin role\n bearer except when using {AccessControl-_setupRole}." + }, + "id": 1381, + "name": "RoleGranted", + "nameLocation": "876:11:5", + "nodeType": "EventDefinition", + "parameters": { + "id": 1380, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1375, + "indexed": true, + "mutability": "mutable", + "name": "role", + "nameLocation": "904:4:5", + "nodeType": "VariableDeclaration", + "scope": 1381, + "src": "888:20:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1374, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "888:7:5", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1377, + "indexed": true, + "mutability": "mutable", + "name": "account", + "nameLocation": "926:7:5", + "nodeType": "VariableDeclaration", + "scope": 1381, + "src": "910:23:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1376, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "910:7:5", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1379, + "indexed": true, + "mutability": "mutable", + "name": "sender", + "nameLocation": "951:6:5", + "nodeType": "VariableDeclaration", + "scope": 1381, + "src": "935:22:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1378, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "935:7:5", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "887:71:5" + }, + "src": "870:89:5" + }, + { + "anonymous": false, + "documentation": { + "id": 1382, + "nodeType": "StructuredDocumentation", + "src": "965:275:5", + "text": " @dev Emitted when `account` is revoked `role`.\n `sender` is the account that originated the contract call:\n - if using `revokeRole`, it is the admin role bearer\n - if using `renounceRole`, it is the role bearer (i.e. `account`)" + }, + "id": 1390, + "name": "RoleRevoked", + "nameLocation": "1251:11:5", + "nodeType": "EventDefinition", + "parameters": { + "id": 1389, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1384, + "indexed": true, + "mutability": "mutable", + "name": "role", + "nameLocation": "1279:4:5", + "nodeType": "VariableDeclaration", + "scope": 1390, + "src": "1263:20:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1383, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1263:7:5", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1386, + "indexed": true, + "mutability": "mutable", + "name": "account", + "nameLocation": "1301:7:5", + "nodeType": "VariableDeclaration", + "scope": 1390, + "src": "1285:23:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1385, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1285:7:5", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1388, + "indexed": true, + "mutability": "mutable", + "name": "sender", + "nameLocation": "1326:6:5", + "nodeType": "VariableDeclaration", + "scope": 1390, + "src": "1310:22:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1387, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1310:7:5", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "1262:71:5" + }, + "src": "1245:89:5" + }, + { + "documentation": { + "id": 1391, + "nodeType": "StructuredDocumentation", + "src": "1340:76:5", + "text": " @dev Returns `true` if `account` has been granted `role`." + }, + "functionSelector": "91d14854", + "id": 1400, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "hasRole", + "nameLocation": "1430:7:5", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1396, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1393, + "mutability": "mutable", + "name": "role", + "nameLocation": "1446:4:5", + "nodeType": "VariableDeclaration", + "scope": 1400, + "src": "1438:12:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1392, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1438:7:5", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1395, + "mutability": "mutable", + "name": "account", + "nameLocation": "1460:7:5", + "nodeType": "VariableDeclaration", + "scope": 1400, + "src": "1452:15:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1394, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1452:7:5", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "1437:31:5" + }, + "returnParameters": { + "id": 1399, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1398, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1400, + "src": "1492:4:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1397, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "1492:4:5", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "1491:6:5" + }, + "scope": 1433, + "src": "1421:77:5", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 1401, + "nodeType": "StructuredDocumentation", + "src": "1504:184:5", + "text": " @dev Returns the admin role that controls `role`. See {grantRole} and\n {revokeRole}.\n To change a role's admin, use {AccessControl-_setRoleAdmin}." + }, + "functionSelector": "248a9ca3", + "id": 1408, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "getRoleAdmin", + "nameLocation": "1702:12:5", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1404, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1403, + "mutability": "mutable", + "name": "role", + "nameLocation": "1723:4:5", + "nodeType": "VariableDeclaration", + "scope": 1408, + "src": "1715:12:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1402, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1715:7:5", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "1714:14:5" + }, + "returnParameters": { + "id": 1407, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1406, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1408, + "src": "1752:7:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1405, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "1752:7:5", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "src": "1751:9:5" + }, + "scope": 1433, + "src": "1693:68:5", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 1409, + "nodeType": "StructuredDocumentation", + "src": "1767:239:5", + "text": " @dev Grants `role` to `account`.\n If `account` had not been already granted `role`, emits a {RoleGranted}\n event.\n Requirements:\n - the caller must have ``role``'s admin role." + }, + "functionSelector": "2f2ff15d", + "id": 1416, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "grantRole", + "nameLocation": "2020:9:5", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1414, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1411, + "mutability": "mutable", + "name": "role", + "nameLocation": "2038:4:5", + "nodeType": "VariableDeclaration", + "scope": 1416, + "src": "2030:12:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1410, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2030:7:5", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1413, + "mutability": "mutable", + "name": "account", + "nameLocation": "2052:7:5", + "nodeType": "VariableDeclaration", + "scope": 1416, + "src": "2044:15:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1412, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2044:7:5", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2029:31:5" + }, + "returnParameters": { + "id": 1415, + "nodeType": "ParameterList", + "parameters": [], + "src": "2069:0:5" + }, + "scope": 1433, + "src": "2011:59:5", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 1417, + "nodeType": "StructuredDocumentation", + "src": "2076:223:5", + "text": " @dev Revokes `role` from `account`.\n If `account` had been granted `role`, emits a {RoleRevoked} event.\n Requirements:\n - the caller must have ``role``'s admin role." + }, + "functionSelector": "d547741f", + "id": 1424, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "revokeRole", + "nameLocation": "2313:10:5", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1422, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1419, + "mutability": "mutable", + "name": "role", + "nameLocation": "2332:4:5", + "nodeType": "VariableDeclaration", + "scope": 1424, + "src": "2324:12:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1418, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2324:7:5", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1421, + "mutability": "mutable", + "name": "account", + "nameLocation": "2346:7:5", + "nodeType": "VariableDeclaration", + "scope": 1424, + "src": "2338:15:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1420, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2338:7:5", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2323:31:5" + }, + "returnParameters": { + "id": 1423, + "nodeType": "ParameterList", + "parameters": [], + "src": "2363:0:5" + }, + "scope": 1433, + "src": "2304:60:5", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 1425, + "nodeType": "StructuredDocumentation", + "src": "2370:480:5", + "text": " @dev Revokes `role` from the calling account.\n Roles are often managed via {grantRole} and {revokeRole}: this function's\n purpose is to provide a mechanism for accounts to lose their privileges\n if they are compromised (such as when a trusted device is misplaced).\n If the calling account had been granted `role`, emits a {RoleRevoked}\n event.\n Requirements:\n - the caller must be `account`." + }, + "functionSelector": "36568abe", + "id": 1432, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "renounceRole", + "nameLocation": "2864:12:5", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1430, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1427, + "mutability": "mutable", + "name": "role", + "nameLocation": "2885:4:5", + "nodeType": "VariableDeclaration", + "scope": 1432, + "src": "2877:12:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 1426, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2877:7:5", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1429, + "mutability": "mutable", + "name": "account", + "nameLocation": "2899:7:5", + "nodeType": "VariableDeclaration", + "scope": 1432, + "src": "2891:15:5", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1428, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2891:7:5", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "2876:31:5" + }, + "returnParameters": { + "id": 1431, + "nodeType": "ParameterList", + "parameters": [], + "src": "2916:0:5" + }, + "scope": 1433, + "src": "2855:62:5", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + } + ], + "scope": 1434, + "src": "209:2710:5", + "usedErrors": [] + } + ], + "src": "94:2826:5" + }, + "id": 5 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol", + "exportedSymbols": { + "ReentrancyGuard": [ + 1473 + ] + }, + "id": 1474, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1435, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "97:23:6" + }, + { + "abstract": true, + "baseContracts": [], + "canonicalName": "ReentrancyGuard", + "contractDependencies": [], + "contractKind": "contract", + "documentation": { + "id": 1436, + "nodeType": "StructuredDocumentation", + "src": "122:750:6", + "text": " @dev Contract module that helps prevent reentrant calls to a function.\n Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\n available, which can be applied to functions to make sure there are no nested\n (reentrant) calls to them.\n Note that because there is a single `nonReentrant` guard, functions marked as\n `nonReentrant` may not call one another. This can be worked around by making\n those functions `private`, and then adding `external` `nonReentrant` entry\n points to them.\n TIP: If you would like to learn more about reentrancy and alternative ways\n to protect against it, check out our blog post\n https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]." + }, + "fullyImplemented": true, + "id": 1473, + "linearizedBaseContracts": [ + 1473 + ], + "name": "ReentrancyGuard", + "nameLocation": "891:15:6", + "nodeType": "ContractDefinition", + "nodes": [ + { + "constant": true, + "id": 1439, + "mutability": "constant", + "name": "_NOT_ENTERED", + "nameLocation": "1686:12:6", + "nodeType": "VariableDeclaration", + "scope": 1473, + "src": "1661:41:6", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1437, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1661:7:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": { + "hexValue": "31", + "id": 1438, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1701:1:6", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "visibility": "private" + }, + { + "constant": true, + "id": 1442, + "mutability": "constant", + "name": "_ENTERED", + "nameLocation": "1733:8:6", + "nodeType": "VariableDeclaration", + "scope": 1473, + "src": "1708:37:6", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1440, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1708:7:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "value": { + "hexValue": "32", + "id": 1441, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1744:1:6", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "visibility": "private" + }, + { + "constant": false, + "id": 1444, + "mutability": "mutable", + "name": "_status", + "nameLocation": "1768:7:6", + "nodeType": "VariableDeclaration", + "scope": 1473, + "src": "1752:23:6", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1443, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1752:7:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "private" + }, + { + "body": { + "id": 1451, + "nodeType": "Block", + "src": "1796:39:6", + "statements": [ + { + "expression": { + "id": 1449, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1447, + "name": "_status", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1444, + "src": "1806:7:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 1448, + "name": "_NOT_ENTERED", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1439, + "src": "1816:12:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1806:22:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1450, + "nodeType": "ExpressionStatement", + "src": "1806:22:6" + } + ] + }, + "id": 1452, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1445, + "nodeType": "ParameterList", + "parameters": [], + "src": "1793:2:6" + }, + "returnParameters": { + "id": 1446, + "nodeType": "ParameterList", + "parameters": [], + "src": "1796:0:6" + }, + "scope": 1473, + "src": "1782:53:6", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 1471, + "nodeType": "Block", + "src": "2236:421:6", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1458, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1456, + "name": "_status", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1444, + "src": "2325:7:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "id": 1457, + "name": "_ENTERED", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1442, + "src": "2336:8:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2325:19:6", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "5265656e7472616e637947756172643a207265656e7472616e742063616c6c", + "id": 1459, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2346:33:6", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_ebf73bba305590e4764d5cb53b69bffd6d4d092d1a67551cb346f8cfcdab8619", + "typeString": "literal_string \"ReentrancyGuard: reentrant call\"" + }, + "value": "ReentrancyGuard: reentrant call" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_ebf73bba305590e4764d5cb53b69bffd6d4d092d1a67551cb346f8cfcdab8619", + "typeString": "literal_string \"ReentrancyGuard: reentrant call\"" + } + ], + "id": 1455, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "2317:7:6", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 1460, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2317:63:6", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1461, + "nodeType": "ExpressionStatement", + "src": "2317:63:6" + }, + { + "expression": { + "id": 1464, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1462, + "name": "_status", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1444, + "src": "2455:7:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 1463, + "name": "_ENTERED", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1442, + "src": "2465:8:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2455:18:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1465, + "nodeType": "ExpressionStatement", + "src": "2455:18:6" + }, + { + "id": 1466, + "nodeType": "PlaceholderStatement", + "src": "2484:1:6" + }, + { + "expression": { + "id": 1469, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1467, + "name": "_status", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1444, + "src": "2628:7:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 1468, + "name": "_NOT_ENTERED", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1439, + "src": "2638:12:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2628:22:6", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1470, + "nodeType": "ExpressionStatement", + "src": "2628:22:6" + } + ] + }, + "documentation": { + "id": 1453, + "nodeType": "StructuredDocumentation", + "src": "1841:366:6", + "text": " @dev Prevents a contract from calling itself, directly or indirectly.\n Calling a `nonReentrant` function from another `nonReentrant`\n function is not supported. It is possible to prevent this from happening\n by making the `nonReentrant` function external, and making it call a\n `private` function that does the actual work." + }, + "id": 1472, + "name": "nonReentrant", + "nameLocation": "2221:12:6", + "nodeType": "ModifierDefinition", + "parameters": { + "id": 1454, + "nodeType": "ParameterList", + "parameters": [], + "src": "2233:2:6" + }, + "src": "2212:445:6", + "virtual": false, + "visibility": "internal" + } + ], + "scope": 1474, + "src": "873:1786:6", + "usedErrors": [] + } + ], + "src": "97:2563:6" + }, + "id": 6 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol", + "exportedSymbols": { + "Context": [ + 2186 + ], + "ERC20": [ + 2061 + ], + "IERC20": [ + 2139 + ], + "IERC20Metadata": [ + 2164 + ] + }, + "id": 2062, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 1475, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "105:23:7" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol", + "file": "./IERC20.sol", + "id": 1476, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 2062, + "sourceUnit": 2140, + "src": "130:22:7", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol", + "file": "./extensions/IERC20Metadata.sol", + "id": 1477, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 2062, + "sourceUnit": 2165, + "src": "153:41:7", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol", + "file": "../../utils/Context.sol", + "id": 1478, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 2062, + "sourceUnit": 2187, + "src": "195:33:7", + "symbolAliases": [], + "unitAlias": "" + }, + { + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 1480, + "name": "Context", + "nodeType": "IdentifierPath", + "referencedDeclaration": 2186, + "src": "1421:7:7" + }, + "id": 1481, + "nodeType": "InheritanceSpecifier", + "src": "1421:7:7" + }, + { + "baseName": { + "id": 1482, + "name": "IERC20", + "nodeType": "IdentifierPath", + "referencedDeclaration": 2139, + "src": "1430:6:7" + }, + "id": 1483, + "nodeType": "InheritanceSpecifier", + "src": "1430:6:7" + }, + { + "baseName": { + "id": 1484, + "name": "IERC20Metadata", + "nodeType": "IdentifierPath", + "referencedDeclaration": 2164, + "src": "1438:14:7" + }, + "id": 1485, + "nodeType": "InheritanceSpecifier", + "src": "1438:14:7" + } + ], + "canonicalName": "ERC20", + "contractDependencies": [], + "contractKind": "contract", + "documentation": { + "id": 1479, + "nodeType": "StructuredDocumentation", + "src": "230:1172:7", + "text": " @dev Implementation of the {IERC20} interface.\n This implementation is agnostic to the way tokens are created. This means\n that a supply mechanism has to be added in a derived contract using {_mint}.\n For a generic mechanism see {ERC20PresetMinterPauser}.\n TIP: For a detailed writeup see our guide\n https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How\n to implement supply mechanisms].\n We have followed general OpenZeppelin Contracts guidelines: functions revert\n instead returning `false` on failure. This behavior is nonetheless\n conventional and does not conflict with the expectations of ERC20\n applications.\n Additionally, an {Approval} event is emitted on calls to {transferFrom}.\n This allows applications to reconstruct the allowance for all accounts just\n by listening to said events. Other implementations of the EIP may not emit\n these events, as it isn't required by the specification.\n Finally, the non-standard {decreaseAllowance} and {increaseAllowance}\n functions have been added to mitigate the well-known issues around setting\n allowances. See {IERC20-approve}." + }, + "fullyImplemented": true, + "id": 2061, + "linearizedBaseContracts": [ + 2061, + 2164, + 2139, + 2186 + ], + "name": "ERC20", + "nameLocation": "1412:5:7", + "nodeType": "ContractDefinition", + "nodes": [ + { + "constant": false, + "id": 1489, + "mutability": "mutable", + "name": "_balances", + "nameLocation": "1495:9:7", + "nodeType": "VariableDeclaration", + "scope": 2061, + "src": "1459:45:7", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + }, + "typeName": { + "id": 1488, + "keyType": { + "id": 1486, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1467:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Mapping", + "src": "1459:27:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + }, + "valueType": { + "id": 1487, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1478:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + }, + "visibility": "private" + }, + { + "constant": false, + "id": 1495, + "mutability": "mutable", + "name": "_allowances", + "nameLocation": "1567:11:7", + "nodeType": "VariableDeclaration", + "scope": 2061, + "src": "1511:67:7", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", + "typeString": "mapping(address => mapping(address => uint256))" + }, + "typeName": { + "id": 1494, + "keyType": { + "id": 1490, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1519:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Mapping", + "src": "1511:47:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", + "typeString": "mapping(address => mapping(address => uint256))" + }, + "valueType": { + "id": 1493, + "keyType": { + "id": 1491, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1538:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "Mapping", + "src": "1530:27:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + }, + "valueType": { + "id": 1492, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1549:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + } + }, + "visibility": "private" + }, + { + "constant": false, + "id": 1497, + "mutability": "mutable", + "name": "_totalSupply", + "nameLocation": "1601:12:7", + "nodeType": "VariableDeclaration", + "scope": 2061, + "src": "1585:28:7", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1496, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1585:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "private" + }, + { + "constant": false, + "id": 1499, + "mutability": "mutable", + "name": "_name", + "nameLocation": "1635:5:7", + "nodeType": "VariableDeclaration", + "scope": 2061, + "src": "1620:20:7", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string" + }, + "typeName": { + "id": 1498, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1620:6:7", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "private" + }, + { + "constant": false, + "id": 1501, + "mutability": "mutable", + "name": "_symbol", + "nameLocation": "1661:7:7", + "nodeType": "VariableDeclaration", + "scope": 2061, + "src": "1646:22:7", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string" + }, + "typeName": { + "id": 1500, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1646:6:7", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "private" + }, + { + "body": { + "id": 1517, + "nodeType": "Block", + "src": "2034:57:7", + "statements": [ + { + "expression": { + "id": 1511, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1509, + "name": "_name", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1499, + "src": "2044:5:7", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 1510, + "name": "name_", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1504, + "src": "2052:5:7", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "src": "2044:13:7", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "id": 1512, + "nodeType": "ExpressionStatement", + "src": "2044:13:7" + }, + { + "expression": { + "id": 1515, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1513, + "name": "_symbol", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1501, + "src": "2067:7:7", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 1514, + "name": "symbol_", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1506, + "src": "2077:7:7", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "src": "2067:17:7", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "id": 1516, + "nodeType": "ExpressionStatement", + "src": "2067:17:7" + } + ] + }, + "documentation": { + "id": 1502, + "nodeType": "StructuredDocumentation", + "src": "1675:298:7", + "text": " @dev Sets the values for {name} and {symbol}.\n The default value of {decimals} is 18. To select a different value for\n {decimals} you should overload it.\n All two of these values are immutable: they can only be set once during\n construction." + }, + "id": 1518, + "implemented": true, + "kind": "constructor", + "modifiers": [], + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1507, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1504, + "mutability": "mutable", + "name": "name_", + "nameLocation": "2004:5:7", + "nodeType": "VariableDeclaration", + "scope": 1518, + "src": "1990:19:7", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 1503, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1990:6:7", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1506, + "mutability": "mutable", + "name": "symbol_", + "nameLocation": "2025:7:7", + "nodeType": "VariableDeclaration", + "scope": 1518, + "src": "2011:21:7", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 1505, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "2011:6:7", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "1989:44:7" + }, + "returnParameters": { + "id": 1508, + "nodeType": "ParameterList", + "parameters": [], + "src": "2034:0:7" + }, + "scope": 2061, + "src": "1978:113:7", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "baseFunctions": [ + 2151 + ], + "body": { + "id": 1527, + "nodeType": "Block", + "src": "2225:29:7", + "statements": [ + { + "expression": { + "id": 1525, + "name": "_name", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1499, + "src": "2242:5:7", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "functionReturnParameters": 1524, + "id": 1526, + "nodeType": "Return", + "src": "2235:12:7" + } + ] + }, + "documentation": { + "id": 1519, + "nodeType": "StructuredDocumentation", + "src": "2097:54:7", + "text": " @dev Returns the name of the token." + }, + "functionSelector": "06fdde03", + "id": 1528, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "name", + "nameLocation": "2165:4:7", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 1521, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "2192:8:7" + }, + "parameters": { + "id": 1520, + "nodeType": "ParameterList", + "parameters": [], + "src": "2169:2:7" + }, + "returnParameters": { + "id": 1524, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1523, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1528, + "src": "2210:13:7", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 1522, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "2210:6:7", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "2209:15:7" + }, + "scope": 2061, + "src": "2156:98:7", + "stateMutability": "view", + "virtual": true, + "visibility": "public" + }, + { + "baseFunctions": [ + 2157 + ], + "body": { + "id": 1537, + "nodeType": "Block", + "src": "2438:31:7", + "statements": [ + { + "expression": { + "id": 1535, + "name": "_symbol", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1501, + "src": "2455:7:7", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "functionReturnParameters": 1534, + "id": 1536, + "nodeType": "Return", + "src": "2448:14:7" + } + ] + }, + "documentation": { + "id": 1529, + "nodeType": "StructuredDocumentation", + "src": "2260:102:7", + "text": " @dev Returns the symbol of the token, usually a shorter version of the\n name." + }, + "functionSelector": "95d89b41", + "id": 1538, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "symbol", + "nameLocation": "2376:6:7", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 1531, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "2405:8:7" + }, + "parameters": { + "id": 1530, + "nodeType": "ParameterList", + "parameters": [], + "src": "2382:2:7" + }, + "returnParameters": { + "id": 1534, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1533, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1538, + "src": "2423:13:7", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 1532, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "2423:6:7", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "2422:15:7" + }, + "scope": 2061, + "src": "2367:102:7", + "stateMutability": "view", + "virtual": true, + "visibility": "public" + }, + { + "baseFunctions": [ + 2163 + ], + "body": { + "id": 1547, + "nodeType": "Block", + "src": "3158:26:7", + "statements": [ + { + "expression": { + "hexValue": "3138", + "id": 1545, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3175:2:7", + "typeDescriptions": { + "typeIdentifier": "t_rational_18_by_1", + "typeString": "int_const 18" + }, + "value": "18" + }, + "functionReturnParameters": 1544, + "id": 1546, + "nodeType": "Return", + "src": "3168:9:7" + } + ] + }, + "documentation": { + "id": 1539, + "nodeType": "StructuredDocumentation", + "src": "2475:613:7", + "text": " @dev Returns the number of decimals used to get its user representation.\n For example, if `decimals` equals `2`, a balance of `505` tokens should\n be displayed to a user as `5.05` (`505 / 10 ** 2`).\n Tokens usually opt for a value of 18, imitating the relationship between\n Ether and Wei. This is the value {ERC20} uses, unless this function is\n overridden;\n NOTE: This information is only used for _display_ purposes: it in\n no way affects any of the arithmetic of the contract, including\n {IERC20-balanceOf} and {IERC20-transfer}." + }, + "functionSelector": "313ce567", + "id": 1548, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "decimals", + "nameLocation": "3102:8:7", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 1541, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "3133:8:7" + }, + "parameters": { + "id": 1540, + "nodeType": "ParameterList", + "parameters": [], + "src": "3110:2:7" + }, + "returnParameters": { + "id": 1544, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1543, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1548, + "src": "3151:5:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + }, + "typeName": { + "id": 1542, + "name": "uint8", + "nodeType": "ElementaryTypeName", + "src": "3151:5:7", + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + }, + "visibility": "internal" + } + ], + "src": "3150:7:7" + }, + "scope": 2061, + "src": "3093:91:7", + "stateMutability": "view", + "virtual": true, + "visibility": "public" + }, + { + "baseFunctions": [ + 2070 + ], + "body": { + "id": 1557, + "nodeType": "Block", + "src": "3314:36:7", + "statements": [ + { + "expression": { + "id": 1555, + "name": "_totalSupply", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1497, + "src": "3331:12:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 1554, + "id": 1556, + "nodeType": "Return", + "src": "3324:19:7" + } + ] + }, + "documentation": { + "id": 1549, + "nodeType": "StructuredDocumentation", + "src": "3190:49:7", + "text": " @dev See {IERC20-totalSupply}." + }, + "functionSelector": "18160ddd", + "id": 1558, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "totalSupply", + "nameLocation": "3253:11:7", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 1551, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "3287:8:7" + }, + "parameters": { + "id": 1550, + "nodeType": "ParameterList", + "parameters": [], + "src": "3264:2:7" + }, + "returnParameters": { + "id": 1554, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1553, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1558, + "src": "3305:7:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1552, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3305:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3304:9:7" + }, + "scope": 2061, + "src": "3244:106:7", + "stateMutability": "view", + "virtual": true, + "visibility": "public" + }, + { + "baseFunctions": [ + 2078 + ], + "body": { + "id": 1571, + "nodeType": "Block", + "src": "3491:42:7", + "statements": [ + { + "expression": { + "baseExpression": { + "id": 1567, + "name": "_balances", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1489, + "src": "3508:9:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + } + }, + "id": 1569, + "indexExpression": { + "id": 1568, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1561, + "src": "3518:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "3508:18:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 1566, + "id": 1570, + "nodeType": "Return", + "src": "3501:25:7" + } + ] + }, + "documentation": { + "id": 1559, + "nodeType": "StructuredDocumentation", + "src": "3356:47:7", + "text": " @dev See {IERC20-balanceOf}." + }, + "functionSelector": "70a08231", + "id": 1572, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "balanceOf", + "nameLocation": "3417:9:7", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 1563, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "3464:8:7" + }, + "parameters": { + "id": 1562, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1561, + "mutability": "mutable", + "name": "account", + "nameLocation": "3435:7:7", + "nodeType": "VariableDeclaration", + "scope": 1572, + "src": "3427:15:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1560, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3427:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "3426:17:7" + }, + "returnParameters": { + "id": 1566, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1565, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1572, + "src": "3482:7:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1564, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3482:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3481:9:7" + }, + "scope": 2061, + "src": "3408:125:7", + "stateMutability": "view", + "virtual": true, + "visibility": "public" + }, + { + "baseFunctions": [ + 2088 + ], + "body": { + "id": 1596, + "nodeType": "Block", + "src": "3814:104:7", + "statements": [ + { + "assignments": [ + 1584 + ], + "declarations": [ + { + "constant": false, + "id": 1584, + "mutability": "mutable", + "name": "owner", + "nameLocation": "3832:5:7", + "nodeType": "VariableDeclaration", + "scope": 1596, + "src": "3824:13:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1583, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3824:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "id": 1587, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 1585, + "name": "_msgSender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2176, + "src": "3840:10:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", + "typeString": "function () view returns (address)" + } + }, + "id": 1586, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3840:12:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3824:28:7" + }, + { + "expression": { + "arguments": [ + { + "id": 1589, + "name": "owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1584, + "src": "3872:5:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1590, + "name": "to", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1575, + "src": "3879:2:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1591, + "name": "amount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1577, + "src": "3883:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1588, + "name": "_transfer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1822, + "src": "3862:9:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,address,uint256)" + } + }, + "id": 1592, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3862:28:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1593, + "nodeType": "ExpressionStatement", + "src": "3862:28:7" + }, + { + "expression": { + "hexValue": "74727565", + "id": 1594, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3907:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "functionReturnParameters": 1582, + "id": 1595, + "nodeType": "Return", + "src": "3900:11:7" + } + ] + }, + "documentation": { + "id": 1573, + "nodeType": "StructuredDocumentation", + "src": "3539:185:7", + "text": " @dev See {IERC20-transfer}.\n Requirements:\n - `to` cannot be the zero address.\n - the caller must have a balance of at least `amount`." + }, + "functionSelector": "a9059cbb", + "id": 1597, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "transfer", + "nameLocation": "3738:8:7", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 1579, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "3790:8:7" + }, + "parameters": { + "id": 1578, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1575, + "mutability": "mutable", + "name": "to", + "nameLocation": "3755:2:7", + "nodeType": "VariableDeclaration", + "scope": 1597, + "src": "3747:10:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1574, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3747:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1577, + "mutability": "mutable", + "name": "amount", + "nameLocation": "3767:6:7", + "nodeType": "VariableDeclaration", + "scope": 1597, + "src": "3759:14:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1576, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3759:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3746:28:7" + }, + "returnParameters": { + "id": 1582, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1581, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1597, + "src": "3808:4:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1580, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "3808:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "3807:6:7" + }, + "scope": 2061, + "src": "3729:189:7", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + }, + { + "baseFunctions": [ + 2098 + ], + "body": { + "id": 1614, + "nodeType": "Block", + "src": "4074:51:7", + "statements": [ + { + "expression": { + "baseExpression": { + "baseExpression": { + "id": 1608, + "name": "_allowances", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1495, + "src": "4091:11:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", + "typeString": "mapping(address => mapping(address => uint256))" + } + }, + "id": 1610, + "indexExpression": { + "id": 1609, + "name": "owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1600, + "src": "4103:5:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4091:18:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + } + }, + "id": 1612, + "indexExpression": { + "id": 1611, + "name": "spender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1602, + "src": "4110:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4091:27:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 1607, + "id": 1613, + "nodeType": "Return", + "src": "4084:34:7" + } + ] + }, + "documentation": { + "id": 1598, + "nodeType": "StructuredDocumentation", + "src": "3924:47:7", + "text": " @dev See {IERC20-allowance}." + }, + "functionSelector": "dd62ed3e", + "id": 1615, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "allowance", + "nameLocation": "3985:9:7", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 1604, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "4047:8:7" + }, + "parameters": { + "id": 1603, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1600, + "mutability": "mutable", + "name": "owner", + "nameLocation": "4003:5:7", + "nodeType": "VariableDeclaration", + "scope": 1615, + "src": "3995:13:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1599, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3995:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1602, + "mutability": "mutable", + "name": "spender", + "nameLocation": "4018:7:7", + "nodeType": "VariableDeclaration", + "scope": 1615, + "src": "4010:15:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1601, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4010:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "3994:32:7" + }, + "returnParameters": { + "id": 1607, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1606, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1615, + "src": "4065:7:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1605, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "4065:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "4064:9:7" + }, + "scope": 2061, + "src": "3976:149:7", + "stateMutability": "view", + "virtual": true, + "visibility": "public" + }, + { + "baseFunctions": [ + 2108 + ], + "body": { + "id": 1639, + "nodeType": "Block", + "src": "4522:108:7", + "statements": [ + { + "assignments": [ + 1627 + ], + "declarations": [ + { + "constant": false, + "id": 1627, + "mutability": "mutable", + "name": "owner", + "nameLocation": "4540:5:7", + "nodeType": "VariableDeclaration", + "scope": 1639, + "src": "4532:13:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1626, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4532:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "id": 1630, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 1628, + "name": "_msgSender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2176, + "src": "4548:10:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", + "typeString": "function () view returns (address)" + } + }, + "id": 1629, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4548:12:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4532:28:7" + }, + { + "expression": { + "arguments": [ + { + "id": 1632, + "name": "owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1627, + "src": "4579:5:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1633, + "name": "spender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1618, + "src": "4586:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1634, + "name": "amount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1620, + "src": "4595:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1631, + "name": "_approve", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1995, + "src": "4570:8:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,address,uint256)" + } + }, + "id": 1635, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4570:32:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1636, + "nodeType": "ExpressionStatement", + "src": "4570:32:7" + }, + { + "expression": { + "hexValue": "74727565", + "id": 1637, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4619:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "functionReturnParameters": 1625, + "id": 1638, + "nodeType": "Return", + "src": "4612:11:7" + } + ] + }, + "documentation": { + "id": 1616, + "nodeType": "StructuredDocumentation", + "src": "4131:297:7", + "text": " @dev See {IERC20-approve}.\n NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on\n `transferFrom`. This is semantically equivalent to an infinite approval.\n Requirements:\n - `spender` cannot be the zero address." + }, + "functionSelector": "095ea7b3", + "id": 1640, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "approve", + "nameLocation": "4442:7:7", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 1622, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "4498:8:7" + }, + "parameters": { + "id": 1621, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1618, + "mutability": "mutable", + "name": "spender", + "nameLocation": "4458:7:7", + "nodeType": "VariableDeclaration", + "scope": 1640, + "src": "4450:15:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1617, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4450:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1620, + "mutability": "mutable", + "name": "amount", + "nameLocation": "4475:6:7", + "nodeType": "VariableDeclaration", + "scope": 1640, + "src": "4467:14:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1619, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "4467:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "4449:33:7" + }, + "returnParameters": { + "id": 1625, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1624, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1640, + "src": "4516:4:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1623, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "4516:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "4515:6:7" + }, + "scope": 2061, + "src": "4433:197:7", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + }, + { + "baseFunctions": [ + 2120 + ], + "body": { + "id": 1672, + "nodeType": "Block", + "src": "5325:153:7", + "statements": [ + { + "assignments": [ + 1654 + ], + "declarations": [ + { + "constant": false, + "id": 1654, + "mutability": "mutable", + "name": "spender", + "nameLocation": "5343:7:7", + "nodeType": "VariableDeclaration", + "scope": 1672, + "src": "5335:15:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1653, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5335:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "id": 1657, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 1655, + "name": "_msgSender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2176, + "src": "5353:10:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", + "typeString": "function () view returns (address)" + } + }, + "id": 1656, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5353:12:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5335:30:7" + }, + { + "expression": { + "arguments": [ + { + "id": 1659, + "name": "from", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1643, + "src": "5391:4:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1660, + "name": "spender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1654, + "src": "5397:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1661, + "name": "amount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1647, + "src": "5406:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1658, + "name": "_spendAllowance", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2038, + "src": "5375:15:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,address,uint256)" + } + }, + "id": 1662, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5375:38:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1663, + "nodeType": "ExpressionStatement", + "src": "5375:38:7" + }, + { + "expression": { + "arguments": [ + { + "id": 1665, + "name": "from", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1643, + "src": "5433:4:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1666, + "name": "to", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1645, + "src": "5439:2:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1667, + "name": "amount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1647, + "src": "5443:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1664, + "name": "_transfer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1822, + "src": "5423:9:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,address,uint256)" + } + }, + "id": 1668, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5423:27:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1669, + "nodeType": "ExpressionStatement", + "src": "5423:27:7" + }, + { + "expression": { + "hexValue": "74727565", + "id": 1670, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5467:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "functionReturnParameters": 1652, + "id": 1671, + "nodeType": "Return", + "src": "5460:11:7" + } + ] + }, + "documentation": { + "id": 1641, + "nodeType": "StructuredDocumentation", + "src": "4636:551:7", + "text": " @dev See {IERC20-transferFrom}.\n Emits an {Approval} event indicating the updated allowance. This is not\n required by the EIP. See the note at the beginning of {ERC20}.\n NOTE: Does not update the allowance if the current allowance\n is the maximum `uint256`.\n Requirements:\n - `from` and `to` cannot be the zero address.\n - `from` must have a balance of at least `amount`.\n - the caller must have allowance for ``from``'s tokens of at least\n `amount`." + }, + "functionSelector": "23b872dd", + "id": 1673, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "transferFrom", + "nameLocation": "5201:12:7", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 1649, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "5301:8:7" + }, + "parameters": { + "id": 1648, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1643, + "mutability": "mutable", + "name": "from", + "nameLocation": "5231:4:7", + "nodeType": "VariableDeclaration", + "scope": 1673, + "src": "5223:12:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1642, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5223:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1645, + "mutability": "mutable", + "name": "to", + "nameLocation": "5253:2:7", + "nodeType": "VariableDeclaration", + "scope": 1673, + "src": "5245:10:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1644, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5245:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1647, + "mutability": "mutable", + "name": "amount", + "nameLocation": "5273:6:7", + "nodeType": "VariableDeclaration", + "scope": 1673, + "src": "5265:14:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1646, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "5265:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "5213:72:7" + }, + "returnParameters": { + "id": 1652, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1651, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1673, + "src": "5319:4:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1650, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "5319:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "5318:6:7" + }, + "scope": 2061, + "src": "5192:286:7", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + }, + { + "body": { + "id": 1702, + "nodeType": "Block", + "src": "5967:142:7", + "statements": [ + { + "assignments": [ + 1684 + ], + "declarations": [ + { + "constant": false, + "id": 1684, + "mutability": "mutable", + "name": "owner", + "nameLocation": "5985:5:7", + "nodeType": "VariableDeclaration", + "scope": 1702, + "src": "5977:13:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1683, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5977:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "id": 1687, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 1685, + "name": "_msgSender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2176, + "src": "5993:10:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", + "typeString": "function () view returns (address)" + } + }, + "id": 1686, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5993:12:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5977:28:7" + }, + { + "expression": { + "arguments": [ + { + "id": 1689, + "name": "owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1684, + "src": "6024:5:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1690, + "name": "spender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1676, + "src": "6031:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1697, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "baseExpression": { + "baseExpression": { + "id": 1691, + "name": "_allowances", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1495, + "src": "6040:11:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", + "typeString": "mapping(address => mapping(address => uint256))" + } + }, + "id": 1693, + "indexExpression": { + "id": 1692, + "name": "owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1684, + "src": "6052:5:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6040:18:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + } + }, + "id": 1695, + "indexExpression": { + "id": 1694, + "name": "spender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1676, + "src": "6059:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6040:27:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "id": 1696, + "name": "addedValue", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1678, + "src": "6070:10:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "6040:40:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1688, + "name": "_approve", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1995, + "src": "6015:8:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,address,uint256)" + } + }, + "id": 1698, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6015:66:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1699, + "nodeType": "ExpressionStatement", + "src": "6015:66:7" + }, + { + "expression": { + "hexValue": "74727565", + "id": 1700, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6098:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "functionReturnParameters": 1682, + "id": 1701, + "nodeType": "Return", + "src": "6091:11:7" + } + ] + }, + "documentation": { + "id": 1674, + "nodeType": "StructuredDocumentation", + "src": "5484:384:7", + "text": " @dev Atomically increases the allowance granted to `spender` by the caller.\n This is an alternative to {approve} that can be used as a mitigation for\n problems described in {IERC20-approve}.\n Emits an {Approval} event indicating the updated allowance.\n Requirements:\n - `spender` cannot be the zero address." + }, + "functionSelector": "39509351", + "id": 1703, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "increaseAllowance", + "nameLocation": "5882:17:7", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1679, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1676, + "mutability": "mutable", + "name": "spender", + "nameLocation": "5908:7:7", + "nodeType": "VariableDeclaration", + "scope": 1703, + "src": "5900:15:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1675, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5900:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1678, + "mutability": "mutable", + "name": "addedValue", + "nameLocation": "5925:10:7", + "nodeType": "VariableDeclaration", + "scope": 1703, + "src": "5917:18:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1677, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "5917:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "5899:37:7" + }, + "returnParameters": { + "id": 1682, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1681, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1703, + "src": "5961:4:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1680, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "5961:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "5960:6:7" + }, + "scope": 2061, + "src": "5873:236:7", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + }, + { + "body": { + "id": 1744, + "nodeType": "Block", + "src": "6695:330:7", + "statements": [ + { + "assignments": [ + 1714 + ], + "declarations": [ + { + "constant": false, + "id": 1714, + "mutability": "mutable", + "name": "owner", + "nameLocation": "6713:5:7", + "nodeType": "VariableDeclaration", + "scope": 1744, + "src": "6705:13:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1713, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6705:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "id": 1717, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 1715, + "name": "_msgSender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2176, + "src": "6721:10:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", + "typeString": "function () view returns (address)" + } + }, + "id": 1716, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6721:12:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6705:28:7" + }, + { + "assignments": [ + 1719 + ], + "declarations": [ + { + "constant": false, + "id": 1719, + "mutability": "mutable", + "name": "currentAllowance", + "nameLocation": "6751:16:7", + "nodeType": "VariableDeclaration", + "scope": 1744, + "src": "6743:24:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1718, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "6743:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1725, + "initialValue": { + "baseExpression": { + "baseExpression": { + "id": 1720, + "name": "_allowances", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1495, + "src": "6770:11:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", + "typeString": "mapping(address => mapping(address => uint256))" + } + }, + "id": 1722, + "indexExpression": { + "id": 1721, + "name": "owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1714, + "src": "6782:5:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6770:18:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + } + }, + "id": 1724, + "indexExpression": { + "id": 1723, + "name": "spender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1706, + "src": "6789:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6770:27:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6743:54:7" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1729, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1727, + "name": "currentAllowance", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1719, + "src": "6815:16:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">=", + "rightExpression": { + "id": 1728, + "name": "subtractedValue", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1708, + "src": "6835:15:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "6815:35:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f", + "id": 1730, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6852:39:7", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8", + "typeString": "literal_string \"ERC20: decreased allowance below zero\"" + }, + "value": "ERC20: decreased allowance below zero" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_f8b476f7d28209d77d4a4ac1fe36b9f8259aa1bb6bddfa6e89de7e51615cf8a8", + "typeString": "literal_string \"ERC20: decreased allowance below zero\"" + } + ], + "id": 1726, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "6807:7:7", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 1731, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6807:85:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1732, + "nodeType": "ExpressionStatement", + "src": "6807:85:7" + }, + { + "id": 1741, + "nodeType": "UncheckedBlock", + "src": "6902:95:7", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 1734, + "name": "owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1714, + "src": "6935:5:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1735, + "name": "spender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1706, + "src": "6942:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1738, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1736, + "name": "currentAllowance", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1719, + "src": "6951:16:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "id": 1737, + "name": "subtractedValue", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1708, + "src": "6970:15:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "6951:34:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1733, + "name": "_approve", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1995, + "src": "6926:8:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,address,uint256)" + } + }, + "id": 1739, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6926:60:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1740, + "nodeType": "ExpressionStatement", + "src": "6926:60:7" + } + ] + }, + { + "expression": { + "hexValue": "74727565", + "id": 1742, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7014:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "functionReturnParameters": 1712, + "id": 1743, + "nodeType": "Return", + "src": "7007:11:7" + } + ] + }, + "documentation": { + "id": 1704, + "nodeType": "StructuredDocumentation", + "src": "6115:476:7", + "text": " @dev Atomically decreases the allowance granted to `spender` by the caller.\n This is an alternative to {approve} that can be used as a mitigation for\n problems described in {IERC20-approve}.\n Emits an {Approval} event indicating the updated allowance.\n Requirements:\n - `spender` cannot be the zero address.\n - `spender` must have allowance for the caller of at least\n `subtractedValue`." + }, + "functionSelector": "a457c2d7", + "id": 1745, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "decreaseAllowance", + "nameLocation": "6605:17:7", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1709, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1706, + "mutability": "mutable", + "name": "spender", + "nameLocation": "6631:7:7", + "nodeType": "VariableDeclaration", + "scope": 1745, + "src": "6623:15:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1705, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6623:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1708, + "mutability": "mutable", + "name": "subtractedValue", + "nameLocation": "6648:15:7", + "nodeType": "VariableDeclaration", + "scope": 1745, + "src": "6640:23:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1707, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "6640:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "6622:42:7" + }, + "returnParameters": { + "id": 1712, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1711, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 1745, + "src": "6689:4:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 1710, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "6689:4:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "6688:6:7" + }, + "scope": 2061, + "src": "6596:429:7", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "public" + }, + { + "body": { + "id": 1821, + "nodeType": "Block", + "src": "7596:543:7", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 1761, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1756, + "name": "from", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1748, + "src": "7614:4:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "arguments": [ + { + "hexValue": "30", + "id": 1759, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7630: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": 1758, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "7622:7:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 1757, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "7622:7:7", + "typeDescriptions": {} + } + }, + "id": 1760, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7622:10:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "7614:18:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "45524332303a207472616e736665722066726f6d20746865207a65726f2061646472657373", + "id": 1762, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7634:39:7", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea", + "typeString": "literal_string \"ERC20: transfer from the zero address\"" + }, + "value": "ERC20: transfer from the zero address" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_baecc556b46f4ed0f2b4cb599d60785ac8563dd2dc0a5bf12edea1c39e5e1fea", + "typeString": "literal_string \"ERC20: transfer from the zero address\"" + } + ], + "id": 1755, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "7606:7:7", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 1763, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7606:68:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1764, + "nodeType": "ExpressionStatement", + "src": "7606:68:7" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 1771, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1766, + "name": "to", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1750, + "src": "7692:2:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "arguments": [ + { + "hexValue": "30", + "id": 1769, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7706: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": 1768, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "7698:7:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 1767, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "7698:7:7", + "typeDescriptions": {} + } + }, + "id": 1770, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7698:10:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "7692:16:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "45524332303a207472616e7366657220746f20746865207a65726f2061646472657373", + "id": 1772, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7710:37:7", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f", + "typeString": "literal_string \"ERC20: transfer to the zero address\"" + }, + "value": "ERC20: transfer to the zero address" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_0557e210f7a69a685100a7e4e3d0a7024c546085cee28910fd17d0b081d9516f", + "typeString": "literal_string \"ERC20: transfer to the zero address\"" + } + ], + "id": 1765, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "7684:7:7", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 1773, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7684:64:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1774, + "nodeType": "ExpressionStatement", + "src": "7684:64:7" + }, + { + "expression": { + "arguments": [ + { + "id": 1776, + "name": "from", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1748, + "src": "7780:4:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1777, + "name": "to", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1750, + "src": "7786:2:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1778, + "name": "amount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1752, + "src": "7790:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1775, + "name": "_beforeTokenTransfer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2049, + "src": "7759:20:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,address,uint256)" + } + }, + "id": 1779, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7759:38:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1780, + "nodeType": "ExpressionStatement", + "src": "7759:38:7" + }, + { + "assignments": [ + 1782 + ], + "declarations": [ + { + "constant": false, + "id": 1782, + "mutability": "mutable", + "name": "fromBalance", + "nameLocation": "7816:11:7", + "nodeType": "VariableDeclaration", + "scope": 1821, + "src": "7808:19:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1781, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "7808:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1786, + "initialValue": { + "baseExpression": { + "id": 1783, + "name": "_balances", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1489, + "src": "7830:9:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + } + }, + "id": 1785, + "indexExpression": { + "id": 1784, + "name": "from", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1748, + "src": "7840:4:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7830:15:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7808:37:7" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1790, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1788, + "name": "fromBalance", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1782, + "src": "7863:11:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">=", + "rightExpression": { + "id": 1789, + "name": "amount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1752, + "src": "7878:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7863:21:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365", + "id": 1791, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7886:40:7", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6", + "typeString": "literal_string \"ERC20: transfer amount exceeds balance\"" + }, + "value": "ERC20: transfer amount exceeds balance" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_4107e8a8b9e94bf8ff83080ddec1c0bffe897ebc2241b89d44f66b3d274088b6", + "typeString": "literal_string \"ERC20: transfer amount exceeds balance\"" + } + ], + "id": 1787, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "7855:7:7", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 1792, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "7855:72:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1793, + "nodeType": "ExpressionStatement", + "src": "7855:72:7" + }, + { + "id": 1802, + "nodeType": "UncheckedBlock", + "src": "7937:73:7", + "statements": [ + { + "expression": { + "id": 1800, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 1794, + "name": "_balances", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1489, + "src": "7961:9:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + } + }, + "id": 1796, + "indexExpression": { + "id": 1795, + "name": "from", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1748, + "src": "7971:4:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7961:15:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1799, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1797, + "name": "fromBalance", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1782, + "src": "7979:11:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "id": 1798, + "name": "amount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1752, + "src": "7993:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7979:20:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "7961:38:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1801, + "nodeType": "ExpressionStatement", + "src": "7961:38:7" + } + ] + }, + { + "expression": { + "id": 1807, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 1803, + "name": "_balances", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1489, + "src": "8019:9:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + } + }, + "id": 1805, + "indexExpression": { + "id": 1804, + "name": "to", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1750, + "src": "8029:2:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "8019:13:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "id": 1806, + "name": "amount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1752, + "src": "8036:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "8019:23:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1808, + "nodeType": "ExpressionStatement", + "src": "8019:23:7" + }, + { + "eventCall": { + "arguments": [ + { + "id": 1810, + "name": "from", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1748, + "src": "8067:4:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1811, + "name": "to", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1750, + "src": "8073:2:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1812, + "name": "amount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1752, + "src": "8077:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1809, + "name": "Transfer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2129, + "src": "8058:8:7", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,address,uint256)" + } + }, + "id": 1813, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8058:26:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1814, + "nodeType": "EmitStatement", + "src": "8053:31:7" + }, + { + "expression": { + "arguments": [ + { + "id": 1816, + "name": "from", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1748, + "src": "8115:4:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1817, + "name": "to", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1750, + "src": "8121:2:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1818, + "name": "amount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1752, + "src": "8125:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1815, + "name": "_afterTokenTransfer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2060, + "src": "8095:19:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,address,uint256)" + } + }, + "id": 1819, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8095:37:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1820, + "nodeType": "ExpressionStatement", + "src": "8095:37:7" + } + ] + }, + "documentation": { + "id": 1746, + "nodeType": "StructuredDocumentation", + "src": "7031:452:7", + "text": " @dev Moves `amount` of tokens from `sender` to `recipient`.\n This internal function is equivalent to {transfer}, and can be used to\n e.g. implement automatic token fees, slashing mechanisms, etc.\n Emits a {Transfer} event.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `from` must have a balance of at least `amount`." + }, + "id": 1822, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_transfer", + "nameLocation": "7497:9:7", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1753, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1748, + "mutability": "mutable", + "name": "from", + "nameLocation": "7524:4:7", + "nodeType": "VariableDeclaration", + "scope": 1822, + "src": "7516:12:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1747, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "7516:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1750, + "mutability": "mutable", + "name": "to", + "nameLocation": "7546:2:7", + "nodeType": "VariableDeclaration", + "scope": 1822, + "src": "7538:10:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1749, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "7538:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1752, + "mutability": "mutable", + "name": "amount", + "nameLocation": "7566:6:7", + "nodeType": "VariableDeclaration", + "scope": 1822, + "src": "7558:14:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1751, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "7558:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "7506:72:7" + }, + "returnParameters": { + "id": 1754, + "nodeType": "ParameterList", + "parameters": [], + "src": "7596:0:7" + }, + "scope": 2061, + "src": "7488:651:7", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + }, + { + "body": { + "id": 1877, + "nodeType": "Block", + "src": "8480:324:7", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 1836, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1831, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1825, + "src": "8498:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "arguments": [ + { + "hexValue": "30", + "id": 1834, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8517: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": 1833, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "8509:7:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 1832, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "8509:7:7", + "typeDescriptions": {} + } + }, + "id": 1835, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8509:10:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "8498:21:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "45524332303a206d696e7420746f20746865207a65726f2061646472657373", + "id": 1837, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8521:33:7", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e", + "typeString": "literal_string \"ERC20: mint to the zero address\"" + }, + "value": "ERC20: mint to the zero address" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_fc0b381caf0a47702017f3c4b358ebe3d3aff6c60ce819a8bf3ef5a95d4f202e", + "typeString": "literal_string \"ERC20: mint to the zero address\"" + } + ], + "id": 1830, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "8490:7:7", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 1838, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8490:65:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1839, + "nodeType": "ExpressionStatement", + "src": "8490:65:7" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "30", + "id": 1843, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8595: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": 1842, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "8587:7:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 1841, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "8587:7:7", + "typeDescriptions": {} + } + }, + "id": 1844, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8587:10:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1845, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1825, + "src": "8599:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1846, + "name": "amount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1827, + "src": "8608:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1840, + "name": "_beforeTokenTransfer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2049, + "src": "8566:20:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,address,uint256)" + } + }, + "id": 1847, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8566:49:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1848, + "nodeType": "ExpressionStatement", + "src": "8566:49:7" + }, + { + "expression": { + "id": 1851, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1849, + "name": "_totalSupply", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1497, + "src": "8626:12:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "id": 1850, + "name": "amount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1827, + "src": "8642:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "8626:22:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1852, + "nodeType": "ExpressionStatement", + "src": "8626:22:7" + }, + { + "expression": { + "id": 1857, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 1853, + "name": "_balances", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1489, + "src": "8658:9:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + } + }, + "id": 1855, + "indexExpression": { + "id": 1854, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1825, + "src": "8668:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "8658:18:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "id": 1856, + "name": "amount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1827, + "src": "8680:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "8658:28:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1858, + "nodeType": "ExpressionStatement", + "src": "8658:28:7" + }, + { + "eventCall": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "30", + "id": 1862, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8718: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": 1861, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "8710:7:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 1860, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "8710:7:7", + "typeDescriptions": {} + } + }, + "id": 1863, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8710:10:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1864, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1825, + "src": "8722:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1865, + "name": "amount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1827, + "src": "8731:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1859, + "name": "Transfer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2129, + "src": "8701:8:7", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,address,uint256)" + } + }, + "id": 1866, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8701:37:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1867, + "nodeType": "EmitStatement", + "src": "8696:42:7" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "30", + "id": 1871, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "8777: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": 1870, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "8769:7:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 1869, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "8769:7:7", + "typeDescriptions": {} + } + }, + "id": 1872, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8769:10:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1873, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1825, + "src": "8781:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1874, + "name": "amount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1827, + "src": "8790:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1868, + "name": "_afterTokenTransfer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2060, + "src": "8749:19:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,address,uint256)" + } + }, + "id": 1875, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "8749:48:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1876, + "nodeType": "ExpressionStatement", + "src": "8749:48:7" + } + ] + }, + "documentation": { + "id": 1823, + "nodeType": "StructuredDocumentation", + "src": "8145:265:7", + "text": "@dev Creates `amount` tokens and assigns them to `account`, increasing\n the total supply.\n Emits a {Transfer} event with `from` set to the zero address.\n Requirements:\n - `account` cannot be the zero address." + }, + "id": 1878, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_mint", + "nameLocation": "8424:5:7", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1828, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1825, + "mutability": "mutable", + "name": "account", + "nameLocation": "8438:7:7", + "nodeType": "VariableDeclaration", + "scope": 1878, + "src": "8430:15:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1824, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "8430:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1827, + "mutability": "mutable", + "name": "amount", + "nameLocation": "8455:6:7", + "nodeType": "VariableDeclaration", + "scope": 1878, + "src": "8447:14:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1826, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "8447:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "8429:33:7" + }, + "returnParameters": { + "id": 1829, + "nodeType": "ParameterList", + "parameters": [], + "src": "8480:0:7" + }, + "scope": 2061, + "src": "8415:389:7", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + }, + { + "body": { + "id": 1949, + "nodeType": "Block", + "src": "9189:511:7", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 1892, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1887, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1881, + "src": "9207:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "arguments": [ + { + "hexValue": "30", + "id": 1890, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9226: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": 1889, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "9218:7:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 1888, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "9218:7:7", + "typeDescriptions": {} + } + }, + "id": 1891, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "9218:10:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "9207:21:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "45524332303a206275726e2066726f6d20746865207a65726f2061646472657373", + "id": 1893, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9230:35:7", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_b16788493b576042bb52c50ed56189e0b250db113c7bfb1c3897d25cf9632d7f", + "typeString": "literal_string \"ERC20: burn from the zero address\"" + }, + "value": "ERC20: burn from the zero address" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_b16788493b576042bb52c50ed56189e0b250db113c7bfb1c3897d25cf9632d7f", + "typeString": "literal_string \"ERC20: burn from the zero address\"" + } + ], + "id": 1886, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "9199:7:7", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 1894, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "9199:67:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1895, + "nodeType": "ExpressionStatement", + "src": "9199:67:7" + }, + { + "expression": { + "arguments": [ + { + "id": 1897, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1881, + "src": "9298:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "arguments": [ + { + "hexValue": "30", + "id": 1900, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9315: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": 1899, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "9307:7:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 1898, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "9307:7:7", + "typeDescriptions": {} + } + }, + "id": 1901, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "9307:10:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1902, + "name": "amount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1883, + "src": "9319:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1896, + "name": "_beforeTokenTransfer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2049, + "src": "9277:20:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,address,uint256)" + } + }, + "id": 1903, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "9277:49:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1904, + "nodeType": "ExpressionStatement", + "src": "9277:49:7" + }, + { + "assignments": [ + 1906 + ], + "declarations": [ + { + "constant": false, + "id": 1906, + "mutability": "mutable", + "name": "accountBalance", + "nameLocation": "9345:14:7", + "nodeType": "VariableDeclaration", + "scope": 1949, + "src": "9337:22:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1905, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "9337:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1910, + "initialValue": { + "baseExpression": { + "id": 1907, + "name": "_balances", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1489, + "src": "9362:9:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + } + }, + "id": 1909, + "indexExpression": { + "id": 1908, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1881, + "src": "9372:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "9362:18:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "9337:43:7" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1914, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1912, + "name": "accountBalance", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1906, + "src": "9398:14:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">=", + "rightExpression": { + "id": 1913, + "name": "amount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1883, + "src": "9416:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "9398:24:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "45524332303a206275726e20616d6f756e7420657863656564732062616c616e6365", + "id": 1915, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9424:36:7", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_149b126e7125232b4200af45303d04fba8b74653b1a295a6a561a528c33fefdd", + "typeString": "literal_string \"ERC20: burn amount exceeds balance\"" + }, + "value": "ERC20: burn amount exceeds balance" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_149b126e7125232b4200af45303d04fba8b74653b1a295a6a561a528c33fefdd", + "typeString": "literal_string \"ERC20: burn amount exceeds balance\"" + } + ], + "id": 1911, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "9390:7:7", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 1916, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "9390:71:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1917, + "nodeType": "ExpressionStatement", + "src": "9390:71:7" + }, + { + "id": 1926, + "nodeType": "UncheckedBlock", + "src": "9471:79:7", + "statements": [ + { + "expression": { + "id": 1924, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 1918, + "name": "_balances", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1489, + "src": "9495:9:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + } + }, + "id": 1920, + "indexExpression": { + "id": 1919, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1881, + "src": "9505:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "9495:18:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1923, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1921, + "name": "accountBalance", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1906, + "src": "9516:14:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "id": 1922, + "name": "amount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1883, + "src": "9533:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "9516:23:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "9495:44:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1925, + "nodeType": "ExpressionStatement", + "src": "9495:44:7" + } + ] + }, + { + "expression": { + "id": 1929, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 1927, + "name": "_totalSupply", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1497, + "src": "9559:12:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "-=", + "rightHandSide": { + "id": 1928, + "name": "amount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1883, + "src": "9575:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "9559:22:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1930, + "nodeType": "ExpressionStatement", + "src": "9559:22:7" + }, + { + "eventCall": { + "arguments": [ + { + "id": 1932, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1881, + "src": "9606:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "arguments": [ + { + "hexValue": "30", + "id": 1935, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9623: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": 1934, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "9615:7:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 1933, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "9615:7:7", + "typeDescriptions": {} + } + }, + "id": 1936, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "9615:10:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1937, + "name": "amount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1883, + "src": "9627:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1931, + "name": "Transfer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2129, + "src": "9597:8:7", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,address,uint256)" + } + }, + "id": 1938, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "9597:37:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1939, + "nodeType": "EmitStatement", + "src": "9592:42:7" + }, + { + "expression": { + "arguments": [ + { + "id": 1941, + "name": "account", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1881, + "src": "9665:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "arguments": [ + { + "hexValue": "30", + "id": 1944, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "9682: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": 1943, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "9674:7:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 1942, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "9674:7:7", + "typeDescriptions": {} + } + }, + "id": 1945, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "9674:10:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1946, + "name": "amount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1883, + "src": "9686:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1940, + "name": "_afterTokenTransfer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2060, + "src": "9645:19:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,address,uint256)" + } + }, + "id": 1947, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "9645:48:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1948, + "nodeType": "ExpressionStatement", + "src": "9645:48:7" + } + ] + }, + "documentation": { + "id": 1879, + "nodeType": "StructuredDocumentation", + "src": "8810:309:7", + "text": " @dev Destroys `amount` tokens from `account`, reducing the\n total supply.\n Emits a {Transfer} event with `to` set to the zero address.\n Requirements:\n - `account` cannot be the zero address.\n - `account` must have at least `amount` tokens." + }, + "id": 1950, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_burn", + "nameLocation": "9133:5:7", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1884, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1881, + "mutability": "mutable", + "name": "account", + "nameLocation": "9147:7:7", + "nodeType": "VariableDeclaration", + "scope": 1950, + "src": "9139:15:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1880, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "9139:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1883, + "mutability": "mutable", + "name": "amount", + "nameLocation": "9164:6:7", + "nodeType": "VariableDeclaration", + "scope": 1950, + "src": "9156:14:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1882, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "9156:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "9138:33:7" + }, + "returnParameters": { + "id": 1885, + "nodeType": "ParameterList", + "parameters": [], + "src": "9189:0:7" + }, + "scope": 2061, + "src": "9124:576:7", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + }, + { + "body": { + "id": 1994, + "nodeType": "Block", + "src": "10236:257:7", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 1966, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1961, + "name": "owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1953, + "src": "10254:5:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "arguments": [ + { + "hexValue": "30", + "id": 1964, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10271: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": 1963, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "10263:7:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 1962, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "10263:7:7", + "typeDescriptions": {} + } + }, + "id": 1965, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "10263:10:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "10254:19:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "45524332303a20617070726f76652066726f6d20746865207a65726f2061646472657373", + "id": 1967, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10275:38:7", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208", + "typeString": "literal_string \"ERC20: approve from the zero address\"" + }, + "value": "ERC20: approve from the zero address" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_c953f4879035ed60e766b34720f656aab5c697b141d924c283124ecedb91c208", + "typeString": "literal_string \"ERC20: approve from the zero address\"" + } + ], + "id": 1960, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "10246:7:7", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 1968, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "10246:68:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1969, + "nodeType": "ExpressionStatement", + "src": "10246:68:7" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 1976, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1971, + "name": "spender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1955, + "src": "10332:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "arguments": [ + { + "hexValue": "30", + "id": 1974, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10351: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": 1973, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "10343:7:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 1972, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "10343:7:7", + "typeDescriptions": {} + } + }, + "id": 1975, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "10343:10:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "src": "10332:21:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "45524332303a20617070726f766520746f20746865207a65726f2061646472657373", + "id": 1977, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "10355:36:7", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029", + "typeString": "literal_string \"ERC20: approve to the zero address\"" + }, + "value": "ERC20: approve to the zero address" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_24883cc5fe64ace9d0df1893501ecb93c77180f0ff69cca79affb3c316dc8029", + "typeString": "literal_string \"ERC20: approve to the zero address\"" + } + ], + "id": 1970, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "10324:7:7", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 1978, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "10324:68:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1979, + "nodeType": "ExpressionStatement", + "src": "10324:68:7" + }, + { + "expression": { + "id": 1986, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "baseExpression": { + "id": 1980, + "name": "_allowances", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1495, + "src": "10403:11:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_uint256_$_$", + "typeString": "mapping(address => mapping(address => uint256))" + } + }, + "id": 1983, + "indexExpression": { + "id": 1981, + "name": "owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1953, + "src": "10415:5:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "10403:18:7", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", + "typeString": "mapping(address => uint256)" + } + }, + "id": 1984, + "indexExpression": { + "id": 1982, + "name": "spender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1955, + "src": "10422:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "10403:27:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 1985, + "name": "amount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1957, + "src": "10433:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "10403:36:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 1987, + "nodeType": "ExpressionStatement", + "src": "10403:36:7" + }, + { + "eventCall": { + "arguments": [ + { + "id": 1989, + "name": "owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1953, + "src": "10463:5:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1990, + "name": "spender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1955, + "src": "10470:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1991, + "name": "amount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1957, + "src": "10479:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1988, + "name": "Approval", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2138, + "src": "10454:8:7", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,address,uint256)" + } + }, + "id": 1992, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "10454:32:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1993, + "nodeType": "EmitStatement", + "src": "10449:37:7" + } + ] + }, + "documentation": { + "id": 1951, + "nodeType": "StructuredDocumentation", + "src": "9706:412:7", + "text": " @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.\n This internal function is equivalent to `approve`, and can be used to\n e.g. set automatic allowances for certain subsystems, etc.\n Emits an {Approval} event.\n Requirements:\n - `owner` cannot be the zero address.\n - `spender` cannot be the zero address." + }, + "id": 1995, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_approve", + "nameLocation": "10132:8:7", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 1958, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1953, + "mutability": "mutable", + "name": "owner", + "nameLocation": "10158:5:7", + "nodeType": "VariableDeclaration", + "scope": 1995, + "src": "10150:13:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1952, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "10150:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1955, + "mutability": "mutable", + "name": "spender", + "nameLocation": "10181:7:7", + "nodeType": "VariableDeclaration", + "scope": 1995, + "src": "10173:15:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1954, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "10173:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 1957, + "mutability": "mutable", + "name": "amount", + "nameLocation": "10206:6:7", + "nodeType": "VariableDeclaration", + "scope": 1995, + "src": "10198:14:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1956, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "10198:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "10140:78:7" + }, + "returnParameters": { + "id": 1959, + "nodeType": "ParameterList", + "parameters": [], + "src": "10236:0:7" + }, + "scope": 2061, + "src": "10123:370:7", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + }, + { + "body": { + "id": 2037, + "nodeType": "Block", + "src": "10890:321:7", + "statements": [ + { + "assignments": [ + 2006 + ], + "declarations": [ + { + "constant": false, + "id": 2006, + "mutability": "mutable", + "name": "currentAllowance", + "nameLocation": "10908:16:7", + "nodeType": "VariableDeclaration", + "scope": 2037, + "src": "10900:24:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2005, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "10900:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 2011, + "initialValue": { + "arguments": [ + { + "id": 2008, + "name": "owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1998, + "src": "10937:5:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 2009, + "name": "spender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2000, + "src": "10944:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 2007, + "name": "allowance", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1615, + "src": "10927:9:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_uint256_$", + "typeString": "function (address,address) view returns (uint256)" + } + }, + "id": 2010, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "10927:25:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "10900:52:7" + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2018, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2012, + "name": "currentAllowance", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2006, + "src": "10966:16:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "expression": { + "arguments": [ + { + "id": 2015, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "10991:7:7", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint256_$", + "typeString": "type(uint256)" + }, + "typeName": { + "id": 2014, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "10991:7:7", + "typeDescriptions": {} + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_type$_t_uint256_$", + "typeString": "type(uint256)" + } + ], + "id": 2013, + "name": "type", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967269, + "src": "10986:4:7", + "typeDescriptions": { + "typeIdentifier": "t_function_metatype_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 2016, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "10986:13:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_magic_meta_type_t_uint256", + "typeString": "type(uint256)" + } + }, + "id": 2017, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "max", + "nodeType": "MemberAccess", + "src": "10986:17:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "10966:37:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 2036, + "nodeType": "IfStatement", + "src": "10962:243:7", + "trueBody": { + "id": 2035, + "nodeType": "Block", + "src": "11005:200:7", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2022, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2020, + "name": "currentAllowance", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2006, + "src": "11027:16:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">=", + "rightExpression": { + "id": 2021, + "name": "amount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2002, + "src": "11047:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "11027:26:7", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "45524332303a20696e73756666696369656e7420616c6c6f77616e6365", + "id": 2023, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "11055:31:7", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe", + "typeString": "literal_string \"ERC20: insufficient allowance\"" + }, + "value": "ERC20: insufficient allowance" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_3b6607e091cba9325f958656d2b5e0622ab7dc0eac71a26ac788cb25bc19f4fe", + "typeString": "literal_string \"ERC20: insufficient allowance\"" + } + ], + "id": 2019, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "11019:7:7", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 2024, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "11019:68:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 2025, + "nodeType": "ExpressionStatement", + "src": "11019:68:7" + }, + { + "id": 2034, + "nodeType": "UncheckedBlock", + "src": "11101:94:7", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 2027, + "name": "owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1998, + "src": "11138:5:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 2028, + "name": "spender", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2000, + "src": "11145:7:7", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2031, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2029, + "name": "currentAllowance", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2006, + "src": "11154:16:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "-", + "rightExpression": { + "id": 2030, + "name": "amount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2002, + "src": "11173:6:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "11154:25:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 2026, + "name": "_approve", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1995, + "src": "11129:8:7", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,address,uint256)" + } + }, + "id": 2032, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "11129:51:7", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 2033, + "nodeType": "ExpressionStatement", + "src": "11129:51:7" + } + ] + } + ] + } + } + ] + }, + "documentation": { + "id": 1996, + "nodeType": "StructuredDocumentation", + "src": "10499:266:7", + "text": " @dev Spend `amount` form the allowance of `owner` toward `spender`.\n Does not update the allowance amount in case of infinite allowance.\n Revert if not enough allowance is available.\n Might emit an {Approval} event." + }, + "id": 2038, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_spendAllowance", + "nameLocation": "10779:15:7", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2003, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 1998, + "mutability": "mutable", + "name": "owner", + "nameLocation": "10812:5:7", + "nodeType": "VariableDeclaration", + "scope": 2038, + "src": "10804:13:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1997, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "10804:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2000, + "mutability": "mutable", + "name": "spender", + "nameLocation": "10835:7:7", + "nodeType": "VariableDeclaration", + "scope": 2038, + "src": "10827:15:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 1999, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "10827:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2002, + "mutability": "mutable", + "name": "amount", + "nameLocation": "10860:6:7", + "nodeType": "VariableDeclaration", + "scope": 2038, + "src": "10852:14:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2001, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "10852:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "10794:78:7" + }, + "returnParameters": { + "id": 2004, + "nodeType": "ParameterList", + "parameters": [], + "src": "10890:0:7" + }, + "scope": 2061, + "src": "10770:441:7", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + }, + { + "body": { + "id": 2048, + "nodeType": "Block", + "src": "11914:2:7", + "statements": [] + }, + "documentation": { + "id": 2039, + "nodeType": "StructuredDocumentation", + "src": "11217:573:7", + "text": " @dev Hook that is called before any transfer of tokens. This includes\n minting and burning.\n Calling conditions:\n - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\n will be transferred to `to`.\n - when `from` is zero, `amount` tokens will be minted for `to`.\n - when `to` is zero, `amount` of ``from``'s tokens 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]." + }, + "id": 2049, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_beforeTokenTransfer", + "nameLocation": "11804:20:7", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2046, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2041, + "mutability": "mutable", + "name": "from", + "nameLocation": "11842:4:7", + "nodeType": "VariableDeclaration", + "scope": 2049, + "src": "11834:12:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2040, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "11834:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2043, + "mutability": "mutable", + "name": "to", + "nameLocation": "11864:2:7", + "nodeType": "VariableDeclaration", + "scope": 2049, + "src": "11856:10:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2042, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "11856:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2045, + "mutability": "mutable", + "name": "amount", + "nameLocation": "11884:6:7", + "nodeType": "VariableDeclaration", + "scope": 2049, + "src": "11876:14:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2044, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "11876:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "11824:72:7" + }, + "returnParameters": { + "id": 2047, + "nodeType": "ParameterList", + "parameters": [], + "src": "11914:0:7" + }, + "scope": 2061, + "src": "11795:121:7", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + }, + { + "body": { + "id": 2059, + "nodeType": "Block", + "src": "12622:2:7", + "statements": [] + }, + "documentation": { + "id": 2050, + "nodeType": "StructuredDocumentation", + "src": "11922:577:7", + "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, `amount` of ``from``'s tokens\n has been transferred to `to`.\n - when `from` is zero, `amount` tokens have been minted for `to`.\n - when `to` is zero, `amount` of ``from``'s tokens have been 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]." + }, + "id": 2060, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_afterTokenTransfer", + "nameLocation": "12513:19:7", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2057, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2052, + "mutability": "mutable", + "name": "from", + "nameLocation": "12550:4:7", + "nodeType": "VariableDeclaration", + "scope": 2060, + "src": "12542:12:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2051, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "12542:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2054, + "mutability": "mutable", + "name": "to", + "nameLocation": "12572:2:7", + "nodeType": "VariableDeclaration", + "scope": 2060, + "src": "12564:10:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2053, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "12564:7:7", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2056, + "mutability": "mutable", + "name": "amount", + "nameLocation": "12592:6:7", + "nodeType": "VariableDeclaration", + "scope": 2060, + "src": "12584:14:7", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2055, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "12584:7:7", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "12532:72:7" + }, + "returnParameters": { + "id": 2058, + "nodeType": "ParameterList", + "parameters": [], + "src": "12622:0:7" + }, + "scope": 2061, + "src": "12504:120:7", + "stateMutability": "nonpayable", + "virtual": true, + "visibility": "internal" + } + ], + "scope": 2062, + "src": "1403:11223:7", + "usedErrors": [] + } + ], + "src": "105:12522:7" + }, + "id": 7 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol", + "exportedSymbols": { + "IERC20": [ + 2139 + ] + }, + "id": 2140, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 2063, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "106:23:8" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "IERC20", + "contractDependencies": [], + "contractKind": "interface", + "documentation": { + "id": 2064, + "nodeType": "StructuredDocumentation", + "src": "131:70:8", + "text": " @dev Interface of the ERC20 standard as defined in the EIP." + }, + "fullyImplemented": false, + "id": 2139, + "linearizedBaseContracts": [ + 2139 + ], + "name": "IERC20", + "nameLocation": "212:6:8", + "nodeType": "ContractDefinition", + "nodes": [ + { + "documentation": { + "id": 2065, + "nodeType": "StructuredDocumentation", + "src": "225:66:8", + "text": " @dev Returns the amount of tokens in existence." + }, + "functionSelector": "18160ddd", + "id": 2070, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "totalSupply", + "nameLocation": "305:11:8", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2066, + "nodeType": "ParameterList", + "parameters": [], + "src": "316:2:8" + }, + "returnParameters": { + "id": 2069, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2068, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2070, + "src": "342:7:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2067, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "342:7:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "341:9:8" + }, + "scope": 2139, + "src": "296:55:8", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2071, + "nodeType": "StructuredDocumentation", + "src": "357:72:8", + "text": " @dev Returns the amount of tokens owned by `account`." + }, + "functionSelector": "70a08231", + "id": 2078, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "balanceOf", + "nameLocation": "443:9:8", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2074, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2073, + "mutability": "mutable", + "name": "account", + "nameLocation": "461:7:8", + "nodeType": "VariableDeclaration", + "scope": 2078, + "src": "453:15:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2072, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "453:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "452:17:8" + }, + "returnParameters": { + "id": 2077, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2076, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2078, + "src": "493:7:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2075, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "493:7:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "492:9:8" + }, + "scope": 2139, + "src": "434:68:8", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2079, + "nodeType": "StructuredDocumentation", + "src": "508:202:8", + "text": " @dev Moves `amount` tokens from the caller's account to `to`.\n Returns a boolean value indicating whether the operation succeeded.\n Emits a {Transfer} event." + }, + "functionSelector": "a9059cbb", + "id": 2088, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "transfer", + "nameLocation": "724:8:8", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2084, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2081, + "mutability": "mutable", + "name": "to", + "nameLocation": "741:2:8", + "nodeType": "VariableDeclaration", + "scope": 2088, + "src": "733:10:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2080, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "733:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2083, + "mutability": "mutable", + "name": "amount", + "nameLocation": "753:6:8", + "nodeType": "VariableDeclaration", + "scope": 2088, + "src": "745:14:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2082, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "745:7:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "732:28:8" + }, + "returnParameters": { + "id": 2087, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2086, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2088, + "src": "779:4:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 2085, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "779:4:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "778:6:8" + }, + "scope": 2139, + "src": "715:70:8", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2089, + "nodeType": "StructuredDocumentation", + "src": "791:264:8", + "text": " @dev Returns the remaining number of tokens that `spender` will be\n allowed to spend on behalf of `owner` through {transferFrom}. This is\n zero by default.\n This value changes when {approve} or {transferFrom} are called." + }, + "functionSelector": "dd62ed3e", + "id": 2098, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "allowance", + "nameLocation": "1069:9:8", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2094, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2091, + "mutability": "mutable", + "name": "owner", + "nameLocation": "1087:5:8", + "nodeType": "VariableDeclaration", + "scope": 2098, + "src": "1079:13:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2090, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1079:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2093, + "mutability": "mutable", + "name": "spender", + "nameLocation": "1102:7:8", + "nodeType": "VariableDeclaration", + "scope": 2098, + "src": "1094:15:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2092, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1094:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "1078:32:8" + }, + "returnParameters": { + "id": 2097, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2096, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2098, + "src": "1134:7:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2095, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1134:7:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1133:9:8" + }, + "scope": 2139, + "src": "1060:83:8", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2099, + "nodeType": "StructuredDocumentation", + "src": "1149:642:8", + "text": " @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\n Returns a boolean value indicating whether the operation succeeded.\n IMPORTANT: Beware that changing an allowance with this method brings the risk\n that someone may use both the old and the new allowance by unfortunate\n transaction ordering. One possible solution to mitigate this race\n condition is to first reduce the spender's allowance to 0 and set the\n desired value afterwards:\n https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n Emits an {Approval} event." + }, + "functionSelector": "095ea7b3", + "id": 2108, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "approve", + "nameLocation": "1805:7:8", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2104, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2101, + "mutability": "mutable", + "name": "spender", + "nameLocation": "1821:7:8", + "nodeType": "VariableDeclaration", + "scope": 2108, + "src": "1813:15:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2100, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1813:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2103, + "mutability": "mutable", + "name": "amount", + "nameLocation": "1838:6:8", + "nodeType": "VariableDeclaration", + "scope": 2108, + "src": "1830:14:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2102, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1830:7:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1812:33:8" + }, + "returnParameters": { + "id": 2107, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2106, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2108, + "src": "1864:4:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 2105, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "1864:4:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "1863:6:8" + }, + "scope": 2139, + "src": "1796:74:8", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2109, + "nodeType": "StructuredDocumentation", + "src": "1876:287:8", + "text": " @dev Moves `amount` tokens from `from` to `to` using the\n allowance mechanism. `amount` is then deducted from the caller's\n allowance.\n Returns a boolean value indicating whether the operation succeeded.\n Emits a {Transfer} event." + }, + "functionSelector": "23b872dd", + "id": 2120, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "transferFrom", + "nameLocation": "2177:12:8", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2116, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2111, + "mutability": "mutable", + "name": "from", + "nameLocation": "2207:4:8", + "nodeType": "VariableDeclaration", + "scope": 2120, + "src": "2199:12:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2110, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2199:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2113, + "mutability": "mutable", + "name": "to", + "nameLocation": "2229:2:8", + "nodeType": "VariableDeclaration", + "scope": 2120, + "src": "2221:10:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2112, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2221:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2115, + "mutability": "mutable", + "name": "amount", + "nameLocation": "2249:6:8", + "nodeType": "VariableDeclaration", + "scope": 2120, + "src": "2241:14:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2114, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2241:7:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "2189:72:8" + }, + "returnParameters": { + "id": 2119, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2118, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2120, + "src": "2280:4:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 2117, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "2280:4:8", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "2279:6:8" + }, + "scope": 2139, + "src": "2168:118:8", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "anonymous": false, + "documentation": { + "id": 2121, + "nodeType": "StructuredDocumentation", + "src": "2292:158:8", + "text": " @dev Emitted when `value` tokens are moved from one account (`from`) to\n another (`to`).\n Note that `value` may be zero." + }, + "id": 2129, + "name": "Transfer", + "nameLocation": "2461:8:8", + "nodeType": "EventDefinition", + "parameters": { + "id": 2128, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2123, + "indexed": true, + "mutability": "mutable", + "name": "from", + "nameLocation": "2486:4:8", + "nodeType": "VariableDeclaration", + "scope": 2129, + "src": "2470:20:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2122, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2470:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2125, + "indexed": true, + "mutability": "mutable", + "name": "to", + "nameLocation": "2508:2:8", + "nodeType": "VariableDeclaration", + "scope": 2129, + "src": "2492:18:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2124, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2492:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2127, + "indexed": false, + "mutability": "mutable", + "name": "value", + "nameLocation": "2520:5:8", + "nodeType": "VariableDeclaration", + "scope": 2129, + "src": "2512:13:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2126, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2512:7:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "2469:57:8" + }, + "src": "2455:72:8" + }, + { + "anonymous": false, + "documentation": { + "id": 2130, + "nodeType": "StructuredDocumentation", + "src": "2533:148:8", + "text": " @dev Emitted when the allowance of a `spender` for an `owner` is set by\n a call to {approve}. `value` is the new allowance." + }, + "id": 2138, + "name": "Approval", + "nameLocation": "2692:8:8", + "nodeType": "EventDefinition", + "parameters": { + "id": 2137, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2132, + "indexed": true, + "mutability": "mutable", + "name": "owner", + "nameLocation": "2717:5:8", + "nodeType": "VariableDeclaration", + "scope": 2138, + "src": "2701:21:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2131, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2701:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2134, + "indexed": true, + "mutability": "mutable", + "name": "spender", + "nameLocation": "2740:7:8", + "nodeType": "VariableDeclaration", + "scope": 2138, + "src": "2724:23:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2133, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2724:7:8", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2136, + "indexed": false, + "mutability": "mutable", + "name": "value", + "nameLocation": "2757:5:8", + "nodeType": "VariableDeclaration", + "scope": 2138, + "src": "2749:13:8", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2135, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "2749:7:8", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "2700:63:8" + }, + "src": "2686:78:8" + } + ], + "scope": 2140, + "src": "202:2564:8", + "usedErrors": [] + } + ], + "src": "106:2661:8" + }, + "id": 8 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol", + "exportedSymbols": { + "IERC20": [ + 2139 + ], + "IERC20Metadata": [ + 2164 + ] + }, + "id": 2165, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 2141, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "110:23:9" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol", + "file": "../IERC20.sol", + "id": 2142, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 2165, + "sourceUnit": 2140, + "src": "135:23:9", + "symbolAliases": [], + "unitAlias": "" + }, + { + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 2144, + "name": "IERC20", + "nodeType": "IdentifierPath", + "referencedDeclaration": 2139, + "src": "305:6:9" + }, + "id": 2145, + "nodeType": "InheritanceSpecifier", + "src": "305:6:9" + } + ], + "canonicalName": "IERC20Metadata", + "contractDependencies": [], + "contractKind": "interface", + "documentation": { + "id": 2143, + "nodeType": "StructuredDocumentation", + "src": "160:116:9", + "text": " @dev Interface for the optional metadata functions from the ERC20 standard.\n _Available since v4.1._" + }, + "fullyImplemented": false, + "id": 2164, + "linearizedBaseContracts": [ + 2164, + 2139 + ], + "name": "IERC20Metadata", + "nameLocation": "287:14:9", + "nodeType": "ContractDefinition", + "nodes": [ + { + "documentation": { + "id": 2146, + "nodeType": "StructuredDocumentation", + "src": "318:54:9", + "text": " @dev Returns the name of the token." + }, + "functionSelector": "06fdde03", + "id": 2151, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "name", + "nameLocation": "386:4:9", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2147, + "nodeType": "ParameterList", + "parameters": [], + "src": "390:2:9" + }, + "returnParameters": { + "id": 2150, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2149, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2151, + "src": "416:13:9", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 2148, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "416:6:9", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "415:15:9" + }, + "scope": 2164, + "src": "377:54:9", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2152, + "nodeType": "StructuredDocumentation", + "src": "437:56:9", + "text": " @dev Returns the symbol of the token." + }, + "functionSelector": "95d89b41", + "id": 2157, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "symbol", + "nameLocation": "507:6:9", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2153, + "nodeType": "ParameterList", + "parameters": [], + "src": "513:2:9" + }, + "returnParameters": { + "id": 2156, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2155, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2157, + "src": "539:13:9", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 2154, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "539:6:9", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "538:15:9" + }, + "scope": 2164, + "src": "498:56:9", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + }, + { + "documentation": { + "id": 2158, + "nodeType": "StructuredDocumentation", + "src": "560:65:9", + "text": " @dev Returns the decimals places of the token." + }, + "functionSelector": "313ce567", + "id": 2163, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "decimals", + "nameLocation": "639:8:9", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2159, + "nodeType": "ParameterList", + "parameters": [], + "src": "647:2:9" + }, + "returnParameters": { + "id": 2162, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2161, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2163, + "src": "673:5:9", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + }, + "typeName": { + "id": 2160, + "name": "uint8", + "nodeType": "ElementaryTypeName", + "src": "673:5:9", + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + }, + "visibility": "internal" + } + ], + "src": "672:7:9" + }, + "scope": 2164, + "src": "630:50:9", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + } + ], + "scope": 2165, + "src": "277:405:9", + "usedErrors": [] + } + ], + "src": "110:573:9" + }, + "id": 9 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol", + "exportedSymbols": { + "Context": [ + 2186 + ] + }, + "id": 2187, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 2166, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "86:23:10" + }, + { + "abstract": true, + "baseContracts": [], + "canonicalName": "Context", + "contractDependencies": [], + "contractKind": "contract", + "documentation": { + "id": 2167, + "nodeType": "StructuredDocumentation", + "src": "111:496:10", + "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, + "id": 2186, + "linearizedBaseContracts": [ + 2186 + ], + "name": "Context", + "nameLocation": "626:7:10", + "nodeType": "ContractDefinition", + "nodes": [ + { + "body": { + "id": 2175, + "nodeType": "Block", + "src": "702:34:10", + "statements": [ + { + "expression": { + "expression": { + "id": 2172, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "719:3:10", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 2173, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "719:10:10", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "functionReturnParameters": 2171, + "id": 2174, + "nodeType": "Return", + "src": "712:17:10" + } + ] + }, + "id": 2176, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_msgSender", + "nameLocation": "649:10:10", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2168, + "nodeType": "ParameterList", + "parameters": [], + "src": "659:2:10" + }, + "returnParameters": { + "id": 2171, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2170, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2176, + "src": "693:7:10", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 2169, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "693:7:10", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "692:9:10" + }, + "scope": 2186, + "src": "640:96:10", + "stateMutability": "view", + "virtual": true, + "visibility": "internal" + }, + { + "body": { + "id": 2184, + "nodeType": "Block", + "src": "809:32:10", + "statements": [ + { + "expression": { + "expression": { + "id": 2181, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "826:3:10", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 2182, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "data", + "nodeType": "MemberAccess", + "src": "826:8:10", + "typeDescriptions": { + "typeIdentifier": "t_bytes_calldata_ptr", + "typeString": "bytes calldata" + } + }, + "functionReturnParameters": 2180, + "id": 2183, + "nodeType": "Return", + "src": "819:15:10" + } + ] + }, + "id": 2185, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_msgData", + "nameLocation": "751:8:10", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2177, + "nodeType": "ParameterList", + "parameters": [], + "src": "759:2:10" + }, + "returnParameters": { + "id": 2180, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2179, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2185, + "src": "793:14:10", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_bytes_calldata_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 2178, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "793:5:10", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "src": "792:16:10" + }, + "scope": 2186, + "src": "742:99:10", + "stateMutability": "view", + "virtual": true, + "visibility": "internal" + } + ], + "scope": 2187, + "src": "608:235:10", + "usedErrors": [] + } + ], + "src": "86:758:10" + }, + "id": 10 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol", + "exportedSymbols": { + "Strings": [ + 2389 + ] + }, + "id": 2390, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 2188, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "86:23:11" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "Strings", + "contractDependencies": [], + "contractKind": "library", + "documentation": { + "id": 2189, + "nodeType": "StructuredDocumentation", + "src": "111:34:11", + "text": " @dev String operations." + }, + "fullyImplemented": true, + "id": 2389, + "linearizedBaseContracts": [ + 2389 + ], + "name": "Strings", + "nameLocation": "154:7:11", + "nodeType": "ContractDefinition", + "nodes": [ + { + "constant": true, + "id": 2192, + "mutability": "constant", + "name": "_HEX_SYMBOLS", + "nameLocation": "193:12:11", + "nodeType": "VariableDeclaration", + "scope": 2389, + "src": "168:58:11", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + }, + "typeName": { + "id": 2190, + "name": "bytes16", + "nodeType": "ElementaryTypeName", + "src": "168:7:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + } + }, + "value": { + "hexValue": "30313233343536373839616263646566", + "id": 2191, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "208:18:11", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_cb29997ed99ead0db59ce4d12b7d3723198c827273e5796737c926d78019c39f", + "typeString": "literal_string \"0123456789abcdef\"" + }, + "value": "0123456789abcdef" + }, + "visibility": "private" + }, + { + "body": { + "id": 2270, + "nodeType": "Block", + "src": "399:632:11", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2202, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2200, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2195, + "src": "601:5:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 2201, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "610:1:11", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "601:10:11", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 2206, + "nodeType": "IfStatement", + "src": "597:51:11", + "trueBody": { + "id": 2205, + "nodeType": "Block", + "src": "613:35:11", + "statements": [ + { + "expression": { + "hexValue": "30", + "id": 2203, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "634:3:11", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "typeString": "literal_string \"0\"" + }, + "value": "0" + }, + "functionReturnParameters": 2199, + "id": 2204, + "nodeType": "Return", + "src": "627:10:11" + } + ] + } + }, + { + "assignments": [ + 2208 + ], + "declarations": [ + { + "constant": false, + "id": 2208, + "mutability": "mutable", + "name": "temp", + "nameLocation": "665:4:11", + "nodeType": "VariableDeclaration", + "scope": 2270, + "src": "657:12:11", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2207, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "657:7:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 2210, + "initialValue": { + "id": 2209, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2195, + "src": "672:5:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "657:20:11" + }, + { + "assignments": [ + 2212 + ], + "declarations": [ + { + "constant": false, + "id": 2212, + "mutability": "mutable", + "name": "digits", + "nameLocation": "695:6:11", + "nodeType": "VariableDeclaration", + "scope": 2270, + "src": "687:14:11", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2211, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "687:7:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 2213, + "nodeType": "VariableDeclarationStatement", + "src": "687:14:11" + }, + { + "body": { + "id": 2224, + "nodeType": "Block", + "src": "729:57:11", + "statements": [ + { + "expression": { + "id": 2218, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "743:8:11", + "subExpression": { + "id": 2217, + "name": "digits", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2212, + "src": "743:6:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2219, + "nodeType": "ExpressionStatement", + "src": "743:8:11" + }, + { + "expression": { + "id": 2222, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2220, + "name": "temp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2208, + "src": "765:4:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "/=", + "rightHandSide": { + "hexValue": "3130", + "id": 2221, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "773:2:11", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "value": "10" + }, + "src": "765:10:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2223, + "nodeType": "ExpressionStatement", + "src": "765:10:11" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2216, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2214, + "name": "temp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2208, + "src": "718:4:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "hexValue": "30", + "id": 2215, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "726:1:11", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "718:9:11", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 2225, + "nodeType": "WhileStatement", + "src": "711:75:11" + }, + { + "assignments": [ + 2227 + ], + "declarations": [ + { + "constant": false, + "id": 2227, + "mutability": "mutable", + "name": "buffer", + "nameLocation": "808:6:11", + "nodeType": "VariableDeclaration", + "scope": 2270, + "src": "795:19:11", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 2226, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "795:5:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 2232, + "initialValue": { + "arguments": [ + { + "id": 2230, + "name": "digits", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2212, + "src": "827:6:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 2229, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "817:9:11", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (uint256) pure returns (bytes memory)" + }, + "typeName": { + "id": 2228, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "821:5:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + } + }, + "id": 2231, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "817:17:11", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "795:39:11" + }, + { + "body": { + "id": 2263, + "nodeType": "Block", + "src": "863:131:11", + "statements": [ + { + "expression": { + "id": 2238, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2236, + "name": "digits", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2212, + "src": "877:6:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "-=", + "rightHandSide": { + "hexValue": "31", + "id": 2237, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "887:1:11", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "877:11:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2239, + "nodeType": "ExpressionStatement", + "src": "877:11:11" + }, + { + "expression": { + "id": 2257, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 2240, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2227, + "src": "902:6:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 2242, + "indexExpression": { + "id": 2241, + "name": "digits", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2212, + "src": "909:6:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "902:14:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [ + { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2254, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "3438", + "id": 2247, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "932:2:11", + "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": 2252, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2250, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2195, + "src": "945:5:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "%", + "rightExpression": { + "hexValue": "3130", + "id": 2251, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "953:2:11", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "value": "10" + }, + "src": "945:10:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 2249, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "937:7:11", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint256_$", + "typeString": "type(uint256)" + }, + "typeName": { + "id": 2248, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "937:7:11", + "typeDescriptions": {} + } + }, + "id": 2253, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "937:19:11", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "932:24:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 2246, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "926:5:11", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_uint8_$", + "typeString": "type(uint8)" + }, + "typeName": { + "id": 2245, + "name": "uint8", + "nodeType": "ElementaryTypeName", + "src": "926:5:11", + "typeDescriptions": {} + } + }, + "id": 2255, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "926:31:11", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint8", + "typeString": "uint8" + } + ], + "id": 2244, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "919:6:11", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_bytes1_$", + "typeString": "type(bytes1)" + }, + "typeName": { + "id": 2243, + "name": "bytes1", + "nodeType": "ElementaryTypeName", + "src": "919:6:11", + "typeDescriptions": {} + } + }, + "id": 2256, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "919:39:11", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "src": "902:56:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "id": 2258, + "nodeType": "ExpressionStatement", + "src": "902:56:11" + }, + { + "expression": { + "id": 2261, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2259, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2195, + "src": "972:5:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "/=", + "rightHandSide": { + "hexValue": "3130", + "id": 2260, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "981:2:11", + "typeDescriptions": { + "typeIdentifier": "t_rational_10_by_1", + "typeString": "int_const 10" + }, + "value": "10" + }, + "src": "972:11:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2262, + "nodeType": "ExpressionStatement", + "src": "972:11:11" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2235, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2233, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2195, + "src": "851:5:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "hexValue": "30", + "id": 2234, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "860:1:11", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "851:10:11", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 2264, + "nodeType": "WhileStatement", + "src": "844:150:11" + }, + { + "expression": { + "arguments": [ + { + "id": 2267, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2227, + "src": "1017:6:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 2266, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1010:6:11", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_string_storage_ptr_$", + "typeString": "type(string storage pointer)" + }, + "typeName": { + "id": 2265, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1010:6:11", + "typeDescriptions": {} + } + }, + "id": 2268, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1010:14:11", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "functionReturnParameters": 2199, + "id": 2269, + "nodeType": "Return", + "src": "1003:21:11" + } + ] + }, + "documentation": { + "id": 2193, + "nodeType": "StructuredDocumentation", + "src": "233:90:11", + "text": " @dev Converts a `uint256` to its ASCII `string` decimal representation." + }, + "id": 2271, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "toString", + "nameLocation": "337:8:11", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2196, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2195, + "mutability": "mutable", + "name": "value", + "nameLocation": "354:5:11", + "nodeType": "VariableDeclaration", + "scope": 2271, + "src": "346:13:11", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2194, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "346:7:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "345:15:11" + }, + "returnParameters": { + "id": 2199, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2198, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2271, + "src": "384:13:11", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 2197, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "384:6:11", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "383:15:11" + }, + "scope": 2389, + "src": "328:703:11", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 2311, + "nodeType": "Block", + "src": "1210:255:11", + "statements": [ + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2281, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2279, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2274, + "src": "1224:5:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 2280, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1233:1:11", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "1224:10:11", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 2285, + "nodeType": "IfStatement", + "src": "1220:54:11", + "trueBody": { + "id": 2284, + "nodeType": "Block", + "src": "1236:38:11", + "statements": [ + { + "expression": { + "hexValue": "30783030", + "id": 2282, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1257:6:11", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_27489e20a0060b723a1748bdff5e44570ee9fae64141728105692eac6031e8a4", + "typeString": "literal_string \"0x00\"" + }, + "value": "0x00" + }, + "functionReturnParameters": 2278, + "id": 2283, + "nodeType": "Return", + "src": "1250:13:11" + } + ] + } + }, + { + "assignments": [ + 2287 + ], + "declarations": [ + { + "constant": false, + "id": 2287, + "mutability": "mutable", + "name": "temp", + "nameLocation": "1291:4:11", + "nodeType": "VariableDeclaration", + "scope": 2311, + "src": "1283:12:11", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2286, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1283:7:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 2289, + "initialValue": { + "id": 2288, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2274, + "src": "1298:5:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1283:20:11" + }, + { + "assignments": [ + 2291 + ], + "declarations": [ + { + "constant": false, + "id": 2291, + "mutability": "mutable", + "name": "length", + "nameLocation": "1321:6:11", + "nodeType": "VariableDeclaration", + "scope": 2311, + "src": "1313:14:11", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2290, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1313:7:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 2293, + "initialValue": { + "hexValue": "30", + "id": 2292, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1330:1:11", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "1313:18:11" + }, + { + "body": { + "id": 2304, + "nodeType": "Block", + "src": "1359:57:11", + "statements": [ + { + "expression": { + "id": 2298, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "1373:8:11", + "subExpression": { + "id": 2297, + "name": "length", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2291, + "src": "1373:6:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2299, + "nodeType": "ExpressionStatement", + "src": "1373:8:11" + }, + { + "expression": { + "id": 2302, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2300, + "name": "temp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2287, + "src": "1395:4:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": ">>=", + "rightHandSide": { + "hexValue": "38", + "id": 2301, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1404:1:11", + "typeDescriptions": { + "typeIdentifier": "t_rational_8_by_1", + "typeString": "int_const 8" + }, + "value": "8" + }, + "src": "1395:10:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2303, + "nodeType": "ExpressionStatement", + "src": "1395:10:11" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2296, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2294, + "name": "temp", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2287, + "src": "1348:4:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "hexValue": "30", + "id": 2295, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1356:1:11", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "1348:9:11", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 2305, + "nodeType": "WhileStatement", + "src": "1341:75:11" + }, + { + "expression": { + "arguments": [ + { + "id": 2307, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2274, + "src": "1444:5:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "id": 2308, + "name": "length", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2291, + "src": "1451:6:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 2306, + "name": "toHexString", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 2312, + 2388 + ], + "referencedDeclaration": 2388, + "src": "1432:11:11", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_pure$_t_uint256_$_t_uint256_$returns$_t_string_memory_ptr_$", + "typeString": "function (uint256,uint256) pure returns (string memory)" + } + }, + "id": 2309, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1432:26:11", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "functionReturnParameters": 2278, + "id": 2310, + "nodeType": "Return", + "src": "1425:33:11" + } + ] + }, + "documentation": { + "id": 2272, + "nodeType": "StructuredDocumentation", + "src": "1037:94:11", + "text": " @dev Converts a `uint256` to its ASCII `string` hexadecimal representation." + }, + "id": 2312, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "toHexString", + "nameLocation": "1145:11:11", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2275, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2274, + "mutability": "mutable", + "name": "value", + "nameLocation": "1165:5:11", + "nodeType": "VariableDeclaration", + "scope": 2312, + "src": "1157:13:11", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2273, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1157:7:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1156:15:11" + }, + "returnParameters": { + "id": 2278, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2277, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2312, + "src": "1195:13:11", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 2276, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1195:6:11", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "1194:15:11" + }, + "scope": 2389, + "src": "1136:329:11", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + }, + { + "body": { + "id": 2387, + "nodeType": "Block", + "src": "1678:351:11", + "statements": [ + { + "assignments": [ + 2323 + ], + "declarations": [ + { + "constant": false, + "id": 2323, + "mutability": "mutable", + "name": "buffer", + "nameLocation": "1701:6:11", + "nodeType": "VariableDeclaration", + "scope": 2387, + "src": "1688:19:11", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes" + }, + "typeName": { + "id": 2322, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1688:5:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + }, + "visibility": "internal" + } + ], + "id": 2332, + "initialValue": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2330, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2328, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "32", + "id": 2326, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1720:1:11", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 2327, + "name": "length", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2317, + "src": "1724:6:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1720:10:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "32", + "id": 2329, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1733:1:11", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "src": "1720:14:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 2325, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "NewExpression", + "src": "1710:9:11", + "typeDescriptions": { + "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", + "typeString": "function (uint256) pure returns (bytes memory)" + }, + "typeName": { + "id": 2324, + "name": "bytes", + "nodeType": "ElementaryTypeName", + "src": "1714:5:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes_storage_ptr", + "typeString": "bytes" + } + } + }, + "id": 2331, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1710:25:11", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1688:47:11" + }, + { + "expression": { + "id": 2337, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 2333, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2323, + "src": "1745:6:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 2335, + "indexExpression": { + "hexValue": "30", + "id": 2334, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1752:1:11", + "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:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "30", + "id": 2336, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1757:3:11", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", + "typeString": "literal_string \"0\"" + }, + "value": "0" + }, + "src": "1745:15:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "id": 2338, + "nodeType": "ExpressionStatement", + "src": "1745:15:11" + }, + { + "expression": { + "id": 2343, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 2339, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2323, + "src": "1770:6:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 2341, + "indexExpression": { + "hexValue": "31", + "id": 2340, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1777:1:11", + "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:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "78", + "id": 2342, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1782:3:11", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7521d1cadbcfa91eec65aa16715b94ffc1c9654ba57ea2ef1a2127bca1127a83", + "typeString": "literal_string \"x\"" + }, + "value": "x" + }, + "src": "1770:15:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "id": 2344, + "nodeType": "ExpressionStatement", + "src": "1770:15:11" + }, + { + "body": { + "id": 2373, + "nodeType": "Block", + "src": "1840:87:11", + "statements": [ + { + "expression": { + "id": 2367, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 2359, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2323, + "src": "1854:6:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + }, + "id": 2361, + "indexExpression": { + "id": 2360, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2346, + "src": "1861:1:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "1854:9:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "baseExpression": { + "id": 2362, + "name": "_HEX_SYMBOLS", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2192, + "src": "1866:12:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes16", + "typeString": "bytes16" + } + }, + "id": 2366, + "indexExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2365, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2363, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2315, + "src": "1879:5:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "&", + "rightExpression": { + "hexValue": "307866", + "id": 2364, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1887:3:11", + "typeDescriptions": { + "typeIdentifier": "t_rational_15_by_1", + "typeString": "int_const 15" + }, + "value": "0xf" + }, + "src": "1879:11:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1866:25:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "src": "1854:37:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes1", + "typeString": "bytes1" + } + }, + "id": 2368, + "nodeType": "ExpressionStatement", + "src": "1854:37:11" + }, + { + "expression": { + "id": 2371, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 2369, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2315, + "src": "1905:5:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": ">>=", + "rightHandSide": { + "hexValue": "34", + "id": 2370, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1915:1:11", + "typeDescriptions": { + "typeIdentifier": "t_rational_4_by_1", + "typeString": "int_const 4" + }, + "value": "4" + }, + "src": "1905:11:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2372, + "nodeType": "ExpressionStatement", + "src": "1905:11:11" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2355, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2353, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2346, + "src": "1828:1:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "hexValue": "31", + "id": 2354, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1832:1:11", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "1828:5:11", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 2374, + "initializationExpression": { + "assignments": [ + 2346 + ], + "declarations": [ + { + "constant": false, + "id": 2346, + "mutability": "mutable", + "name": "i", + "nameLocation": "1808:1:11", + "nodeType": "VariableDeclaration", + "scope": 2374, + "src": "1800:9:11", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2345, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1800:7:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 2352, + "initialValue": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2351, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2349, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "hexValue": "32", + "id": 2347, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1812:1:11", + "typeDescriptions": { + "typeIdentifier": "t_rational_2_by_1", + "typeString": "int_const 2" + }, + "value": "2" + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 2348, + "name": "length", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2317, + "src": "1816:6:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1812:10:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "+", + "rightExpression": { + "hexValue": "31", + "id": 2350, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1825:1:11", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "1812:14:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1800:26:11" + }, + "loopExpression": { + "expression": { + "id": 2357, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "--", + "prefix": true, + "src": "1835:3:11", + "subExpression": { + "id": 2356, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2346, + "src": "1837:1:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 2358, + "nodeType": "ExpressionStatement", + "src": "1835:3:11" + }, + "nodeType": "ForStatement", + "src": "1795:132:11" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 2378, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2376, + "name": "value", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2315, + "src": "1944:5:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "hexValue": "30", + "id": 2377, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1953:1:11", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "1944:10:11", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "537472696e67733a20686578206c656e67746820696e73756666696369656e74", + "id": 2379, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1956:34:11", + "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": 2375, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "1936:7:11", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 2380, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1936:55:11", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 2381, + "nodeType": "ExpressionStatement", + "src": "1936:55:11" + }, + { + "expression": { + "arguments": [ + { + "id": 2384, + "name": "buffer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2323, + "src": "2015:6:11", + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 2383, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2008:6:11", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_string_storage_ptr_$", + "typeString": "type(string storage pointer)" + }, + "typeName": { + "id": 2382, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "2008:6:11", + "typeDescriptions": {} + } + }, + "id": 2385, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2008:14:11", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "functionReturnParameters": 2321, + "id": 2386, + "nodeType": "Return", + "src": "2001:21:11" + } + ] + }, + "documentation": { + "id": 2313, + "nodeType": "StructuredDocumentation", + "src": "1471:112:11", + "text": " @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length." + }, + "id": 2388, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "toHexString", + "nameLocation": "1597:11:11", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2318, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2315, + "mutability": "mutable", + "name": "value", + "nameLocation": "1617:5:11", + "nodeType": "VariableDeclaration", + "scope": 2388, + "src": "1609:13:11", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2314, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1609:7:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 2317, + "mutability": "mutable", + "name": "length", + "nameLocation": "1632:6:11", + "nodeType": "VariableDeclaration", + "scope": 2388, + "src": "1624:14:11", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 2316, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1624:7:11", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1608:31:11" + }, + "returnParameters": { + "id": 2321, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2320, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2388, + "src": "1663:13:11", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 2319, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1663:6:11", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "1662:15:11" + }, + "scope": 2389, + "src": "1588:441:11", + "stateMutability": "pure", + "virtual": false, + "visibility": "internal" + } + ], + "scope": 2390, + "src": "146:1885:11", + "usedErrors": [] + } + ], + "src": "86:1946:11" + }, + "id": 11 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol", + "exportedSymbols": { + "ERC165": [ + 2413 + ], + "IERC165": [ + 2425 + ] + }, + "id": 2414, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 2391, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "99:23:12" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol", + "file": "./IERC165.sol", + "id": 2392, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 2414, + "sourceUnit": 2426, + "src": "124:23:12", + "symbolAliases": [], + "unitAlias": "" + }, + { + "abstract": true, + "baseContracts": [ + { + "baseName": { + "id": 2394, + "name": "IERC165", + "nodeType": "IdentifierPath", + "referencedDeclaration": 2425, + "src": "754:7:12" + }, + "id": 2395, + "nodeType": "InheritanceSpecifier", + "src": "754:7:12" + } + ], + "canonicalName": "ERC165", + "contractDependencies": [], + "contractKind": "contract", + "documentation": { + "id": 2393, + "nodeType": "StructuredDocumentation", + "src": "149:576:12", + "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, + "id": 2413, + "linearizedBaseContracts": [ + 2413, + 2425 + ], + "name": "ERC165", + "nameLocation": "744:6:12", + "nodeType": "ContractDefinition", + "nodes": [ + { + "baseFunctions": [ + 2424 + ], + "body": { + "id": 2411, + "nodeType": "Block", + "src": "920:64:12", + "statements": [ + { + "expression": { + "commonType": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + "id": 2409, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 2404, + "name": "interfaceId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2398, + "src": "937:11:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "expression": { + "arguments": [ + { + "id": 2406, + "name": "IERC165", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2425, + "src": "957:7:12", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_IERC165_$2425_$", + "typeString": "type(contract IERC165)" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_type$_t_contract$_IERC165_$2425_$", + "typeString": "type(contract IERC165)" + } + ], + "id": 2405, + "name": "type", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967269, + "src": "952:4:12", + "typeDescriptions": { + "typeIdentifier": "t_function_metatype_pure$__$returns$__$", + "typeString": "function () pure" + } + }, + "id": 2407, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "952:13:12", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_magic_meta_type_t_contract$_IERC165_$2425", + "typeString": "type(contract IERC165)" + } + }, + "id": 2408, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "interfaceId", + "nodeType": "MemberAccess", + "src": "952:25:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "src": "937:40:12", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "functionReturnParameters": 2403, + "id": 2410, + "nodeType": "Return", + "src": "930:47:12" + } + ] + }, + "documentation": { + "id": 2396, + "nodeType": "StructuredDocumentation", + "src": "768:56:12", + "text": " @dev See {IERC165-supportsInterface}." + }, + "functionSelector": "01ffc9a7", + "id": 2412, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "supportsInterface", + "nameLocation": "838:17:12", + "nodeType": "FunctionDefinition", + "overrides": { + "id": 2400, + "nodeType": "OverrideSpecifier", + "overrides": [], + "src": "896:8:12" + }, + "parameters": { + "id": 2399, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2398, + "mutability": "mutable", + "name": "interfaceId", + "nameLocation": "863:11:12", + "nodeType": "VariableDeclaration", + "scope": 2412, + "src": "856:18:12", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + "typeName": { + "id": 2397, + "name": "bytes4", + "nodeType": "ElementaryTypeName", + "src": "856:6:12", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "visibility": "internal" + } + ], + "src": "855:20:12" + }, + "returnParameters": { + "id": 2403, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2402, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2412, + "src": "914:4:12", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 2401, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "914:4:12", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "913:6:12" + }, + "scope": 2413, + "src": "829:155:12", + "stateMutability": "view", + "virtual": true, + "visibility": "public" + } + ], + "scope": 2414, + "src": "726:260:12", + "usedErrors": [] + } + ], + "src": "99:888:12" + }, + "id": 12 + }, + "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol": { + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol", + "exportedSymbols": { + "IERC165": [ + 2425 + ] + }, + "id": 2426, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 2415, + "literals": [ + "solidity", + "^", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "100:23:13" + }, + { + "abstract": false, + "baseContracts": [], + "canonicalName": "IERC165", + "contractDependencies": [], + "contractKind": "interface", + "documentation": { + "id": 2416, + "nodeType": "StructuredDocumentation", + "src": "125:279:13", + "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, + "id": 2425, + "linearizedBaseContracts": [ + 2425 + ], + "name": "IERC165", + "nameLocation": "415:7:13", + "nodeType": "ContractDefinition", + "nodes": [ + { + "documentation": { + "id": 2417, + "nodeType": "StructuredDocumentation", + "src": "429:340:13", + "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", + "id": 2424, + "implemented": false, + "kind": "function", + "modifiers": [], + "name": "supportsInterface", + "nameLocation": "783:17:13", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 2420, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2419, + "mutability": "mutable", + "name": "interfaceId", + "nameLocation": "808:11:13", + "nodeType": "VariableDeclaration", + "scope": 2424, + "src": "801:18:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + }, + "typeName": { + "id": 2418, + "name": "bytes4", + "nodeType": "ElementaryTypeName", + "src": "801:6:13", + "typeDescriptions": { + "typeIdentifier": "t_bytes4", + "typeString": "bytes4" + } + }, + "visibility": "internal" + } + ], + "src": "800:20:13" + }, + "returnParameters": { + "id": 2423, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 2422, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 2424, + "src": "844:4:13", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 2421, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "844:4:13", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "843:6:13" + }, + "scope": 2425, + "src": "774:76:13", + "stateMutability": "view", + "virtual": false, + "visibility": "external" + } + ], + "scope": 2426, + "src": "405:447:13", + "usedErrors": [] + } + ], + "src": "100:753:13" + }, + "id": 13 + } + } +} \ No newline at end of file diff --git a/bin/contracts/rwETHToken.abi b/bin/contracts/rwETHToken.abi new file mode 100644 index 00000000..11062964 --- /dev/null +++ b/bin/contracts/rwETHToken.abi @@ -0,0 +1 @@ +[{"inputs":[{"internalType":"contract DataStorageInterface","name":"_dataStorageAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_removedManager","type":"address"}],"name":"ManagerRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_newManager","type":"address"}],"name":"NewManagerAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"uint256","name":"_rwEthAmount","type":"uint256"}],"name":"TokensBurned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_rwEthAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_ethAmount","type":"uint256"}],"name":"TokensMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"POOL_MANAGER","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"addPoolManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rwEthAmount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rwEthAmount","type":"uint256"}],"name":"calcEthValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ethAmount","type":"uint256"}],"name":"calcRwEthValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getContributionLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPoolFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPoolMaxSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPoolState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewardsInterest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRewardsInterval","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getUnitPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_ethAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"removePoolManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newContrLimit","type":"uint256"}],"name":"setContributionLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMinContr","type":"uint256"}],"name":"setMinContribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setMinContribution","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_poolFees","type":"uint256"}],"name":"setPoolFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_live","type":"bool"}],"name":"setPoolLive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSize","type":"uint256"}],"name":"setPoolMaxSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardsInterest","type":"uint256"}],"name":"setRewardsInterest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_daysToRewards","type":"uint256"}],"name":"setRewardsInterval","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":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}] \ No newline at end of file diff --git a/bin/contracts/rwETHToken.bin b/bin/contracts/rwETHToken.bin new file mode 100644 index 00000000..14fd94d8 --- /dev/null +++ b/bin/contracts/rwETHToken.bin @@ -0,0 +1 @@ +60806040523480156200001157600080fd5b5060405162002f9338038062002f938339810160408190526200003491620004d9565b604080518082018252601081526f2932bbb0b9321022aa24102a37b5b2b760811b602080830191909152825180840190935260058352640e4ee8aa8960db1b9083015260018055600280546001600160a01b0319166001600160a01b0385161790559082620000a56000336200011c565b620000d17f41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842336200011c565b620000db6200012c565b508151620000f190600690602085019062000433565b5080516200010790600790602084019062000433565b506200011591505062000293565b5062000548565b62000128828262000393565b5050565b6002546040516e636f6e74726163745f65786973747360881b60208201526001600160601b03193060601b16602f8201526001600160a01b039091169063988c515b9060430160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b168252600482015260016024820152604401600060405180830381600087803b158015620001c657600080fd5b505af1158015620001db573d6000803e3d6000fd5b50506002546040516f636f6e74726163745f6164647265737360801b602082015267506f6f6c4261736560c01b60308201526001600160a01b039091169250637221263a91506038015b60408051601f198184030181529082905280516020909101206001600160e01b031960e084901b1682526004820152306024820152604401600060405180830381600087803b1580156200027857600080fd5b505af11580156200028d573d6000803e3d6000fd5b50505050565b6002546040516e636f6e74726163745f65786973747360881b60208201526001600160601b03193060601b16602f8201526001600160a01b039091169063988c515b9060430160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b168252600482015260016024820152604401600060405180830381600087803b1580156200032d57600080fd5b505af115801562000342573d6000803e3d6000fd5b50506002546040516f636f6e74726163745f6164647265737360801b602082015269393ba2aa242a37b5b2b760b11b60308201526001600160a01b039091169250637221263a9150603a0162000225565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1662000128576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620003ef3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b82805462000441906200050b565b90600052602060002090601f016020900481019282620004655760008555620004b0565b82601f106200048057805160ff1916838001178555620004b0565b82800160010185558215620004b0579182015b82811115620004b057825182559160200191906001019062000493565b50620004be929150620004c2565b5090565b5b80821115620004be5760008155600101620004c3565b600060208284031215620004ec57600080fd5b81516001600160a01b03811681146200050457600080fd5b9392505050565b600181811c908216806200052057607f821691505b602082108114156200054257634e487b7160e01b600052602260045260246000fd5b50919050565b612a3b80620005586000396000f3fe608060405234801561001057600080fd5b50600436106102485760003560e01c8063473b0d461161013b57806395d89b41116100b8578063bf4c00361161007c578063bf4c0036146104ce578063d1d8d060146104e1578063d547741f146104e9578063dd62ed3e146104fc578063fa1e19e51461053557600080fd5b806395d89b4114610485578063a217fddf1461048d578063a457c2d714610495578063a4975516146104a8578063a9059cbb146104bb57600080fd5b806370a08231116100ff57806370a082311461041b57806372d099a0146104445780637521796f146104575780638dd225d51461045f57806391d148541461047257600080fd5b8063473b0d46146103d0578063497d0241146103e357806353710f49146103eb578063543edfb6146103fe57806362308e851461040657600080fd5b8063248a9ca3116101c9578063395093511161018d57806339509351146103715780633ef3183c1461038457806340c10f191461039757806342966c68146103aa57806345077e71146103bd57600080fd5b8063248a9ca31461030657806329ca15bc146103295780632f2ff15d1461033c578063313ce5671461034f57806336568abe1461035e57600080fd5b8063126469871161021057806312646987146102bb57806312946fe1146102d057806318160ddd146102e3578063217ac237146102eb57806323b872dd146102f357600080fd5b8063012a33aa1461024d57806301ffc9a71461026857806306fdde031461028b578063095df57f146102a0578063095ea7b3146102a8575b600080fd5b61025561053d565b6040519081526020015b60405180910390f35b61027b610276366004612591565b610555565b604051901515815260200161025f565b61029361058c565b60405161025f91906125e7565b61025561061e565b61027b6102b6366004612632565b6106db565b6102ce6102c936600461265e565b6106f3565b005b6102556102de36600461265e565b6107ac565b600554610255565b61027b6108f6565b61027b610301366004612677565b61099b565b61025561031436600461265e565b60009081526020819052604090206001015490565b6102ce6103373660046126b8565b6109bf565b6102ce61034a3660046126d5565b610a1b565b6040516012815260200161025f565b6102ce61036c3660046126d5565b610a46565b61027b61037f366004612632565b610ac9565b61025561039236600461265e565b610b08565b6102ce6103a5366004612632565b610cac565b6102ce6103b836600461265e565b610f08565b6102ce6103cb3660046126b8565b6112c6565b6102ce6103de36600461265e565b611322565b610255611425565b6102ce6103f936600461265e565b61144b565b6102556115a5565b6102556000805160206129e683398151915281565b6102556104293660046126b8565b6001600160a01b031660009081526003602052604090205490565b6102ce61045236600461265e565b6115cd565b6102556116d2565b6102ce61046d36600461265e565b611703565b61027b6104803660046126d5565b61191c565b610293611945565b610255600081565b61027b6104a3366004612632565b611954565b6102ce6104b6366004612713565b6119e6565b61027b6104c9366004612632565b611a60565b6102ce6104dc36600461265e565b611a6e565b610255611b7a565b6102ce6104f73660046126d5565b611b9b565b61025561050a366004612730565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b610255611bc1565b6000610550670de0b6b3a76400006107ac565b905090565b60006001600160e01b03198216637965db0b60e01b148061058657506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606006805461059b9061275e565b80601f01602080910402602001604051908101604052809291908181526020018280546105c79061275e565b80156106145780601f106105e957610100808354040283529160200191610614565b820191906000526020600020905b8154815290600101906020018083116105f757829003601f168201915b5050505050905090565b600080604051602001610642906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b15801561069d57600080fd5b505afa1580156106b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d59190612799565b91505090565b6000336106e9818585611beb565b5060019392505050565b6000805160206129e683398151915261070c8133611d0f565b6040516a706f6f6c4d617853697a6560a81b6020820152600090602b015b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018690529092506001600160a01b0316906328192c55906044015b600060405180830381600087803b15801561078f57600080fd5b505af11580156107a3573d6000803e3d6000fd5b50505050505050565b6000806107dd6040518060400160405280600d81526020016c546f6b656e42616c616e63657360981b815250611d73565b90506000816001600160a01b0316636402c2626040518163ffffffff1660e01b815260040160206040518083038186803b15801561081a57600080fd5b505afa15801561082e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108529190612799565b90506000826001600160a01b031663e2bcb3df6040518163ffffffff1660e01b815260040160206040518083038186803b15801561088f57600080fd5b505afa1580156108a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c79190612799565b905080156108ed57806108da83876127c8565b6108e491906127e7565b95945050505050565b50929392505050565b60008060405160200161090890612809565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561096357600080fd5b505afa158015610977573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d5919061281f565b6000336109a9858285611e7f565b6109b4858585611f11565b506001949350505050565b60006109cb8133611d0f565b6109e36000805160206129e683398151915283611b9b565b6040516001600160a01b038316907fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd3190600090a25050565b600082815260208190526040902060010154610a378133611d0f565b610a4183836120df565b505050565b6001600160a01b0381163314610abb5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b610ac58282612163565b5050565b3360008181526004602090815260408083206001600160a01b03871684529091528120549091906106e99082908690610b0390879061283c565b611beb565b600080610b396040518060400160405280600d81526020016c546f6b656e42616c616e63657360981b815250611d73565b90506000816001600160a01b0316636402c2626040518163ffffffff1660e01b815260040160206040518083038186803b158015610b7657600080fd5b505afa158015610b8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bae9190612799565b90506000826001600160a01b031663e2bcb3df6040518163ffffffff1660e01b815260040160206040518083038186803b158015610beb57600080fd5b505afa158015610bff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c239190612799565b905080156108ed5760008211610ca15760405162461bcd60e51b815260206004820152603b60248201527f43757272656e746c7920746865726520617265206e6f2065746865722073746f60448201527f7265642e2043616e6e6f7420646976696465206279207a65726f2e00000000006064820152608401610ab2565b816108da82876127c8565b6002546040516001600160a01b03909116906355d9465590610cd2903390602001612854565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610d0691815260200190565b60206040518083038186803b158015610d1e57600080fd5b505afa158015610d32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d56919061281f565b610d9e5760405162461bcd60e51b815260206004820152601960248201527824b73b30b634b21021b7b73a3930b1ba1020b2323932b9b99760391b6044820152606401610ab2565b604051763a37ba30b629bab838363cafb932bbb0b93222ba3432b960491b602082015260009060370160405160208183030381529060405280519060200120905060008211610e425760405162461bcd60e51b815260206004820152602a60248201527f4d696e7420616d6f756e74206e6565647320746f2062652067726561746572206044820152693a3430b7103d32b9379760b11b6064820152608401610ab2565b6000610e4d83610b08565b9050610e5984826121c8565b60025460405162ec44af60e51b815260048101849052602481018390526001600160a01b0390911690631d8895e090604401600060405180830381600087803b158015610ea557600080fd5b505af1158015610eb9573d6000803e3d6000fd5b505060408051848152602081018790526001600160a01b03881693507f2e8ac5177a616f2aec08c3048f5021e4e9743ece034e8d83ba5caf76688bb4759250015b60405180910390a250505050565b6002546040516001600160a01b03909116906355d9465590610f2e903390602001612854565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610f6291815260200190565b60206040518083038186803b158015610f7a57600080fd5b505afa158015610f8e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb2919061281f565b610ffa5760405162461bcd60e51b815260206004820152601960248201527824b73b30b634b21021b7b73a3930b1ba1020b2323932b9b99760391b6044820152606401610ab2565b600061102a6040518060400160405280600d81526020016c546f6b656e42616c616e63657360981b815250611d73565b9050600060405160200161105b90763a37ba30b629bab838363cafb932bbb0b93222ba3432b960491b815260170190565b604051602081830303815290604052805190602001209050600083116110d65760405162461bcd60e51b815260206004820152602a60248201527f4275726e20616d6f756e74206e6565647320746f2062652067726561746572206044820152693a3430b7103d32b9379760b11b6064820152608401610ab2565b33600090815260036020526040812054116111335760405162461bcd60e51b815260206004820152601b60248201527f496e73756666696369656e742072774574682062616c616e63652e00000000006044820152606401610ab2565b600061113e846107ac565b9050826001600160a01b0316636402c2626040518163ffffffff1660e01b815260040160206040518083038186803b15801561117957600080fd5b505afa15801561118d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b19190612799565b81106112255760405162461bcd60e51b815260206004820152603960248201527f5468657265206172656e277420656e6f756768206261636b656420657468657260448201527f7320746f20706572666f726d207468697320616374696f6e2e000000000000006064820152608401610ab2565b600254604051635bcfee6760e01b815260048101849052602481018690526001600160a01b0390911690635bcfee6790604401600060405180830381600087803b15801561127257600080fd5b505af1158015611286573d6000803e3d6000fd5b5050505061129433856122a7565b60405184815233907ffd38818f5291bf0bb3a2a48aadc06ba8757865d1dabd804585338aab3009dcb690602001610efa565b60006112d28133611d0f565b6112ea6000805160206129e683398151915283610a1b565b6040516001600160a01b038316907fd873e3f571dc25e020cefdeb7255b3874ead3aade1f94a5fb4a5da831fd670cd90600090a25050565b6000805160206129e683398151915261133b8133611d0f565b6002546040516001600160a01b03909116906355d946559061135f90602001612809565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161139391815260200190565b60206040518083038186803b1580156113ab57600080fd5b505afa1580156113bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e3919061281f565b6113ff5760405162461bcd60e51b8152600401610ab290612889565b6040516e36b4b721b7b73a3934b13aba34b7b760891b6020820152600090602f0161072a565b600080604051602001610642906c64617973546f5265776172647360981b8152600d0190565b6000805160206129e68339815191526114648133611d0f565b6002546040516001600160a01b03909116906355d946559061148890602001612809565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b81526004016114bc91815260200190565b60206040518083038186803b1580156114d457600080fd5b505afa1580156114e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150c919061281f565b6115285760405162461bcd60e51b8152600401610ab290612889565b604080516c64617973546f5265776172647360981b6020808301919091528251600d818403018152602d90920190925280519101206002546001600160a01b03166328192c558261157c86620151806127c8565b6040516001600160e01b031960e085901b16815260048101929092526024820152604401610775565b600080604051602001610642906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b6000805160206129e68339815191526115e68133611d0f565b6002546040516001600160a01b03909116906355d946559061160a90602001612809565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161163e91815260200190565b60206040518083038186803b15801561165657600080fd5b505afa15801561166a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061168e919061281f565b6116aa5760405162461bcd60e51b8152600401610ab290612889565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b602082015260009060310161072a565b60008060405160200161064290771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b6000805160206129e683398151915261171c8133611d0f565b6002546040516001600160a01b03909116906355d946559061174090602001612809565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161177491815260200190565b60206040518083038186803b15801561178c57600080fd5b505afa1580156117a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c4919061281f565b6117e05760405162461bcd60e51b8152600401610ab290612889565b60405167706f6f6c4665657360c01b60208201526000906028016040516020818303038152906040528051906020012090506000604051602001611835906a1c1bdbdb1199595cd4d95d60aa1b8152600b0190565b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301859052602483018790529092506001600160a01b0316906328192c5590604401600060405180830381600087803b15801561189957600080fd5b505af11580156118ad573d6000803e3d6000fd5b505060025460405163988c515b60e01b815260048101859052600160248201526001600160a01b03909116925063988c515b9150604401600060405180830381600087803b1580156118fe57600080fd5b505af1158015611912573d6000803e3d6000fd5b5050505050505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60606007805461059b9061275e565b3360008181526004602090815260408083206001600160a01b0387168452909152812054909190838110156119d95760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610ab2565b6109b48286868403611beb565b6000805160206129e68339815191526119ff8133611d0f565b6000604051602001611a1090612809565b60408051808303601f1901815290829052805160209091012060025463988c515b60e01b83526004830182905285151560248401529092506001600160a01b03169063988c515b90604401610775565b6000336106e9818585611f11565b6000805160206129e6833981519152611a878133611d0f565b6002546040516001600160a01b03909116906355d9465590611aab90602001612809565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401611adf91815260200190565b60206040518083038186803b158015611af757600080fd5b505afa158015611b0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2f919061281f565b611b4b5760405162461bcd60e51b8152600401610ab290612889565b604051771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b602082015260009060380161072a565b6000806040516020016106429067706f6f6c4665657360c01b815260080190565b600082815260208190526040902060010154611bb78133611d0f565b610a418383612163565b600080604051602001610642907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b6001600160a01b038316611c4d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610ab2565b6001600160a01b038216611cae5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610ab2565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b611d19828261191c565b610ac557611d31816001600160a01b031660146123f5565b611d3c8360206123f5565b604051602001611d4d9291906128c0565b60408051601f198184030181529082905262461bcd60e51b8252610ab2916004016125e7565b60008082604051602001611d879190612935565b60408051808303601f190181529082905280516020909101206002546315485dd960e11b8352600483018290529092506000916001600160a01b0390911690632a90bbb29060240160206040518083038186803b158015611de757600080fd5b505afa158015611dfb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e1f919061296e565b90506001600160a01b03811615611e785760405162461bcd60e51b815260206004820152601b60248201527f436f6e74726163742061646472657373206e6f7420666f756e642e00000000006044820152606401610ab2565b9392505050565b6001600160a01b038381166000908152600460209081526040808320938616835292905220546000198114611f0b5781811015611efe5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610ab2565b611f0b8484848403611beb565b50505050565b6001600160a01b038316611f755760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610ab2565b6001600160a01b038216611fd75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610ab2565b6001600160a01b0383166000908152600360205260409020548181101561204f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610ab2565b6001600160a01b0380851660009081526003602052604080822085850390559185168152908120805484929061208690849061283c565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516120d291815260200190565b60405180910390a3611f0b565b6120e9828261191c565b610ac5576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905561211f3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61216d828261191c565b15610ac5576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b03821661221e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610ab2565b8060056000828254612230919061283c565b90915550506001600160a01b0382166000908152600360205260408120805483929061225d90849061283c565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382166123075760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610ab2565b6001600160a01b0382166000908152600360205260409020548181101561237b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610ab2565b6001600160a01b03831660009081526003602052604081208383039055600580548492906123aa90849061298b565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b606060006124048360026127c8565b61240f90600261283c565b67ffffffffffffffff811115612427576124276129a2565b6040519080825280601f01601f191660200182016040528015612451576020820181803683370190505b509050600360fc1b8160008151811061246c5761246c6129b8565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061249b5761249b6129b8565b60200101906001600160f81b031916908160001a90535060006124bf8460026127c8565b6124ca90600161283c565b90505b6001811115612542576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106124fe576124fe6129b8565b1a60f81b828281518110612514576125146129b8565b60200101906001600160f81b031916908160001a90535060049490941c9361253b816129ce565b90506124cd565b508315611e785760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610ab2565b6000602082840312156125a357600080fd5b81356001600160e01b031981168114611e7857600080fd5b60005b838110156125d65781810151838201526020016125be565b83811115611f0b5750506000910152565b60208152600082518060208401526126068160408501602087016125bb565b601f01601f19169190910160400192915050565b6001600160a01b038116811461262f57600080fd5b50565b6000806040838503121561264557600080fd5b82356126508161261a565b946020939093013593505050565b60006020828403121561267057600080fd5b5035919050565b60008060006060848603121561268c57600080fd5b83356126978161261a565b925060208401356126a78161261a565b929592945050506040919091013590565b6000602082840312156126ca57600080fd5b8135611e788161261a565b600080604083850312156126e857600080fd5b8235915060208301356126fa8161261a565b809150509250929050565b801515811461262f57600080fd5b60006020828403121561272557600080fd5b8135611e7881612705565b6000806040838503121561274357600080fd5b823561274e8161261a565b915060208301356126fa8161261a565b600181811c9082168061277257607f821691505b6020821081141561279357634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156127ab57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156127e2576127e26127b2565b500290565b60008261280457634e487b7160e01b600052601260045260246000fd5b500490565b696973506f6f6c4c69766560b01b8152600a0190565b60006020828403121561283157600080fd5b8151611e7881612705565b6000821982111561284f5761284f6127b2565b500190565b6e636f6e74726163745f65786973747360881b815260609190911b6bffffffffffffffffffffffff1916600f82015260230190565b6020808252601d908201527f54686520706f6f6c2069732063757272656e746c7920636c6f7365642e000000604082015260600190565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516128f88160178501602088016125bb565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516129298160288401602088016125bb565b01602801949350505050565b70636f6e74726163745f5f6164647265737360781b8152600082516129618160118501602087016125bb565b9190910160110192915050565b60006020828403121561298057600080fd5b8151611e788161261a565b60008282101561299d5761299d6127b2565b500390565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000816129dd576129dd6127b2565b50600019019056fe41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842a2646970667358221220c7c758780bfc1583b93ce8852f7995dd5dceb4dfd8028af77f57e49cd37acbc564736f6c63430008090033 \ No newline at end of file diff --git a/bin/contracts/rwETHToken.json b/bin/contracts/rwETHToken.json new file mode 100644 index 00000000..931ae636 --- /dev/null +++ b/bin/contracts/rwETHToken.json @@ -0,0 +1,5128 @@ +{ + "contractName": "rwETHToken", + "abi": [ + { + "inputs": [ + { + "internalType": "contract DataStorageInterface", + "name": "_dataStorageAddress", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_removedManager", + "type": "address" + } + ], + "name": "ManagerRemoved", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_newManager", + "type": "address" + } + ], + "name": "NewManagerAdded", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "previousAdminRole", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "bytes32", + "name": "newAdminRole", + "type": "bytes32" + } + ], + "name": "RoleAdminChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleGranted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "indexed": true, + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "RoleRevoked", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_from", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_rwEthAmount", + "type": "uint256" + } + ], + "name": "TokensBurned", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_rwEthAmount", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "_ethAmount", + "type": "uint256" + } + ], + "name": "TokensMinted", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "inputs": [], + "name": "DEFAULT_ADMIN_ROLE", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "POOL_MANAGER", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "addPoolManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "spender", + "type": "address" + } + ], + "name": "allowance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_rwEthAmount", + "type": "uint256" + } + ], + "name": "burn", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_rwEthAmount", + "type": "uint256" + } + ], + "name": "calcEthValue", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_ethAmount", + "type": "uint256" + } + ], + "name": "calcRwEthValue", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "decimals", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "subtractedValue", + "type": "uint256" + } + ], + "name": "decreaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "getContributionLimit", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolFees", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolMaxSize", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getPoolState", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardsInterest", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getRewardsInterval", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + } + ], + "name": "getRoleAdmin", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getUnitPrice", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "grantRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "hasRole", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "addedValue", + "type": "uint256" + } + ], + "name": "increaseAllowance", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_ethAmount", + "type": "uint256" + } + ], + "name": "mint", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + } + ], + "name": "removePoolManager", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "renounceRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "role", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "revokeRole", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newContrLimit", + "type": "uint256" + } + ], + "name": "setContributionLimit", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_newMinContr", + "type": "uint256" + } + ], + "name": "setMinContribution", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "setMinContribution", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_poolFees", + "type": "uint256" + } + ], + "name": "setPoolFees", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bool", + "name": "_live", + "type": "bool" + } + ], + "name": "setPoolLive", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_maxSize", + "type": "uint256" + } + ], + "name": "setPoolMaxSize", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_rewardsInterest", + "type": "uint256" + } + ], + "name": "setRewardsInterest", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_daysToRewards", + "type": "uint256" + } + ], + "name": "setRewardsInterval", + "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": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transfer", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "metadata": "{\"compiler\":{\"version\":\"0.8.9+commit.e5eed63a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract DataStorageInterface\",\"name\":\"_dataStorageAddress\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_removedManager\",\"type\":\"address\"}],\"name\":\"ManagerRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_newManager\",\"type\":\"address\"}],\"name\":\"NewManagerAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_rwEthAmount\",\"type\":\"uint256\"}],\"name\":\"TokensBurned\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_rwEthAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_ethAmount\",\"type\":\"uint256\"}],\"name\":\"TokensMinted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"POOL_MANAGER\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"addPoolManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_rwEthAmount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_rwEthAmount\",\"type\":\"uint256\"}],\"name\":\"calcEthValue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_ethAmount\",\"type\":\"uint256\"}],\"name\":\"calcRwEthValue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getContributionLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolMaxSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolState\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsInterest\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsInterval\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getUnitPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_ethAmount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"removePoolManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newContrLimit\",\"type\":\"uint256\"}],\"name\":\"setContributionLimit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newMinContr\",\"type\":\"uint256\"}],\"name\":\"setMinContribution\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"setMinContribution\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_poolFees\",\"type\":\"uint256\"}],\"name\":\"setPoolFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_live\",\"type\":\"bool\"}],\"name\":\"setPoolLive\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxSize\",\"type\":\"uint256\"}],\"name\":\"setPoolMaxSize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_rewardsInterest\",\"type\":\"uint256\"}],\"name\":\"setRewardsInterest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_daysToRewards\",\"type\":\"uint256\"}],\"name\":\"setRewardsInterval\",\"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\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"allowance(address,address)\":{\"details\":\"See {IERC20-allowance}.\"},\"approve(address,uint256)\":{\"details\":\"See {IERC20-approve}. NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address.\"},\"balanceOf(address)\":{\"details\":\"See {IERC20-balanceOf}.\"},\"burn(uint256)\":{\"details\":\"Burns rwEther.\"},\"calcEthValue(uint256)\":{\"details\":\"Calculate the equivalent Ether to a certain rwEther amount.\"},\"calcRwEthValue(uint256)\":{\"details\":\"Calculate the equivalent rwEther to a certain Ether amount.\"},\"decimals()\":{\"details\":\"Returns the number of decimals used to get its user representation. For example, if `decimals` equals `2`, a balance of `505` tokens should be displayed to a user as `5.05` (`505 / 10 ** 2`). Tokens usually opt for a value of 18, imitating the relationship between Ether and Wei. This is the value {ERC20} uses, unless this function is overridden; NOTE: This information is only used for _display_ purposes: it in no way affects any of the arithmetic of the contract, including {IERC20-balanceOf} and {IERC20-transfer}.\"},\"decreaseAllowance(address,uint256)\":{\"details\":\"Atomically decreases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address. - `spender` must have allowance for the caller of at least `subtractedValue`.\"},\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"getUnitPrice()\":{\"details\":\"Calculate the Eth / rwEth ratio a.k.a rwEth price expressed in Ether (wei)\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"increaseAllowance(address,uint256)\":{\"details\":\"Atomically increases the allowance granted to `spender` by the caller. This is an alternative to {approve} that can be used as a mitigation for problems described in {IERC20-approve}. Emits an {Approval} event indicating the updated allowance. Requirements: - `spender` cannot be the zero address.\"},\"mint(address,uint256)\":{\"details\":\"Mints reward ether (rwEth) as a receipt of investment.\"},\"name()\":{\"details\":\"Returns the name of the token.\"},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `account`.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role.\"},\"setContributionLimit(uint256)\":{\"details\":\"Set the max. contribution allowed for each user.\",\"params\":{\"_newContrLimit\":\"is a WEI value.\"}},\"setMinContribution(uint256)\":{\"details\":\"Set the min. contribution allowed for each user.\",\"params\":{\"_newMinContr\":\"is a WEI value.\"}},\"setPoolFees(uint256)\":{\"details\":\"Set the pool fees fraction that the pool charges for each deposit.\",\"params\":{\"_poolFees\":\"within the storage has 6 decimals.\"}},\"setPoolLive(bool)\":{\"details\":\"Toggles the Pool Investing Switch. \"},\"setPoolMaxSize(uint256)\":{\"details\":\"Sets the Pool Maximium size expressed on ether.\",\"params\":{\"_maxSize\":\"is a WEI value (or BigInt / BigNumber).\"}},\"setRewardsInterest(uint256)\":{\"details\":\"Set the interest per effective period.\",\"params\":{\"_rewardsInterest\":\"within the storage has 6 decimals.\"}},\"setRewardsInterval(uint256)\":{\"details\":\"Set the interval in days of the rewards period.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"},\"symbol()\":{\"details\":\"Returns the symbol of the token, usually a shorter version of the name.\"},\"totalSupply()\":{\"details\":\"See {IERC20-totalSupply}.\"},\"transfer(address,uint256)\":{\"details\":\"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `amount`.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `amount`. - the caller must have allowance for ``from``'s tokens of at least `amount`.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"burn(uint256)\":{\"notice\":\"Used while withdrawing funds to keep balanced the system.No counterpart of ethers are transfered back to the burner while performing this call.After calling this function, it is needed to perform the ether counterpart transfer to the involved parts.\"},\"setPoolFees(uint256)\":{\"notice\":\"E.G. If 0.001235 fees fraction are desired, 0.001235 * (10**6) = 1235.Also it sets the state variable \\\"poolFeesSet\\\" as true.\"},\"setPoolLive(bool)\":{\"notice\":\"While live, anyone can invest but any state variable can be modified nor deleted.\"},\"setRewardsInterest(uint256)\":{\"notice\":\"E.G. If 0.001134 rate is desired, 0.001134 * (10**6) = 1134.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/rwETHToken.sol\":\"rwETHToken\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/DataStorageInterface.sol\":{\"keccak256\":\"0x2136bae23b43613eea5248f48da3a33c0fd5c9090337d43a31b943912ef8203b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c7a084874e9224800b6b710f304a926ef04eab7cd361d9fb87a073b52dd4e2a6\",\"dweb:/ipfs/QmWZJKF1ReW1d3aXvZRL75QuuGfskLLvi2TwbtV4QRFTob\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol\":{\"keccak256\":\"0x915945c322eecea4d77e49da6ae7e69cc377bbc275a851dea233a8816780b6ff\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7027b622a79b11c1fe2e697567c7869459dd0a003ac4174d68faf3328f59cb1f\",\"dweb:/ipfs/QmUxsT4rPoNBKstE6s1uGEzZA9UryN8xzdrkoZTnUk9NrF\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/TokenBalancesInterface.sol\":{\"keccak256\":\"0xd6204ae29996eea9a0e9f5ac6f99dc2766bff2af30e9c474988494e87a87d76a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c005ad64c1f6e4a66ec63625939404fd024fd1c9df1f3d20422065ca8744141f\",\"dweb:/ipfs/QmSveqBGxZXFWLYZqAasz4nR3Un5n2SxMjBKnrDxFmxwYp\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/rwETHToken.sol\":{\"keccak256\":\"0x5a0cb86e743621532431a537e59d7cd8a14354e8cff274682eae08cf72ea242b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be673b2cb56db5db262724601d108f954f4e143edd84fa15cc5b90d1e0c6f347\",\"dweb:/ipfs/QmaP8bkfsxSrJ5ay1359GVczLPbAoSdBYjmFLZRLryTMhi\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0x4a1a0ba12bf1a33f10d9fe226278cf59675c0b929d29e4da99658a079b27fb84\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bda1319db846d6d6f92d8a57a9bdee8bde1dc39aa7546165791692c24dd6f30a\",\"dweb:/ipfs/Qma5oZ7DmbdAjd8mpiW7mx896PDtwsQtCQ2hj9Upf7b7JK\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0x59ce320a585d7e1f163cd70390a0ef2ff9cec832e2aa544293a00692465a7a57\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://bb2c137c343ef0c4c7ce7b18c1d108afdc9d315a04e48307288d2d05adcbde3a\",\"dweb:/ipfs/QmUxhrAQM3MM3FF5j7AtcXLXguWCJBHJ14BRdVtuoQc8Fh\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol\":{\"keccak256\":\"0x0e9621f60b2faabe65549f7ed0f24e8853a45c1b7990d47e8160e523683f3935\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://287a2f8d5814dd0f05f22b740f18ca8321acc21c9bd03a6cb2203ea626e2f3f2\",\"dweb:/ipfs/QmZRQv9iuwU817VuqkA2WweiaibKii69x9QxYBBEfbNEud\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol\":{\"keccak256\":\"0xdadd41acb749920eccf40aeaa8d291adf9751399a7343561bad13e7a8d99be0b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://12af4ac016f9fdf3be5d15824f4292272aa11f6b2e0192a0f7320f5ad49bbbf0\",\"dweb:/ipfs/QmRXMpdqCgA3TYuYxBodqs5p9jGbnMW6xa2gvjppvq4TWk\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xbbc8ac883ac3c0078ce5ad3e288fbb3ffcc8a30c3a98c0fda0114d64fc44fca2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87a7a5d2f6f63f84598af02b8c50ca2df2631cb8ba2453e8d95fcb17e4be9824\",\"dweb:/ipfs/QmR76hqtAcRqoFj33tmNjcWTLrgNsAaakYwnKZ8zoJtKei\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\":{\"keccak256\":\"0x8de418a5503946cabe331f35fe242d3201a73f67f77aaeb7110acb1f30423aca\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5a376d3dda2cb70536c0a45c208b29b34ac560c4cb4f513a42079f96ba47d2dd\",\"dweb:/ipfs/QmZQg6gn1sUpM8wHzwNvSnihumUCAhxD119MpXeKp8B9s8\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0xe2e337e6dde9ef6b680e07338c493ebea1b5fd09b43424112868e9cc1706bca7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6df0ddf21ce9f58271bdfaa85cde98b200ef242a05a3f85c2bc10a8294800a92\",\"dweb:/ipfs/QmRK2Y5Yc6BK7tGKkgsgn3aJEQGi5aakeSPZvS65PV8Xp3\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x32c202bd28995dd20c4347b7c6467a6d3241c74c8ad3edcbb610cd9205916c45\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8179c356adb19e70d6b31a1eedc8c5c7f0c00e669e2540f4099e3844c6074d30\",\"dweb:/ipfs/QmWFbivarEobbqhS1go64ootVuHfVohBseerYy9FTEd1W2\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0xd10975de010d89fd1c78dc5e8a9a7e7f496198085c151648f20cba166b32582b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fb0048dee081f6fffa5f74afc3fb328483c2a30504e94a0ddd2a5114d731ec4d\",\"dweb:/ipfs/QmZptt1nmYoA5SgjwnSgWqgUSDgm4q52Yos3xhnMv3MV43\"]},\"c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x447a5f3ddc18419d41ff92b3773fb86471b1db25773e07f877f548918a185bf1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://be161e54f24e5c6fae81a12db1a8ae87bc5ae1b0ddc805d82a1440a68455088f\",\"dweb:/ipfs/QmP7C3CHdY9urF4dEMb9wmsp1wMxHF6nhA2yQE5SKiPAdy\"]}},\"version\":1}", + "bytecode": "60806040523480156200001157600080fd5b5060405162002f9338038062002f938339810160408190526200003491620004d9565b604080518082018252601081526f2932bbb0b9321022aa24102a37b5b2b760811b602080830191909152825180840190935260058352640e4ee8aa8960db1b9083015260018055600280546001600160a01b0319166001600160a01b0385161790559082620000a56000336200011c565b620000d17f41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842336200011c565b620000db6200012c565b508151620000f190600690602085019062000433565b5080516200010790600790602084019062000433565b506200011591505062000293565b5062000548565b62000128828262000393565b5050565b6002546040516e636f6e74726163745f65786973747360881b60208201526001600160601b03193060601b16602f8201526001600160a01b039091169063988c515b9060430160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b168252600482015260016024820152604401600060405180830381600087803b158015620001c657600080fd5b505af1158015620001db573d6000803e3d6000fd5b50506002546040516f636f6e74726163745f6164647265737360801b602082015267506f6f6c4261736560c01b60308201526001600160a01b039091169250637221263a91506038015b60408051601f198184030181529082905280516020909101206001600160e01b031960e084901b1682526004820152306024820152604401600060405180830381600087803b1580156200027857600080fd5b505af11580156200028d573d6000803e3d6000fd5b50505050565b6002546040516e636f6e74726163745f65786973747360881b60208201526001600160601b03193060601b16602f8201526001600160a01b039091169063988c515b9060430160408051601f198184030181529082905280516020909101206001600160e01b031960e084901b168252600482015260016024820152604401600060405180830381600087803b1580156200032d57600080fd5b505af115801562000342573d6000803e3d6000fd5b50506002546040516f636f6e74726163745f6164647265737360801b602082015269393ba2aa242a37b5b2b760b11b60308201526001600160a01b039091169250637221263a9150603a0162000225565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1662000128576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620003ef3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b82805462000441906200050b565b90600052602060002090601f016020900481019282620004655760008555620004b0565b82601f106200048057805160ff1916838001178555620004b0565b82800160010185558215620004b0579182015b82811115620004b057825182559160200191906001019062000493565b50620004be929150620004c2565b5090565b5b80821115620004be5760008155600101620004c3565b600060208284031215620004ec57600080fd5b81516001600160a01b03811681146200050457600080fd5b9392505050565b600181811c908216806200052057607f821691505b602082108114156200054257634e487b7160e01b600052602260045260246000fd5b50919050565b612a3b80620005586000396000f3fe608060405234801561001057600080fd5b50600436106102485760003560e01c8063473b0d461161013b57806395d89b41116100b8578063bf4c00361161007c578063bf4c0036146104ce578063d1d8d060146104e1578063d547741f146104e9578063dd62ed3e146104fc578063fa1e19e51461053557600080fd5b806395d89b4114610485578063a217fddf1461048d578063a457c2d714610495578063a4975516146104a8578063a9059cbb146104bb57600080fd5b806370a08231116100ff57806370a082311461041b57806372d099a0146104445780637521796f146104575780638dd225d51461045f57806391d148541461047257600080fd5b8063473b0d46146103d0578063497d0241146103e357806353710f49146103eb578063543edfb6146103fe57806362308e851461040657600080fd5b8063248a9ca3116101c9578063395093511161018d57806339509351146103715780633ef3183c1461038457806340c10f191461039757806342966c68146103aa57806345077e71146103bd57600080fd5b8063248a9ca31461030657806329ca15bc146103295780632f2ff15d1461033c578063313ce5671461034f57806336568abe1461035e57600080fd5b8063126469871161021057806312646987146102bb57806312946fe1146102d057806318160ddd146102e3578063217ac237146102eb57806323b872dd146102f357600080fd5b8063012a33aa1461024d57806301ffc9a71461026857806306fdde031461028b578063095df57f146102a0578063095ea7b3146102a8575b600080fd5b61025561053d565b6040519081526020015b60405180910390f35b61027b610276366004612591565b610555565b604051901515815260200161025f565b61029361058c565b60405161025f91906125e7565b61025561061e565b61027b6102b6366004612632565b6106db565b6102ce6102c936600461265e565b6106f3565b005b6102556102de36600461265e565b6107ac565b600554610255565b61027b6108f6565b61027b610301366004612677565b61099b565b61025561031436600461265e565b60009081526020819052604090206001015490565b6102ce6103373660046126b8565b6109bf565b6102ce61034a3660046126d5565b610a1b565b6040516012815260200161025f565b6102ce61036c3660046126d5565b610a46565b61027b61037f366004612632565b610ac9565b61025561039236600461265e565b610b08565b6102ce6103a5366004612632565b610cac565b6102ce6103b836600461265e565b610f08565b6102ce6103cb3660046126b8565b6112c6565b6102ce6103de36600461265e565b611322565b610255611425565b6102ce6103f936600461265e565b61144b565b6102556115a5565b6102556000805160206129e683398151915281565b6102556104293660046126b8565b6001600160a01b031660009081526003602052604090205490565b6102ce61045236600461265e565b6115cd565b6102556116d2565b6102ce61046d36600461265e565b611703565b61027b6104803660046126d5565b61191c565b610293611945565b610255600081565b61027b6104a3366004612632565b611954565b6102ce6104b6366004612713565b6119e6565b61027b6104c9366004612632565b611a60565b6102ce6104dc36600461265e565b611a6e565b610255611b7a565b6102ce6104f73660046126d5565b611b9b565b61025561050a366004612730565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b610255611bc1565b6000610550670de0b6b3a76400006107ac565b905090565b60006001600160e01b03198216637965db0b60e01b148061058657506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606006805461059b9061275e565b80601f01602080910402602001604051908101604052809291908181526020018280546105c79061275e565b80156106145780601f106105e957610100808354040283529160200191610614565b820191906000526020600020905b8154815290600101906020018083116105f757829003601f168201915b5050505050905090565b600080604051602001610642906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b15801561069d57600080fd5b505afa1580156106b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d59190612799565b91505090565b6000336106e9818585611beb565b5060019392505050565b6000805160206129e683398151915261070c8133611d0f565b6040516a706f6f6c4d617853697a6560a81b6020820152600090602b015b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018690529092506001600160a01b0316906328192c55906044015b600060405180830381600087803b15801561078f57600080fd5b505af11580156107a3573d6000803e3d6000fd5b50505050505050565b6000806107dd6040518060400160405280600d81526020016c546f6b656e42616c616e63657360981b815250611d73565b90506000816001600160a01b0316636402c2626040518163ffffffff1660e01b815260040160206040518083038186803b15801561081a57600080fd5b505afa15801561082e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108529190612799565b90506000826001600160a01b031663e2bcb3df6040518163ffffffff1660e01b815260040160206040518083038186803b15801561088f57600080fd5b505afa1580156108a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c79190612799565b905080156108ed57806108da83876127c8565b6108e491906127e7565b95945050505050565b50929392505050565b60008060405160200161090890612809565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561096357600080fd5b505afa158015610977573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d5919061281f565b6000336109a9858285611e7f565b6109b4858585611f11565b506001949350505050565b60006109cb8133611d0f565b6109e36000805160206129e683398151915283611b9b565b6040516001600160a01b038316907fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd3190600090a25050565b600082815260208190526040902060010154610a378133611d0f565b610a4183836120df565b505050565b6001600160a01b0381163314610abb5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b610ac58282612163565b5050565b3360008181526004602090815260408083206001600160a01b03871684529091528120549091906106e99082908690610b0390879061283c565b611beb565b600080610b396040518060400160405280600d81526020016c546f6b656e42616c616e63657360981b815250611d73565b90506000816001600160a01b0316636402c2626040518163ffffffff1660e01b815260040160206040518083038186803b158015610b7657600080fd5b505afa158015610b8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bae9190612799565b90506000826001600160a01b031663e2bcb3df6040518163ffffffff1660e01b815260040160206040518083038186803b158015610beb57600080fd5b505afa158015610bff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c239190612799565b905080156108ed5760008211610ca15760405162461bcd60e51b815260206004820152603b60248201527f43757272656e746c7920746865726520617265206e6f2065746865722073746f60448201527f7265642e2043616e6e6f7420646976696465206279207a65726f2e00000000006064820152608401610ab2565b816108da82876127c8565b6002546040516001600160a01b03909116906355d9465590610cd2903390602001612854565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610d0691815260200190565b60206040518083038186803b158015610d1e57600080fd5b505afa158015610d32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d56919061281f565b610d9e5760405162461bcd60e51b815260206004820152601960248201527824b73b30b634b21021b7b73a3930b1ba1020b2323932b9b99760391b6044820152606401610ab2565b604051763a37ba30b629bab838363cafb932bbb0b93222ba3432b960491b602082015260009060370160405160208183030381529060405280519060200120905060008211610e425760405162461bcd60e51b815260206004820152602a60248201527f4d696e7420616d6f756e74206e6565647320746f2062652067726561746572206044820152693a3430b7103d32b9379760b11b6064820152608401610ab2565b6000610e4d83610b08565b9050610e5984826121c8565b60025460405162ec44af60e51b815260048101849052602481018390526001600160a01b0390911690631d8895e090604401600060405180830381600087803b158015610ea557600080fd5b505af1158015610eb9573d6000803e3d6000fd5b505060408051848152602081018790526001600160a01b03881693507f2e8ac5177a616f2aec08c3048f5021e4e9743ece034e8d83ba5caf76688bb4759250015b60405180910390a250505050565b6002546040516001600160a01b03909116906355d9465590610f2e903390602001612854565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610f6291815260200190565b60206040518083038186803b158015610f7a57600080fd5b505afa158015610f8e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb2919061281f565b610ffa5760405162461bcd60e51b815260206004820152601960248201527824b73b30b634b21021b7b73a3930b1ba1020b2323932b9b99760391b6044820152606401610ab2565b600061102a6040518060400160405280600d81526020016c546f6b656e42616c616e63657360981b815250611d73565b9050600060405160200161105b90763a37ba30b629bab838363cafb932bbb0b93222ba3432b960491b815260170190565b604051602081830303815290604052805190602001209050600083116110d65760405162461bcd60e51b815260206004820152602a60248201527f4275726e20616d6f756e74206e6565647320746f2062652067726561746572206044820152693a3430b7103d32b9379760b11b6064820152608401610ab2565b33600090815260036020526040812054116111335760405162461bcd60e51b815260206004820152601b60248201527f496e73756666696369656e742072774574682062616c616e63652e00000000006044820152606401610ab2565b600061113e846107ac565b9050826001600160a01b0316636402c2626040518163ffffffff1660e01b815260040160206040518083038186803b15801561117957600080fd5b505afa15801561118d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b19190612799565b81106112255760405162461bcd60e51b815260206004820152603960248201527f5468657265206172656e277420656e6f756768206261636b656420657468657260448201527f7320746f20706572666f726d207468697320616374696f6e2e000000000000006064820152608401610ab2565b600254604051635bcfee6760e01b815260048101849052602481018690526001600160a01b0390911690635bcfee6790604401600060405180830381600087803b15801561127257600080fd5b505af1158015611286573d6000803e3d6000fd5b5050505061129433856122a7565b60405184815233907ffd38818f5291bf0bb3a2a48aadc06ba8757865d1dabd804585338aab3009dcb690602001610efa565b60006112d28133611d0f565b6112ea6000805160206129e683398151915283610a1b565b6040516001600160a01b038316907fd873e3f571dc25e020cefdeb7255b3874ead3aade1f94a5fb4a5da831fd670cd90600090a25050565b6000805160206129e683398151915261133b8133611d0f565b6002546040516001600160a01b03909116906355d946559061135f90602001612809565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161139391815260200190565b60206040518083038186803b1580156113ab57600080fd5b505afa1580156113bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e3919061281f565b6113ff5760405162461bcd60e51b8152600401610ab290612889565b6040516e36b4b721b7b73a3934b13aba34b7b760891b6020820152600090602f0161072a565b600080604051602001610642906c64617973546f5265776172647360981b8152600d0190565b6000805160206129e68339815191526114648133611d0f565b6002546040516001600160a01b03909116906355d946559061148890602001612809565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b81526004016114bc91815260200190565b60206040518083038186803b1580156114d457600080fd5b505afa1580156114e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150c919061281f565b6115285760405162461bcd60e51b8152600401610ab290612889565b604080516c64617973546f5265776172647360981b6020808301919091528251600d818403018152602d90920190925280519101206002546001600160a01b03166328192c558261157c86620151806127c8565b6040516001600160e01b031960e085901b16815260048101929092526024820152604401610775565b600080604051602001610642906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b6000805160206129e68339815191526115e68133611d0f565b6002546040516001600160a01b03909116906355d946559061160a90602001612809565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161163e91815260200190565b60206040518083038186803b15801561165657600080fd5b505afa15801561166a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061168e919061281f565b6116aa5760405162461bcd60e51b8152600401610ab290612889565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b602082015260009060310161072a565b60008060405160200161064290771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b6000805160206129e683398151915261171c8133611d0f565b6002546040516001600160a01b03909116906355d946559061174090602001612809565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161177491815260200190565b60206040518083038186803b15801561178c57600080fd5b505afa1580156117a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c4919061281f565b6117e05760405162461bcd60e51b8152600401610ab290612889565b60405167706f6f6c4665657360c01b60208201526000906028016040516020818303038152906040528051906020012090506000604051602001611835906a1c1bdbdb1199595cd4d95d60aa1b8152600b0190565b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301859052602483018790529092506001600160a01b0316906328192c5590604401600060405180830381600087803b15801561189957600080fd5b505af11580156118ad573d6000803e3d6000fd5b505060025460405163988c515b60e01b815260048101859052600160248201526001600160a01b03909116925063988c515b9150604401600060405180830381600087803b1580156118fe57600080fd5b505af1158015611912573d6000803e3d6000fd5b5050505050505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60606007805461059b9061275e565b3360008181526004602090815260408083206001600160a01b0387168452909152812054909190838110156119d95760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610ab2565b6109b48286868403611beb565b6000805160206129e68339815191526119ff8133611d0f565b6000604051602001611a1090612809565b60408051808303601f1901815290829052805160209091012060025463988c515b60e01b83526004830182905285151560248401529092506001600160a01b03169063988c515b90604401610775565b6000336106e9818585611f11565b6000805160206129e6833981519152611a878133611d0f565b6002546040516001600160a01b03909116906355d9465590611aab90602001612809565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401611adf91815260200190565b60206040518083038186803b158015611af757600080fd5b505afa158015611b0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2f919061281f565b611b4b5760405162461bcd60e51b8152600401610ab290612889565b604051771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b602082015260009060380161072a565b6000806040516020016106429067706f6f6c4665657360c01b815260080190565b600082815260208190526040902060010154611bb78133611d0f565b610a418383612163565b600080604051602001610642907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b6001600160a01b038316611c4d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610ab2565b6001600160a01b038216611cae5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610ab2565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b611d19828261191c565b610ac557611d31816001600160a01b031660146123f5565b611d3c8360206123f5565b604051602001611d4d9291906128c0565b60408051601f198184030181529082905262461bcd60e51b8252610ab2916004016125e7565b60008082604051602001611d879190612935565b60408051808303601f190181529082905280516020909101206002546315485dd960e11b8352600483018290529092506000916001600160a01b0390911690632a90bbb29060240160206040518083038186803b158015611de757600080fd5b505afa158015611dfb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e1f919061296e565b90506001600160a01b03811615611e785760405162461bcd60e51b815260206004820152601b60248201527f436f6e74726163742061646472657373206e6f7420666f756e642e00000000006044820152606401610ab2565b9392505050565b6001600160a01b038381166000908152600460209081526040808320938616835292905220546000198114611f0b5781811015611efe5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610ab2565b611f0b8484848403611beb565b50505050565b6001600160a01b038316611f755760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610ab2565b6001600160a01b038216611fd75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610ab2565b6001600160a01b0383166000908152600360205260409020548181101561204f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610ab2565b6001600160a01b0380851660009081526003602052604080822085850390559185168152908120805484929061208690849061283c565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516120d291815260200190565b60405180910390a3611f0b565b6120e9828261191c565b610ac5576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905561211f3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61216d828261191c565b15610ac5576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b03821661221e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610ab2565b8060056000828254612230919061283c565b90915550506001600160a01b0382166000908152600360205260408120805483929061225d90849061283c565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382166123075760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610ab2565b6001600160a01b0382166000908152600360205260409020548181101561237b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610ab2565b6001600160a01b03831660009081526003602052604081208383039055600580548492906123aa90849061298b565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b606060006124048360026127c8565b61240f90600261283c565b67ffffffffffffffff811115612427576124276129a2565b6040519080825280601f01601f191660200182016040528015612451576020820181803683370190505b509050600360fc1b8160008151811061246c5761246c6129b8565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061249b5761249b6129b8565b60200101906001600160f81b031916908160001a90535060006124bf8460026127c8565b6124ca90600161283c565b90505b6001811115612542576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106124fe576124fe6129b8565b1a60f81b828281518110612514576125146129b8565b60200101906001600160f81b031916908160001a90535060049490941c9361253b816129ce565b90506124cd565b508315611e785760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610ab2565b6000602082840312156125a357600080fd5b81356001600160e01b031981168114611e7857600080fd5b60005b838110156125d65781810151838201526020016125be565b83811115611f0b5750506000910152565b60208152600082518060208401526126068160408501602087016125bb565b601f01601f19169190910160400192915050565b6001600160a01b038116811461262f57600080fd5b50565b6000806040838503121561264557600080fd5b82356126508161261a565b946020939093013593505050565b60006020828403121561267057600080fd5b5035919050565b60008060006060848603121561268c57600080fd5b83356126978161261a565b925060208401356126a78161261a565b929592945050506040919091013590565b6000602082840312156126ca57600080fd5b8135611e788161261a565b600080604083850312156126e857600080fd5b8235915060208301356126fa8161261a565b809150509250929050565b801515811461262f57600080fd5b60006020828403121561272557600080fd5b8135611e7881612705565b6000806040838503121561274357600080fd5b823561274e8161261a565b915060208301356126fa8161261a565b600181811c9082168061277257607f821691505b6020821081141561279357634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156127ab57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156127e2576127e26127b2565b500290565b60008261280457634e487b7160e01b600052601260045260246000fd5b500490565b696973506f6f6c4c69766560b01b8152600a0190565b60006020828403121561283157600080fd5b8151611e7881612705565b6000821982111561284f5761284f6127b2565b500190565b6e636f6e74726163745f65786973747360881b815260609190911b6bffffffffffffffffffffffff1916600f82015260230190565b6020808252601d908201527f54686520706f6f6c2069732063757272656e746c7920636c6f7365642e000000604082015260600190565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516128f88160178501602088016125bb565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516129298160288401602088016125bb565b01602801949350505050565b70636f6e74726163745f5f6164647265737360781b8152600082516129618160118501602087016125bb565b9190910160110192915050565b60006020828403121561298057600080fd5b8151611e788161261a565b60008282101561299d5761299d6127b2565b500390565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000816129dd576129dd6127b2565b50600019019056fe41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842a2646970667358221220c7c758780bfc1583b93ce8852f7995dd5dceb4dfd8028af77f57e49cd37acbc564736f6c63430008090033", + "deployedBytecode": "608060405234801561001057600080fd5b50600436106102485760003560e01c8063473b0d461161013b57806395d89b41116100b8578063bf4c00361161007c578063bf4c0036146104ce578063d1d8d060146104e1578063d547741f146104e9578063dd62ed3e146104fc578063fa1e19e51461053557600080fd5b806395d89b4114610485578063a217fddf1461048d578063a457c2d714610495578063a4975516146104a8578063a9059cbb146104bb57600080fd5b806370a08231116100ff57806370a082311461041b57806372d099a0146104445780637521796f146104575780638dd225d51461045f57806391d148541461047257600080fd5b8063473b0d46146103d0578063497d0241146103e357806353710f49146103eb578063543edfb6146103fe57806362308e851461040657600080fd5b8063248a9ca3116101c9578063395093511161018d57806339509351146103715780633ef3183c1461038457806340c10f191461039757806342966c68146103aa57806345077e71146103bd57600080fd5b8063248a9ca31461030657806329ca15bc146103295780632f2ff15d1461033c578063313ce5671461034f57806336568abe1461035e57600080fd5b8063126469871161021057806312646987146102bb57806312946fe1146102d057806318160ddd146102e3578063217ac237146102eb57806323b872dd146102f357600080fd5b8063012a33aa1461024d57806301ffc9a71461026857806306fdde031461028b578063095df57f146102a0578063095ea7b3146102a8575b600080fd5b61025561053d565b6040519081526020015b60405180910390f35b61027b610276366004612591565b610555565b604051901515815260200161025f565b61029361058c565b60405161025f91906125e7565b61025561061e565b61027b6102b6366004612632565b6106db565b6102ce6102c936600461265e565b6106f3565b005b6102556102de36600461265e565b6107ac565b600554610255565b61027b6108f6565b61027b610301366004612677565b61099b565b61025561031436600461265e565b60009081526020819052604090206001015490565b6102ce6103373660046126b8565b6109bf565b6102ce61034a3660046126d5565b610a1b565b6040516012815260200161025f565b6102ce61036c3660046126d5565b610a46565b61027b61037f366004612632565b610ac9565b61025561039236600461265e565b610b08565b6102ce6103a5366004612632565b610cac565b6102ce6103b836600461265e565b610f08565b6102ce6103cb3660046126b8565b6112c6565b6102ce6103de36600461265e565b611322565b610255611425565b6102ce6103f936600461265e565b61144b565b6102556115a5565b6102556000805160206129e683398151915281565b6102556104293660046126b8565b6001600160a01b031660009081526003602052604090205490565b6102ce61045236600461265e565b6115cd565b6102556116d2565b6102ce61046d36600461265e565b611703565b61027b6104803660046126d5565b61191c565b610293611945565b610255600081565b61027b6104a3366004612632565b611954565b6102ce6104b6366004612713565b6119e6565b61027b6104c9366004612632565b611a60565b6102ce6104dc36600461265e565b611a6e565b610255611b7a565b6102ce6104f73660046126d5565b611b9b565b61025561050a366004612730565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b610255611bc1565b6000610550670de0b6b3a76400006107ac565b905090565b60006001600160e01b03198216637965db0b60e01b148061058657506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606006805461059b9061275e565b80601f01602080910402602001604051908101604052809291908181526020018280546105c79061275e565b80156106145780601f106105e957610100808354040283529160200191610614565b820191906000526020600020905b8154815290600101906020018083116105f757829003601f168201915b5050505050905090565b600080604051602001610642906a706f6f6c4d617853697a6560a81b8152600b0190565b60408051808303601f1901815290829052805160209091012060025463afc3602b60e01b8352600483018290529092506001600160a01b03169063afc3602b9060240160206040518083038186803b15801561069d57600080fd5b505afa1580156106b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d59190612799565b91505090565b6000336106e9818585611beb565b5060019392505050565b6000805160206129e683398151915261070c8133611d0f565b6040516a706f6f6c4d617853697a6560a81b6020820152600090602b015b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301829052602483018690529092506001600160a01b0316906328192c55906044015b600060405180830381600087803b15801561078f57600080fd5b505af11580156107a3573d6000803e3d6000fd5b50505050505050565b6000806107dd6040518060400160405280600d81526020016c546f6b656e42616c616e63657360981b815250611d73565b90506000816001600160a01b0316636402c2626040518163ffffffff1660e01b815260040160206040518083038186803b15801561081a57600080fd5b505afa15801561082e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108529190612799565b90506000826001600160a01b031663e2bcb3df6040518163ffffffff1660e01b815260040160206040518083038186803b15801561088f57600080fd5b505afa1580156108a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c79190612799565b905080156108ed57806108da83876127c8565b6108e491906127e7565b95945050505050565b50929392505050565b60008060405160200161090890612809565b60408051808303601f190181529082905280516020909101206002546355d9465560e01b8352600483018290529092506001600160a01b0316906355d946559060240160206040518083038186803b15801561096357600080fd5b505afa158015610977573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d5919061281f565b6000336109a9858285611e7f565b6109b4858585611f11565b506001949350505050565b60006109cb8133611d0f565b6109e36000805160206129e683398151915283611b9b565b6040516001600160a01b038316907fef69f7d97228658c92417be1b16b19058315de71fecb435d07b7d23728b6bd3190600090a25050565b600082815260208190526040902060010154610a378133611d0f565b610a4183836120df565b505050565b6001600160a01b0381163314610abb5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b610ac58282612163565b5050565b3360008181526004602090815260408083206001600160a01b03871684529091528120549091906106e99082908690610b0390879061283c565b611beb565b600080610b396040518060400160405280600d81526020016c546f6b656e42616c616e63657360981b815250611d73565b90506000816001600160a01b0316636402c2626040518163ffffffff1660e01b815260040160206040518083038186803b158015610b7657600080fd5b505afa158015610b8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bae9190612799565b90506000826001600160a01b031663e2bcb3df6040518163ffffffff1660e01b815260040160206040518083038186803b158015610beb57600080fd5b505afa158015610bff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c239190612799565b905080156108ed5760008211610ca15760405162461bcd60e51b815260206004820152603b60248201527f43757272656e746c7920746865726520617265206e6f2065746865722073746f60448201527f7265642e2043616e6e6f7420646976696465206279207a65726f2e00000000006064820152608401610ab2565b816108da82876127c8565b6002546040516001600160a01b03909116906355d9465590610cd2903390602001612854565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610d0691815260200190565b60206040518083038186803b158015610d1e57600080fd5b505afa158015610d32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d56919061281f565b610d9e5760405162461bcd60e51b815260206004820152601960248201527824b73b30b634b21021b7b73a3930b1ba1020b2323932b9b99760391b6044820152606401610ab2565b604051763a37ba30b629bab838363cafb932bbb0b93222ba3432b960491b602082015260009060370160405160208183030381529060405280519060200120905060008211610e425760405162461bcd60e51b815260206004820152602a60248201527f4d696e7420616d6f756e74206e6565647320746f2062652067726561746572206044820152693a3430b7103d32b9379760b11b6064820152608401610ab2565b6000610e4d83610b08565b9050610e5984826121c8565b60025460405162ec44af60e51b815260048101849052602481018390526001600160a01b0390911690631d8895e090604401600060405180830381600087803b158015610ea557600080fd5b505af1158015610eb9573d6000803e3d6000fd5b505060408051848152602081018790526001600160a01b03881693507f2e8ac5177a616f2aec08c3048f5021e4e9743ece034e8d83ba5caf76688bb4759250015b60405180910390a250505050565b6002546040516001600160a01b03909116906355d9465590610f2e903390602001612854565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401610f6291815260200190565b60206040518083038186803b158015610f7a57600080fd5b505afa158015610f8e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb2919061281f565b610ffa5760405162461bcd60e51b815260206004820152601960248201527824b73b30b634b21021b7b73a3930b1ba1020b2323932b9b99760391b6044820152606401610ab2565b600061102a6040518060400160405280600d81526020016c546f6b656e42616c616e63657360981b815250611d73565b9050600060405160200161105b90763a37ba30b629bab838363cafb932bbb0b93222ba3432b960491b815260170190565b604051602081830303815290604052805190602001209050600083116110d65760405162461bcd60e51b815260206004820152602a60248201527f4275726e20616d6f756e74206e6565647320746f2062652067726561746572206044820152693a3430b7103d32b9379760b11b6064820152608401610ab2565b33600090815260036020526040812054116111335760405162461bcd60e51b815260206004820152601b60248201527f496e73756666696369656e742072774574682062616c616e63652e00000000006044820152606401610ab2565b600061113e846107ac565b9050826001600160a01b0316636402c2626040518163ffffffff1660e01b815260040160206040518083038186803b15801561117957600080fd5b505afa15801561118d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b19190612799565b81106112255760405162461bcd60e51b815260206004820152603960248201527f5468657265206172656e277420656e6f756768206261636b656420657468657260448201527f7320746f20706572666f726d207468697320616374696f6e2e000000000000006064820152608401610ab2565b600254604051635bcfee6760e01b815260048101849052602481018690526001600160a01b0390911690635bcfee6790604401600060405180830381600087803b15801561127257600080fd5b505af1158015611286573d6000803e3d6000fd5b5050505061129433856122a7565b60405184815233907ffd38818f5291bf0bb3a2a48aadc06ba8757865d1dabd804585338aab3009dcb690602001610efa565b60006112d28133611d0f565b6112ea6000805160206129e683398151915283610a1b565b6040516001600160a01b038316907fd873e3f571dc25e020cefdeb7255b3874ead3aade1f94a5fb4a5da831fd670cd90600090a25050565b6000805160206129e683398151915261133b8133611d0f565b6002546040516001600160a01b03909116906355d946559061135f90602001612809565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161139391815260200190565b60206040518083038186803b1580156113ab57600080fd5b505afa1580156113bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e3919061281f565b6113ff5760405162461bcd60e51b8152600401610ab290612889565b6040516e36b4b721b7b73a3934b13aba34b7b760891b6020820152600090602f0161072a565b600080604051602001610642906c64617973546f5265776172647360981b8152600d0190565b6000805160206129e68339815191526114648133611d0f565b6002546040516001600160a01b03909116906355d946559061148890602001612809565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b81526004016114bc91815260200190565b60206040518083038186803b1580156114d457600080fd5b505afa1580156114e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150c919061281f565b6115285760405162461bcd60e51b8152600401610ab290612889565b604080516c64617973546f5265776172647360981b6020808301919091528251600d818403018152602d90920190925280519101206002546001600160a01b03166328192c558261157c86620151806127c8565b6040516001600160e01b031960e085901b16815260048101929092526024820152604401610775565b600080604051602001610642906e36b4b721b7b73a3934b13aba34b7b760891b8152600f0190565b6000805160206129e68339815191526115e68133611d0f565b6002546040516001600160a01b03909116906355d946559061160a90602001612809565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161163e91815260200190565b60206040518083038186803b15801561165657600080fd5b505afa15801561166a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061168e919061281f565b6116aa5760405162461bcd60e51b8152600401610ab290612889565b6040517018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b602082015260009060310161072a565b60008060405160200161064290771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b815260180190565b6000805160206129e683398151915261171c8133611d0f565b6002546040516001600160a01b03909116906355d946559061174090602001612809565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b815260040161177491815260200190565b60206040518083038186803b15801561178c57600080fd5b505afa1580156117a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c4919061281f565b6117e05760405162461bcd60e51b8152600401610ab290612889565b60405167706f6f6c4665657360c01b60208201526000906028016040516020818303038152906040528051906020012090506000604051602001611835906a1c1bdbdb1199595cd4d95d60aa1b8152600b0190565b60408051808303601f190181529082905280516020909101206002546328192c5560e01b835260048301859052602483018790529092506001600160a01b0316906328192c5590604401600060405180830381600087803b15801561189957600080fd5b505af11580156118ad573d6000803e3d6000fd5b505060025460405163988c515b60e01b815260048101859052600160248201526001600160a01b03909116925063988c515b9150604401600060405180830381600087803b1580156118fe57600080fd5b505af1158015611912573d6000803e3d6000fd5b5050505050505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60606007805461059b9061275e565b3360008181526004602090815260408083206001600160a01b0387168452909152812054909190838110156119d95760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610ab2565b6109b48286868403611beb565b6000805160206129e68339815191526119ff8133611d0f565b6000604051602001611a1090612809565b60408051808303601f1901815290829052805160209091012060025463988c515b60e01b83526004830182905285151560248401529092506001600160a01b03169063988c515b90604401610775565b6000336106e9818585611f11565b6000805160206129e6833981519152611a878133611d0f565b6002546040516001600160a01b03909116906355d9465590611aab90602001612809565b604051602081830303815290604052805190602001206040518263ffffffff1660e01b8152600401611adf91815260200190565b60206040518083038186803b158015611af757600080fd5b505afa158015611b0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2f919061281f565b611b4b5760405162461bcd60e51b8152600401610ab290612889565b604051771c995dd85c991cd25b9d195c995cdd14195c94195c9a5bd960421b602082015260009060380161072a565b6000806040516020016106429067706f6f6c4665657360c01b815260080190565b600082815260208190526040902060010154611bb78133611d0f565b610a418383612163565b600080604051602001610642907018dbdb9d1c9a589d5d1a5bdb931a5b5a5d607a1b815260110190565b6001600160a01b038316611c4d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610ab2565b6001600160a01b038216611cae5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610ab2565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b611d19828261191c565b610ac557611d31816001600160a01b031660146123f5565b611d3c8360206123f5565b604051602001611d4d9291906128c0565b60408051601f198184030181529082905262461bcd60e51b8252610ab2916004016125e7565b60008082604051602001611d879190612935565b60408051808303601f190181529082905280516020909101206002546315485dd960e11b8352600483018290529092506000916001600160a01b0390911690632a90bbb29060240160206040518083038186803b158015611de757600080fd5b505afa158015611dfb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e1f919061296e565b90506001600160a01b03811615611e785760405162461bcd60e51b815260206004820152601b60248201527f436f6e74726163742061646472657373206e6f7420666f756e642e00000000006044820152606401610ab2565b9392505050565b6001600160a01b038381166000908152600460209081526040808320938616835292905220546000198114611f0b5781811015611efe5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610ab2565b611f0b8484848403611beb565b50505050565b6001600160a01b038316611f755760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610ab2565b6001600160a01b038216611fd75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610ab2565b6001600160a01b0383166000908152600360205260409020548181101561204f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610ab2565b6001600160a01b0380851660009081526003602052604080822085850390559185168152908120805484929061208690849061283c565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516120d291815260200190565b60405180910390a3611f0b565b6120e9828261191c565b610ac5576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905561211f3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61216d828261191c565b15610ac5576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b03821661221e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610ab2565b8060056000828254612230919061283c565b90915550506001600160a01b0382166000908152600360205260408120805483929061225d90849061283c565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0382166123075760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610ab2565b6001600160a01b0382166000908152600360205260409020548181101561237b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610ab2565b6001600160a01b03831660009081526003602052604081208383039055600580548492906123aa90849061298b565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b606060006124048360026127c8565b61240f90600261283c565b67ffffffffffffffff811115612427576124276129a2565b6040519080825280601f01601f191660200182016040528015612451576020820181803683370190505b509050600360fc1b8160008151811061246c5761246c6129b8565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061249b5761249b6129b8565b60200101906001600160f81b031916908160001a90535060006124bf8460026127c8565b6124ca90600161283c565b90505b6001811115612542576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106124fe576124fe6129b8565b1a60f81b828281518110612514576125146129b8565b60200101906001600160f81b031916908160001a90535060049490941c9361253b816129ce565b90506124cd565b508315611e785760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610ab2565b6000602082840312156125a357600080fd5b81356001600160e01b031981168114611e7857600080fd5b60005b838110156125d65781810151838201526020016125be565b83811115611f0b5750506000910152565b60208152600082518060208401526126068160408501602087016125bb565b601f01601f19169190910160400192915050565b6001600160a01b038116811461262f57600080fd5b50565b6000806040838503121561264557600080fd5b82356126508161261a565b946020939093013593505050565b60006020828403121561267057600080fd5b5035919050565b60008060006060848603121561268c57600080fd5b83356126978161261a565b925060208401356126a78161261a565b929592945050506040919091013590565b6000602082840312156126ca57600080fd5b8135611e788161261a565b600080604083850312156126e857600080fd5b8235915060208301356126fa8161261a565b809150509250929050565b801515811461262f57600080fd5b60006020828403121561272557600080fd5b8135611e7881612705565b6000806040838503121561274357600080fd5b823561274e8161261a565b915060208301356126fa8161261a565b600181811c9082168061277257607f821691505b6020821081141561279357634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156127ab57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156127e2576127e26127b2565b500290565b60008261280457634e487b7160e01b600052601260045260246000fd5b500490565b696973506f6f6c4c69766560b01b8152600a0190565b60006020828403121561283157600080fd5b8151611e7881612705565b6000821982111561284f5761284f6127b2565b500190565b6e636f6e74726163745f65786973747360881b815260609190911b6bffffffffffffffffffffffff1916600f82015260230190565b6020808252601d908201527f54686520706f6f6c2069732063757272656e746c7920636c6f7365642e000000604082015260600190565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516128f88160178501602088016125bb565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516129298160288401602088016125bb565b01602801949350505050565b70636f6e74726163745f5f6164647265737360781b8152600082516129618160118501602087016125bb565b9190910160110192915050565b60006020828403121561298057600080fd5b8151611e788161261a565b60008282101561299d5761299d6127b2565b500390565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000816129dd576129dd6127b2565b50600019019056fe41a01ec0a13b563fa452569e3fbb116366d217c2769aa1561822e65a617e3842a2646970667358221220c7c758780bfc1583b93ce8852f7995dd5dceb4dfd8028af77f57e49cd37acbc564736f6c63430008090033", + "sourceMap": "399:4134:3:-:0;;;598:160;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1978:113:7;;;;;;;;;;;-1:-1:-1;;;1978:113:7;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1978:113:7;;;;1701:1:6;1806:22;;1262:11:1;:55;;-1:-1:-1;;;;;;1262:55:1;-1:-1:-1;;;;;1262:55:1;;;;;1978:113:7;1262:55:1;1328:42;-1:-1:-1;1359:10:1;1328;:42::i;:::-;1381:36;715:25;1406:10;1381;:36::i;:::-;1428:21;:19;:21::i;:::-;-1:-1:-1;2044:13:7;;;;:5;;:13;;;;;:::i;:::-;-1:-1:-1;2067:17:7;;;;:7;;:17;;;;;:::i;:::-;-1:-1:-1;727:23:3::2;::::0;-1:-1:-1;;727:21:3::2;:23::i;:::-;598:160:::0;399:4134;;6257:110:4;6335:25;6346:4;6352:7;6335:10;:25::i;:::-;6257:110;;:::o;2532:269:1:-;2582:11;;2619:50;;-1:-1:-1;;;2619:50:1;;;567:30:14;-1:-1:-1;;;;;;2663:4:1;660:2:14;631:15;627:45;613:12;;;606:67;-1:-1:-1;;;;;2582:11:1;;;;:26;;689:12:14;;2619:50:1;;;-1:-1:-1;;2619:50:1;;;;;;;;;;2609:61;;2619:50;2609:61;;;;-1:-1:-1;;;;;;2582:95:1;;;;;;;;;;880:25:14;2672:4:1;921:18:14;;;914:50;853:18;;2582:95:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2688:11:1;;2728:48;;-1:-1:-1;;;2728:48:1;;;1278:31:14;-1:-1:-1;;;1325:12:14;;;1318:32;-1:-1:-1;;;;;2688:11:1;;;;-1:-1:-1;2688:29:1;;-1:-1:-1;1366:12:14;;2728:48:1;;;;-1:-1:-1;;2728:48:1;;;;;;;;;;2718:59;;2728:48;2718:59;;;;-1:-1:-1;;;;;;2688:105:1;;;;;;;;;;1563:25:14;2787:4:1;1604:18:14;;;1597:60;1536:18;;2688:105:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2532:269::o;898:273:3:-;950:11;;987:50;;-1:-1:-1;;;987:50:3;;;567:30:14;-1:-1:-1;;;;;;1031:4:3;660:2:14;631:15;627:45;613:12;;;606:67;-1:-1:-1;;;;;950:11:3;;;;:26;;689:12:14;;987:50:3;;;-1:-1:-1;;987:50:3;;;;;;;;;;977:61;;987:50;977:61;;;;-1:-1:-1;;;;;;950:95:3;;;;;;;;;;880:25:14;1040:4:3;921:18:14;;;914:50;853:18;;950:95:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1056:11:3;;1096:50;;-1:-1:-1;;;1096:50:3;;;1971:31:14;-1:-1:-1;;;2018:12:14;;;2011:34;-1:-1:-1;;;;;1056:11:3;;;;-1:-1:-1;1056:29:3;;-1:-1:-1;2061:12:14;;1096:50:3;1668:411:14;6861:233:4;2995:4;3018:12;;;;;;;;;;;-1:-1:-1;;;;;3018:29:4;;;;;;;;;;;;6939:149;;6982:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6982:29:4;;;;;;;;;:36;;-1:-1:-1;;6982:36:4;7014:4;6982:36;;;7064:12;719:10:10;;640:96;7064:12:4;-1:-1:-1;;;;;7037:40:4;7055:7;-1:-1:-1;;;;;7037:40:4;7049:4;7037:40;;;;;;;;;;6861:233;;:::o;399:4134:3:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;399:4134:3;;;-1:-1:-1;399:4134:3;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:318:14;112:6;165:2;153:9;144:7;140:23;136:32;133:52;;;181:1;178;171:12;133:52;207:16;;-1:-1:-1;;;;;252:31:14;;242:42;;232:70;;298:1;295;288:12;232:70;321:5;14:318;-1:-1:-1;;;14:318:14:o;2084:380::-;2163:1;2159:12;;;;2206;;;2227:61;;2281:4;2273:6;2269:17;2259:27;;2227:61;2334:2;2326:6;2323:14;2303:18;2300:38;2297:161;;;2380:10;2375:3;2371:20;2368:1;2361:31;2415:4;2412:1;2405:15;2443:4;2440:1;2433:15;2297:161;;2084:380;;;:::o;:::-;399:4134:3;;;;;;", + "deployedSourceMap": "399:4134:3:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2563:96;;;:::i;:::-;;;160:25:14;;;148:2;133:18;2563:96:3;;;;;;;;2620:202:4;;;;;;:::i;:::-;;:::i;:::-;;;652:14:14;;645:22;627:41;;615:2;600:18;2620:202:4;487:187:14;2156:98:7;;;:::i;:::-;;;;;;;:::i;6939:205:1:-;;;:::i;4433:197:7:-;;;;;;:::i;:::-;;:::i;3291:218:1:-;;;;;;:::i;:::-;;:::i;:::-;;1261:507:3;;;;;;:::i;:::-;;:::i;3244:106:7:-;3331:12;;3244:106;;6747:184:1;;;:::i;5192:286:7:-;;;;;;:::i;:::-;;:::i;4008:129:4:-;;;;;;:::i;:::-;4082:7;4108:12;;;;;;;;;;:22;;;;4008:129;2171:175:1;;;;;;:::i;:::-;;:::i;4387:145:4:-;;;;;;:::i;:::-;;:::i;3093:91:7:-;;;3175:2;3513:36:14;;3501:2;3486:18;3093:91:7;3371:184:14;5404:214:4;;;;;;:::i;:::-;;:::i;5873:236:7:-;;;;;;:::i;:::-;;:::i;1851:612:3:-;;;;;;:::i;:::-;;:::i;2738:563::-;;;;;;:::i;:::-;;:::i;3641:887::-;;;;;;:::i;:::-;;:::i;1991:172:1:-;;;;;;:::i;:::-;;:::i;5115:350::-;;;;;;:::i;:::-;;:::i;7152:195::-;;;:::i;3583:359::-;;;;;;:::i;:::-;;:::i;7790:199::-;;;:::i;676:64::-;;-1:-1:-1;;;;;;;;;;;676:64:1;;3408:125:7;;;;;;:::i;:::-;-1:-1:-1;;;;;3508:18:7;3482:7;3508:18;;;:9;:18;;;;;;;3408:125;4638:361:1;;;;;;:::i;:::-;;:::i;7355:212::-;;;:::i;5781:477::-;;;;;;:::i;:::-;;:::i;2909:145:4:-;;;;;;:::i;:::-;;:::i;2367:102:7:-;;;:::i;2027:49:4:-;;2072:4;2027:49;;6596:429:7;;;;;;:::i;:::-;;:::i;2958:198:1:-;;;;;;:::i;:::-;;:::i;3729:189:7:-;;;;;;:::i;:::-;;:::i;4149:371:1:-;;;;;;:::i;:::-;;:::i;8001:185::-;;;:::i;4766:147:4:-;;;;;;:::i;:::-;;:::i;3976:149:7:-;;;;;;:::i;:::-;-1:-1:-1;;;;;4091:18:7;;;4065:7;4091:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;3976:149;7575:207:1;;;:::i;2563:96:3:-;2607:4;2630:21;2643:7;2630:12;:21::i;:::-;2623:28;;2563:96;:::o;2620:202:4:-;2705:4;-1:-1:-1;;;;;;2728:47:4;;-1:-1:-1;;;2728:47:4;;:87;;-1:-1:-1;;;;;;;;;;937:40:12;;;2779:36:4;2721:94;2620:202;-1:-1:-1;;2620:202:4:o;2156:98:7:-;2210:13;2242:5;2235:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2156:98;:::o;6939:205:1:-;6985:4;7001:22;7036:31;;;;;;-1:-1:-1;;;4909:26:14;;4960:2;4951:12;;4707:262;7036:31:1;;;;;;;-1:-1:-1;;7036:31:1;;;;;;;7026:42;;7036:31;7026:42;;;;7086:11;;-1:-1:-1;;;7086:42:1;;;;;160:25:14;;;7026:42:1;;-1:-1:-1;;;;;;7086:11:1;;:26;;133:18:14;;7086:42:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7079:49;;;6939:205;:::o;4433:197:7:-;4516:4;719:10:10;4570:32:7;719:10:10;4586:7:7;4595:6;4570:8;:32::i;:::-;-1:-1:-1;4619:4:7;;4433:197;-1:-1:-1;;;4433:197:7:o;3291:218:1:-;-1:-1:-1;;;;;;;;;;;2505:30:4;715:25:1;719:10:10;2505::4;:30::i;:::-;3406:31:1::1;::::0;-1:-1:-1;;;3406:31:1::1;::::0;::::1;4909:26:14::0;3371:22:1::1;::::0;4951:12:14;;3406:31:1::1;;::::0;;;;::::1;-1:-1:-1::0;;3406:31:1;;;;;;;3396:42;;3406:31:::1;3396:42:::0;;::::1;::::0;3449:11:::1;::::0;-1:-1:-1;;;3449:52:1;;::::1;::::0;::::1;5337:25:14::0;;;5378:18;;;5371:34;;;3396:42:1;;-1:-1:-1;;;;;;3449:11:1::1;::::0;:26:::1;::::0;5310:18:14;;3449:52:1::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;3360:149;3291:218:::0;;:::o;1261:507:3:-;1322:4;1338:40;1404:35;;;;;;;;;;;;;;-1:-1:-1;;;1404:35:3;;;:18;:35::i;:::-;1338:102;;1451:22;1476:17;-1:-1:-1;;;;;1476:35:3;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1451:62;;1524:23;1550:17;-1:-1:-1;;;;;1550:37:3;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1524:65;-1:-1:-1;1605:23:3;;1602:129;;1688:18;1653:32;1668:17;1653:12;:32;:::i;:::-;:53;;;;:::i;:::-;1644:63;1261:507;-1:-1:-1;;;;;1261:507:3:o;1602:129::-;-1:-1:-1;1748:12:3;;1261:507;-1:-1:-1;;;1261:507:3:o;6747:184:1:-;6791:4;6807:17;6837:30;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;6837:30:1;;;;;;;6827:41;;6837:30;6827:41;;;;6886:11;;-1:-1:-1;;;6886:37:1;;;;;160:25:14;;;6827:41:1;;-1:-1:-1;;;;;;6886:11:1;;:26;;133:18:14;;6886:37:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;5192:286:7:-;5319:4;719:10:10;5375:38:7;5391:4;719:10:10;5406:6:7;5375:15;:38::i;:::-;5423:27;5433:4;5439:2;5443:6;5423:9;:27::i;:::-;-1:-1:-1;5467:4:7;;5192:286;-1:-1:-1;;;;5192:286:7:o;2171:175:1:-;2072:4:4;2505:30;2072:4;719:10:10;2505::4;:30::i;:::-;2264:34:1::1;-1:-1:-1::0;;;;;;;;;;;2289:8:1::1;2264:10;:34::i;:::-;2314:24;::::0;-1:-1:-1;;;;;2314:24:1;::::1;::::0;::::1;::::0;;;::::1;2171:175:::0;;:::o;4387:145:4:-;4082:7;4108:12;;;;;;;;;;:22;;;2505:30;2516:4;719:10:10;2505::4;:30::i;:::-;4500:25:::1;4511:4;4517:7;4500:10;:25::i;:::-;4387:145:::0;;;:::o;5404:214::-;-1:-1:-1;;;;;5499:23:4;;719:10:10;5499:23:4;5491:83;;;;-1:-1:-1;;;5491:83:4;;6661:2:14;5491:83:4;;;6643:21:14;6700:2;6680:18;;;6673:30;6739:34;6719:18;;;6712:62;-1:-1:-1;;;6790:18:14;;;6783:45;6845:19;;5491:83:4;;;;;;;;;5585:26;5597:4;5603:7;5585:11;:26::i;:::-;5404:214;;:::o;5873:236:7:-;719:10:10;5961:4:7;6040:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;6040:27:7;;;;;;;;;;5961:4;;719:10:10;6015:66:7;;719:10:10;;6040:27:7;;:40;;6070:10;;6040:40;:::i;:::-;6015:8;:66::i;1851:612:3:-;1912:4;1928:40;1994:35;;;;;;;;;;;;;;-1:-1:-1;;;1994:35:3;;;:18;:35::i;:::-;1928:102;;2041:22;2066:17;-1:-1:-1;;;;;2066:35:3;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2041:62;;2114:23;2140:17;-1:-1:-1;;;;;2140:37:3;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2114:65;-1:-1:-1;2195:23:3;;2192:236;;2262:1;2242:17;:21;2234:93;;;;-1:-1:-1;;;2234:93:3;;7210:2:14;2234:93:3;;;7192:21:14;7249:2;7229:18;;;7222:30;7288:34;7268:18;;;7261:62;7359:29;7339:18;;;7332:57;7406:19;;2234:93:3;7008:423:14;2234:93:3;2385:17;2351:31;2364:18;2351:10;:31;:::i;2738:563::-;1809:11:1;;1846:47;;-1:-1:-1;;;;;1809:11:1;;;;:26;;1846:47;;1882:10;;1846:47;;;:::i;:::-;;;;;;;;;;;;;1836:58;;;;;;1809:86;;;;;;;;;;;;;160:25:14;;148:2;133:18;;14:177;1809:86:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1801:124;;;;-1:-1:-1;;;1801:124:1;;8021:2:14;1801:124:1;;;8003:21:14;8060:2;8040:18;;;8033:30;-1:-1:-1;;;8079:18:14;;;8072:55;8144:18;;1801:124:1;7819:349:14;1801:124:1;2855:43:3::1;::::0;-1:-1:-1;;;2855:43:3::1;::::0;::::1;8375:38:14::0;2820:22:3::1;::::0;8429:12:14;;2855:43:3::1;;;;;;;;;;;;2845:54;;;;;;2820:79;;2931:1;2918:10;:14;2910:70;;;::::0;-1:-1:-1;;;2910:70:3;;8654:2:14;2910:70:3::1;::::0;::::1;8636:21:14::0;8693:2;8673:18;;;8666:30;8732:34;8712:18;;;8705:62;-1:-1:-1;;;8783:18:14;;;8776:40;8833:19;;2910:70:3::1;8452:406:14::0;2910:70:3::1;3085:16;3104:26;3119:10;3104:14;:26::i;:::-;3085:45;;3141:23;3147:3;3152:11;3141:5;:23::i;:::-;3175:11;::::0;:60:::1;::::0;-1:-1:-1;;;3175:60:3;;::::1;::::0;::::1;5337:25:14::0;;;5378:18;;;5371:34;;;-1:-1:-1;;;;;3175:11:3;;::::1;::::0;:31:::1;::::0;5310:18:14;;3175:60:3::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;3251:42:3::1;::::0;;5337:25:14;;;5393:2;5378:18;;5371:34;;;-1:-1:-1;;;;;3251:42:3;::::1;::::0;-1:-1:-1;3251:42:3::1;::::0;-1:-1:-1;5310:18:14;3251:42:3::1;;;;;;;;2809:492;;2738:563:::0;;:::o;3641:887::-;1809:11:1;;1846:47;;-1:-1:-1;;;;;1809:11:1;;;;:26;;1846:47;;1882:10;;1846:47;;;:::i;:::-;;;;;;;;;;;;;1836:58;;;;;;1809:86;;;;;;;;;;;;;160:25:14;;148:2;133:18;;14:177;1809:86:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1801:124;;;;-1:-1:-1;;;1801:124:1;;8021:2:14;1801:124:1;;;8003:21:14;8060:2;8040:18;;;8033:30;-1:-1:-1;;;8079:18:14;;;8072:55;8144:18;;1801:124:1;7819:349:14;1801:124:1;3712:40:3::1;3778:35;;;;;;;;;;;;;;-1:-1:-1::0;;;3778:35:3::1;;::::0;:18:::1;:35::i;:::-;3712:102;;3825:22;3860:43;;;;;;-1:-1:-1::0;;;8375:38:14;;8438:2;8429:12;;8173:274;3860:43:3::1;;;;;;;;;;;;;3850:54;;;;;;3825:79;;3948:1;3933:12;:16;3925:72;;;::::0;-1:-1:-1;;;3925:72:3;;9318:2:14;3925:72:3::1;::::0;::::1;9300:21:14::0;9357:2;9337:18;;;9330:30;9396:34;9376:18;;;9369:62;-1:-1:-1;;;9447:18:14;;;9440:40;9497:19;;3925:72:3::1;9116:406:14::0;3925:72:3::1;4026:10;4040:1;3508:18:7::0;;;:9;:18;;;;;;4016:25:3::1;4008:64;;;::::0;-1:-1:-1;;;4008:64:3;;9729:2:14;4008:64:3::1;::::0;::::1;9711:21:14::0;9768:2;9748:18;;;9741:30;9807:29;9787:18;;;9780:57;9854:18;;4008:64:3::1;9527:351:14::0;4008:64:3::1;4179:14;4196:26;4209:12;4196;:26::i;:::-;4179:43;;4253:17;-1:-1:-1::0;;;;;4253:35:3::1;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4241:9;:49;4233:119;;;::::0;-1:-1:-1;;;4233:119:3;;10085:2:14;4233:119:3::1;::::0;::::1;10067:21:14::0;10124:2;10104:18;;;10097:30;10163:34;10143:18;;;10136:62;10234:27;10214:18;;;10207:55;10279:19;;4233:119:3::1;9883:421:14::0;4233:119:3::1;4363:11;::::0;:61:::1;::::0;-1:-1:-1;;;4363:61:3;;::::1;::::0;::::1;5337:25:14::0;;;5378:18;;;5371:34;;;-1:-1:-1;;;;;4363:11:3;;::::1;::::0;:31:::1;::::0;5310:18:14;;4363:61:3::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;4435:31;4441:10;4453:12;4435:5;:31::i;:::-;4482:38;::::0;160:25:14;;;4495:10:3::1;::::0;4482:38:::1;::::0;148:2:14;133:18;4482:38:3::1;14:177:14::0;1991:172:1;2072:4:4;2505:30;2072:4;719:10:10;2505::4;:30::i;:::-;2081:33:1::1;-1:-1:-1::0;;;;;;;;;;;2105:8:1::1;2081:9;:33::i;:::-;2130:25;::::0;-1:-1:-1;;;;;2130:25:1;::::1;::::0;::::1;::::0;;;::::1;1991:172:::0;;:::o;5115:350::-;-1:-1:-1;;;;;;;;;;;2505:30:4;715:25:1;719:10:10;2505::4;:30::i;:::-;5211:11:1::1;::::0;5248:30:::1;::::0;-1:-1:-1;;;;;5211:11:1;;::::1;::::0;:26:::1;::::0;5248:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;5238:41;;;;;;5211:69;;;;;;;;;;;;;160:25:14::0;;148:2;133:18;;14:177;5211:69:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5203:111;;;;-1:-1:-1::0;;;5203:111:1::1;;;;;;;:::i;:::-;5357:35;::::0;-1:-1:-1;;;5357:35:1::1;::::0;::::1;10869:30:14::0;5325:19:1::1;::::0;10915:12:14;;5357:35:1::1;10667:266:14::0;7152:195:1;7202:4;7218:18;7249:33;;;;;;-1:-1:-1;;;11140:28:14;;11193:2;11184:12;;10938:264;3583:359:1;-1:-1:-1;;;;;;;;;;;2505:30:4;715:25:1;719:10:10;2505::4;:30::i;:::-;3681:11:1::1;::::0;3718:30:::1;::::0;-1:-1:-1;;;;;3681:11:1;;::::1;::::0;:26:::1;::::0;3718:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;3708:41;;;;;;3681:69;;;;;;;;;;;;;160:25:14::0;;148:2;133:18;;14:177;3681:69:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3673:111;;;;-1:-1:-1::0;;;3673:111:1::1;;;;;;;:::i;:::-;3826:33;::::0;;-1:-1:-1;;;3826:33:1::1;::::0;;::::1;11140:28:14::0;;;;3826:33:1;;;;;;;;;11184:12:14;;;;3826:33:1;;;3816:44;;;::::1;::::0;3871:11:::1;::::0;-1:-1:-1;;;;;3871:11:1::1;:26;3816:44:::0;3910:23:::1;:14:::0;3927:6:::1;3910:23;:::i;:::-;3871:63;::::0;-1:-1:-1;;;;;;3871:63:1::1;::::0;;;;;;::::1;::::0;::::1;5337:25:14::0;;;;5378:18;;;5371:34;5310:18;;3871:63:1::1;5163:248:14::0;7790:199:1;7840:4;7856:19;7888:35;;;;;;-1:-1:-1;;;10869:30:14;;10924:2;10915:12;;10667:266;4638:361:1;-1:-1:-1;;;;;;;;;;;2505:30:4;715:25:1;719:10:10;2505::4;:30::i;:::-;4737:11:1::1;::::0;4774:30:::1;::::0;-1:-1:-1;;;;;4737:11:1;;::::1;::::0;:26:::1;::::0;4774:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;4764:41;;;;;;4737:69;;;;;;;;;;;;;160:25:14::0;;148:2;133:18;;14:177;4737:69:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4729:111;;;;-1:-1:-1::0;;;4729:111:1::1;;;;;;;:::i;:::-;4885:37;::::0;-1:-1:-1;;;4885:37:1::1;::::0;::::1;11409:32:14::0;4851:21:1::1;::::0;11457:12:14;;4885:37:1::1;11207:268:14::0;7355:212:1;7405:4;7421:21;7455:44;;;;;;-1:-1:-1;;;11682:39:14;;11746:2;11737:12;;11480:275;5781:477:1;-1:-1:-1;;;;;;;;;;;2505:30:4;715:25:1;719:10:10;2505::4;:30::i;:::-;5867:11:1::1;::::0;5904:30:::1;::::0;-1:-1:-1;;;;;5867:11:1;;::::1;::::0;:26:::1;::::0;5904:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;5894:41;;;;;;5867:69;;;;;;;;;;;;;160:25:14::0;;148:2;133:18;;14:177;5867:69:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5859:111;;;;-1:-1:-1::0;;;5859:111:1::1;;;;;;;:::i;:::-;6013:28;::::0;-1:-1:-1;;;6013:28:1::1;::::0;::::1;11962:23:14::0;5981:19:1::1;::::0;12001:11:14;;6013:28:1::1;;;;;;;;;;;;6003:39;;;;;;5981:61;;6053:22;6088:31;;;;;;-1:-1:-1::0;;;12225:26:14;;12276:2;12267:12;;12023:262;6088:31:1::1;;::::0;;;;::::1;-1:-1:-1::0;;6088:31:1;;;;;;;6078:42;;6088:31:::1;6078:42:::0;;::::1;::::0;6141:11:::1;::::0;-1:-1:-1;;;6141:50:1;;::::1;::::0;::::1;5337:25:14::0;;;5378:18;;;5371:34;;;6078:42:1;;-1:-1:-1;;;;;;6141:11:1::1;::::0;:26:::1;::::0;5310:18:14;;6141:50:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;6202:11:1::1;::::0;:48:::1;::::0;-1:-1:-1;;;6202:48:1;;::::1;::::0;::::1;12458:25:14::0;;;6202:11:1;12499:18:14;;;12492:50;-1:-1:-1;;;;;6202:11:1;;::::1;::::0;-1:-1:-1;6202:26:1::1;::::0;-1:-1:-1;12431:18:14;;6202:48:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;5848:410;;5781:477:::0;;:::o;2909:145:4:-;2995:4;3018:12;;;;;;;;;;;-1:-1:-1;;;;;3018:29:4;;;;;;;;;;;;;;;2909:145::o;2367:102:7:-;2423:13;2455:7;2448:14;;;;;:::i;6596:429::-;719:10:10;6689:4:7;6770:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;6770:27:7;;;;;;;;;;6689:4;;719:10:10;6815:35:7;;;;6807:85;;;;-1:-1:-1;;;6807:85:7;;12755:2:14;6807:85:7;;;12737:21:14;12794:2;12774:18;;;12767:30;12833:34;12813:18;;;12806:62;-1:-1:-1;;;12884:18:14;;;12877:35;12929:19;;6807:85:7;12553:401:14;6807:85:7;6926:60;6935:5;6942:7;6970:15;6951:16;:34;6926:8;:60::i;2958:198:1:-;-1:-1:-1;;;;;;;;;;;2505:30:4;715:25:1;719:10:10;2505::4;:30::i;:::-;3032:17:1::1;3062:30;;;;;;;:::i;:::-;;::::0;;;;::::1;-1:-1:-1::0;;3062:30:1;;;;;;;3052:41;;3062:30:::1;3052:41:::0;;::::1;::::0;3104:11:::1;::::0;-1:-1:-1;;;3104:44:1;;::::1;::::0;::::1;12458:25:14::0;;;12526:14;;12519:22;12499:18;;;12492:50;3052:41:1;;-1:-1:-1;;;;;;3104:11:1::1;::::0;:26:::1;::::0;12431:18:14;;3104:44:1::1;12290:258:14::0;3729:189:7;3808:4;719:10:10;3862:28:7;719:10:10;3879:2:7;3883:6;3862:9;:28::i;4149:371:1:-;-1:-1:-1;;;;;;;;;;;2505:30:4;715:25:1;719:10:10;2505::4;:30::i;:::-;4249:11:1::1;::::0;4286:30:::1;::::0;-1:-1:-1;;;;;4249:11:1;;::::1;::::0;:26:::1;::::0;4286:30:::1;::::0;::::1;;;:::i;:::-;;;;;;;;;;;;;4276:41;;;;;;4249:69;;;;;;;;;;;;;160:25:14::0;;148:2;133:18;;14:177;4249:69:1::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4241:111;;;;-1:-1:-1::0;;;4241:111:1::1;;;;;;;:::i;:::-;4397:44;::::0;-1:-1:-1;;;4397:44:1::1;::::0;::::1;11682:39:14::0;4363:21:1::1;::::0;11737:12:14;;4397:44:1::1;11480:275:14::0;8001:185:1;8044:4;8060:19;8092:28;;;;;;-1:-1:-1;;;11962:23:14;;12010:1;12001:11;;11760:258;4766:147:4;4082:7;4108:12;;;;;;;;;;:22;;;2505:30;2516:4;719:10:10;2505::4;:30::i;:::-;4880:26:::1;4892:4;4898:7;4880:11;:26::i;7575:207:1:-:0;7627:4;7643:21;7677:37;;;;;;-1:-1:-1;;;11409:32:14;;11466:2;11457:12;;11207:268;10123:370:7;-1:-1:-1;;;;;10254:19:7;;10246:68;;;;-1:-1:-1;;;10246:68:7;;13161:2:14;10246:68:7;;;13143:21:14;13200:2;13180:18;;;13173:30;13239:34;13219:18;;;13212:62;-1:-1:-1;;;13290:18:14;;;13283:34;13334:19;;10246:68:7;12959:400:14;10246:68:7;-1:-1:-1;;;;;10332:21:7;;10324:68;;;;-1:-1:-1;;;10324:68:7;;13566:2:14;10324:68:7;;;13548:21:14;13605:2;13585:18;;;13578:30;13644:34;13624:18;;;13617:62;-1:-1:-1;;;13695:18:14;;;13688:32;13737:19;;10324:68:7;13364:398:14;10324:68:7;-1:-1:-1;;;;;10403:18:7;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;10454:32;;160:25:14;;;10454:32:7;;133:18:14;10454:32:7;;;;;;;10123:370;;;:::o;3335:492:4:-;3423:22;3431:4;3437:7;3423;:22::i;:::-;3418:403;;3606:41;3634:7;-1:-1:-1;;;;;3606:41:4;3644:2;3606:19;:41::i;:::-;3718:38;3746:4;3753:2;3718:19;:38::i;:::-;3513:265;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3513:265:4;;;;;;;;;;-1:-1:-1;;;3461:349:4;;;;;;;:::i;6356:383:1:-;6435:7;6454:18;6523:13;6485:52;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;6485:52:1;;;;;;;6475:63;;6485:52;6475:63;;;;6575:11;;-1:-1:-1;;;6575:41:1;;;;;160:25:14;;;6475:63:1;;-1:-1:-1;6549:23:1;;-1:-1:-1;;;;;6575:11:1;;;;:29;;133:18:14;;6575:41:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6549:67;-1:-1:-1;;;;;;6635:31:1;;;6627:71;;;;-1:-1:-1;;;6627:71:1;;15457:2:14;6627:71:1;;;15439:21:14;15496:2;15476:18;;;15469:30;15535:29;15515:18;;;15508:57;15582:18;;6627:71:1;15255:351:14;6627:71:1;6716:15;6356:383;-1:-1:-1;;;6356:383:1:o;10770:441:7:-;-1:-1:-1;;;;;4091:18:7;;;10900:24;4091:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;10966:37:7;;10962:243;;11047:6;11027:16;:26;;11019:68;;;;-1:-1:-1;;;11019:68:7;;15813:2:14;11019:68:7;;;15795:21:14;15852:2;15832:18;;;15825:30;15891:31;15871:18;;;15864:59;15940:18;;11019:68:7;15611:353:14;11019:68:7;11129:51;11138:5;11145:7;11173:6;11154:16;:25;11129:8;:51::i;:::-;10890:321;10770:441;;;:::o;7488:651::-;-1:-1:-1;;;;;7614:18:7;;7606:68;;;;-1:-1:-1;;;7606:68:7;;16171:2:14;7606:68:7;;;16153:21:14;16210:2;16190:18;;;16183:30;16249:34;16229:18;;;16222:62;-1:-1:-1;;;16300:18:14;;;16293:35;16345:19;;7606:68:7;15969:401:14;7606:68:7;-1:-1:-1;;;;;7692:16:7;;7684:64;;;;-1:-1:-1;;;7684:64:7;;16577:2:14;7684:64:7;;;16559:21:14;16616:2;16596:18;;;16589:30;16655:34;16635:18;;;16628:62;-1:-1:-1;;;16706:18:14;;;16699:33;16749:19;;7684:64:7;16375:399:14;7684:64:7;-1:-1:-1;;;;;7830:15:7;;7808:19;7830:15;;;:9;:15;;;;;;7863:21;;;;7855:72;;;;-1:-1:-1;;;7855:72:7;;16981:2:14;7855:72:7;;;16963:21:14;17020:2;17000:18;;;16993:30;17059:34;17039:18;;;17032:62;-1:-1:-1;;;17110:18:14;;;17103:36;17156:19;;7855:72:7;16779:402:14;7855:72:7;-1:-1:-1;;;;;7961:15:7;;;;;;;:9;:15;;;;;;7979:20;;;7961:38;;8019:13;;;;;;;;:23;;7993:6;;7961:15;8019:23;;7993:6;;8019:23;:::i;:::-;;;;;;;;8073:2;-1:-1:-1;;;;;8058:26:7;8067:4;-1:-1:-1;;;;;8058:26:7;;8077:6;8058:26;;;;160:25:14;;148:2;133:18;;14:177;8058:26:7;;;;;;;;8095:37;4387:145:4;6861:233;6944:22;6952:4;6958:7;6944;:22::i;:::-;6939:149;;6982:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6982:29:4;;;;;;;;;:36;;-1:-1:-1;;6982:36:4;7014:4;6982:36;;;7064:12;719:10:10;;640:96;7064:12:4;-1:-1:-1;;;;;7037:40:4;7055:7;-1:-1:-1;;;;;7037:40:4;7049:4;7037:40;;;;;;;;;;6861:233;;:::o;7219:234::-;7302:22;7310:4;7316:7;7302;:22::i;:::-;7298:149;;;7372:5;7340:12;;;;;;;;;;;-1:-1:-1;;;;;7340:29:4;;;;;;;;;;:37;;-1:-1:-1;;7340:37:4;;;7396:40;719:10:10;;7340:12:4;;7396:40;;7372:5;7396:40;7219:234;;:::o;8415:389:7:-;-1:-1:-1;;;;;8498:21:7;;8490:65;;;;-1:-1:-1;;;8490:65:7;;17388:2:14;8490:65:7;;;17370:21:14;17427:2;17407:18;;;17400:30;17466:33;17446:18;;;17439:61;17517:18;;8490:65:7;17186:355:14;8490:65:7;8642:6;8626:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;8658:18:7;;;;;;:9;:18;;;;;:28;;8680:6;;8658:18;:28;;8680:6;;8658:28;:::i;:::-;;;;-1:-1:-1;;8701:37:7;;160:25:14;;;-1:-1:-1;;;;;8701:37:7;;;8718:1;;8701:37;;148:2:14;133:18;8701:37:7;;;;;;;5404:214:4;;:::o;9124:576:7:-;-1:-1:-1;;;;;9207:21:7;;9199:67;;;;-1:-1:-1;;;9199:67:7;;17748:2:14;9199:67:7;;;17730:21:14;17787:2;17767:18;;;17760:30;17826:34;17806:18;;;17799:62;-1:-1:-1;;;17877:18:14;;;17870:31;17918:19;;9199:67:7;17546:397:14;9199:67:7;-1:-1:-1;;;;;9362:18:7;;9337:22;9362:18;;;:9;:18;;;;;;9398:24;;;;9390:71;;;;-1:-1:-1;;;9390:71:7;;18150:2:14;9390:71:7;;;18132:21:14;18189:2;18169:18;;;18162:30;18228:34;18208:18;;;18201:62;-1:-1:-1;;;18279:18:14;;;18272:32;18321:19;;9390:71:7;17948:398:14;9390:71:7;-1:-1:-1;;;;;9495:18:7;;;;;;:9;:18;;;;;9516:23;;;9495:44;;9559:12;:22;;9533:6;;9495:18;9559:22;;9533:6;;9559:22;:::i;:::-;;;;-1:-1:-1;;9597:37:7;;160:25:14;;;9623:1:7;;-1:-1:-1;;;;;9597:37:7;;;;;148:2:14;133:18;9597:37:7;;;;;;;4387:145:4;;;:::o;1588:441:11:-;1663:13;1688:19;1720:10;1724:6;1720:1;:10;:::i;:::-;:14;;1733:1;1720:14;:::i;:::-;1710:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1710:25:11;;1688:47;;-1:-1:-1;;;1745:6:11;1752:1;1745:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1745:15:11;;;;;;;;;-1:-1:-1;;;1770:6:11;1777:1;1770:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1770:15:11;;;;;;;;-1:-1:-1;1800:9:11;1812:10;1816:6;1812:1;:10;:::i;:::-;:14;;1825:1;1812:14;:::i;:::-;1800:26;;1795:132;1832:1;1828;:5;1795:132;;;-1:-1:-1;;;1879:5:11;1887:3;1879:11;1866:25;;;;;;;:::i;:::-;;;;1854:6;1861:1;1854:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;1854:37:11;;;;;;;;-1:-1:-1;1915:1:11;1905:11;;;;;1835:3;;;:::i;:::-;;;1795:132;;;-1:-1:-1;1944:10:11;;1936:55;;;;-1:-1:-1;;;1936:55:11;;19088:2:14;1936:55:11;;;19070:21:14;;;19107:18;;;19100:30;19166:34;19146:18;;;19139:62;19218:18;;1936:55:11;18886:356:14;196:286;254:6;307:2;295:9;286:7;282:23;278:32;275:52;;;323:1;320;313:12;275:52;349:23;;-1:-1:-1;;;;;;401:32:14;;391:43;;381:71;;448:1;445;438:12;679:258;751:1;761:113;775:6;772:1;769:13;761:113;;;851:11;;;845:18;832:11;;;825:39;797:2;790:10;761:113;;;892:6;889:1;886:13;883:48;;;-1:-1:-1;;927:1:14;909:16;;902:27;679:258::o;942:383::-;1091:2;1080:9;1073:21;1054:4;1123:6;1117:13;1166:6;1161:2;1150:9;1146:18;1139:34;1182:66;1241:6;1236:2;1225:9;1221:18;1216:2;1208:6;1204:15;1182:66;:::i;:::-;1309:2;1288:15;-1:-1:-1;;1284:29:14;1269:45;;;;1316:2;1265:54;;942:383;-1:-1:-1;;942:383:14:o;1330:131::-;-1:-1:-1;;;;;1405:31:14;;1395:42;;1385:70;;1451:1;1448;1441:12;1385:70;1330:131;:::o;1466:315::-;1534:6;1542;1595:2;1583:9;1574:7;1570:23;1566:32;1563:52;;;1611:1;1608;1601:12;1563:52;1650:9;1637:23;1669:31;1694:5;1669:31;:::i;:::-;1719:5;1771:2;1756:18;;;;1743:32;;-1:-1:-1;;;1466:315:14:o;1786:180::-;1845:6;1898:2;1886:9;1877:7;1873:23;1869:32;1866:52;;;1914:1;1911;1904:12;1866:52;-1:-1:-1;1937:23:14;;1786:180;-1:-1:-1;1786:180:14:o;1971:456::-;2048:6;2056;2064;2117:2;2105:9;2096:7;2092:23;2088:32;2085:52;;;2133:1;2130;2123:12;2085:52;2172:9;2159:23;2191:31;2216:5;2191:31;:::i;:::-;2241:5;-1:-1:-1;2298:2:14;2283:18;;2270:32;2311:33;2270:32;2311:33;:::i;:::-;1971:456;;2363:7;;-1:-1:-1;;;2417:2:14;2402:18;;;;2389:32;;1971:456::o;2799:247::-;2858:6;2911:2;2899:9;2890:7;2886:23;2882:32;2879:52;;;2927:1;2924;2917:12;2879:52;2966:9;2953:23;2985:31;3010:5;2985:31;:::i;3051:315::-;3119:6;3127;3180:2;3168:9;3159:7;3155:23;3151:32;3148:52;;;3196:1;3193;3186:12;3148:52;3232:9;3219:23;3209:33;;3292:2;3281:9;3277:18;3264:32;3305:31;3330:5;3305:31;:::i;:::-;3355:5;3345:15;;;3051:315;;;;;:::o;3560:118::-;3646:5;3639:13;3632:21;3625:5;3622:32;3612:60;;3668:1;3665;3658:12;3683:241;3739:6;3792:2;3780:9;3771:7;3767:23;3763:32;3760:52;;;3808:1;3805;3798:12;3760:52;3847:9;3834:23;3866:28;3888:5;3866:28;:::i;3929:388::-;3997:6;4005;4058:2;4046:9;4037:7;4033:23;4029:32;4026:52;;;4074:1;4071;4064:12;4026:52;4113:9;4100:23;4132:31;4157:5;4132:31;:::i;:::-;4182:5;-1:-1:-1;4239:2:14;4224:18;;4211:32;4252:33;4211:32;4252:33;:::i;4322:380::-;4401:1;4397:12;;;;4444;;;4465:61;;4519:4;4511:6;4507:17;4497:27;;4465:61;4572:2;4564:6;4561:14;4541:18;4538:38;4535:161;;;4618:10;4613:3;4609:20;4606:1;4599:31;4653:4;4650:1;4643:15;4681:4;4678:1;4671:15;4535:161;;4322:380;;;:::o;4974:184::-;5044:6;5097:2;5085:9;5076:7;5072:23;5068:32;5065:52;;;5113:1;5110;5103:12;5065:52;-1:-1:-1;5136:16:14;;4974:184;-1:-1:-1;4974:184:14:o;5416:127::-;5477:10;5472:3;5468:20;5465:1;5458:31;5508:4;5505:1;5498:15;5532:4;5529:1;5522:15;5548:168;5588:7;5654:1;5650;5646:6;5642:14;5639:1;5636:21;5631:1;5624:9;5617:17;5613:45;5610:71;;;5661:18;;:::i;:::-;-1:-1:-1;5701:9:14;;5548:168::o;5721:217::-;5761:1;5787;5777:132;;5831:10;5826:3;5822:20;5819:1;5812:31;5866:4;5863:1;5856:15;5894:4;5891:1;5884:15;5777:132;-1:-1:-1;5923:9:14;;5721:217::o;5943:261::-;-1:-1:-1;;;6145:25:14;;6195:2;6186:12;;5943:261::o;6209:245::-;6276:6;6329:2;6317:9;6308:7;6304:23;6300:32;6297:52;;;6345:1;6342;6335:12;6297:52;6377:9;6371:16;6396:28;6418:5;6396:28;:::i;6875:128::-;6915:3;6946:1;6942:6;6939:1;6936:13;6933:39;;;6952:18;;:::i;:::-;-1:-1:-1;6988:9:14;;6875:128::o;7436:378::-;-1:-1:-1;;;7666:30:14;;7734:2;7730:15;;;;-1:-1:-1;;7726:53:14;7721:2;7712:12;;7705:75;7805:2;7796:12;;7436:378::o;10309:353::-;10511:2;10493:21;;;10550:2;10530:18;;;10523:30;10589:31;10584:2;10569:18;;10562:59;10653:2;10638:18;;10309:353::o;13767:786::-;14178:25;14173:3;14166:38;14148:3;14233:6;14227:13;14249:62;14304:6;14299:2;14294:3;14290:12;14283:4;14275:6;14271:17;14249:62;:::i;:::-;-1:-1:-1;;;14370:2:14;14330:16;;;14362:11;;;14355:40;14420:13;;14442:63;14420:13;14491:2;14483:11;;14476:4;14464:17;;14442:63;:::i;:::-;14525:17;14544:2;14521:26;;13767:786;-1:-1:-1;;;;13767:786:14:o;14558:436::-;-1:-1:-1;;;14815:3:14;14808:32;14790:3;14869:6;14863:13;14885:62;14940:6;14935:2;14930:3;14926:12;14919:4;14911:6;14907:17;14885:62;:::i;:::-;14967:16;;;;14985:2;14963:25;;14558:436;-1:-1:-1;;14558:436:14:o;14999:251::-;15069:6;15122:2;15110:9;15101:7;15097:23;15093:32;15090:52;;;15138:1;15135;15128:12;15090:52;15170:9;15164:16;15189:31;15214:5;15189:31;:::i;18351:125::-;18391:4;18419:1;18416;18413:8;18410:34;;;18424:18;;:::i;:::-;-1:-1:-1;18461:9:14;;18351:125::o;18481:127::-;18542:10;18537:3;18533:20;18530:1;18523:31;18573:4;18570:1;18563:15;18597:4;18594:1;18587:15;18613:127;18674:10;18669:3;18665:20;18662:1;18655:31;18705:4;18702:1;18695:15;18729:4;18726:1;18719:15;18745:136;18784:3;18812:5;18802:39;;18821:18;;:::i;:::-;-1:-1:-1;;;18857:18:14;;18745:136::o", + "sourcePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/rwETHToken.sol", + "compiler": { + "name": "solc", + "version": "0.8.9+commit.e5eed63a" + }, + "ast": { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/rwETHToken.sol", + "exportedSymbols": { + "AccessControl": [ + 1360 + ], + "Context": [ + 2186 + ], + "DataStorageInterface": [ + 113 + ], + "ERC165": [ + 2413 + ], + "ERC20": [ + 2061 + ], + "IAccessControl": [ + 1433 + ], + "IERC165": [ + 2425 + ], + "IERC20": [ + 2139 + ], + "IERC20Metadata": [ + 2164 + ], + "PoolBase": [ + 720 + ], + "ReentrancyGuard": [ + 1473 + ], + "Strings": [ + 2389 + ], + "TokenBalancesInterface": [ + 738 + ], + "rwETHToken": [ + 1051 + ] + }, + "id": 1052, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 740, + "literals": [ + "solidity", + "0.8", + ".9" + ], + "nodeType": "PragmaDirective", + "src": "33:22:3" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol", + "file": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/node_modules/@openzeppelin/contracts/token/ERC20/ERC20.sol", + "id": 741, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1052, + "sourceUnit": 2062, + "src": "200:129:3", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/PoolBase.sol", + "file": "./PoolBase.sol", + "id": 742, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1052, + "sourceUnit": 721, + "src": "331:24:3", + "symbolAliases": [], + "unitAlias": "" + }, + { + "absolutePath": "c:/Users/Lior/Desktop/Index/Coding Software/GitHub/challenge/contracts/TokenBalancesInterface.sol", + "file": "./TokenBalancesInterface.sol", + "id": 743, + "nameLocation": "-1:-1:-1", + "nodeType": "ImportDirective", + "scope": 1052, + "sourceUnit": 739, + "src": "357:38:3", + "symbolAliases": [], + "unitAlias": "" + }, + { + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 744, + "name": "PoolBase", + "nodeType": "IdentifierPath", + "referencedDeclaration": 720, + "src": "422:8:3" + }, + "id": 745, + "nodeType": "InheritanceSpecifier", + "src": "422:8:3" + }, + { + "baseName": { + "id": 746, + "name": "ERC20", + "nodeType": "IdentifierPath", + "referencedDeclaration": 2061, + "src": "432:5:3" + }, + "id": 747, + "nodeType": "InheritanceSpecifier", + "src": "432:5:3" + } + ], + "canonicalName": "rwETHToken", + "contractDependencies": [], + "contractKind": "contract", + "fullyImplemented": true, + "id": 1051, + "linearizedBaseContracts": [ + 1051, + 2061, + 2164, + 2139, + 720, + 1473, + 1360, + 2413, + 2425, + 1433, + 2186 + ], + "name": "rwETHToken", + "nameLocation": "408:10:3", + "nodeType": "ContractDefinition", + "nodes": [ + { + "anonymous": false, + "id": 755, + "name": "TokensMinted", + "nameLocation": "453:12:3", + "nodeType": "EventDefinition", + "parameters": { + "id": 754, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 749, + "indexed": true, + "mutability": "mutable", + "name": "_to", + "nameLocation": "482:3:3", + "nodeType": "VariableDeclaration", + "scope": 755, + "src": "466:19:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 748, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "466:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 751, + "indexed": false, + "mutability": "mutable", + "name": "_rwEthAmount", + "nameLocation": "492:12:3", + "nodeType": "VariableDeclaration", + "scope": 755, + "src": "487:17:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 750, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "487:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 753, + "indexed": false, + "mutability": "mutable", + "name": "_ethAmount", + "nameLocation": "511:10:3", + "nodeType": "VariableDeclaration", + "scope": 755, + "src": "506:15:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 752, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "506:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "465:57:3" + }, + "src": "447:76:3" + }, + { + "anonymous": false, + "id": 761, + "name": "TokensBurned", + "nameLocation": "535:12:3", + "nodeType": "EventDefinition", + "parameters": { + "id": 760, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 757, + "indexed": true, + "mutability": "mutable", + "name": "_from", + "nameLocation": "564:5:3", + "nodeType": "VariableDeclaration", + "scope": 761, + "src": "548:21:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 756, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "548:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 759, + "indexed": false, + "mutability": "mutable", + "name": "_rwEthAmount", + "nameLocation": "576:12:3", + "nodeType": "VariableDeclaration", + "scope": 761, + "src": "571:17:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 758, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "571:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "547:42:3" + }, + "src": "529:61:3" + }, + { + "body": { + "id": 777, + "nodeType": "Block", + "src": "716:42:3", + "statements": [ + { + "expression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 774, + "name": "_setRwETHTokenAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 815, + "src": "727:21:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", + "typeString": "function ()" + } + }, + "id": 775, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "727:23:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 776, + "nodeType": "ExpressionStatement", + "src": "727:23:3" + } + ] + }, + "id": 778, + "implemented": true, + "kind": "constructor", + "modifiers": [ + { + "arguments": [ + { + "id": 767, + "name": "_dataStorageAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 764, + "src": "661:19:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + } + ], + "id": 768, + "kind": "baseConstructorSpecifier", + "modifierName": { + "id": 766, + "name": "PoolBase", + "nodeType": "IdentifierPath", + "referencedDeclaration": 720, + "src": "652:8:3" + }, + "nodeType": "ModifierInvocation", + "src": "652:29:3" + }, + { + "arguments": [ + { + "hexValue": "5265776172642045544820546f6b656e", + "id": 770, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "688:18:3", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_8b8d1d3634a822bd09cb06bb99b0e98a3a7e4516852acb0b2bccd81c97d4d569", + "typeString": "literal_string \"Reward ETH Token\"" + }, + "value": "Reward ETH Token" + }, + { + "hexValue": "7277455448", + "id": 771, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "708:7:3", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_6252835a2e79e84d21ce282830f28a7f31caab1daa1032b0ba6c39618191618f", + "typeString": "literal_string \"rwETH\"" + }, + "value": "rwETH" + } + ], + "id": 772, + "kind": "baseConstructorSpecifier", + "modifierName": { + "id": 769, + "name": "ERC20", + "nodeType": "IdentifierPath", + "referencedDeclaration": 2061, + "src": "682:5:3" + }, + "nodeType": "ModifierInvocation", + "src": "682:34:3" + } + ], + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 765, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 764, + "mutability": "mutable", + "name": "_dataStorageAddress", + "nameLocation": "631:19:3", + "nodeType": "VariableDeclaration", + "scope": 778, + "src": "610:40:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + }, + "typeName": { + "id": 763, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 762, + "name": "DataStorageInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 113, + "src": "610:20:3" + }, + "referencedDeclaration": 113, + "src": "610:20:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "visibility": "internal" + } + ], + "src": "609:42:3" + }, + "returnParameters": { + "id": 773, + "nodeType": "ParameterList", + "parameters": [], + "src": "716:0:3" + }, + "scope": 1051, + "src": "598:160:3", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 814, + "nodeType": "Block", + "src": "939:232:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f657869737473", + "id": 788, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1004:17:3", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + "value": "contract_exists" + }, + { + "arguments": [ + { + "id": 791, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "1031:4:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHToken_$1051", + "typeString": "contract rwETHToken" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_rwETHToken_$1051", + "typeString": "contract rwETHToken" + } + ], + "id": 790, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1023:7:3", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 789, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1023:7:3", + "typeDescriptions": {} + } + }, + "id": 792, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1023:13:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_396eb1c0cc987e7a8c58834556c83ecf403d5b15ac97dfbfd81cacddf68ab161", + "typeString": "literal_string \"contract_exists\"" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 786, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "987:3:3", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 787, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "987:16:3", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 793, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "987:50:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 785, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "977:9:3", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 794, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "977:61:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "hexValue": "74727565", + "id": 795, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1040:4:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "expression": { + "id": 782, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "950:11:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 784, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setBoolStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 64, + "src": "950:26:3", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_bool_$returns$__$", + "typeString": "function (bytes32,bool) external" + } + }, + "id": 796, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "950:95:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 797, + "nodeType": "ExpressionStatement", + "src": "950:95:3" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "hexValue": "636f6e74726163745f61646472657373", + "id": 804, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1113:18:3", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + "value": "contract_address" + }, + { + "hexValue": "7277455448546f6b656e", + "id": 805, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1133:12:3", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_7d524a24df8794b8c8ace1bb51668b020bb309552ba8f8b2f78f8f206243afbb", + "typeString": "literal_string \"rwETHToken\"" + }, + "value": "rwETHToken" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_844ffa1f449fa4abff4f101991b76de69b8efc51f797102f549ffcd9b64d5e30", + "typeString": "literal_string \"contract_address\"" + }, + { + "typeIdentifier": "t_stringliteral_7d524a24df8794b8c8ace1bb51668b020bb309552ba8f8b2f78f8f206243afbb", + "typeString": "literal_string \"rwETHToken\"" + } + ], + "expression": { + "id": 802, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "1096:3:3", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 803, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "1096:16:3", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 806, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1096:50:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 801, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "1086:9:3", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 807, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1086:61:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "arguments": [ + { + "id": 810, + "name": "this", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967268, + "src": "1157:4:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_rwETHToken_$1051", + "typeString": "contract rwETHToken" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_contract$_rwETHToken_$1051", + "typeString": "contract rwETHToken" + } + ], + "id": 809, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1149:7:3", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 808, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1149:7:3", + "typeDescriptions": {} + } + }, + "id": 811, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1149:13:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "expression": { + "id": 798, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "1056:11:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 800, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "setAddressStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 71, + "src": "1056:29:3", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_address_$returns$__$", + "typeString": "function (bytes32,address) external" + } + }, + "id": 812, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1056:107:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 813, + "nodeType": "ExpressionStatement", + "src": "1056:107:3" + } + ] + }, + "documentation": { + "id": 779, + "nodeType": "StructuredDocumentation", + "src": "766:126:3", + "text": "@dev Store this contract address and existance on the main storage.\n @notice Called while deploying the contract. " + }, + "id": 815, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "_setRwETHTokenAddress", + "nameLocation": "907:21:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 780, + "nodeType": "ParameterList", + "parameters": [], + "src": "928:2:3" + }, + "returnParameters": { + "id": 781, + "nodeType": "ParameterList", + "parameters": [], + "src": "939:0:3" + }, + "scope": 1051, + "src": "898:273:3", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "private" + }, + { + "body": { + "id": 858, + "nodeType": "Block", + "src": "1327:441:3", + "statements": [ + { + "assignments": [ + 825 + ], + "declarations": [ + { + "constant": false, + "id": 825, + "mutability": "mutable", + "name": "poolTokenBalances", + "nameLocation": "1361:17:3", + "nodeType": "VariableDeclaration", + "scope": 858, + "src": "1338:40:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$738", + "typeString": "contract TokenBalancesInterface" + }, + "typeName": { + "id": 824, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 823, + "name": "TokenBalancesInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 738, + "src": "1338:22:3" + }, + "referencedDeclaration": 738, + "src": "1338:22:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$738", + "typeString": "contract TokenBalancesInterface" + } + }, + "visibility": "internal" + } + ], + "id": 831, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "546f6b656e42616c616e636573", + "id": 828, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1423:15:3", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_3b6d5f7972ed6795e7621e32620438487583050aef09a1228b0cc6a9a3f04fe9", + "typeString": "literal_string \"TokenBalances\"" + }, + "value": "TokenBalances" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_3b6d5f7972ed6795e7621e32620438487583050aef09a1228b0cc6a9a3f04fe9", + "typeString": "literal_string \"TokenBalances\"" + } + ], + "id": 827, + "name": "getContractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 579, + "src": "1404:18:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$returns$_t_address_$", + "typeString": "function (string memory) view returns (address)" + } + }, + "id": 829, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1404:35:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 826, + "name": "TokenBalancesInterface", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 738, + "src": "1381:22:3", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_TokenBalancesInterface_$738_$", + "typeString": "type(contract TokenBalancesInterface)" + } + }, + "id": 830, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1381:59:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$738", + "typeString": "contract TokenBalancesInterface" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1338:102:3" + }, + { + "assignments": [ + 833 + ], + "declarations": [ + { + "constant": false, + "id": 833, + "mutability": "mutable", + "name": "currentEthBalance", + "nameLocation": "1456:17:3", + "nodeType": "VariableDeclaration", + "scope": 858, + "src": "1451:22:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 832, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1451:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 837, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 834, + "name": "poolTokenBalances", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 825, + "src": "1476:17:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$738", + "typeString": "contract TokenBalancesInterface" + } + }, + "id": 835, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getTotalEthSupply", + "nodeType": "MemberAccess", + "referencedDeclaration": 727, + "src": "1476:35:3", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", + "typeString": "function () view external returns (uint256)" + } + }, + "id": 836, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1476:37:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1451:62:3" + }, + { + "assignments": [ + 839 + ], + "declarations": [ + { + "constant": false, + "id": 839, + "mutability": "mutable", + "name": "currentRwEthSupply", + "nameLocation": "1529:18:3", + "nodeType": "VariableDeclaration", + "scope": 858, + "src": "1524:23:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 838, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1524:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 843, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 840, + "name": "poolTokenBalances", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 825, + "src": "1550:17:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$738", + "typeString": "contract TokenBalancesInterface" + } + }, + "id": 841, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getTotalrwEthSupply", + "nodeType": "MemberAccess", + "referencedDeclaration": 732, + "src": "1550:37:3", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", + "typeString": "function () view external returns (uint256)" + } + }, + "id": 842, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1550:39:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1524:65:3" + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 846, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 844, + "name": "currentRwEthSupply", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 839, + "src": "1605:18:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "hexValue": "30", + "id": 845, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1627:1:3", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "1605:23:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 855, + "nodeType": "IfStatement", + "src": "1602:129:3", + "trueBody": { + "id": 854, + "nodeType": "Block", + "src": "1629:102:3", + "statements": [ + { + "expression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 851, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 849, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 847, + "name": "_rwEthAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 818, + "src": "1653:12:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 848, + "name": "currentEthBalance", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 833, + "src": "1668:17:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1653:32:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "id": 850, + "name": "currentRwEthSupply", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 839, + "src": "1688:18:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1653:53:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 852, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "1652:55:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 822, + "id": 853, + "nodeType": "Return", + "src": "1644:63:3" + } + ] + } + }, + { + "expression": { + "id": 856, + "name": "_rwEthAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 818, + "src": "1748:12:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 822, + "id": 857, + "nodeType": "Return", + "src": "1741:19:3" + } + ] + }, + "documentation": { + "id": 816, + "nodeType": "StructuredDocumentation", + "src": "1187:68:3", + "text": "@dev Calculate the equivalent Ether to a certain rwEther amount." + }, + "functionSelector": "12946fe1", + "id": 859, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "calcEthValue", + "nameLocation": "1270:12:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 819, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 818, + "mutability": "mutable", + "name": "_rwEthAmount", + "nameLocation": "1288:12:3", + "nodeType": "VariableDeclaration", + "scope": 859, + "src": "1283:17:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 817, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1283:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1282:19:3" + }, + "returnParameters": { + "id": 822, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 821, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 859, + "src": "1322:4:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 820, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1322:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1321:6:3" + }, + "scope": 1051, + "src": "1261:507:3", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 909, + "nodeType": "Block", + "src": "1917:546:3", + "statements": [ + { + "assignments": [ + 869 + ], + "declarations": [ + { + "constant": false, + "id": 869, + "mutability": "mutable", + "name": "poolTokenBalances", + "nameLocation": "1951:17:3", + "nodeType": "VariableDeclaration", + "scope": 909, + "src": "1928:40:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$738", + "typeString": "contract TokenBalancesInterface" + }, + "typeName": { + "id": 868, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 867, + "name": "TokenBalancesInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 738, + "src": "1928:22:3" + }, + "referencedDeclaration": 738, + "src": "1928:22:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$738", + "typeString": "contract TokenBalancesInterface" + } + }, + "visibility": "internal" + } + ], + "id": 875, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "546f6b656e42616c616e636573", + "id": 872, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2013:15:3", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_3b6d5f7972ed6795e7621e32620438487583050aef09a1228b0cc6a9a3f04fe9", + "typeString": "literal_string \"TokenBalances\"" + }, + "value": "TokenBalances" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_3b6d5f7972ed6795e7621e32620438487583050aef09a1228b0cc6a9a3f04fe9", + "typeString": "literal_string \"TokenBalances\"" + } + ], + "id": 871, + "name": "getContractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 579, + "src": "1994:18:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$returns$_t_address_$", + "typeString": "function (string memory) view returns (address)" + } + }, + "id": 873, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1994:35:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 870, + "name": "TokenBalancesInterface", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 738, + "src": "1971:22:3", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_TokenBalancesInterface_$738_$", + "typeString": "type(contract TokenBalancesInterface)" + } + }, + "id": 874, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1971:59:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$738", + "typeString": "contract TokenBalancesInterface" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "1928:102:3" + }, + { + "assignments": [ + 877 + ], + "declarations": [ + { + "constant": false, + "id": 877, + "mutability": "mutable", + "name": "currentEthBalance", + "nameLocation": "2046:17:3", + "nodeType": "VariableDeclaration", + "scope": 909, + "src": "2041:22:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 876, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2041:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 881, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 878, + "name": "poolTokenBalances", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 869, + "src": "2066:17:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$738", + "typeString": "contract TokenBalancesInterface" + } + }, + "id": 879, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getTotalEthSupply", + "nodeType": "MemberAccess", + "referencedDeclaration": 727, + "src": "2066:35:3", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", + "typeString": "function () view external returns (uint256)" + } + }, + "id": 880, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2066:37:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2041:62:3" + }, + { + "assignments": [ + 883 + ], + "declarations": [ + { + "constant": false, + "id": 883, + "mutability": "mutable", + "name": "currentRwEthSupply", + "nameLocation": "2119:18:3", + "nodeType": "VariableDeclaration", + "scope": 909, + "src": "2114:23:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 882, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2114:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 887, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 884, + "name": "poolTokenBalances", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 869, + "src": "2140:17:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$738", + "typeString": "contract TokenBalancesInterface" + } + }, + "id": 885, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getTotalrwEthSupply", + "nodeType": "MemberAccess", + "referencedDeclaration": 732, + "src": "2140:37:3", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", + "typeString": "function () view external returns (uint256)" + } + }, + "id": 886, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2140:39:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2114:65:3" + }, + { + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 890, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 888, + "name": "currentRwEthSupply", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 883, + "src": "2195:18:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "hexValue": "30", + "id": 889, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2217:1:3", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "2195:23:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 906, + "nodeType": "IfStatement", + "src": "2192:236:3", + "trueBody": { + "id": 905, + "nodeType": "Block", + "src": "2219:209:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 894, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 892, + "name": "currentEthBalance", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 877, + "src": "2242:17:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "hexValue": "30", + "id": 893, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2262:1:3", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "2242:21:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "43757272656e746c7920746865726520617265206e6f2065746865722073746f7265642e2043616e6e6f7420646976696465206279207a65726f2e", + "id": 895, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2265:61:3", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_55b2b3f2d860dc00999de2859b5705b081f23d227a860928aca26a9102461fd4", + "typeString": "literal_string \"Currently there are no ether stored. Cannot divide by zero.\"" + }, + "value": "Currently there are no ether stored. Cannot divide by zero." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_55b2b3f2d860dc00999de2859b5705b081f23d227a860928aca26a9102461fd4", + "typeString": "literal_string \"Currently there are no ether stored. Cannot divide by zero.\"" + } + ], + "id": 891, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "2234:7:3", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 896, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2234:93:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 897, + "nodeType": "ExpressionStatement", + "src": "2234:93:3" + }, + { + "expression": { + "components": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 902, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 900, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 898, + "name": "_ethAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 862, + "src": "2351:10:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "*", + "rightExpression": { + "id": 899, + "name": "currentRwEthSupply", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 883, + "src": "2364:18:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2351:31:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "/", + "rightExpression": { + "id": 901, + "name": "currentEthBalance", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 877, + "src": "2385:17:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2351:51:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "id": 903, + "isConstant": false, + "isInlineArray": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "TupleExpression", + "src": "2350:54:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 866, + "id": 904, + "nodeType": "Return", + "src": "2342:62:3" + } + ] + } + }, + { + "expression": { + "id": 907, + "name": "_ethAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 862, + "src": "2445:10:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 866, + "id": 908, + "nodeType": "Return", + "src": "2438:17:3" + } + ] + }, + "documentation": { + "id": 860, + "nodeType": "StructuredDocumentation", + "src": "1777:68:3", + "text": "@dev Calculate the equivalent rwEther to a certain Ether amount." + }, + "functionSelector": "3ef3183c", + "id": 910, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "calcRwEthValue", + "nameLocation": "1860:14:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 863, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 862, + "mutability": "mutable", + "name": "_ethAmount", + "nameLocation": "1880:10:3", + "nodeType": "VariableDeclaration", + "scope": 910, + "src": "1875:15:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 861, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1875:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1874:17:3" + }, + "returnParameters": { + "id": 866, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 865, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 910, + "src": "1912:4:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 864, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1912:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "1911:6:3" + }, + "scope": 1051, + "src": "1851:612:3", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 920, + "nodeType": "Block", + "src": "2612:47:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "hexValue": "31", + "id": 917, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2643:7:3", + "subdenomination": "ether", + "typeDescriptions": { + "typeIdentifier": "t_rational_1000000000000000000_by_1", + "typeString": "int_const 1000000000000000000" + }, + "value": "1" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_1000000000000000000_by_1", + "typeString": "int_const 1000000000000000000" + } + ], + "id": 916, + "name": "calcEthValue", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 859, + "src": "2630:12:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_uint256_$", + "typeString": "function (uint256) view returns (uint256)" + } + }, + "id": 918, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2630:21:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 915, + "id": 919, + "nodeType": "Return", + "src": "2623:28:3" + } + ] + }, + "documentation": { + "id": 911, + "nodeType": "StructuredDocumentation", + "src": "2474:83:3", + "text": "@dev Calculate the Eth / rwEth ratio a.k.a rwEth price expressed in Ether (wei)" + }, + "functionSelector": "012a33aa", + "id": 921, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getUnitPrice", + "nameLocation": "2572:12:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 912, + "nodeType": "ParameterList", + "parameters": [], + "src": "2584:2:3" + }, + "returnParameters": { + "id": 915, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 914, + "mutability": "mutable", + "name": "", + "nameLocation": "-1:-1:-1", + "nodeType": "VariableDeclaration", + "scope": 921, + "src": "2607:4:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 913, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2607:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "2606:6:3" + }, + "scope": 1051, + "src": "2563:96:3", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 971, + "nodeType": "Block", + "src": "2809:492:3", + "statements": [ + { + "assignments": [ + 932 + ], + "declarations": [ + { + "constant": false, + "id": 932, + "mutability": "mutable", + "name": "rwEthSupplyTag", + "nameLocation": "2828:14:3", + "nodeType": "VariableDeclaration", + "scope": 971, + "src": "2820:22:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 931, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "2820:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 939, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "746f74616c537570706c795f7265776172644574686572", + "id": 936, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2872:25:3", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_0374d75381b3b197d745e6b159383515dfcf445652f3d60140f7a03bb136a74c", + "typeString": "literal_string \"totalSupply_rewardEther\"" + }, + "value": "totalSupply_rewardEther" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_0374d75381b3b197d745e6b159383515dfcf445652f3d60140f7a03bb136a74c", + "typeString": "literal_string \"totalSupply_rewardEther\"" + } + ], + "expression": { + "id": 934, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "2855:3:3", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 935, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "2855:16:3", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 937, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2855:43:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 933, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "2845:9:3", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 938, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2845:54:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2820:79:3" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 943, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 941, + "name": "_ethAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 926, + "src": "2918:10:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "hexValue": "30", + "id": 942, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2931:1:3", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "2918:14:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "4d696e7420616d6f756e74206e6565647320746f2062652067726561746572207468616e207a65726f2e", + "id": 944, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2935:44:3", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_f6b53c7de5e97000949f1f34c12a660cb86381130912012977c5e8eef4442c49", + "typeString": "literal_string \"Mint amount needs to be greater than zero.\"" + }, + "value": "Mint amount needs to be greater than zero." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_f6b53c7de5e97000949f1f34c12a660cb86381130912012977c5e8eef4442c49", + "typeString": "literal_string \"Mint amount needs to be greater than zero.\"" + } + ], + "id": 940, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "2910:7:3", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 945, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2910:70:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 946, + "nodeType": "ExpressionStatement", + "src": "2910:70:3" + }, + { + "assignments": [ + 948 + ], + "declarations": [ + { + "constant": false, + "id": 948, + "mutability": "mutable", + "name": "rwEtherCalc", + "nameLocation": "3090:11:3", + "nodeType": "VariableDeclaration", + "scope": 971, + "src": "3085:16:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 947, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3085:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 952, + "initialValue": { + "arguments": [ + { + "id": 950, + "name": "_ethAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 926, + "src": "3119:10:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 949, + "name": "calcRwEthValue", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 910, + "src": "3104:14:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_uint256_$", + "typeString": "function (uint256) view returns (uint256)" + } + }, + "id": 951, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3104:26:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3085:45:3" + }, + { + "expression": { + "arguments": [ + { + "id": 954, + "name": "_to", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 924, + "src": "3147:3:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 955, + "name": "rwEtherCalc", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 948, + "src": "3152:11:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 953, + "name": "_mint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1878, + "src": "3141:5:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256)" + } + }, + "id": 956, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3141:23:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 957, + "nodeType": "ExpressionStatement", + "src": "3141:23:3" + }, + { + "expression": { + "arguments": [ + { + "id": 961, + "name": "rwEthSupplyTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 932, + "src": "3207:14:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 962, + "name": "rwEtherCalc", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 948, + "src": "3223:11:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 958, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "3175:11:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 960, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "increaseUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 85, + "src": "3175:31:3", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 963, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3175:60:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 964, + "nodeType": "ExpressionStatement", + "src": "3175:60:3" + }, + { + "eventCall": { + "arguments": [ + { + "id": 966, + "name": "_to", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 924, + "src": "3264:3:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 967, + "name": "rwEtherCalc", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 948, + "src": "3269:11:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "id": 968, + "name": "_ethAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 926, + "src": "3282:10:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 965, + "name": "TokensMinted", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 755, + "src": "3251:12:3", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256,uint256)" + } + }, + "id": 969, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3251:42:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 970, + "nodeType": "EmitStatement", + "src": "3246:47:3" + } + ] + }, + "documentation": { + "id": 922, + "nodeType": "StructuredDocumentation", + "src": "2669:63:3", + "text": "@dev Mints reward ether (rwEth) as a receipt of investment." + }, + "functionSelector": "40c10f19", + "id": 972, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [], + "id": 929, + "kind": "modifierInvocation", + "modifierName": { + "id": 928, + "name": "onlyPoolContract", + "nodeType": "IdentifierPath", + "referencedDeclaration": 203, + "src": "2791:16:3" + }, + "nodeType": "ModifierInvocation", + "src": "2791:18:3" + } + ], + "name": "mint", + "nameLocation": "2747:4:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 927, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 924, + "mutability": "mutable", + "name": "_to", + "nameLocation": "2760:3:3", + "nodeType": "VariableDeclaration", + "scope": 972, + "src": "2752:11:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 923, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2752:7:3", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 926, + "mutability": "mutable", + "name": "_ethAmount", + "nameLocation": "2770:10:3", + "nodeType": "VariableDeclaration", + "scope": 972, + "src": "2765:15:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 925, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2765:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "2751:30:3" + }, + "returnParameters": { + "id": 930, + "nodeType": "ParameterList", + "parameters": [], + "src": "2809:0:3" + }, + "scope": 1051, + "src": "2738:563:3", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "body": { + "id": 1049, + "nodeType": "Block", + "src": "3701:827:3", + "statements": [ + { + "assignments": [ + 982 + ], + "declarations": [ + { + "constant": false, + "id": 982, + "mutability": "mutable", + "name": "poolTokenBalances", + "nameLocation": "3735:17:3", + "nodeType": "VariableDeclaration", + "scope": 1049, + "src": "3712:40:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$738", + "typeString": "contract TokenBalancesInterface" + }, + "typeName": { + "id": 981, + "nodeType": "UserDefinedTypeName", + "pathNode": { + "id": 980, + "name": "TokenBalancesInterface", + "nodeType": "IdentifierPath", + "referencedDeclaration": 738, + "src": "3712:22:3" + }, + "referencedDeclaration": 738, + "src": "3712:22:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$738", + "typeString": "contract TokenBalancesInterface" + } + }, + "visibility": "internal" + } + ], + "id": 988, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "546f6b656e42616c616e636573", + "id": 985, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3797:15:3", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_3b6d5f7972ed6795e7621e32620438487583050aef09a1228b0cc6a9a3f04fe9", + "typeString": "literal_string \"TokenBalances\"" + }, + "value": "TokenBalances" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_3b6d5f7972ed6795e7621e32620438487583050aef09a1228b0cc6a9a3f04fe9", + "typeString": "literal_string \"TokenBalances\"" + } + ], + "id": 984, + "name": "getContractAddress", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 579, + "src": "3778:18:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$returns$_t_address_$", + "typeString": "function (string memory) view returns (address)" + } + }, + "id": 986, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3778:35:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 983, + "name": "TokenBalancesInterface", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 738, + "src": "3755:22:3", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_TokenBalancesInterface_$738_$", + "typeString": "type(contract TokenBalancesInterface)" + } + }, + "id": 987, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3755:59:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$738", + "typeString": "contract TokenBalancesInterface" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3712:102:3" + }, + { + "assignments": [ + 990 + ], + "declarations": [ + { + "constant": false, + "id": 990, + "mutability": "mutable", + "name": "rwEthSupplyTag", + "nameLocation": "3833:14:3", + "nodeType": "VariableDeclaration", + "scope": 1049, + "src": "3825:22:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + "typeName": { + "id": 989, + "name": "bytes32", + "nodeType": "ElementaryTypeName", + "src": "3825:7:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "visibility": "internal" + } + ], + "id": 997, + "initialValue": { + "arguments": [ + { + "arguments": [ + { + "hexValue": "746f74616c537570706c795f7265776172644574686572", + "id": 994, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3877:25:3", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_0374d75381b3b197d745e6b159383515dfcf445652f3d60140f7a03bb136a74c", + "typeString": "literal_string \"totalSupply_rewardEther\"" + }, + "value": "totalSupply_rewardEther" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_stringliteral_0374d75381b3b197d745e6b159383515dfcf445652f3d60140f7a03bb136a74c", + "typeString": "literal_string \"totalSupply_rewardEther\"" + } + ], + "expression": { + "id": 992, + "name": "abi", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967295, + "src": "3860:3:3", + "typeDescriptions": { + "typeIdentifier": "t_magic_abi", + "typeString": "abi" + } + }, + "id": 993, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "memberName": "encodePacked", + "nodeType": "MemberAccess", + "src": "3860:16:3", + "typeDescriptions": { + "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", + "typeString": "function () pure returns (bytes memory)" + } + }, + "id": 995, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3860:43:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes_memory_ptr", + "typeString": "bytes memory" + } + ], + "id": 991, + "name": "keccak256", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967288, + "src": "3850:9:3", + "typeDescriptions": { + "typeIdentifier": "t_function_keccak256_pure$_t_bytes_memory_ptr_$returns$_t_bytes32_$", + "typeString": "function (bytes memory) pure returns (bytes32)" + } + }, + "id": 996, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3850:54:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3825:79:3" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1001, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 999, + "name": "_rwEthAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 975, + "src": "3933:12:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "hexValue": "30", + "id": 1000, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3948:1:3", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "3933:16:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "4275726e20616d6f756e74206e6565647320746f2062652067726561746572207468616e207a65726f2e", + "id": 1002, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "3952:44:3", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_b7433f37c229e4fafd99a92caefb09b9e5ad2d2e833e193ae02153f7830f1e08", + "typeString": "literal_string \"Burn amount needs to be greater than zero.\"" + }, + "value": "Burn amount needs to be greater than zero." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_b7433f37c229e4fafd99a92caefb09b9e5ad2d2e833e193ae02153f7830f1e08", + "typeString": "literal_string \"Burn amount needs to be greater than zero.\"" + } + ], + "id": 998, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "3925:7:3", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 1003, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3925:72:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1004, + "nodeType": "ExpressionStatement", + "src": "3925:72:3" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1011, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "arguments": [ + { + "expression": { + "id": 1007, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "4026:3:3", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1008, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "4026:10:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 1006, + "name": "balanceOf", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1572, + "src": "4016:9:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_uint256_$", + "typeString": "function (address) view returns (uint256)" + } + }, + "id": 1009, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4016:21:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">", + "rightExpression": { + "hexValue": "30", + "id": 1010, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4040:1:3", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "src": "4016:25:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "496e73756666696369656e742072774574682062616c616e63652e", + "id": 1012, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4042:29:3", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_64d7ac1c494517ceb822c7f6b767328d7b0d11312cd7bddf3ad3ea0cbd8db17f", + "typeString": "literal_string \"Insufficient rwEth balance.\"" + }, + "value": "Insufficient rwEth balance." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_64d7ac1c494517ceb822c7f6b767328d7b0d11312cd7bddf3ad3ea0cbd8db17f", + "typeString": "literal_string \"Insufficient rwEth balance.\"" + } + ], + "id": 1005, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "4008:7:3", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 1013, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4008:64:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1014, + "nodeType": "ExpressionStatement", + "src": "4008:64:3" + }, + { + "assignments": [ + 1016 + ], + "declarations": [ + { + "constant": false, + "id": 1016, + "mutability": "mutable", + "name": "etherCalc", + "nameLocation": "4184:9:3", + "nodeType": "VariableDeclaration", + "scope": 1049, + "src": "4179:14:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 1015, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "4179:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 1020, + "initialValue": { + "arguments": [ + { + "id": 1018, + "name": "_rwEthAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 975, + "src": "4209:12:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1017, + "name": "calcEthValue", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 859, + "src": "4196:12:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_uint256_$", + "typeString": "function (uint256) view returns (uint256)" + } + }, + "id": 1019, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4196:26:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4179:43:3" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 1026, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 1022, + "name": "etherCalc", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1016, + "src": "4241:9:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "arguments": [], + "expression": { + "argumentTypes": [], + "expression": { + "id": 1023, + "name": "poolTokenBalances", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 982, + "src": "4253:17:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_TokenBalancesInterface_$738", + "typeString": "contract TokenBalancesInterface" + } + }, + "id": 1024, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "getTotalEthSupply", + "nodeType": "MemberAccess", + "referencedDeclaration": 727, + "src": "4253:35:3", + "typeDescriptions": { + "typeIdentifier": "t_function_external_view$__$returns$_t_uint256_$", + "typeString": "function () view external returns (uint256)" + } + }, + "id": 1025, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4253:37:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "4241:49:3", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + { + "hexValue": "5468657265206172656e277420656e6f756768206261636b65642065746865727320746f20706572666f726d207468697320616374696f6e2e", + "id": 1027, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4292:59:3", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_34aed5d1a3fc936e21ab00388a0307badbc66a0bfcc054d810418b9c87dce058", + "typeString": "literal_string \"There aren't enough backed ethers to perform this action.\"" + }, + "value": "There aren't enough backed ethers to perform this action." + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + { + "typeIdentifier": "t_stringliteral_34aed5d1a3fc936e21ab00388a0307badbc66a0bfcc054d810418b9c87dce058", + "typeString": "literal_string \"There aren't enough backed ethers to perform this action.\"" + } + ], + "id": 1021, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "4233:7:3", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (bool,string memory) pure" + } + }, + "id": 1028, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4233:119:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1029, + "nodeType": "ExpressionStatement", + "src": "4233:119:3" + }, + { + "expression": { + "arguments": [ + { + "id": 1033, + "name": "rwEthSupplyTag", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 990, + "src": "4395:14:3", + "typeDescriptions": { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + } + }, + { + "id": 1034, + "name": "_rwEthAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 975, + "src": "4411:12:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 1030, + "name": "dataStorage", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 140, + "src": "4363:11:3", + "typeDescriptions": { + "typeIdentifier": "t_contract$_DataStorageInterface_$113", + "typeString": "contract DataStorageInterface" + } + }, + "id": 1032, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "decreaseUintStorage", + "nodeType": "MemberAccess", + "referencedDeclaration": 92, + "src": "4363:31:3", + "typeDescriptions": { + "typeIdentifier": "t_function_external_nonpayable$_t_bytes32_$_t_uint256_$returns$__$", + "typeString": "function (bytes32,uint256) external" + } + }, + "id": 1035, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4363:61:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1036, + "nodeType": "ExpressionStatement", + "src": "4363:61:3" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 1038, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "4441:3:3", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1039, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "4441:10:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1040, + "name": "_rwEthAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 975, + "src": "4453:12:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1037, + "name": "_burn", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 1950, + "src": "4435:5:3", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256)" + } + }, + "id": 1041, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4435:31:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1042, + "nodeType": "ExpressionStatement", + "src": "4435:31:3" + }, + { + "eventCall": { + "arguments": [ + { + "expression": { + "id": 1044, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "4495:3:3", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 1045, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "4495:10:3", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "id": 1046, + "name": "_rwEthAmount", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 975, + "src": "4507:12:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 1043, + "name": "TokensBurned", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 761, + "src": "4482:12:3", + "typeDescriptions": { + "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256)" + } + }, + "id": 1047, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4482:38:3", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 1048, + "nodeType": "EmitStatement", + "src": "4477:43:3" + } + ] + }, + "documentation": { + "id": 973, + "nodeType": "StructuredDocumentation", + "src": "3309:326:3", + "text": "@dev Burns rwEther.\n @notice Used while withdrawing funds to keep balanced the system.\n @notice No counterpart of ethers are transfered back to the burner while performing this call.\n @notice After calling this function, it is needed to perform the ether counterpart transfer to the involved parts." + }, + "functionSelector": "42966c68", + "id": 1050, + "implemented": true, + "kind": "function", + "modifiers": [ + { + "arguments": [], + "id": 978, + "kind": "modifierInvocation", + "modifierName": { + "id": 977, + "name": "onlyPoolContract", + "nodeType": "IdentifierPath", + "referencedDeclaration": 203, + "src": "3683:16:3" + }, + "nodeType": "ModifierInvocation", + "src": "3683:18:3" + } + ], + "name": "burn", + "nameLocation": "3650:4:3", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 976, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 975, + "mutability": "mutable", + "name": "_rwEthAmount", + "nameLocation": "3660:12:3", + "nodeType": "VariableDeclaration", + "scope": 1050, + "src": "3655:17:3", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 974, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3655:4:3", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3654:19:3" + }, + "returnParameters": { + "id": 979, + "nodeType": "ParameterList", + "parameters": [], + "src": "3701:0:3" + }, + "scope": 1051, + "src": "3641:887:3", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + } + ], + "scope": 1052, + "src": "399:4134:3", + "usedErrors": [] + } + ], + "src": "33:4502:3" + }, + "functionHashes": { + "DEFAULT_ADMIN_ROLE()": "a217fddf", + "POOL_MANAGER()": "62308e85", + "addPoolManager(address)": "45077e71", + "allowance(address,address)": "dd62ed3e", + "approve(address,uint256)": "095ea7b3", + "balanceOf(address)": "70a08231", + "burn(uint256)": "42966c68", + "calcEthValue(uint256)": "12946fe1", + "calcRwEthValue(uint256)": "3ef3183c", + "decimals()": "313ce567", + "decreaseAllowance(address,uint256)": "a457c2d7", + "getContributionLimit()": "fa1e19e5", + "getPoolFees()": "d1d8d060", + "getPoolMaxSize()": "095df57f", + "getPoolState()": "217ac237", + "getRewardsInterest()": "7521796f", + "getRewardsInterval()": "497d0241", + "getRoleAdmin(bytes32)": "248a9ca3", + "getUnitPrice()": "012a33aa", + "grantRole(bytes32,address)": "2f2ff15d", + "hasRole(bytes32,address)": "91d14854", + "increaseAllowance(address,uint256)": "39509351", + "mint(address,uint256)": "40c10f19", + "name()": "06fdde03", + "removePoolManager(address)": "29ca15bc", + "renounceRole(bytes32,address)": "36568abe", + "revokeRole(bytes32,address)": "d547741f", + "setContributionLimit(uint256)": "72d099a0", + "setMinContribution()": "543edfb6", + "setMinContribution(uint256)": "473b0d46", + "setPoolFees(uint256)": "8dd225d5", + "setPoolLive(bool)": "a4975516", + "setPoolMaxSize(uint256)": "12646987", + "setRewardsInterest(uint256)": "bf4c0036", + "setRewardsInterval(uint256)": "53710f49", + "supportsInterface(bytes4)": "01ffc9a7", + "symbol()": "95d89b41", + "totalSupply()": "18160ddd", + "transfer(address,uint256)": "a9059cbb", + "transferFrom(address,address,uint256)": "23b872dd" + }, + "gasEstimates": { + "creation": { + "codeDepositCost": "2162200", + "executionCost": "infinite", + "totalCost": "infinite" + }, + "external": { + "DEFAULT_ADMIN_ROLE()": "251", + "POOL_MANAGER()": "infinite", + "addPoolManager(address)": "infinite", + "allowance(address,address)": "infinite", + "approve(address,uint256)": "24730", + "balanceOf(address)": "2565", + "burn(uint256)": "infinite", + "calcEthValue(uint256)": "infinite", + "calcRwEthValue(uint256)": "infinite", + "decimals()": "289", + "decreaseAllowance(address,uint256)": "26983", + "getContributionLimit()": "infinite", + "getPoolFees()": "infinite", + "getPoolMaxSize()": "infinite", + "getPoolState()": "infinite", + "getRewardsInterest()": "infinite", + "getRewardsInterval()": "infinite", + "getRoleAdmin(bytes32)": "2482", + "getUnitPrice()": "infinite", + "grantRole(bytes32,address)": "infinite", + "hasRole(bytes32,address)": "2794", + "increaseAllowance(address,uint256)": "26984", + "mint(address,uint256)": "infinite", + "name()": "infinite", + "removePoolManager(address)": "infinite", + "renounceRole(bytes32,address)": "29128", + "revokeRole(bytes32,address)": "infinite", + "setContributionLimit(uint256)": "infinite", + "setMinContribution()": "infinite", + "setMinContribution(uint256)": "infinite", + "setPoolFees(uint256)": "infinite", + "setPoolLive(bool)": "infinite", + "setPoolMaxSize(uint256)": "infinite", + "setRewardsInterest(uint256)": "infinite", + "setRewardsInterval(uint256)": "infinite", + "supportsInterface(bytes4)": "506", + "symbol()": "infinite", + "totalSupply()": "2371", + "transfer(address,uint256)": "51303", + "transferFrom(address,address,uint256)": "infinite" + }, + "internal": { + "_setRwETHTokenAddress()": "infinite" + } + } +} \ No newline at end of file diff --git a/config/contractArguments.js b/config/contractArguments.js new file mode 100644 index 00000000..7d9d06ec --- /dev/null +++ b/config/contractArguments.js @@ -0,0 +1,6 @@ +const {ethers} = require("hardhat"); +const contractArguments = require("./settings.json"); + +module.exports = [ + ethers.utils.getAddress(contractArguments.dataStorageAddress), +]; diff --git a/config/settings.json b/config/settings.json new file mode 100644 index 00000000..087d61ad --- /dev/null +++ b/config/settings.json @@ -0,0 +1,14 @@ +{ + "networkIndex": 1, + "dataStorageAddress": "0x5d8c2fd496A05bb68329Fe39E8A12B424D25E1b4", + "poolBaseAddress": "0x601a16CEBd0E607822995B2E8407891AE6BE4bAb", + "tokenBalancesAddress": "0x169105b18148B45AcB1D4E0354f48A17FE560629", + "rwEtherTokenAddress": "0x0Ddf2C71Ca974A6c40A0Fb83f670029AA7D678ea", + "poolVaultAddress": "0xeb69E5c8F8Bb00F683ffb9589466CD4D20325D60", + "poolClientAddress": "0xdB0210D3FdAFCAA410811D9aa7034E64dde31DdF", + "poolMaxEtherSize": "5000", + "rewardsInterval": "7", + "rewardsInterest": "1000", + "contrLimit": "5", + "minContr": "0.1" +} \ No newline at end of file diff --git a/contracts/DataStorage.sol b/contracts/DataStorage.sol new file mode 100644 index 00000000..49646c87 --- /dev/null +++ b/contracts/DataStorage.sol @@ -0,0 +1,136 @@ +// SPDX-License-Identifier: MIT +pragma solidity 0.8.9; + +/// @title DataStorage, Data Storage Contract, +/// @author liorabadi +/// @notice Base and hub where all variables are stored and handled. + +import "./interfaces/DataStorageInterface.sol"; + +contract DataStorage is DataStorageInterface{ + + mapping(bytes32 => uint256) private uintStorage; + mapping(bytes32 => bool) private boolStorage; + mapping(bytes32 => address) private addressStorage; + mapping(bytes32 => bytes32) private bytes32Storage; + + // Initialization flag + bool storageLive = false; + + // Address of the Storage Guardian + address currentGuardian; + address newGuardian; + + event GuardChange(address indexed _lastGuardian, address _newGuardian); + + + constructor() { + currentGuardian = msg.sender; + _setDataStorageAddress(); + } + + /// @notice The guardian needs to store the other Pool contracts within the Bool State tracker before setting the DataStorage contract as live. + /// @notice tx.origin is checked only in deployment and pool implementation status. Not operative. + modifier onlyByPoolContract { + if(!storageLive){ + require(tx.origin == currentGuardian || boolStorage[keccak256(abi.encodePacked("contract_exists", msg.sender))], "The contract address is invalid or the caller is not allowed."); + } else { + require(boolStorage[keccak256(abi.encodePacked("contract_exists", msg.sender))], "The contract address or sender is invalid."); + } + _; + } + + // ====== Storage Contract Control ====== + /// @dev Store this contract address and existance on the main storage. + /// @notice Called while deploying the contract. + function _setDataStorageAddress() private { + bytes32 dsBoolTag = keccak256(abi.encodePacked("contract_exists", address(this))); + bytes32 dsAddressTag = keccak256(abi.encodePacked("contract_address", "DataStorage")); + + boolStorage[dsBoolTag] = true; + addressStorage[dsAddressTag] = address(this); + } + + function getStorageStatus() external view returns(bool){ + return storageLive; + } + + function getCurrentGuardian() external view returns(address){ + return currentGuardian; + } + + function setNewGuardian(address _newGuardian) external { + require(msg.sender == currentGuardian, "Only callable by current storage guardian."); + newGuardian = _newGuardian; + } + + function confirmGuard() external { + require(msg.sender == newGuardian, "Only callable by the new storage guardian."); + address oldGuardian = currentGuardian; + currentGuardian = newGuardian; + delete newGuardian; + emit GuardChange(oldGuardian, currentGuardian); + } + + /// @notice Irreversible. Once the storage hub is live, stays that way. + function setStorageLive() external { + require(msg.sender == currentGuardian, "Only callable by current guardian."); + storageLive = true; + } + + // ====== Storage Mappings Getters ====== + function getUintStorage(bytes32 _id) external view returns(uint256){ + return uintStorage[_id]; + } + + function getBoolStorage(bytes32 _id) external view returns(bool){ + return boolStorage[_id]; + } + + function getAddressStorage(bytes32 _id) external view returns(address){ + return addressStorage[_id]; + } + + function getDataStorageAddress() external view returns(address){ + bytes32 dsAddressTag = keccak256(abi.encodePacked("contract_address", "DataStorage")); + return addressStorage[dsAddressTag]; + } + + + // ====== Storage Mappings Setters ====== + function setUintStorage(bytes32 _id, uint256 _value) external onlyByPoolContract{ + uintStorage[_id] = _value; + } + + function increaseUintStorage(bytes32 _id, uint256 _increment) external onlyByPoolContract{ + uintStorage[_id] += _increment; + } + + function decreaseUintStorage(bytes32 _id, uint256 _decrement) external onlyByPoolContract{ + uintStorage[_id] -= _decrement; + } + + function setBoolStorage(bytes32 _id, bool _value) external onlyByPoolContract{ + boolStorage[_id] = _value; + } + + function setAddressStorage(bytes32 _id, address _value) external onlyByPoolContract{ + addressStorage[_id] = _value; + } + + + // ====== Storage Mappings Deleters ====== + function deleteUintStorage(bytes32 _id) external onlyByPoolContract{ + delete uintStorage[_id]; + } + + function deleteBoolStorage(bytes32 _id) external onlyByPoolContract{ + delete boolStorage[_id]; + } + + function deleteAddressStorage(bytes32 _id) external onlyByPoolContract{ + delete addressStorage[_id]; + } + + +} \ No newline at end of file diff --git a/contracts/PoolBase.sol b/contracts/PoolBase.sol new file mode 100644 index 00000000..965be39f --- /dev/null +++ b/contracts/PoolBase.sol @@ -0,0 +1,169 @@ +// SPDX-License-Identifier: MIT +pragma solidity 0.8.9; + +/// @title PoolBase, Base Pool Management Contract, +/// @author liorabadi +/// @notice Base control and management of the pool operation. + +import "./interfaces/DataStorageInterface.sol"; +import "@openzeppelin/contracts/access/AccessControl.sol"; +import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; + +/// @title This contract handles the modifiers and environmental parameters that control the pool. + +contract PoolBase is AccessControl, ReentrancyGuard{ + + bytes32 public constant POOL_MANAGER = keccak256("POOL_MANAGER"); + + // Events + event NewManagerAdded(address indexed _newManager); + event ManagerRemoved(address indexed _removedManager); + + /// @notice Getting access to the DataStorage Contract. + DataStorageInterface dataStorage; + + /// @notice This contract will be deployed by the same address of the initial guardian. Afterwards Guardian may not be the same as the admin + /// @notice if the guardian renounces to their guard. + constructor(DataStorageInterface _dataStorageAddress){ + dataStorage = DataStorageInterface(_dataStorageAddress); + _setupRole(DEFAULT_ADMIN_ROLE, msg.sender); + _setupRole(POOL_MANAGER, msg.sender); + _setPoolBaseAddress(); + } + + + // ====== Contract Modifiers ====== + /// @notice Besides the access control contract, the following modifiers will be used. + modifier onlyCurrentGuardian() { + require(msg.sender == dataStorage.getCurrentGuardian(), "Only callable by current guardian."); + _; + } + + modifier onlyPoolContract(){ + require(dataStorage.getBoolStorage(keccak256(abi.encodePacked("contract_exists", msg.sender))), "Invalid Contract Address."); + _; + } + + // ====== Pool Clearance ====== + function addPoolManager (address _address) public onlyRole(DEFAULT_ADMIN_ROLE) { + grantRole(POOL_MANAGER, _address); + emit NewManagerAdded(_address); + } + + function removePoolManager (address _address) public onlyRole(DEFAULT_ADMIN_ROLE) { + revokeRole(POOL_MANAGER, _address); + emit ManagerRemoved(_address); + } + + // ====== Pool Variables Setters ====== + /// @dev Store this contract address and existance on the main storage. + /// @notice Called while deploying the contract. + function _setPoolBaseAddress() private { + dataStorage.setBoolStorage(keccak256(abi.encodePacked("contract_exists", address(this))), true); + dataStorage.setAddressStorage(keccak256(abi.encodePacked("contract_address", "PoolBase")), address(this)); + } + + /// @dev Toggles the Pool Investing Switch. + /// @notice While live, anyone can invest but any state variable can be modified nor deleted. + function setPoolLive(bool _live) public onlyRole(POOL_MANAGER) { + bytes32 statusTag = keccak256(abi.encodePacked("isPoolLive")); + dataStorage.setBoolStorage(statusTag, _live); + } + + /// @dev Sets the Pool Maximium size expressed on ether. + /// @param _maxSize is a WEI value (or BigInt / BigNumber). + function setPoolMaxSize(uint _maxSize) public onlyRole(POOL_MANAGER) { + require(!dataStorage.getBoolStorage(keccak256(abi.encodePacked("isPoolLive"))), "The pool is currently live."); + bytes32 poolMaxSizeTag = keccak256(abi.encodePacked("poolMaxSize")); + dataStorage.setUintStorage(poolMaxSizeTag, _maxSize); + } + + /// @dev Set the interval in days of the rewards period. + function setRewardsInterval(uint _daysToRewards) public onlyRole(POOL_MANAGER) { + require(_daysToRewards >= 1, "The minimum rewards interval is one day."); + require(!dataStorage.getBoolStorage(keccak256(abi.encodePacked("isPoolLive"))), "The pool is currently live."); + bytes32 daysRewTag = keccak256(abi.encodePacked("daysToRewards")); + dataStorage.setUintStorage(daysRewTag, _daysToRewards); + } + + /// @dev Set the interest per effective period. + /// @param _rewardsInterest within the storage has 6 decimals. + /// @notice E.G. If 0.001134 rate is desired, 0.001134 * (10**6) = 1134. + function setRewardsInterest(uint _rewardsInterest) public onlyRole(POOL_MANAGER) { + require(!dataStorage.getBoolStorage(keccak256(abi.encodePacked("isPoolLive"))), "The pool is currently live."); + bytes32 rewardsIntTag = keccak256(abi.encodePacked("rewardsInterestPerPeriod")); + dataStorage.setUintStorage(rewardsIntTag, _rewardsInterest); + } + + /// @dev Set the max. contribution allowed for each user. + /// @param _newContrLimit is a WEI value. + function setContributionLimit(uint _newContrLimit) public onlyRole(POOL_MANAGER){ + require(!dataStorage.getBoolStorage(keccak256(abi.encodePacked("isPoolLive"))), "The pool is currently live."); + bytes32 contrLimitTag = keccak256(abi.encodePacked("contributionLimit")); + dataStorage.setUintStorage(contrLimitTag, _newContrLimit); + } + + /// @dev Set the min. contribution allowed for each user. + /// @param _newMinContr is a WEI value. + function setMinContribution(uint _newMinContr) public onlyRole(POOL_MANAGER){ + bytes32 contrLimitTag = keccak256(abi.encodePacked("contributionLimit")); + require(!dataStorage.getBoolStorage(keccak256(abi.encodePacked("isPoolLive"))), "The pool is currently live."); + require(dataStorage.getUintStorage(contrLimitTag) > _newMinContr, "The min. contr. limit needs to be smaller than the max. limit."); + + bytes32 minContrTag = keccak256(abi.encodePacked("minContribution")); + dataStorage.setUintStorage(minContrTag, _newMinContr); + } + + + // ====== Pool Data Getters ====== + /// @dev Getters for each pool variable. + + function getContractAddress(string memory _contractName) internal view returns(address){ + bytes32 addressTag = keccak256(abi.encodePacked("contract_address", _contractName)); + address contractAddress = dataStorage.getAddressStorage(addressTag); + require(contractAddress != address(0x0), "Contract address not found."); + return contractAddress; + } + + function getPoolBaseAddress() public view returns(address){ + bytes32 addressTag = keccak256(abi.encodePacked("contract_address", "PoolBase")); + address contractAddress = dataStorage.getAddressStorage(addressTag); + return contractAddress; + } + + function getPoolState() public view returns(bool){ + bytes32 statusTag = keccak256(abi.encodePacked("isPoolLive")); + return dataStorage.getBoolStorage(statusTag); + } + + function getPoolMaxSize() public view returns(uint){ + bytes32 poolMaxSizeTag = keccak256(abi.encodePacked("poolMaxSize")); + return dataStorage.getUintStorage(poolMaxSizeTag); + } + + function getRewardsInterval() public view returns(uint){ + bytes32 daysRewTag = keccak256(abi.encodePacked("daysToRewards")); + return dataStorage.getUintStorage(daysRewTag); + } + + function getRewardsInterest() public view returns(uint){ + bytes32 rewardsIntTag = keccak256(abi.encodePacked("rewardsInterestPerPeriod")); + return dataStorage.getUintStorage(rewardsIntTag); + } + + function getContributionLimit() public view returns(uint){ + bytes32 contrLimitTag = keccak256(abi.encodePacked("contributionLimit")); + return dataStorage.getUintStorage(contrLimitTag); + } + + function getMinContribution() public view returns(uint){ + bytes32 minContrTag = keccak256(abi.encodePacked("minContribution")); + return dataStorage.getUintStorage(minContrTag); + } + + + + + + +} \ No newline at end of file diff --git a/contracts/PoolClient.sol b/contracts/PoolClient.sol new file mode 100644 index 00000000..4b7a5e84 --- /dev/null +++ b/contracts/PoolClient.sol @@ -0,0 +1,166 @@ +// SPDX-License-Identifier: MIT +pragma solidity 0.8.9; + +/// @title PoolClient, Pool Client Contract, +/// @author liorabadi +/// @notice Contract to perform deposits, withdrawals and injections. +/// @notice No tokens are stored on this contract. +/// @notice The tokens are sent back and forth between this contract and the PoolVault. +/// @notice The tokens are sent back and forth between this contract and the PoolVault. + +import "./PoolBase.sol"; +import "./interfaces/rwETHTokenInterface.sol"; +import "./interfaces/PoolClientInterface.sol"; +import "./interfaces/TokenBalancesInterface.sol"; +import "./interfaces/PoolVaultInterface.sol"; + +contract PoolClient is PoolBase { + + event UserStaked(address indexed _staker, uint _ethAmount, uint _time); + event RewardsInjected(uint _lastRewardTime, uint _amountInjected); + event UserUnstaked(address indexed _unstaker, uint _ethAmount, uint _time); + + constructor(DataStorageInterface _dataStorageAddress) PoolBase(_dataStorageAddress) { + _setPoolClientAddress(); + } + + modifier depositCompliance() { + PoolVaultInterface poolVault = PoolVaultInterface(getContractAddress("PoolVault")); + bytes32 statusTag = keccak256(abi.encodePacked("isPoolLive")); + bytes32 daysRewTag = keccak256(abi.encodePacked("daysToRewards")); + bytes32 rewardsIntTag = keccak256(abi.encodePacked("rewardsInterestPerPeriod")); + bytes32 contrLimitTag = keccak256(abi.encodePacked("contributionLimit")); + bytes32 minContrTag = keccak256(abi.encodePacked("minContribution")); + bytes32 poolMaxSizeTag = keccak256(abi.encodePacked("poolMaxSize")); + + require(dataStorage.getUintStorage(daysRewTag) != 0, "The team needs to set a reward interval."); + require(dataStorage.getUintStorage(rewardsIntTag) != 0 , "The team needs to set a reward ratio."); + require(dataStorage.getUintStorage(contrLimitTag) != 0, "The team needs to set a contribution limit."); + require(msg.value <= dataStorage.getUintStorage(contrLimitTag), "Max. current contribution limit exceeded."); + require(dataStorage.getUintStorage(minContrTag) <= msg.value, "Value to deposit needs to be higher than the current minimum contribution limit."); + require(poolVault.poolEtherSize() + msg.value <= dataStorage.getUintStorage(poolMaxSizeTag), "Max. Pool size overflow with that amount of deposit."); + _; + } + + modifier withdrawCompliance(uint _rwEtherWithdrawal) { + PoolVaultInterface poolVault = PoolVaultInterface(getContractAddress("PoolVault")); + rwETHTokenInterface rwEthToken = rwETHTokenInterface(getContractAddress("rwETHToken")); + bytes32 statusTag = keccak256(abi.encodePacked("isPoolLive")); + + require(rwEthToken.balanceOf(msg.sender) >= _rwEtherWithdrawal, "You don't have that amount of tokens on your account."); + require(poolVault.poolEtherSize() - rwEthToken.calcEthValue(_rwEtherWithdrawal) >= 0, "Pool size cannot be smaller than zero."); + require(dataStorage.getBoolStorage(statusTag), "The pool is currently paused"); + _; + } + + modifier injectionComliance() { + bytes32 statusTag = keccak256(abi.encodePacked("isPoolLive")); + + require(!dataStorage.getBoolStorage(statusTag), "The pool is currently live."); + _; + } + + /// @dev Store this contract address and existance on the main storage. + /// @notice Called while deploying the contract. + function _setPoolClientAddress() private { + dataStorage.setBoolStorage(keccak256(abi.encodePacked("contract_exists", address(this))), true); + dataStorage.setAddressStorage(keccak256(abi.encodePacked("contract_address", "PoolClient")), address(this)); + } + + /// @dev Main Staking function. Allows users to deposit ether in exchange of rwEther. + /// @notice The exchange rate (ETH / rwETH) is calculated within the mint function. + /// @notice The minting function updates only the current rwEth supply. + /// @notice The mint function comes with a built-in ether/rwEther converter. + /// @notice Once the user deposits, the ether go to the vault contract. + function deposit() external payable depositCompliance() nonReentrant() { + rwETHTokenInterface rwEthToken = rwETHTokenInterface(getContractAddress("rwETHToken")); + rwEthToken.mint(msg.sender, msg.value); + + bytes32 currentEthSupplyTag = keccak256(abi.encodePacked("totalSupply_Ether")); + dataStorage.increaseUintStorage(currentEthSupplyTag, msg.value); + + emit UserStaked(msg.sender, msg.value , block.timestamp); + _depositToVault(); + } + + /// @dev Transfers the staked ether to the vault. + function _depositToVault() private { + PoolVaultInterface poolVault = PoolVaultInterface(getContractAddress("PoolVault")); + poolVault.storeEther{value: msg.value}(); + } + + + /// @dev Helps the team calculate the rewards. Also, assigns the amount to inject into a variable. + function calculateRewards() public onlyRole(POOL_MANAGER) injectionComliance() { + TokenBalancesInterface poolTokenBalances = TokenBalancesInterface(getContractAddress("TokenBalances")); + + bytes32 rewardsToInjectTag = keccak256(abi.encodePacked("rewardsToInject")); + + uint rewardsInterest = getRewardsInterest(); + uint rewardsToInject = poolTokenBalances.getTotalEtherStaked() * rewardsInterest / (10**6); + dataStorage.setUintStorage(rewardsToInjectTag, rewardsToInject); + } + + /// @dev Gets the lastest amount of ether to inject. + function getRewardsToInject() public view onlyRole(POOL_MANAGER) returns(uint){ + bytes32 rewardsToInjectTag = keccak256(abi.encodePacked("rewardsToInject")); + return dataStorage.getUintStorage(rewardsToInjectTag); + } + + /// @dev This function logic prevents the team to inject a wrong amount of ether as rewards. + /// @notice With this function, both the team and the users will have the insuarance that the right amount will be injected. + /// @notice the require reverts the process if a wrong amount is willed to be injected. + /// @notice This function does not updates the poolEther size, it just updates the total amount of ether on the contract network. + /// @notice Th + + function rewardsInjector() public payable onlyRole(POOL_MANAGER) injectionComliance() { + bytes32 lastRewardTimeTag = keccak256(abi.encodePacked("lastRewardTime")); + + require(dataStorage.getUintStorage(lastRewardTimeTag) + (getRewardsInterval() * 1 days) < block.timestamp, "The team has already injected the rewards."); + require(msg.value == getRewardsToInject(), "Invalid ether interest injected."); + + PoolVaultInterface poolVault = PoolVaultInterface(getContractAddress("PoolVault")); + + bytes32 totalRewardsInjectedTag = keccak256(abi.encodePacked("totalRewardsInjected")); + bytes32 currentEthSupplyTag = keccak256(abi.encodePacked("totalSupply_Ether")); + + dataStorage.setUintStorage(lastRewardTimeTag, block.timestamp); + dataStorage.increaseUintStorage(totalRewardsInjectedTag, msg.value); + dataStorage.increaseUintStorage(currentEthSupplyTag, msg.value); + + poolVault.processRewards{value: msg.value}(); + emit RewardsInjected(dataStorage.getUintStorage(lastRewardTimeTag), msg.value); + } + + /// @dev Main Unstaking function. Allows users to deposit rwEther in exchange of Ether. + /// @notice The withdrawEther function updates the total_ether_supply and its staked amount. + /// @notice Once it is called, the rwEth amount is burned and the vault sends to this contract the ether counterpart. + /// @notice User needs to provide allowance to the contract to make this call (performed on the frontend of the Dapp). + function withdraw(uint _rwEthAmount) external withdrawCompliance(_rwEthAmount) nonReentrant(){ + rwETHTokenInterface rwEthToken = rwETHTokenInterface(getContractAddress("rwETHToken")); + PoolVaultInterface poolVault = PoolVaultInterface(getContractAddress("PoolVault")); + + require(rwEthToken.allowance(msg.sender, address(this)) >= _rwEthAmount, "Reverted: Client lacks allowance to perform this action."); + + rwEthToken.transferFrom(msg.sender, address(this), _rwEthAmount); + + uint etherToUnstake = rwEthToken.calcEthValue(_rwEthAmount); + rwEthToken.burn(_rwEthAmount); + bytes32 burnedRwEtherTag = keccak256(abi.encodePacked("totalBurned_rewardEther")); + dataStorage.increaseUintStorage(burnedRwEtherTag, _rwEthAmount); + + poolVault.withdrawEther(msg.sender, etherToUnstake); + emit UserStaked(msg.sender, etherToUnstake, block.timestamp); + } + + function getPoolClientAddress() public view returns(address){ + bytes32 addressTag = keccak256(abi.encodePacked("contract_address", "PoolClient")); + address contractAddress = dataStorage.getAddressStorage(addressTag); + return contractAddress; + } + + + + + +} diff --git a/contracts/PoolVault.sol b/contracts/PoolVault.sol new file mode 100644 index 00000000..5d23f403 --- /dev/null +++ b/contracts/PoolVault.sol @@ -0,0 +1,68 @@ +// SPDX-License-Identifier: MIT +pragma solidity 0.8.9; + +/// @title PoolVault, Pool Vault Contract, +/// @author liorabadi +/// @notice Where all the tokens and assets are held. +/// @notice No user can interact with this contract. Works only with contracts of the pool. +/// @notice There are no getter nor public functions on this contract. Information only accessible via TokenBalances Contract. + +import "./PoolBase.sol"; +import "./interfaces/rwETHTokenInterface.sol"; + +contract PoolVault is PoolBase { + + constructor(DataStorageInterface _dataStorageAddress) PoolBase(_dataStorageAddress) { + _setPoolVaultAddress(); + } + + modifier onlyByPoolContract { + bytes32 contractTag = keccak256(abi.encodePacked("contract_exists", msg.sender)); + require(dataStorage.getBoolStorage(contractTag), "The contract address is invalid."); + _; + } + + /// @dev Store this contract address and existance on the main storage. + /// @notice Called while deploying the contract. + function _setPoolVaultAddress() private { + dataStorage.setBoolStorage(keccak256(abi.encodePacked("contract_exists", address(this))), true); + dataStorage.setAddressStorage(keccak256(abi.encodePacked("contract_address", "PoolVault")), address(this)); + } + + function poolEtherSize() external view returns(uint){ + bytes32 etherVaultedTag = keccak256(abi.encodePacked("total_ether_staked")); + return dataStorage.getUintStorage(etherVaultedTag); + } + + function storeEther() external payable onlyByPoolContract { + bytes32 etherVaultedTag = keccak256(abi.encodePacked("total_ether_staked")); + dataStorage.increaseUintStorage(etherVaultedTag, msg.value); + } + + function withdrawEther(address _to, uint _ethAmount) external onlyByPoolContract nonReentrant() { + bytes32 etherVaultedTag = keccak256(abi.encodePacked("total_ether_staked")); + bytes32 ethBalTag = keccak256(abi.encodePacked("totalSupply_Ether")); + + require(dataStorage.getUintStorage(etherVaultedTag) - _ethAmount >= 0 , "Pool lacking of ether to perform this action."); + + dataStorage.decreaseUintStorage(etherVaultedTag, _ethAmount); + dataStorage.decreaseUintStorage(ethBalTag, _ethAmount); + + (bool success, ) = payable(_to).call{value: _ethAmount}(""); + require(success); + } + + function processRewards() external payable onlyByPoolContract nonReentrant(){ + bytes32 etherVaultedTag = keccak256(abi.encodePacked("total_ether_staked")); + dataStorage.increaseUintStorage(etherVaultedTag, msg.value); + } + + function getPoolVaultAddress() public view returns(address){ + bytes32 addressTag = keccak256(abi.encodePacked("contract_address", "PoolVault")); + address contractAddress = dataStorage.getAddressStorage(addressTag); + return contractAddress; + } + + + +} diff --git a/contracts/TokenBalances.sol b/contracts/TokenBalances.sol new file mode 100644 index 00000000..e66af246 --- /dev/null +++ b/contracts/TokenBalances.sol @@ -0,0 +1,61 @@ +// SPDX-License-Identifier: MIT +pragma solidity 0.8.9; + +/// @title TokenBalances, Token Balances Contract, +/// @author liorabadi +/// @notice Tracking and setters of the token related variables. + +import "./PoolBase.sol"; + +contract TokenBalances is PoolBase { + + + constructor (DataStorageInterface _dataStorageAddress) PoolBase(_dataStorageAddress) { + _setTokenBalancesAddress(); + } + + /// @dev Store this contract address and existance on the main storage. + /// @notice Called while deploying the contract. + function _setTokenBalancesAddress() private{ + dataStorage.setBoolStorage(keccak256(abi.encodePacked("contract_exists", address(this))), true); + dataStorage.setAddressStorage(keccak256(abi.encodePacked("contract_address", "TokenBalances")), address(this)); + } + + // ===== Getter functions ===== + function getTotalEthSupply() external view returns(uint){ + bytes32 ethBalTag = keccak256(abi.encodePacked("totalSupply_Ether")); + return dataStorage.getUintStorage(ethBalTag); + } + + function getTotalrwEthSupply() external view returns(uint){ + bytes32 rwEthBalTag = keccak256(abi.encodePacked("totalSupply_rewardEther")); + return dataStorage.getUintStorage(rwEthBalTag); + } + + function getRwEthBurned() external view returns(uint){ + bytes32 burnedRwEtherTag = keccak256(abi.encodePacked("totalBurned_rewardEther")); + return dataStorage.getUintStorage(burnedRwEtherTag); + } + + function getTotalEtherStaked() external view returns(uint){ + bytes32 currentPoolSizeTag = keccak256(abi.encodePacked("total_ether_staked")); + return dataStorage.getUintStorage(currentPoolSizeTag); + } + + function getTotalRewardsInjected() external view returns(uint){ + bytes32 totalRewardsInjectedTag = keccak256(abi.encodePacked("totalRewardsInjected")); + return dataStorage.getUintStorage(totalRewardsInjectedTag); + } + + function getRwEthMintedByUser(address _user) external view returns(uint){ + bytes32 mintedRwEtherTag = keccak256(abi.encodePacked("minted_rwEther", _user)); + return dataStorage.getUintStorage(mintedRwEtherTag); + } + + function getTokenBalancesAddress() public view returns(address){ + bytes32 addressTag = keccak256(abi.encodePacked("contract_address", "TokenBalances")); + address contractAddress = dataStorage.getAddressStorage(addressTag); + return contractAddress; + } +} + diff --git a/contracts/interfaces/DataStorageInterface.sol b/contracts/interfaces/DataStorageInterface.sol new file mode 100644 index 00000000..ec180c1b --- /dev/null +++ b/contracts/interfaces/DataStorageInterface.sol @@ -0,0 +1,31 @@ +// SPDX-License-Identifier: MIT +pragma solidity 0.8.9; + +interface DataStorageInterface { + + // ====== Storage Contract Control ====== + function getStorageStatus() external view returns(bool); + function getCurrentGuardian() external view returns(address); + function setNewGuardian(address _newGuardian) external; + function confirmGuard() external; + function setStorageLive() external; + + // ====== Storage Mappings Getters ====== + function getUintStorage(bytes32 _id) external view returns(uint256); + function getBoolStorage(bytes32 _id) external view returns(bool); + function getAddressStorage(bytes32 _id) external view returns(address); + function getDataStorageAddress() external view returns(address); + + // ====== Storage Mappings Setters ====== + function setUintStorage(bytes32 _id, uint256 _value) external; + function setBoolStorage(bytes32 _id, bool _value) external; + function setAddressStorage(bytes32 _id, address _value) external; + function increaseUintStorage(bytes32 _id, uint256 _increment) external; + function decreaseUintStorage(bytes32 _id, uint256 _decrement) external; + + // ====== Storage Mappings Deleters ====== + function deleteUintStorage(bytes32 _id) external; + function deleteBoolStorage(bytes32 _id) external; + function deleteAddressStorage(bytes32 _id) external; + +} \ No newline at end of file diff --git a/contracts/interfaces/PoolBaseInterface.sol b/contracts/interfaces/PoolBaseInterface.sol new file mode 100644 index 00000000..3f16222f --- /dev/null +++ b/contracts/interfaces/PoolBaseInterface.sol @@ -0,0 +1,24 @@ +// SPDX-License-Identifier: MIT +pragma solidity 0.8.9; + +interface PoolBaseInterface { + + function addPoolManager (address _address) external; + function removePoolManager (address _address) external; + + function setPoolLive(bool _live) external; + function setPoolMaxSize(uint _maxSize) external; + function setRewardsInterval(uint _daysToRewards) external; + function setRewardsInterest(uint _rewardsInterest) external; + function setContributionLimit(uint _newContrLimit) external; + function setMinContribution(uint _newMinContr) external; + + function poolBaseAddress() external view returns(address); + function getPoolState() external view returns(bool); + function getPoolMaxSize() external view returns(uint); + function getRewardsInterval() external view returns(uint); + function getRewardsInterest() external view returns(uint); + function getContributionLimit() external view returns(uint); + function getMinContribution() external view returns(uint); + +} \ No newline at end of file diff --git a/contracts/interfaces/PoolClientInterface.sol b/contracts/interfaces/PoolClientInterface.sol new file mode 100644 index 00000000..fd80af31 --- /dev/null +++ b/contracts/interfaces/PoolClientInterface.sol @@ -0,0 +1,12 @@ +// SPDX-License-Identifier: MIT +pragma solidity 0.8.9; + +interface PoolClientInterface { + + function deposit() external payable; + function withdraw() external payable; + function calculateRewards() external; + function setAllowance(uint _amount) external returns(uint); + function getPoolClientAddress() external view returns(address); + +} \ No newline at end of file diff --git a/contracts/interfaces/PoolVaultInterface.sol b/contracts/interfaces/PoolVaultInterface.sol new file mode 100644 index 00000000..8d121a9f --- /dev/null +++ b/contracts/interfaces/PoolVaultInterface.sol @@ -0,0 +1,13 @@ +// SPDX-License-Identifier: MIT +pragma solidity 0.8.9; + +interface PoolVaultInterface { + + function poolEtherSize() external view returns(uint); + function storeEther() external payable; + function processRewards() external payable; + function withdrawEther(address _to, uint _ethAmount) external; + function getPoolVaultAddress() external view returns(address); + + +} \ No newline at end of file diff --git a/contracts/interfaces/TokenBalancesInterface.sol b/contracts/interfaces/TokenBalancesInterface.sol new file mode 100644 index 00000000..2360b0f2 --- /dev/null +++ b/contracts/interfaces/TokenBalancesInterface.sol @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: MIT +pragma solidity 0.8.9; + + +interface TokenBalancesInterface { + + function getTotalEthSupply() external view returns(uint); + function getTotalrwEthSupply() external view returns(uint); + function getRwEthBurned() external view returns(uint); + + function getTotalEtherStaked() external view returns(uint); + function getTotalRewardsInjected() external view returns(uint); + function getRwEthMintedByUser(address _user) external view returns(uint); + function getTokenBalancesAddress() external view returns(address); +} \ No newline at end of file diff --git a/contracts/interfaces/rwETHTokenInterface.sol b/contracts/interfaces/rwETHTokenInterface.sol new file mode 100644 index 00000000..66d33386 --- /dev/null +++ b/contracts/interfaces/rwETHTokenInterface.sol @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: MIT +pragma solidity 0.8.9; + +import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; + +interface rwETHTokenInterface is IERC20 { + + function setRwETHTokenAddress() external; + function calcEthValue(uint _rwEthAmount) external view returns(uint); + function calcRwEthValue(uint _ethAmount) external view returns(uint); + function getUnitPrice(uint _ethAmount) external view returns(uint); + function mint(address _to, uint _ethAmount) external; + function burn(uint _rwEthAmount) external; + function getRwETHTokenAddress() external view returns(address); + + +} \ No newline at end of file diff --git a/contracts/rwETHToken.sol b/contracts/rwETHToken.sol new file mode 100644 index 00000000..117c59e3 --- /dev/null +++ b/contracts/rwETHToken.sol @@ -0,0 +1,96 @@ +// SPDX-License-Identifier: MIT +pragma solidity 0.8.9; + +/// @title rwETHToken, Reward Ether Token contract, +/// @author liorabadi +/// @notice Cretion of the reward token and its functions. + + +import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; +import "./PoolBase.sol"; +import "./interfaces/TokenBalancesInterface.sol"; + +contract rwETHToken is PoolBase, ERC20 { + + event TokensMinted(address indexed _to, uint _rwEthAmount, uint _ethAmount); + event TokensBurned(address indexed _from, uint _rwEthAmount); + + constructor(DataStorageInterface _dataStorageAddress) PoolBase(_dataStorageAddress) ERC20("Reward ETH Token", "rwETH"){ + _setRwETHTokenAddress(); + } + + /// @dev Store this contract address and existance on the main storage. + /// @notice Called while deploying the contract. + function _setRwETHTokenAddress() private { + dataStorage.setBoolStorage(keccak256(abi.encodePacked("contract_exists", address(this))), true); + dataStorage.setAddressStorage(keccak256(abi.encodePacked("contract_address", "rwETHToken")), address(this)); + } + + /// @dev Calculate the equivalent Ether to a certain rwEther amount. + function calcEthValue(uint _rwEthAmount) public view returns(uint){ + TokenBalancesInterface poolTokenBalances = TokenBalancesInterface(getContractAddress("TokenBalances")); + uint currentEthBalance = poolTokenBalances.getTotalEthSupply(); + uint currentRwEthSupply = poolTokenBalances.getTotalrwEthSupply(); + + if(currentRwEthSupply != 0){ + return (_rwEthAmount * currentEthBalance / currentRwEthSupply); + } + return _rwEthAmount; + } + + /// @dev Calculate the equivalent rwEther to a certain Ether amount. + function calcRwEthValue(uint _ethAmount) public view returns(uint){ + TokenBalancesInterface poolTokenBalances = TokenBalancesInterface(getContractAddress("TokenBalances")); + uint currentEthBalance = poolTokenBalances.getTotalEthSupply(); + uint currentRwEthSupply = poolTokenBalances.getTotalrwEthSupply(); + + if(currentRwEthSupply != 0){ + require(currentEthBalance > 0, "Currently there are no ether stored. Cannot divide by zero."); + return (_ethAmount * currentRwEthSupply / currentEthBalance ); + } + return _ethAmount; + } + + /// @dev Calculate the Eth / rwEth ratio a.k.a rwEth price expressed in Ether (wei) + function getUnitPrice() public view returns(uint){ + return calcEthValue(1 ether); + } + + /// @dev Mints reward ether (rwEth) as a receipt of investment. + function mint(address _to, uint _ethAmount) external onlyPoolContract(){ + bytes32 rwEthSupplyTag = keccak256(abi.encodePacked("totalSupply_rewardEther")); + require(_ethAmount > 0 , "Mint amount needs to be greater than zero."); + // Calculate the equivalent rwEth amount (deppends on the current repricing status). + uint rwEtherCalc = calcRwEthValue(_ethAmount); + _mint(_to, rwEtherCalc); + dataStorage.increaseUintStorage(rwEthSupplyTag, rwEtherCalc); + emit TokensMinted(_to, rwEtherCalc, _ethAmount); + } + + /// @dev Burns rwEther. + /// @notice Used while withdrawing funds to keep balanced the system. + /// @notice No counterpart of ethers are transfered back to the burner while performing this call. + /// @notice After calling this function, it is needed to perform the ether counterpart transfer to the involved parts. + function burn(uint _rwEthAmount) external onlyPoolContract(){ + TokenBalancesInterface poolTokenBalances = TokenBalancesInterface(getContractAddress("TokenBalances")); + bytes32 rwEthSupplyTag = keccak256(abi.encodePacked("totalSupply_rewardEther")); + + require(_rwEthAmount > 0 , "Burn amount needs to be greater than zero."); + require(balanceOf(msg.sender) > 0,"Insufficient rwEth balance."); + + // Calculate the equivalent rwEth amount (deppends on the current repricing status). + uint etherCalc = calcEthValue(_rwEthAmount); + require(etherCalc <= poolTokenBalances.getTotalEthSupply(), "There aren't enough backed ethers to perform this action."); + dataStorage.decreaseUintStorage(rwEthSupplyTag, _rwEthAmount); + _burn(msg.sender, _rwEthAmount); + emit TokensBurned(msg.sender, _rwEthAmount); + } + + function getRwETHTokenAddress() public view returns(address){ + bytes32 addressTag = keccak256(abi.encodePacked("contract_address", "rwETHToken")); + address contractAddress = dataStorage.getAddressStorage(addressTag); + return contractAddress; + } + + +} diff --git a/contracts/zthings.todo b/contracts/zthings.todo new file mode 100644 index 00000000..c7695032 --- /dev/null +++ b/contracts/zthings.todo @@ -0,0 +1,3 @@ +Project Finished! + + diff --git a/hardhat.config.js b/hardhat.config.js new file mode 100644 index 00000000..35e09f2e --- /dev/null +++ b/hardhat.config.js @@ -0,0 +1,68 @@ +require("@nomiclabs/hardhat-waffle"); +require("hardhat-gas-reporter"); +require("dotenv").config(); +require('@openzeppelin/hardhat-upgrades'); +require("@nomiclabs/hardhat-etherscan"); +require('@nomiclabs/hardhat-ethers'); + +// // This is a sample Hardhat task. To learn how to create your own go to +// // https://hardhat.org/guides/create-task.html +// task("accounts", "Prints the list of accounts", async (taskArgs, hre) => { +// const accounts = await hre.ethers.getSigners(); + +// for (const account of accounts) { +// console.log(account.address); +// } +// }); + + +module.exports = { + solidity: { + version: "0.8.9", + settings: { + optimizer: { + enabled: true, + runs: 150, + }, + }, + }, + defaultNetwork: "hardhat", + networks: { + hardhat: { + blockGasLimit: 30000000, // (30 MM) The gas limit per block on mainnet by Apr. 2022. + gasLimit: 30000000 + }, + localhost: { + gasMultiplier: 1.15, + url: "http://127.0.0.1:8545/", + }, + rinkeby: { + url: process.env.RINKEBY_ALCHEMY_URL || "", + accounts: + process.env.PRIVATE_KEY !== undefined ? [process.env.PRIVATE_KEY] : [], + }, + ropsten: { + url: process.env.ROPSTEN_ALCHEMY_URL || "", + accounts: + process.env.PRIVATE_KEY !== undefined ? [process.env.PRIVATE_KEY] : [], + }, + mainnet: { + url: process.env.NETWORK_MAINNET_URL || "", + accounts: + process.env.PRIVATE_KEY !== undefined ? [process.env.PRIVATE_KEY] : [], + }, + }, + gasReporter: { + enabled: true, + currency: "USD", + token: "ETH", + coinmarketcap: process.env.GAS_REPORTER_COIN_MARKET_CAP_API_KEY !== undefined, + gasPriceApi: process.env.ETHERSCAN_GAS_API, + }, + etherscan: { + apiKey: process.env.ETHERSCAN_API_KEY, + }, +}; + +// To verify run: +// npx hardhat verify --constructor-args config/contractArguments.js CONTRACT_ADDRESS --network rinkeby diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 00000000..e2458c56 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,29138 @@ +{ + "name": "hardhat-project", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "hardhat-project", + "dependencies": { + "@nomiclabs/hardhat-etherscan": "^3.0.1", + "@openzeppelin/contracts": "^4.5.0", + "hardhat-ethers": "^1.0.1", + "hardhat-gas-reporter": "^1.0.8" + }, + "devDependencies": { + "@nomiclabs/hardhat-ethers": "^2.0.5", + "@nomiclabs/hardhat-waffle": "^2.0.3", + "@openzeppelin/hardhat-upgrades": "^1.14.0", + "chai": "^4.3.6", + "ethereum-waffle": "^3.4.0", + "ethers": "^5.5.4", + "hardhat": "^2.8.4", + "mocha": "^9.2.2" + } + }, + "node_modules/@ensdomains/ens": { + "version": "0.4.5", + "resolved": "https://registry.npmjs.org/@ensdomains/ens/-/ens-0.4.5.tgz", + "integrity": "sha512-JSvpj1iNMFjK6K+uVl4unqMoa9rf5jopb8cya5UGBWz23Nw8hSNT7efgUx4BTlAPAgpNlEioUfeTyQ6J9ZvTVw==", + "deprecated": "Please use @ensdomains/ens-contracts", + "dev": true, + "dependencies": { + "bluebird": "^3.5.2", + "eth-ens-namehash": "^2.0.8", + "solc": "^0.4.20", + "testrpc": "0.0.1", + "web3-utils": "^1.0.0-beta.31" + } + }, + "node_modules/@ensdomains/ens/node_modules/ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@ensdomains/ens/node_modules/camelcase": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", + "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@ensdomains/ens/node_modules/cliui": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", + "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", + "dev": true, + "dependencies": { + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wrap-ansi": "^2.0.0" + } + }, + "node_modules/@ensdomains/ens/node_modules/decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@ensdomains/ens/node_modules/fs-extra": { + "version": "0.30.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-0.30.0.tgz", + "integrity": "sha1-8jP/zAjU2n1DLapEl3aYnbHfk/A=", + "dev": true, + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^2.1.0", + "klaw": "^1.0.0", + "path-is-absolute": "^1.0.0", + "rimraf": "^2.2.8" + } + }, + "node_modules/@ensdomains/ens/node_modules/get-caller-file": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz", + "integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w==", + "dev": true + }, + "node_modules/@ensdomains/ens/node_modules/is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "dependencies": { + "number-is-nan": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@ensdomains/ens/node_modules/jsonfile": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", + "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", + "dev": true, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/@ensdomains/ens/node_modules/require-from-string": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-1.2.1.tgz", + "integrity": "sha1-UpyczvJzgK3+yaL5ZbZJu+5jZBg=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@ensdomains/ens/node_modules/require-main-filename": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz", + "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=", + "dev": true + }, + "node_modules/@ensdomains/ens/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/@ensdomains/ens/node_modules/solc": { + "version": "0.4.26", + "resolved": "https://registry.npmjs.org/solc/-/solc-0.4.26.tgz", + "integrity": "sha512-o+c6FpkiHd+HPjmjEVpQgH7fqZ14tJpXhho+/bQXlXbliLIS/xjXb42Vxh+qQY1WCSTMQ0+a5vR9vi0MfhU6mA==", + "dev": true, + "dependencies": { + "fs-extra": "^0.30.0", + "memorystream": "^0.3.1", + "require-from-string": "^1.1.0", + "semver": "^5.3.0", + "yargs": "^4.7.1" + }, + "bin": { + "solcjs": "solcjs" + } + }, + "node_modules/@ensdomains/ens/node_modules/string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "dependencies": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@ensdomains/ens/node_modules/strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "dev": true, + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@ensdomains/ens/node_modules/which-module": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-1.0.0.tgz", + "integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8=", + "dev": true + }, + "node_modules/@ensdomains/ens/node_modules/wrap-ansi": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", + "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", + "dev": true, + "dependencies": { + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@ensdomains/ens/node_modules/y18n": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.2.tgz", + "integrity": "sha512-uGZHXkHnhF0XeeAPgnKfPv1bgKAYyVvmNL1xlKsPYZPaIHxGti2hHqvOCQv71XMsLxu1QjergkqogUnms5D3YQ==", + "dev": true + }, + "node_modules/@ensdomains/ens/node_modules/yargs": { + "version": "4.8.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-4.8.1.tgz", + "integrity": "sha1-wMQpJMpKqmsObaFznfshZDn53cA=", + "dev": true, + "dependencies": { + "cliui": "^3.2.0", + "decamelize": "^1.1.1", + "get-caller-file": "^1.0.1", + "lodash.assign": "^4.0.3", + "os-locale": "^1.4.0", + "read-pkg-up": "^1.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^1.0.1", + "set-blocking": "^2.0.0", + "string-width": "^1.0.1", + "which-module": "^1.0.0", + "window-size": "^0.2.0", + "y18n": "^3.2.1", + "yargs-parser": "^2.4.1" + } + }, + "node_modules/@ensdomains/ens/node_modules/yargs-parser": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-2.4.1.tgz", + "integrity": "sha1-hVaN488VD/SfpRgl8DqMiA3cxcQ=", + "dev": true, + "dependencies": { + "camelcase": "^3.0.0", + "lodash.assign": "^4.0.6" + } + }, + "node_modules/@ensdomains/resolver": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/@ensdomains/resolver/-/resolver-0.2.4.tgz", + "integrity": "sha512-bvaTH34PMCbv6anRa9I/0zjLJgY4EuznbEMgbV77JBCQ9KNC46rzi0avuxpOfu+xDjPEtSFGqVEOr5GlUSGudA==", + "deprecated": "Please use @ensdomains/ens-contracts", + "dev": true + }, + "node_modules/@ethereum-waffle/chai": { + "version": "3.4.4", + "resolved": "https://registry.npmjs.org/@ethereum-waffle/chai/-/chai-3.4.4.tgz", + "integrity": "sha512-/K8czydBtXXkcM9X6q29EqEkc5dN3oYenyH2a9hF7rGAApAJUpH8QBtojxOY/xQ2up5W332jqgxwp0yPiYug1g==", + "dev": true, + "dependencies": { + "@ethereum-waffle/provider": "^3.4.4", + "ethers": "^5.5.2" + }, + "engines": { + "node": ">=10.0" + } + }, + "node_modules/@ethereum-waffle/compiler": { + "version": "3.4.4", + "resolved": "https://registry.npmjs.org/@ethereum-waffle/compiler/-/compiler-3.4.4.tgz", + "integrity": "sha512-RUK3axJ8IkD5xpWjWoJgyHclOeEzDLQFga6gKpeGxiS/zBu+HB0W2FvsrrLalTFIaPw/CGYACRBSIxqiCqwqTQ==", + "dev": true, + "dependencies": { + "@resolver-engine/imports": "^0.3.3", + "@resolver-engine/imports-fs": "^0.3.3", + "@typechain/ethers-v5": "^2.0.0", + "@types/mkdirp": "^0.5.2", + "@types/node-fetch": "^2.5.5", + "ethers": "^5.0.1", + "mkdirp": "^0.5.1", + "node-fetch": "^2.6.1", + "solc": "^0.6.3", + "ts-generator": "^0.1.1", + "typechain": "^3.0.0" + }, + "engines": { + "node": ">=10.0" + } + }, + "node_modules/@ethereum-waffle/compiler/node_modules/fs-extra": { + "version": "0.30.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-0.30.0.tgz", + "integrity": "sha1-8jP/zAjU2n1DLapEl3aYnbHfk/A=", + "dev": true, + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^2.1.0", + "klaw": "^1.0.0", + "path-is-absolute": "^1.0.0", + "rimraf": "^2.2.8" + } + }, + "node_modules/@ethereum-waffle/compiler/node_modules/jsonfile": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", + "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", + "dev": true, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/@ethereum-waffle/compiler/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/@ethereum-waffle/compiler/node_modules/solc": { + "version": "0.6.12", + "resolved": "https://registry.npmjs.org/solc/-/solc-0.6.12.tgz", + "integrity": "sha512-Lm0Ql2G9Qc7yPP2Ba+WNmzw2jwsrd3u4PobHYlSOxaut3TtUbj9+5ZrT6f4DUpNPEoBaFUOEg9Op9C0mk7ge9g==", + "dev": true, + "dependencies": { + "command-exists": "^1.2.8", + "commander": "3.0.2", + "fs-extra": "^0.30.0", + "js-sha3": "0.8.0", + "memorystream": "^0.3.1", + "require-from-string": "^2.0.0", + "semver": "^5.5.0", + "tmp": "0.0.33" + }, + "bin": { + "solcjs": "solcjs" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/@ethereum-waffle/ens": { + "version": "3.4.4", + "resolved": "https://registry.npmjs.org/@ethereum-waffle/ens/-/ens-3.4.4.tgz", + "integrity": "sha512-0m4NdwWxliy3heBYva1Wr4WbJKLnwXizmy5FfSSr5PMbjI7SIGCdCB59U7/ZzY773/hY3bLnzLwvG5mggVjJWg==", + "dev": true, + "dependencies": { + "@ensdomains/ens": "^0.4.4", + "@ensdomains/resolver": "^0.2.4", + "ethers": "^5.5.2" + }, + "engines": { + "node": ">=10.0" + } + }, + "node_modules/@ethereum-waffle/mock-contract": { + "version": "3.4.4", + "resolved": "https://registry.npmjs.org/@ethereum-waffle/mock-contract/-/mock-contract-3.4.4.tgz", + "integrity": "sha512-Mp0iB2YNWYGUV+VMl5tjPsaXKbKo8MDH9wSJ702l9EBjdxFf/vBvnMBAC1Fub1lLtmD0JHtp1pq+mWzg/xlLnA==", + "dev": true, + "dependencies": { + "@ethersproject/abi": "^5.5.0", + "ethers": "^5.5.2" + }, + "engines": { + "node": ">=10.0" + } + }, + "node_modules/@ethereum-waffle/provider": { + "version": "3.4.4", + "resolved": "https://registry.npmjs.org/@ethereum-waffle/provider/-/provider-3.4.4.tgz", + "integrity": "sha512-GK8oKJAM8+PKy2nK08yDgl4A80mFuI8zBkE0C9GqTRYQqvuxIyXoLmJ5NZU9lIwyWVv5/KsoA11BgAv2jXE82g==", + "dev": true, + "dependencies": { + "@ethereum-waffle/ens": "^3.4.4", + "ethers": "^5.5.2", + "ganache-core": "^2.13.2", + "patch-package": "^6.2.2", + "postinstall-postinstall": "^2.1.0" + }, + "engines": { + "node": ">=10.0" + } + }, + "node_modules/@ethereumjs/block": { + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/@ethereumjs/block/-/block-3.6.1.tgz", + "integrity": "sha512-o5d/zpGl4SdVfdTfrsq9ZgYMXddc0ucKMiFW5OphBCX+ep4xzYnSjboFcZXT2V/tcSBr84VrKWWp21CGVb3DGw==", + "dependencies": { + "@ethereumjs/common": "^2.6.1", + "@ethereumjs/tx": "^3.5.0", + "ethereumjs-util": "^7.1.4", + "merkle-patricia-tree": "^4.2.3" + } + }, + "node_modules/@ethereumjs/blockchain": { + "version": "5.5.1", + "resolved": "https://registry.npmjs.org/@ethereumjs/blockchain/-/blockchain-5.5.1.tgz", + "integrity": "sha512-JS2jeKxl3tlaa5oXrZ8mGoVBCz6YqsGG350XVNtHAtNZXKk7pU3rH4xzF2ru42fksMMqzFLzKh9l4EQzmNWDqA==", + "dependencies": { + "@ethereumjs/block": "^3.6.0", + "@ethereumjs/common": "^2.6.0", + "@ethereumjs/ethash": "^1.1.0", + "debug": "^2.2.0", + "ethereumjs-util": "^7.1.3", + "level-mem": "^5.0.1", + "lru-cache": "^5.1.1", + "semaphore-async-await": "^1.5.1" + } + }, + "node_modules/@ethereumjs/blockchain/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/@ethereumjs/blockchain/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + }, + "node_modules/@ethereumjs/common": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@ethereumjs/common/-/common-2.6.2.tgz", + "integrity": "sha512-vDwye5v0SVeuDky4MtKsu+ogkH2oFUV8pBKzH/eNBzT8oI91pKa8WyzDuYuxOQsgNgv5R34LfFDh2aaw3H4HbQ==", + "dependencies": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.4" + } + }, + "node_modules/@ethereumjs/ethash": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@ethereumjs/ethash/-/ethash-1.1.0.tgz", + "integrity": "sha512-/U7UOKW6BzpA+Vt+kISAoeDie1vAvY4Zy2KF5JJb+So7+1yKmJeJEHOGSnQIj330e9Zyl3L5Nae6VZyh2TJnAA==", + "dependencies": { + "@ethereumjs/block": "^3.5.0", + "@types/levelup": "^4.3.0", + "buffer-xor": "^2.0.1", + "ethereumjs-util": "^7.1.1", + "miller-rabin": "^4.0.0" + } + }, + "node_modules/@ethereumjs/tx": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/@ethereumjs/tx/-/tx-3.5.0.tgz", + "integrity": "sha512-/+ZNbnJhQhXC83Xuvy6I9k4jT5sXiV0tMR9C+AzSSpcCV64+NB8dTE1m3x98RYMqb8+TLYWA+HML4F5lfXTlJw==", + "dependencies": { + "@ethereumjs/common": "^2.6.1", + "ethereumjs-util": "^7.1.4" + } + }, + "node_modules/@ethereumjs/vm": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/@ethereumjs/vm/-/vm-5.7.1.tgz", + "integrity": "sha512-NiFm5FMaeDGZ9ojBL+Y9Y/xhW6S4Fgez+zPBM402T5kLsfeAR9mrRVckYhvkGVJ6FMwsY820CLjYP5OVwMjLTg==", + "dependencies": { + "@ethereumjs/block": "^3.6.1", + "@ethereumjs/blockchain": "^5.5.1", + "@ethereumjs/common": "^2.6.2", + "@ethereumjs/tx": "^3.5.0", + "async-eventemitter": "^0.2.4", + "core-js-pure": "^3.0.1", + "debug": "^4.3.3", + "ethereumjs-util": "^7.1.4", + "functional-red-black-tree": "^1.0.1", + "mcl-wasm": "^0.7.1", + "merkle-patricia-tree": "^4.2.3", + "rustbn.js": "~0.2.0" + } + }, + "node_modules/@ethersproject/abi": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/abi/-/abi-5.6.0.tgz", + "integrity": "sha512-AhVByTwdXCc2YQ20v300w6KVHle9g2OFc28ZAFCPnJyEpkv1xKXjZcSTgWOlv1i+0dqlgF8RCF2Rn2KC1t+1Vg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/address": "^5.6.0", + "@ethersproject/bignumber": "^5.6.0", + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/constants": "^5.6.0", + "@ethersproject/hash": "^5.6.0", + "@ethersproject/keccak256": "^5.6.0", + "@ethersproject/logger": "^5.6.0", + "@ethersproject/properties": "^5.6.0", + "@ethersproject/strings": "^5.6.0" + } + }, + "node_modules/@ethersproject/abstract-provider": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/abstract-provider/-/abstract-provider-5.6.0.tgz", + "integrity": "sha512-oPMFlKLN+g+y7a79cLK3WiLcjWFnZQtXWgnLAbHZcN3s7L4v90UHpTOrLk+m3yr0gt+/h9STTM6zrr7PM8uoRw==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/bignumber": "^5.6.0", + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/logger": "^5.6.0", + "@ethersproject/networks": "^5.6.0", + "@ethersproject/properties": "^5.6.0", + "@ethersproject/transactions": "^5.6.0", + "@ethersproject/web": "^5.6.0" + } + }, + "node_modules/@ethersproject/abstract-signer": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/abstract-signer/-/abstract-signer-5.6.0.tgz", + "integrity": "sha512-WOqnG0NJKtI8n0wWZPReHtaLkDByPL67tn4nBaDAhmVq8sjHTPbCdz4DRhVu/cfTOvfy9w3iq5QZ7BX7zw56BQ==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abstract-provider": "^5.6.0", + "@ethersproject/bignumber": "^5.6.0", + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/logger": "^5.6.0", + "@ethersproject/properties": "^5.6.0" + } + }, + "node_modules/@ethersproject/address": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/address/-/address-5.6.0.tgz", + "integrity": "sha512-6nvhYXjbXsHPS+30sHZ+U4VMagFC/9zAk6Gd/h3S21YW4+yfb0WfRtaAIZ4kfM4rrVwqiy284LP0GtL5HXGLxQ==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/bignumber": "^5.6.0", + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/keccak256": "^5.6.0", + "@ethersproject/logger": "^5.6.0", + "@ethersproject/rlp": "^5.6.0" + } + }, + "node_modules/@ethersproject/base64": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/base64/-/base64-5.6.0.tgz", + "integrity": "sha512-2Neq8wxJ9xHxCF9TUgmKeSh9BXJ6OAxWfeGWvbauPh8FuHEjamgHilllx8KkSd5ErxyHIX7Xv3Fkcud2kY9ezw==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/bytes": "^5.6.0" + } + }, + "node_modules/@ethersproject/basex": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/basex/-/basex-5.6.0.tgz", + "integrity": "sha512-qN4T+hQd/Md32MoJpc69rOwLYRUXwjTlhHDIeUkUmiN/JyWkkLLMoG0TqvSQKNqZOMgN5stbUYN6ILC+eD7MEQ==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/properties": "^5.6.0" + } + }, + "node_modules/@ethersproject/bignumber": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.6.0.tgz", + "integrity": "sha512-VziMaXIUHQlHJmkv1dlcd6GY2PmT0khtAqaMctCIDogxkrarMzA9L94KN1NeXqqOfFD6r0sJT3vCTOFSmZ07DA==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/logger": "^5.6.0", + "bn.js": "^4.11.9" + } + }, + "node_modules/@ethersproject/bytes": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.6.0.tgz", + "integrity": "sha512-3hJPlYemb9V4VLfJF5BfN0+55vltPZSHU3QKUyP9M3Y2TcajbiRrz65UG+xVHOzBereB1b9mn7r12o177xgN7w==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/logger": "^5.6.0" + } + }, + "node_modules/@ethersproject/constants": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/constants/-/constants-5.6.0.tgz", + "integrity": "sha512-SrdaJx2bK0WQl23nSpV/b1aq293Lh0sUaZT/yYKPDKn4tlAbkH96SPJwIhwSwTsoQQZxuh1jnqsKwyymoiBdWA==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/bignumber": "^5.6.0" + } + }, + "node_modules/@ethersproject/contracts": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/contracts/-/contracts-5.6.0.tgz", + "integrity": "sha512-74Ge7iqTDom0NX+mux8KbRUeJgu1eHZ3iv6utv++sLJG80FVuU9HnHeKVPfjd9s3woFhaFoQGf3B3iH/FrQmgw==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abi": "^5.6.0", + "@ethersproject/abstract-provider": "^5.6.0", + "@ethersproject/abstract-signer": "^5.6.0", + "@ethersproject/address": "^5.6.0", + "@ethersproject/bignumber": "^5.6.0", + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/constants": "^5.6.0", + "@ethersproject/logger": "^5.6.0", + "@ethersproject/properties": "^5.6.0", + "@ethersproject/transactions": "^5.6.0" + } + }, + "node_modules/@ethersproject/hash": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/hash/-/hash-5.6.0.tgz", + "integrity": "sha512-fFd+k9gtczqlr0/BruWLAu7UAOas1uRRJvOR84uDf4lNZ+bTkGl366qvniUZHKtlqxBRU65MkOobkmvmpHU+jA==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abstract-signer": "^5.6.0", + "@ethersproject/address": "^5.6.0", + "@ethersproject/bignumber": "^5.6.0", + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/keccak256": "^5.6.0", + "@ethersproject/logger": "^5.6.0", + "@ethersproject/properties": "^5.6.0", + "@ethersproject/strings": "^5.6.0" + } + }, + "node_modules/@ethersproject/hdnode": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/hdnode/-/hdnode-5.6.0.tgz", + "integrity": "sha512-61g3Jp3nwDqJcL/p4nugSyLrpl/+ChXIOtCEM8UDmWeB3JCAt5FoLdOMXQc3WWkc0oM2C0aAn6GFqqMcS/mHTw==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abstract-signer": "^5.6.0", + "@ethersproject/basex": "^5.6.0", + "@ethersproject/bignumber": "^5.6.0", + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/logger": "^5.6.0", + "@ethersproject/pbkdf2": "^5.6.0", + "@ethersproject/properties": "^5.6.0", + "@ethersproject/sha2": "^5.6.0", + "@ethersproject/signing-key": "^5.6.0", + "@ethersproject/strings": "^5.6.0", + "@ethersproject/transactions": "^5.6.0", + "@ethersproject/wordlists": "^5.6.0" + } + }, + "node_modules/@ethersproject/json-wallets": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/json-wallets/-/json-wallets-5.6.0.tgz", + "integrity": "sha512-fmh86jViB9r0ibWXTQipxpAGMiuxoqUf78oqJDlCAJXgnJF024hOOX7qVgqsjtbeoxmcLwpPsXNU0WEe/16qPQ==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abstract-signer": "^5.6.0", + "@ethersproject/address": "^5.6.0", + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/hdnode": "^5.6.0", + "@ethersproject/keccak256": "^5.6.0", + "@ethersproject/logger": "^5.6.0", + "@ethersproject/pbkdf2": "^5.6.0", + "@ethersproject/properties": "^5.6.0", + "@ethersproject/random": "^5.6.0", + "@ethersproject/strings": "^5.6.0", + "@ethersproject/transactions": "^5.6.0", + "aes-js": "3.0.0", + "scrypt-js": "3.0.1" + } + }, + "node_modules/@ethersproject/keccak256": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.6.0.tgz", + "integrity": "sha512-tk56BJ96mdj/ksi7HWZVWGjCq0WVl/QvfhFQNeL8fxhBlGoP+L80uDCiQcpJPd+2XxkivS3lwRm3E0CXTfol0w==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/bytes": "^5.6.0", + "js-sha3": "0.8.0" + } + }, + "node_modules/@ethersproject/logger": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.6.0.tgz", + "integrity": "sha512-BiBWllUROH9w+P21RzoxJKzqoqpkyM1pRnEKG69bulE9TSQD8SAIvTQqIMZmmCO8pUNkgLP1wndX1gKghSpBmg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ] + }, + "node_modules/@ethersproject/networks": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/networks/-/networks-5.6.0.tgz", + "integrity": "sha512-DaVzgyThzHgSDLuURhvkp4oviGoGe9iTZW4jMEORHDRCgSZ9K9THGFKqL+qGXqPAYLEgZTf5z2w56mRrPR1MjQ==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/logger": "^5.6.0" + } + }, + "node_modules/@ethersproject/pbkdf2": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/pbkdf2/-/pbkdf2-5.6.0.tgz", + "integrity": "sha512-Wu1AxTgJo3T3H6MIu/eejLFok9TYoSdgwRr5oGY1LTLfmGesDoSx05pemsbrPT2gG4cQME+baTSCp5sEo2erZQ==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/sha2": "^5.6.0" + } + }, + "node_modules/@ethersproject/properties": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/properties/-/properties-5.6.0.tgz", + "integrity": "sha512-szoOkHskajKePTJSZ46uHUWWkbv7TzP2ypdEK6jGMqJaEt2sb0jCgfBo0gH0m2HBpRixMuJ6TBRaQCF7a9DoCg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/logger": "^5.6.0" + } + }, + "node_modules/@ethersproject/providers": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/providers/-/providers-5.6.0.tgz", + "integrity": "sha512-6+5PKXTWAttJWFWF8+xCDTCa2/dtq9BNrdKQHGl0IyIOwj99vM6OeThmIRcsIAzIOb8m0XS6w+1KFZwrf3j9nw==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abstract-provider": "^5.6.0", + "@ethersproject/abstract-signer": "^5.6.0", + "@ethersproject/address": "^5.6.0", + "@ethersproject/basex": "^5.6.0", + "@ethersproject/bignumber": "^5.6.0", + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/constants": "^5.6.0", + "@ethersproject/hash": "^5.6.0", + "@ethersproject/logger": "^5.6.0", + "@ethersproject/networks": "^5.6.0", + "@ethersproject/properties": "^5.6.0", + "@ethersproject/random": "^5.6.0", + "@ethersproject/rlp": "^5.6.0", + "@ethersproject/sha2": "^5.6.0", + "@ethersproject/strings": "^5.6.0", + "@ethersproject/transactions": "^5.6.0", + "@ethersproject/web": "^5.6.0", + "bech32": "1.1.4", + "ws": "7.4.6" + } + }, + "node_modules/@ethersproject/random": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/random/-/random-5.6.0.tgz", + "integrity": "sha512-si0PLcLjq+NG/XHSZz90asNf+YfKEqJGVdxoEkSukzbnBgC8rydbgbUgBbBGLeHN4kAJwUFEKsu3sCXT93YMsw==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/logger": "^5.6.0" + } + }, + "node_modules/@ethersproject/rlp": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.6.0.tgz", + "integrity": "sha512-dz9WR1xpcTL+9DtOT/aDO+YyxSSdO8YIS0jyZwHHSlAmnxA6cKU3TrTd4Xc/bHayctxTgGLYNuVVoiXE4tTq1g==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/logger": "^5.6.0" + } + }, + "node_modules/@ethersproject/sha2": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/sha2/-/sha2-5.6.0.tgz", + "integrity": "sha512-1tNWCPFLu1n3JM9t4/kytz35DkuF9MxqkGGEHNauEbaARdm2fafnOyw1s0tIQDPKF/7bkP1u3dbrmjpn5CelyA==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/logger": "^5.6.0", + "hash.js": "1.1.7" + } + }, + "node_modules/@ethersproject/signing-key": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/signing-key/-/signing-key-5.6.0.tgz", + "integrity": "sha512-S+njkhowmLeUu/r7ir8n78OUKx63kBdMCPssePS89So1TH4hZqnWFsThEd/GiXYp9qMxVrydf7KdM9MTGPFukA==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/logger": "^5.6.0", + "@ethersproject/properties": "^5.6.0", + "bn.js": "^4.11.9", + "elliptic": "6.5.4", + "hash.js": "1.1.7" + } + }, + "node_modules/@ethersproject/solidity": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/solidity/-/solidity-5.6.0.tgz", + "integrity": "sha512-YwF52vTNd50kjDzqKaoNNbC/r9kMDPq3YzDWmsjFTRBcIF1y4JCQJ8gB30wsTfHbaxgxelI5BfxQSxD/PbJOww==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/bignumber": "^5.6.0", + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/keccak256": "^5.6.0", + "@ethersproject/logger": "^5.6.0", + "@ethersproject/sha2": "^5.6.0", + "@ethersproject/strings": "^5.6.0" + } + }, + "node_modules/@ethersproject/strings": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/strings/-/strings-5.6.0.tgz", + "integrity": "sha512-uv10vTtLTZqrJuqBZR862ZQjTIa724wGPWQqZrofaPI/kUsf53TBG0I0D+hQ1qyNtllbNzaW+PDPHHUI6/65Mg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/constants": "^5.6.0", + "@ethersproject/logger": "^5.6.0" + } + }, + "node_modules/@ethersproject/transactions": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/transactions/-/transactions-5.6.0.tgz", + "integrity": "sha512-4HX+VOhNjXHZyGzER6E/LVI2i6lf9ejYeWD6l4g50AdmimyuStKc39kvKf1bXWQMg7QNVh+uC7dYwtaZ02IXeg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/address": "^5.6.0", + "@ethersproject/bignumber": "^5.6.0", + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/constants": "^5.6.0", + "@ethersproject/keccak256": "^5.6.0", + "@ethersproject/logger": "^5.6.0", + "@ethersproject/properties": "^5.6.0", + "@ethersproject/rlp": "^5.6.0", + "@ethersproject/signing-key": "^5.6.0" + } + }, + "node_modules/@ethersproject/units": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/units/-/units-5.6.0.tgz", + "integrity": "sha512-tig9x0Qmh8qbo1w8/6tmtyrm/QQRviBh389EQ+d8fP4wDsBrJBf08oZfoiz1/uenKK9M78yAP4PoR7SsVoTjsw==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/bignumber": "^5.6.0", + "@ethersproject/constants": "^5.6.0", + "@ethersproject/logger": "^5.6.0" + } + }, + "node_modules/@ethersproject/wallet": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/wallet/-/wallet-5.6.0.tgz", + "integrity": "sha512-qMlSdOSTyp0MBeE+r7SUhr1jjDlC1zAXB8VD84hCnpijPQiSNbxr6GdiLXxpUs8UKzkDiNYYC5DRI3MZr+n+tg==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abstract-provider": "^5.6.0", + "@ethersproject/abstract-signer": "^5.6.0", + "@ethersproject/address": "^5.6.0", + "@ethersproject/bignumber": "^5.6.0", + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/hash": "^5.6.0", + "@ethersproject/hdnode": "^5.6.0", + "@ethersproject/json-wallets": "^5.6.0", + "@ethersproject/keccak256": "^5.6.0", + "@ethersproject/logger": "^5.6.0", + "@ethersproject/properties": "^5.6.0", + "@ethersproject/random": "^5.6.0", + "@ethersproject/signing-key": "^5.6.0", + "@ethersproject/transactions": "^5.6.0", + "@ethersproject/wordlists": "^5.6.0" + } + }, + "node_modules/@ethersproject/web": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/web/-/web-5.6.0.tgz", + "integrity": "sha512-G/XHj0hV1FxI2teHRfCGvfBUHFmU+YOSbCxlAMqJklxSa7QMiHFQfAxvwY2PFqgvdkxEKwRNr/eCjfAPEm2Ctg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/base64": "^5.6.0", + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/logger": "^5.6.0", + "@ethersproject/properties": "^5.6.0", + "@ethersproject/strings": "^5.6.0" + } + }, + "node_modules/@ethersproject/wordlists": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/wordlists/-/wordlists-5.6.0.tgz", + "integrity": "sha512-q0bxNBfIX3fUuAo9OmjlEYxP40IB8ABgb7HjEZCL5IKubzV3j30CWi2rqQbjTS2HfoyQbfINoKcTVWP4ejwR7Q==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/hash": "^5.6.0", + "@ethersproject/logger": "^5.6.0", + "@ethersproject/properties": "^5.6.0", + "@ethersproject/strings": "^5.6.0" + } + }, + "node_modules/@metamask/eth-sig-util": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@metamask/eth-sig-util/-/eth-sig-util-4.0.0.tgz", + "integrity": "sha512-LczOjjxY4A7XYloxzyxJIHONELmUxVZncpOLoClpEcTiebiVdM46KRPYXGuULro9oNNR2xdVx3yoKiQjdfWmoA==", + "dependencies": { + "ethereumjs-abi": "^0.6.8", + "ethereumjs-util": "^6.2.1", + "ethjs-util": "^0.1.6", + "tweetnacl": "^1.0.3", + "tweetnacl-util": "^0.15.1" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/@metamask/eth-sig-util/node_modules/@types/bn.js": { + "version": "4.11.6", + "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.6.tgz", + "integrity": "sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg==", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@metamask/eth-sig-util/node_modules/ethereumjs-util": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-6.2.1.tgz", + "integrity": "sha512-W2Ktez4L01Vexijrm5EB6w7dg4n/TgpoYU4avuT5T3Vmnw/eCRtiBrJfQYS/DCSvDIOLn2k57GcHdeBcgVxAqw==", + "dependencies": { + "@types/bn.js": "^4.11.3", + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "0.1.6", + "rlp": "^2.2.3" + } + }, + "node_modules/@nomiclabs/hardhat-ethers": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nomiclabs/hardhat-ethers/-/hardhat-ethers-2.0.5.tgz", + "integrity": "sha512-A2gZAGB6kUvLx+kzM92HKuUF33F1FSe90L0TmkXkT2Hh0OKRpvWZURUSU2nghD2yC4DzfEZ3DftfeHGvZ2JTUw==", + "dev": true, + "peerDependencies": { + "ethers": "^5.0.0", + "hardhat": "^2.0.0" + } + }, + "node_modules/@nomiclabs/hardhat-etherscan": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@nomiclabs/hardhat-etherscan/-/hardhat-etherscan-3.0.3.tgz", + "integrity": "sha512-OfNtUKc/ZwzivmZnnpwWREfaYncXteKHskn3yDnz+fPBZ6wfM4GR+d5RwjREzYFWE+o5iR9ruXhWw/8fejWM9g==", + "dependencies": { + "@ethersproject/abi": "^5.1.2", + "@ethersproject/address": "^5.0.2", + "cbor": "^5.0.2", + "debug": "^4.1.1", + "fs-extra": "^7.0.1", + "semver": "^6.3.0", + "undici": "^4.14.1" + }, + "peerDependencies": { + "hardhat": "^2.0.4" + } + }, + "node_modules/@nomiclabs/hardhat-etherscan/node_modules/cbor": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/cbor/-/cbor-5.2.0.tgz", + "integrity": "sha512-5IMhi9e1QU76ppa5/ajP1BmMWZ2FHkhAhjeVKQ/EFCgYSEaeVaoGtL7cxJskf9oCCk+XjzaIdc3IuU/dbA/o2A==", + "dependencies": { + "bignumber.js": "^9.0.1", + "nofilter": "^1.0.4" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@nomiclabs/hardhat-etherscan/node_modules/nofilter": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/nofilter/-/nofilter-1.0.4.tgz", + "integrity": "sha512-N8lidFp+fCz+TD51+haYdbDGrcBWwuHX40F5+z0qkUjMJ5Tp+rdSuAkMJ9N9eoolDlEVTf6u5icM+cNKkKW2mA==", + "engines": { + "node": ">=8" + } + }, + "node_modules/@nomiclabs/hardhat-waffle": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@nomiclabs/hardhat-waffle/-/hardhat-waffle-2.0.3.tgz", + "integrity": "sha512-049PHSnI1CZq6+XTbrMbMv5NaL7cednTfPenx02k3cEh8wBMLa6ys++dBETJa6JjfwgA9nBhhHQ173LJv6k2Pg==", + "dev": true, + "dependencies": { + "@types/sinon-chai": "^3.2.3", + "@types/web3": "1.0.19" + }, + "peerDependencies": { + "@nomiclabs/hardhat-ethers": "^2.0.0", + "ethereum-waffle": "^3.2.0", + "ethers": "^5.0.0", + "hardhat": "^2.0.0" + } + }, + "node_modules/@openzeppelin/contracts": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-4.5.0.tgz", + "integrity": "sha512-fdkzKPYMjrRiPK6K4y64e6GzULR7R7RwxSigHS8DDp7aWDeoReqsQI+cxHV1UuhAqX69L1lAaWDxenfP+xiqzA==" + }, + "node_modules/@openzeppelin/hardhat-upgrades": { + "version": "1.16.0", + "resolved": "https://registry.npmjs.org/@openzeppelin/hardhat-upgrades/-/hardhat-upgrades-1.16.0.tgz", + "integrity": "sha512-+nymvk0WBTnN5QtlEyqUeiLumpxgSZyo6s9XG0M68OzDhUSk5YB9KXAiL3VhC4CpyrkWHWkoYn0esAVuwmk9Sw==", + "dev": true, + "dependencies": { + "@openzeppelin/upgrades-core": "^1.13.1", + "chalk": "^4.1.0", + "proper-lockfile": "^4.1.1" + }, + "bin": { + "migrate-oz-cli-project": "dist/scripts/migrate-oz-cli-project.js" + }, + "peerDependencies": { + "@nomiclabs/hardhat-ethers": "^2.0.0", + "hardhat": "^2.0.2" + } + }, + "node_modules/@openzeppelin/hardhat-upgrades/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@openzeppelin/hardhat-upgrades/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/@openzeppelin/hardhat-upgrades/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/@openzeppelin/hardhat-upgrades/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/@openzeppelin/hardhat-upgrades/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/@openzeppelin/hardhat-upgrades/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@openzeppelin/upgrades-core": { + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@openzeppelin/upgrades-core/-/upgrades-core-1.14.0.tgz", + "integrity": "sha512-VgxyjcSPsf/szFRNNJFHnK3/zSrLEvutKhZM2M8bYNWIbdBJ42P0XHA11JlCzzL/tbhYZdpz0LZIvIs2ABXA1g==", + "dev": true, + "dependencies": { + "bn.js": "^5.1.2", + "cbor": "^8.0.0", + "chalk": "^4.1.0", + "compare-versions": "^4.0.0", + "debug": "^4.1.1", + "ethereumjs-util": "^7.0.3", + "proper-lockfile": "^4.1.1", + "solidity-ast": "^0.4.15" + } + }, + "node_modules/@openzeppelin/upgrades-core/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@openzeppelin/upgrades-core/node_modules/bn.js": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz", + "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==", + "dev": true + }, + "node_modules/@openzeppelin/upgrades-core/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/@openzeppelin/upgrades-core/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/@openzeppelin/upgrades-core/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/@openzeppelin/upgrades-core/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/@openzeppelin/upgrades-core/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@resolver-engine/core": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@resolver-engine/core/-/core-0.3.3.tgz", + "integrity": "sha512-eB8nEbKDJJBi5p5SrvrvILn4a0h42bKtbCTri3ZxCGt6UvoQyp7HnGOfki944bUjBSHKK3RvgfViHn+kqdXtnQ==", + "dev": true, + "dependencies": { + "debug": "^3.1.0", + "is-url": "^1.2.4", + "request": "^2.85.0" + } + }, + "node_modules/@resolver-engine/core/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/@resolver-engine/fs": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@resolver-engine/fs/-/fs-0.3.3.tgz", + "integrity": "sha512-wQ9RhPUcny02Wm0IuJwYMyAG8fXVeKdmhm8xizNByD4ryZlx6PP6kRen+t/haF43cMfmaV7T3Cx6ChOdHEhFUQ==", + "dev": true, + "dependencies": { + "@resolver-engine/core": "^0.3.3", + "debug": "^3.1.0" + } + }, + "node_modules/@resolver-engine/fs/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/@resolver-engine/imports": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@resolver-engine/imports/-/imports-0.3.3.tgz", + "integrity": "sha512-anHpS4wN4sRMwsAbMXhMfOD/y4a4Oo0Cw/5+rue7hSwGWsDOQaAU1ClK1OxjUC35/peazxEl8JaSRRS+Xb8t3Q==", + "dev": true, + "dependencies": { + "@resolver-engine/core": "^0.3.3", + "debug": "^3.1.0", + "hosted-git-info": "^2.6.0", + "path-browserify": "^1.0.0", + "url": "^0.11.0" + } + }, + "node_modules/@resolver-engine/imports-fs": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@resolver-engine/imports-fs/-/imports-fs-0.3.3.tgz", + "integrity": "sha512-7Pjg/ZAZtxpeyCFlZR5zqYkz+Wdo84ugB5LApwriT8XFeQoLwGUj4tZFFvvCuxaNCcqZzCYbonJgmGObYBzyCA==", + "dev": true, + "dependencies": { + "@resolver-engine/fs": "^0.3.3", + "@resolver-engine/imports": "^0.3.3", + "debug": "^3.1.0" + } + }, + "node_modules/@resolver-engine/imports-fs/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/@resolver-engine/imports/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/@sentry/core": { + "version": "5.30.0", + "resolved": "https://registry.npmjs.org/@sentry/core/-/core-5.30.0.tgz", + "integrity": "sha512-TmfrII8w1PQZSZgPpUESqjB+jC6MvZJZdLtE/0hZ+SrnKhW3x5WlYLvTXZpcWePYBku7rl2wn1RZu6uT0qCTeg==", + "dependencies": { + "@sentry/hub": "5.30.0", + "@sentry/minimal": "5.30.0", + "@sentry/types": "5.30.0", + "@sentry/utils": "5.30.0", + "tslib": "^1.9.3" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/@sentry/hub": { + "version": "5.30.0", + "resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-5.30.0.tgz", + "integrity": "sha512-2tYrGnzb1gKz2EkMDQcfLrDTvmGcQPuWxLnJKXJvYTQDGLlEvi2tWz1VIHjunmOvJrB5aIQLhm+dcMRwFZDCqQ==", + "dependencies": { + "@sentry/types": "5.30.0", + "@sentry/utils": "5.30.0", + "tslib": "^1.9.3" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/@sentry/minimal": { + "version": "5.30.0", + "resolved": "https://registry.npmjs.org/@sentry/minimal/-/minimal-5.30.0.tgz", + "integrity": "sha512-BwWb/owZKtkDX+Sc4zCSTNcvZUq7YcH3uAVlmh/gtR9rmUvbzAA3ewLuB3myi4wWRAMEtny6+J/FN/x+2wn9Xw==", + "dependencies": { + "@sentry/hub": "5.30.0", + "@sentry/types": "5.30.0", + "tslib": "^1.9.3" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/@sentry/node": { + "version": "5.30.0", + "resolved": "https://registry.npmjs.org/@sentry/node/-/node-5.30.0.tgz", + "integrity": "sha512-Br5oyVBF0fZo6ZS9bxbJZG4ApAjRqAnqFFurMVJJdunNb80brh7a5Qva2kjhm+U6r9NJAB5OmDyPkA1Qnt+QVg==", + "dependencies": { + "@sentry/core": "5.30.0", + "@sentry/hub": "5.30.0", + "@sentry/tracing": "5.30.0", + "@sentry/types": "5.30.0", + "@sentry/utils": "5.30.0", + "cookie": "^0.4.1", + "https-proxy-agent": "^5.0.0", + "lru_map": "^0.3.3", + "tslib": "^1.9.3" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/@sentry/tracing": { + "version": "5.30.0", + "resolved": "https://registry.npmjs.org/@sentry/tracing/-/tracing-5.30.0.tgz", + "integrity": "sha512-dUFowCr0AIMwiLD7Fs314Mdzcug+gBVo/+NCMyDw8tFxJkwWAKl7Qa2OZxLQ0ZHjakcj1hNKfCQJ9rhyfOl4Aw==", + "dependencies": { + "@sentry/hub": "5.30.0", + "@sentry/minimal": "5.30.0", + "@sentry/types": "5.30.0", + "@sentry/utils": "5.30.0", + "tslib": "^1.9.3" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/@sentry/types": { + "version": "5.30.0", + "resolved": "https://registry.npmjs.org/@sentry/types/-/types-5.30.0.tgz", + "integrity": "sha512-R8xOqlSTZ+htqrfteCWU5Nk0CDN5ApUTvrlvBuiH1DyP6czDZ4ktbZB0hAgBlVcK0U+qpD3ag3Tqqpa5Q67rPw==", + "engines": { + "node": ">=6" + } + }, + "node_modules/@sentry/utils": { + "version": "5.30.0", + "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-5.30.0.tgz", + "integrity": "sha512-zaYmoH0NWWtvnJjC9/CBseXMtKHm/tm40sz3YfJRxeQjyzRqNQPgivpd9R/oDJCYj999mzdW382p/qi2ypjLww==", + "dependencies": { + "@sentry/types": "5.30.0", + "tslib": "^1.9.3" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/@solidity-parser/parser": { + "version": "0.14.1", + "resolved": "https://registry.npmjs.org/@solidity-parser/parser/-/parser-0.14.1.tgz", + "integrity": "sha512-eLjj2L6AuQjBB6s/ibwCAc0DwrR5Ge+ys+wgWo+bviU7fV2nTMQhU63CGaDKXg9iTmMxwhkyoggdIR7ZGRfMgw==", + "dependencies": { + "antlr4ts": "^0.5.0-alpha.4" + } + }, + "node_modules/@typechain/ethers-v5": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@typechain/ethers-v5/-/ethers-v5-2.0.0.tgz", + "integrity": "sha512-0xdCkyGOzdqh4h5JSf+zoWx85IusEjDcPIwNEHP8mrWSnCae4rvrqB+/gtpdNfX7zjlFlZiMeePn2r63EI3Lrw==", + "dev": true, + "dependencies": { + "ethers": "^5.0.2" + }, + "peerDependencies": { + "ethers": "^5.0.0", + "typechain": "^3.0.0" + } + }, + "node_modules/@types/abstract-leveldown": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@types/abstract-leveldown/-/abstract-leveldown-7.2.0.tgz", + "integrity": "sha512-q5veSX6zjUy/DlDhR4Y4cU0k2Ar+DT2LUraP00T19WLmTO6Se1djepCCaqU6nQrwcJ5Hyo/CWqxTzrrFg8eqbQ==" + }, + "node_modules/@types/bn.js": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-5.1.0.tgz", + "integrity": "sha512-QSSVYj7pYFN49kW77o2s9xTCwZ8F2xLbjLLSEVh8D2F4JUhZtPAGOFLTD+ffqksBx/u4cE/KImFjyhqCjn/LIA==", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/chai": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.0.tgz", + "integrity": "sha512-/ceqdqeRraGolFTcfoXNiqjyQhZzbINDngeoAq9GoHa8PPK1yNzTaxWjA6BFWp5Ua9JpXEMSS4s5i9tS0hOJtw==", + "dev": true + }, + "node_modules/@types/concat-stream": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/@types/concat-stream/-/concat-stream-1.6.1.tgz", + "integrity": "sha512-eHE4cQPoj6ngxBZMvVf6Hw7Mh4jMW4U9lpGmS5GBPB9RYxlFg+CHaVN7ErNY4W9XfLIEn20b4VDYaIrbq0q4uA==", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/form-data": { + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/@types/form-data/-/form-data-0.0.33.tgz", + "integrity": "sha1-yayFsqX9GENbjIXZ7LUObWyJP/g=", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/level-errors": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@types/level-errors/-/level-errors-3.0.0.tgz", + "integrity": "sha512-/lMtoq/Cf/2DVOm6zE6ORyOM+3ZVm/BvzEZVxUhf6bgh8ZHglXlBqxbxSlJeVp8FCbD3IVvk/VbsaNmDjrQvqQ==" + }, + "node_modules/@types/levelup": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@types/levelup/-/levelup-4.3.3.tgz", + "integrity": "sha512-K+OTIjJcZHVlZQN1HmU64VtrC0jC3dXWQozuEIR9zVvltIk90zaGPM2AgT+fIkChpzHhFE3YnvFLCbLtzAmexA==", + "dependencies": { + "@types/abstract-leveldown": "*", + "@types/level-errors": "*", + "@types/node": "*" + } + }, + "node_modules/@types/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@types/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-ssE3Vlrys7sdIzs5LOxCzTVMsU7i9oa/IaW92wF32JFb3CVczqOkru2xspuKczHEbG3nvmPY7IFqVmGGHdNbYw==" + }, + "node_modules/@types/mkdirp": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/@types/mkdirp/-/mkdirp-0.5.2.tgz", + "integrity": "sha512-U5icWpv7YnZYGsN4/cmh3WD2onMY0aJIiTE6+51TwJCttdHvtCYmkBNOobHlXwrJRL0nkH9jH4kD+1FAdMN4Tg==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/node": { + "version": "17.0.21", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.21.tgz", + "integrity": "sha512-DBZCJbhII3r90XbQxI8Y9IjjiiOGlZ0Hr32omXIZvwwZ7p4DMMXGrKXVyPfuoBOri9XNtL0UK69jYIBIsRX3QQ==" + }, + "node_modules/@types/node-fetch": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.1.tgz", + "integrity": "sha512-oMqjURCaxoSIsHSr1E47QHzbmzNR5rK8McHuNb11BOM9cHcIK3Avy0s/b2JlXHoQGTYS3NsvWzV1M0iK7l0wbA==", + "dev": true, + "dependencies": { + "@types/node": "*", + "form-data": "^3.0.0" + } + }, + "node_modules/@types/node-fetch/node_modules/form-data": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", + "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==", + "dev": true, + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/@types/pbkdf2": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@types/pbkdf2/-/pbkdf2-3.1.0.tgz", + "integrity": "sha512-Cf63Rv7jCQ0LaL8tNXmEyqTHuIJxRdlS5vMh1mj5voN4+QFhVZnlZruezqpWYDiJ8UTzhP0VmeLXCmBk66YrMQ==", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/prettier": { + "version": "2.4.4", + "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.4.4.tgz", + "integrity": "sha512-ReVR2rLTV1kvtlWFyuot+d1pkpG2Fw/XKE3PDAdj57rbM97ttSp9JZ2UsP+2EHTylra9cUf6JA7tGwW1INzUrA==", + "dev": true + }, + "node_modules/@types/qs": { + "version": "6.9.7", + "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz", + "integrity": "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==" + }, + "node_modules/@types/resolve": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-0.0.8.tgz", + "integrity": "sha512-auApPaJf3NPfe18hSoJkp8EbZzer2ISk7o8mCC3M9he/a04+gbMF97NkpD2S8riMGvm4BMRI59/SZQSaLTKpsQ==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/secp256k1": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/@types/secp256k1/-/secp256k1-4.0.3.tgz", + "integrity": "sha512-Da66lEIFeIz9ltsdMZcpQvmrmmoqrfju8pm1BH8WbYjZSwUgCwXLb9C+9XYogwBITnbsSaMdVPb2ekf7TV+03w==", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/sinon": { + "version": "10.0.11", + "resolved": "https://registry.npmjs.org/@types/sinon/-/sinon-10.0.11.tgz", + "integrity": "sha512-dmZsHlBsKUtBpHriNjlK0ndlvEh8dcb9uV9Afsbt89QIyydpC7NcR+nWlAhASfy3GHnxTl4FX/aKE7XZUt/B4g==", + "dev": true, + "dependencies": { + "@types/sinonjs__fake-timers": "*" + } + }, + "node_modules/@types/sinon-chai": { + "version": "3.2.8", + "resolved": "https://registry.npmjs.org/@types/sinon-chai/-/sinon-chai-3.2.8.tgz", + "integrity": "sha512-d4ImIQbT/rKMG8+AXpmcan5T2/PNeSjrYhvkwet6z0p8kzYtfgA32xzOBlbU0yqJfq+/0Ml805iFoODO0LP5/g==", + "dev": true, + "dependencies": { + "@types/chai": "*", + "@types/sinon": "*" + } + }, + "node_modules/@types/sinonjs__fake-timers": { + "version": "8.1.2", + "resolved": "https://registry.npmjs.org/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-8.1.2.tgz", + "integrity": "sha512-9GcLXF0/v3t80caGs5p2rRfkB+a8VBGLJZVih6CNFkx8IZ994wiKKLSRs9nuFwk1HevWs/1mnUmkApGrSGsShA==", + "dev": true + }, + "node_modules/@types/underscore": { + "version": "1.11.4", + "resolved": "https://registry.npmjs.org/@types/underscore/-/underscore-1.11.4.tgz", + "integrity": "sha512-uO4CD2ELOjw8tasUrAhvnn2W4A0ZECOvMjCivJr4gA9pGgjv+qxKWY9GLTMVEK8ej85BxQOocUyE7hImmSQYcg==", + "dev": true + }, + "node_modules/@types/web3": { + "version": "1.0.19", + "resolved": "https://registry.npmjs.org/@types/web3/-/web3-1.0.19.tgz", + "integrity": "sha512-fhZ9DyvDYDwHZUp5/STa9XW2re0E8GxoioYJ4pEUZ13YHpApSagixj7IAdoYH5uAK+UalGq6Ml8LYzmgRA/q+A==", + "dev": true, + "dependencies": { + "@types/bn.js": "*", + "@types/underscore": "*" + } + }, + "node_modules/@ungap/promise-all-settled": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz", + "integrity": "sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==" + }, + "node_modules/@yarnpkg/lockfile": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz", + "integrity": "sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==", + "dev": true + }, + "node_modules/abort-controller": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", + "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", + "dependencies": { + "event-target-shim": "^5.0.0" + }, + "engines": { + "node": ">=6.5" + } + }, + "node_modules/abstract-leveldown": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-6.3.0.tgz", + "integrity": "sha512-TU5nlYgta8YrBMNpc9FwQzRbiXsj49gsALsXadbGHt9CROPzX5fB0rWDR5mtdpOOKa5XqRFpbj1QroPAoPzVjQ==", + "dependencies": { + "buffer": "^5.5.0", + "immediate": "^3.2.3", + "level-concat-iterator": "~2.0.0", + "level-supports": "~1.0.0", + "xtend": "~4.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/adm-zip": { + "version": "0.4.16", + "resolved": "https://registry.npmjs.org/adm-zip/-/adm-zip-0.4.16.tgz", + "integrity": "sha512-TFi4HBKSGfIKsK5YCkKaaFG2m4PEDyViZmEwof3MTIgzimHLto6muaHVpbrljdIvIrFZzEq/p4nafOeLcYegrg==", + "engines": { + "node": ">=0.3.0" + } + }, + "node_modules/aes-js": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.0.0.tgz", + "integrity": "sha1-4h3xCtbCBTKVvLuNq0Cwnb6ofk0=" + }, + "node_modules/agent-base": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "dependencies": { + "debug": "4" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/aggregate-error": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", + "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", + "dependencies": { + "clean-stack": "^2.0.0", + "indent-string": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ansi-colors": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", + "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", + "engines": { + "node": ">=6" + } + }, + "node_modules/ansi-escapes": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", + "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", + "dependencies": { + "type-fest": "^0.21.3" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/antlr4ts": { + "version": "0.5.0-alpha.4", + "resolved": "https://registry.npmjs.org/antlr4ts/-/antlr4ts-0.5.0-alpha.4.tgz", + "integrity": "sha512-WPQDt1B74OfPv/IMS2ekXAKkTZIHl88uMetg6q3OTqgFxZ/dxDXI0EWLyZid/1Pe6hTftyg5N7gel5wNAGxXyQ==" + }, + "node_modules/anymatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", + "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" + }, + "node_modules/array-back": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-2.0.0.tgz", + "integrity": "sha512-eJv4pLLufP3g5kcZry0j6WXpIbzYw9GUB4mVJZno9wfwiBxbizTnHCw3VJb07cBihbFX48Y7oSrW9y+gt4glyw==", + "dev": true, + "dependencies": { + "typical": "^2.6.1" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/array-uniq": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", + "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/asap": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", + "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=" + }, + "node_modules/asn1": { + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz", + "integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==", + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "node_modules/assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "engines": { + "node": ">=0.8" + } + }, + "node_modules/assertion-error": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", + "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/async": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz", + "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==", + "dependencies": { + "lodash": "^4.17.14" + } + }, + "node_modules/async-eventemitter": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/async-eventemitter/-/async-eventemitter-0.2.4.tgz", + "integrity": "sha512-pd20BwL7Yt1zwDFy+8MX8F1+WCT8aQeKj0kQnTrH9WaeRETlRamVhD0JtRPmrV4GfOJ2F9CvdQkZeZhnh2TuHw==", + "dependencies": { + "async": "^2.4.0" + } + }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" + }, + "node_modules/aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", + "engines": { + "node": "*" + } + }, + "node_modules/aws4": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz", + "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==" + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + }, + "node_modules/base-x": { + "version": "3.0.9", + "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.9.tgz", + "integrity": "sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ==", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "node_modules/bcrypt-pbkdf/node_modules/tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" + }, + "node_modules/bech32": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz", + "integrity": "sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ==", + "dev": true + }, + "node_modules/bignumber.js": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.2.tgz", + "integrity": "sha512-GAcQvbpsM0pUb0zw1EI0KhQEZ+lRwR5fYaAp3vPOYuP7aDvGy6cVN6XHLauvF8SOga2y0dcLcjt3iQDTSEliyw==", + "engines": { + "node": "*" + } + }, + "node_modules/binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "engines": { + "node": ">=8" + } + }, + "node_modules/bindings": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", + "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", + "dependencies": { + "file-uri-to-path": "1.0.0" + } + }, + "node_modules/bip66": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/bip66/-/bip66-1.1.5.tgz", + "integrity": "sha1-AfqHSHhcpwlV1QESF9GzE5lpyiI=", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "node_modules/blakejs": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/blakejs/-/blakejs-1.1.1.tgz", + "integrity": "sha512-bLG6PHOCZJKNshTjGRBvET0vTciwQE6zFKOKKXPDJfwFBd4Ac0yBfPZqcGvGJap50l7ktvlpFqc2jGVaUgbJgg==" + }, + "node_modules/bluebird": { + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", + "dev": true + }, + "node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + }, + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dependencies": { + "fill-range": "^7.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/brorand": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", + "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=" + }, + "node_modules/browser-stdout": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", + "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==" + }, + "node_modules/browserify-aes": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", + "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", + "dependencies": { + "buffer-xor": "^1.0.3", + "cipher-base": "^1.0.0", + "create-hash": "^1.1.0", + "evp_bytestokey": "^1.0.3", + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/browserify-aes/node_modules/buffer-xor": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", + "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=" + }, + "node_modules/bs58": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", + "integrity": "sha1-vhYedsNU9veIrkBx9j806MTwpCo=", + "dependencies": { + "base-x": "^3.0.2" + } + }, + "node_modules/bs58check": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz", + "integrity": "sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA==", + "dependencies": { + "bs58": "^4.0.0", + "create-hash": "^1.1.0", + "safe-buffer": "^5.1.2" + } + }, + "node_modules/buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "node_modules/buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" + }, + "node_modules/buffer-xor": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-2.0.2.tgz", + "integrity": "sha512-eHslX0bin3GB+Lx2p7lEYRShRewuNZL3fUl4qlVJGGiwoPGftmt8JQgk2Y9Ji5/01TnVDo33E5b5O3vUB1HdqQ==", + "dependencies": { + "safe-buffer": "^5.1.1" + } + }, + "node_modules/bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "dependencies": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/camelcase": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", + "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" + }, + "node_modules/cbor": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/cbor/-/cbor-8.1.0.tgz", + "integrity": "sha512-DwGjNW9omn6EwP70aXsn7FQJx5kO12tX0bZkaTjzdVFM6/7nhA4t0EENocKGx6D2Bch9PE2KzCUf5SceBdeijg==", + "dev": true, + "dependencies": { + "nofilter": "^3.1.0" + }, + "engines": { + "node": ">=12.19" + } + }, + "node_modules/chai": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.6.tgz", + "integrity": "sha512-bbcp3YfHCUzMOvKqsztczerVgBKSsEijCySNlHHbX3VG1nskvqjz5Rfso1gGwD6w6oOV3eI60pKuMOV5MV7p3Q==", + "dev": true, + "dependencies": { + "assertion-error": "^1.1.0", + "check-error": "^1.0.2", + "deep-eql": "^3.0.1", + "get-func-name": "^2.0.0", + "loupe": "^2.3.1", + "pathval": "^1.1.1", + "type-detect": "^4.0.5" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/charenc": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz", + "integrity": "sha1-wKHS86cJLgN3S/qD8UwPxXkKhmc=", + "engines": { + "node": "*" + } + }, + "node_modules/check-error": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", + "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/ci-info": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", + "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==" + }, + "node_modules/cipher-base": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", + "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", + "dependencies": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/clean-stack": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", + "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", + "engines": { + "node": ">=6" + } + }, + "node_modules/cli-table3": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.5.1.tgz", + "integrity": "sha512-7Qg2Jrep1S/+Q3EceiZtQcDPWxhAvBw+ERf1162v4sikJrvojMHFqXt8QIVha8UlH9rgU0BeWPytZ9/TzYqlUw==", + "dependencies": { + "object-assign": "^4.1.0", + "string-width": "^2.1.1" + }, + "engines": { + "node": ">=6" + }, + "optionalDependencies": { + "colors": "^1.1.2" + } + }, + "node_modules/cli-table3/node_modules/ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "engines": { + "node": ">=4" + } + }, + "node_modules/cli-table3/node_modules/is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "engines": { + "node": ">=4" + } + }, + "node_modules/cli-table3/node_modules/string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dependencies": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/cli-table3/node_modules/strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dependencies": { + "ansi-regex": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "node_modules/code-point-at": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "node_modules/colors": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", + "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==", + "engines": { + "node": ">=0.1.90" + } + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/command-exists": { + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/command-exists/-/command-exists-1.2.9.tgz", + "integrity": "sha512-LTQ/SGc+s0Xc0Fu5WaKnR0YiygZkm9eKFvyS+fRsU7/ZWFF8ykFM6Pc9aCVf1+xasOOZpO3BAVgVrKvsqKHV7w==" + }, + "node_modules/command-line-args": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/command-line-args/-/command-line-args-4.0.7.tgz", + "integrity": "sha512-aUdPvQRAyBvQd2n7jXcsMDz68ckBJELXNzBybCHOibUWEg0mWTnaYCSRU8h9R+aNRSvDihJtssSRCiDRpLaezA==", + "dev": true, + "dependencies": { + "array-back": "^2.0.0", + "find-replace": "^1.0.3", + "typical": "^2.6.1" + }, + "bin": { + "command-line-args": "bin/cli.js" + } + }, + "node_modules/commander": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/commander/-/commander-3.0.2.tgz", + "integrity": "sha512-Gar0ASD4BDyKC4hl4DwHqDrmvjoxWKZigVnAbn5H1owvm4CxCPdb0HQDehwNYMJpla5+M2tPmPARzhtYuwpHow==" + }, + "node_modules/compare-versions": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-4.1.3.tgz", + "integrity": "sha512-WQfnbDcrYnGr55UwbxKiQKASnTtNnaAWVi8jZyy8NTpVAXWACSne8lMD1iaIo9AiU6mnuLvSVshCzewVuWxHUg==", + "dev": true + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" + }, + "node_modules/concat-stream": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", + "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", + "engines": [ + "node >= 0.8" + ], + "dependencies": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + } + }, + "node_modules/concat-stream/node_modules/readable-stream": { + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", + "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/concat-stream/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "node_modules/concat-stream/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/cookie": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.2.tgz", + "integrity": "sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/core-js-pure": { + "version": "3.21.1", + "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.21.1.tgz", + "integrity": "sha512-12VZfFIu+wyVbBebyHmRTuEE/tZrB4tJToWcwAMcsp3h4+sHR+fMJWbKpYiCRWlhFBq+KNyO8rIV9rTkeVmznQ==", + "hasInstallScript": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + } + }, + "node_modules/core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" + }, + "node_modules/crc-32": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/crc-32/-/crc-32-1.2.1.tgz", + "integrity": "sha512-Dn/xm/1vFFgs3nfrpEVScHoIslO9NZRITWGz/1E/St6u4xw99vfZzVkW0OSnzx2h9egej9xwMCEut6sqwokM/w==", + "dependencies": { + "exit-on-epipe": "~1.0.1", + "printj": "~1.3.1" + }, + "bin": { + "crc32": "bin/crc32.njs" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/create-hash": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", + "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", + "dependencies": { + "cipher-base": "^1.0.1", + "inherits": "^2.0.1", + "md5.js": "^1.3.4", + "ripemd160": "^2.0.1", + "sha.js": "^2.4.0" + } + }, + "node_modules/create-hmac": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", + "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", + "dependencies": { + "cipher-base": "^1.0.3", + "create-hash": "^1.1.0", + "inherits": "^2.0.1", + "ripemd160": "^2.0.0", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, + "node_modules/cross-spawn": { + "version": "6.0.5", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", + "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", + "dev": true, + "dependencies": { + "nice-try": "^1.0.4", + "path-key": "^2.0.1", + "semver": "^5.5.0", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + }, + "engines": { + "node": ">=4.8" + } + }, + "node_modules/cross-spawn/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/cross-spawn/node_modules/which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "which": "bin/which" + } + }, + "node_modules/crypt": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz", + "integrity": "sha1-iNf/fsDfuG9xPch7u0LQRNPmxBs=", + "engines": { + "node": "*" + } + }, + "node_modules/dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/debug": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", + "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/decamelize": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", + "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/deep-eql": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", + "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", + "dev": true, + "dependencies": { + "type-detect": "^4.0.0" + }, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/deferred-leveldown": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/deferred-leveldown/-/deferred-leveldown-5.3.0.tgz", + "integrity": "sha512-a59VOT+oDy7vtAbLRCZwWgxu2BaCfd5Hk7wxJd48ei7I+nsg8Orlb9CLG0PMZienk9BSUKgeAqkO2+Lw+1+Ukw==", + "dependencies": { + "abstract-leveldown": "~6.2.1", + "inherits": "^2.0.3" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/deferred-leveldown/node_modules/abstract-leveldown": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-6.2.3.tgz", + "integrity": "sha512-BsLm5vFMRUrrLeCcRc+G0t2qOaTzpoJQLOubq2XM72eNpjF5UdU5o/5NvlNhx95XHcAvcl8OMXr4mlg/fRgUXQ==", + "dependencies": { + "buffer": "^5.5.0", + "immediate": "^3.2.3", + "level-concat-iterator": "~2.0.0", + "level-supports": "~1.0.0", + "xtend": "~4.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "dependencies": { + "object-keys": "^1.0.12" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/diff": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", + "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==", + "engines": { + "node": ">=0.3.1" + } + }, + "node_modules/drbg.js": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/drbg.js/-/drbg.js-1.0.1.tgz", + "integrity": "sha1-Pja2xCs3BDgjzbwzLVjzHiRFSAs=", + "dependencies": { + "browserify-aes": "^1.0.6", + "create-hash": "^1.1.2", + "create-hmac": "^1.1.4" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "node_modules/elliptic": { + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", + "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", + "dependencies": { + "bn.js": "^4.11.9", + "brorand": "^1.1.0", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.1", + "inherits": "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "node_modules/encoding-down": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/encoding-down/-/encoding-down-6.3.0.tgz", + "integrity": "sha512-QKrV0iKR6MZVJV08QY0wp1e7vF6QbhnbQhb07bwpEyuz4uZiZgPlEGdkCROuFkUwdxlFaiPIhjyarH1ee/3vhw==", + "dependencies": { + "abstract-leveldown": "^6.2.1", + "inherits": "^2.0.3", + "level-codec": "^9.0.0", + "level-errors": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/enquirer": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", + "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", + "dependencies": { + "ansi-colors": "^4.1.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/env-paths": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", + "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", + "engines": { + "node": ">=6" + } + }, + "node_modules/errno": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.8.tgz", + "integrity": "sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==", + "dependencies": { + "prr": "~1.0.1" + }, + "bin": { + "errno": "cli.js" + } + }, + "node_modules/error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, + "dependencies": { + "is-arrayish": "^0.2.1" + } + }, + "node_modules/es-abstract": { + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.19.1.tgz", + "integrity": "sha512-2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w==", + "dependencies": { + "call-bind": "^1.0.2", + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "get-intrinsic": "^1.1.1", + "get-symbol-description": "^1.0.0", + "has": "^1.0.3", + "has-symbols": "^1.0.2", + "internal-slot": "^1.0.3", + "is-callable": "^1.2.4", + "is-negative-zero": "^2.0.1", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.1", + "is-string": "^1.0.7", + "is-weakref": "^1.0.1", + "object-inspect": "^1.11.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.2", + "string.prototype.trimend": "^1.0.4", + "string.prototype.trimstart": "^1.0.4", + "unbox-primitive": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es-abstract/node_modules/object.assign": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", + "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", + "dependencies": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dependencies": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/eth-ens-namehash": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/eth-ens-namehash/-/eth-ens-namehash-2.0.8.tgz", + "integrity": "sha1-IprEbsqG1S4MmR58sq74P/D2i88=", + "dev": true, + "dependencies": { + "idna-uts46-hx": "^2.3.1", + "js-sha3": "^0.5.7" + } + }, + "node_modules/eth-ens-namehash/node_modules/js-sha3": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz", + "integrity": "sha1-DU/9gALVMzqrr0oj7tL2N0yfKOc=", + "dev": true + }, + "node_modules/eth-gas-reporter": { + "version": "0.2.24", + "resolved": "https://registry.npmjs.org/eth-gas-reporter/-/eth-gas-reporter-0.2.24.tgz", + "integrity": "sha512-RbXLC2bnuPHzIMU/rnLXXlb6oiHEEKu7rq2UrAX/0mfo0Lzrr/kb9QTjWjfz8eNvc+uu6J8AuBwI++b+MLNI2w==", + "dependencies": { + "@ethersproject/abi": "^5.0.0-beta.146", + "@solidity-parser/parser": "^0.14.0", + "cli-table3": "^0.5.0", + "colors": "1.4.0", + "ethereumjs-util": "6.2.0", + "ethers": "^4.0.40", + "fs-readdir-recursive": "^1.1.0", + "lodash": "^4.17.14", + "markdown-table": "^1.1.3", + "mocha": "^7.1.1", + "req-cwd": "^2.0.0", + "request": "^2.88.0", + "request-promise-native": "^1.0.5", + "sha1": "^1.1.1", + "sync-request": "^6.0.0" + }, + "peerDependencies": { + "@codechecks/client": "^0.1.0" + }, + "peerDependenciesMeta": { + "@codechecks/client": { + "optional": true + } + } + }, + "node_modules/eth-gas-reporter/node_modules/@types/bn.js": { + "version": "4.11.6", + "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.6.tgz", + "integrity": "sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg==", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/eth-gas-reporter/node_modules/ansi-colors": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.3.tgz", + "integrity": "sha512-LEHHyuhlPY3TmuUYMh2oz89lTShfvgbmzaBcxve9t/9Wuy7Dwf4yoAKcND7KFT1HAQfqZ12qtc+DUrBMeKF9nw==", + "engines": { + "node": ">=6" + } + }, + "node_modules/eth-gas-reporter/node_modules/ansi-regex": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz", + "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==", + "engines": { + "node": ">=6" + } + }, + "node_modules/eth-gas-reporter/node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "node_modules/eth-gas-reporter/node_modules/camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "engines": { + "node": ">=6" + } + }, + "node_modules/eth-gas-reporter/node_modules/chokidar": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.3.0.tgz", + "integrity": "sha512-dGmKLDdT3Gdl7fBUe8XK+gAtGmzy5Fn0XkkWQuYxGIgWVPPse2CxFA5mtrlD0TOHaHjEUqkWNyP1XdHoJES/4A==", + "dependencies": { + "anymatch": "~3.1.1", + "braces": "~3.0.2", + "glob-parent": "~5.1.0", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.2.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "optionalDependencies": { + "fsevents": "~2.1.1" + } + }, + "node_modules/eth-gas-reporter/node_modules/cliui": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz", + "integrity": "sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==", + "dependencies": { + "string-width": "^3.1.0", + "strip-ansi": "^5.2.0", + "wrap-ansi": "^5.1.0" + } + }, + "node_modules/eth-gas-reporter/node_modules/debug": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", + "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", + "deprecated": "Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)", + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/eth-gas-reporter/node_modules/decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/eth-gas-reporter/node_modules/diff": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", + "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==", + "engines": { + "node": ">=0.3.1" + } + }, + "node_modules/eth-gas-reporter/node_modules/emoji-regex": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", + "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==" + }, + "node_modules/eth-gas-reporter/node_modules/ethereumjs-util": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-6.2.0.tgz", + "integrity": "sha512-vb0XN9J2QGdZGIEKG2vXM+kUdEivUfU6Wmi5y0cg+LRhDYKnXIZ/Lz7XjFbHRR9VIKq2lVGLzGBkA++y2nOdOQ==", + "dependencies": { + "@types/bn.js": "^4.11.3", + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "ethjs-util": "0.1.6", + "keccak": "^2.0.0", + "rlp": "^2.2.3", + "secp256k1": "^3.0.1" + } + }, + "node_modules/eth-gas-reporter/node_modules/ethers": { + "version": "4.0.49", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-4.0.49.tgz", + "integrity": "sha512-kPltTvWiyu+OktYy1IStSO16i2e7cS9D9OxZ81q2UUaiNPVrm/RTcbxamCXF9VUSKzJIdJV68EAIhTEVBalRWg==", + "dependencies": { + "aes-js": "3.0.0", + "bn.js": "^4.11.9", + "elliptic": "6.5.4", + "hash.js": "1.1.3", + "js-sha3": "0.5.7", + "scrypt-js": "2.0.4", + "setimmediate": "1.0.4", + "uuid": "2.0.1", + "xmlhttprequest": "1.8.0" + } + }, + "node_modules/eth-gas-reporter/node_modules/find-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", + "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", + "dependencies": { + "locate-path": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/eth-gas-reporter/node_modules/flat": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/flat/-/flat-4.1.1.tgz", + "integrity": "sha512-FmTtBsHskrU6FJ2VxCnsDb84wu9zhmO3cUX2kGFb5tuwhfXxGciiT0oRY+cck35QmG+NmGh5eLz6lLCpWTqwpA==", + "dependencies": { + "is-buffer": "~2.0.3" + }, + "bin": { + "flat": "cli.js" + } + }, + "node_modules/eth-gas-reporter/node_modules/fsevents": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.3.tgz", + "integrity": "sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==", + "deprecated": "\"Please update to latest v2.3 or v2.2\"", + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/eth-gas-reporter/node_modules/glob": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", + "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + } + }, + "node_modules/eth-gas-reporter/node_modules/hash.js": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.3.tgz", + "integrity": "sha512-/UETyP0W22QILqS+6HowevwhEFJ3MBJnwTf75Qob9Wz9t0DPuisL8kW8YZMK62dHAKE1c1p+gY1TtOLY+USEHA==", + "dependencies": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.0" + } + }, + "node_modules/eth-gas-reporter/node_modules/is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "engines": { + "node": ">=4" + } + }, + "node_modules/eth-gas-reporter/node_modules/js-sha3": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz", + "integrity": "sha1-DU/9gALVMzqrr0oj7tL2N0yfKOc=" + }, + "node_modules/eth-gas-reporter/node_modules/js-yaml": { + "version": "3.13.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz", + "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==", + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/eth-gas-reporter/node_modules/keccak": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/keccak/-/keccak-2.1.0.tgz", + "integrity": "sha512-m1wbJRTo+gWbctZWay9i26v5fFnYkOn7D5PCxJ3fZUGUEb49dE1Pm4BREUYCt/aoO6di7jeoGmhvqN9Nzylm3Q==", + "hasInstallScript": true, + "dependencies": { + "bindings": "^1.5.0", + "inherits": "^2.0.4", + "nan": "^2.14.0", + "safe-buffer": "^5.2.0" + }, + "engines": { + "node": ">=5.12.0" + } + }, + "node_modules/eth-gas-reporter/node_modules/locate-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", + "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", + "dependencies": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/eth-gas-reporter/node_modules/log-symbols": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-3.0.0.tgz", + "integrity": "sha512-dSkNGuI7iG3mfvDzUuYZyvk5dD9ocYCYzNU6CYDE6+Xqd+gwme6Z00NS3dUh8mq/73HaEtT7m6W+yUPtU6BZnQ==", + "dependencies": { + "chalk": "^2.4.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/eth-gas-reporter/node_modules/minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/eth-gas-reporter/node_modules/mocha": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-7.2.0.tgz", + "integrity": "sha512-O9CIypScywTVpNaRrCAgoUnJgozpIofjKUYmJhiCIJMiuYnLI6otcb1/kpW9/n/tJODHGZ7i8aLQoDVsMtOKQQ==", + "dependencies": { + "ansi-colors": "3.2.3", + "browser-stdout": "1.3.1", + "chokidar": "3.3.0", + "debug": "3.2.6", + "diff": "3.5.0", + "escape-string-regexp": "1.0.5", + "find-up": "3.0.0", + "glob": "7.1.3", + "growl": "1.10.5", + "he": "1.2.0", + "js-yaml": "3.13.1", + "log-symbols": "3.0.0", + "minimatch": "3.0.4", + "mkdirp": "0.5.5", + "ms": "2.1.1", + "node-environment-flags": "1.0.6", + "object.assign": "4.1.0", + "strip-json-comments": "2.0.1", + "supports-color": "6.0.0", + "which": "1.3.1", + "wide-align": "1.1.3", + "yargs": "13.3.2", + "yargs-parser": "13.1.2", + "yargs-unparser": "1.6.0" + }, + "bin": { + "_mocha": "bin/_mocha", + "mocha": "bin/mocha" + }, + "engines": { + "node": ">= 8.10.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mochajs" + } + }, + "node_modules/eth-gas-reporter/node_modules/ms": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" + }, + "node_modules/eth-gas-reporter/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eth-gas-reporter/node_modules/p-locate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", + "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", + "dependencies": { + "p-limit": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/eth-gas-reporter/node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "engines": { + "node": ">=6" + } + }, + "node_modules/eth-gas-reporter/node_modules/readdirp": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.2.0.tgz", + "integrity": "sha512-crk4Qu3pmXwgxdSgGhgA/eXiJAPQiX4GMOZZMXnqKxHX7TaoL+3gQVo/WeuAiogr07DpnfjIMpXXa+PAIvwPGQ==", + "dependencies": { + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/eth-gas-reporter/node_modules/scrypt-js": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/scrypt-js/-/scrypt-js-2.0.4.tgz", + "integrity": "sha512-4KsaGcPnuhtCZQCxFxN3GVYIhKFPTdLd8PLC552XwbMndtD0cjRFAhDuuydXQ0h08ZfPgzqe6EKHozpuH74iDw==" + }, + "node_modules/eth-gas-reporter/node_modules/secp256k1": { + "version": "3.8.0", + "resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-3.8.0.tgz", + "integrity": "sha512-k5ke5avRZbtl9Tqx/SA7CbY3NF6Ro+Sj9cZxezFzuBlLDmyqPiL8hJJ+EmzD8Ig4LUDByHJ3/iPOVoRixs/hmw==", + "hasInstallScript": true, + "dependencies": { + "bindings": "^1.5.0", + "bip66": "^1.1.5", + "bn.js": "^4.11.8", + "create-hash": "^1.2.0", + "drbg.js": "^1.0.1", + "elliptic": "^6.5.2", + "nan": "^2.14.0", + "safe-buffer": "^5.1.2" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/eth-gas-reporter/node_modules/setimmediate": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.4.tgz", + "integrity": "sha1-IOgd5iLUoCWIzgyNqJc8vPHTE48=" + }, + "node_modules/eth-gas-reporter/node_modules/string-width": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", + "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", + "dependencies": { + "emoji-regex": "^7.0.1", + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^5.1.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/eth-gas-reporter/node_modules/strip-ansi": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", + "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", + "dependencies": { + "ansi-regex": "^4.1.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/eth-gas-reporter/node_modules/strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/eth-gas-reporter/node_modules/supports-color": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.0.0.tgz", + "integrity": "sha512-on9Kwidc1IUQo+bQdhi8+Tijpo0e1SS6RoGo2guUwn5vdaxw8RXOF9Vb2ws+ihWOmh4JnCJOvaziZWP1VABaLg==", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/eth-gas-reporter/node_modules/uuid": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.1.tgz", + "integrity": "sha1-wqMN7bPlNdcsz4LjQ5QaULqFM6w=", + "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details." + }, + "node_modules/eth-gas-reporter/node_modules/which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "which": "bin/which" + } + }, + "node_modules/eth-gas-reporter/node_modules/wrap-ansi": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz", + "integrity": "sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==", + "dependencies": { + "ansi-styles": "^3.2.0", + "string-width": "^3.0.0", + "strip-ansi": "^5.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/eth-gas-reporter/node_modules/y18n": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", + "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==" + }, + "node_modules/eth-gas-reporter/node_modules/yargs": { + "version": "13.3.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-13.3.2.tgz", + "integrity": "sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw==", + "dependencies": { + "cliui": "^5.0.0", + "find-up": "^3.0.0", + "get-caller-file": "^2.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^2.0.0", + "set-blocking": "^2.0.0", + "string-width": "^3.0.0", + "which-module": "^2.0.0", + "y18n": "^4.0.0", + "yargs-parser": "^13.1.2" + } + }, + "node_modules/eth-gas-reporter/node_modules/yargs-parser": { + "version": "13.1.2", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.2.tgz", + "integrity": "sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==", + "dependencies": { + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" + } + }, + "node_modules/eth-gas-reporter/node_modules/yargs-unparser": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-1.6.0.tgz", + "integrity": "sha512-W9tKgmSn0DpSatfri0nx52Joq5hVXgeLiqR/5G0sZNDoLZFOr/xjBUDcShCOGNsBnEMNo1KAMBkTej1Hm62HTw==", + "dependencies": { + "flat": "^4.1.0", + "lodash": "^4.17.15", + "yargs": "^13.3.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/ethereum-bloom-filters": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/ethereum-bloom-filters/-/ethereum-bloom-filters-1.0.10.tgz", + "integrity": "sha512-rxJ5OFN3RwjQxDcFP2Z5+Q9ho4eIdEmSc2ht0fCu8Se9nbXjZ7/031uXoUYJ87KHCOdVeiUuwSnoS7hmYAGVHA==", + "dev": true, + "dependencies": { + "js-sha3": "^0.8.0" + } + }, + "node_modules/ethereum-cryptography": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/ethereum-cryptography/-/ethereum-cryptography-0.1.3.tgz", + "integrity": "sha512-w8/4x1SGGzc+tO97TASLja6SLd3fRIK2tLVcV2Gx4IB21hE19atll5Cq9o3d0ZmAYC/8aw0ipieTSiekAea4SQ==", + "dependencies": { + "@types/pbkdf2": "^3.0.0", + "@types/secp256k1": "^4.0.1", + "blakejs": "^1.1.0", + "browserify-aes": "^1.2.0", + "bs58check": "^2.1.2", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "hash.js": "^1.1.7", + "keccak": "^3.0.0", + "pbkdf2": "^3.0.17", + "randombytes": "^2.1.0", + "safe-buffer": "^5.1.2", + "scrypt-js": "^3.0.0", + "secp256k1": "^4.0.1", + "setimmediate": "^1.0.5" + } + }, + "node_modules/ethereum-waffle": { + "version": "3.4.4", + "resolved": "https://registry.npmjs.org/ethereum-waffle/-/ethereum-waffle-3.4.4.tgz", + "integrity": "sha512-PA9+jCjw4WC3Oc5ocSMBj5sXvueWQeAbvCA+hUlb6oFgwwKyq5ka3bWQ7QZcjzIX+TdFkxP4IbFmoY2D8Dkj9Q==", + "dev": true, + "dependencies": { + "@ethereum-waffle/chai": "^3.4.4", + "@ethereum-waffle/compiler": "^3.4.4", + "@ethereum-waffle/mock-contract": "^3.4.4", + "@ethereum-waffle/provider": "^3.4.4", + "ethers": "^5.0.1" + }, + "bin": { + "waffle": "bin/waffle" + }, + "engines": { + "node": ">=10.0" + } + }, + "node_modules/ethereumjs-abi": { + "version": "0.6.8", + "resolved": "https://registry.npmjs.org/ethereumjs-abi/-/ethereumjs-abi-0.6.8.tgz", + "integrity": "sha512-Tx0r/iXI6r+lRsdvkFDlut0N08jWMnKRZ6Gkq+Nmw75lZe4e6o3EkSnkaBP5NF6+m5PTGAr9JP43N3LyeoglsA==", + "dependencies": { + "bn.js": "^4.11.8", + "ethereumjs-util": "^6.0.0" + } + }, + "node_modules/ethereumjs-abi/node_modules/@types/bn.js": { + "version": "4.11.6", + "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.6.tgz", + "integrity": "sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg==", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/ethereumjs-abi/node_modules/ethereumjs-util": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-6.2.1.tgz", + "integrity": "sha512-W2Ktez4L01Vexijrm5EB6w7dg4n/TgpoYU4avuT5T3Vmnw/eCRtiBrJfQYS/DCSvDIOLn2k57GcHdeBcgVxAqw==", + "dependencies": { + "@types/bn.js": "^4.11.3", + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "0.1.6", + "rlp": "^2.2.3" + } + }, + "node_modules/ethereumjs-util": { + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-7.1.4.tgz", + "integrity": "sha512-p6KmuPCX4mZIqsQzXfmSx9Y0l2hqf+VkAiwSisW3UKUFdk8ZkAt+AYaor83z2nSi6CU2zSsXMlD80hAbNEGM0A==", + "dependencies": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/ethereumjs-util/node_modules/bn.js": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz", + "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==" + }, + "node_modules/ethers": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.6.0.tgz", + "integrity": "sha512-00FP71jt6bW3ndO5DhgH9mLIZhoCGnAKFLu8qig5KmV03ubEChKf2ilB3g6fX512tTYo+tSMDJ5WpCJWdBHkBQ==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abi": "5.6.0", + "@ethersproject/abstract-provider": "5.6.0", + "@ethersproject/abstract-signer": "5.6.0", + "@ethersproject/address": "5.6.0", + "@ethersproject/base64": "5.6.0", + "@ethersproject/basex": "5.6.0", + "@ethersproject/bignumber": "5.6.0", + "@ethersproject/bytes": "5.6.0", + "@ethersproject/constants": "5.6.0", + "@ethersproject/contracts": "5.6.0", + "@ethersproject/hash": "5.6.0", + "@ethersproject/hdnode": "5.6.0", + "@ethersproject/json-wallets": "5.6.0", + "@ethersproject/keccak256": "5.6.0", + "@ethersproject/logger": "5.6.0", + "@ethersproject/networks": "5.6.0", + "@ethersproject/pbkdf2": "5.6.0", + "@ethersproject/properties": "5.6.0", + "@ethersproject/providers": "5.6.0", + "@ethersproject/random": "5.6.0", + "@ethersproject/rlp": "5.6.0", + "@ethersproject/sha2": "5.6.0", + "@ethersproject/signing-key": "5.6.0", + "@ethersproject/solidity": "5.6.0", + "@ethersproject/strings": "5.6.0", + "@ethersproject/transactions": "5.6.0", + "@ethersproject/units": "5.6.0", + "@ethersproject/wallet": "5.6.0", + "@ethersproject/web": "5.6.0", + "@ethersproject/wordlists": "5.6.0" + } + }, + "node_modules/ethjs-unit": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/ethjs-unit/-/ethjs-unit-0.1.6.tgz", + "integrity": "sha1-xmWSHkduh7ziqdWIpv4EBbLEFpk=", + "dev": true, + "dependencies": { + "bn.js": "4.11.6", + "number-to-bn": "1.7.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "node_modules/ethjs-unit/node_modules/bn.js": { + "version": "4.11.6", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", + "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=", + "dev": true + }, + "node_modules/ethjs-util": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/ethjs-util/-/ethjs-util-0.1.6.tgz", + "integrity": "sha512-CUnVOQq7gSpDHZVVrQW8ExxUETWrnrvXYvYz55wOU8Uj4VCgw56XC2B/fVqQN+f7gmrnRHSLVnFAwsCuNwji8w==", + "dependencies": { + "is-hex-prefixed": "1.0.0", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "node_modules/event-target-shim": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", + "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", + "engines": { + "node": ">=6" + } + }, + "node_modules/evp_bytestokey": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", + "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", + "dependencies": { + "md5.js": "^1.3.4", + "safe-buffer": "^5.1.1" + } + }, + "node_modules/exit-on-epipe": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/exit-on-epipe/-/exit-on-epipe-1.0.1.tgz", + "integrity": "sha512-h2z5mrROTxce56S+pnvAV890uu7ls7f1kEvVGJbw1OlFH3/mlJ5bkXu0KRyW94v37zzHPiUd55iLn3DA7TjWpw==", + "engines": { + "node": ">=0.8" + } + }, + "node_modules/extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + }, + "node_modules/extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", + "engines": [ + "node >=0.6.0" + ] + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" + }, + "node_modules/file-uri-to-path": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", + "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==" + }, + "node_modules/fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-replace": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/find-replace/-/find-replace-1.0.3.tgz", + "integrity": "sha1-uI5zZNLZyVlVnziMZmcNYTBEH6A=", + "dev": true, + "dependencies": { + "array-back": "^1.0.4", + "test-value": "^2.1.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/find-replace/node_modules/array-back": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-1.0.4.tgz", + "integrity": "sha1-ZEun8JX3/898Q7Xw3DnTwfA8Bjs=", + "dev": true, + "dependencies": { + "typical": "^2.6.0" + }, + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "dependencies": { + "locate-path": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/find-yarn-workspace-root": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/find-yarn-workspace-root/-/find-yarn-workspace-root-2.0.0.tgz", + "integrity": "sha512-1IMnbjt4KzsQfnhnzNd8wUEgXZ44IzZaZmnLYx7D5FZlaHt2gW20Cri8Q+E/t5tIj4+epTBub+2Zxu/vNILzqQ==", + "dev": true, + "dependencies": { + "micromatch": "^4.0.2" + } + }, + "node_modules/flat": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", + "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", + "bin": { + "flat": "cli.js" + } + }, + "node_modules/follow-redirects": { + "version": "1.14.9", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.9.tgz", + "integrity": "sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w==", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", + "engines": { + "node": "*" + } + }, + "node_modules/form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "node_modules/fp-ts": { + "version": "1.19.3", + "resolved": "https://registry.npmjs.org/fp-ts/-/fp-ts-1.19.3.tgz", + "integrity": "sha512-H5KQDspykdHuztLTg+ajGN0Z2qUjcEf3Ybxc6hLt0k7/zPkn29XnKnxlBPyW2XIddWrGaJBzBl4VLYOtk39yZg==" + }, + "node_modules/fs-extra": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", + "integrity": "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + }, + "engines": { + "node": ">=6 <7 || >=8" + } + }, + "node_modules/fs-readdir-recursive": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz", + "integrity": "sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==" + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" + }, + "node_modules/fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + }, + "node_modules/functional-red-black-tree": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", + "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=" + }, + "node_modules/ganache-core": { + "version": "2.13.2", + "resolved": "https://registry.npmjs.org/ganache-core/-/ganache-core-2.13.2.tgz", + "integrity": "sha512-tIF5cR+ANQz0+3pHWxHjIwHqFXcVo0Mb+kcsNhglNFALcYo49aQpnS9dqHartqPfMFjiHh/qFoD3mYK0d/qGgw==", + "bundleDependencies": [ + "keccak" + ], + "deprecated": "ganache-core is now ganache; visit https://trfl.io/g7 for details", + "dev": true, + "hasShrinkwrap": true, + "dependencies": { + "abstract-leveldown": "3.0.0", + "async": "2.6.2", + "bip39": "2.5.0", + "cachedown": "1.0.0", + "clone": "2.1.2", + "debug": "3.2.6", + "encoding-down": "5.0.4", + "eth-sig-util": "3.0.0", + "ethereumjs-abi": "0.6.8", + "ethereumjs-account": "3.0.0", + "ethereumjs-block": "2.2.2", + "ethereumjs-common": "1.5.0", + "ethereumjs-tx": "2.1.2", + "ethereumjs-util": "6.2.1", + "ethereumjs-vm": "4.2.0", + "heap": "0.2.6", + "keccak": "3.0.1", + "level-sublevel": "6.6.4", + "levelup": "3.1.1", + "lodash": "4.17.20", + "lru-cache": "5.1.1", + "merkle-patricia-tree": "3.0.0", + "patch-package": "6.2.2", + "seedrandom": "3.0.1", + "source-map-support": "0.5.12", + "tmp": "0.1.0", + "web3-provider-engine": "14.2.1", + "websocket": "1.0.32" + }, + "engines": { + "node": ">=8.9.0" + }, + "optionalDependencies": { + "ethereumjs-wallet": "0.6.5", + "web3": "1.2.11" + } + }, + "node_modules/ganache-core/node_modules/@ethersproject/abi": { + "version": "5.0.0-beta.153", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@ethersproject/address": ">=5.0.0-beta.128", + "@ethersproject/bignumber": ">=5.0.0-beta.130", + "@ethersproject/bytes": ">=5.0.0-beta.129", + "@ethersproject/constants": ">=5.0.0-beta.128", + "@ethersproject/hash": ">=5.0.0-beta.128", + "@ethersproject/keccak256": ">=5.0.0-beta.127", + "@ethersproject/logger": ">=5.0.0-beta.129", + "@ethersproject/properties": ">=5.0.0-beta.131", + "@ethersproject/strings": ">=5.0.0-beta.130" + } + }, + "node_modules/ganache-core/node_modules/@ethersproject/abstract-provider": { + "version": "5.0.8", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "@ethersproject/bignumber": "^5.0.13", + "@ethersproject/bytes": "^5.0.9", + "@ethersproject/logger": "^5.0.8", + "@ethersproject/networks": "^5.0.7", + "@ethersproject/properties": "^5.0.7", + "@ethersproject/transactions": "^5.0.9", + "@ethersproject/web": "^5.0.12" + } + }, + "node_modules/ganache-core/node_modules/@ethersproject/abstract-signer": { + "version": "5.0.10", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "@ethersproject/abstract-provider": "^5.0.8", + "@ethersproject/bignumber": "^5.0.13", + "@ethersproject/bytes": "^5.0.9", + "@ethersproject/logger": "^5.0.8", + "@ethersproject/properties": "^5.0.7" + } + }, + "node_modules/ganache-core/node_modules/@ethersproject/address": { + "version": "5.0.9", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "@ethersproject/bignumber": "^5.0.13", + "@ethersproject/bytes": "^5.0.9", + "@ethersproject/keccak256": "^5.0.7", + "@ethersproject/logger": "^5.0.8", + "@ethersproject/rlp": "^5.0.7" + } + }, + "node_modules/ganache-core/node_modules/@ethersproject/base64": { + "version": "5.0.7", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "@ethersproject/bytes": "^5.0.9" + } + }, + "node_modules/ganache-core/node_modules/@ethersproject/bignumber": { + "version": "5.0.13", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "@ethersproject/bytes": "^5.0.9", + "@ethersproject/logger": "^5.0.8", + "bn.js": "^4.4.0" + } + }, + "node_modules/ganache-core/node_modules/@ethersproject/bytes": { + "version": "5.0.9", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "@ethersproject/logger": "^5.0.8" + } + }, + "node_modules/ganache-core/node_modules/@ethersproject/constants": { + "version": "5.0.8", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "@ethersproject/bignumber": "^5.0.13" + } + }, + "node_modules/ganache-core/node_modules/@ethersproject/hash": { + "version": "5.0.10", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "@ethersproject/abstract-signer": "^5.0.10", + "@ethersproject/address": "^5.0.9", + "@ethersproject/bignumber": "^5.0.13", + "@ethersproject/bytes": "^5.0.9", + "@ethersproject/keccak256": "^5.0.7", + "@ethersproject/logger": "^5.0.8", + "@ethersproject/properties": "^5.0.7", + "@ethersproject/strings": "^5.0.8" + } + }, + "node_modules/ganache-core/node_modules/@ethersproject/keccak256": { + "version": "5.0.7", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "@ethersproject/bytes": "^5.0.9", + "js-sha3": "0.5.7" + } + }, + "node_modules/ganache-core/node_modules/@ethersproject/logger": { + "version": "5.0.8", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/@ethersproject/networks": { + "version": "5.0.7", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "@ethersproject/logger": "^5.0.8" + } + }, + "node_modules/ganache-core/node_modules/@ethersproject/properties": { + "version": "5.0.7", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "@ethersproject/logger": "^5.0.8" + } + }, + "node_modules/ganache-core/node_modules/@ethersproject/rlp": { + "version": "5.0.7", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "@ethersproject/bytes": "^5.0.9", + "@ethersproject/logger": "^5.0.8" + } + }, + "node_modules/ganache-core/node_modules/@ethersproject/signing-key": { + "version": "5.0.8", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "@ethersproject/bytes": "^5.0.9", + "@ethersproject/logger": "^5.0.8", + "@ethersproject/properties": "^5.0.7", + "elliptic": "6.5.3" + } + }, + "node_modules/ganache-core/node_modules/@ethersproject/strings": { + "version": "5.0.8", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "@ethersproject/bytes": "^5.0.9", + "@ethersproject/constants": "^5.0.8", + "@ethersproject/logger": "^5.0.8" + } + }, + "node_modules/ganache-core/node_modules/@ethersproject/transactions": { + "version": "5.0.9", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "@ethersproject/address": "^5.0.9", + "@ethersproject/bignumber": "^5.0.13", + "@ethersproject/bytes": "^5.0.9", + "@ethersproject/constants": "^5.0.8", + "@ethersproject/keccak256": "^5.0.7", + "@ethersproject/logger": "^5.0.8", + "@ethersproject/properties": "^5.0.7", + "@ethersproject/rlp": "^5.0.7", + "@ethersproject/signing-key": "^5.0.8" + } + }, + "node_modules/ganache-core/node_modules/@ethersproject/web": { + "version": "5.0.12", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "license": "MIT", + "optional": true, + "dependencies": { + "@ethersproject/base64": "^5.0.7", + "@ethersproject/bytes": "^5.0.9", + "@ethersproject/logger": "^5.0.8", + "@ethersproject/properties": "^5.0.7", + "@ethersproject/strings": "^5.0.8" + } + }, + "node_modules/ganache-core/node_modules/@sindresorhus/is": { + "version": "0.14.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/ganache-core/node_modules/@szmarczak/http-timer": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "defer-to-connect": "^1.0.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/ganache-core/node_modules/@types/bn.js": { + "version": "4.11.6", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/ganache-core/node_modules/@types/node": { + "version": "14.14.20", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/@types/pbkdf2": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/ganache-core/node_modules/@types/secp256k1": { + "version": "4.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/ganache-core/node_modules/@yarnpkg/lockfile": { + "version": "1.1.0", + "dev": true, + "license": "BSD-2-Clause" + }, + "node_modules/ganache-core/node_modules/abstract-leveldown": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "xtend": "~4.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/ganache-core/node_modules/accepts": { + "version": "1.3.7", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "mime-types": "~2.1.24", + "negotiator": "0.6.2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/ganache-core/node_modules/aes-js": { + "version": "3.1.2", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/ajv": { + "version": "6.12.6", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ganache-core/node_modules/ansi-styles": { + "version": "3.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/ganache-core/node_modules/arr-diff": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/arr-flatten": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/arr-union": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/array-flatten": { + "version": "1.1.1", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/array-unique": { + "version": "0.3.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/asn1": { + "version": "0.2.4", + "dev": true, + "license": "MIT", + "dependencies": { + "safer-buffer": "~2.1.0" + } + }, + "node_modules/ganache-core/node_modules/asn1.js": { + "version": "5.4.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "bn.js": "^4.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0", + "safer-buffer": "^2.1.0" + } + }, + "node_modules/ganache-core/node_modules/assert-plus": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "node_modules/ganache-core/node_modules/assign-symbols": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/async": { + "version": "2.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "lodash": "^4.17.11" + } + }, + "node_modules/ganache-core/node_modules/async-eventemitter": { + "version": "0.2.4", + "dev": true, + "license": "MIT", + "dependencies": { + "async": "^2.4.0" + } + }, + "node_modules/ganache-core/node_modules/async-limiter": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/asynckit": { + "version": "0.4.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/atob": { + "version": "2.1.2", + "dev": true, + "license": "(MIT OR Apache-2.0)", + "bin": { + "atob": "bin/atob.js" + }, + "engines": { + "node": ">= 4.5.0" + } + }, + "node_modules/ganache-core/node_modules/aws-sign2": { + "version": "0.7.0", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "node_modules/ganache-core/node_modules/aws4": { + "version": "1.11.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/babel-code-frame": { + "version": "6.26.0", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^1.1.3", + "esutils": "^2.0.2", + "js-tokens": "^3.0.2" + } + }, + "node_modules/ganache-core/node_modules/babel-code-frame/node_modules/ansi-regex": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/babel-code-frame/node_modules/ansi-styles": { + "version": "2.2.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/babel-code-frame/node_modules/chalk": { + "version": "1.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/babel-code-frame/node_modules/js-tokens": { + "version": "3.0.2", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/babel-code-frame/node_modules/strip-ansi": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/babel-code-frame/node_modules/supports-color": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/ganache-core/node_modules/babel-core": { + "version": "6.26.3", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-code-frame": "^6.26.0", + "babel-generator": "^6.26.0", + "babel-helpers": "^6.24.1", + "babel-messages": "^6.23.0", + "babel-register": "^6.26.0", + "babel-runtime": "^6.26.0", + "babel-template": "^6.26.0", + "babel-traverse": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "convert-source-map": "^1.5.1", + "debug": "^2.6.9", + "json5": "^0.5.1", + "lodash": "^4.17.4", + "minimatch": "^3.0.4", + "path-is-absolute": "^1.0.1", + "private": "^0.1.8", + "slash": "^1.0.0", + "source-map": "^0.5.7" + } + }, + "node_modules/ganache-core/node_modules/babel-core/node_modules/debug": { + "version": "2.6.9", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/ganache-core/node_modules/babel-core/node_modules/json5": { + "version": "0.5.1", + "dev": true, + "license": "MIT", + "bin": { + "json5": "lib/cli.js" + } + }, + "node_modules/ganache-core/node_modules/babel-core/node_modules/ms": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/babel-core/node_modules/slash": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/babel-generator": { + "version": "6.26.1", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-messages": "^6.23.0", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "detect-indent": "^4.0.0", + "jsesc": "^1.3.0", + "lodash": "^4.17.4", + "source-map": "^0.5.7", + "trim-right": "^1.0.1" + } + }, + "node_modules/ganache-core/node_modules/babel-generator/node_modules/jsesc": { + "version": "1.3.0", + "dev": true, + "license": "MIT", + "bin": { + "jsesc": "bin/jsesc" + } + }, + "node_modules/ganache-core/node_modules/babel-helper-builder-binary-assignment-operator-visitor": { + "version": "6.24.1", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-helper-explode-assignable-expression": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "node_modules/ganache-core/node_modules/babel-helper-call-delegate": { + "version": "6.24.1", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-helper-hoist-variables": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "node_modules/ganache-core/node_modules/babel-helper-define-map": { + "version": "6.26.0", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-helper-function-name": "^6.24.1", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "lodash": "^4.17.4" + } + }, + "node_modules/ganache-core/node_modules/babel-helper-explode-assignable-expression": { + "version": "6.24.1", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-runtime": "^6.22.0", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "node_modules/ganache-core/node_modules/babel-helper-function-name": { + "version": "6.24.1", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-helper-get-function-arity": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "node_modules/ganache-core/node_modules/babel-helper-get-function-arity": { + "version": "6.24.1", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "node_modules/ganache-core/node_modules/babel-helper-hoist-variables": { + "version": "6.24.1", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "node_modules/ganache-core/node_modules/babel-helper-optimise-call-expression": { + "version": "6.24.1", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "node_modules/ganache-core/node_modules/babel-helper-regex": { + "version": "6.26.0", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "lodash": "^4.17.4" + } + }, + "node_modules/ganache-core/node_modules/babel-helper-remap-async-to-generator": { + "version": "6.24.1", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-helper-function-name": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "node_modules/ganache-core/node_modules/babel-helper-replace-supers": { + "version": "6.24.1", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-helper-optimise-call-expression": "^6.24.1", + "babel-messages": "^6.23.0", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "node_modules/ganache-core/node_modules/babel-helpers": { + "version": "6.24.1", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1" + } + }, + "node_modules/ganache-core/node_modules/babel-messages": { + "version": "6.23.0", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-runtime": "^6.22.0" + } + }, + "node_modules/ganache-core/node_modules/babel-plugin-check-es2015-constants": { + "version": "6.22.0", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-runtime": "^6.22.0" + } + }, + "node_modules/ganache-core/node_modules/babel-plugin-syntax-async-functions": { + "version": "6.13.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/babel-plugin-syntax-exponentiation-operator": { + "version": "6.13.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/babel-plugin-syntax-trailing-function-commas": { + "version": "6.22.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/babel-plugin-transform-async-to-generator": { + "version": "6.24.1", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-helper-remap-async-to-generator": "^6.24.1", + "babel-plugin-syntax-async-functions": "^6.8.0", + "babel-runtime": "^6.22.0" + } + }, + "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-arrow-functions": { + "version": "6.22.0", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-runtime": "^6.22.0" + } + }, + "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-block-scoped-functions": { + "version": "6.22.0", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-runtime": "^6.22.0" + } + }, + "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-block-scoping": { + "version": "6.26.0", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-runtime": "^6.26.0", + "babel-template": "^6.26.0", + "babel-traverse": "^6.26.0", + "babel-types": "^6.26.0", + "lodash": "^4.17.4" + } + }, + "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-classes": { + "version": "6.24.1", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-helper-define-map": "^6.24.1", + "babel-helper-function-name": "^6.24.1", + "babel-helper-optimise-call-expression": "^6.24.1", + "babel-helper-replace-supers": "^6.24.1", + "babel-messages": "^6.23.0", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-computed-properties": { + "version": "6.24.1", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1" + } + }, + "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-destructuring": { + "version": "6.23.0", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-runtime": "^6.22.0" + } + }, + "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-duplicate-keys": { + "version": "6.24.1", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-for-of": { + "version": "6.23.0", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-runtime": "^6.22.0" + } + }, + "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-function-name": { + "version": "6.24.1", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-helper-function-name": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-literals": { + "version": "6.22.0", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-runtime": "^6.22.0" + } + }, + "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-modules-amd": { + "version": "6.24.1", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1" + } + }, + "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-modules-commonjs": { + "version": "6.26.2", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-plugin-transform-strict-mode": "^6.24.1", + "babel-runtime": "^6.26.0", + "babel-template": "^6.26.0", + "babel-types": "^6.26.0" + } + }, + "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-modules-systemjs": { + "version": "6.24.1", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-helper-hoist-variables": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1" + } + }, + "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-modules-umd": { + "version": "6.24.1", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-plugin-transform-es2015-modules-amd": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1" + } + }, + "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-object-super": { + "version": "6.24.1", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-helper-replace-supers": "^6.24.1", + "babel-runtime": "^6.22.0" + } + }, + "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-parameters": { + "version": "6.24.1", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-helper-call-delegate": "^6.24.1", + "babel-helper-get-function-arity": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-shorthand-properties": { + "version": "6.24.1", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-spread": { + "version": "6.22.0", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-runtime": "^6.22.0" + } + }, + "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-sticky-regex": { + "version": "6.24.1", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-helper-regex": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-template-literals": { + "version": "6.22.0", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-runtime": "^6.22.0" + } + }, + "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-typeof-symbol": { + "version": "6.23.0", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-runtime": "^6.22.0" + } + }, + "node_modules/ganache-core/node_modules/babel-plugin-transform-es2015-unicode-regex": { + "version": "6.24.1", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-helper-regex": "^6.24.1", + "babel-runtime": "^6.22.0", + "regexpu-core": "^2.0.0" + } + }, + "node_modules/ganache-core/node_modules/babel-plugin-transform-exponentiation-operator": { + "version": "6.24.1", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-helper-builder-binary-assignment-operator-visitor": "^6.24.1", + "babel-plugin-syntax-exponentiation-operator": "^6.8.0", + "babel-runtime": "^6.22.0" + } + }, + "node_modules/ganache-core/node_modules/babel-plugin-transform-regenerator": { + "version": "6.26.0", + "dev": true, + "license": "MIT", + "dependencies": { + "regenerator-transform": "^0.10.0" + } + }, + "node_modules/ganache-core/node_modules/babel-plugin-transform-strict-mode": { + "version": "6.24.1", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "node_modules/ganache-core/node_modules/babel-preset-env": { + "version": "1.7.0", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-plugin-check-es2015-constants": "^6.22.0", + "babel-plugin-syntax-trailing-function-commas": "^6.22.0", + "babel-plugin-transform-async-to-generator": "^6.22.0", + "babel-plugin-transform-es2015-arrow-functions": "^6.22.0", + "babel-plugin-transform-es2015-block-scoped-functions": "^6.22.0", + "babel-plugin-transform-es2015-block-scoping": "^6.23.0", + "babel-plugin-transform-es2015-classes": "^6.23.0", + "babel-plugin-transform-es2015-computed-properties": "^6.22.0", + "babel-plugin-transform-es2015-destructuring": "^6.23.0", + "babel-plugin-transform-es2015-duplicate-keys": "^6.22.0", + "babel-plugin-transform-es2015-for-of": "^6.23.0", + "babel-plugin-transform-es2015-function-name": "^6.22.0", + "babel-plugin-transform-es2015-literals": "^6.22.0", + "babel-plugin-transform-es2015-modules-amd": "^6.22.0", + "babel-plugin-transform-es2015-modules-commonjs": "^6.23.0", + "babel-plugin-transform-es2015-modules-systemjs": "^6.23.0", + "babel-plugin-transform-es2015-modules-umd": "^6.23.0", + "babel-plugin-transform-es2015-object-super": "^6.22.0", + "babel-plugin-transform-es2015-parameters": "^6.23.0", + "babel-plugin-transform-es2015-shorthand-properties": "^6.22.0", + "babel-plugin-transform-es2015-spread": "^6.22.0", + "babel-plugin-transform-es2015-sticky-regex": "^6.22.0", + "babel-plugin-transform-es2015-template-literals": "^6.22.0", + "babel-plugin-transform-es2015-typeof-symbol": "^6.23.0", + "babel-plugin-transform-es2015-unicode-regex": "^6.22.0", + "babel-plugin-transform-exponentiation-operator": "^6.22.0", + "babel-plugin-transform-regenerator": "^6.22.0", + "browserslist": "^3.2.6", + "invariant": "^2.2.2", + "semver": "^5.3.0" + } + }, + "node_modules/ganache-core/node_modules/babel-preset-env/node_modules/semver": { + "version": "5.7.1", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/ganache-core/node_modules/babel-register": { + "version": "6.26.0", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-core": "^6.26.0", + "babel-runtime": "^6.26.0", + "core-js": "^2.5.0", + "home-or-tmp": "^2.0.0", + "lodash": "^4.17.4", + "mkdirp": "^0.5.1", + "source-map-support": "^0.4.15" + } + }, + "node_modules/ganache-core/node_modules/babel-register/node_modules/source-map-support": { + "version": "0.4.18", + "dev": true, + "license": "MIT", + "dependencies": { + "source-map": "^0.5.6" + } + }, + "node_modules/ganache-core/node_modules/babel-runtime": { + "version": "6.26.0", + "dev": true, + "license": "MIT", + "dependencies": { + "core-js": "^2.4.0", + "regenerator-runtime": "^0.11.0" + } + }, + "node_modules/ganache-core/node_modules/babel-template": { + "version": "6.26.0", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-runtime": "^6.26.0", + "babel-traverse": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "lodash": "^4.17.4" + } + }, + "node_modules/ganache-core/node_modules/babel-traverse": { + "version": "6.26.0", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-code-frame": "^6.26.0", + "babel-messages": "^6.23.0", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "debug": "^2.6.8", + "globals": "^9.18.0", + "invariant": "^2.2.2", + "lodash": "^4.17.4" + } + }, + "node_modules/ganache-core/node_modules/babel-traverse/node_modules/debug": { + "version": "2.6.9", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/ganache-core/node_modules/babel-traverse/node_modules/globals": { + "version": "9.18.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/babel-traverse/node_modules/ms": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/babel-types": { + "version": "6.26.0", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-runtime": "^6.26.0", + "esutils": "^2.0.2", + "lodash": "^4.17.4", + "to-fast-properties": "^1.0.3" + } + }, + "node_modules/ganache-core/node_modules/babel-types/node_modules/to-fast-properties": { + "version": "1.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/babelify": { + "version": "7.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-core": "^6.0.14", + "object-assign": "^4.0.0" + } + }, + "node_modules/ganache-core/node_modules/babylon": { + "version": "6.18.0", + "dev": true, + "license": "MIT", + "bin": { + "babylon": "bin/babylon.js" + } + }, + "node_modules/ganache-core/node_modules/backoff": { + "version": "2.5.0", + "dev": true, + "license": "MIT", + "dependencies": { + "precond": "0.2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/ganache-core/node_modules/balanced-match": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/base": { + "version": "0.11.2", + "dev": true, + "license": "MIT", + "dependencies": { + "cache-base": "^1.0.1", + "class-utils": "^0.3.5", + "component-emitter": "^1.2.1", + "define-property": "^1.0.0", + "isobject": "^3.0.1", + "mixin-deep": "^1.2.0", + "pascalcase": "^0.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/base-x": { + "version": "3.0.8", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "node_modules/ganache-core/node_modules/base/node_modules/define-property": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-descriptor": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/base64-js": { + "version": "1.5.1", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/bcrypt-pbkdf": { + "version": "1.0.2", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "tweetnacl": "^0.14.3" + } + }, + "node_modules/ganache-core/node_modules/bcrypt-pbkdf/node_modules/tweetnacl": { + "version": "0.14.5", + "dev": true, + "license": "Unlicense" + }, + "node_modules/ganache-core/node_modules/bignumber.js": { + "version": "9.0.1", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": "*" + } + }, + "node_modules/ganache-core/node_modules/bip39": { + "version": "2.5.0", + "dev": true, + "license": "ISC", + "dependencies": { + "create-hash": "^1.1.0", + "pbkdf2": "^3.0.9", + "randombytes": "^2.0.1", + "safe-buffer": "^5.0.1", + "unorm": "^1.3.3" + } + }, + "node_modules/ganache-core/node_modules/blakejs": { + "version": "1.1.0", + "dev": true, + "license": "CC0-1.0" + }, + "node_modules/ganache-core/node_modules/bluebird": { + "version": "3.7.2", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/bn.js": { + "version": "4.11.9", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/body-parser": { + "version": "1.19.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "bytes": "3.1.0", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "~1.1.2", + "http-errors": "1.7.2", + "iconv-lite": "0.4.24", + "on-finished": "~2.3.0", + "qs": "6.7.0", + "raw-body": "2.4.0", + "type-is": "~1.6.17" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/ganache-core/node_modules/body-parser/node_modules/debug": { + "version": "2.6.9", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/ganache-core/node_modules/body-parser/node_modules/ms": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/body-parser/node_modules/qs": { + "version": "6.7.0", + "dev": true, + "license": "BSD-3-Clause", + "optional": true, + "engines": { + "node": ">=0.6" + } + }, + "node_modules/ganache-core/node_modules/brace-expansion": { + "version": "1.1.11", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/ganache-core/node_modules/brorand": { + "version": "1.1.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/browserify-aes": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer-xor": "^1.0.3", + "cipher-base": "^1.0.0", + "create-hash": "^1.1.0", + "evp_bytestokey": "^1.0.3", + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/ganache-core/node_modules/browserify-cipher": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "browserify-aes": "^1.0.4", + "browserify-des": "^1.0.0", + "evp_bytestokey": "^1.0.0" + } + }, + "node_modules/ganache-core/node_modules/browserify-des": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "cipher-base": "^1.0.1", + "des.js": "^1.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "node_modules/ganache-core/node_modules/browserify-rsa": { + "version": "4.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "bn.js": "^5.0.0", + "randombytes": "^2.0.1" + } + }, + "node_modules/ganache-core/node_modules/browserify-rsa/node_modules/bn.js": { + "version": "5.1.3", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/browserify-sign": { + "version": "4.2.1", + "dev": true, + "license": "ISC", + "optional": true, + "dependencies": { + "bn.js": "^5.1.1", + "browserify-rsa": "^4.0.1", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "elliptic": "^6.5.3", + "inherits": "^2.0.4", + "parse-asn1": "^5.1.5", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + } + }, + "node_modules/ganache-core/node_modules/browserify-sign/node_modules/bn.js": { + "version": "5.1.3", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/browserify-sign/node_modules/readable-stream": { + "version": "3.6.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/ganache-core/node_modules/browserslist": { + "version": "3.2.8", + "dev": true, + "license": "MIT", + "dependencies": { + "caniuse-lite": "^1.0.30000844", + "electron-to-chromium": "^1.3.47" + }, + "bin": { + "browserslist": "cli.js" + } + }, + "node_modules/ganache-core/node_modules/bs58": { + "version": "4.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "base-x": "^3.0.2" + } + }, + "node_modules/ganache-core/node_modules/bs58check": { + "version": "2.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "bs58": "^4.0.0", + "create-hash": "^1.1.0", + "safe-buffer": "^5.1.2" + } + }, + "node_modules/ganache-core/node_modules/buffer": { + "version": "5.7.1", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "node_modules/ganache-core/node_modules/buffer-from": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/buffer-to-arraybuffer": { + "version": "0.0.5", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/buffer-xor": { + "version": "1.0.3", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/bufferutil": { + "version": "4.0.3", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.2.0" + } + }, + "node_modules/ganache-core/node_modules/bytes": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/ganache-core/node_modules/bytewise": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "bytewise-core": "^1.2.2", + "typewise": "^1.0.3" + } + }, + "node_modules/ganache-core/node_modules/bytewise-core": { + "version": "1.2.3", + "dev": true, + "license": "MIT", + "dependencies": { + "typewise-core": "^1.2" + } + }, + "node_modules/ganache-core/node_modules/cache-base": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "collection-visit": "^1.0.0", + "component-emitter": "^1.2.1", + "get-value": "^2.0.6", + "has-value": "^1.0.0", + "isobject": "^3.0.1", + "set-value": "^2.0.0", + "to-object-path": "^0.3.0", + "union-value": "^1.0.0", + "unset-value": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/cacheable-request": { + "version": "6.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "clone-response": "^1.0.2", + "get-stream": "^5.1.0", + "http-cache-semantics": "^4.0.0", + "keyv": "^3.0.0", + "lowercase-keys": "^2.0.0", + "normalize-url": "^4.1.0", + "responselike": "^1.0.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/ganache-core/node_modules/cacheable-request/node_modules/lowercase-keys": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/ganache-core/node_modules/cachedown": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "abstract-leveldown": "^2.4.1", + "lru-cache": "^3.2.0" + } + }, + "node_modules/ganache-core/node_modules/cachedown/node_modules/abstract-leveldown": { + "version": "2.7.2", + "dev": true, + "license": "MIT", + "dependencies": { + "xtend": "~4.0.0" + } + }, + "node_modules/ganache-core/node_modules/cachedown/node_modules/lru-cache": { + "version": "3.2.0", + "dev": true, + "license": "ISC", + "dependencies": { + "pseudomap": "^1.0.1" + } + }, + "node_modules/ganache-core/node_modules/call-bind": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/ganache-core/node_modules/caniuse-lite": { + "version": "1.0.30001174", + "dev": true, + "license": "CC-BY-4.0" + }, + "node_modules/ganache-core/node_modules/caseless": { + "version": "0.12.0", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/ganache-core/node_modules/chalk": { + "version": "2.4.2", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/ganache-core/node_modules/checkpoint-store": { + "version": "1.1.0", + "dev": true, + "license": "ISC", + "dependencies": { + "functional-red-black-tree": "^1.0.1" + } + }, + "node_modules/ganache-core/node_modules/chownr": { + "version": "1.1.4", + "dev": true, + "license": "ISC", + "optional": true + }, + "node_modules/ganache-core/node_modules/ci-info": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/cids": { + "version": "0.7.5", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "buffer": "^5.5.0", + "class-is": "^1.1.0", + "multibase": "~0.6.0", + "multicodec": "^1.0.0", + "multihashes": "~0.4.15" + }, + "engines": { + "node": ">=4.0.0", + "npm": ">=3.0.0" + } + }, + "node_modules/ganache-core/node_modules/cids/node_modules/multicodec": { + "version": "1.0.4", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "buffer": "^5.6.0", + "varint": "^5.0.0" + } + }, + "node_modules/ganache-core/node_modules/cipher-base": { + "version": "1.0.4", + "dev": true, + "license": "MIT", + "dependencies": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/ganache-core/node_modules/class-is": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/class-utils": { + "version": "0.3.6", + "dev": true, + "license": "MIT", + "dependencies": { + "arr-union": "^3.1.0", + "define-property": "^0.2.5", + "isobject": "^3.0.0", + "static-extend": "^0.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/class-utils/node_modules/define-property": { + "version": "0.2.5", + "dev": true, + "license": "MIT", + "dependencies": { + "is-descriptor": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/class-utils/node_modules/is-accessor-descriptor": { + "version": "0.1.6", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/class-utils/node_modules/is-accessor-descriptor/node_modules/kind-of": { + "version": "3.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/class-utils/node_modules/is-buffer": { + "version": "1.1.6", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/class-utils/node_modules/is-data-descriptor": { + "version": "0.1.4", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/class-utils/node_modules/is-data-descriptor/node_modules/kind-of": { + "version": "3.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/class-utils/node_modules/is-descriptor": { + "version": "0.1.6", + "dev": true, + "license": "MIT", + "dependencies": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/class-utils/node_modules/kind-of": { + "version": "5.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/clone": { + "version": "2.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "node_modules/ganache-core/node_modules/clone-response": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "mimic-response": "^1.0.0" + } + }, + "node_modules/ganache-core/node_modules/collection-visit": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "map-visit": "^1.0.0", + "object-visit": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/color-convert": { + "version": "1.9.3", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/ganache-core/node_modules/color-name": { + "version": "1.1.3", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/combined-stream": { + "version": "1.0.8", + "dev": true, + "license": "MIT", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/ganache-core/node_modules/component-emitter": { + "version": "1.3.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/concat-map": { + "version": "0.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/concat-stream": { + "version": "1.6.2", + "dev": true, + "engines": [ + "node >= 0.8" + ], + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + } + }, + "node_modules/ganache-core/node_modules/content-disposition": { + "version": "0.5.3", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "safe-buffer": "5.1.2" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/ganache-core/node_modules/content-disposition/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/content-hash": { + "version": "2.5.2", + "dev": true, + "license": "ISC", + "optional": true, + "dependencies": { + "cids": "^0.7.1", + "multicodec": "^0.5.5", + "multihashes": "^0.4.15" + } + }, + "node_modules/ganache-core/node_modules/content-type": { + "version": "1.0.4", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/ganache-core/node_modules/convert-source-map": { + "version": "1.7.0", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.1" + } + }, + "node_modules/ganache-core/node_modules/convert-source-map/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/cookie": { + "version": "0.4.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/ganache-core/node_modules/cookie-signature": { + "version": "1.0.6", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/cookiejar": { + "version": "2.1.2", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/copy-descriptor": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/core-js": { + "version": "2.6.12", + "dev": true, + "hasInstallScript": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/core-js-pure": { + "version": "3.8.2", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + } + }, + "node_modules/ganache-core/node_modules/core-util-is": { + "version": "1.0.2", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/cors": { + "version": "2.8.5", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "object-assign": "^4", + "vary": "^1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/ganache-core/node_modules/create-ecdh": { + "version": "4.0.4", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "bn.js": "^4.1.0", + "elliptic": "^6.5.3" + } + }, + "node_modules/ganache-core/node_modules/create-hash": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "cipher-base": "^1.0.1", + "inherits": "^2.0.1", + "md5.js": "^1.3.4", + "ripemd160": "^2.0.1", + "sha.js": "^2.4.0" + } + }, + "node_modules/ganache-core/node_modules/create-hmac": { + "version": "1.1.7", + "dev": true, + "license": "MIT", + "dependencies": { + "cipher-base": "^1.0.3", + "create-hash": "^1.1.0", + "inherits": "^2.0.1", + "ripemd160": "^2.0.0", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, + "node_modules/ganache-core/node_modules/cross-fetch": { + "version": "2.2.3", + "dev": true, + "license": "MIT", + "dependencies": { + "node-fetch": "2.1.2", + "whatwg-fetch": "2.0.4" + } + }, + "node_modules/ganache-core/node_modules/crypto-browserify": { + "version": "3.12.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "browserify-cipher": "^1.0.0", + "browserify-sign": "^4.0.0", + "create-ecdh": "^4.0.0", + "create-hash": "^1.1.0", + "create-hmac": "^1.1.0", + "diffie-hellman": "^5.0.0", + "inherits": "^2.0.1", + "pbkdf2": "^3.0.3", + "public-encrypt": "^4.0.0", + "randombytes": "^2.0.0", + "randomfill": "^1.0.3" + }, + "engines": { + "node": "*" + } + }, + "node_modules/ganache-core/node_modules/d": { + "version": "1.0.1", + "dev": true, + "license": "ISC", + "dependencies": { + "es5-ext": "^0.10.50", + "type": "^1.0.1" + } + }, + "node_modules/ganache-core/node_modules/dashdash": { + "version": "1.14.1", + "dev": true, + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/ganache-core/node_modules/debug": { + "version": "3.2.6", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/ganache-core/node_modules/decode-uri-component": { + "version": "0.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "node_modules/ganache-core/node_modules/decompress-response": { + "version": "3.3.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "mimic-response": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/ganache-core/node_modules/deep-equal": { + "version": "1.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-arguments": "^1.0.4", + "is-date-object": "^1.0.1", + "is-regex": "^1.0.4", + "object-is": "^1.0.1", + "object-keys": "^1.1.1", + "regexp.prototype.flags": "^1.2.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/ganache-core/node_modules/defer-to-connect": { + "version": "1.1.3", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/deferred-leveldown": { + "version": "4.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "abstract-leveldown": "~5.0.0", + "inherits": "^2.0.3" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/ganache-core/node_modules/deferred-leveldown/node_modules/abstract-leveldown": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "xtend": "~4.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/ganache-core/node_modules/define-properties": { + "version": "1.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "object-keys": "^1.0.12" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/ganache-core/node_modules/define-property": { + "version": "2.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/defined": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/delayed-stream": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/ganache-core/node_modules/depd": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/ganache-core/node_modules/des.js": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0" + } + }, + "node_modules/ganache-core/node_modules/destroy": { + "version": "1.0.4", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/detect-indent": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "repeating": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/diffie-hellman": { + "version": "5.0.3", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "bn.js": "^4.1.0", + "miller-rabin": "^4.0.0", + "randombytes": "^2.0.0" + } + }, + "node_modules/ganache-core/node_modules/dom-walk": { + "version": "0.1.2", + "dev": true + }, + "node_modules/ganache-core/node_modules/dotignore": { + "version": "0.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "minimatch": "^3.0.4" + }, + "bin": { + "ignored": "bin/ignored" + } + }, + "node_modules/ganache-core/node_modules/duplexer3": { + "version": "0.1.4", + "dev": true, + "license": "BSD-3-Clause", + "optional": true + }, + "node_modules/ganache-core/node_modules/ecc-jsbn": { + "version": "0.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "node_modules/ganache-core/node_modules/ee-first": { + "version": "1.1.1", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/electron-to-chromium": { + "version": "1.3.636", + "dev": true, + "license": "ISC" + }, + "node_modules/ganache-core/node_modules/elliptic": { + "version": "6.5.3", + "dev": true, + "license": "MIT", + "dependencies": { + "bn.js": "^4.4.0", + "brorand": "^1.0.1", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.0" + } + }, + "node_modules/ganache-core/node_modules/encodeurl": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/ganache-core/node_modules/encoding": { + "version": "0.1.13", + "dev": true, + "license": "MIT", + "dependencies": { + "iconv-lite": "^0.6.2" + } + }, + "node_modules/ganache-core/node_modules/encoding-down": { + "version": "5.0.4", + "dev": true, + "license": "MIT", + "dependencies": { + "abstract-leveldown": "^5.0.0", + "inherits": "^2.0.3", + "level-codec": "^9.0.0", + "level-errors": "^2.0.0", + "xtend": "^4.0.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/ganache-core/node_modules/encoding-down/node_modules/abstract-leveldown": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "xtend": "~4.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/ganache-core/node_modules/encoding/node_modules/iconv-lite": { + "version": "0.6.2", + "dev": true, + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/end-of-stream": { + "version": "1.4.4", + "dev": true, + "license": "MIT", + "dependencies": { + "once": "^1.4.0" + } + }, + "node_modules/ganache-core/node_modules/errno": { + "version": "0.1.8", + "dev": true, + "license": "MIT", + "dependencies": { + "prr": "~1.0.1" + }, + "bin": { + "errno": "cli.js" + } + }, + "node_modules/ganache-core/node_modules/es-abstract": { + "version": "1.18.0-next.1", + "dev": true, + "license": "MIT", + "dependencies": { + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1", + "is-callable": "^1.2.2", + "is-negative-zero": "^2.0.0", + "is-regex": "^1.1.1", + "object-inspect": "^1.8.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.1", + "string.prototype.trimend": "^1.0.1", + "string.prototype.trimstart": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/ganache-core/node_modules/es-to-primitive": { + "version": "1.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/ganache-core/node_modules/es5-ext": { + "version": "0.10.53", + "dev": true, + "license": "ISC", + "dependencies": { + "es6-iterator": "~2.0.3", + "es6-symbol": "~3.1.3", + "next-tick": "~1.0.0" + } + }, + "node_modules/ganache-core/node_modules/es6-iterator": { + "version": "2.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "node_modules/ganache-core/node_modules/es6-symbol": { + "version": "3.1.3", + "dev": true, + "license": "ISC", + "dependencies": { + "d": "^1.0.1", + "ext": "^1.1.2" + } + }, + "node_modules/ganache-core/node_modules/escape-html": { + "version": "1.0.3", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/escape-string-regexp": { + "version": "1.0.5", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/ganache-core/node_modules/esutils": { + "version": "2.0.3", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/etag": { + "version": "1.8.1", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/ganache-core/node_modules/eth-block-tracker": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "eth-query": "^2.1.0", + "ethereumjs-tx": "^1.3.3", + "ethereumjs-util": "^5.1.3", + "ethjs-util": "^0.1.3", + "json-rpc-engine": "^3.6.0", + "pify": "^2.3.0", + "tape": "^4.6.3" + } + }, + "node_modules/ganache-core/node_modules/eth-block-tracker/node_modules/ethereumjs-tx": { + "version": "1.3.7", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "ethereum-common": "^0.0.18", + "ethereumjs-util": "^5.0.0" + } + }, + "node_modules/ganache-core/node_modules/eth-block-tracker/node_modules/ethereumjs-util": { + "version": "5.2.1", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "^0.1.3", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1" + } + }, + "node_modules/ganache-core/node_modules/eth-block-tracker/node_modules/pify": { + "version": "2.3.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/eth-ens-namehash": { + "version": "2.0.8", + "dev": true, + "license": "ISC", + "optional": true, + "dependencies": { + "idna-uts46-hx": "^2.3.1", + "js-sha3": "^0.5.7" + } + }, + "node_modules/ganache-core/node_modules/eth-json-rpc-infura": { + "version": "3.2.1", + "dev": true, + "license": "ISC", + "dependencies": { + "cross-fetch": "^2.1.1", + "eth-json-rpc-middleware": "^1.5.0", + "json-rpc-engine": "^3.4.0", + "json-rpc-error": "^2.0.0" + } + }, + "node_modules/ganache-core/node_modules/eth-json-rpc-middleware": { + "version": "1.6.0", + "dev": true, + "license": "ISC", + "dependencies": { + "async": "^2.5.0", + "eth-query": "^2.1.2", + "eth-tx-summary": "^3.1.2", + "ethereumjs-block": "^1.6.0", + "ethereumjs-tx": "^1.3.3", + "ethereumjs-util": "^5.1.2", + "ethereumjs-vm": "^2.1.0", + "fetch-ponyfill": "^4.0.0", + "json-rpc-engine": "^3.6.0", + "json-rpc-error": "^2.0.0", + "json-stable-stringify": "^1.0.1", + "promise-to-callback": "^1.0.0", + "tape": "^4.6.3" + } + }, + "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/abstract-leveldown": { + "version": "2.6.3", + "dev": true, + "license": "MIT", + "dependencies": { + "xtend": "~4.0.0" + } + }, + "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/deferred-leveldown": { + "version": "1.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "abstract-leveldown": "~2.6.0" + } + }, + "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/ethereumjs-account": { + "version": "2.0.5", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "ethereumjs-util": "^5.0.0", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1" + } + }, + "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/ethereumjs-block": { + "version": "1.7.1", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "async": "^2.0.1", + "ethereum-common": "0.2.0", + "ethereumjs-tx": "^1.2.2", + "ethereumjs-util": "^5.0.0", + "merkle-patricia-tree": "^2.1.2" + } + }, + "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/ethereumjs-block/node_modules/ethereum-common": { + "version": "0.2.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/ethereumjs-tx": { + "version": "1.3.7", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "ethereum-common": "^0.0.18", + "ethereumjs-util": "^5.0.0" + } + }, + "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/ethereumjs-util": { + "version": "5.2.1", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "^0.1.3", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1" + } + }, + "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/ethereumjs-vm": { + "version": "2.6.0", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "async": "^2.1.2", + "async-eventemitter": "^0.2.2", + "ethereumjs-account": "^2.0.3", + "ethereumjs-block": "~2.2.0", + "ethereumjs-common": "^1.1.0", + "ethereumjs-util": "^6.0.0", + "fake-merkle-patricia-tree": "^1.0.1", + "functional-red-black-tree": "^1.0.1", + "merkle-patricia-tree": "^2.3.2", + "rustbn.js": "~0.2.0", + "safe-buffer": "^5.1.1" + } + }, + "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/ethereumjs-vm/node_modules/ethereumjs-block": { + "version": "2.2.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "async": "^2.0.1", + "ethereumjs-common": "^1.5.0", + "ethereumjs-tx": "^2.1.1", + "ethereumjs-util": "^5.0.0", + "merkle-patricia-tree": "^2.1.2" + } + }, + "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/ethereumjs-vm/node_modules/ethereumjs-block/node_modules/ethereumjs-util": { + "version": "5.2.1", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "^0.1.3", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1" + } + }, + "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/ethereumjs-vm/node_modules/ethereumjs-tx": { + "version": "2.1.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "ethereumjs-common": "^1.5.0", + "ethereumjs-util": "^6.0.0" + } + }, + "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/ethereumjs-vm/node_modules/ethereumjs-util": { + "version": "6.2.1", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^4.11.3", + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "0.1.6", + "rlp": "^2.2.3" + } + }, + "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/isarray": { + "version": "0.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/level-codec": { + "version": "7.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/level-errors": { + "version": "1.0.5", + "dev": true, + "license": "MIT", + "dependencies": { + "errno": "~0.1.1" + } + }, + "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/level-iterator-stream": { + "version": "1.3.1", + "dev": true, + "license": "MIT", + "dependencies": { + "inherits": "^2.0.1", + "level-errors": "^1.0.3", + "readable-stream": "^1.0.33", + "xtend": "^4.0.0" + } + }, + "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/level-iterator-stream/node_modules/readable-stream": { + "version": "1.1.14", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/level-ws": { + "version": "0.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "readable-stream": "~1.0.15", + "xtend": "~2.1.1" + } + }, + "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/level-ws/node_modules/readable-stream": { + "version": "1.0.34", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/level-ws/node_modules/xtend": { + "version": "2.1.2", + "dev": true, + "dependencies": { + "object-keys": "~0.4.0" + }, + "engines": { + "node": ">=0.4" + } + }, + "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/levelup": { + "version": "1.3.9", + "dev": true, + "license": "MIT", + "dependencies": { + "deferred-leveldown": "~1.2.1", + "level-codec": "~7.0.0", + "level-errors": "~1.0.3", + "level-iterator-stream": "~1.3.0", + "prr": "~1.0.1", + "semver": "~5.4.1", + "xtend": "~4.0.0" + } + }, + "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/ltgt": { + "version": "2.2.1", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/memdown": { + "version": "1.4.1", + "dev": true, + "license": "MIT", + "dependencies": { + "abstract-leveldown": "~2.7.1", + "functional-red-black-tree": "^1.0.1", + "immediate": "^3.2.3", + "inherits": "~2.0.1", + "ltgt": "~2.2.0", + "safe-buffer": "~5.1.1" + } + }, + "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/memdown/node_modules/abstract-leveldown": { + "version": "2.7.2", + "dev": true, + "license": "MIT", + "dependencies": { + "xtend": "~4.0.0" + } + }, + "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/merkle-patricia-tree": { + "version": "2.3.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "async": "^1.4.2", + "ethereumjs-util": "^5.0.0", + "level-ws": "0.0.0", + "levelup": "^1.2.1", + "memdown": "^1.0.0", + "readable-stream": "^2.0.0", + "rlp": "^2.0.0", + "semaphore": ">=1.0.1" + } + }, + "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/merkle-patricia-tree/node_modules/async": { + "version": "1.5.2", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/object-keys": { + "version": "0.4.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/semver": { + "version": "5.4.1", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/ganache-core/node_modules/eth-json-rpc-middleware/node_modules/string_decoder": { + "version": "0.10.31", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/eth-lib": { + "version": "0.1.29", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "nano-json-stream-parser": "^0.1.2", + "servify": "^0.1.12", + "ws": "^3.0.0", + "xhr-request-promise": "^0.1.2" + } + }, + "node_modules/ganache-core/node_modules/eth-query": { + "version": "2.1.2", + "dev": true, + "license": "ISC", + "dependencies": { + "json-rpc-random-id": "^1.0.0", + "xtend": "^4.0.1" + } + }, + "node_modules/ganache-core/node_modules/eth-sig-util": { + "version": "3.0.0", + "dev": true, + "license": "ISC", + "dependencies": { + "buffer": "^5.2.1", + "elliptic": "^6.4.0", + "ethereumjs-abi": "0.6.5", + "ethereumjs-util": "^5.1.1", + "tweetnacl": "^1.0.0", + "tweetnacl-util": "^0.15.0" + } + }, + "node_modules/ganache-core/node_modules/eth-sig-util/node_modules/ethereumjs-abi": { + "version": "0.6.5", + "dev": true, + "license": "MIT", + "dependencies": { + "bn.js": "^4.10.0", + "ethereumjs-util": "^4.3.0" + } + }, + "node_modules/ganache-core/node_modules/eth-sig-util/node_modules/ethereumjs-abi/node_modules/ethereumjs-util": { + "version": "4.5.1", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^4.8.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.0.0" + } + }, + "node_modules/ganache-core/node_modules/eth-sig-util/node_modules/ethereumjs-util": { + "version": "5.2.1", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "^0.1.3", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1" + } + }, + "node_modules/ganache-core/node_modules/eth-tx-summary": { + "version": "3.2.4", + "dev": true, + "license": "ISC", + "dependencies": { + "async": "^2.1.2", + "clone": "^2.0.0", + "concat-stream": "^1.5.1", + "end-of-stream": "^1.1.0", + "eth-query": "^2.0.2", + "ethereumjs-block": "^1.4.1", + "ethereumjs-tx": "^1.1.1", + "ethereumjs-util": "^5.0.1", + "ethereumjs-vm": "^2.6.0", + "through2": "^2.0.3" + } + }, + "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/abstract-leveldown": { + "version": "2.6.3", + "dev": true, + "license": "MIT", + "dependencies": { + "xtend": "~4.0.0" + } + }, + "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/deferred-leveldown": { + "version": "1.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "abstract-leveldown": "~2.6.0" + } + }, + "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/ethereumjs-account": { + "version": "2.0.5", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "ethereumjs-util": "^5.0.0", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1" + } + }, + "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/ethereumjs-block": { + "version": "1.7.1", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "async": "^2.0.1", + "ethereum-common": "0.2.0", + "ethereumjs-tx": "^1.2.2", + "ethereumjs-util": "^5.0.0", + "merkle-patricia-tree": "^2.1.2" + } + }, + "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/ethereumjs-block/node_modules/ethereum-common": { + "version": "0.2.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/ethereumjs-tx": { + "version": "1.3.7", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "ethereum-common": "^0.0.18", + "ethereumjs-util": "^5.0.0" + } + }, + "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/ethereumjs-util": { + "version": "5.2.1", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "^0.1.3", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1" + } + }, + "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/ethereumjs-vm": { + "version": "2.6.0", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "async": "^2.1.2", + "async-eventemitter": "^0.2.2", + "ethereumjs-account": "^2.0.3", + "ethereumjs-block": "~2.2.0", + "ethereumjs-common": "^1.1.0", + "ethereumjs-util": "^6.0.0", + "fake-merkle-patricia-tree": "^1.0.1", + "functional-red-black-tree": "^1.0.1", + "merkle-patricia-tree": "^2.3.2", + "rustbn.js": "~0.2.0", + "safe-buffer": "^5.1.1" + } + }, + "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/ethereumjs-vm/node_modules/ethereumjs-block": { + "version": "2.2.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "async": "^2.0.1", + "ethereumjs-common": "^1.5.0", + "ethereumjs-tx": "^2.1.1", + "ethereumjs-util": "^5.0.0", + "merkle-patricia-tree": "^2.1.2" + } + }, + "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/ethereumjs-vm/node_modules/ethereumjs-block/node_modules/ethereumjs-util": { + "version": "5.2.1", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "^0.1.3", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1" + } + }, + "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/ethereumjs-vm/node_modules/ethereumjs-tx": { + "version": "2.1.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "ethereumjs-common": "^1.5.0", + "ethereumjs-util": "^6.0.0" + } + }, + "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/ethereumjs-vm/node_modules/ethereumjs-util": { + "version": "6.2.1", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^4.11.3", + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "0.1.6", + "rlp": "^2.2.3" + } + }, + "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/isarray": { + "version": "0.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/level-codec": { + "version": "7.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/level-errors": { + "version": "1.0.5", + "dev": true, + "license": "MIT", + "dependencies": { + "errno": "~0.1.1" + } + }, + "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/level-iterator-stream": { + "version": "1.3.1", + "dev": true, + "license": "MIT", + "dependencies": { + "inherits": "^2.0.1", + "level-errors": "^1.0.3", + "readable-stream": "^1.0.33", + "xtend": "^4.0.0" + } + }, + "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/level-iterator-stream/node_modules/readable-stream": { + "version": "1.1.14", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/level-ws": { + "version": "0.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "readable-stream": "~1.0.15", + "xtend": "~2.1.1" + } + }, + "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/level-ws/node_modules/readable-stream": { + "version": "1.0.34", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/level-ws/node_modules/xtend": { + "version": "2.1.2", + "dev": true, + "dependencies": { + "object-keys": "~0.4.0" + }, + "engines": { + "node": ">=0.4" + } + }, + "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/levelup": { + "version": "1.3.9", + "dev": true, + "license": "MIT", + "dependencies": { + "deferred-leveldown": "~1.2.1", + "level-codec": "~7.0.0", + "level-errors": "~1.0.3", + "level-iterator-stream": "~1.3.0", + "prr": "~1.0.1", + "semver": "~5.4.1", + "xtend": "~4.0.0" + } + }, + "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/ltgt": { + "version": "2.2.1", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/memdown": { + "version": "1.4.1", + "dev": true, + "license": "MIT", + "dependencies": { + "abstract-leveldown": "~2.7.1", + "functional-red-black-tree": "^1.0.1", + "immediate": "^3.2.3", + "inherits": "~2.0.1", + "ltgt": "~2.2.0", + "safe-buffer": "~5.1.1" + } + }, + "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/memdown/node_modules/abstract-leveldown": { + "version": "2.7.2", + "dev": true, + "license": "MIT", + "dependencies": { + "xtend": "~4.0.0" + } + }, + "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/merkle-patricia-tree": { + "version": "2.3.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "async": "^1.4.2", + "ethereumjs-util": "^5.0.0", + "level-ws": "0.0.0", + "levelup": "^1.2.1", + "memdown": "^1.0.0", + "readable-stream": "^2.0.0", + "rlp": "^2.0.0", + "semaphore": ">=1.0.1" + } + }, + "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/merkle-patricia-tree/node_modules/async": { + "version": "1.5.2", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/object-keys": { + "version": "0.4.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/semver": { + "version": "5.4.1", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/ganache-core/node_modules/eth-tx-summary/node_modules/string_decoder": { + "version": "0.10.31", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/ethashjs": { + "version": "0.0.8", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "async": "^2.1.2", + "buffer-xor": "^2.0.1", + "ethereumjs-util": "^7.0.2", + "miller-rabin": "^4.0.0" + } + }, + "node_modules/ganache-core/node_modules/ethashjs/node_modules/bn.js": { + "version": "5.1.3", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/ethashjs/node_modules/buffer-xor": { + "version": "2.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.1.1" + } + }, + "node_modules/ganache-core/node_modules/ethashjs/node_modules/ethereumjs-util": { + "version": "7.0.7", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^4.11.3", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "0.1.6", + "rlp": "^2.2.4" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/ganache-core/node_modules/ethereum-bloom-filters": { + "version": "1.0.7", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "js-sha3": "^0.8.0" + } + }, + "node_modules/ganache-core/node_modules/ethereum-bloom-filters/node_modules/js-sha3": { + "version": "0.8.0", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/ethereum-common": { + "version": "0.0.18", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/ethereum-cryptography": { + "version": "0.1.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/pbkdf2": "^3.0.0", + "@types/secp256k1": "^4.0.1", + "blakejs": "^1.1.0", + "browserify-aes": "^1.2.0", + "bs58check": "^2.1.2", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "hash.js": "^1.1.7", + "keccak": "^3.0.0", + "pbkdf2": "^3.0.17", + "randombytes": "^2.1.0", + "safe-buffer": "^5.1.2", + "scrypt-js": "^3.0.0", + "secp256k1": "^4.0.1", + "setimmediate": "^1.0.5" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-abi": { + "version": "0.6.8", + "dev": true, + "license": "MIT", + "dependencies": { + "bn.js": "^4.11.8", + "ethereumjs-util": "^6.0.0" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-account": { + "version": "3.0.0", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "ethereumjs-util": "^6.0.0", + "rlp": "^2.2.1", + "safe-buffer": "^5.1.1" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-block": { + "version": "2.2.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "async": "^2.0.1", + "ethereumjs-common": "^1.5.0", + "ethereumjs-tx": "^2.1.1", + "ethereumjs-util": "^5.0.0", + "merkle-patricia-tree": "^2.1.2" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-block/node_modules/abstract-leveldown": { + "version": "2.6.3", + "dev": true, + "license": "MIT", + "dependencies": { + "xtend": "~4.0.0" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-block/node_modules/deferred-leveldown": { + "version": "1.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "abstract-leveldown": "~2.6.0" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-block/node_modules/ethereumjs-util": { + "version": "5.2.1", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "^0.1.3", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-block/node_modules/isarray": { + "version": "0.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/ethereumjs-block/node_modules/level-codec": { + "version": "7.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/ethereumjs-block/node_modules/level-errors": { + "version": "1.0.5", + "dev": true, + "license": "MIT", + "dependencies": { + "errno": "~0.1.1" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-block/node_modules/level-iterator-stream": { + "version": "1.3.1", + "dev": true, + "license": "MIT", + "dependencies": { + "inherits": "^2.0.1", + "level-errors": "^1.0.3", + "readable-stream": "^1.0.33", + "xtend": "^4.0.0" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-block/node_modules/level-iterator-stream/node_modules/readable-stream": { + "version": "1.1.14", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-block/node_modules/level-ws": { + "version": "0.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "readable-stream": "~1.0.15", + "xtend": "~2.1.1" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-block/node_modules/level-ws/node_modules/readable-stream": { + "version": "1.0.34", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-block/node_modules/level-ws/node_modules/xtend": { + "version": "2.1.2", + "dev": true, + "dependencies": { + "object-keys": "~0.4.0" + }, + "engines": { + "node": ">=0.4" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-block/node_modules/levelup": { + "version": "1.3.9", + "dev": true, + "license": "MIT", + "dependencies": { + "deferred-leveldown": "~1.2.1", + "level-codec": "~7.0.0", + "level-errors": "~1.0.3", + "level-iterator-stream": "~1.3.0", + "prr": "~1.0.1", + "semver": "~5.4.1", + "xtend": "~4.0.0" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-block/node_modules/ltgt": { + "version": "2.2.1", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/ethereumjs-block/node_modules/memdown": { + "version": "1.4.1", + "dev": true, + "license": "MIT", + "dependencies": { + "abstract-leveldown": "~2.7.1", + "functional-red-black-tree": "^1.0.1", + "immediate": "^3.2.3", + "inherits": "~2.0.1", + "ltgt": "~2.2.0", + "safe-buffer": "~5.1.1" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-block/node_modules/memdown/node_modules/abstract-leveldown": { + "version": "2.7.2", + "dev": true, + "license": "MIT", + "dependencies": { + "xtend": "~4.0.0" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-block/node_modules/merkle-patricia-tree": { + "version": "2.3.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "async": "^1.4.2", + "ethereumjs-util": "^5.0.0", + "level-ws": "0.0.0", + "levelup": "^1.2.1", + "memdown": "^1.0.0", + "readable-stream": "^2.0.0", + "rlp": "^2.0.0", + "semaphore": ">=1.0.1" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-block/node_modules/merkle-patricia-tree/node_modules/async": { + "version": "1.5.2", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/ethereumjs-block/node_modules/object-keys": { + "version": "0.4.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/ethereumjs-block/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/ethereumjs-block/node_modules/semver": { + "version": "5.4.1", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-block/node_modules/string_decoder": { + "version": "0.10.31", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/ethereumjs-blockchain": { + "version": "4.0.4", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "async": "^2.6.1", + "ethashjs": "~0.0.7", + "ethereumjs-block": "~2.2.2", + "ethereumjs-common": "^1.5.0", + "ethereumjs-util": "^6.1.0", + "flow-stoplight": "^1.0.0", + "level-mem": "^3.0.1", + "lru-cache": "^5.1.1", + "rlp": "^2.2.2", + "semaphore": "^1.1.0" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-common": { + "version": "1.5.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/ethereumjs-tx": { + "version": "2.1.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "ethereumjs-common": "^1.5.0", + "ethereumjs-util": "^6.0.0" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-util": { + "version": "6.2.1", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^4.11.3", + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "0.1.6", + "rlp": "^2.2.3" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-vm": { + "version": "4.2.0", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "async": "^2.1.2", + "async-eventemitter": "^0.2.2", + "core-js-pure": "^3.0.1", + "ethereumjs-account": "^3.0.0", + "ethereumjs-block": "^2.2.2", + "ethereumjs-blockchain": "^4.0.3", + "ethereumjs-common": "^1.5.0", + "ethereumjs-tx": "^2.1.2", + "ethereumjs-util": "^6.2.0", + "fake-merkle-patricia-tree": "^1.0.1", + "functional-red-black-tree": "^1.0.1", + "merkle-patricia-tree": "^2.3.2", + "rustbn.js": "~0.2.0", + "safe-buffer": "^5.1.1", + "util.promisify": "^1.0.0" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-vm/node_modules/abstract-leveldown": { + "version": "2.6.3", + "dev": true, + "license": "MIT", + "dependencies": { + "xtend": "~4.0.0" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-vm/node_modules/deferred-leveldown": { + "version": "1.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "abstract-leveldown": "~2.6.0" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-vm/node_modules/isarray": { + "version": "0.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/ethereumjs-vm/node_modules/level-codec": { + "version": "7.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/ethereumjs-vm/node_modules/level-errors": { + "version": "1.0.5", + "dev": true, + "license": "MIT", + "dependencies": { + "errno": "~0.1.1" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-vm/node_modules/level-iterator-stream": { + "version": "1.3.1", + "dev": true, + "license": "MIT", + "dependencies": { + "inherits": "^2.0.1", + "level-errors": "^1.0.3", + "readable-stream": "^1.0.33", + "xtend": "^4.0.0" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-vm/node_modules/level-iterator-stream/node_modules/readable-stream": { + "version": "1.1.14", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-vm/node_modules/level-ws": { + "version": "0.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "readable-stream": "~1.0.15", + "xtend": "~2.1.1" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-vm/node_modules/level-ws/node_modules/readable-stream": { + "version": "1.0.34", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-vm/node_modules/level-ws/node_modules/xtend": { + "version": "2.1.2", + "dev": true, + "dependencies": { + "object-keys": "~0.4.0" + }, + "engines": { + "node": ">=0.4" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-vm/node_modules/levelup": { + "version": "1.3.9", + "dev": true, + "license": "MIT", + "dependencies": { + "deferred-leveldown": "~1.2.1", + "level-codec": "~7.0.0", + "level-errors": "~1.0.3", + "level-iterator-stream": "~1.3.0", + "prr": "~1.0.1", + "semver": "~5.4.1", + "xtend": "~4.0.0" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-vm/node_modules/ltgt": { + "version": "2.2.1", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/ethereumjs-vm/node_modules/memdown": { + "version": "1.4.1", + "dev": true, + "license": "MIT", + "dependencies": { + "abstract-leveldown": "~2.7.1", + "functional-red-black-tree": "^1.0.1", + "immediate": "^3.2.3", + "inherits": "~2.0.1", + "ltgt": "~2.2.0", + "safe-buffer": "~5.1.1" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-vm/node_modules/memdown/node_modules/abstract-leveldown": { + "version": "2.7.2", + "dev": true, + "license": "MIT", + "dependencies": { + "xtend": "~4.0.0" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-vm/node_modules/merkle-patricia-tree": { + "version": "2.3.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "async": "^1.4.2", + "ethereumjs-util": "^5.0.0", + "level-ws": "0.0.0", + "levelup": "^1.2.1", + "memdown": "^1.0.0", + "readable-stream": "^2.0.0", + "rlp": "^2.0.0", + "semaphore": ">=1.0.1" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-vm/node_modules/merkle-patricia-tree/node_modules/async": { + "version": "1.5.2", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/ethereumjs-vm/node_modules/merkle-patricia-tree/node_modules/ethereumjs-util": { + "version": "5.2.1", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "^0.1.3", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-vm/node_modules/object-keys": { + "version": "0.4.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/ethereumjs-vm/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/ethereumjs-vm/node_modules/semver": { + "version": "5.4.1", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/ganache-core/node_modules/ethereumjs-vm/node_modules/string_decoder": { + "version": "0.10.31", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/ethereumjs-wallet": { + "version": "0.6.5", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "aes-js": "^3.1.1", + "bs58check": "^2.1.2", + "ethereum-cryptography": "^0.1.3", + "ethereumjs-util": "^6.0.0", + "randombytes": "^2.0.6", + "safe-buffer": "^5.1.2", + "scryptsy": "^1.2.1", + "utf8": "^3.0.0", + "uuid": "^3.3.2" + } + }, + "node_modules/ganache-core/node_modules/ethjs-unit": { + "version": "0.1.6", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "bn.js": "4.11.6", + "number-to-bn": "1.7.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "node_modules/ganache-core/node_modules/ethjs-unit/node_modules/bn.js": { + "version": "4.11.6", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/ethjs-util": { + "version": "0.1.6", + "dev": true, + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "node_modules/ganache-core/node_modules/eventemitter3": { + "version": "4.0.4", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/events": { + "version": "3.2.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.x" + } + }, + "node_modules/ganache-core/node_modules/evp_bytestokey": { + "version": "1.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "md5.js": "^1.3.4", + "safe-buffer": "^5.1.1" + } + }, + "node_modules/ganache-core/node_modules/expand-brackets": { + "version": "2.1.4", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "^2.3.3", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "posix-character-classes": "^0.1.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/expand-brackets/node_modules/debug": { + "version": "2.6.9", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/ganache-core/node_modules/expand-brackets/node_modules/define-property": { + "version": "0.2.5", + "dev": true, + "license": "MIT", + "dependencies": { + "is-descriptor": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/expand-brackets/node_modules/extend-shallow": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/expand-brackets/node_modules/is-accessor-descriptor": { + "version": "0.1.6", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/expand-brackets/node_modules/is-accessor-descriptor/node_modules/kind-of": { + "version": "3.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/expand-brackets/node_modules/is-buffer": { + "version": "1.1.6", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/expand-brackets/node_modules/is-data-descriptor": { + "version": "0.1.4", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/expand-brackets/node_modules/is-data-descriptor/node_modules/kind-of": { + "version": "3.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/expand-brackets/node_modules/is-descriptor": { + "version": "0.1.6", + "dev": true, + "license": "MIT", + "dependencies": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/expand-brackets/node_modules/is-extendable": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/expand-brackets/node_modules/kind-of": { + "version": "5.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/expand-brackets/node_modules/ms": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/express": { + "version": "4.17.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "accepts": "~1.3.7", + "array-flatten": "1.1.1", + "body-parser": "1.19.0", + "content-disposition": "0.5.3", + "content-type": "~1.0.4", + "cookie": "0.4.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "~1.1.2", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "~1.1.2", + "fresh": "0.5.2", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.5", + "qs": "6.7.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.1.2", + "send": "0.17.1", + "serve-static": "1.14.1", + "setprototypeof": "1.1.1", + "statuses": "~1.5.0", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "node_modules/ganache-core/node_modules/express/node_modules/debug": { + "version": "2.6.9", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/ganache-core/node_modules/express/node_modules/ms": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/express/node_modules/qs": { + "version": "6.7.0", + "dev": true, + "license": "BSD-3-Clause", + "optional": true, + "engines": { + "node": ">=0.6" + } + }, + "node_modules/ganache-core/node_modules/express/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/ext": { + "version": "1.4.0", + "dev": true, + "license": "ISC", + "dependencies": { + "type": "^2.0.0" + } + }, + "node_modules/ganache-core/node_modules/ext/node_modules/type": { + "version": "2.1.0", + "dev": true, + "license": "ISC" + }, + "node_modules/ganache-core/node_modules/extend": { + "version": "3.0.2", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/extend-shallow": { + "version": "3.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/extglob": { + "version": "2.0.4", + "dev": true, + "license": "MIT", + "dependencies": { + "array-unique": "^0.3.2", + "define-property": "^1.0.0", + "expand-brackets": "^2.1.4", + "extend-shallow": "^2.0.1", + "fragment-cache": "^0.2.1", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/extglob/node_modules/define-property": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-descriptor": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/extglob/node_modules/extend-shallow": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/extglob/node_modules/is-extendable": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/extsprintf": { + "version": "1.3.0", + "dev": true, + "engines": [ + "node >=0.6.0" + ], + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/fake-merkle-patricia-tree": { + "version": "1.0.1", + "dev": true, + "license": "ISC", + "dependencies": { + "checkpoint-store": "^1.1.0" + } + }, + "node_modules/ganache-core/node_modules/fast-deep-equal": { + "version": "3.1.3", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/fetch-ponyfill": { + "version": "4.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "node-fetch": "~1.7.1" + } + }, + "node_modules/ganache-core/node_modules/fetch-ponyfill/node_modules/is-stream": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/fetch-ponyfill/node_modules/node-fetch": { + "version": "1.7.3", + "dev": true, + "license": "MIT", + "dependencies": { + "encoding": "^0.1.11", + "is-stream": "^1.0.1" + } + }, + "node_modules/ganache-core/node_modules/finalhandler": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "statuses": "~1.5.0", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/ganache-core/node_modules/finalhandler/node_modules/debug": { + "version": "2.6.9", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/ganache-core/node_modules/finalhandler/node_modules/ms": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/find-yarn-workspace-root": { + "version": "1.2.1", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "fs-extra": "^4.0.3", + "micromatch": "^3.1.4" + } + }, + "node_modules/ganache-core/node_modules/find-yarn-workspace-root/node_modules/braces": { + "version": "2.3.2", + "dev": true, + "license": "MIT", + "dependencies": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/find-yarn-workspace-root/node_modules/braces/node_modules/extend-shallow": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/find-yarn-workspace-root/node_modules/fill-range": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/find-yarn-workspace-root/node_modules/fill-range/node_modules/extend-shallow": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/find-yarn-workspace-root/node_modules/fs-extra": { + "version": "4.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "node_modules/ganache-core/node_modules/find-yarn-workspace-root/node_modules/is-buffer": { + "version": "1.1.6", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/find-yarn-workspace-root/node_modules/is-extendable": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/find-yarn-workspace-root/node_modules/is-number": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/find-yarn-workspace-root/node_modules/is-number/node_modules/kind-of": { + "version": "3.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/find-yarn-workspace-root/node_modules/micromatch": { + "version": "3.1.10", + "dev": true, + "license": "MIT", + "dependencies": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/find-yarn-workspace-root/node_modules/to-regex-range": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-number": "^3.0.0", + "repeat-string": "^1.6.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/flow-stoplight": { + "version": "1.0.0", + "dev": true, + "license": "ISC" + }, + "node_modules/ganache-core/node_modules/for-each": { + "version": "0.3.3", + "dev": true, + "license": "MIT", + "dependencies": { + "is-callable": "^1.1.3" + } + }, + "node_modules/ganache-core/node_modules/for-in": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/forever-agent": { + "version": "0.6.1", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "node_modules/ganache-core/node_modules/form-data": { + "version": "2.3.3", + "dev": true, + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "node_modules/ganache-core/node_modules/forwarded": { + "version": "0.1.2", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/ganache-core/node_modules/fragment-cache": { + "version": "0.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "map-cache": "^0.2.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/fresh": { + "version": "0.5.2", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/ganache-core/node_modules/fs-extra": { + "version": "7.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + }, + "engines": { + "node": ">=6 <7 || >=8" + } + }, + "node_modules/ganache-core/node_modules/fs.realpath": { + "version": "1.0.0", + "dev": true, + "license": "ISC" + }, + "node_modules/ganache-core/node_modules/function-bind": { + "version": "1.1.1", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/functional-red-black-tree": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/get-intrinsic": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/ganache-core/node_modules/get-stream": { + "version": "5.2.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ganache-core/node_modules/get-value": { + "version": "2.0.6", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/getpass": { + "version": "0.1.7", + "dev": true, + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "node_modules/ganache-core/node_modules/glob": { + "version": "7.1.3", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + } + }, + "node_modules/ganache-core/node_modules/global": { + "version": "4.4.0", + "dev": true, + "license": "MIT", + "dependencies": { + "min-document": "^2.19.0", + "process": "^0.11.10" + } + }, + "node_modules/ganache-core/node_modules/got": { + "version": "9.6.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@sindresorhus/is": "^0.14.0", + "@szmarczak/http-timer": "^1.1.2", + "cacheable-request": "^6.0.0", + "decompress-response": "^3.3.0", + "duplexer3": "^0.1.4", + "get-stream": "^4.1.0", + "lowercase-keys": "^1.0.1", + "mimic-response": "^1.0.1", + "p-cancelable": "^1.0.0", + "to-readable-stream": "^1.0.0", + "url-parse-lax": "^3.0.0" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/ganache-core/node_modules/got/node_modules/get-stream": { + "version": "4.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/ganache-core/node_modules/graceful-fs": { + "version": "4.2.4", + "dev": true, + "license": "ISC" + }, + "node_modules/ganache-core/node_modules/har-schema": { + "version": "2.0.0", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=4" + } + }, + "node_modules/ganache-core/node_modules/har-validator": { + "version": "5.1.5", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/ganache-core/node_modules/has": { + "version": "1.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/ganache-core/node_modules/has-ansi": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/has-ansi/node_modules/ansi-regex": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/has-flag": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/ganache-core/node_modules/has-symbol-support-x": { + "version": "1.4.2", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": "*" + } + }, + "node_modules/ganache-core/node_modules/has-symbols": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/ganache-core/node_modules/has-to-string-tag-x": { + "version": "1.4.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "has-symbol-support-x": "^1.4.1" + }, + "engines": { + "node": "*" + } + }, + "node_modules/ganache-core/node_modules/has-value": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "get-value": "^2.0.6", + "has-values": "^1.0.0", + "isobject": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/has-values": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-number": "^3.0.0", + "kind-of": "^4.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/has-values/node_modules/is-buffer": { + "version": "1.1.6", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/has-values/node_modules/is-number": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/has-values/node_modules/is-number/node_modules/kind-of": { + "version": "3.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/has-values/node_modules/kind-of": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/hash-base": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "inherits": "^2.0.4", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/ganache-core/node_modules/hash-base/node_modules/readable-stream": { + "version": "3.6.0", + "dev": true, + "license": "MIT", + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/ganache-core/node_modules/hash.js": { + "version": "1.1.7", + "dev": true, + "license": "MIT", + "dependencies": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.1" + } + }, + "node_modules/ganache-core/node_modules/heap": { + "version": "0.2.6", + "dev": true + }, + "node_modules/ganache-core/node_modules/hmac-drbg": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "hash.js": "^1.0.3", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "node_modules/ganache-core/node_modules/home-or-tmp": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "os-homedir": "^1.0.0", + "os-tmpdir": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/http-cache-semantics": { + "version": "4.1.0", + "dev": true, + "license": "BSD-2-Clause", + "optional": true + }, + "node_modules/ganache-core/node_modules/http-errors": { + "version": "1.7.2", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "depd": "~1.1.2", + "inherits": "2.0.3", + "setprototypeof": "1.1.1", + "statuses": ">= 1.5.0 < 2", + "toidentifier": "1.0.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/ganache-core/node_modules/http-errors/node_modules/inherits": { + "version": "2.0.3", + "dev": true, + "license": "ISC", + "optional": true + }, + "node_modules/ganache-core/node_modules/http-https": { + "version": "1.0.0", + "dev": true, + "license": "ISC", + "optional": true + }, + "node_modules/ganache-core/node_modules/http-signature": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, + "node_modules/ganache-core/node_modules/iconv-lite": { + "version": "0.4.24", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/idna-uts46-hx": { + "version": "2.3.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "punycode": "2.1.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/ganache-core/node_modules/idna-uts46-hx/node_modules/punycode": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/ganache-core/node_modules/ieee754": { + "version": "1.2.1", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "BSD-3-Clause" + }, + "node_modules/ganache-core/node_modules/immediate": { + "version": "3.2.3", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/inflight": { + "version": "1.0.6", + "dev": true, + "license": "ISC", + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/ganache-core/node_modules/inherits": { + "version": "2.0.4", + "dev": true, + "license": "ISC" + }, + "node_modules/ganache-core/node_modules/invariant": { + "version": "2.2.4", + "dev": true, + "license": "MIT", + "dependencies": { + "loose-envify": "^1.0.0" + } + }, + "node_modules/ganache-core/node_modules/ipaddr.js": { + "version": "1.9.1", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/ganache-core/node_modules/is-accessor-descriptor": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^6.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/is-arguments": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/ganache-core/node_modules/is-callable": { + "version": "1.2.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/ganache-core/node_modules/is-ci": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ci-info": "^2.0.0" + }, + "bin": { + "is-ci": "bin.js" + } + }, + "node_modules/ganache-core/node_modules/is-data-descriptor": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^6.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/is-date-object": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/ganache-core/node_modules/is-descriptor": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/is-extendable": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-plain-object": "^2.0.4" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/is-finite": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ganache-core/node_modules/is-fn": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/is-function": { + "version": "1.0.2", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/is-hex-prefixed": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "node_modules/ganache-core/node_modules/is-negative-zero": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/ganache-core/node_modules/is-object": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "optional": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/ganache-core/node_modules/is-plain-obj": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/is-plain-object": { + "version": "2.0.4", + "dev": true, + "license": "MIT", + "dependencies": { + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/is-regex": { + "version": "1.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "has-symbols": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/ganache-core/node_modules/is-retry-allowed": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/is-symbol": { + "version": "1.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "has-symbols": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/ganache-core/node_modules/is-typedarray": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/is-windows": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/isarray": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/isexe": { + "version": "2.0.0", + "dev": true, + "license": "ISC" + }, + "node_modules/ganache-core/node_modules/isobject": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/isstream": { + "version": "0.1.2", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/isurl": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "has-to-string-tag-x": "^1.2.0", + "is-object": "^1.0.1" + }, + "engines": { + "node": ">= 4" + } + }, + "node_modules/ganache-core/node_modules/js-sha3": { + "version": "0.5.7", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/js-tokens": { + "version": "4.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/jsbn": { + "version": "0.1.1", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/json-buffer": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/json-rpc-engine": { + "version": "3.8.0", + "dev": true, + "license": "ISC", + "dependencies": { + "async": "^2.0.1", + "babel-preset-env": "^1.7.0", + "babelify": "^7.3.0", + "json-rpc-error": "^2.0.0", + "promise-to-callback": "^1.0.0", + "safe-event-emitter": "^1.0.1" + } + }, + "node_modules/ganache-core/node_modules/json-rpc-error": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "inherits": "^2.0.1" + } + }, + "node_modules/ganache-core/node_modules/json-rpc-random-id": { + "version": "1.0.1", + "dev": true, + "license": "ISC" + }, + "node_modules/ganache-core/node_modules/json-schema": { + "version": "0.2.3", + "dev": true + }, + "node_modules/ganache-core/node_modules/json-schema-traverse": { + "version": "0.4.1", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/json-stable-stringify": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "jsonify": "~0.0.0" + } + }, + "node_modules/ganache-core/node_modules/json-stringify-safe": { + "version": "5.0.1", + "dev": true, + "license": "ISC" + }, + "node_modules/ganache-core/node_modules/jsonfile": { + "version": "4.0.0", + "dev": true, + "license": "MIT", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/ganache-core/node_modules/jsonify": { + "version": "0.0.0", + "dev": true, + "license": "Public Domain" + }, + "node_modules/ganache-core/node_modules/jsprim": { + "version": "1.4.1", + "dev": true, + "engines": [ + "node >=0.6.0" + ], + "license": "MIT", + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.2.3", + "verror": "1.10.0" + } + }, + "node_modules/ganache-core/node_modules/keccak": { + "version": "3.0.1", + "dev": true, + "hasInstallScript": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/ganache-core/node_modules/keyv": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "json-buffer": "3.0.0" + } + }, + "node_modules/ganache-core/node_modules/kind-of": { + "version": "6.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/klaw-sync": { + "version": "6.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.11" + } + }, + "node_modules/ganache-core/node_modules/level-codec": { + "version": "9.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer": "^5.6.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/ganache-core/node_modules/level-errors": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "errno": "~0.1.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/ganache-core/node_modules/level-iterator-stream": { + "version": "2.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "inherits": "^2.0.1", + "readable-stream": "^2.0.5", + "xtend": "^4.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/ganache-core/node_modules/level-mem": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "level-packager": "~4.0.0", + "memdown": "~3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/ganache-core/node_modules/level-mem/node_modules/abstract-leveldown": { + "version": "5.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "xtend": "~4.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/ganache-core/node_modules/level-mem/node_modules/ltgt": { + "version": "2.2.1", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/level-mem/node_modules/memdown": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "abstract-leveldown": "~5.0.0", + "functional-red-black-tree": "~1.0.1", + "immediate": "~3.2.3", + "inherits": "~2.0.1", + "ltgt": "~2.2.0", + "safe-buffer": "~5.1.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/ganache-core/node_modules/level-mem/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/level-packager": { + "version": "4.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "encoding-down": "~5.0.0", + "levelup": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/ganache-core/node_modules/level-post": { + "version": "1.0.7", + "dev": true, + "license": "MIT", + "dependencies": { + "ltgt": "^2.1.2" + } + }, + "node_modules/ganache-core/node_modules/level-sublevel": { + "version": "6.6.4", + "dev": true, + "license": "MIT", + "dependencies": { + "bytewise": "~1.1.0", + "level-codec": "^9.0.0", + "level-errors": "^2.0.0", + "level-iterator-stream": "^2.0.3", + "ltgt": "~2.1.1", + "pull-defer": "^0.2.2", + "pull-level": "^2.0.3", + "pull-stream": "^3.6.8", + "typewiselite": "~1.0.0", + "xtend": "~4.0.0" + } + }, + "node_modules/ganache-core/node_modules/level-ws": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "inherits": "^2.0.3", + "readable-stream": "^2.2.8", + "xtend": "^4.0.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/ganache-core/node_modules/levelup": { + "version": "3.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "deferred-leveldown": "~4.0.0", + "level-errors": "~2.0.0", + "level-iterator-stream": "~3.0.0", + "xtend": "~4.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/ganache-core/node_modules/levelup/node_modules/level-iterator-stream": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "inherits": "^2.0.1", + "readable-stream": "^2.3.6", + "xtend": "^4.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/ganache-core/node_modules/lodash": { + "version": "4.17.20", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/looper": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/loose-envify": { + "version": "1.4.0", + "dev": true, + "license": "MIT", + "dependencies": { + "js-tokens": "^3.0.0 || ^4.0.0" + }, + "bin": { + "loose-envify": "cli.js" + } + }, + "node_modules/ganache-core/node_modules/lowercase-keys": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/lru-cache": { + "version": "5.1.1", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "node_modules/ganache-core/node_modules/ltgt": { + "version": "2.1.3", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/map-cache": { + "version": "0.2.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/map-visit": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "object-visit": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/md5.js": { + "version": "1.3.5", + "dev": true, + "license": "MIT", + "dependencies": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "node_modules/ganache-core/node_modules/media-typer": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/ganache-core/node_modules/merge-descriptors": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/merkle-patricia-tree": { + "version": "3.0.0", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "async": "^2.6.1", + "ethereumjs-util": "^5.2.0", + "level-mem": "^3.0.1", + "level-ws": "^1.0.0", + "readable-stream": "^3.0.6", + "rlp": "^2.0.0", + "semaphore": ">=1.0.1" + } + }, + "node_modules/ganache-core/node_modules/merkle-patricia-tree/node_modules/ethereumjs-util": { + "version": "5.2.1", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "^0.1.3", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1" + } + }, + "node_modules/ganache-core/node_modules/merkle-patricia-tree/node_modules/readable-stream": { + "version": "3.6.0", + "dev": true, + "license": "MIT", + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/ganache-core/node_modules/methods": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/ganache-core/node_modules/miller-rabin": { + "version": "4.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "bn.js": "^4.0.0", + "brorand": "^1.0.1" + }, + "bin": { + "miller-rabin": "bin/miller-rabin" + } + }, + "node_modules/ganache-core/node_modules/mime": { + "version": "1.6.0", + "dev": true, + "license": "MIT", + "optional": true, + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/ganache-core/node_modules/mime-db": { + "version": "1.45.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/ganache-core/node_modules/mime-types": { + "version": "2.1.28", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-db": "1.45.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/ganache-core/node_modules/mimic-response": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/ganache-core/node_modules/min-document": { + "version": "2.19.0", + "dev": true, + "dependencies": { + "dom-walk": "^0.1.0" + } + }, + "node_modules/ganache-core/node_modules/minimalistic-assert": { + "version": "1.0.1", + "dev": true, + "license": "ISC" + }, + "node_modules/ganache-core/node_modules/minimalistic-crypto-utils": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/minimatch": { + "version": "3.0.4", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/ganache-core/node_modules/minimist": { + "version": "1.2.5", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/minizlib": { + "version": "1.3.3", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "minipass": "^2.9.0" + } + }, + "node_modules/ganache-core/node_modules/minizlib/node_modules/minipass": { + "version": "2.9.0", + "dev": true, + "license": "ISC", + "optional": true, + "dependencies": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "node_modules/ganache-core/node_modules/mixin-deep": { + "version": "1.3.2", + "dev": true, + "license": "MIT", + "dependencies": { + "for-in": "^1.0.2", + "is-extendable": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/mkdirp": { + "version": "0.5.5", + "dev": true, + "license": "MIT", + "dependencies": { + "minimist": "^1.2.5" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "node_modules/ganache-core/node_modules/mkdirp-promise": { + "version": "5.0.1", + "dev": true, + "license": "ISC", + "optional": true, + "dependencies": { + "mkdirp": "*" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/ganache-core/node_modules/mock-fs": { + "version": "4.13.0", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/ms": { + "version": "2.1.3", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/multibase": { + "version": "0.6.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "node_modules/ganache-core/node_modules/multicodec": { + "version": "0.5.7", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "varint": "^5.0.0" + } + }, + "node_modules/ganache-core/node_modules/multihashes": { + "version": "0.4.21", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "buffer": "^5.5.0", + "multibase": "^0.7.0", + "varint": "^5.0.0" + } + }, + "node_modules/ganache-core/node_modules/multihashes/node_modules/multibase": { + "version": "0.7.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "node_modules/ganache-core/node_modules/nano-json-stream-parser": { + "version": "0.1.2", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/nanomatch": { + "version": "1.2.13", + "dev": true, + "license": "MIT", + "dependencies": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "fragment-cache": "^0.2.1", + "is-windows": "^1.0.2", + "kind-of": "^6.0.2", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/negotiator": { + "version": "0.6.2", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/ganache-core/node_modules/next-tick": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/nice-try": { + "version": "1.0.5", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/node-addon-api": { + "version": "2.0.2", + "dev": true, + "inBundle": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/node-fetch": { + "version": "2.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": "4.x || >=6.0.0" + } + }, + "node_modules/ganache-core/node_modules/node-gyp-build": { + "version": "4.2.3", + "dev": true, + "inBundle": true, + "license": "MIT", + "bin": { + "node-gyp-build": "bin.js", + "node-gyp-build-optional": "optional.js", + "node-gyp-build-test": "build-test.js" + } + }, + "node_modules/ganache-core/node_modules/normalize-url": { + "version": "4.5.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/ganache-core/node_modules/number-to-bn": { + "version": "1.7.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "bn.js": "4.11.6", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "node_modules/ganache-core/node_modules/number-to-bn/node_modules/bn.js": { + "version": "4.11.6", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/oauth-sign": { + "version": "0.9.0", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "*" + } + }, + "node_modules/ganache-core/node_modules/object-assign": { + "version": "4.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/object-copy": { + "version": "0.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "copy-descriptor": "^0.1.0", + "define-property": "^0.2.5", + "kind-of": "^3.0.3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/object-copy/node_modules/define-property": { + "version": "0.2.5", + "dev": true, + "license": "MIT", + "dependencies": { + "is-descriptor": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/object-copy/node_modules/is-accessor-descriptor": { + "version": "0.1.6", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/object-copy/node_modules/is-buffer": { + "version": "1.1.6", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/object-copy/node_modules/is-data-descriptor": { + "version": "0.1.4", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/object-copy/node_modules/is-descriptor": { + "version": "0.1.6", + "dev": true, + "license": "MIT", + "dependencies": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/object-copy/node_modules/is-descriptor/node_modules/kind-of": { + "version": "5.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/object-copy/node_modules/kind-of": { + "version": "3.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/object-inspect": { + "version": "1.9.0", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/ganache-core/node_modules/object-is": { + "version": "1.1.4", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/ganache-core/node_modules/object-keys": { + "version": "1.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/ganache-core/node_modules/object-visit": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "isobject": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/object.assign": { + "version": "4.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/ganache-core/node_modules/object.getownpropertydescriptors": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.1" + }, + "engines": { + "node": ">= 0.8" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/ganache-core/node_modules/object.pick": { + "version": "1.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/oboe": { + "version": "2.1.4", + "dev": true, + "license": "BSD", + "optional": true, + "dependencies": { + "http-https": "^1.0.0" + } + }, + "node_modules/ganache-core/node_modules/on-finished": { + "version": "2.3.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/ganache-core/node_modules/once": { + "version": "1.4.0", + "dev": true, + "license": "ISC", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/ganache-core/node_modules/os-homedir": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/os-tmpdir": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/p-cancelable": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/ganache-core/node_modules/p-timeout": { + "version": "1.2.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "p-finally": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/ganache-core/node_modules/p-timeout/node_modules/p-finally": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/ganache-core/node_modules/parse-asn1": { + "version": "5.1.6", + "dev": true, + "license": "ISC", + "optional": true, + "dependencies": { + "asn1.js": "^5.2.0", + "browserify-aes": "^1.0.0", + "evp_bytestokey": "^1.0.0", + "pbkdf2": "^3.0.3", + "safe-buffer": "^5.1.1" + } + }, + "node_modules/ganache-core/node_modules/parse-headers": { + "version": "2.0.3", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/parseurl": { + "version": "1.3.3", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/ganache-core/node_modules/pascalcase": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/patch-package": { + "version": "6.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@yarnpkg/lockfile": "^1.1.0", + "chalk": "^2.4.2", + "cross-spawn": "^6.0.5", + "find-yarn-workspace-root": "^1.2.1", + "fs-extra": "^7.0.1", + "is-ci": "^2.0.0", + "klaw-sync": "^6.0.0", + "minimist": "^1.2.0", + "rimraf": "^2.6.3", + "semver": "^5.6.0", + "slash": "^2.0.0", + "tmp": "^0.0.33" + }, + "bin": { + "patch-package": "index.js" + }, + "engines": { + "npm": ">5" + } + }, + "node_modules/ganache-core/node_modules/patch-package/node_modules/cross-spawn": { + "version": "6.0.5", + "dev": true, + "license": "MIT", + "dependencies": { + "nice-try": "^1.0.4", + "path-key": "^2.0.1", + "semver": "^5.5.0", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + }, + "engines": { + "node": ">=4.8" + } + }, + "node_modules/ganache-core/node_modules/patch-package/node_modules/path-key": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/ganache-core/node_modules/patch-package/node_modules/semver": { + "version": "5.7.1", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/ganache-core/node_modules/patch-package/node_modules/shebang-command": { + "version": "1.2.0", + "dev": true, + "license": "MIT", + "dependencies": { + "shebang-regex": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/patch-package/node_modules/shebang-regex": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/patch-package/node_modules/slash": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/ganache-core/node_modules/patch-package/node_modules/tmp": { + "version": "0.0.33", + "dev": true, + "license": "MIT", + "dependencies": { + "os-tmpdir": "~1.0.2" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "node_modules/ganache-core/node_modules/patch-package/node_modules/which": { + "version": "1.3.1", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "which": "bin/which" + } + }, + "node_modules/ganache-core/node_modules/path-is-absolute": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/path-parse": { + "version": "1.0.6", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/path-to-regexp": { + "version": "0.1.7", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/pbkdf2": { + "version": "3.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "create-hash": "^1.1.2", + "create-hmac": "^1.1.4", + "ripemd160": "^2.0.1", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + }, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/ganache-core/node_modules/performance-now": { + "version": "2.1.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/posix-character-classes": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/precond": { + "version": "0.2.3", + "dev": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/ganache-core/node_modules/prepend-http": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/ganache-core/node_modules/private": { + "version": "0.1.8", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/ganache-core/node_modules/process": { + "version": "0.11.10", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6.0" + } + }, + "node_modules/ganache-core/node_modules/process-nextick-args": { + "version": "2.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/promise-to-callback": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-fn": "^1.0.0", + "set-immediate-shim": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/proxy-addr": { + "version": "2.0.6", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "forwarded": "~0.1.2", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/ganache-core/node_modules/prr": { + "version": "1.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/pseudomap": { + "version": "1.0.2", + "dev": true, + "license": "ISC" + }, + "node_modules/ganache-core/node_modules/psl": { + "version": "1.8.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/public-encrypt": { + "version": "4.0.3", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "bn.js": "^4.1.0", + "browserify-rsa": "^4.0.0", + "create-hash": "^1.1.0", + "parse-asn1": "^5.0.0", + "randombytes": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "node_modules/ganache-core/node_modules/pull-cat": { + "version": "1.1.11", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/pull-defer": { + "version": "0.2.3", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/pull-level": { + "version": "2.0.4", + "dev": true, + "license": "MIT", + "dependencies": { + "level-post": "^1.0.7", + "pull-cat": "^1.1.9", + "pull-live": "^1.0.1", + "pull-pushable": "^2.0.0", + "pull-stream": "^3.4.0", + "pull-window": "^2.1.4", + "stream-to-pull-stream": "^1.7.1" + } + }, + "node_modules/ganache-core/node_modules/pull-live": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "pull-cat": "^1.1.9", + "pull-stream": "^3.4.0" + } + }, + "node_modules/ganache-core/node_modules/pull-pushable": { + "version": "2.2.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/pull-stream": { + "version": "3.6.14", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/pull-window": { + "version": "2.1.4", + "dev": true, + "license": "MIT", + "dependencies": { + "looper": "^2.0.0" + } + }, + "node_modules/ganache-core/node_modules/pump": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "node_modules/ganache-core/node_modules/punycode": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/ganache-core/node_modules/qs": { + "version": "6.5.2", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/ganache-core/node_modules/query-string": { + "version": "5.1.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "decode-uri-component": "^0.2.0", + "object-assign": "^4.1.0", + "strict-uri-encode": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/randombytes": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.1.0" + } + }, + "node_modules/ganache-core/node_modules/randomfill": { + "version": "1.0.4", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "randombytes": "^2.0.5", + "safe-buffer": "^5.1.0" + } + }, + "node_modules/ganache-core/node_modules/range-parser": { + "version": "1.2.1", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/ganache-core/node_modules/raw-body": { + "version": "2.4.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "bytes": "3.1.0", + "http-errors": "1.7.2", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/ganache-core/node_modules/readable-stream": { + "version": "2.3.7", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/ganache-core/node_modules/readable-stream/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/regenerate": { + "version": "1.4.2", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/regenerator-runtime": { + "version": "0.11.1", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/regenerator-transform": { + "version": "0.10.1", + "dev": true, + "license": "BSD", + "dependencies": { + "babel-runtime": "^6.18.0", + "babel-types": "^6.19.0", + "private": "^0.1.6" + } + }, + "node_modules/ganache-core/node_modules/regex-not": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "extend-shallow": "^3.0.2", + "safe-regex": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/regexp.prototype.flags": { + "version": "1.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "define-properties": "^1.1.3", + "es-abstract": "^1.17.0-next.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/ganache-core/node_modules/regexp.prototype.flags/node_modules/es-abstract": { + "version": "1.17.7", + "dev": true, + "license": "MIT", + "dependencies": { + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1", + "is-callable": "^1.2.2", + "is-regex": "^1.1.1", + "object-inspect": "^1.8.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.1", + "string.prototype.trimend": "^1.0.1", + "string.prototype.trimstart": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/ganache-core/node_modules/regexpu-core": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "regenerate": "^1.2.1", + "regjsgen": "^0.2.0", + "regjsparser": "^0.1.4" + } + }, + "node_modules/ganache-core/node_modules/regjsgen": { + "version": "0.2.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/regjsparser": { + "version": "0.1.5", + "dev": true, + "license": "BSD", + "dependencies": { + "jsesc": "~0.5.0" + }, + "bin": { + "regjsparser": "bin/parser" + } + }, + "node_modules/ganache-core/node_modules/regjsparser/node_modules/jsesc": { + "version": "0.5.0", + "dev": true, + "bin": { + "jsesc": "bin/jsesc" + } + }, + "node_modules/ganache-core/node_modules/repeat-element": { + "version": "1.1.3", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/repeat-string": { + "version": "1.6.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "node_modules/ganache-core/node_modules/repeating": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-finite": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/request": { + "version": "2.88.2", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/ganache-core/node_modules/resolve-url": { + "version": "0.2.1", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/responselike": { + "version": "1.0.2", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "lowercase-keys": "^1.0.0" + } + }, + "node_modules/ganache-core/node_modules/resumer": { + "version": "0.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "through": "~2.3.4" + } + }, + "node_modules/ganache-core/node_modules/ret": { + "version": "0.1.15", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.12" + } + }, + "node_modules/ganache-core/node_modules/rimraf": { + "version": "2.6.3", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "node_modules/ganache-core/node_modules/ripemd160": { + "version": "2.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1" + } + }, + "node_modules/ganache-core/node_modules/rlp": { + "version": "2.2.6", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^4.11.1" + }, + "bin": { + "rlp": "bin/rlp" + } + }, + "node_modules/ganache-core/node_modules/rustbn.js": { + "version": "0.2.0", + "dev": true, + "license": "(MIT OR Apache-2.0)" + }, + "node_modules/ganache-core/node_modules/safe-buffer": { + "version": "5.2.1", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/safe-event-emitter": { + "version": "1.0.1", + "dev": true, + "license": "ISC", + "dependencies": { + "events": "^3.0.0" + } + }, + "node_modules/ganache-core/node_modules/safe-regex": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "ret": "~0.1.10" + } + }, + "node_modules/ganache-core/node_modules/safer-buffer": { + "version": "2.1.2", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/scrypt-js": { + "version": "3.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/scryptsy": { + "version": "1.2.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "pbkdf2": "^3.0.3" + } + }, + "node_modules/ganache-core/node_modules/secp256k1": { + "version": "4.0.2", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "elliptic": "^6.5.2", + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/ganache-core/node_modules/seedrandom": { + "version": "3.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/semaphore": { + "version": "1.1.0", + "dev": true, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/ganache-core/node_modules/send": { + "version": "0.17.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "debug": "2.6.9", + "depd": "~1.1.2", + "destroy": "~1.0.4", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "~1.7.2", + "mime": "1.6.0", + "ms": "2.1.1", + "on-finished": "~2.3.0", + "range-parser": "~1.2.1", + "statuses": "~1.5.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/ganache-core/node_modules/send/node_modules/debug": { + "version": "2.6.9", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/ganache-core/node_modules/send/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/send/node_modules/ms": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/serve-static": { + "version": "1.14.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.17.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/ganache-core/node_modules/servify": { + "version": "0.1.12", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "body-parser": "^1.16.0", + "cors": "^2.8.1", + "express": "^4.14.0", + "request": "^2.79.0", + "xhr": "^2.3.3" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/ganache-core/node_modules/set-immediate-shim": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/set-value": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "extend-shallow": "^2.0.1", + "is-extendable": "^0.1.1", + "is-plain-object": "^2.0.3", + "split-string": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/set-value/node_modules/extend-shallow": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/set-value/node_modules/is-extendable": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/setimmediate": { + "version": "1.0.5", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/setprototypeof": { + "version": "1.1.1", + "dev": true, + "license": "ISC", + "optional": true + }, + "node_modules/ganache-core/node_modules/sha.js": { + "version": "2.4.11", + "dev": true, + "license": "(MIT AND BSD-3-Clause)", + "dependencies": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + }, + "bin": { + "sha.js": "bin.js" + } + }, + "node_modules/ganache-core/node_modules/simple-concat": { + "version": "1.0.1", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/simple-get": { + "version": "2.8.1", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "decompress-response": "^3.3.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" + } + }, + "node_modules/ganache-core/node_modules/snapdragon": { + "version": "0.8.2", + "dev": true, + "license": "MIT", + "dependencies": { + "base": "^0.11.1", + "debug": "^2.2.0", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "map-cache": "^0.2.2", + "source-map": "^0.5.6", + "source-map-resolve": "^0.5.0", + "use": "^3.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/snapdragon-node": { + "version": "2.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "define-property": "^1.0.0", + "isobject": "^3.0.0", + "snapdragon-util": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/snapdragon-node/node_modules/define-property": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-descriptor": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/snapdragon-util": { + "version": "3.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^3.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/snapdragon-util/node_modules/is-buffer": { + "version": "1.1.6", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/snapdragon-util/node_modules/kind-of": { + "version": "3.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/snapdragon/node_modules/debug": { + "version": "2.6.9", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/ganache-core/node_modules/snapdragon/node_modules/define-property": { + "version": "0.2.5", + "dev": true, + "license": "MIT", + "dependencies": { + "is-descriptor": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/snapdragon/node_modules/extend-shallow": { + "version": "2.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extendable": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/snapdragon/node_modules/is-accessor-descriptor": { + "version": "0.1.6", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/snapdragon/node_modules/is-accessor-descriptor/node_modules/kind-of": { + "version": "3.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/snapdragon/node_modules/is-buffer": { + "version": "1.1.6", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/snapdragon/node_modules/is-data-descriptor": { + "version": "0.1.4", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/snapdragon/node_modules/is-data-descriptor/node_modules/kind-of": { + "version": "3.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/snapdragon/node_modules/is-descriptor": { + "version": "0.1.6", + "dev": true, + "license": "MIT", + "dependencies": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/snapdragon/node_modules/is-extendable": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/snapdragon/node_modules/kind-of": { + "version": "5.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/snapdragon/node_modules/ms": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/source-map": { + "version": "0.5.7", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/source-map-resolve": { + "version": "0.5.3", + "dev": true, + "license": "MIT", + "dependencies": { + "atob": "^2.1.2", + "decode-uri-component": "^0.2.0", + "resolve-url": "^0.2.1", + "source-map-url": "^0.4.0", + "urix": "^0.1.0" + } + }, + "node_modules/ganache-core/node_modules/source-map-support": { + "version": "0.5.12", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "node_modules/ganache-core/node_modules/source-map-support/node_modules/source-map": { + "version": "0.6.1", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/source-map-url": { + "version": "0.4.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/split-string": { + "version": "3.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "extend-shallow": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/sshpk": { + "version": "1.16.1", + "dev": true, + "license": "MIT", + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/sshpk/node_modules/tweetnacl": { + "version": "0.14.5", + "dev": true, + "license": "Unlicense" + }, + "node_modules/ganache-core/node_modules/static-extend": { + "version": "0.1.2", + "dev": true, + "license": "MIT", + "dependencies": { + "define-property": "^0.2.5", + "object-copy": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/static-extend/node_modules/define-property": { + "version": "0.2.5", + "dev": true, + "license": "MIT", + "dependencies": { + "is-descriptor": "^0.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/static-extend/node_modules/is-accessor-descriptor": { + "version": "0.1.6", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/static-extend/node_modules/is-accessor-descriptor/node_modules/kind-of": { + "version": "3.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/static-extend/node_modules/is-buffer": { + "version": "1.1.6", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/static-extend/node_modules/is-data-descriptor": { + "version": "0.1.4", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/static-extend/node_modules/is-data-descriptor/node_modules/kind-of": { + "version": "3.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/static-extend/node_modules/is-descriptor": { + "version": "0.1.6", + "dev": true, + "license": "MIT", + "dependencies": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/static-extend/node_modules/kind-of": { + "version": "5.1.0", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/statuses": { + "version": "1.5.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/ganache-core/node_modules/stream-to-pull-stream": { + "version": "1.7.3", + "dev": true, + "license": "MIT", + "dependencies": { + "looper": "^3.0.0", + "pull-stream": "^3.2.3" + } + }, + "node_modules/ganache-core/node_modules/stream-to-pull-stream/node_modules/looper": { + "version": "3.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/strict-uri-encode": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/string_decoder": { + "version": "1.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/ganache-core/node_modules/string_decoder/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/string.prototype.trim": { + "version": "1.2.3", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/ganache-core/node_modules/string.prototype.trimend": { + "version": "1.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/ganache-core/node_modules/string.prototype.trimstart": { + "version": "1.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/ganache-core/node_modules/strip-hex-prefix": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "is-hex-prefixed": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "node_modules/ganache-core/node_modules/supports-color": { + "version": "5.5.0", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/ganache-core/node_modules/swarm-js": { + "version": "0.1.40", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "bluebird": "^3.5.0", + "buffer": "^5.0.5", + "eth-lib": "^0.1.26", + "fs-extra": "^4.0.2", + "got": "^7.1.0", + "mime-types": "^2.1.16", + "mkdirp-promise": "^5.0.1", + "mock-fs": "^4.1.0", + "setimmediate": "^1.0.5", + "tar": "^4.0.2", + "xhr-request": "^1.0.1" + } + }, + "node_modules/ganache-core/node_modules/swarm-js/node_modules/fs-extra": { + "version": "4.0.3", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "node_modules/ganache-core/node_modules/swarm-js/node_modules/get-stream": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/ganache-core/node_modules/swarm-js/node_modules/got": { + "version": "7.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "decompress-response": "^3.2.0", + "duplexer3": "^0.1.4", + "get-stream": "^3.0.0", + "is-plain-obj": "^1.1.0", + "is-retry-allowed": "^1.0.0", + "is-stream": "^1.0.0", + "isurl": "^1.0.0-alpha5", + "lowercase-keys": "^1.0.0", + "p-cancelable": "^0.3.0", + "p-timeout": "^1.1.1", + "safe-buffer": "^5.0.1", + "timed-out": "^4.0.0", + "url-parse-lax": "^1.0.0", + "url-to-options": "^1.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/ganache-core/node_modules/swarm-js/node_modules/is-stream": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/swarm-js/node_modules/p-cancelable": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/ganache-core/node_modules/swarm-js/node_modules/prepend-http": { + "version": "1.0.4", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/swarm-js/node_modules/url-parse-lax": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "prepend-http": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/tape": { + "version": "4.13.3", + "dev": true, + "license": "MIT", + "dependencies": { + "deep-equal": "~1.1.1", + "defined": "~1.0.0", + "dotignore": "~0.1.2", + "for-each": "~0.3.3", + "function-bind": "~1.1.1", + "glob": "~7.1.6", + "has": "~1.0.3", + "inherits": "~2.0.4", + "is-regex": "~1.0.5", + "minimist": "~1.2.5", + "object-inspect": "~1.7.0", + "resolve": "~1.17.0", + "resumer": "~0.0.0", + "string.prototype.trim": "~1.2.1", + "through": "~2.3.8" + }, + "bin": { + "tape": "bin/tape" + } + }, + "node_modules/ganache-core/node_modules/tape/node_modules/glob": { + "version": "7.1.6", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/ganache-core/node_modules/tape/node_modules/is-regex": { + "version": "1.0.5", + "dev": true, + "license": "MIT", + "dependencies": { + "has": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/ganache-core/node_modules/tape/node_modules/object-inspect": { + "version": "1.7.0", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/ganache-core/node_modules/tape/node_modules/resolve": { + "version": "1.17.0", + "dev": true, + "license": "MIT", + "dependencies": { + "path-parse": "^1.0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/ganache-core/node_modules/tar": { + "version": "4.4.13", + "dev": true, + "license": "ISC", + "optional": true, + "dependencies": { + "chownr": "^1.1.1", + "fs-minipass": "^1.2.5", + "minipass": "^2.8.6", + "minizlib": "^1.2.1", + "mkdirp": "^0.5.0", + "safe-buffer": "^5.1.2", + "yallist": "^3.0.3" + }, + "engines": { + "node": ">=4.5" + } + }, + "node_modules/ganache-core/node_modules/tar/node_modules/fs-minipass": { + "version": "1.2.7", + "dev": true, + "license": "ISC", + "optional": true, + "dependencies": { + "minipass": "^2.6.0" + } + }, + "node_modules/ganache-core/node_modules/tar/node_modules/minipass": { + "version": "2.9.0", + "dev": true, + "license": "ISC", + "optional": true, + "dependencies": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "node_modules/ganache-core/node_modules/through": { + "version": "2.3.8", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/through2": { + "version": "2.0.5", + "dev": true, + "license": "MIT", + "dependencies": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + }, + "node_modules/ganache-core/node_modules/timed-out": { + "version": "4.0.1", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/tmp": { + "version": "0.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "rimraf": "^2.6.3" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/ganache-core/node_modules/to-object-path": { + "version": "0.3.0", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^3.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/to-object-path/node_modules/is-buffer": { + "version": "1.1.6", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/to-object-path/node_modules/kind-of": { + "version": "3.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "is-buffer": "^1.1.5" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/to-readable-stream": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/ganache-core/node_modules/to-regex": { + "version": "3.0.2", + "dev": true, + "license": "MIT", + "dependencies": { + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "regex-not": "^1.0.2", + "safe-regex": "^1.1.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/toidentifier": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=0.6" + } + }, + "node_modules/ganache-core/node_modules/tough-cookie": { + "version": "2.5.0", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "psl": "^1.1.28", + "punycode": "^2.1.1" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/ganache-core/node_modules/trim-right": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/tunnel-agent": { + "version": "0.6.0", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "node_modules/ganache-core/node_modules/tweetnacl": { + "version": "1.0.3", + "dev": true, + "license": "Unlicense" + }, + "node_modules/ganache-core/node_modules/tweetnacl-util": { + "version": "0.15.1", + "dev": true, + "license": "Unlicense" + }, + "node_modules/ganache-core/node_modules/type": { + "version": "1.2.0", + "dev": true, + "license": "ISC" + }, + "node_modules/ganache-core/node_modules/type-is": { + "version": "1.6.18", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/ganache-core/node_modules/typedarray": { + "version": "0.0.6", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/typedarray-to-buffer": { + "version": "3.1.5", + "dev": true, + "license": "MIT", + "dependencies": { + "is-typedarray": "^1.0.0" + } + }, + "node_modules/ganache-core/node_modules/typewise": { + "version": "1.0.3", + "dev": true, + "license": "MIT", + "dependencies": { + "typewise-core": "^1.2.0" + } + }, + "node_modules/ganache-core/node_modules/typewise-core": { + "version": "1.2.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/typewiselite": { + "version": "1.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/ultron": { + "version": "1.1.1", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/underscore": { + "version": "1.9.1", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/union-value": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "dependencies": { + "arr-union": "^3.1.0", + "get-value": "^2.0.6", + "is-extendable": "^0.1.1", + "set-value": "^2.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/union-value/node_modules/is-extendable": { + "version": "0.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/universalify": { + "version": "0.1.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4.0.0" + } + }, + "node_modules/ganache-core/node_modules/unorm": { + "version": "1.6.0", + "dev": true, + "license": "MIT or GPL-2.0", + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/ganache-core/node_modules/unpipe": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/ganache-core/node_modules/unset-value": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "has-value": "^0.3.1", + "isobject": "^3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/unset-value/node_modules/has-value": { + "version": "0.3.1", + "dev": true, + "license": "MIT", + "dependencies": { + "get-value": "^2.0.3", + "has-values": "^0.1.4", + "isobject": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/unset-value/node_modules/has-value/node_modules/isobject": { + "version": "2.1.0", + "dev": true, + "license": "MIT", + "dependencies": { + "isarray": "1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/unset-value/node_modules/has-values": { + "version": "0.1.4", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/uri-js": { + "version": "4.4.1", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/ganache-core/node_modules/urix": { + "version": "0.1.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/url-parse-lax": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "prepend-http": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/ganache-core/node_modules/url-set-query": { + "version": "1.0.0", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/url-to-options": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/ganache-core/node_modules/use": { + "version": "3.1.1", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ganache-core/node_modules/utf-8-validate": { + "version": "5.0.4", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-gyp-build": "^4.2.0" + } + }, + "node_modules/ganache-core/node_modules/utf8": { + "version": "3.0.0", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/util-deprecate": { + "version": "1.0.2", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/util.promisify": { + "version": "1.1.1", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "for-each": "^0.3.3", + "has-symbols": "^1.0.1", + "object.getownpropertydescriptors": "^2.1.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/ganache-core/node_modules/utils-merge": { + "version": "1.0.1", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/ganache-core/node_modules/uuid": { + "version": "3.4.0", + "dev": true, + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, + "node_modules/ganache-core/node_modules/varint": { + "version": "5.0.2", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/vary": { + "version": "1.1.2", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/ganache-core/node_modules/verror": { + "version": "1.10.0", + "dev": true, + "engines": [ + "node >=0.6.0" + ], + "license": "MIT", + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "node_modules/ganache-core/node_modules/web3": { + "version": "1.2.11", + "dev": true, + "hasInstallScript": true, + "license": "LGPL-3.0", + "optional": true, + "dependencies": { + "web3-bzz": "1.2.11", + "web3-core": "1.2.11", + "web3-eth": "1.2.11", + "web3-eth-personal": "1.2.11", + "web3-net": "1.2.11", + "web3-shh": "1.2.11", + "web3-utils": "1.2.11" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/ganache-core/node_modules/web3-bzz": { + "version": "1.2.11", + "dev": true, + "license": "LGPL-3.0", + "optional": true, + "dependencies": { + "@types/node": "^12.12.6", + "got": "9.6.0", + "swarm-js": "^0.1.40", + "underscore": "1.9.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/ganache-core/node_modules/web3-bzz/node_modules/@types/node": { + "version": "12.19.12", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/web3-core": { + "version": "1.2.11", + "dev": true, + "license": "LGPL-3.0", + "optional": true, + "dependencies": { + "@types/bn.js": "^4.11.5", + "@types/node": "^12.12.6", + "bignumber.js": "^9.0.0", + "web3-core-helpers": "1.2.11", + "web3-core-method": "1.2.11", + "web3-core-requestmanager": "1.2.11", + "web3-utils": "1.2.11" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/ganache-core/node_modules/web3-core-helpers": { + "version": "1.2.11", + "dev": true, + "license": "LGPL-3.0", + "optional": true, + "dependencies": { + "underscore": "1.9.1", + "web3-eth-iban": "1.2.11", + "web3-utils": "1.2.11" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/ganache-core/node_modules/web3-core-method": { + "version": "1.2.11", + "dev": true, + "license": "LGPL-3.0", + "optional": true, + "dependencies": { + "@ethersproject/transactions": "^5.0.0-beta.135", + "underscore": "1.9.1", + "web3-core-helpers": "1.2.11", + "web3-core-promievent": "1.2.11", + "web3-core-subscriptions": "1.2.11", + "web3-utils": "1.2.11" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/ganache-core/node_modules/web3-core-promievent": { + "version": "1.2.11", + "dev": true, + "license": "LGPL-3.0", + "optional": true, + "dependencies": { + "eventemitter3": "4.0.4" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/ganache-core/node_modules/web3-core-requestmanager": { + "version": "1.2.11", + "dev": true, + "license": "LGPL-3.0", + "optional": true, + "dependencies": { + "underscore": "1.9.1", + "web3-core-helpers": "1.2.11", + "web3-providers-http": "1.2.11", + "web3-providers-ipc": "1.2.11", + "web3-providers-ws": "1.2.11" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/ganache-core/node_modules/web3-core-subscriptions": { + "version": "1.2.11", + "dev": true, + "license": "LGPL-3.0", + "optional": true, + "dependencies": { + "eventemitter3": "4.0.4", + "underscore": "1.9.1", + "web3-core-helpers": "1.2.11" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/ganache-core/node_modules/web3-core/node_modules/@types/node": { + "version": "12.19.12", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/web3-eth": { + "version": "1.2.11", + "dev": true, + "license": "LGPL-3.0", + "optional": true, + "dependencies": { + "underscore": "1.9.1", + "web3-core": "1.2.11", + "web3-core-helpers": "1.2.11", + "web3-core-method": "1.2.11", + "web3-core-subscriptions": "1.2.11", + "web3-eth-abi": "1.2.11", + "web3-eth-accounts": "1.2.11", + "web3-eth-contract": "1.2.11", + "web3-eth-ens": "1.2.11", + "web3-eth-iban": "1.2.11", + "web3-eth-personal": "1.2.11", + "web3-net": "1.2.11", + "web3-utils": "1.2.11" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/ganache-core/node_modules/web3-eth-abi": { + "version": "1.2.11", + "dev": true, + "license": "LGPL-3.0", + "optional": true, + "dependencies": { + "@ethersproject/abi": "5.0.0-beta.153", + "underscore": "1.9.1", + "web3-utils": "1.2.11" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/ganache-core/node_modules/web3-eth-accounts": { + "version": "1.2.11", + "dev": true, + "license": "LGPL-3.0", + "optional": true, + "dependencies": { + "crypto-browserify": "3.12.0", + "eth-lib": "0.2.8", + "ethereumjs-common": "^1.3.2", + "ethereumjs-tx": "^2.1.1", + "scrypt-js": "^3.0.1", + "underscore": "1.9.1", + "uuid": "3.3.2", + "web3-core": "1.2.11", + "web3-core-helpers": "1.2.11", + "web3-core-method": "1.2.11", + "web3-utils": "1.2.11" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/ganache-core/node_modules/web3-eth-accounts/node_modules/eth-lib": { + "version": "0.2.8", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "xhr-request-promise": "^0.1.2" + } + }, + "node_modules/ganache-core/node_modules/web3-eth-accounts/node_modules/uuid": { + "version": "3.3.2", + "dev": true, + "license": "MIT", + "optional": true, + "bin": { + "uuid": "bin/uuid" + } + }, + "node_modules/ganache-core/node_modules/web3-eth-contract": { + "version": "1.2.11", + "dev": true, + "license": "LGPL-3.0", + "optional": true, + "dependencies": { + "@types/bn.js": "^4.11.5", + "underscore": "1.9.1", + "web3-core": "1.2.11", + "web3-core-helpers": "1.2.11", + "web3-core-method": "1.2.11", + "web3-core-promievent": "1.2.11", + "web3-core-subscriptions": "1.2.11", + "web3-eth-abi": "1.2.11", + "web3-utils": "1.2.11" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/ganache-core/node_modules/web3-eth-ens": { + "version": "1.2.11", + "dev": true, + "license": "LGPL-3.0", + "optional": true, + "dependencies": { + "content-hash": "^2.5.2", + "eth-ens-namehash": "2.0.8", + "underscore": "1.9.1", + "web3-core": "1.2.11", + "web3-core-helpers": "1.2.11", + "web3-core-promievent": "1.2.11", + "web3-eth-abi": "1.2.11", + "web3-eth-contract": "1.2.11", + "web3-utils": "1.2.11" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/ganache-core/node_modules/web3-eth-iban": { + "version": "1.2.11", + "dev": true, + "license": "LGPL-3.0", + "optional": true, + "dependencies": { + "bn.js": "^4.11.9", + "web3-utils": "1.2.11" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/ganache-core/node_modules/web3-eth-personal": { + "version": "1.2.11", + "dev": true, + "license": "LGPL-3.0", + "optional": true, + "dependencies": { + "@types/node": "^12.12.6", + "web3-core": "1.2.11", + "web3-core-helpers": "1.2.11", + "web3-core-method": "1.2.11", + "web3-net": "1.2.11", + "web3-utils": "1.2.11" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/ganache-core/node_modules/web3-eth-personal/node_modules/@types/node": { + "version": "12.19.12", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/web3-net": { + "version": "1.2.11", + "dev": true, + "license": "LGPL-3.0", + "optional": true, + "dependencies": { + "web3-core": "1.2.11", + "web3-core-method": "1.2.11", + "web3-utils": "1.2.11" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/ganache-core/node_modules/web3-provider-engine": { + "version": "14.2.1", + "dev": true, + "license": "MIT", + "dependencies": { + "async": "^2.5.0", + "backoff": "^2.5.0", + "clone": "^2.0.0", + "cross-fetch": "^2.1.0", + "eth-block-tracker": "^3.0.0", + "eth-json-rpc-infura": "^3.1.0", + "eth-sig-util": "3.0.0", + "ethereumjs-block": "^1.2.2", + "ethereumjs-tx": "^1.2.0", + "ethereumjs-util": "^5.1.5", + "ethereumjs-vm": "^2.3.4", + "json-rpc-error": "^2.0.0", + "json-stable-stringify": "^1.0.1", + "promise-to-callback": "^1.0.0", + "readable-stream": "^2.2.9", + "request": "^2.85.0", + "semaphore": "^1.0.3", + "ws": "^5.1.1", + "xhr": "^2.2.0", + "xtend": "^4.0.1" + } + }, + "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/abstract-leveldown": { + "version": "2.6.3", + "dev": true, + "license": "MIT", + "dependencies": { + "xtend": "~4.0.0" + } + }, + "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/deferred-leveldown": { + "version": "1.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "abstract-leveldown": "~2.6.0" + } + }, + "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/eth-sig-util": { + "version": "1.4.2", + "dev": true, + "license": "ISC", + "dependencies": { + "ethereumjs-abi": "git+https://github.com/ethereumjs/ethereumjs-abi.git", + "ethereumjs-util": "^5.1.1" + } + }, + "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/ethereumjs-account": { + "version": "2.0.5", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "ethereumjs-util": "^5.0.0", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1" + } + }, + "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/ethereumjs-block": { + "version": "1.7.1", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "async": "^2.0.1", + "ethereum-common": "0.2.0", + "ethereumjs-tx": "^1.2.2", + "ethereumjs-util": "^5.0.0", + "merkle-patricia-tree": "^2.1.2" + } + }, + "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/ethereumjs-block/node_modules/ethereum-common": { + "version": "0.2.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/ethereumjs-tx": { + "version": "1.3.7", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "ethereum-common": "^0.0.18", + "ethereumjs-util": "^5.0.0" + } + }, + "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/ethereumjs-util": { + "version": "5.2.1", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "^0.1.3", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1" + } + }, + "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/ethereumjs-vm": { + "version": "2.6.0", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "async": "^2.1.2", + "async-eventemitter": "^0.2.2", + "ethereumjs-account": "^2.0.3", + "ethereumjs-block": "~2.2.0", + "ethereumjs-common": "^1.1.0", + "ethereumjs-util": "^6.0.0", + "fake-merkle-patricia-tree": "^1.0.1", + "functional-red-black-tree": "^1.0.1", + "merkle-patricia-tree": "^2.3.2", + "rustbn.js": "~0.2.0", + "safe-buffer": "^5.1.1" + } + }, + "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/ethereumjs-vm/node_modules/ethereumjs-block": { + "version": "2.2.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "async": "^2.0.1", + "ethereumjs-common": "^1.5.0", + "ethereumjs-tx": "^2.1.1", + "ethereumjs-util": "^5.0.0", + "merkle-patricia-tree": "^2.1.2" + } + }, + "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/ethereumjs-vm/node_modules/ethereumjs-block/node_modules/ethereumjs-util": { + "version": "5.2.1", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "^0.1.3", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1" + } + }, + "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/ethereumjs-vm/node_modules/ethereumjs-tx": { + "version": "2.1.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "ethereumjs-common": "^1.5.0", + "ethereumjs-util": "^6.0.0" + } + }, + "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/ethereumjs-vm/node_modules/ethereumjs-util": { + "version": "6.2.1", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "@types/bn.js": "^4.11.3", + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "0.1.6", + "rlp": "^2.2.3" + } + }, + "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/isarray": { + "version": "0.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/level-codec": { + "version": "7.0.1", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/level-errors": { + "version": "1.0.5", + "dev": true, + "license": "MIT", + "dependencies": { + "errno": "~0.1.1" + } + }, + "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/level-iterator-stream": { + "version": "1.3.1", + "dev": true, + "license": "MIT", + "dependencies": { + "inherits": "^2.0.1", + "level-errors": "^1.0.3", + "readable-stream": "^1.0.33", + "xtend": "^4.0.0" + } + }, + "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/level-iterator-stream/node_modules/readable-stream": { + "version": "1.1.14", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/level-ws": { + "version": "0.0.0", + "dev": true, + "license": "MIT", + "dependencies": { + "readable-stream": "~1.0.15", + "xtend": "~2.1.1" + } + }, + "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/level-ws/node_modules/readable-stream": { + "version": "1.0.34", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/level-ws/node_modules/xtend": { + "version": "2.1.2", + "dev": true, + "dependencies": { + "object-keys": "~0.4.0" + }, + "engines": { + "node": ">=0.4" + } + }, + "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/levelup": { + "version": "1.3.9", + "dev": true, + "license": "MIT", + "dependencies": { + "deferred-leveldown": "~1.2.1", + "level-codec": "~7.0.0", + "level-errors": "~1.0.3", + "level-iterator-stream": "~1.3.0", + "prr": "~1.0.1", + "semver": "~5.4.1", + "xtend": "~4.0.0" + } + }, + "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/ltgt": { + "version": "2.2.1", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/memdown": { + "version": "1.4.1", + "dev": true, + "license": "MIT", + "dependencies": { + "abstract-leveldown": "~2.7.1", + "functional-red-black-tree": "^1.0.1", + "immediate": "^3.2.3", + "inherits": "~2.0.1", + "ltgt": "~2.2.0", + "safe-buffer": "~5.1.1" + } + }, + "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/memdown/node_modules/abstract-leveldown": { + "version": "2.7.2", + "dev": true, + "license": "MIT", + "dependencies": { + "xtend": "~4.0.0" + } + }, + "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/merkle-patricia-tree": { + "version": "2.3.2", + "dev": true, + "license": "MPL-2.0", + "dependencies": { + "async": "^1.4.2", + "ethereumjs-util": "^5.0.0", + "level-ws": "0.0.0", + "levelup": "^1.2.1", + "memdown": "^1.0.0", + "readable-stream": "^2.0.0", + "rlp": "^2.0.0", + "semaphore": ">=1.0.1" + } + }, + "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/merkle-patricia-tree/node_modules/async": { + "version": "1.5.2", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/object-keys": { + "version": "0.4.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/semver": { + "version": "5.4.1", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/string_decoder": { + "version": "0.10.31", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/web3-provider-engine/node_modules/ws": { + "version": "5.2.2", + "dev": true, + "license": "MIT", + "dependencies": { + "async-limiter": "~1.0.0" + } + }, + "node_modules/ganache-core/node_modules/web3-providers-http": { + "version": "1.2.11", + "dev": true, + "license": "LGPL-3.0", + "optional": true, + "dependencies": { + "web3-core-helpers": "1.2.11", + "xhr2-cookies": "1.1.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/ganache-core/node_modules/web3-providers-ipc": { + "version": "1.2.11", + "dev": true, + "license": "LGPL-3.0", + "optional": true, + "dependencies": { + "oboe": "2.1.4", + "underscore": "1.9.1", + "web3-core-helpers": "1.2.11" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/ganache-core/node_modules/web3-providers-ws": { + "version": "1.2.11", + "dev": true, + "license": "LGPL-3.0", + "optional": true, + "dependencies": { + "eventemitter3": "4.0.4", + "underscore": "1.9.1", + "web3-core-helpers": "1.2.11", + "websocket": "^1.0.31" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/ganache-core/node_modules/web3-shh": { + "version": "1.2.11", + "dev": true, + "license": "LGPL-3.0", + "optional": true, + "dependencies": { + "web3-core": "1.2.11", + "web3-core-method": "1.2.11", + "web3-core-subscriptions": "1.2.11", + "web3-net": "1.2.11" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/ganache-core/node_modules/web3-utils": { + "version": "1.2.11", + "dev": true, + "license": "LGPL-3.0", + "optional": true, + "dependencies": { + "bn.js": "^4.11.9", + "eth-lib": "0.2.8", + "ethereum-bloom-filters": "^1.0.6", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "underscore": "1.9.1", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/ganache-core/node_modules/web3-utils/node_modules/eth-lib": { + "version": "0.2.8", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "xhr-request-promise": "^0.1.2" + } + }, + "node_modules/ganache-core/node_modules/websocket": { + "version": "1.0.32", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "bufferutil": "^4.0.1", + "debug": "^2.2.0", + "es5-ext": "^0.10.50", + "typedarray-to-buffer": "^3.1.5", + "utf-8-validate": "^5.0.2", + "yaeti": "^0.0.6" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/ganache-core/node_modules/websocket/node_modules/debug": { + "version": "2.6.9", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/ganache-core/node_modules/websocket/node_modules/ms": { + "version": "2.0.0", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/whatwg-fetch": { + "version": "2.0.4", + "dev": true, + "license": "MIT" + }, + "node_modules/ganache-core/node_modules/wrappy": { + "version": "1.0.2", + "dev": true, + "license": "ISC" + }, + "node_modules/ganache-core/node_modules/ws": { + "version": "3.3.3", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "async-limiter": "~1.0.0", + "safe-buffer": "~5.1.0", + "ultron": "~1.1.0" + } + }, + "node_modules/ganache-core/node_modules/ws/node_modules/safe-buffer": { + "version": "5.1.2", + "dev": true, + "license": "MIT", + "optional": true + }, + "node_modules/ganache-core/node_modules/xhr": { + "version": "2.6.0", + "dev": true, + "license": "MIT", + "dependencies": { + "global": "~4.4.0", + "is-function": "^1.0.1", + "parse-headers": "^2.0.0", + "xtend": "^4.0.0" + } + }, + "node_modules/ganache-core/node_modules/xhr-request": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "buffer-to-arraybuffer": "^0.0.5", + "object-assign": "^4.1.1", + "query-string": "^5.0.1", + "simple-get": "^2.7.0", + "timed-out": "^4.0.1", + "url-set-query": "^1.0.0", + "xhr": "^2.0.4" + } + }, + "node_modules/ganache-core/node_modules/xhr-request-promise": { + "version": "0.1.3", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "xhr-request": "^1.1.0" + } + }, + "node_modules/ganache-core/node_modules/xhr2-cookies": { + "version": "1.1.0", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "cookiejar": "^2.1.1" + } + }, + "node_modules/ganache-core/node_modules/xtend": { + "version": "4.0.2", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.4" + } + }, + "node_modules/ganache-core/node_modules/yaeti": { + "version": "0.0.6", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.32" + } + }, + "node_modules/ganache-core/node_modules/yallist": { + "version": "3.1.1", + "dev": true, + "license": "ISC" + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-func-name": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", + "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/get-intrinsic": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", + "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", + "dependencies": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-port": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/get-port/-/get-port-3.2.0.tgz", + "integrity": "sha1-3Xzn3hh8Bsi/NTeWrHHgmfCYDrw=", + "engines": { + "node": ">=4" + } + }, + "node_modules/get-symbol-description": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", + "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "dependencies": { + "assert-plus": "^1.0.0" + } + }, + "node_modules/glob": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", + "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.9", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.9.tgz", + "integrity": "sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==" + }, + "node_modules/growl": { + "version": "1.10.5", + "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz", + "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==", + "engines": { + "node": ">=4.x" + } + }, + "node_modules/har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", + "engines": { + "node": ">=4" + } + }, + "node_modules/har-validator": { + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", + "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", + "deprecated": "this library is no longer supported", + "dependencies": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/hardhat": { + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/hardhat/-/hardhat-2.9.1.tgz", + "integrity": "sha512-q0AkYXV7R26RzyAkHGQRhhQjk508pseVvH3wSwZwwPUbvA+tjl0vMIrD4aFQDonRXkrnXX4+5KglozzjSd0//Q==", + "dependencies": { + "@ethereumjs/block": "^3.6.0", + "@ethereumjs/blockchain": "^5.5.0", + "@ethereumjs/common": "^2.6.0", + "@ethereumjs/tx": "^3.4.0", + "@ethereumjs/vm": "^5.6.0", + "@ethersproject/abi": "^5.1.2", + "@metamask/eth-sig-util": "^4.0.0", + "@sentry/node": "^5.18.1", + "@solidity-parser/parser": "^0.14.1", + "@types/bn.js": "^5.1.0", + "@types/lru-cache": "^5.1.0", + "abort-controller": "^3.0.0", + "adm-zip": "^0.4.16", + "aggregate-error": "^3.0.0", + "ansi-escapes": "^4.3.0", + "chalk": "^2.4.2", + "chokidar": "^3.4.0", + "ci-info": "^2.0.0", + "debug": "^4.1.1", + "enquirer": "^2.3.0", + "env-paths": "^2.2.0", + "ethereum-cryptography": "^0.1.2", + "ethereumjs-abi": "^0.6.8", + "ethereumjs-util": "^7.1.3", + "find-up": "^2.1.0", + "fp-ts": "1.19.3", + "fs-extra": "^7.0.1", + "glob": "^7.1.3", + "immutable": "^4.0.0-rc.12", + "io-ts": "1.10.4", + "lodash": "^4.17.11", + "merkle-patricia-tree": "^4.2.2", + "mnemonist": "^0.38.0", + "mocha": "^9.2.0", + "p-map": "^4.0.0", + "qs": "^6.7.0", + "raw-body": "^2.4.1", + "resolve": "1.17.0", + "semver": "^6.3.0", + "slash": "^3.0.0", + "solc": "0.7.3", + "source-map-support": "^0.5.13", + "stacktrace-parser": "^0.1.10", + "true-case-path": "^2.2.1", + "tsort": "0.0.1", + "undici": "^4.14.1", + "uuid": "^8.3.2", + "ws": "^7.4.6" + }, + "bin": { + "hardhat": "internal/cli/cli.js" + }, + "engines": { + "node": "^12.0.0 || ^14.0.0 || ^16.0.0" + } + }, + "node_modules/hardhat-ethers": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/hardhat-ethers/-/hardhat-ethers-1.0.1.tgz", + "integrity": "sha512-zS7VPEwlYwIbMZG/PTDM9pF1cagmxNGxA6hLCOFQt/wYPDWgw5eUQNchi9fRbd+k6ZIgm3UypsjK60Qqlx7Ogw==" + }, + "node_modules/hardhat-gas-reporter": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/hardhat-gas-reporter/-/hardhat-gas-reporter-1.0.8.tgz", + "integrity": "sha512-1G5thPnnhcwLHsFnl759f2tgElvuwdkzxlI65fC9PwxYMEe9cmjkVAAWTf3/3y8uP6ZSPiUiOW8PgZnykmZe0g==", + "dependencies": { + "array-uniq": "1.0.3", + "eth-gas-reporter": "^0.2.24", + "sha1": "^1.1.1" + }, + "peerDependencies": { + "hardhat": "^2.0.2" + } + }, + "node_modules/has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dependencies": { + "function-bind": "^1.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/has-bigints": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz", + "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "engines": { + "node": ">=4" + } + }, + "node_modules/has-symbols": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hash-base": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", + "integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", + "dependencies": { + "inherits": "^2.0.4", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/hash.js": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", + "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", + "dependencies": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.1" + } + }, + "node_modules/he": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", + "bin": { + "he": "bin/he" + } + }, + "node_modules/hmac-drbg": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", + "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", + "dependencies": { + "hash.js": "^1.0.3", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "node_modules/hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true + }, + "node_modules/http-basic": { + "version": "8.1.3", + "resolved": "https://registry.npmjs.org/http-basic/-/http-basic-8.1.3.tgz", + "integrity": "sha512-/EcDMwJZh3mABI2NhGfHOGOeOZITqfkEO4p/xK+l3NpyncIHUQBoMvCSF/b5GqvKtySC2srL/GGG3+EtlqlmCw==", + "dependencies": { + "caseless": "^0.12.0", + "concat-stream": "^1.6.2", + "http-response-object": "^3.0.1", + "parse-cache-control": "^1.0.1" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/http-errors": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", + "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/http-response-object": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/http-response-object/-/http-response-object-3.0.2.tgz", + "integrity": "sha512-bqX0XTF6fnXSQcEJ2Iuyr75yVakyjIDCqroJQ/aHfSdlM743Cwqoi2nDYMzLGWUcuTWGWy8AAvOKXTfiv6q9RA==", + "dependencies": { + "@types/node": "^10.0.3" + } + }, + "node_modules/http-response-object/node_modules/@types/node": { + "version": "10.17.60", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.60.tgz", + "integrity": "sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw==" + }, + "node_modules/http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "dependencies": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + }, + "engines": { + "node": ">=0.8", + "npm": ">=1.3.7" + } + }, + "node_modules/https-proxy-agent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", + "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", + "dependencies": { + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/idna-uts46-hx": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/idna-uts46-hx/-/idna-uts46-hx-2.3.1.tgz", + "integrity": "sha512-PWoF9Keq6laYdIRwwCdhTPl60xRqAloYNMQLiyUnG42VjT53oW07BXIRM+NK7eQjzXjAk2gUvX9caRxlnF9TAA==", + "dev": true, + "dependencies": { + "punycode": "2.1.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/idna-uts46-hx/node_modules/punycode": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.0.tgz", + "integrity": "sha1-X4Y+3Im5bbCQdLrXlHvwkFbKTn0=", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/immediate": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.3.0.tgz", + "integrity": "sha512-HR7EVodfFUdQCTIeySw+WDRFJlPcLOJbXfwwZ7Oom6tjsvZ3bOkCDJHehQC3nxJrv7+f9XecwazynjU8e4Vw3Q==" + }, + "node_modules/immutable": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.0.0.tgz", + "integrity": "sha512-zIE9hX70qew5qTUjSS7wi1iwj/l7+m54KWU247nhM3v806UdGj1yDndXj+IOYxxtW9zyLI+xqFNZjTuDaLUqFw==" + }, + "node_modules/indent-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", + "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", + "engines": { + "node": ">=8" + } + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "node_modules/internal-slot": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", + "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", + "dependencies": { + "get-intrinsic": "^1.1.0", + "has": "^1.0.3", + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/invert-kv": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", + "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/io-ts": { + "version": "1.10.4", + "resolved": "https://registry.npmjs.org/io-ts/-/io-ts-1.10.4.tgz", + "integrity": "sha512-b23PteSnYXSONJ6JQXRAlvJhuw8KOtkqa87W4wDtvMrud/DTJd5X+NpOOI+O/zZwVq6v0VLAaJ+1EDViKEuN9g==", + "dependencies": { + "fp-ts": "^1.0.0" + } + }, + "node_modules/is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", + "dev": true + }, + "node_modules/is-bigint": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "dependencies": { + "has-bigints": "^1.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-boolean-object": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-buffer": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz", + "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "engines": { + "node": ">=4" + } + }, + "node_modules/is-callable": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz", + "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-ci": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", + "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==", + "dev": true, + "dependencies": { + "ci-info": "^2.0.0" + }, + "bin": { + "is-ci": "bin.js" + } + }, + "node_modules/is-date-object": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", + "dev": true, + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-hex-prefixed": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-hex-prefixed/-/is-hex-prefixed-1.0.0.tgz", + "integrity": "sha1-fY035q135dEnFIkTxXPggtd39VQ=", + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "node_modules/is-negative-zero": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", + "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-number-object": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.6.tgz", + "integrity": "sha512-bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g==", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-plain-obj": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", + "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-regex": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-shared-array-buffer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz", + "integrity": "sha512-IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-string": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-symbol": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" + }, + "node_modules/is-unicode-supported": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-url": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/is-url/-/is-url-1.2.4.tgz", + "integrity": "sha512-ITvGim8FhRiYe4IQ5uHSkj7pVaPDrCTkNd3yq3cV7iZAcJdHTUMPMEHcqSOy9xZ9qFenQCvi+2wjH9a1nXqHww==", + "dev": true + }, + "node_modules/is-utf8": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", + "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=", + "dev": true + }, + "node_modules/is-weakref": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", + "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "dependencies": { + "call-bind": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-wsl": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "dev": true, + "dependencies": { + "is-docker": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" + }, + "node_modules/isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" + }, + "node_modules/js-sha3": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", + "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==" + }, + "node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=" + }, + "node_modules/json-schema": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", + "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==" + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + }, + "node_modules/json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" + }, + "node_modules/jsonfile": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/jsprim": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz", + "integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==", + "dependencies": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "node_modules/keccak": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/keccak/-/keccak-3.0.2.tgz", + "integrity": "sha512-PyKKjkH53wDMLGrvmRGSNWgmSxZOUqbnXwKL9tmgbFYA1iAYqW21kfR7mZXV0MlESiefxQQE9X9fTa3X+2MPDQ==", + "hasInstallScript": true, + "dependencies": { + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/klaw": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/klaw/-/klaw-1.3.1.tgz", + "integrity": "sha1-QIhDO0azsbolnXh4XY6W9zugJDk=", + "optionalDependencies": { + "graceful-fs": "^4.1.9" + } + }, + "node_modules/klaw-sync": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/klaw-sync/-/klaw-sync-6.0.0.tgz", + "integrity": "sha512-nIeuVSzdCCs6TDPTqI8w1Yre34sSq7AkZ4B3sfOBbI2CgVSB4Du4aLQijFU2+lhAFCwt9+42Hel6lQNIv6AntQ==", + "dev": true, + "dependencies": { + "graceful-fs": "^4.1.11" + } + }, + "node_modules/lcid": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", + "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", + "dev": true, + "dependencies": { + "invert-kv": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/level-codec": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/level-codec/-/level-codec-9.0.2.tgz", + "integrity": "sha512-UyIwNb1lJBChJnGfjmO0OR+ezh2iVu1Kas3nvBS/BzGnx79dv6g7unpKIDNPMhfdTEGoc7mC8uAu51XEtX+FHQ==", + "dependencies": { + "buffer": "^5.6.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/level-concat-iterator": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/level-concat-iterator/-/level-concat-iterator-2.0.1.tgz", + "integrity": "sha512-OTKKOqeav2QWcERMJR7IS9CUo1sHnke2C0gkSmcR7QuEtFNLLzHQAvnMw8ykvEcv0Qtkg0p7FOwP1v9e5Smdcw==", + "engines": { + "node": ">=6" + } + }, + "node_modules/level-errors": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/level-errors/-/level-errors-2.0.1.tgz", + "integrity": "sha512-UVprBJXite4gPS+3VznfgDSU8PTRuVX0NXwoWW50KLxd2yw4Y1t2JUR5In1itQnudZqRMT9DlAM3Q//9NCjCFw==", + "dependencies": { + "errno": "~0.1.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/level-iterator-stream": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/level-iterator-stream/-/level-iterator-stream-4.0.2.tgz", + "integrity": "sha512-ZSthfEqzGSOMWoUGhTXdX9jv26d32XJuHz/5YnuHZzH6wldfWMOVwI9TBtKcya4BKTyTt3XVA0A3cF3q5CY30Q==", + "dependencies": { + "inherits": "^2.0.4", + "readable-stream": "^3.4.0", + "xtend": "^4.0.2" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/level-mem": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/level-mem/-/level-mem-5.0.1.tgz", + "integrity": "sha512-qd+qUJHXsGSFoHTziptAKXoLX87QjR7v2KMbqncDXPxQuCdsQlzmyX+gwrEHhlzn08vkf8TyipYyMmiC6Gobzg==", + "dependencies": { + "level-packager": "^5.0.3", + "memdown": "^5.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/level-packager": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/level-packager/-/level-packager-5.1.1.tgz", + "integrity": "sha512-HMwMaQPlTC1IlcwT3+swhqf/NUO+ZhXVz6TY1zZIIZlIR0YSn8GtAAWmIvKjNY16ZkEg/JcpAuQskxsXqC0yOQ==", + "dependencies": { + "encoding-down": "^6.3.0", + "levelup": "^4.3.2" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/level-supports": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/level-supports/-/level-supports-1.0.1.tgz", + "integrity": "sha512-rXM7GYnW8gsl1vedTJIbzOrRv85c/2uCMpiiCzO2fndd06U/kUXEEU9evYn4zFggBOg36IsBW8LzqIpETwwQzg==", + "dependencies": { + "xtend": "^4.0.2" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/level-ws": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/level-ws/-/level-ws-2.0.0.tgz", + "integrity": "sha512-1iv7VXx0G9ec1isqQZ7y5LmoZo/ewAsyDHNA8EFDW5hqH2Kqovm33nSFkSdnLLAK+I5FlT+lo5Cw9itGe+CpQA==", + "dependencies": { + "inherits": "^2.0.3", + "readable-stream": "^3.1.0", + "xtend": "^4.0.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/levelup": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/levelup/-/levelup-4.4.0.tgz", + "integrity": "sha512-94++VFO3qN95cM/d6eBXvd894oJE0w3cInq9USsyQzzoJxmiYzPAocNcuGCPGGjoXqDVJcr3C1jzt1TSjyaiLQ==", + "dependencies": { + "deferred-leveldown": "~5.3.0", + "level-errors": "~2.0.0", + "level-iterator-stream": "~4.0.0", + "level-supports": "~1.0.0", + "xtend": "~4.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/load-json-file": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", + "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", + "dev": true, + "dependencies": { + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0", + "strip-bom": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "dependencies": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + }, + "node_modules/lodash.assign": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.assign/-/lodash.assign-4.2.0.tgz", + "integrity": "sha1-DZnzzNem0mHRm9rrkkUAXShYCOc=", + "dev": true + }, + "node_modules/log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "dependencies": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/log-symbols/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/log-symbols/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/log-symbols/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/log-symbols/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "node_modules/log-symbols/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/log-symbols/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/loupe": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.4.tgz", + "integrity": "sha512-OvKfgCC2Ndby6aSTREl5aCCPTNIzlDfQZvZxNUrBrihDhL3xcrYegTblhmEiCrg2kKQz4XsFIaemE5BF4ybSaQ==", + "dev": true, + "dependencies": { + "get-func-name": "^2.0.0" + } + }, + "node_modules/lru_map": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/lru_map/-/lru_map-0.3.3.tgz", + "integrity": "sha1-tcg1G5Rky9dQM1p5ZQoOwOVhGN0=" + }, + "node_modules/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "node_modules/ltgt": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ltgt/-/ltgt-2.2.1.tgz", + "integrity": "sha1-81ypHEk/e3PaDgdJUwTxezH4fuU=" + }, + "node_modules/markdown-table": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-1.1.3.tgz", + "integrity": "sha512-1RUZVgQlpJSPWYbFSpmudq5nHY1doEIv89gBtF0s4gW1GF2XorxcA/70M5vq7rLv0a6mhOUccRsqkwhwLCIQ2Q==" + }, + "node_modules/mcl-wasm": { + "version": "0.7.9", + "resolved": "https://registry.npmjs.org/mcl-wasm/-/mcl-wasm-0.7.9.tgz", + "integrity": "sha512-iJIUcQWA88IJB/5L15GnJVnSQJmf/YaxxV6zRavv83HILHaJQb6y0iFyDMdDO0gN8X37tdxmAOrH/P8B6RB8sQ==", + "engines": { + "node": ">=8.9.0" + } + }, + "node_modules/md5.js": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", + "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", + "dependencies": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "node_modules/memdown": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/memdown/-/memdown-5.1.0.tgz", + "integrity": "sha512-B3J+UizMRAlEArDjWHTMmadet+UKwHd3UjMgGBkZcKAxAYVPS9o0Yeiha4qvz7iGiL2Sb3igUft6p7nbFWctpw==", + "dependencies": { + "abstract-leveldown": "~6.2.1", + "functional-red-black-tree": "~1.0.1", + "immediate": "~3.2.3", + "inherits": "~2.0.1", + "ltgt": "~2.2.0", + "safe-buffer": "~5.2.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/memdown/node_modules/abstract-leveldown": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-6.2.3.tgz", + "integrity": "sha512-BsLm5vFMRUrrLeCcRc+G0t2qOaTzpoJQLOubq2XM72eNpjF5UdU5o/5NvlNhx95XHcAvcl8OMXr4mlg/fRgUXQ==", + "dependencies": { + "buffer": "^5.5.0", + "immediate": "^3.2.3", + "level-concat-iterator": "~2.0.0", + "level-supports": "~1.0.0", + "xtend": "~4.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/memdown/node_modules/immediate": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.2.3.tgz", + "integrity": "sha1-0UD6j2FGWb1lQSMwl92qwlzdmRw=" + }, + "node_modules/memorystream": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/memorystream/-/memorystream-0.3.1.tgz", + "integrity": "sha1-htcJCzDORV1j+64S3aUaR93K+bI=", + "engines": { + "node": ">= 0.10.0" + } + }, + "node_modules/merkle-patricia-tree": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/merkle-patricia-tree/-/merkle-patricia-tree-4.2.3.tgz", + "integrity": "sha512-S4xevdXl5KvdBGgUxhQcxoep0onqXiIhzfwZp4M78kIuJH3Pu9o9IUgqhzSFOR2ykLO6t265026Xb6PY0q2UFQ==", + "dependencies": { + "@types/levelup": "^4.3.0", + "ethereumjs-util": "^7.1.4", + "level-mem": "^5.0.1", + "level-ws": "^2.0.0", + "readable-stream": "^3.6.0", + "semaphore-async-await": "^1.5.1" + } + }, + "node_modules/micromatch": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", + "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "dev": true, + "dependencies": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/miller-rabin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", + "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", + "dependencies": { + "bn.js": "^4.0.0", + "brorand": "^1.0.1" + }, + "bin": { + "miller-rabin": "bin/miller-rabin" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/minimalistic-assert": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" + }, + "node_modules/minimalistic-crypto-utils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", + "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=" + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minimist": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" + }, + "node_modules/mkdirp": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", + "dependencies": { + "minimist": "^1.2.5" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "node_modules/mnemonist": { + "version": "0.38.5", + "resolved": "https://registry.npmjs.org/mnemonist/-/mnemonist-0.38.5.tgz", + "integrity": "sha512-bZTFT5rrPKtPJxj8KSV0WkPyNxl72vQepqqVUAW2ARUpUSF2qXMB6jZj7hW5/k7C1rtpzqbD/IIbJwLXUjCHeg==", + "dependencies": { + "obliterator": "^2.0.0" + } + }, + "node_modules/mocha": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-9.2.2.tgz", + "integrity": "sha512-L6XC3EdwT6YrIk0yXpavvLkn8h+EU+Y5UcCHKECyMbdUIxyMuZj4bX4U9e1nvnvUUvQVsV2VHQr5zLdcUkhW/g==", + "dependencies": { + "@ungap/promise-all-settled": "1.1.2", + "ansi-colors": "4.1.1", + "browser-stdout": "1.3.1", + "chokidar": "3.5.3", + "debug": "4.3.3", + "diff": "5.0.0", + "escape-string-regexp": "4.0.0", + "find-up": "5.0.0", + "glob": "7.2.0", + "growl": "1.10.5", + "he": "1.2.0", + "js-yaml": "4.1.0", + "log-symbols": "4.1.0", + "minimatch": "4.2.1", + "ms": "2.1.3", + "nanoid": "3.3.1", + "serialize-javascript": "6.0.0", + "strip-json-comments": "3.1.1", + "supports-color": "8.1.1", + "which": "2.0.2", + "workerpool": "6.2.0", + "yargs": "16.2.0", + "yargs-parser": "20.2.4", + "yargs-unparser": "2.0.0" + }, + "bin": { + "_mocha": "bin/_mocha", + "mocha": "bin/mocha" + }, + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mochajs" + } + }, + "node_modules/mocha/node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mocha/node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mocha/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/mocha/node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mocha/node_modules/minimatch": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-4.2.1.tgz", + "integrity": "sha512-9Uq1ChtSZO+Mxa/CL1eGizn2vRn3MlLgzhT0Iz8zaY8NdvxvB0d5QdPFmCKf7JKA9Lerx5vRrnwO03jsSfGG9g==", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/mocha/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + }, + "node_modules/mocha/node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mocha/node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mocha/node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "engines": { + "node": ">=8" + } + }, + "node_modules/mocha/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "node_modules/nan": { + "version": "2.15.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.15.0.tgz", + "integrity": "sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ==" + }, + "node_modules/nanoid": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.1.tgz", + "integrity": "sha512-n6Vs/3KGyxPQd6uO0eH4Bv0ojGSUvuLlIHtC3Y0kEO23YRge8H9x1GCzLn28YX0H66pMkxuaeESFq4tKISKwdw==", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/nice-try": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", + "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", + "dev": true + }, + "node_modules/node-addon-api": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-2.0.2.tgz", + "integrity": "sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA==" + }, + "node_modules/node-environment-flags": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/node-environment-flags/-/node-environment-flags-1.0.6.tgz", + "integrity": "sha512-5Evy2epuL+6TM0lCQGpFIj6KwiEsGh1SrHUhTbNX+sLbBtjidPZFAnVK9y5yU1+h//RitLbRHTIMyxQPtxMdHw==", + "dependencies": { + "object.getownpropertydescriptors": "^2.0.3", + "semver": "^5.7.0" + } + }, + "node_modules/node-environment-flags/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/node-fetch": { + "version": "2.6.7", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", + "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "dev": true, + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "node_modules/node-gyp-build": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.3.0.tgz", + "integrity": "sha512-iWjXZvmboq0ja1pUGULQBexmxq8CV4xBhX7VDOTbL7ZR4FOowwY/VOtRxBN/yKxmdGoIp4j5ysNT4u3S2pDQ3Q==", + "bin": { + "node-gyp-build": "bin.js", + "node-gyp-build-optional": "optional.js", + "node-gyp-build-test": "build-test.js" + } + }, + "node_modules/nofilter": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/nofilter/-/nofilter-3.1.0.tgz", + "integrity": "sha512-l2NNj07e9afPnhAhvgVrCD/oy2Ai1yfLpuo3EpiO1jFTsB4sFz6oIfAfSZyQzVpkZQ9xS8ZS5g1jCBgq4Hwo0g==", + "dev": true, + "engines": { + "node": ">=12.19" + } + }, + "node_modules/normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "dependencies": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "node_modules/normalize-package-data/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/number-is-nan": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/number-to-bn": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/number-to-bn/-/number-to-bn-1.7.0.tgz", + "integrity": "sha1-uzYjWS9+X54AMLGXe9QaDFP+HqA=", + "dev": true, + "dependencies": { + "bn.js": "4.11.6", + "strip-hex-prefix": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "node_modules/number-to-bn/node_modules/bn.js": { + "version": "4.11.6", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", + "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=", + "dev": true + }, + "node_modules/oauth-sign": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", + "engines": { + "node": "*" + } + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/object-inspect": { + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.0.tgz", + "integrity": "sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.assign": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz", + "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==", + "dependencies": { + "define-properties": "^1.1.2", + "function-bind": "^1.1.1", + "has-symbols": "^1.0.0", + "object-keys": "^1.0.11" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.getownpropertydescriptors": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.3.tgz", + "integrity": "sha512-VdDoCwvJI4QdC6ndjpqFmoL3/+HxffFBbcJzKi5hwLLqqx3mdbedRpfZDdK0SrOSauj8X4GzBvnDZl4vTN7dOw==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.1" + }, + "engines": { + "node": ">= 0.8" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/obliterator": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/obliterator/-/obliterator-2.0.2.tgz", + "integrity": "sha512-g0TrA7SbUggROhDPK8cEu/qpItwH2LSKcNl4tlfBNT54XY+nOsqrs0Q68h1V9b3HOSpIWv15jb1lax2hAggdIg==" + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/open": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/open/-/open-7.4.2.tgz", + "integrity": "sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q==", + "dev": true, + "dependencies": { + "is-docker": "^2.0.0", + "is-wsl": "^2.1.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/os-locale": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", + "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=", + "dev": true, + "dependencies": { + "lcid": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dependencies": { + "p-try": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "dependencies": { + "p-limit": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/p-map": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", + "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", + "dependencies": { + "aggregate-error": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", + "engines": { + "node": ">=4" + } + }, + "node_modules/parse-cache-control": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parse-cache-control/-/parse-cache-control-1.0.1.tgz", + "integrity": "sha1-juqz5U+laSD+Fro493+iGqzC104=" + }, + "node_modules/parse-json": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", + "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", + "dev": true, + "dependencies": { + "error-ex": "^1.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/patch-package": { + "version": "6.4.7", + "resolved": "https://registry.npmjs.org/patch-package/-/patch-package-6.4.7.tgz", + "integrity": "sha512-S0vh/ZEafZ17hbhgqdnpunKDfzHQibQizx9g8yEf5dcVk3KOflOfdufRXQX8CSEkyOQwuM/bNz1GwKvFj54kaQ==", + "dev": true, + "dependencies": { + "@yarnpkg/lockfile": "^1.1.0", + "chalk": "^2.4.2", + "cross-spawn": "^6.0.5", + "find-yarn-workspace-root": "^2.0.0", + "fs-extra": "^7.0.1", + "is-ci": "^2.0.0", + "klaw-sync": "^6.0.0", + "minimist": "^1.2.0", + "open": "^7.4.2", + "rimraf": "^2.6.3", + "semver": "^5.6.0", + "slash": "^2.0.0", + "tmp": "^0.0.33" + }, + "bin": { + "patch-package": "index.js" + }, + "engines": { + "npm": ">5" + } + }, + "node_modules/patch-package/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/patch-package/node_modules/slash": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", + "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/path-browserify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", + "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==", + "dev": true + }, + "node_modules/path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "engines": { + "node": ">=4" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-key": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", + "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" + }, + "node_modules/path-type": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", + "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", + "dev": true, + "dependencies": { + "graceful-fs": "^4.1.2", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/pathval": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", + "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/pbkdf2": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz", + "integrity": "sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA==", + "dependencies": { + "create-hash": "^1.1.2", + "create-hmac": "^1.1.4", + "ripemd160": "^2.0.1", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + }, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/pinkie": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", + "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/pinkie-promise": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", + "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", + "dev": true, + "dependencies": { + "pinkie": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/postinstall-postinstall": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/postinstall-postinstall/-/postinstall-postinstall-2.1.0.tgz", + "integrity": "sha512-7hQX6ZlZXIoRiWNrbMQaLzUUfH+sSx39u8EJ9HYuDc1kLo9IXKWjM5RSquZN1ad5GnH8CGFM78fsAAQi3OKEEQ==", + "dev": true, + "hasInstallScript": true + }, + "node_modules/prettier": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.6.2.tgz", + "integrity": "sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew==", + "dev": true, + "bin": { + "prettier": "bin-prettier.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "node_modules/printj": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/printj/-/printj-1.3.1.tgz", + "integrity": "sha512-GA3TdL8szPK4AQ2YnOe/b+Y1jUFwmmGMMK/qbY7VcE3Z7FU8JstbKiKRzO6CIiAKPhTO8m01NoQ0V5f3jc4OGg==", + "bin": { + "printj": "bin/printj.njs" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" + }, + "node_modules/promise": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/promise/-/promise-8.1.0.tgz", + "integrity": "sha512-W04AqnILOL/sPRXziNicCjSNRruLAuIHEOVBazepu0545DDNGYHz7ar9ZgZ1fMU8/MA4mVxp5rkBWRi6OXIy3Q==", + "dependencies": { + "asap": "~2.0.6" + } + }, + "node_modules/proper-lockfile": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/proper-lockfile/-/proper-lockfile-4.1.2.tgz", + "integrity": "sha512-TjNPblN4BwAWMXU8s9AEz4JmQxnD1NNL7bNOY/AKUzyamc379FWASUhc/K1pL2noVb+XmZKLL68cjzLsiOAMaA==", + "dev": true, + "dependencies": { + "graceful-fs": "^4.2.4", + "retry": "^0.12.0", + "signal-exit": "^3.0.2" + } + }, + "node_modules/prr": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", + "integrity": "sha1-0/wRS6BplaRexok/SEzrHXj19HY=" + }, + "node_modules/psl": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==" + }, + "node_modules/punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "engines": { + "node": ">=6" + } + }, + "node_modules/qs": { + "version": "6.10.3", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.3.tgz", + "integrity": "sha512-wr7M2E0OFRfIfJZjKGieI8lBKb7fRCH4Fv5KNPEs7gJ8jadvotdsS08PzOKR7opXhZ/Xkjtt3WF9g38drmyRqQ==", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/querystring": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", + "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", + "deprecated": "The querystring API is considered Legacy. new code should use the URLSearchParams API instead.", + "dev": true, + "engines": { + "node": ">=0.4.x" + } + }, + "node_modules/randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dependencies": { + "safe-buffer": "^5.1.0" + } + }, + "node_modules/raw-body": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz", + "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/read-pkg": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", + "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", + "dev": true, + "dependencies": { + "load-json-file": "^1.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/read-pkg-up": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", + "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", + "dev": true, + "dependencies": { + "find-up": "^1.0.0", + "read-pkg": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/read-pkg-up/node_modules/find-up": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", + "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", + "dev": true, + "dependencies": { + "path-exists": "^2.0.0", + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/read-pkg-up/node_modules/path-exists": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", + "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", + "dev": true, + "dependencies": { + "pinkie-promise": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/req-cwd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/req-cwd/-/req-cwd-2.0.0.tgz", + "integrity": "sha1-1AgrTURZgDZkD7c93qAe1T20nrw=", + "dependencies": { + "req-from": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/req-from": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/req-from/-/req-from-2.0.0.tgz", + "integrity": "sha1-10GI5H+TeW9Kpx327jWuaJ8+DnA=", + "dependencies": { + "resolve-from": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/request": { + "version": "2.88.2", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", + "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", + "deprecated": "request has been deprecated, see https://github.com/request/request/issues/3142", + "dependencies": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/request-promise-core": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.4.tgz", + "integrity": "sha512-TTbAfBBRdWD7aNNOoVOBH4pN/KigV6LyapYNNlAPA8JwbovRti1E88m3sYAwsLi5ryhPKsE9APwnjFTgdUjTpw==", + "dependencies": { + "lodash": "^4.17.19" + }, + "engines": { + "node": ">=0.10.0" + }, + "peerDependencies": { + "request": "^2.34" + } + }, + "node_modules/request-promise-native": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/request-promise-native/-/request-promise-native-1.0.9.tgz", + "integrity": "sha512-wcW+sIUiWnKgNY0dqCpOZkUbF/I+YPi+f09JZIDa39Ec+q82CpSYniDp+ISgTTbKmnpJWASeJBPZmoxH84wt3g==", + "deprecated": "request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142", + "dependencies": { + "request-promise-core": "1.1.4", + "stealthy-require": "^1.1.1", + "tough-cookie": "^2.3.3" + }, + "engines": { + "node": ">=0.12.0" + }, + "peerDependencies": { + "request": "^2.34" + } + }, + "node_modules/request/node_modules/qs": { + "version": "6.5.3", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz", + "integrity": "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/request/node_modules/uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", + "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", + "bin": { + "uuid": "bin/uuid" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/require-main-filename": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", + "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==" + }, + "node_modules/resolve": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz", + "integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==", + "dependencies": { + "path-parse": "^1.0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve-from": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", + "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=", + "engines": { + "node": ">=4" + } + }, + "node_modules/retry": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", + "integrity": "sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs=", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/rimraf": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "node_modules/ripemd160": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", + "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", + "dependencies": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1" + } + }, + "node_modules/rlp": { + "version": "2.2.7", + "resolved": "https://registry.npmjs.org/rlp/-/rlp-2.2.7.tgz", + "integrity": "sha512-d5gdPmgQ0Z+AklL2NVXr/IoSjNZFfTVvQWzL/AM2AOcSzYP2xjlb0AC8YyCLc41MSNf6P6QVtjgPdmVtzb+4lQ==", + "dependencies": { + "bn.js": "^5.2.0" + }, + "bin": { + "rlp": "bin/rlp" + } + }, + "node_modules/rlp/node_modules/bn.js": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz", + "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==" + }, + "node_modules/rustbn.js": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/rustbn.js/-/rustbn.js-0.2.0.tgz", + "integrity": "sha512-4VlvkRUuCJvr2J6Y0ImW7NvTCriMi7ErOAqWk1y69vAdoNIzCF3yPmgeNzx+RQTLEDFq5sHfscn1MwHxP9hNfA==" + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "node_modules/scrypt-js": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/scrypt-js/-/scrypt-js-3.0.1.tgz", + "integrity": "sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA==" + }, + "node_modules/secp256k1": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-4.0.3.tgz", + "integrity": "sha512-NLZVf+ROMxwtEj3Xa562qgv2BK5e2WNmXPiOdVIPLgs6lyTzMvBq0aWTYMI5XCP9jZMVKOcqZLw/Wc4vDkuxhA==", + "hasInstallScript": true, + "dependencies": { + "elliptic": "^6.5.4", + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/semaphore-async-await": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/semaphore-async-await/-/semaphore-async-await-1.5.1.tgz", + "integrity": "sha1-hXvvXjZEYBykuVcLh+nfXKEpdPo=", + "engines": { + "node": ">=4.1" + } + }, + "node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/serialize-javascript": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", + "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", + "dependencies": { + "randombytes": "^2.1.0" + } + }, + "node_modules/set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=" + }, + "node_modules/setimmediate": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=" + }, + "node_modules/setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" + }, + "node_modules/sha.js": { + "version": "2.4.11", + "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", + "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", + "dependencies": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + }, + "bin": { + "sha.js": "bin.js" + } + }, + "node_modules/sha1": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/sha1/-/sha1-1.1.1.tgz", + "integrity": "sha1-rdqnqTFo85PxnrKxUJFhjicA+Eg=", + "dependencies": { + "charenc": ">= 0.0.1", + "crypt": ">= 0.0.1" + }, + "engines": { + "node": "*" + } + }, + "node_modules/shebang-command": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", + "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", + "dev": true, + "dependencies": { + "shebang-regex": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/shebang-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", + "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "dependencies": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "dev": true + }, + "node_modules/slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "engines": { + "node": ">=8" + } + }, + "node_modules/solc": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/solc/-/solc-0.7.3.tgz", + "integrity": "sha512-GAsWNAjGzIDg7VxzP6mPjdurby3IkGCjQcM8GFYZT6RyaoUZKmMU6Y7YwG+tFGhv7dwZ8rmR4iwFDrrD99JwqA==", + "dependencies": { + "command-exists": "^1.2.8", + "commander": "3.0.2", + "follow-redirects": "^1.12.1", + "fs-extra": "^0.30.0", + "js-sha3": "0.8.0", + "memorystream": "^0.3.1", + "require-from-string": "^2.0.0", + "semver": "^5.5.0", + "tmp": "0.0.33" + }, + "bin": { + "solcjs": "solcjs" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/solc/node_modules/fs-extra": { + "version": "0.30.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-0.30.0.tgz", + "integrity": "sha1-8jP/zAjU2n1DLapEl3aYnbHfk/A=", + "dependencies": { + "graceful-fs": "^4.1.2", + "jsonfile": "^2.1.0", + "klaw": "^1.0.0", + "path-is-absolute": "^1.0.0", + "rimraf": "^2.2.8" + } + }, + "node_modules/solc/node_modules/jsonfile": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", + "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/solc/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/solidity-ast": { + "version": "0.4.30", + "resolved": "https://registry.npmjs.org/solidity-ast/-/solidity-ast-0.4.30.tgz", + "integrity": "sha512-3xsQIbZEPx6w7+sQokuOvk1RkMb5GIpuK0GblQDIH6IAkU4+uyJQVJIRNP+8KwhzkViwRKq0hS4zLqQNLKpxOA==", + "dev": true + }, + "node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-support": { + "version": "0.5.21", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "node_modules/spdx-correct": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", + "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", + "dev": true, + "dependencies": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-exceptions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", + "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", + "dev": true + }, + "node_modules/spdx-expression-parse": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "dev": true, + "dependencies": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-license-ids": { + "version": "3.0.11", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.11.tgz", + "integrity": "sha512-Ctl2BrFiM0X3MANYgj3CkygxhRmr9mi6xhejbdO960nF6EDJApTYpn0BQnDKlnNBULKiCN1n3w9EBkHK8ZWg+g==", + "dev": true + }, + "node_modules/sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" + }, + "node_modules/sshpk": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.17.0.tgz", + "integrity": "sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ==", + "dependencies": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "bin": { + "sshpk-conv": "bin/sshpk-conv", + "sshpk-sign": "bin/sshpk-sign", + "sshpk-verify": "bin/sshpk-verify" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/sshpk/node_modules/tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" + }, + "node_modules/stacktrace-parser": { + "version": "0.1.10", + "resolved": "https://registry.npmjs.org/stacktrace-parser/-/stacktrace-parser-0.1.10.tgz", + "integrity": "sha512-KJP1OCML99+8fhOHxwwzyWrlUuVX5GQ0ZpJTd1DFXhdkrvg1szxfHhawXUZ3g9TkXORQd4/WG68jMlQZ2p8wlg==", + "dependencies": { + "type-fest": "^0.7.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/stacktrace-parser/node_modules/type-fest": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.7.1.tgz", + "integrity": "sha512-Ne2YiiGN8bmrmJJEuTWTLJR32nh/JdL1+PSicowtNb0WFpn59GK8/lfD61bVtzguz7b3PBt74nxpv/Pw5po5Rg==", + "engines": { + "node": ">=8" + } + }, + "node_modules/statuses": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", + "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/stealthy-require": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/stealthy-require/-/stealthy-require-1.1.1.tgz", + "integrity": "sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks=", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "dependencies": { + "safe-buffer": "~5.2.0" + } + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string.prototype.trimend": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", + "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimstart": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz", + "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-bom": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", + "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", + "dev": true, + "dependencies": { + "is-utf8": "^0.2.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/strip-hex-prefix": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/strip-hex-prefix/-/strip-hex-prefix-1.0.0.tgz", + "integrity": "sha1-DF8VX+8RUTczd96du1iNoFUA428=", + "dependencies": { + "is-hex-prefixed": "1.0.0" + }, + "engines": { + "node": ">=6.5.0", + "npm": ">=3" + } + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/sync-request": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/sync-request/-/sync-request-6.1.0.tgz", + "integrity": "sha512-8fjNkrNlNCrVc/av+Jn+xxqfCjYaBoHqCsDz6mt030UMxJGr+GSfCV1dQt2gRtlL63+VPidwDVLr7V2OcTSdRw==", + "dependencies": { + "http-response-object": "^3.0.1", + "sync-rpc": "^1.2.1", + "then-request": "^6.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/sync-rpc": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/sync-rpc/-/sync-rpc-1.3.6.tgz", + "integrity": "sha512-J8jTXuZzRlvU7HemDgHi3pGnh/rkoqR/OZSjhTyyZrEkkYQbk7Z33AXp37mkPfPpfdOuj7Ex3H/TJM1z48uPQw==", + "dependencies": { + "get-port": "^3.1.0" + } + }, + "node_modules/test-value": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/test-value/-/test-value-2.1.0.tgz", + "integrity": "sha1-Edpv9nDzRxpztiXKTz/c97t0gpE=", + "dev": true, + "dependencies": { + "array-back": "^1.0.3", + "typical": "^2.6.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/test-value/node_modules/array-back": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-1.0.4.tgz", + "integrity": "sha1-ZEun8JX3/898Q7Xw3DnTwfA8Bjs=", + "dev": true, + "dependencies": { + "typical": "^2.6.0" + }, + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/testrpc": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/testrpc/-/testrpc-0.0.1.tgz", + "integrity": "sha512-afH1hO+SQ/VPlmaLUFj2636QMeDvPCeQMc/9RBMW0IfjNe9gFD9Ra3ShqYkB7py0do1ZcCna/9acHyzTJ+GcNA==", + "deprecated": "testrpc has been renamed to ganache-cli, please use this package from now on.", + "dev": true + }, + "node_modules/then-request": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/then-request/-/then-request-6.0.2.tgz", + "integrity": "sha512-3ZBiG7JvP3wbDzA9iNY5zJQcHL4jn/0BWtXIkagfz7QgOL/LqjCEOBQuJNZfu0XYnv5JhKh+cDxCPM4ILrqruA==", + "dependencies": { + "@types/concat-stream": "^1.6.0", + "@types/form-data": "0.0.33", + "@types/node": "^8.0.0", + "@types/qs": "^6.2.31", + "caseless": "~0.12.0", + "concat-stream": "^1.6.0", + "form-data": "^2.2.0", + "http-basic": "^8.1.1", + "http-response-object": "^3.0.1", + "promise": "^8.0.0", + "qs": "^6.4.0" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/then-request/node_modules/@types/node": { + "version": "8.10.66", + "resolved": "https://registry.npmjs.org/@types/node/-/node-8.10.66.tgz", + "integrity": "sha512-tktOkFUA4kXx2hhhrB8bIFb5TbwzS4uOhKEmwiD+NoiL0qtP2OQ9mFldbgD4dV1djrlBYP6eBuQZiWjuHUpqFw==" + }, + "node_modules/tmp": { + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", + "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", + "dependencies": { + "os-tmpdir": "~1.0.2" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/tough-cookie": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", + "dependencies": { + "psl": "^1.1.28", + "punycode": "^2.1.1" + }, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=", + "dev": true + }, + "node_modules/true-case-path": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/true-case-path/-/true-case-path-2.2.1.tgz", + "integrity": "sha512-0z3j8R7MCjy10kc/g+qg7Ln3alJTodw9aDuVWZa3uiWqfuBMKeAeP2ocWcxoyM3D73yz3Jt/Pu4qPr4wHSdB/Q==" + }, + "node_modules/ts-essentials": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/ts-essentials/-/ts-essentials-1.0.4.tgz", + "integrity": "sha512-q3N1xS4vZpRouhYHDPwO0bDW3EZ6SK9CrrDHxi/D6BPReSjpVgWIOpLS2o0gSBZm+7q/wyKp6RVM1AeeW7uyfQ==", + "dev": true + }, + "node_modules/ts-generator": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/ts-generator/-/ts-generator-0.1.1.tgz", + "integrity": "sha512-N+ahhZxTLYu1HNTQetwWcx3so8hcYbkKBHTr4b4/YgObFTIKkOSSsaa+nal12w8mfrJAyzJfETXawbNjSfP2gQ==", + "dev": true, + "dependencies": { + "@types/mkdirp": "^0.5.2", + "@types/prettier": "^2.1.1", + "@types/resolve": "^0.0.8", + "chalk": "^2.4.1", + "glob": "^7.1.2", + "mkdirp": "^0.5.1", + "prettier": "^2.1.2", + "resolve": "^1.8.1", + "ts-essentials": "^1.0.0" + }, + "bin": { + "ts-generator": "dist/cli/run.js" + } + }, + "node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + }, + "node_modules/tsort": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/tsort/-/tsort-0.0.1.tgz", + "integrity": "sha1-4igPXoF/i/QnVlf9D5rr1E9aJ4Y=" + }, + "node_modules/tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, + "node_modules/tweetnacl": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.3.tgz", + "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==" + }, + "node_modules/tweetnacl-util": { + "version": "0.15.1", + "resolved": "https://registry.npmjs.org/tweetnacl-util/-/tweetnacl-util-0.15.1.tgz", + "integrity": "sha512-RKJBIj8lySrShN4w6i/BonWp2Z/uxwC3h4y7xsRrpP59ZboCd0GpEVsOnMDYLMmKBpYhb5TgHzZXy7wTfYFBRw==" + }, + "node_modules/type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/type-fest": { + "version": "0.21.3", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", + "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/typechain": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/typechain/-/typechain-3.0.0.tgz", + "integrity": "sha512-ft4KVmiN3zH4JUFu2WJBrwfHeDf772Tt2d8bssDTo/YcckKW2D+OwFrHXRC6hJvO3mHjFQTihoMV6fJOi0Hngg==", + "dev": true, + "dependencies": { + "command-line-args": "^4.0.7", + "debug": "^4.1.1", + "fs-extra": "^7.0.0", + "js-sha3": "^0.8.0", + "lodash": "^4.17.15", + "ts-essentials": "^6.0.3", + "ts-generator": "^0.1.1" + }, + "bin": { + "typechain": "dist/cli/cli.js" + } + }, + "node_modules/typechain/node_modules/ts-essentials": { + "version": "6.0.7", + "resolved": "https://registry.npmjs.org/ts-essentials/-/ts-essentials-6.0.7.tgz", + "integrity": "sha512-2E4HIIj4tQJlIHuATRHayv0EfMGK3ris/GRk1E3CFnsZzeNV+hUmelbaTZHLtXaZppM5oLhHRtO04gINC4Jusw==", + "dev": true, + "peerDependencies": { + "typescript": ">=3.7.0" + } + }, + "node_modules/typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=" + }, + "node_modules/typescript": { + "version": "4.6.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.6.3.tgz", + "integrity": "sha512-yNIatDa5iaofVozS/uQJEl3JRWLKKGJKh6Yaiv0GLGSuhpFJe7P3SbHZ8/yjAHRQwKRoA6YZqlfjXWmVzoVSMw==", + "dev": true, + "peer": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=4.2.0" + } + }, + "node_modules/typical": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/typical/-/typical-2.6.1.tgz", + "integrity": "sha1-XAgOXWYcu+OCWdLnCjxyU+hziB0=", + "dev": true + }, + "node_modules/unbox-primitive": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz", + "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==", + "dependencies": { + "function-bind": "^1.1.1", + "has-bigints": "^1.0.1", + "has-symbols": "^1.0.2", + "which-boxed-primitive": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/undici": { + "version": "4.15.1", + "resolved": "https://registry.npmjs.org/undici/-/undici-4.15.1.tgz", + "integrity": "sha512-h8LJybhMKD09IyQZoQadNtIR/GmugVhTOVREunJrpV6RStriKBFdSVoFzEzTihwXi/27DIBO+Z0OGF+Mzfi0lA==", + "engines": { + "node": ">=12.18" + } + }, + "node_modules/universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "engines": { + "node": ">= 4.0.0" + } + }, + "node_modules/unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/url": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", + "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=", + "dev": true, + "dependencies": { + "punycode": "1.3.2", + "querystring": "0.2.0" + } + }, + "node_modules/url/node_modules/punycode": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", + "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=", + "dev": true + }, + "node_modules/utf8": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/utf8/-/utf8-3.0.0.tgz", + "integrity": "sha512-E8VjFIQ/TyQgp+TZfS6l8yp/xWppSAHzidGiRrqe4bK4XP9pTRyKFgGJpO3SN7zdX4DeomTrwaseCHovfpFcqQ==", + "dev": true + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + }, + "node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, + "dependencies": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, + "node_modules/verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "engines": [ + "node >=0.6.0" + ], + "dependencies": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "node_modules/web3-utils": { + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.7.1.tgz", + "integrity": "sha512-fef0EsqMGJUgiHPdX+KN9okVWshbIumyJPmR+btnD1HgvoXijKEkuKBv0OmUqjbeqmLKP2/N9EiXKJel5+E1Dw==", + "dev": true, + "dependencies": { + "bn.js": "^4.11.9", + "ethereum-bloom-filters": "^1.0.6", + "ethereumjs-util": "^7.1.0", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=", + "dev": true + }, + "node_modules/whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=", + "dev": true, + "dependencies": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dependencies": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/which-module": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", + "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=" + }, + "node_modules/wide-align": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", + "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", + "dependencies": { + "string-width": "^1.0.2 || 2" + } + }, + "node_modules/wide-align/node_modules/ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "engines": { + "node": ">=4" + } + }, + "node_modules/wide-align/node_modules/is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "engines": { + "node": ">=4" + } + }, + "node_modules/wide-align/node_modules/string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dependencies": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/wide-align/node_modules/strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dependencies": { + "ansi-regex": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/window-size": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.2.0.tgz", + "integrity": "sha1-tDFbtCFKPXBY6+7okuE/ok2YsHU=", + "dev": true, + "bin": { + "window-size": "cli.js" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "node_modules/workerpool": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.0.tgz", + "integrity": "sha512-Rsk5qQHJ9eowMH28Jwhe8HEbmdYDX4lwoMWshiCXugjtHqMD9ZbiqSDLxcsfdqsETPzVUtX5s1Z5kStiIM6l4A==" + }, + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/wrap-ansi/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" + }, + "node_modules/ws": { + "version": "7.4.6", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz", + "integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==", + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/xmlhttprequest": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/xmlhttprequest/-/xmlhttprequest-1.8.0.tgz", + "integrity": "sha1-Z/4HXFwk/vOfnWX197f+dRcZaPw=", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/xtend": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", + "engines": { + "node": ">=0.4" + } + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "engines": { + "node": ">=10" + } + }, + "node_modules/yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==" + }, + "node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs-parser": { + "version": "20.2.4", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", + "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs-unparser": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", + "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", + "dependencies": { + "camelcase": "^6.0.0", + "decamelize": "^4.0.0", + "flat": "^5.0.2", + "is-plain-obj": "^2.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + } + }, + "dependencies": { + "@ensdomains/ens": { + "version": "0.4.5", + "resolved": "https://registry.npmjs.org/@ensdomains/ens/-/ens-0.4.5.tgz", + "integrity": "sha512-JSvpj1iNMFjK6K+uVl4unqMoa9rf5jopb8cya5UGBWz23Nw8hSNT7efgUx4BTlAPAgpNlEioUfeTyQ6J9ZvTVw==", + "dev": true, + "requires": { + "bluebird": "^3.5.2", + "eth-ens-namehash": "^2.0.8", + "solc": "^0.4.20", + "testrpc": "0.0.1", + "web3-utils": "^1.0.0-beta.31" + }, + "dependencies": { + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true + }, + "camelcase": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", + "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=", + "dev": true + }, + "cliui": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", + "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", + "dev": true, + "requires": { + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wrap-ansi": "^2.0.0" + } + }, + "decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", + "dev": true + }, + "fs-extra": { + "version": "0.30.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-0.30.0.tgz", + "integrity": "sha1-8jP/zAjU2n1DLapEl3aYnbHfk/A=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "jsonfile": "^2.1.0", + "klaw": "^1.0.0", + "path-is-absolute": "^1.0.0", + "rimraf": "^2.2.8" + } + }, + "get-caller-file": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz", + "integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w==", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "jsonfile": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", + "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6" + } + }, + "require-from-string": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-1.2.1.tgz", + "integrity": "sha1-UpyczvJzgK3+yaL5ZbZJu+5jZBg=", + "dev": true + }, + "require-main-filename": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz", + "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=", + "dev": true + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + }, + "solc": { + "version": "0.4.26", + "resolved": "https://registry.npmjs.org/solc/-/solc-0.4.26.tgz", + "integrity": "sha512-o+c6FpkiHd+HPjmjEVpQgH7fqZ14tJpXhho+/bQXlXbliLIS/xjXb42Vxh+qQY1WCSTMQ0+a5vR9vi0MfhU6mA==", + "dev": true, + "requires": { + "fs-extra": "^0.30.0", + "memorystream": "^0.3.1", + "require-from-string": "^1.1.0", + "semver": "^5.3.0", + "yargs": "^4.7.1" + } + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "requires": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + } + }, + "strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "dev": true, + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "which-module": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-1.0.0.tgz", + "integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8=", + "dev": true + }, + "wrap-ansi": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", + "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", + "dev": true, + "requires": { + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1" + } + }, + "y18n": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.2.tgz", + "integrity": "sha512-uGZHXkHnhF0XeeAPgnKfPv1bgKAYyVvmNL1xlKsPYZPaIHxGti2hHqvOCQv71XMsLxu1QjergkqogUnms5D3YQ==", + "dev": true + }, + "yargs": { + "version": "4.8.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-4.8.1.tgz", + "integrity": "sha1-wMQpJMpKqmsObaFznfshZDn53cA=", + "dev": true, + "requires": { + "cliui": "^3.2.0", + "decamelize": "^1.1.1", + "get-caller-file": "^1.0.1", + "lodash.assign": "^4.0.3", + "os-locale": "^1.4.0", + "read-pkg-up": "^1.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^1.0.1", + "set-blocking": "^2.0.0", + "string-width": "^1.0.1", + "which-module": "^1.0.0", + "window-size": "^0.2.0", + "y18n": "^3.2.1", + "yargs-parser": "^2.4.1" + } + }, + "yargs-parser": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-2.4.1.tgz", + "integrity": "sha1-hVaN488VD/SfpRgl8DqMiA3cxcQ=", + "dev": true, + "requires": { + "camelcase": "^3.0.0", + "lodash.assign": "^4.0.6" + } + } + } + }, + "@ensdomains/resolver": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/@ensdomains/resolver/-/resolver-0.2.4.tgz", + "integrity": "sha512-bvaTH34PMCbv6anRa9I/0zjLJgY4EuznbEMgbV77JBCQ9KNC46rzi0avuxpOfu+xDjPEtSFGqVEOr5GlUSGudA==", + "dev": true + }, + "@ethereum-waffle/chai": { + "version": "3.4.4", + "resolved": "https://registry.npmjs.org/@ethereum-waffle/chai/-/chai-3.4.4.tgz", + "integrity": "sha512-/K8czydBtXXkcM9X6q29EqEkc5dN3oYenyH2a9hF7rGAApAJUpH8QBtojxOY/xQ2up5W332jqgxwp0yPiYug1g==", + "dev": true, + "requires": { + "@ethereum-waffle/provider": "^3.4.4", + "ethers": "^5.5.2" + } + }, + "@ethereum-waffle/compiler": { + "version": "3.4.4", + "resolved": "https://registry.npmjs.org/@ethereum-waffle/compiler/-/compiler-3.4.4.tgz", + "integrity": "sha512-RUK3axJ8IkD5xpWjWoJgyHclOeEzDLQFga6gKpeGxiS/zBu+HB0W2FvsrrLalTFIaPw/CGYACRBSIxqiCqwqTQ==", + "dev": true, + "requires": { + "@resolver-engine/imports": "^0.3.3", + "@resolver-engine/imports-fs": "^0.3.3", + "@typechain/ethers-v5": "^2.0.0", + "@types/mkdirp": "^0.5.2", + "@types/node-fetch": "^2.5.5", + "ethers": "^5.0.1", + "mkdirp": "^0.5.1", + "node-fetch": "^2.6.1", + "solc": "^0.6.3", + "ts-generator": "^0.1.1", + "typechain": "^3.0.0" + }, + "dependencies": { + "fs-extra": { + "version": "0.30.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-0.30.0.tgz", + "integrity": "sha1-8jP/zAjU2n1DLapEl3aYnbHfk/A=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "jsonfile": "^2.1.0", + "klaw": "^1.0.0", + "path-is-absolute": "^1.0.0", + "rimraf": "^2.2.8" + } + }, + "jsonfile": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", + "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6" + } + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + }, + "solc": { + "version": "0.6.12", + "resolved": "https://registry.npmjs.org/solc/-/solc-0.6.12.tgz", + "integrity": "sha512-Lm0Ql2G9Qc7yPP2Ba+WNmzw2jwsrd3u4PobHYlSOxaut3TtUbj9+5ZrT6f4DUpNPEoBaFUOEg9Op9C0mk7ge9g==", + "dev": true, + "requires": { + "command-exists": "^1.2.8", + "commander": "3.0.2", + "fs-extra": "^0.30.0", + "js-sha3": "0.8.0", + "memorystream": "^0.3.1", + "require-from-string": "^2.0.0", + "semver": "^5.5.0", + "tmp": "0.0.33" + } + } + } + }, + "@ethereum-waffle/ens": { + "version": "3.4.4", + "resolved": "https://registry.npmjs.org/@ethereum-waffle/ens/-/ens-3.4.4.tgz", + "integrity": "sha512-0m4NdwWxliy3heBYva1Wr4WbJKLnwXizmy5FfSSr5PMbjI7SIGCdCB59U7/ZzY773/hY3bLnzLwvG5mggVjJWg==", + "dev": true, + "requires": { + "@ensdomains/ens": "^0.4.4", + "@ensdomains/resolver": "^0.2.4", + "ethers": "^5.5.2" + } + }, + "@ethereum-waffle/mock-contract": { + "version": "3.4.4", + "resolved": "https://registry.npmjs.org/@ethereum-waffle/mock-contract/-/mock-contract-3.4.4.tgz", + "integrity": "sha512-Mp0iB2YNWYGUV+VMl5tjPsaXKbKo8MDH9wSJ702l9EBjdxFf/vBvnMBAC1Fub1lLtmD0JHtp1pq+mWzg/xlLnA==", + "dev": true, + "requires": { + "@ethersproject/abi": "^5.5.0", + "ethers": "^5.5.2" + } + }, + "@ethereum-waffle/provider": { + "version": "3.4.4", + "resolved": "https://registry.npmjs.org/@ethereum-waffle/provider/-/provider-3.4.4.tgz", + "integrity": "sha512-GK8oKJAM8+PKy2nK08yDgl4A80mFuI8zBkE0C9GqTRYQqvuxIyXoLmJ5NZU9lIwyWVv5/KsoA11BgAv2jXE82g==", + "dev": true, + "requires": { + "@ethereum-waffle/ens": "^3.4.4", + "ethers": "^5.5.2", + "ganache-core": "^2.13.2", + "patch-package": "^6.2.2", + "postinstall-postinstall": "^2.1.0" + } + }, + "@ethereumjs/block": { + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/@ethereumjs/block/-/block-3.6.1.tgz", + "integrity": "sha512-o5d/zpGl4SdVfdTfrsq9ZgYMXddc0ucKMiFW5OphBCX+ep4xzYnSjboFcZXT2V/tcSBr84VrKWWp21CGVb3DGw==", + "requires": { + "@ethereumjs/common": "^2.6.1", + "@ethereumjs/tx": "^3.5.0", + "ethereumjs-util": "^7.1.4", + "merkle-patricia-tree": "^4.2.3" + } + }, + "@ethereumjs/blockchain": { + "version": "5.5.1", + "resolved": "https://registry.npmjs.org/@ethereumjs/blockchain/-/blockchain-5.5.1.tgz", + "integrity": "sha512-JS2jeKxl3tlaa5oXrZ8mGoVBCz6YqsGG350XVNtHAtNZXKk7pU3rH4xzF2ru42fksMMqzFLzKh9l4EQzmNWDqA==", + "requires": { + "@ethereumjs/block": "^3.6.0", + "@ethereumjs/common": "^2.6.0", + "@ethereumjs/ethash": "^1.1.0", + "debug": "^2.2.0", + "ethereumjs-util": "^7.1.3", + "level-mem": "^5.0.1", + "lru-cache": "^5.1.1", + "semaphore-async-await": "^1.5.1" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + } + } + }, + "@ethereumjs/common": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@ethereumjs/common/-/common-2.6.2.tgz", + "integrity": "sha512-vDwye5v0SVeuDky4MtKsu+ogkH2oFUV8pBKzH/eNBzT8oI91pKa8WyzDuYuxOQsgNgv5R34LfFDh2aaw3H4HbQ==", + "requires": { + "crc-32": "^1.2.0", + "ethereumjs-util": "^7.1.4" + } + }, + "@ethereumjs/ethash": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@ethereumjs/ethash/-/ethash-1.1.0.tgz", + "integrity": "sha512-/U7UOKW6BzpA+Vt+kISAoeDie1vAvY4Zy2KF5JJb+So7+1yKmJeJEHOGSnQIj330e9Zyl3L5Nae6VZyh2TJnAA==", + "requires": { + "@ethereumjs/block": "^3.5.0", + "@types/levelup": "^4.3.0", + "buffer-xor": "^2.0.1", + "ethereumjs-util": "^7.1.1", + "miller-rabin": "^4.0.0" + } + }, + "@ethereumjs/tx": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/@ethereumjs/tx/-/tx-3.5.0.tgz", + "integrity": "sha512-/+ZNbnJhQhXC83Xuvy6I9k4jT5sXiV0tMR9C+AzSSpcCV64+NB8dTE1m3x98RYMqb8+TLYWA+HML4F5lfXTlJw==", + "requires": { + "@ethereumjs/common": "^2.6.1", + "ethereumjs-util": "^7.1.4" + } + }, + "@ethereumjs/vm": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/@ethereumjs/vm/-/vm-5.7.1.tgz", + "integrity": "sha512-NiFm5FMaeDGZ9ojBL+Y9Y/xhW6S4Fgez+zPBM402T5kLsfeAR9mrRVckYhvkGVJ6FMwsY820CLjYP5OVwMjLTg==", + "requires": { + "@ethereumjs/block": "^3.6.1", + "@ethereumjs/blockchain": "^5.5.1", + "@ethereumjs/common": "^2.6.2", + "@ethereumjs/tx": "^3.5.0", + "async-eventemitter": "^0.2.4", + "core-js-pure": "^3.0.1", + "debug": "^4.3.3", + "ethereumjs-util": "^7.1.4", + "functional-red-black-tree": "^1.0.1", + "mcl-wasm": "^0.7.1", + "merkle-patricia-tree": "^4.2.3", + "rustbn.js": "~0.2.0" + } + }, + "@ethersproject/abi": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/abi/-/abi-5.6.0.tgz", + "integrity": "sha512-AhVByTwdXCc2YQ20v300w6KVHle9g2OFc28ZAFCPnJyEpkv1xKXjZcSTgWOlv1i+0dqlgF8RCF2Rn2KC1t+1Vg==", + "requires": { + "@ethersproject/address": "^5.6.0", + "@ethersproject/bignumber": "^5.6.0", + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/constants": "^5.6.0", + "@ethersproject/hash": "^5.6.0", + "@ethersproject/keccak256": "^5.6.0", + "@ethersproject/logger": "^5.6.0", + "@ethersproject/properties": "^5.6.0", + "@ethersproject/strings": "^5.6.0" + } + }, + "@ethersproject/abstract-provider": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/abstract-provider/-/abstract-provider-5.6.0.tgz", + "integrity": "sha512-oPMFlKLN+g+y7a79cLK3WiLcjWFnZQtXWgnLAbHZcN3s7L4v90UHpTOrLk+m3yr0gt+/h9STTM6zrr7PM8uoRw==", + "requires": { + "@ethersproject/bignumber": "^5.6.0", + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/logger": "^5.6.0", + "@ethersproject/networks": "^5.6.0", + "@ethersproject/properties": "^5.6.0", + "@ethersproject/transactions": "^5.6.0", + "@ethersproject/web": "^5.6.0" + } + }, + "@ethersproject/abstract-signer": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/abstract-signer/-/abstract-signer-5.6.0.tgz", + "integrity": "sha512-WOqnG0NJKtI8n0wWZPReHtaLkDByPL67tn4nBaDAhmVq8sjHTPbCdz4DRhVu/cfTOvfy9w3iq5QZ7BX7zw56BQ==", + "requires": { + "@ethersproject/abstract-provider": "^5.6.0", + "@ethersproject/bignumber": "^5.6.0", + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/logger": "^5.6.0", + "@ethersproject/properties": "^5.6.0" + } + }, + "@ethersproject/address": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/address/-/address-5.6.0.tgz", + "integrity": "sha512-6nvhYXjbXsHPS+30sHZ+U4VMagFC/9zAk6Gd/h3S21YW4+yfb0WfRtaAIZ4kfM4rrVwqiy284LP0GtL5HXGLxQ==", + "requires": { + "@ethersproject/bignumber": "^5.6.0", + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/keccak256": "^5.6.0", + "@ethersproject/logger": "^5.6.0", + "@ethersproject/rlp": "^5.6.0" + } + }, + "@ethersproject/base64": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/base64/-/base64-5.6.0.tgz", + "integrity": "sha512-2Neq8wxJ9xHxCF9TUgmKeSh9BXJ6OAxWfeGWvbauPh8FuHEjamgHilllx8KkSd5ErxyHIX7Xv3Fkcud2kY9ezw==", + "requires": { + "@ethersproject/bytes": "^5.6.0" + } + }, + "@ethersproject/basex": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/basex/-/basex-5.6.0.tgz", + "integrity": "sha512-qN4T+hQd/Md32MoJpc69rOwLYRUXwjTlhHDIeUkUmiN/JyWkkLLMoG0TqvSQKNqZOMgN5stbUYN6ILC+eD7MEQ==", + "dev": true, + "requires": { + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/properties": "^5.6.0" + } + }, + "@ethersproject/bignumber": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/bignumber/-/bignumber-5.6.0.tgz", + "integrity": "sha512-VziMaXIUHQlHJmkv1dlcd6GY2PmT0khtAqaMctCIDogxkrarMzA9L94KN1NeXqqOfFD6r0sJT3vCTOFSmZ07DA==", + "requires": { + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/logger": "^5.6.0", + "bn.js": "^4.11.9" + } + }, + "@ethersproject/bytes": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/bytes/-/bytes-5.6.0.tgz", + "integrity": "sha512-3hJPlYemb9V4VLfJF5BfN0+55vltPZSHU3QKUyP9M3Y2TcajbiRrz65UG+xVHOzBereB1b9mn7r12o177xgN7w==", + "requires": { + "@ethersproject/logger": "^5.6.0" + } + }, + "@ethersproject/constants": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/constants/-/constants-5.6.0.tgz", + "integrity": "sha512-SrdaJx2bK0WQl23nSpV/b1aq293Lh0sUaZT/yYKPDKn4tlAbkH96SPJwIhwSwTsoQQZxuh1jnqsKwyymoiBdWA==", + "requires": { + "@ethersproject/bignumber": "^5.6.0" + } + }, + "@ethersproject/contracts": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/contracts/-/contracts-5.6.0.tgz", + "integrity": "sha512-74Ge7iqTDom0NX+mux8KbRUeJgu1eHZ3iv6utv++sLJG80FVuU9HnHeKVPfjd9s3woFhaFoQGf3B3iH/FrQmgw==", + "dev": true, + "requires": { + "@ethersproject/abi": "^5.6.0", + "@ethersproject/abstract-provider": "^5.6.0", + "@ethersproject/abstract-signer": "^5.6.0", + "@ethersproject/address": "^5.6.0", + "@ethersproject/bignumber": "^5.6.0", + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/constants": "^5.6.0", + "@ethersproject/logger": "^5.6.0", + "@ethersproject/properties": "^5.6.0", + "@ethersproject/transactions": "^5.6.0" + } + }, + "@ethersproject/hash": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/hash/-/hash-5.6.0.tgz", + "integrity": "sha512-fFd+k9gtczqlr0/BruWLAu7UAOas1uRRJvOR84uDf4lNZ+bTkGl366qvniUZHKtlqxBRU65MkOobkmvmpHU+jA==", + "requires": { + "@ethersproject/abstract-signer": "^5.6.0", + "@ethersproject/address": "^5.6.0", + "@ethersproject/bignumber": "^5.6.0", + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/keccak256": "^5.6.0", + "@ethersproject/logger": "^5.6.0", + "@ethersproject/properties": "^5.6.0", + "@ethersproject/strings": "^5.6.0" + } + }, + "@ethersproject/hdnode": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/hdnode/-/hdnode-5.6.0.tgz", + "integrity": "sha512-61g3Jp3nwDqJcL/p4nugSyLrpl/+ChXIOtCEM8UDmWeB3JCAt5FoLdOMXQc3WWkc0oM2C0aAn6GFqqMcS/mHTw==", + "dev": true, + "requires": { + "@ethersproject/abstract-signer": "^5.6.0", + "@ethersproject/basex": "^5.6.0", + "@ethersproject/bignumber": "^5.6.0", + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/logger": "^5.6.0", + "@ethersproject/pbkdf2": "^5.6.0", + "@ethersproject/properties": "^5.6.0", + "@ethersproject/sha2": "^5.6.0", + "@ethersproject/signing-key": "^5.6.0", + "@ethersproject/strings": "^5.6.0", + "@ethersproject/transactions": "^5.6.0", + "@ethersproject/wordlists": "^5.6.0" + } + }, + "@ethersproject/json-wallets": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/json-wallets/-/json-wallets-5.6.0.tgz", + "integrity": "sha512-fmh86jViB9r0ibWXTQipxpAGMiuxoqUf78oqJDlCAJXgnJF024hOOX7qVgqsjtbeoxmcLwpPsXNU0WEe/16qPQ==", + "dev": true, + "requires": { + "@ethersproject/abstract-signer": "^5.6.0", + "@ethersproject/address": "^5.6.0", + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/hdnode": "^5.6.0", + "@ethersproject/keccak256": "^5.6.0", + "@ethersproject/logger": "^5.6.0", + "@ethersproject/pbkdf2": "^5.6.0", + "@ethersproject/properties": "^5.6.0", + "@ethersproject/random": "^5.6.0", + "@ethersproject/strings": "^5.6.0", + "@ethersproject/transactions": "^5.6.0", + "aes-js": "3.0.0", + "scrypt-js": "3.0.1" + } + }, + "@ethersproject/keccak256": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.6.0.tgz", + "integrity": "sha512-tk56BJ96mdj/ksi7HWZVWGjCq0WVl/QvfhFQNeL8fxhBlGoP+L80uDCiQcpJPd+2XxkivS3lwRm3E0CXTfol0w==", + "requires": { + "@ethersproject/bytes": "^5.6.0", + "js-sha3": "0.8.0" + } + }, + "@ethersproject/logger": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/logger/-/logger-5.6.0.tgz", + "integrity": "sha512-BiBWllUROH9w+P21RzoxJKzqoqpkyM1pRnEKG69bulE9TSQD8SAIvTQqIMZmmCO8pUNkgLP1wndX1gKghSpBmg==" + }, + "@ethersproject/networks": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/networks/-/networks-5.6.0.tgz", + "integrity": "sha512-DaVzgyThzHgSDLuURhvkp4oviGoGe9iTZW4jMEORHDRCgSZ9K9THGFKqL+qGXqPAYLEgZTf5z2w56mRrPR1MjQ==", + "requires": { + "@ethersproject/logger": "^5.6.0" + } + }, + "@ethersproject/pbkdf2": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/pbkdf2/-/pbkdf2-5.6.0.tgz", + "integrity": "sha512-Wu1AxTgJo3T3H6MIu/eejLFok9TYoSdgwRr5oGY1LTLfmGesDoSx05pemsbrPT2gG4cQME+baTSCp5sEo2erZQ==", + "dev": true, + "requires": { + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/sha2": "^5.6.0" + } + }, + "@ethersproject/properties": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/properties/-/properties-5.6.0.tgz", + "integrity": "sha512-szoOkHskajKePTJSZ46uHUWWkbv7TzP2ypdEK6jGMqJaEt2sb0jCgfBo0gH0m2HBpRixMuJ6TBRaQCF7a9DoCg==", + "requires": { + "@ethersproject/logger": "^5.6.0" + } + }, + "@ethersproject/providers": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/providers/-/providers-5.6.0.tgz", + "integrity": "sha512-6+5PKXTWAttJWFWF8+xCDTCa2/dtq9BNrdKQHGl0IyIOwj99vM6OeThmIRcsIAzIOb8m0XS6w+1KFZwrf3j9nw==", + "dev": true, + "requires": { + "@ethersproject/abstract-provider": "^5.6.0", + "@ethersproject/abstract-signer": "^5.6.0", + "@ethersproject/address": "^5.6.0", + "@ethersproject/basex": "^5.6.0", + "@ethersproject/bignumber": "^5.6.0", + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/constants": "^5.6.0", + "@ethersproject/hash": "^5.6.0", + "@ethersproject/logger": "^5.6.0", + "@ethersproject/networks": "^5.6.0", + "@ethersproject/properties": "^5.6.0", + "@ethersproject/random": "^5.6.0", + "@ethersproject/rlp": "^5.6.0", + "@ethersproject/sha2": "^5.6.0", + "@ethersproject/strings": "^5.6.0", + "@ethersproject/transactions": "^5.6.0", + "@ethersproject/web": "^5.6.0", + "bech32": "1.1.4", + "ws": "7.4.6" + } + }, + "@ethersproject/random": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/random/-/random-5.6.0.tgz", + "integrity": "sha512-si0PLcLjq+NG/XHSZz90asNf+YfKEqJGVdxoEkSukzbnBgC8rydbgbUgBbBGLeHN4kAJwUFEKsu3sCXT93YMsw==", + "dev": true, + "requires": { + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/logger": "^5.6.0" + } + }, + "@ethersproject/rlp": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/rlp/-/rlp-5.6.0.tgz", + "integrity": "sha512-dz9WR1xpcTL+9DtOT/aDO+YyxSSdO8YIS0jyZwHHSlAmnxA6cKU3TrTd4Xc/bHayctxTgGLYNuVVoiXE4tTq1g==", + "requires": { + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/logger": "^5.6.0" + } + }, + "@ethersproject/sha2": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/sha2/-/sha2-5.6.0.tgz", + "integrity": "sha512-1tNWCPFLu1n3JM9t4/kytz35DkuF9MxqkGGEHNauEbaARdm2fafnOyw1s0tIQDPKF/7bkP1u3dbrmjpn5CelyA==", + "dev": true, + "requires": { + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/logger": "^5.6.0", + "hash.js": "1.1.7" + } + }, + "@ethersproject/signing-key": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/signing-key/-/signing-key-5.6.0.tgz", + "integrity": "sha512-S+njkhowmLeUu/r7ir8n78OUKx63kBdMCPssePS89So1TH4hZqnWFsThEd/GiXYp9qMxVrydf7KdM9MTGPFukA==", + "requires": { + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/logger": "^5.6.0", + "@ethersproject/properties": "^5.6.0", + "bn.js": "^4.11.9", + "elliptic": "6.5.4", + "hash.js": "1.1.7" + } + }, + "@ethersproject/solidity": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/solidity/-/solidity-5.6.0.tgz", + "integrity": "sha512-YwF52vTNd50kjDzqKaoNNbC/r9kMDPq3YzDWmsjFTRBcIF1y4JCQJ8gB30wsTfHbaxgxelI5BfxQSxD/PbJOww==", + "dev": true, + "requires": { + "@ethersproject/bignumber": "^5.6.0", + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/keccak256": "^5.6.0", + "@ethersproject/logger": "^5.6.0", + "@ethersproject/sha2": "^5.6.0", + "@ethersproject/strings": "^5.6.0" + } + }, + "@ethersproject/strings": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/strings/-/strings-5.6.0.tgz", + "integrity": "sha512-uv10vTtLTZqrJuqBZR862ZQjTIa724wGPWQqZrofaPI/kUsf53TBG0I0D+hQ1qyNtllbNzaW+PDPHHUI6/65Mg==", + "requires": { + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/constants": "^5.6.0", + "@ethersproject/logger": "^5.6.0" + } + }, + "@ethersproject/transactions": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/transactions/-/transactions-5.6.0.tgz", + "integrity": "sha512-4HX+VOhNjXHZyGzER6E/LVI2i6lf9ejYeWD6l4g50AdmimyuStKc39kvKf1bXWQMg7QNVh+uC7dYwtaZ02IXeg==", + "requires": { + "@ethersproject/address": "^5.6.0", + "@ethersproject/bignumber": "^5.6.0", + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/constants": "^5.6.0", + "@ethersproject/keccak256": "^5.6.0", + "@ethersproject/logger": "^5.6.0", + "@ethersproject/properties": "^5.6.0", + "@ethersproject/rlp": "^5.6.0", + "@ethersproject/signing-key": "^5.6.0" + } + }, + "@ethersproject/units": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/units/-/units-5.6.0.tgz", + "integrity": "sha512-tig9x0Qmh8qbo1w8/6tmtyrm/QQRviBh389EQ+d8fP4wDsBrJBf08oZfoiz1/uenKK9M78yAP4PoR7SsVoTjsw==", + "dev": true, + "requires": { + "@ethersproject/bignumber": "^5.6.0", + "@ethersproject/constants": "^5.6.0", + "@ethersproject/logger": "^5.6.0" + } + }, + "@ethersproject/wallet": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/wallet/-/wallet-5.6.0.tgz", + "integrity": "sha512-qMlSdOSTyp0MBeE+r7SUhr1jjDlC1zAXB8VD84hCnpijPQiSNbxr6GdiLXxpUs8UKzkDiNYYC5DRI3MZr+n+tg==", + "dev": true, + "requires": { + "@ethersproject/abstract-provider": "^5.6.0", + "@ethersproject/abstract-signer": "^5.6.0", + "@ethersproject/address": "^5.6.0", + "@ethersproject/bignumber": "^5.6.0", + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/hash": "^5.6.0", + "@ethersproject/hdnode": "^5.6.0", + "@ethersproject/json-wallets": "^5.6.0", + "@ethersproject/keccak256": "^5.6.0", + "@ethersproject/logger": "^5.6.0", + "@ethersproject/properties": "^5.6.0", + "@ethersproject/random": "^5.6.0", + "@ethersproject/signing-key": "^5.6.0", + "@ethersproject/transactions": "^5.6.0", + "@ethersproject/wordlists": "^5.6.0" + } + }, + "@ethersproject/web": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/web/-/web-5.6.0.tgz", + "integrity": "sha512-G/XHj0hV1FxI2teHRfCGvfBUHFmU+YOSbCxlAMqJklxSa7QMiHFQfAxvwY2PFqgvdkxEKwRNr/eCjfAPEm2Ctg==", + "requires": { + "@ethersproject/base64": "^5.6.0", + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/logger": "^5.6.0", + "@ethersproject/properties": "^5.6.0", + "@ethersproject/strings": "^5.6.0" + } + }, + "@ethersproject/wordlists": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@ethersproject/wordlists/-/wordlists-5.6.0.tgz", + "integrity": "sha512-q0bxNBfIX3fUuAo9OmjlEYxP40IB8ABgb7HjEZCL5IKubzV3j30CWi2rqQbjTS2HfoyQbfINoKcTVWP4ejwR7Q==", + "dev": true, + "requires": { + "@ethersproject/bytes": "^5.6.0", + "@ethersproject/hash": "^5.6.0", + "@ethersproject/logger": "^5.6.0", + "@ethersproject/properties": "^5.6.0", + "@ethersproject/strings": "^5.6.0" + } + }, + "@metamask/eth-sig-util": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@metamask/eth-sig-util/-/eth-sig-util-4.0.0.tgz", + "integrity": "sha512-LczOjjxY4A7XYloxzyxJIHONELmUxVZncpOLoClpEcTiebiVdM46KRPYXGuULro9oNNR2xdVx3yoKiQjdfWmoA==", + "requires": { + "ethereumjs-abi": "^0.6.8", + "ethereumjs-util": "^6.2.1", + "ethjs-util": "^0.1.6", + "tweetnacl": "^1.0.3", + "tweetnacl-util": "^0.15.1" + }, + "dependencies": { + "@types/bn.js": { + "version": "4.11.6", + "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.6.tgz", + "integrity": "sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg==", + "requires": { + "@types/node": "*" + } + }, + "ethereumjs-util": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-6.2.1.tgz", + "integrity": "sha512-W2Ktez4L01Vexijrm5EB6w7dg4n/TgpoYU4avuT5T3Vmnw/eCRtiBrJfQYS/DCSvDIOLn2k57GcHdeBcgVxAqw==", + "requires": { + "@types/bn.js": "^4.11.3", + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "0.1.6", + "rlp": "^2.2.3" + } + } + } + }, + "@nomiclabs/hardhat-ethers": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nomiclabs/hardhat-ethers/-/hardhat-ethers-2.0.5.tgz", + "integrity": "sha512-A2gZAGB6kUvLx+kzM92HKuUF33F1FSe90L0TmkXkT2Hh0OKRpvWZURUSU2nghD2yC4DzfEZ3DftfeHGvZ2JTUw==", + "dev": true, + "requires": {} + }, + "@nomiclabs/hardhat-etherscan": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@nomiclabs/hardhat-etherscan/-/hardhat-etherscan-3.0.3.tgz", + "integrity": "sha512-OfNtUKc/ZwzivmZnnpwWREfaYncXteKHskn3yDnz+fPBZ6wfM4GR+d5RwjREzYFWE+o5iR9ruXhWw/8fejWM9g==", + "requires": { + "@ethersproject/abi": "^5.1.2", + "@ethersproject/address": "^5.0.2", + "cbor": "^5.0.2", + "debug": "^4.1.1", + "fs-extra": "^7.0.1", + "semver": "^6.3.0", + "undici": "^4.14.1" + }, + "dependencies": { + "cbor": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/cbor/-/cbor-5.2.0.tgz", + "integrity": "sha512-5IMhi9e1QU76ppa5/ajP1BmMWZ2FHkhAhjeVKQ/EFCgYSEaeVaoGtL7cxJskf9oCCk+XjzaIdc3IuU/dbA/o2A==", + "requires": { + "bignumber.js": "^9.0.1", + "nofilter": "^1.0.4" + } + }, + "nofilter": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/nofilter/-/nofilter-1.0.4.tgz", + "integrity": "sha512-N8lidFp+fCz+TD51+haYdbDGrcBWwuHX40F5+z0qkUjMJ5Tp+rdSuAkMJ9N9eoolDlEVTf6u5icM+cNKkKW2mA==" + } + } + }, + "@nomiclabs/hardhat-waffle": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@nomiclabs/hardhat-waffle/-/hardhat-waffle-2.0.3.tgz", + "integrity": "sha512-049PHSnI1CZq6+XTbrMbMv5NaL7cednTfPenx02k3cEh8wBMLa6ys++dBETJa6JjfwgA9nBhhHQ173LJv6k2Pg==", + "dev": true, + "requires": { + "@types/sinon-chai": "^3.2.3", + "@types/web3": "1.0.19" + } + }, + "@openzeppelin/contracts": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-4.5.0.tgz", + "integrity": "sha512-fdkzKPYMjrRiPK6K4y64e6GzULR7R7RwxSigHS8DDp7aWDeoReqsQI+cxHV1UuhAqX69L1lAaWDxenfP+xiqzA==" + }, + "@openzeppelin/hardhat-upgrades": { + "version": "1.16.0", + "resolved": "https://registry.npmjs.org/@openzeppelin/hardhat-upgrades/-/hardhat-upgrades-1.16.0.tgz", + "integrity": "sha512-+nymvk0WBTnN5QtlEyqUeiLumpxgSZyo6s9XG0M68OzDhUSk5YB9KXAiL3VhC4CpyrkWHWkoYn0esAVuwmk9Sw==", + "dev": true, + "requires": { + "@openzeppelin/upgrades-core": "^1.13.1", + "chalk": "^4.1.0", + "proper-lockfile": "^4.1.1" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "@openzeppelin/upgrades-core": { + "version": "1.14.0", + "resolved": "https://registry.npmjs.org/@openzeppelin/upgrades-core/-/upgrades-core-1.14.0.tgz", + "integrity": "sha512-VgxyjcSPsf/szFRNNJFHnK3/zSrLEvutKhZM2M8bYNWIbdBJ42P0XHA11JlCzzL/tbhYZdpz0LZIvIs2ABXA1g==", + "dev": true, + "requires": { + "bn.js": "^5.1.2", + "cbor": "^8.0.0", + "chalk": "^4.1.0", + "compare-versions": "^4.0.0", + "debug": "^4.1.1", + "ethereumjs-util": "^7.0.3", + "proper-lockfile": "^4.1.1", + "solidity-ast": "^0.4.15" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "bn.js": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz", + "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==", + "dev": true + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "@resolver-engine/core": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@resolver-engine/core/-/core-0.3.3.tgz", + "integrity": "sha512-eB8nEbKDJJBi5p5SrvrvILn4a0h42bKtbCTri3ZxCGt6UvoQyp7HnGOfki944bUjBSHKK3RvgfViHn+kqdXtnQ==", + "dev": true, + "requires": { + "debug": "^3.1.0", + "is-url": "^1.2.4", + "request": "^2.85.0" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + } + } + }, + "@resolver-engine/fs": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@resolver-engine/fs/-/fs-0.3.3.tgz", + "integrity": "sha512-wQ9RhPUcny02Wm0IuJwYMyAG8fXVeKdmhm8xizNByD4ryZlx6PP6kRen+t/haF43cMfmaV7T3Cx6ChOdHEhFUQ==", + "dev": true, + "requires": { + "@resolver-engine/core": "^0.3.3", + "debug": "^3.1.0" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + } + } + }, + "@resolver-engine/imports": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@resolver-engine/imports/-/imports-0.3.3.tgz", + "integrity": "sha512-anHpS4wN4sRMwsAbMXhMfOD/y4a4Oo0Cw/5+rue7hSwGWsDOQaAU1ClK1OxjUC35/peazxEl8JaSRRS+Xb8t3Q==", + "dev": true, + "requires": { + "@resolver-engine/core": "^0.3.3", + "debug": "^3.1.0", + "hosted-git-info": "^2.6.0", + "path-browserify": "^1.0.0", + "url": "^0.11.0" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + } + } + }, + "@resolver-engine/imports-fs": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@resolver-engine/imports-fs/-/imports-fs-0.3.3.tgz", + "integrity": "sha512-7Pjg/ZAZtxpeyCFlZR5zqYkz+Wdo84ugB5LApwriT8XFeQoLwGUj4tZFFvvCuxaNCcqZzCYbonJgmGObYBzyCA==", + "dev": true, + "requires": { + "@resolver-engine/fs": "^0.3.3", + "@resolver-engine/imports": "^0.3.3", + "debug": "^3.1.0" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + } + } + }, + "@sentry/core": { + "version": "5.30.0", + "resolved": "https://registry.npmjs.org/@sentry/core/-/core-5.30.0.tgz", + "integrity": "sha512-TmfrII8w1PQZSZgPpUESqjB+jC6MvZJZdLtE/0hZ+SrnKhW3x5WlYLvTXZpcWePYBku7rl2wn1RZu6uT0qCTeg==", + "requires": { + "@sentry/hub": "5.30.0", + "@sentry/minimal": "5.30.0", + "@sentry/types": "5.30.0", + "@sentry/utils": "5.30.0", + "tslib": "^1.9.3" + } + }, + "@sentry/hub": { + "version": "5.30.0", + "resolved": "https://registry.npmjs.org/@sentry/hub/-/hub-5.30.0.tgz", + "integrity": "sha512-2tYrGnzb1gKz2EkMDQcfLrDTvmGcQPuWxLnJKXJvYTQDGLlEvi2tWz1VIHjunmOvJrB5aIQLhm+dcMRwFZDCqQ==", + "requires": { + "@sentry/types": "5.30.0", + "@sentry/utils": "5.30.0", + "tslib": "^1.9.3" + } + }, + "@sentry/minimal": { + "version": "5.30.0", + "resolved": "https://registry.npmjs.org/@sentry/minimal/-/minimal-5.30.0.tgz", + "integrity": "sha512-BwWb/owZKtkDX+Sc4zCSTNcvZUq7YcH3uAVlmh/gtR9rmUvbzAA3ewLuB3myi4wWRAMEtny6+J/FN/x+2wn9Xw==", + "requires": { + "@sentry/hub": "5.30.0", + "@sentry/types": "5.30.0", + "tslib": "^1.9.3" + } + }, + "@sentry/node": { + "version": "5.30.0", + "resolved": "https://registry.npmjs.org/@sentry/node/-/node-5.30.0.tgz", + "integrity": "sha512-Br5oyVBF0fZo6ZS9bxbJZG4ApAjRqAnqFFurMVJJdunNb80brh7a5Qva2kjhm+U6r9NJAB5OmDyPkA1Qnt+QVg==", + "requires": { + "@sentry/core": "5.30.0", + "@sentry/hub": "5.30.0", + "@sentry/tracing": "5.30.0", + "@sentry/types": "5.30.0", + "@sentry/utils": "5.30.0", + "cookie": "^0.4.1", + "https-proxy-agent": "^5.0.0", + "lru_map": "^0.3.3", + "tslib": "^1.9.3" + } + }, + "@sentry/tracing": { + "version": "5.30.0", + "resolved": "https://registry.npmjs.org/@sentry/tracing/-/tracing-5.30.0.tgz", + "integrity": "sha512-dUFowCr0AIMwiLD7Fs314Mdzcug+gBVo/+NCMyDw8tFxJkwWAKl7Qa2OZxLQ0ZHjakcj1hNKfCQJ9rhyfOl4Aw==", + "requires": { + "@sentry/hub": "5.30.0", + "@sentry/minimal": "5.30.0", + "@sentry/types": "5.30.0", + "@sentry/utils": "5.30.0", + "tslib": "^1.9.3" + } + }, + "@sentry/types": { + "version": "5.30.0", + "resolved": "https://registry.npmjs.org/@sentry/types/-/types-5.30.0.tgz", + "integrity": "sha512-R8xOqlSTZ+htqrfteCWU5Nk0CDN5ApUTvrlvBuiH1DyP6czDZ4ktbZB0hAgBlVcK0U+qpD3ag3Tqqpa5Q67rPw==" + }, + "@sentry/utils": { + "version": "5.30.0", + "resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-5.30.0.tgz", + "integrity": "sha512-zaYmoH0NWWtvnJjC9/CBseXMtKHm/tm40sz3YfJRxeQjyzRqNQPgivpd9R/oDJCYj999mzdW382p/qi2ypjLww==", + "requires": { + "@sentry/types": "5.30.0", + "tslib": "^1.9.3" + } + }, + "@solidity-parser/parser": { + "version": "0.14.1", + "resolved": "https://registry.npmjs.org/@solidity-parser/parser/-/parser-0.14.1.tgz", + "integrity": "sha512-eLjj2L6AuQjBB6s/ibwCAc0DwrR5Ge+ys+wgWo+bviU7fV2nTMQhU63CGaDKXg9iTmMxwhkyoggdIR7ZGRfMgw==", + "requires": { + "antlr4ts": "^0.5.0-alpha.4" + } + }, + "@typechain/ethers-v5": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@typechain/ethers-v5/-/ethers-v5-2.0.0.tgz", + "integrity": "sha512-0xdCkyGOzdqh4h5JSf+zoWx85IusEjDcPIwNEHP8mrWSnCae4rvrqB+/gtpdNfX7zjlFlZiMeePn2r63EI3Lrw==", + "dev": true, + "requires": { + "ethers": "^5.0.2" + } + }, + "@types/abstract-leveldown": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@types/abstract-leveldown/-/abstract-leveldown-7.2.0.tgz", + "integrity": "sha512-q5veSX6zjUy/DlDhR4Y4cU0k2Ar+DT2LUraP00T19WLmTO6Se1djepCCaqU6nQrwcJ5Hyo/CWqxTzrrFg8eqbQ==" + }, + "@types/bn.js": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-5.1.0.tgz", + "integrity": "sha512-QSSVYj7pYFN49kW77o2s9xTCwZ8F2xLbjLLSEVh8D2F4JUhZtPAGOFLTD+ffqksBx/u4cE/KImFjyhqCjn/LIA==", + "requires": { + "@types/node": "*" + } + }, + "@types/chai": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.0.tgz", + "integrity": "sha512-/ceqdqeRraGolFTcfoXNiqjyQhZzbINDngeoAq9GoHa8PPK1yNzTaxWjA6BFWp5Ua9JpXEMSS4s5i9tS0hOJtw==", + "dev": true + }, + "@types/concat-stream": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/@types/concat-stream/-/concat-stream-1.6.1.tgz", + "integrity": "sha512-eHE4cQPoj6ngxBZMvVf6Hw7Mh4jMW4U9lpGmS5GBPB9RYxlFg+CHaVN7ErNY4W9XfLIEn20b4VDYaIrbq0q4uA==", + "requires": { + "@types/node": "*" + } + }, + "@types/form-data": { + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/@types/form-data/-/form-data-0.0.33.tgz", + "integrity": "sha1-yayFsqX9GENbjIXZ7LUObWyJP/g=", + "requires": { + "@types/node": "*" + } + }, + "@types/level-errors": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@types/level-errors/-/level-errors-3.0.0.tgz", + "integrity": "sha512-/lMtoq/Cf/2DVOm6zE6ORyOM+3ZVm/BvzEZVxUhf6bgh8ZHglXlBqxbxSlJeVp8FCbD3IVvk/VbsaNmDjrQvqQ==" + }, + "@types/levelup": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/@types/levelup/-/levelup-4.3.3.tgz", + "integrity": "sha512-K+OTIjJcZHVlZQN1HmU64VtrC0jC3dXWQozuEIR9zVvltIk90zaGPM2AgT+fIkChpzHhFE3YnvFLCbLtzAmexA==", + "requires": { + "@types/abstract-leveldown": "*", + "@types/level-errors": "*", + "@types/node": "*" + } + }, + "@types/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/@types/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-ssE3Vlrys7sdIzs5LOxCzTVMsU7i9oa/IaW92wF32JFb3CVczqOkru2xspuKczHEbG3nvmPY7IFqVmGGHdNbYw==" + }, + "@types/mkdirp": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/@types/mkdirp/-/mkdirp-0.5.2.tgz", + "integrity": "sha512-U5icWpv7YnZYGsN4/cmh3WD2onMY0aJIiTE6+51TwJCttdHvtCYmkBNOobHlXwrJRL0nkH9jH4kD+1FAdMN4Tg==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, + "@types/node": { + "version": "17.0.21", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.21.tgz", + "integrity": "sha512-DBZCJbhII3r90XbQxI8Y9IjjiiOGlZ0Hr32omXIZvwwZ7p4DMMXGrKXVyPfuoBOri9XNtL0UK69jYIBIsRX3QQ==" + }, + "@types/node-fetch": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.1.tgz", + "integrity": "sha512-oMqjURCaxoSIsHSr1E47QHzbmzNR5rK8McHuNb11BOM9cHcIK3Avy0s/b2JlXHoQGTYS3NsvWzV1M0iK7l0wbA==", + "dev": true, + "requires": { + "@types/node": "*", + "form-data": "^3.0.0" + }, + "dependencies": { + "form-data": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", + "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==", + "dev": true, + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + } + } + } + }, + "@types/pbkdf2": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@types/pbkdf2/-/pbkdf2-3.1.0.tgz", + "integrity": "sha512-Cf63Rv7jCQ0LaL8tNXmEyqTHuIJxRdlS5vMh1mj5voN4+QFhVZnlZruezqpWYDiJ8UTzhP0VmeLXCmBk66YrMQ==", + "requires": { + "@types/node": "*" + } + }, + "@types/prettier": { + "version": "2.4.4", + "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.4.4.tgz", + "integrity": "sha512-ReVR2rLTV1kvtlWFyuot+d1pkpG2Fw/XKE3PDAdj57rbM97ttSp9JZ2UsP+2EHTylra9cUf6JA7tGwW1INzUrA==", + "dev": true + }, + "@types/qs": { + "version": "6.9.7", + "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.7.tgz", + "integrity": "sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==" + }, + "@types/resolve": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-0.0.8.tgz", + "integrity": "sha512-auApPaJf3NPfe18hSoJkp8EbZzer2ISk7o8mCC3M9he/a04+gbMF97NkpD2S8riMGvm4BMRI59/SZQSaLTKpsQ==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, + "@types/secp256k1": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/@types/secp256k1/-/secp256k1-4.0.3.tgz", + "integrity": "sha512-Da66lEIFeIz9ltsdMZcpQvmrmmoqrfju8pm1BH8WbYjZSwUgCwXLb9C+9XYogwBITnbsSaMdVPb2ekf7TV+03w==", + "requires": { + "@types/node": "*" + } + }, + "@types/sinon": { + "version": "10.0.11", + "resolved": "https://registry.npmjs.org/@types/sinon/-/sinon-10.0.11.tgz", + "integrity": "sha512-dmZsHlBsKUtBpHriNjlK0ndlvEh8dcb9uV9Afsbt89QIyydpC7NcR+nWlAhASfy3GHnxTl4FX/aKE7XZUt/B4g==", + "dev": true, + "requires": { + "@types/sinonjs__fake-timers": "*" + } + }, + "@types/sinon-chai": { + "version": "3.2.8", + "resolved": "https://registry.npmjs.org/@types/sinon-chai/-/sinon-chai-3.2.8.tgz", + "integrity": "sha512-d4ImIQbT/rKMG8+AXpmcan5T2/PNeSjrYhvkwet6z0p8kzYtfgA32xzOBlbU0yqJfq+/0Ml805iFoODO0LP5/g==", + "dev": true, + "requires": { + "@types/chai": "*", + "@types/sinon": "*" + } + }, + "@types/sinonjs__fake-timers": { + "version": "8.1.2", + "resolved": "https://registry.npmjs.org/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-8.1.2.tgz", + "integrity": "sha512-9GcLXF0/v3t80caGs5p2rRfkB+a8VBGLJZVih6CNFkx8IZ994wiKKLSRs9nuFwk1HevWs/1mnUmkApGrSGsShA==", + "dev": true + }, + "@types/underscore": { + "version": "1.11.4", + "resolved": "https://registry.npmjs.org/@types/underscore/-/underscore-1.11.4.tgz", + "integrity": "sha512-uO4CD2ELOjw8tasUrAhvnn2W4A0ZECOvMjCivJr4gA9pGgjv+qxKWY9GLTMVEK8ej85BxQOocUyE7hImmSQYcg==", + "dev": true + }, + "@types/web3": { + "version": "1.0.19", + "resolved": "https://registry.npmjs.org/@types/web3/-/web3-1.0.19.tgz", + "integrity": "sha512-fhZ9DyvDYDwHZUp5/STa9XW2re0E8GxoioYJ4pEUZ13YHpApSagixj7IAdoYH5uAK+UalGq6Ml8LYzmgRA/q+A==", + "dev": true, + "requires": { + "@types/bn.js": "*", + "@types/underscore": "*" + } + }, + "@ungap/promise-all-settled": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz", + "integrity": "sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==" + }, + "@yarnpkg/lockfile": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz", + "integrity": "sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==", + "dev": true + }, + "abort-controller": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", + "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", + "requires": { + "event-target-shim": "^5.0.0" + } + }, + "abstract-leveldown": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-6.3.0.tgz", + "integrity": "sha512-TU5nlYgta8YrBMNpc9FwQzRbiXsj49gsALsXadbGHt9CROPzX5fB0rWDR5mtdpOOKa5XqRFpbj1QroPAoPzVjQ==", + "requires": { + "buffer": "^5.5.0", + "immediate": "^3.2.3", + "level-concat-iterator": "~2.0.0", + "level-supports": "~1.0.0", + "xtend": "~4.0.0" + } + }, + "adm-zip": { + "version": "0.4.16", + "resolved": "https://registry.npmjs.org/adm-zip/-/adm-zip-0.4.16.tgz", + "integrity": "sha512-TFi4HBKSGfIKsK5YCkKaaFG2m4PEDyViZmEwof3MTIgzimHLto6muaHVpbrljdIvIrFZzEq/p4nafOeLcYegrg==" + }, + "aes-js": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.0.0.tgz", + "integrity": "sha1-4h3xCtbCBTKVvLuNq0Cwnb6ofk0=" + }, + "agent-base": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "requires": { + "debug": "4" + } + }, + "aggregate-error": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", + "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", + "requires": { + "clean-stack": "^2.0.0", + "indent-string": "^4.0.0" + } + }, + "ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "ansi-colors": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", + "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==" + }, + "ansi-escapes": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", + "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", + "requires": { + "type-fest": "^0.21.3" + } + }, + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "antlr4ts": { + "version": "0.5.0-alpha.4", + "resolved": "https://registry.npmjs.org/antlr4ts/-/antlr4ts-0.5.0-alpha.4.tgz", + "integrity": "sha512-WPQDt1B74OfPv/IMS2ekXAKkTZIHl88uMetg6q3OTqgFxZ/dxDXI0EWLyZid/1Pe6hTftyg5N7gel5wNAGxXyQ==" + }, + "anymatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", + "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", + "requires": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + } + }, + "argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" + }, + "array-back": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-2.0.0.tgz", + "integrity": "sha512-eJv4pLLufP3g5kcZry0j6WXpIbzYw9GUB4mVJZno9wfwiBxbizTnHCw3VJb07cBihbFX48Y7oSrW9y+gt4glyw==", + "dev": true, + "requires": { + "typical": "^2.6.1" + } + }, + "array-uniq": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", + "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=" + }, + "asap": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", + "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=" + }, + "asn1": { + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.6.tgz", + "integrity": "sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==", + "requires": { + "safer-buffer": "~2.1.0" + } + }, + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" + }, + "assertion-error": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", + "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", + "dev": true + }, + "async": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz", + "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==", + "requires": { + "lodash": "^4.17.14" + } + }, + "async-eventemitter": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/async-eventemitter/-/async-eventemitter-0.2.4.tgz", + "integrity": "sha512-pd20BwL7Yt1zwDFy+8MX8F1+WCT8aQeKj0kQnTrH9WaeRETlRamVhD0JtRPmrV4GfOJ2F9CvdQkZeZhnh2TuHw==", + "requires": { + "async": "^2.4.0" + } + }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" + }, + "aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=" + }, + "aws4": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz", + "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==" + }, + "balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + }, + "base-x": { + "version": "3.0.9", + "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.9.tgz", + "integrity": "sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ==", + "requires": { + "safe-buffer": "^5.0.1" + } + }, + "base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" + }, + "bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "requires": { + "tweetnacl": "^0.14.3" + }, + "dependencies": { + "tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" + } + } + }, + "bech32": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz", + "integrity": "sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ==", + "dev": true + }, + "bignumber.js": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.2.tgz", + "integrity": "sha512-GAcQvbpsM0pUb0zw1EI0KhQEZ+lRwR5fYaAp3vPOYuP7aDvGy6cVN6XHLauvF8SOga2y0dcLcjt3iQDTSEliyw==" + }, + "binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==" + }, + "bindings": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", + "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", + "requires": { + "file-uri-to-path": "1.0.0" + } + }, + "bip66": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/bip66/-/bip66-1.1.5.tgz", + "integrity": "sha1-AfqHSHhcpwlV1QESF9GzE5lpyiI=", + "requires": { + "safe-buffer": "^5.0.1" + } + }, + "blakejs": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/blakejs/-/blakejs-1.1.1.tgz", + "integrity": "sha512-bLG6PHOCZJKNshTjGRBvET0vTciwQE6zFKOKKXPDJfwFBd4Ac0yBfPZqcGvGJap50l7ktvlpFqc2jGVaUgbJgg==" + }, + "bluebird": { + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", + "dev": true + }, + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "requires": { + "fill-range": "^7.0.1" + } + }, + "brorand": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", + "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=" + }, + "browser-stdout": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", + "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==" + }, + "browserify-aes": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", + "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", + "requires": { + "buffer-xor": "^1.0.3", + "cipher-base": "^1.0.0", + "create-hash": "^1.1.0", + "evp_bytestokey": "^1.0.3", + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + }, + "dependencies": { + "buffer-xor": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", + "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=" + } + } + }, + "bs58": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", + "integrity": "sha1-vhYedsNU9veIrkBx9j806MTwpCo=", + "requires": { + "base-x": "^3.0.2" + } + }, + "bs58check": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz", + "integrity": "sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA==", + "requires": { + "bs58": "^4.0.0", + "create-hash": "^1.1.0", + "safe-buffer": "^5.1.2" + } + }, + "buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "requires": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" + }, + "buffer-xor": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-2.0.2.tgz", + "integrity": "sha512-eHslX0bin3GB+Lx2p7lEYRShRewuNZL3fUl4qlVJGGiwoPGftmt8JQgk2Y9Ji5/01TnVDo33E5b5O3vUB1HdqQ==", + "requires": { + "safe-buffer": "^5.1.1" + } + }, + "bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==" + }, + "call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "requires": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + } + }, + "camelcase": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", + "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==" + }, + "caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" + }, + "cbor": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/cbor/-/cbor-8.1.0.tgz", + "integrity": "sha512-DwGjNW9omn6EwP70aXsn7FQJx5kO12tX0bZkaTjzdVFM6/7nhA4t0EENocKGx6D2Bch9PE2KzCUf5SceBdeijg==", + "dev": true, + "requires": { + "nofilter": "^3.1.0" + } + }, + "chai": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.6.tgz", + "integrity": "sha512-bbcp3YfHCUzMOvKqsztczerVgBKSsEijCySNlHHbX3VG1nskvqjz5Rfso1gGwD6w6oOV3eI60pKuMOV5MV7p3Q==", + "dev": true, + "requires": { + "assertion-error": "^1.1.0", + "check-error": "^1.0.2", + "deep-eql": "^3.0.1", + "get-func-name": "^2.0.0", + "loupe": "^2.3.1", + "pathval": "^1.1.1", + "type-detect": "^4.0.5" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "charenc": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz", + "integrity": "sha1-wKHS86cJLgN3S/qD8UwPxXkKhmc=" + }, + "check-error": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", + "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=", + "dev": true + }, + "chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "requires": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "fsevents": "~2.3.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + } + }, + "ci-info": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", + "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==" + }, + "cipher-base": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", + "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", + "requires": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "clean-stack": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", + "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==" + }, + "cli-table3": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/cli-table3/-/cli-table3-0.5.1.tgz", + "integrity": "sha512-7Qg2Jrep1S/+Q3EceiZtQcDPWxhAvBw+ERf1162v4sikJrvojMHFqXt8QIVha8UlH9rgU0BeWPytZ9/TzYqlUw==", + "requires": { + "colors": "^1.1.2", + "object-assign": "^4.1.0", + "string-width": "^2.1.1" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=" + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=" + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "requires": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + } + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "requires": { + "ansi-regex": "^3.0.0" + } + } + } + }, + "cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "code-point-at": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", + "dev": true + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "colors": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", + "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==" + }, + "combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "requires": { + "delayed-stream": "~1.0.0" + } + }, + "command-exists": { + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/command-exists/-/command-exists-1.2.9.tgz", + "integrity": "sha512-LTQ/SGc+s0Xc0Fu5WaKnR0YiygZkm9eKFvyS+fRsU7/ZWFF8ykFM6Pc9aCVf1+xasOOZpO3BAVgVrKvsqKHV7w==" + }, + "command-line-args": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/command-line-args/-/command-line-args-4.0.7.tgz", + "integrity": "sha512-aUdPvQRAyBvQd2n7jXcsMDz68ckBJELXNzBybCHOibUWEg0mWTnaYCSRU8h9R+aNRSvDihJtssSRCiDRpLaezA==", + "dev": true, + "requires": { + "array-back": "^2.0.0", + "find-replace": "^1.0.3", + "typical": "^2.6.1" + } + }, + "commander": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/commander/-/commander-3.0.2.tgz", + "integrity": "sha512-Gar0ASD4BDyKC4hl4DwHqDrmvjoxWKZigVnAbn5H1owvm4CxCPdb0HQDehwNYMJpla5+M2tPmPARzhtYuwpHow==" + }, + "compare-versions": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/compare-versions/-/compare-versions-4.1.3.tgz", + "integrity": "sha512-WQfnbDcrYnGr55UwbxKiQKASnTtNnaAWVi8jZyy8NTpVAXWACSne8lMD1iaIo9AiU6mnuLvSVshCzewVuWxHUg==", + "dev": true + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" + }, + "concat-stream": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", + "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", + "requires": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + }, + "dependencies": { + "readable-stream": { + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", + "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "requires": { + "safe-buffer": "~5.1.0" + } + } + } + }, + "cookie": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.2.tgz", + "integrity": "sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA==" + }, + "core-js-pure": { + "version": "3.21.1", + "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.21.1.tgz", + "integrity": "sha512-12VZfFIu+wyVbBebyHmRTuEE/tZrB4tJToWcwAMcsp3h4+sHR+fMJWbKpYiCRWlhFBq+KNyO8rIV9rTkeVmznQ==" + }, + "core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" + }, + "crc-32": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/crc-32/-/crc-32-1.2.1.tgz", + "integrity": "sha512-Dn/xm/1vFFgs3nfrpEVScHoIslO9NZRITWGz/1E/St6u4xw99vfZzVkW0OSnzx2h9egej9xwMCEut6sqwokM/w==", + "requires": { + "exit-on-epipe": "~1.0.1", + "printj": "~1.3.1" + } + }, + "create-hash": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", + "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", + "requires": { + "cipher-base": "^1.0.1", + "inherits": "^2.0.1", + "md5.js": "^1.3.4", + "ripemd160": "^2.0.1", + "sha.js": "^2.4.0" + } + }, + "create-hmac": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", + "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", + "requires": { + "cipher-base": "^1.0.3", + "create-hash": "^1.1.0", + "inherits": "^2.0.1", + "ripemd160": "^2.0.0", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, + "cross-spawn": { + "version": "6.0.5", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", + "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", + "dev": true, + "requires": { + "nice-try": "^1.0.4", + "path-key": "^2.0.1", + "semver": "^5.5.0", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + }, + "dependencies": { + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + }, + "which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + } + } + }, + "crypt": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz", + "integrity": "sha1-iNf/fsDfuG9xPch7u0LQRNPmxBs=" + }, + "dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "requires": { + "assert-plus": "^1.0.0" + } + }, + "debug": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", + "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "requires": { + "ms": "2.1.2" + } + }, + "decamelize": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", + "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==" + }, + "deep-eql": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", + "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", + "dev": true, + "requires": { + "type-detect": "^4.0.0" + } + }, + "deferred-leveldown": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/deferred-leveldown/-/deferred-leveldown-5.3.0.tgz", + "integrity": "sha512-a59VOT+oDy7vtAbLRCZwWgxu2BaCfd5Hk7wxJd48ei7I+nsg8Orlb9CLG0PMZienk9BSUKgeAqkO2+Lw+1+Ukw==", + "requires": { + "abstract-leveldown": "~6.2.1", + "inherits": "^2.0.3" + }, + "dependencies": { + "abstract-leveldown": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-6.2.3.tgz", + "integrity": "sha512-BsLm5vFMRUrrLeCcRc+G0t2qOaTzpoJQLOubq2XM72eNpjF5UdU5o/5NvlNhx95XHcAvcl8OMXr4mlg/fRgUXQ==", + "requires": { + "buffer": "^5.5.0", + "immediate": "^3.2.3", + "level-concat-iterator": "~2.0.0", + "level-supports": "~1.0.0", + "xtend": "~4.0.0" + } + } + } + }, + "define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "requires": { + "object-keys": "^1.0.12" + } + }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" + }, + "depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==" + }, + "diff": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", + "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==" + }, + "drbg.js": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/drbg.js/-/drbg.js-1.0.1.tgz", + "integrity": "sha1-Pja2xCs3BDgjzbwzLVjzHiRFSAs=", + "requires": { + "browserify-aes": "^1.0.6", + "create-hash": "^1.1.2", + "create-hmac": "^1.1.4" + } + }, + "ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "requires": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "elliptic": { + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", + "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", + "requires": { + "bn.js": "^4.11.9", + "brorand": "^1.1.0", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.1", + "inherits": "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "encoding-down": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/encoding-down/-/encoding-down-6.3.0.tgz", + "integrity": "sha512-QKrV0iKR6MZVJV08QY0wp1e7vF6QbhnbQhb07bwpEyuz4uZiZgPlEGdkCROuFkUwdxlFaiPIhjyarH1ee/3vhw==", + "requires": { + "abstract-leveldown": "^6.2.1", + "inherits": "^2.0.3", + "level-codec": "^9.0.0", + "level-errors": "^2.0.0" + } + }, + "enquirer": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", + "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", + "requires": { + "ansi-colors": "^4.1.1" + } + }, + "env-paths": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", + "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==" + }, + "errno": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.8.tgz", + "integrity": "sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==", + "requires": { + "prr": "~1.0.1" + } + }, + "error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, + "requires": { + "is-arrayish": "^0.2.1" + } + }, + "es-abstract": { + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.19.1.tgz", + "integrity": "sha512-2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w==", + "requires": { + "call-bind": "^1.0.2", + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "get-intrinsic": "^1.1.1", + "get-symbol-description": "^1.0.0", + "has": "^1.0.3", + "has-symbols": "^1.0.2", + "internal-slot": "^1.0.3", + "is-callable": "^1.2.4", + "is-negative-zero": "^2.0.1", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.1", + "is-string": "^1.0.7", + "is-weakref": "^1.0.1", + "object-inspect": "^1.11.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.2", + "string.prototype.trimend": "^1.0.4", + "string.prototype.trimstart": "^1.0.4", + "unbox-primitive": "^1.0.1" + }, + "dependencies": { + "object.assign": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", + "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" + } + } + } + }, + "es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "requires": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + } + }, + "escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" + }, + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" + }, + "eth-ens-namehash": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/eth-ens-namehash/-/eth-ens-namehash-2.0.8.tgz", + "integrity": "sha1-IprEbsqG1S4MmR58sq74P/D2i88=", + "dev": true, + "requires": { + "idna-uts46-hx": "^2.3.1", + "js-sha3": "^0.5.7" + }, + "dependencies": { + "js-sha3": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz", + "integrity": "sha1-DU/9gALVMzqrr0oj7tL2N0yfKOc=", + "dev": true + } + } + }, + "eth-gas-reporter": { + "version": "0.2.24", + "resolved": "https://registry.npmjs.org/eth-gas-reporter/-/eth-gas-reporter-0.2.24.tgz", + "integrity": "sha512-RbXLC2bnuPHzIMU/rnLXXlb6oiHEEKu7rq2UrAX/0mfo0Lzrr/kb9QTjWjfz8eNvc+uu6J8AuBwI++b+MLNI2w==", + "requires": { + "@ethersproject/abi": "^5.0.0-beta.146", + "@solidity-parser/parser": "^0.14.0", + "cli-table3": "^0.5.0", + "colors": "1.4.0", + "ethereumjs-util": "6.2.0", + "ethers": "^4.0.40", + "fs-readdir-recursive": "^1.1.0", + "lodash": "^4.17.14", + "markdown-table": "^1.1.3", + "mocha": "^7.1.1", + "req-cwd": "^2.0.0", + "request": "^2.88.0", + "request-promise-native": "^1.0.5", + "sha1": "^1.1.1", + "sync-request": "^6.0.0" + }, + "dependencies": { + "@types/bn.js": { + "version": "4.11.6", + "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.6.tgz", + "integrity": "sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg==", + "requires": { + "@types/node": "*" + } + }, + "ansi-colors": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.3.tgz", + "integrity": "sha512-LEHHyuhlPY3TmuUYMh2oz89lTShfvgbmzaBcxve9t/9Wuy7Dwf4yoAKcND7KFT1HAQfqZ12qtc+DUrBMeKF9nw==" + }, + "ansi-regex": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz", + "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==" + }, + "argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "requires": { + "sprintf-js": "~1.0.2" + } + }, + "camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==" + }, + "chokidar": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.3.0.tgz", + "integrity": "sha512-dGmKLDdT3Gdl7fBUe8XK+gAtGmzy5Fn0XkkWQuYxGIgWVPPse2CxFA5mtrlD0TOHaHjEUqkWNyP1XdHoJES/4A==", + "requires": { + "anymatch": "~3.1.1", + "braces": "~3.0.2", + "fsevents": "~2.1.1", + "glob-parent": "~5.1.0", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.2.0" + } + }, + "cliui": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz", + "integrity": "sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==", + "requires": { + "string-width": "^3.1.0", + "strip-ansi": "^5.2.0", + "wrap-ansi": "^5.1.0" + } + }, + "debug": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", + "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", + "requires": { + "ms": "^2.1.1" + } + }, + "decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=" + }, + "diff": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", + "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==" + }, + "emoji-regex": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", + "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==" + }, + "ethereumjs-util": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-6.2.0.tgz", + "integrity": "sha512-vb0XN9J2QGdZGIEKG2vXM+kUdEivUfU6Wmi5y0cg+LRhDYKnXIZ/Lz7XjFbHRR9VIKq2lVGLzGBkA++y2nOdOQ==", + "requires": { + "@types/bn.js": "^4.11.3", + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "ethjs-util": "0.1.6", + "keccak": "^2.0.0", + "rlp": "^2.2.3", + "secp256k1": "^3.0.1" + } + }, + "ethers": { + "version": "4.0.49", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-4.0.49.tgz", + "integrity": "sha512-kPltTvWiyu+OktYy1IStSO16i2e7cS9D9OxZ81q2UUaiNPVrm/RTcbxamCXF9VUSKzJIdJV68EAIhTEVBalRWg==", + "requires": { + "aes-js": "3.0.0", + "bn.js": "^4.11.9", + "elliptic": "6.5.4", + "hash.js": "1.1.3", + "js-sha3": "0.5.7", + "scrypt-js": "2.0.4", + "setimmediate": "1.0.4", + "uuid": "2.0.1", + "xmlhttprequest": "1.8.0" + } + }, + "find-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", + "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", + "requires": { + "locate-path": "^3.0.0" + } + }, + "flat": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/flat/-/flat-4.1.1.tgz", + "integrity": "sha512-FmTtBsHskrU6FJ2VxCnsDb84wu9zhmO3cUX2kGFb5tuwhfXxGciiT0oRY+cck35QmG+NmGh5eLz6lLCpWTqwpA==", + "requires": { + "is-buffer": "~2.0.3" + } + }, + "fsevents": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.3.tgz", + "integrity": "sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==", + "optional": true + }, + "glob": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", + "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "hash.js": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.3.tgz", + "integrity": "sha512-/UETyP0W22QILqS+6HowevwhEFJ3MBJnwTf75Qob9Wz9t0DPuisL8kW8YZMK62dHAKE1c1p+gY1TtOLY+USEHA==", + "requires": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.0" + } + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=" + }, + "js-sha3": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz", + "integrity": "sha1-DU/9gALVMzqrr0oj7tL2N0yfKOc=" + }, + "js-yaml": { + "version": "3.13.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz", + "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==", + "requires": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + } + }, + "keccak": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/keccak/-/keccak-2.1.0.tgz", + "integrity": "sha512-m1wbJRTo+gWbctZWay9i26v5fFnYkOn7D5PCxJ3fZUGUEb49dE1Pm4BREUYCt/aoO6di7jeoGmhvqN9Nzylm3Q==", + "requires": { + "bindings": "^1.5.0", + "inherits": "^2.0.4", + "nan": "^2.14.0", + "safe-buffer": "^5.2.0" + } + }, + "locate-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", + "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", + "requires": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + } + }, + "log-symbols": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-3.0.0.tgz", + "integrity": "sha512-dSkNGuI7iG3mfvDzUuYZyvk5dD9ocYCYzNU6CYDE6+Xqd+gwme6Z00NS3dUh8mq/73HaEtT7m6W+yUPtU6BZnQ==", + "requires": { + "chalk": "^2.4.2" + } + }, + "minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "mocha": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-7.2.0.tgz", + "integrity": "sha512-O9CIypScywTVpNaRrCAgoUnJgozpIofjKUYmJhiCIJMiuYnLI6otcb1/kpW9/n/tJODHGZ7i8aLQoDVsMtOKQQ==", + "requires": { + "ansi-colors": "3.2.3", + "browser-stdout": "1.3.1", + "chokidar": "3.3.0", + "debug": "3.2.6", + "diff": "3.5.0", + "escape-string-regexp": "1.0.5", + "find-up": "3.0.0", + "glob": "7.1.3", + "growl": "1.10.5", + "he": "1.2.0", + "js-yaml": "3.13.1", + "log-symbols": "3.0.0", + "minimatch": "3.0.4", + "mkdirp": "0.5.5", + "ms": "2.1.1", + "node-environment-flags": "1.0.6", + "object.assign": "4.1.0", + "strip-json-comments": "2.0.1", + "supports-color": "6.0.0", + "which": "1.3.1", + "wide-align": "1.1.3", + "yargs": "13.3.2", + "yargs-parser": "13.1.2", + "yargs-unparser": "1.6.0" + } + }, + "ms": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", + "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" + }, + "p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", + "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", + "requires": { + "p-limit": "^2.0.0" + } + }, + "p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==" + }, + "readdirp": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.2.0.tgz", + "integrity": "sha512-crk4Qu3pmXwgxdSgGhgA/eXiJAPQiX4GMOZZMXnqKxHX7TaoL+3gQVo/WeuAiogr07DpnfjIMpXXa+PAIvwPGQ==", + "requires": { + "picomatch": "^2.0.4" + } + }, + "scrypt-js": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/scrypt-js/-/scrypt-js-2.0.4.tgz", + "integrity": "sha512-4KsaGcPnuhtCZQCxFxN3GVYIhKFPTdLd8PLC552XwbMndtD0cjRFAhDuuydXQ0h08ZfPgzqe6EKHozpuH74iDw==" + }, + "secp256k1": { + "version": "3.8.0", + "resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-3.8.0.tgz", + "integrity": "sha512-k5ke5avRZbtl9Tqx/SA7CbY3NF6Ro+Sj9cZxezFzuBlLDmyqPiL8hJJ+EmzD8Ig4LUDByHJ3/iPOVoRixs/hmw==", + "requires": { + "bindings": "^1.5.0", + "bip66": "^1.1.5", + "bn.js": "^4.11.8", + "create-hash": "^1.2.0", + "drbg.js": "^1.0.1", + "elliptic": "^6.5.2", + "nan": "^2.14.0", + "safe-buffer": "^5.1.2" + } + }, + "setimmediate": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.4.tgz", + "integrity": "sha1-IOgd5iLUoCWIzgyNqJc8vPHTE48=" + }, + "string-width": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", + "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", + "requires": { + "emoji-regex": "^7.0.1", + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^5.1.0" + } + }, + "strip-ansi": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", + "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", + "requires": { + "ansi-regex": "^4.1.0" + } + }, + "strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=" + }, + "supports-color": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.0.0.tgz", + "integrity": "sha512-on9Kwidc1IUQo+bQdhi8+Tijpo0e1SS6RoGo2guUwn5vdaxw8RXOF9Vb2ws+ihWOmh4JnCJOvaziZWP1VABaLg==", + "requires": { + "has-flag": "^3.0.0" + } + }, + "uuid": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.1.tgz", + "integrity": "sha1-wqMN7bPlNdcsz4LjQ5QaULqFM6w=" + }, + "which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "requires": { + "isexe": "^2.0.0" + } + }, + "wrap-ansi": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz", + "integrity": "sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==", + "requires": { + "ansi-styles": "^3.2.0", + "string-width": "^3.0.0", + "strip-ansi": "^5.0.0" + } + }, + "y18n": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", + "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==" + }, + "yargs": { + "version": "13.3.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-13.3.2.tgz", + "integrity": "sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw==", + "requires": { + "cliui": "^5.0.0", + "find-up": "^3.0.0", + "get-caller-file": "^2.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^2.0.0", + "set-blocking": "^2.0.0", + "string-width": "^3.0.0", + "which-module": "^2.0.0", + "y18n": "^4.0.0", + "yargs-parser": "^13.1.2" + } + }, + "yargs-parser": { + "version": "13.1.2", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.2.tgz", + "integrity": "sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==", + "requires": { + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" + } + }, + "yargs-unparser": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-1.6.0.tgz", + "integrity": "sha512-W9tKgmSn0DpSatfri0nx52Joq5hVXgeLiqR/5G0sZNDoLZFOr/xjBUDcShCOGNsBnEMNo1KAMBkTej1Hm62HTw==", + "requires": { + "flat": "^4.1.0", + "lodash": "^4.17.15", + "yargs": "^13.3.0" + } + } + } + }, + "ethereum-bloom-filters": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/ethereum-bloom-filters/-/ethereum-bloom-filters-1.0.10.tgz", + "integrity": "sha512-rxJ5OFN3RwjQxDcFP2Z5+Q9ho4eIdEmSc2ht0fCu8Se9nbXjZ7/031uXoUYJ87KHCOdVeiUuwSnoS7hmYAGVHA==", + "dev": true, + "requires": { + "js-sha3": "^0.8.0" + } + }, + "ethereum-cryptography": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/ethereum-cryptography/-/ethereum-cryptography-0.1.3.tgz", + "integrity": "sha512-w8/4x1SGGzc+tO97TASLja6SLd3fRIK2tLVcV2Gx4IB21hE19atll5Cq9o3d0ZmAYC/8aw0ipieTSiekAea4SQ==", + "requires": { + "@types/pbkdf2": "^3.0.0", + "@types/secp256k1": "^4.0.1", + "blakejs": "^1.1.0", + "browserify-aes": "^1.2.0", + "bs58check": "^2.1.2", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "hash.js": "^1.1.7", + "keccak": "^3.0.0", + "pbkdf2": "^3.0.17", + "randombytes": "^2.1.0", + "safe-buffer": "^5.1.2", + "scrypt-js": "^3.0.0", + "secp256k1": "^4.0.1", + "setimmediate": "^1.0.5" + } + }, + "ethereum-waffle": { + "version": "3.4.4", + "resolved": "https://registry.npmjs.org/ethereum-waffle/-/ethereum-waffle-3.4.4.tgz", + "integrity": "sha512-PA9+jCjw4WC3Oc5ocSMBj5sXvueWQeAbvCA+hUlb6oFgwwKyq5ka3bWQ7QZcjzIX+TdFkxP4IbFmoY2D8Dkj9Q==", + "dev": true, + "requires": { + "@ethereum-waffle/chai": "^3.4.4", + "@ethereum-waffle/compiler": "^3.4.4", + "@ethereum-waffle/mock-contract": "^3.4.4", + "@ethereum-waffle/provider": "^3.4.4", + "ethers": "^5.0.1" + } + }, + "ethereumjs-abi": { + "version": "0.6.8", + "resolved": "https://registry.npmjs.org/ethereumjs-abi/-/ethereumjs-abi-0.6.8.tgz", + "integrity": "sha512-Tx0r/iXI6r+lRsdvkFDlut0N08jWMnKRZ6Gkq+Nmw75lZe4e6o3EkSnkaBP5NF6+m5PTGAr9JP43N3LyeoglsA==", + "requires": { + "bn.js": "^4.11.8", + "ethereumjs-util": "^6.0.0" + }, + "dependencies": { + "@types/bn.js": { + "version": "4.11.6", + "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.6.tgz", + "integrity": "sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg==", + "requires": { + "@types/node": "*" + } + }, + "ethereumjs-util": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-6.2.1.tgz", + "integrity": "sha512-W2Ktez4L01Vexijrm5EB6w7dg4n/TgpoYU4avuT5T3Vmnw/eCRtiBrJfQYS/DCSvDIOLn2k57GcHdeBcgVxAqw==", + "requires": { + "@types/bn.js": "^4.11.3", + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "0.1.6", + "rlp": "^2.2.3" + } + } + } + }, + "ethereumjs-util": { + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-7.1.4.tgz", + "integrity": "sha512-p6KmuPCX4mZIqsQzXfmSx9Y0l2hqf+VkAiwSisW3UKUFdk8ZkAt+AYaor83z2nSi6CU2zSsXMlD80hAbNEGM0A==", + "requires": { + "@types/bn.js": "^5.1.0", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.2.4" + }, + "dependencies": { + "bn.js": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz", + "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==" + } + } + }, + "ethers": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-5.6.0.tgz", + "integrity": "sha512-00FP71jt6bW3ndO5DhgH9mLIZhoCGnAKFLu8qig5KmV03ubEChKf2ilB3g6fX512tTYo+tSMDJ5WpCJWdBHkBQ==", + "dev": true, + "requires": { + "@ethersproject/abi": "5.6.0", + "@ethersproject/abstract-provider": "5.6.0", + "@ethersproject/abstract-signer": "5.6.0", + "@ethersproject/address": "5.6.0", + "@ethersproject/base64": "5.6.0", + "@ethersproject/basex": "5.6.0", + "@ethersproject/bignumber": "5.6.0", + "@ethersproject/bytes": "5.6.0", + "@ethersproject/constants": "5.6.0", + "@ethersproject/contracts": "5.6.0", + "@ethersproject/hash": "5.6.0", + "@ethersproject/hdnode": "5.6.0", + "@ethersproject/json-wallets": "5.6.0", + "@ethersproject/keccak256": "5.6.0", + "@ethersproject/logger": "5.6.0", + "@ethersproject/networks": "5.6.0", + "@ethersproject/pbkdf2": "5.6.0", + "@ethersproject/properties": "5.6.0", + "@ethersproject/providers": "5.6.0", + "@ethersproject/random": "5.6.0", + "@ethersproject/rlp": "5.6.0", + "@ethersproject/sha2": "5.6.0", + "@ethersproject/signing-key": "5.6.0", + "@ethersproject/solidity": "5.6.0", + "@ethersproject/strings": "5.6.0", + "@ethersproject/transactions": "5.6.0", + "@ethersproject/units": "5.6.0", + "@ethersproject/wallet": "5.6.0", + "@ethersproject/web": "5.6.0", + "@ethersproject/wordlists": "5.6.0" + } + }, + "ethjs-unit": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/ethjs-unit/-/ethjs-unit-0.1.6.tgz", + "integrity": "sha1-xmWSHkduh7ziqdWIpv4EBbLEFpk=", + "dev": true, + "requires": { + "bn.js": "4.11.6", + "number-to-bn": "1.7.0" + }, + "dependencies": { + "bn.js": { + "version": "4.11.6", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", + "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=", + "dev": true + } + } + }, + "ethjs-util": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/ethjs-util/-/ethjs-util-0.1.6.tgz", + "integrity": "sha512-CUnVOQq7gSpDHZVVrQW8ExxUETWrnrvXYvYz55wOU8Uj4VCgw56XC2B/fVqQN+f7gmrnRHSLVnFAwsCuNwji8w==", + "requires": { + "is-hex-prefixed": "1.0.0", + "strip-hex-prefix": "1.0.0" + } + }, + "event-target-shim": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", + "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==" + }, + "evp_bytestokey": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", + "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", + "requires": { + "md5.js": "^1.3.4", + "safe-buffer": "^5.1.1" + } + }, + "exit-on-epipe": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/exit-on-epipe/-/exit-on-epipe-1.0.1.tgz", + "integrity": "sha512-h2z5mrROTxce56S+pnvAV890uu7ls7f1kEvVGJbw1OlFH3/mlJ5bkXu0KRyW94v37zzHPiUd55iLn3DA7TjWpw==" + }, + "extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + }, + "extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=" + }, + "fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + }, + "fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" + }, + "file-uri-to-path": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", + "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==" + }, + "fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "find-replace": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/find-replace/-/find-replace-1.0.3.tgz", + "integrity": "sha1-uI5zZNLZyVlVnziMZmcNYTBEH6A=", + "dev": true, + "requires": { + "array-back": "^1.0.4", + "test-value": "^2.1.0" + }, + "dependencies": { + "array-back": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-1.0.4.tgz", + "integrity": "sha1-ZEun8JX3/898Q7Xw3DnTwfA8Bjs=", + "dev": true, + "requires": { + "typical": "^2.6.0" + } + } + } + }, + "find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "requires": { + "locate-path": "^2.0.0" + } + }, + "find-yarn-workspace-root": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/find-yarn-workspace-root/-/find-yarn-workspace-root-2.0.0.tgz", + "integrity": "sha512-1IMnbjt4KzsQfnhnzNd8wUEgXZ44IzZaZmnLYx7D5FZlaHt2gW20Cri8Q+E/t5tIj4+epTBub+2Zxu/vNILzqQ==", + "dev": true, + "requires": { + "micromatch": "^4.0.2" + } + }, + "flat": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", + "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==" + }, + "follow-redirects": { + "version": "1.14.9", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.9.tgz", + "integrity": "sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w==" + }, + "forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=" + }, + "form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + } + }, + "fp-ts": { + "version": "1.19.3", + "resolved": "https://registry.npmjs.org/fp-ts/-/fp-ts-1.19.3.tgz", + "integrity": "sha512-H5KQDspykdHuztLTg+ajGN0Z2qUjcEf3Ybxc6hLt0k7/zPkn29XnKnxlBPyW2XIddWrGaJBzBl4VLYOtk39yZg==" + }, + "fs-extra": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", + "integrity": "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==", + "requires": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "fs-readdir-recursive": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz", + "integrity": "sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==" + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" + }, + "fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "optional": true + }, + "function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + }, + "functional-red-black-tree": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", + "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=" + }, + "ganache-core": { + "version": "2.13.2", + "resolved": "https://registry.npmjs.org/ganache-core/-/ganache-core-2.13.2.tgz", + "integrity": "sha512-tIF5cR+ANQz0+3pHWxHjIwHqFXcVo0Mb+kcsNhglNFALcYo49aQpnS9dqHartqPfMFjiHh/qFoD3mYK0d/qGgw==", + "dev": true, + "requires": { + "abstract-leveldown": "3.0.0", + "async": "2.6.2", + "bip39": "2.5.0", + "cachedown": "1.0.0", + "clone": "2.1.2", + "debug": "3.2.6", + "encoding-down": "5.0.4", + "eth-sig-util": "3.0.0", + "ethereumjs-abi": "0.6.8", + "ethereumjs-account": "3.0.0", + "ethereumjs-block": "2.2.2", + "ethereumjs-common": "1.5.0", + "ethereumjs-tx": "2.1.2", + "ethereumjs-util": "6.2.1", + "ethereumjs-vm": "4.2.0", + "ethereumjs-wallet": "0.6.5", + "heap": "0.2.6", + "keccak": "3.0.1", + "level-sublevel": "6.6.4", + "levelup": "3.1.1", + "lodash": "4.17.20", + "lru-cache": "5.1.1", + "merkle-patricia-tree": "3.0.0", + "patch-package": "6.2.2", + "seedrandom": "3.0.1", + "source-map-support": "0.5.12", + "tmp": "0.1.0", + "web3": "1.2.11", + "web3-provider-engine": "14.2.1", + "websocket": "1.0.32" + }, + "dependencies": { + "@ethersproject/abi": { + "version": "5.0.0-beta.153", + "dev": true, + "optional": true, + "requires": { + "@ethersproject/address": ">=5.0.0-beta.128", + "@ethersproject/bignumber": ">=5.0.0-beta.130", + "@ethersproject/bytes": ">=5.0.0-beta.129", + "@ethersproject/constants": ">=5.0.0-beta.128", + "@ethersproject/hash": ">=5.0.0-beta.128", + "@ethersproject/keccak256": ">=5.0.0-beta.127", + "@ethersproject/logger": ">=5.0.0-beta.129", + "@ethersproject/properties": ">=5.0.0-beta.131", + "@ethersproject/strings": ">=5.0.0-beta.130" + } + }, + "@ethersproject/abstract-provider": { + "version": "5.0.8", + "dev": true, + "optional": true, + "requires": { + "@ethersproject/bignumber": "^5.0.13", + "@ethersproject/bytes": "^5.0.9", + "@ethersproject/logger": "^5.0.8", + "@ethersproject/networks": "^5.0.7", + "@ethersproject/properties": "^5.0.7", + "@ethersproject/transactions": "^5.0.9", + "@ethersproject/web": "^5.0.12" + } + }, + "@ethersproject/abstract-signer": { + "version": "5.0.10", + "dev": true, + "optional": true, + "requires": { + "@ethersproject/abstract-provider": "^5.0.8", + "@ethersproject/bignumber": "^5.0.13", + "@ethersproject/bytes": "^5.0.9", + "@ethersproject/logger": "^5.0.8", + "@ethersproject/properties": "^5.0.7" + } + }, + "@ethersproject/address": { + "version": "5.0.9", + "dev": true, + "optional": true, + "requires": { + "@ethersproject/bignumber": "^5.0.13", + "@ethersproject/bytes": "^5.0.9", + "@ethersproject/keccak256": "^5.0.7", + "@ethersproject/logger": "^5.0.8", + "@ethersproject/rlp": "^5.0.7" + } + }, + "@ethersproject/base64": { + "version": "5.0.7", + "dev": true, + "optional": true, + "requires": { + "@ethersproject/bytes": "^5.0.9" + } + }, + "@ethersproject/bignumber": { + "version": "5.0.13", + "dev": true, + "optional": true, + "requires": { + "@ethersproject/bytes": "^5.0.9", + "@ethersproject/logger": "^5.0.8", + "bn.js": "^4.4.0" + } + }, + "@ethersproject/bytes": { + "version": "5.0.9", + "dev": true, + "optional": true, + "requires": { + "@ethersproject/logger": "^5.0.8" + } + }, + "@ethersproject/constants": { + "version": "5.0.8", + "dev": true, + "optional": true, + "requires": { + "@ethersproject/bignumber": "^5.0.13" + } + }, + "@ethersproject/hash": { + "version": "5.0.10", + "dev": true, + "optional": true, + "requires": { + "@ethersproject/abstract-signer": "^5.0.10", + "@ethersproject/address": "^5.0.9", + "@ethersproject/bignumber": "^5.0.13", + "@ethersproject/bytes": "^5.0.9", + "@ethersproject/keccak256": "^5.0.7", + "@ethersproject/logger": "^5.0.8", + "@ethersproject/properties": "^5.0.7", + "@ethersproject/strings": "^5.0.8" + } + }, + "@ethersproject/keccak256": { + "version": "5.0.7", + "dev": true, + "optional": true, + "requires": { + "@ethersproject/bytes": "^5.0.9", + "js-sha3": "0.5.7" + } + }, + "@ethersproject/logger": { + "version": "5.0.8", + "dev": true, + "optional": true + }, + "@ethersproject/networks": { + "version": "5.0.7", + "dev": true, + "optional": true, + "requires": { + "@ethersproject/logger": "^5.0.8" + } + }, + "@ethersproject/properties": { + "version": "5.0.7", + "dev": true, + "optional": true, + "requires": { + "@ethersproject/logger": "^5.0.8" + } + }, + "@ethersproject/rlp": { + "version": "5.0.7", + "dev": true, + "optional": true, + "requires": { + "@ethersproject/bytes": "^5.0.9", + "@ethersproject/logger": "^5.0.8" + } + }, + "@ethersproject/signing-key": { + "version": "5.0.8", + "dev": true, + "optional": true, + "requires": { + "@ethersproject/bytes": "^5.0.9", + "@ethersproject/logger": "^5.0.8", + "@ethersproject/properties": "^5.0.7", + "elliptic": "6.5.3" + } + }, + "@ethersproject/strings": { + "version": "5.0.8", + "dev": true, + "optional": true, + "requires": { + "@ethersproject/bytes": "^5.0.9", + "@ethersproject/constants": "^5.0.8", + "@ethersproject/logger": "^5.0.8" + } + }, + "@ethersproject/transactions": { + "version": "5.0.9", + "dev": true, + "optional": true, + "requires": { + "@ethersproject/address": "^5.0.9", + "@ethersproject/bignumber": "^5.0.13", + "@ethersproject/bytes": "^5.0.9", + "@ethersproject/constants": "^5.0.8", + "@ethersproject/keccak256": "^5.0.7", + "@ethersproject/logger": "^5.0.8", + "@ethersproject/properties": "^5.0.7", + "@ethersproject/rlp": "^5.0.7", + "@ethersproject/signing-key": "^5.0.8" + } + }, + "@ethersproject/web": { + "version": "5.0.12", + "dev": true, + "optional": true, + "requires": { + "@ethersproject/base64": "^5.0.7", + "@ethersproject/bytes": "^5.0.9", + "@ethersproject/logger": "^5.0.8", + "@ethersproject/properties": "^5.0.7", + "@ethersproject/strings": "^5.0.8" + } + }, + "@sindresorhus/is": { + "version": "0.14.0", + "dev": true, + "optional": true + }, + "@szmarczak/http-timer": { + "version": "1.1.2", + "dev": true, + "optional": true, + "requires": { + "defer-to-connect": "^1.0.1" + } + }, + "@types/bn.js": { + "version": "4.11.6", + "dev": true, + "requires": { + "@types/node": "*" + } + }, + "@types/node": { + "version": "14.14.20", + "dev": true + }, + "@types/pbkdf2": { + "version": "3.1.0", + "dev": true, + "requires": { + "@types/node": "*" + } + }, + "@types/secp256k1": { + "version": "4.0.1", + "dev": true, + "requires": { + "@types/node": "*" + } + }, + "@yarnpkg/lockfile": { + "version": "1.1.0", + "dev": true + }, + "abstract-leveldown": { + "version": "3.0.0", + "dev": true, + "requires": { + "xtend": "~4.0.0" + } + }, + "accepts": { + "version": "1.3.7", + "dev": true, + "optional": true, + "requires": { + "mime-types": "~2.1.24", + "negotiator": "0.6.2" + } + }, + "aes-js": { + "version": "3.1.2", + "dev": true, + "optional": true + }, + "ajv": { + "version": "6.12.6", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "ansi-styles": { + "version": "3.2.1", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "arr-diff": { + "version": "4.0.0", + "dev": true + }, + "arr-flatten": { + "version": "1.1.0", + "dev": true + }, + "arr-union": { + "version": "3.1.0", + "dev": true + }, + "array-flatten": { + "version": "1.1.1", + "dev": true, + "optional": true + }, + "array-unique": { + "version": "0.3.2", + "dev": true + }, + "asn1": { + "version": "0.2.4", + "dev": true, + "requires": { + "safer-buffer": "~2.1.0" + } + }, + "asn1.js": { + "version": "5.4.1", + "dev": true, + "optional": true, + "requires": { + "bn.js": "^4.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0", + "safer-buffer": "^2.1.0" + } + }, + "assert-plus": { + "version": "1.0.0", + "dev": true + }, + "assign-symbols": { + "version": "1.0.0", + "dev": true + }, + "async": { + "version": "2.6.2", + "dev": true, + "requires": { + "lodash": "^4.17.11" + } + }, + "async-eventemitter": { + "version": "0.2.4", + "dev": true, + "requires": { + "async": "^2.4.0" + } + }, + "async-limiter": { + "version": "1.0.1", + "dev": true + }, + "asynckit": { + "version": "0.4.0", + "dev": true + }, + "atob": { + "version": "2.1.2", + "dev": true + }, + "aws-sign2": { + "version": "0.7.0", + "dev": true + }, + "aws4": { + "version": "1.11.0", + "dev": true + }, + "babel-code-frame": { + "version": "6.26.0", + "dev": true, + "requires": { + "chalk": "^1.1.3", + "esutils": "^2.0.2", + "js-tokens": "^3.0.2" + }, + "dependencies": { + "ansi-regex": { + "version": "2.1.1", + "dev": true + }, + "ansi-styles": { + "version": "2.2.1", + "dev": true + }, + "chalk": { + "version": "1.1.3", + "dev": true, + "requires": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + } + }, + "js-tokens": { + "version": "3.0.2", + "dev": true + }, + "strip-ansi": { + "version": "3.0.1", + "dev": true, + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "supports-color": { + "version": "2.0.0", + "dev": true + } + } + }, + "babel-core": { + "version": "6.26.3", + "dev": true, + "requires": { + "babel-code-frame": "^6.26.0", + "babel-generator": "^6.26.0", + "babel-helpers": "^6.24.1", + "babel-messages": "^6.23.0", + "babel-register": "^6.26.0", + "babel-runtime": "^6.26.0", + "babel-template": "^6.26.0", + "babel-traverse": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "convert-source-map": "^1.5.1", + "debug": "^2.6.9", + "json5": "^0.5.1", + "lodash": "^4.17.4", + "minimatch": "^3.0.4", + "path-is-absolute": "^1.0.1", + "private": "^0.1.8", + "slash": "^1.0.0", + "source-map": "^0.5.7" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "json5": { + "version": "0.5.1", + "dev": true + }, + "ms": { + "version": "2.0.0", + "dev": true + }, + "slash": { + "version": "1.0.0", + "dev": true + } + } + }, + "babel-generator": { + "version": "6.26.1", + "dev": true, + "requires": { + "babel-messages": "^6.23.0", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "detect-indent": "^4.0.0", + "jsesc": "^1.3.0", + "lodash": "^4.17.4", + "source-map": "^0.5.7", + "trim-right": "^1.0.1" + }, + "dependencies": { + "jsesc": { + "version": "1.3.0", + "dev": true + } + } + }, + "babel-helper-builder-binary-assignment-operator-visitor": { + "version": "6.24.1", + "dev": true, + "requires": { + "babel-helper-explode-assignable-expression": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "babel-helper-call-delegate": { + "version": "6.24.1", + "dev": true, + "requires": { + "babel-helper-hoist-variables": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "babel-helper-define-map": { + "version": "6.26.0", + "dev": true, + "requires": { + "babel-helper-function-name": "^6.24.1", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "lodash": "^4.17.4" + } + }, + "babel-helper-explode-assignable-expression": { + "version": "6.24.1", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "babel-helper-function-name": { + "version": "6.24.1", + "dev": true, + "requires": { + "babel-helper-get-function-arity": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "babel-helper-get-function-arity": { + "version": "6.24.1", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "babel-helper-hoist-variables": { + "version": "6.24.1", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "babel-helper-optimise-call-expression": { + "version": "6.24.1", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "babel-helper-regex": { + "version": "6.26.0", + "dev": true, + "requires": { + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "lodash": "^4.17.4" + } + }, + "babel-helper-remap-async-to-generator": { + "version": "6.24.1", + "dev": true, + "requires": { + "babel-helper-function-name": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "babel-helper-replace-supers": { + "version": "6.24.1", + "dev": true, + "requires": { + "babel-helper-optimise-call-expression": "^6.24.1", + "babel-messages": "^6.23.0", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "babel-helpers": { + "version": "6.24.1", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1" + } + }, + "babel-messages": { + "version": "6.23.0", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-check-es2015-constants": { + "version": "6.22.0", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-syntax-async-functions": { + "version": "6.13.0", + "dev": true + }, + "babel-plugin-syntax-exponentiation-operator": { + "version": "6.13.0", + "dev": true + }, + "babel-plugin-syntax-trailing-function-commas": { + "version": "6.22.0", + "dev": true + }, + "babel-plugin-transform-async-to-generator": { + "version": "6.24.1", + "dev": true, + "requires": { + "babel-helper-remap-async-to-generator": "^6.24.1", + "babel-plugin-syntax-async-functions": "^6.8.0", + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-es2015-arrow-functions": { + "version": "6.22.0", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-es2015-block-scoped-functions": { + "version": "6.22.0", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-es2015-block-scoping": { + "version": "6.26.0", + "dev": true, + "requires": { + "babel-runtime": "^6.26.0", + "babel-template": "^6.26.0", + "babel-traverse": "^6.26.0", + "babel-types": "^6.26.0", + "lodash": "^4.17.4" + } + }, + "babel-plugin-transform-es2015-classes": { + "version": "6.24.1", + "dev": true, + "requires": { + "babel-helper-define-map": "^6.24.1", + "babel-helper-function-name": "^6.24.1", + "babel-helper-optimise-call-expression": "^6.24.1", + "babel-helper-replace-supers": "^6.24.1", + "babel-messages": "^6.23.0", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "babel-plugin-transform-es2015-computed-properties": { + "version": "6.24.1", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1" + } + }, + "babel-plugin-transform-es2015-destructuring": { + "version": "6.23.0", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-es2015-duplicate-keys": { + "version": "6.24.1", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "babel-plugin-transform-es2015-for-of": { + "version": "6.23.0", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-es2015-function-name": { + "version": "6.24.1", + "dev": true, + "requires": { + "babel-helper-function-name": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "babel-plugin-transform-es2015-literals": { + "version": "6.22.0", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-es2015-modules-amd": { + "version": "6.24.1", + "dev": true, + "requires": { + "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1" + } + }, + "babel-plugin-transform-es2015-modules-commonjs": { + "version": "6.26.2", + "dev": true, + "requires": { + "babel-plugin-transform-strict-mode": "^6.24.1", + "babel-runtime": "^6.26.0", + "babel-template": "^6.26.0", + "babel-types": "^6.26.0" + } + }, + "babel-plugin-transform-es2015-modules-systemjs": { + "version": "6.24.1", + "dev": true, + "requires": { + "babel-helper-hoist-variables": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1" + } + }, + "babel-plugin-transform-es2015-modules-umd": { + "version": "6.24.1", + "dev": true, + "requires": { + "babel-plugin-transform-es2015-modules-amd": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1" + } + }, + "babel-plugin-transform-es2015-object-super": { + "version": "6.24.1", + "dev": true, + "requires": { + "babel-helper-replace-supers": "^6.24.1", + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-es2015-parameters": { + "version": "6.24.1", + "dev": true, + "requires": { + "babel-helper-call-delegate": "^6.24.1", + "babel-helper-get-function-arity": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-template": "^6.24.1", + "babel-traverse": "^6.24.1", + "babel-types": "^6.24.1" + } + }, + "babel-plugin-transform-es2015-shorthand-properties": { + "version": "6.24.1", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "babel-plugin-transform-es2015-spread": { + "version": "6.22.0", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-es2015-sticky-regex": { + "version": "6.24.1", + "dev": true, + "requires": { + "babel-helper-regex": "^6.24.1", + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "babel-plugin-transform-es2015-template-literals": { + "version": "6.22.0", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-es2015-typeof-symbol": { + "version": "6.23.0", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-es2015-unicode-regex": { + "version": "6.24.1", + "dev": true, + "requires": { + "babel-helper-regex": "^6.24.1", + "babel-runtime": "^6.22.0", + "regexpu-core": "^2.0.0" + } + }, + "babel-plugin-transform-exponentiation-operator": { + "version": "6.24.1", + "dev": true, + "requires": { + "babel-helper-builder-binary-assignment-operator-visitor": "^6.24.1", + "babel-plugin-syntax-exponentiation-operator": "^6.8.0", + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-transform-regenerator": { + "version": "6.26.0", + "dev": true, + "requires": { + "regenerator-transform": "^0.10.0" + } + }, + "babel-plugin-transform-strict-mode": { + "version": "6.24.1", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0", + "babel-types": "^6.24.1" + } + }, + "babel-preset-env": { + "version": "1.7.0", + "dev": true, + "requires": { + "babel-plugin-check-es2015-constants": "^6.22.0", + "babel-plugin-syntax-trailing-function-commas": "^6.22.0", + "babel-plugin-transform-async-to-generator": "^6.22.0", + "babel-plugin-transform-es2015-arrow-functions": "^6.22.0", + "babel-plugin-transform-es2015-block-scoped-functions": "^6.22.0", + "babel-plugin-transform-es2015-block-scoping": "^6.23.0", + "babel-plugin-transform-es2015-classes": "^6.23.0", + "babel-plugin-transform-es2015-computed-properties": "^6.22.0", + "babel-plugin-transform-es2015-destructuring": "^6.23.0", + "babel-plugin-transform-es2015-duplicate-keys": "^6.22.0", + "babel-plugin-transform-es2015-for-of": "^6.23.0", + "babel-plugin-transform-es2015-function-name": "^6.22.0", + "babel-plugin-transform-es2015-literals": "^6.22.0", + "babel-plugin-transform-es2015-modules-amd": "^6.22.0", + "babel-plugin-transform-es2015-modules-commonjs": "^6.23.0", + "babel-plugin-transform-es2015-modules-systemjs": "^6.23.0", + "babel-plugin-transform-es2015-modules-umd": "^6.23.0", + "babel-plugin-transform-es2015-object-super": "^6.22.0", + "babel-plugin-transform-es2015-parameters": "^6.23.0", + "babel-plugin-transform-es2015-shorthand-properties": "^6.22.0", + "babel-plugin-transform-es2015-spread": "^6.22.0", + "babel-plugin-transform-es2015-sticky-regex": "^6.22.0", + "babel-plugin-transform-es2015-template-literals": "^6.22.0", + "babel-plugin-transform-es2015-typeof-symbol": "^6.23.0", + "babel-plugin-transform-es2015-unicode-regex": "^6.22.0", + "babel-plugin-transform-exponentiation-operator": "^6.22.0", + "babel-plugin-transform-regenerator": "^6.22.0", + "browserslist": "^3.2.6", + "invariant": "^2.2.2", + "semver": "^5.3.0" + }, + "dependencies": { + "semver": { + "version": "5.7.1", + "dev": true + } + } + }, + "babel-register": { + "version": "6.26.0", + "dev": true, + "requires": { + "babel-core": "^6.26.0", + "babel-runtime": "^6.26.0", + "core-js": "^2.5.0", + "home-or-tmp": "^2.0.0", + "lodash": "^4.17.4", + "mkdirp": "^0.5.1", + "source-map-support": "^0.4.15" + }, + "dependencies": { + "source-map-support": { + "version": "0.4.18", + "dev": true, + "requires": { + "source-map": "^0.5.6" + } + } + } + }, + "babel-runtime": { + "version": "6.26.0", + "dev": true, + "requires": { + "core-js": "^2.4.0", + "regenerator-runtime": "^0.11.0" + } + }, + "babel-template": { + "version": "6.26.0", + "dev": true, + "requires": { + "babel-runtime": "^6.26.0", + "babel-traverse": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "lodash": "^4.17.4" + } + }, + "babel-traverse": { + "version": "6.26.0", + "dev": true, + "requires": { + "babel-code-frame": "^6.26.0", + "babel-messages": "^6.23.0", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "debug": "^2.6.8", + "globals": "^9.18.0", + "invariant": "^2.2.2", + "lodash": "^4.17.4" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "globals": { + "version": "9.18.0", + "dev": true + }, + "ms": { + "version": "2.0.0", + "dev": true + } + } + }, + "babel-types": { + "version": "6.26.0", + "dev": true, + "requires": { + "babel-runtime": "^6.26.0", + "esutils": "^2.0.2", + "lodash": "^4.17.4", + "to-fast-properties": "^1.0.3" + }, + "dependencies": { + "to-fast-properties": { + "version": "1.0.3", + "dev": true + } + } + }, + "babelify": { + "version": "7.3.0", + "dev": true, + "requires": { + "babel-core": "^6.0.14", + "object-assign": "^4.0.0" + } + }, + "babylon": { + "version": "6.18.0", + "dev": true + }, + "backoff": { + "version": "2.5.0", + "dev": true, + "requires": { + "precond": "0.2" + } + }, + "balanced-match": { + "version": "1.0.0", + "dev": true + }, + "base": { + "version": "0.11.2", + "dev": true, + "requires": { + "cache-base": "^1.0.1", + "class-utils": "^0.3.5", + "component-emitter": "^1.2.1", + "define-property": "^1.0.0", + "isobject": "^3.0.1", + "mixin-deep": "^1.2.0", + "pascalcase": "^0.1.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "dev": true, + "requires": { + "is-descriptor": "^1.0.0" + } + } + } + }, + "base-x": { + "version": "3.0.8", + "dev": true, + "requires": { + "safe-buffer": "^5.0.1" + } + }, + "base64-js": { + "version": "1.5.1", + "dev": true + }, + "bcrypt-pbkdf": { + "version": "1.0.2", + "dev": true, + "requires": { + "tweetnacl": "^0.14.3" + }, + "dependencies": { + "tweetnacl": { + "version": "0.14.5", + "dev": true + } + } + }, + "bignumber.js": { + "version": "9.0.1", + "dev": true, + "optional": true + }, + "bip39": { + "version": "2.5.0", + "dev": true, + "requires": { + "create-hash": "^1.1.0", + "pbkdf2": "^3.0.9", + "randombytes": "^2.0.1", + "safe-buffer": "^5.0.1", + "unorm": "^1.3.3" + } + }, + "blakejs": { + "version": "1.1.0", + "dev": true + }, + "bluebird": { + "version": "3.7.2", + "dev": true, + "optional": true + }, + "bn.js": { + "version": "4.11.9", + "dev": true + }, + "body-parser": { + "version": "1.19.0", + "dev": true, + "optional": true, + "requires": { + "bytes": "3.1.0", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "~1.1.2", + "http-errors": "1.7.2", + "iconv-lite": "0.4.24", + "on-finished": "~2.3.0", + "qs": "6.7.0", + "raw-body": "2.4.0", + "type-is": "~1.6.17" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "dev": true, + "optional": true, + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "dev": true, + "optional": true + }, + "qs": { + "version": "6.7.0", + "dev": true, + "optional": true + } + } + }, + "brace-expansion": { + "version": "1.1.11", + "dev": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "brorand": { + "version": "1.1.0", + "dev": true + }, + "browserify-aes": { + "version": "1.2.0", + "dev": true, + "requires": { + "buffer-xor": "^1.0.3", + "cipher-base": "^1.0.0", + "create-hash": "^1.1.0", + "evp_bytestokey": "^1.0.3", + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "browserify-cipher": { + "version": "1.0.1", + "dev": true, + "optional": true, + "requires": { + "browserify-aes": "^1.0.4", + "browserify-des": "^1.0.0", + "evp_bytestokey": "^1.0.0" + } + }, + "browserify-des": { + "version": "1.0.2", + "dev": true, + "optional": true, + "requires": { + "cipher-base": "^1.0.1", + "des.js": "^1.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "browserify-rsa": { + "version": "4.1.0", + "dev": true, + "optional": true, + "requires": { + "bn.js": "^5.0.0", + "randombytes": "^2.0.1" + }, + "dependencies": { + "bn.js": { + "version": "5.1.3", + "dev": true, + "optional": true + } + } + }, + "browserify-sign": { + "version": "4.2.1", + "dev": true, + "optional": true, + "requires": { + "bn.js": "^5.1.1", + "browserify-rsa": "^4.0.1", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "elliptic": "^6.5.3", + "inherits": "^2.0.4", + "parse-asn1": "^5.1.5", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + }, + "dependencies": { + "bn.js": { + "version": "5.1.3", + "dev": true, + "optional": true + }, + "readable-stream": { + "version": "3.6.0", + "dev": true, + "optional": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + } + } + }, + "browserslist": { + "version": "3.2.8", + "dev": true, + "requires": { + "caniuse-lite": "^1.0.30000844", + "electron-to-chromium": "^1.3.47" + } + }, + "bs58": { + "version": "4.0.1", + "dev": true, + "requires": { + "base-x": "^3.0.2" + } + }, + "bs58check": { + "version": "2.1.2", + "dev": true, + "requires": { + "bs58": "^4.0.0", + "create-hash": "^1.1.0", + "safe-buffer": "^5.1.2" + } + }, + "buffer": { + "version": "5.7.1", + "dev": true, + "requires": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "buffer-from": { + "version": "1.1.1", + "dev": true + }, + "buffer-to-arraybuffer": { + "version": "0.0.5", + "dev": true, + "optional": true + }, + "buffer-xor": { + "version": "1.0.3", + "dev": true + }, + "bufferutil": { + "version": "4.0.3", + "dev": true, + "requires": { + "node-gyp-build": "^4.2.0" + } + }, + "bytes": { + "version": "3.1.0", + "dev": true, + "optional": true + }, + "bytewise": { + "version": "1.1.0", + "dev": true, + "requires": { + "bytewise-core": "^1.2.2", + "typewise": "^1.0.3" + } + }, + "bytewise-core": { + "version": "1.2.3", + "dev": true, + "requires": { + "typewise-core": "^1.2" + } + }, + "cache-base": { + "version": "1.0.1", + "dev": true, + "requires": { + "collection-visit": "^1.0.0", + "component-emitter": "^1.2.1", + "get-value": "^2.0.6", + "has-value": "^1.0.0", + "isobject": "^3.0.1", + "set-value": "^2.0.0", + "to-object-path": "^0.3.0", + "union-value": "^1.0.0", + "unset-value": "^1.0.0" + } + }, + "cacheable-request": { + "version": "6.1.0", + "dev": true, + "optional": true, + "requires": { + "clone-response": "^1.0.2", + "get-stream": "^5.1.0", + "http-cache-semantics": "^4.0.0", + "keyv": "^3.0.0", + "lowercase-keys": "^2.0.0", + "normalize-url": "^4.1.0", + "responselike": "^1.0.2" + }, + "dependencies": { + "lowercase-keys": { + "version": "2.0.0", + "dev": true, + "optional": true + } + } + }, + "cachedown": { + "version": "1.0.0", + "dev": true, + "requires": { + "abstract-leveldown": "^2.4.1", + "lru-cache": "^3.2.0" + }, + "dependencies": { + "abstract-leveldown": { + "version": "2.7.2", + "dev": true, + "requires": { + "xtend": "~4.0.0" + } + }, + "lru-cache": { + "version": "3.2.0", + "dev": true, + "requires": { + "pseudomap": "^1.0.1" + } + } + } + }, + "call-bind": { + "version": "1.0.2", + "dev": true, + "requires": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + } + }, + "caniuse-lite": { + "version": "1.0.30001174", + "dev": true + }, + "caseless": { + "version": "0.12.0", + "dev": true + }, + "chalk": { + "version": "2.4.2", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "checkpoint-store": { + "version": "1.1.0", + "dev": true, + "requires": { + "functional-red-black-tree": "^1.0.1" + } + }, + "chownr": { + "version": "1.1.4", + "dev": true, + "optional": true + }, + "ci-info": { + "version": "2.0.0", + "dev": true + }, + "cids": { + "version": "0.7.5", + "dev": true, + "optional": true, + "requires": { + "buffer": "^5.5.0", + "class-is": "^1.1.0", + "multibase": "~0.6.0", + "multicodec": "^1.0.0", + "multihashes": "~0.4.15" + }, + "dependencies": { + "multicodec": { + "version": "1.0.4", + "dev": true, + "optional": true, + "requires": { + "buffer": "^5.6.0", + "varint": "^5.0.0" + } + } + } + }, + "cipher-base": { + "version": "1.0.4", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "class-is": { + "version": "1.1.0", + "dev": true, + "optional": true + }, + "class-utils": { + "version": "0.3.6", + "dev": true, + "requires": { + "arr-union": "^3.1.0", + "define-property": "^0.2.5", + "isobject": "^3.0.0", + "static-extend": "^0.1.1" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-buffer": { + "version": "1.1.6", + "dev": true + }, + "is-data-descriptor": { + "version": "0.1.4", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-descriptor": { + "version": "0.1.6", + "dev": true, + "requires": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + } + }, + "kind-of": { + "version": "5.1.0", + "dev": true + } + } + }, + "clone": { + "version": "2.1.2", + "dev": true + }, + "clone-response": { + "version": "1.0.2", + "dev": true, + "optional": true, + "requires": { + "mimic-response": "^1.0.0" + } + }, + "collection-visit": { + "version": "1.0.0", + "dev": true, + "requires": { + "map-visit": "^1.0.0", + "object-visit": "^1.0.0" + } + }, + "color-convert": { + "version": "1.9.3", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "dev": true + }, + "combined-stream": { + "version": "1.0.8", + "dev": true, + "requires": { + "delayed-stream": "~1.0.0" + } + }, + "component-emitter": { + "version": "1.3.0", + "dev": true + }, + "concat-map": { + "version": "0.0.1", + "dev": true + }, + "concat-stream": { + "version": "1.6.2", + "dev": true, + "requires": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + } + }, + "content-disposition": { + "version": "0.5.3", + "dev": true, + "optional": true, + "requires": { + "safe-buffer": "5.1.2" + }, + "dependencies": { + "safe-buffer": { + "version": "5.1.2", + "dev": true, + "optional": true + } + } + }, + "content-hash": { + "version": "2.5.2", + "dev": true, + "optional": true, + "requires": { + "cids": "^0.7.1", + "multicodec": "^0.5.5", + "multihashes": "^0.4.15" + } + }, + "content-type": { + "version": "1.0.4", + "dev": true, + "optional": true + }, + "convert-source-map": { + "version": "1.7.0", + "dev": true, + "requires": { + "safe-buffer": "~5.1.1" + }, + "dependencies": { + "safe-buffer": { + "version": "5.1.2", + "dev": true + } + } + }, + "cookie": { + "version": "0.4.0", + "dev": true, + "optional": true + }, + "cookie-signature": { + "version": "1.0.6", + "dev": true, + "optional": true + }, + "cookiejar": { + "version": "2.1.2", + "dev": true, + "optional": true + }, + "copy-descriptor": { + "version": "0.1.1", + "dev": true + }, + "core-js": { + "version": "2.6.12", + "dev": true + }, + "core-js-pure": { + "version": "3.8.2", + "dev": true + }, + "core-util-is": { + "version": "1.0.2", + "dev": true + }, + "cors": { + "version": "2.8.5", + "dev": true, + "optional": true, + "requires": { + "object-assign": "^4", + "vary": "^1" + } + }, + "create-ecdh": { + "version": "4.0.4", + "dev": true, + "optional": true, + "requires": { + "bn.js": "^4.1.0", + "elliptic": "^6.5.3" + } + }, + "create-hash": { + "version": "1.2.0", + "dev": true, + "requires": { + "cipher-base": "^1.0.1", + "inherits": "^2.0.1", + "md5.js": "^1.3.4", + "ripemd160": "^2.0.1", + "sha.js": "^2.4.0" + } + }, + "create-hmac": { + "version": "1.1.7", + "dev": true, + "requires": { + "cipher-base": "^1.0.3", + "create-hash": "^1.1.0", + "inherits": "^2.0.1", + "ripemd160": "^2.0.0", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, + "cross-fetch": { + "version": "2.2.3", + "dev": true, + "requires": { + "node-fetch": "2.1.2", + "whatwg-fetch": "2.0.4" + } + }, + "crypto-browserify": { + "version": "3.12.0", + "dev": true, + "optional": true, + "requires": { + "browserify-cipher": "^1.0.0", + "browserify-sign": "^4.0.0", + "create-ecdh": "^4.0.0", + "create-hash": "^1.1.0", + "create-hmac": "^1.1.0", + "diffie-hellman": "^5.0.0", + "inherits": "^2.0.1", + "pbkdf2": "^3.0.3", + "public-encrypt": "^4.0.0", + "randombytes": "^2.0.0", + "randomfill": "^1.0.3" + } + }, + "d": { + "version": "1.0.1", + "dev": true, + "requires": { + "es5-ext": "^0.10.50", + "type": "^1.0.1" + } + }, + "dashdash": { + "version": "1.14.1", + "dev": true, + "requires": { + "assert-plus": "^1.0.0" + } + }, + "debug": { + "version": "3.2.6", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + }, + "decode-uri-component": { + "version": "0.2.0", + "dev": true + }, + "decompress-response": { + "version": "3.3.0", + "dev": true, + "optional": true, + "requires": { + "mimic-response": "^1.0.0" + } + }, + "deep-equal": { + "version": "1.1.1", + "dev": true, + "requires": { + "is-arguments": "^1.0.4", + "is-date-object": "^1.0.1", + "is-regex": "^1.0.4", + "object-is": "^1.0.1", + "object-keys": "^1.1.1", + "regexp.prototype.flags": "^1.2.0" + } + }, + "defer-to-connect": { + "version": "1.1.3", + "dev": true, + "optional": true + }, + "deferred-leveldown": { + "version": "4.0.2", + "dev": true, + "requires": { + "abstract-leveldown": "~5.0.0", + "inherits": "^2.0.3" + }, + "dependencies": { + "abstract-leveldown": { + "version": "5.0.0", + "dev": true, + "requires": { + "xtend": "~4.0.0" + } + } + } + }, + "define-properties": { + "version": "1.1.3", + "dev": true, + "requires": { + "object-keys": "^1.0.12" + } + }, + "define-property": { + "version": "2.0.2", + "dev": true, + "requires": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + } + }, + "defined": { + "version": "1.0.0", + "dev": true + }, + "delayed-stream": { + "version": "1.0.0", + "dev": true + }, + "depd": { + "version": "1.1.2", + "dev": true, + "optional": true + }, + "des.js": { + "version": "1.0.1", + "dev": true, + "optional": true, + "requires": { + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0" + } + }, + "destroy": { + "version": "1.0.4", + "dev": true, + "optional": true + }, + "detect-indent": { + "version": "4.0.0", + "dev": true, + "requires": { + "repeating": "^2.0.0" + } + }, + "diffie-hellman": { + "version": "5.0.3", + "dev": true, + "optional": true, + "requires": { + "bn.js": "^4.1.0", + "miller-rabin": "^4.0.0", + "randombytes": "^2.0.0" + } + }, + "dom-walk": { + "version": "0.1.2", + "dev": true + }, + "dotignore": { + "version": "0.1.2", + "dev": true, + "requires": { + "minimatch": "^3.0.4" + } + }, + "duplexer3": { + "version": "0.1.4", + "dev": true, + "optional": true + }, + "ecc-jsbn": { + "version": "0.1.2", + "dev": true, + "requires": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "ee-first": { + "version": "1.1.1", + "dev": true, + "optional": true + }, + "electron-to-chromium": { + "version": "1.3.636", + "dev": true + }, + "elliptic": { + "version": "6.5.3", + "dev": true, + "requires": { + "bn.js": "^4.4.0", + "brorand": "^1.0.1", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.0" + } + }, + "encodeurl": { + "version": "1.0.2", + "dev": true, + "optional": true + }, + "encoding": { + "version": "0.1.13", + "dev": true, + "requires": { + "iconv-lite": "^0.6.2" + }, + "dependencies": { + "iconv-lite": { + "version": "0.6.2", + "dev": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + } + } + } + }, + "encoding-down": { + "version": "5.0.4", + "dev": true, + "requires": { + "abstract-leveldown": "^5.0.0", + "inherits": "^2.0.3", + "level-codec": "^9.0.0", + "level-errors": "^2.0.0", + "xtend": "^4.0.1" + }, + "dependencies": { + "abstract-leveldown": { + "version": "5.0.0", + "dev": true, + "requires": { + "xtend": "~4.0.0" + } + } + } + }, + "end-of-stream": { + "version": "1.4.4", + "dev": true, + "requires": { + "once": "^1.4.0" + } + }, + "errno": { + "version": "0.1.8", + "dev": true, + "requires": { + "prr": "~1.0.1" + } + }, + "es-abstract": { + "version": "1.18.0-next.1", + "dev": true, + "requires": { + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1", + "is-callable": "^1.2.2", + "is-negative-zero": "^2.0.0", + "is-regex": "^1.1.1", + "object-inspect": "^1.8.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.1", + "string.prototype.trimend": "^1.0.1", + "string.prototype.trimstart": "^1.0.1" + } + }, + "es-to-primitive": { + "version": "1.2.1", + "dev": true, + "requires": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + } + }, + "es5-ext": { + "version": "0.10.53", + "dev": true, + "requires": { + "es6-iterator": "~2.0.3", + "es6-symbol": "~3.1.3", + "next-tick": "~1.0.0" + } + }, + "es6-iterator": { + "version": "2.0.3", + "dev": true, + "requires": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "es6-symbol": { + "version": "3.1.3", + "dev": true, + "requires": { + "d": "^1.0.1", + "ext": "^1.1.2" + } + }, + "escape-html": { + "version": "1.0.3", + "dev": true, + "optional": true + }, + "escape-string-regexp": { + "version": "1.0.5", + "dev": true + }, + "esutils": { + "version": "2.0.3", + "dev": true + }, + "etag": { + "version": "1.8.1", + "dev": true, + "optional": true + }, + "eth-block-tracker": { + "version": "3.0.1", + "dev": true, + "requires": { + "eth-query": "^2.1.0", + "ethereumjs-tx": "^1.3.3", + "ethereumjs-util": "^5.1.3", + "ethjs-util": "^0.1.3", + "json-rpc-engine": "^3.6.0", + "pify": "^2.3.0", + "tape": "^4.6.3" + }, + "dependencies": { + "ethereumjs-tx": { + "version": "1.3.7", + "dev": true, + "requires": { + "ethereum-common": "^0.0.18", + "ethereumjs-util": "^5.0.0" + } + }, + "ethereumjs-util": { + "version": "5.2.1", + "dev": true, + "requires": { + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "^0.1.3", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1" + } + }, + "pify": { + "version": "2.3.0", + "dev": true + } + } + }, + "eth-ens-namehash": { + "version": "2.0.8", + "dev": true, + "optional": true, + "requires": { + "idna-uts46-hx": "^2.3.1", + "js-sha3": "^0.5.7" + } + }, + "eth-json-rpc-infura": { + "version": "3.2.1", + "dev": true, + "requires": { + "cross-fetch": "^2.1.1", + "eth-json-rpc-middleware": "^1.5.0", + "json-rpc-engine": "^3.4.0", + "json-rpc-error": "^2.0.0" + } + }, + "eth-json-rpc-middleware": { + "version": "1.6.0", + "dev": true, + "requires": { + "async": "^2.5.0", + "eth-query": "^2.1.2", + "eth-tx-summary": "^3.1.2", + "ethereumjs-block": "^1.6.0", + "ethereumjs-tx": "^1.3.3", + "ethereumjs-util": "^5.1.2", + "ethereumjs-vm": "^2.1.0", + "fetch-ponyfill": "^4.0.0", + "json-rpc-engine": "^3.6.0", + "json-rpc-error": "^2.0.0", + "json-stable-stringify": "^1.0.1", + "promise-to-callback": "^1.0.0", + "tape": "^4.6.3" + }, + "dependencies": { + "abstract-leveldown": { + "version": "2.6.3", + "dev": true, + "requires": { + "xtend": "~4.0.0" + } + }, + "deferred-leveldown": { + "version": "1.2.2", + "dev": true, + "requires": { + "abstract-leveldown": "~2.6.0" + } + }, + "ethereumjs-account": { + "version": "2.0.5", + "dev": true, + "requires": { + "ethereumjs-util": "^5.0.0", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1" + } + }, + "ethereumjs-block": { + "version": "1.7.1", + "dev": true, + "requires": { + "async": "^2.0.1", + "ethereum-common": "0.2.0", + "ethereumjs-tx": "^1.2.2", + "ethereumjs-util": "^5.0.0", + "merkle-patricia-tree": "^2.1.2" + }, + "dependencies": { + "ethereum-common": { + "version": "0.2.0", + "dev": true + } + } + }, + "ethereumjs-tx": { + "version": "1.3.7", + "dev": true, + "requires": { + "ethereum-common": "^0.0.18", + "ethereumjs-util": "^5.0.0" + } + }, + "ethereumjs-util": { + "version": "5.2.1", + "dev": true, + "requires": { + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "^0.1.3", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1" + } + }, + "ethereumjs-vm": { + "version": "2.6.0", + "dev": true, + "requires": { + "async": "^2.1.2", + "async-eventemitter": "^0.2.2", + "ethereumjs-account": "^2.0.3", + "ethereumjs-block": "~2.2.0", + "ethereumjs-common": "^1.1.0", + "ethereumjs-util": "^6.0.0", + "fake-merkle-patricia-tree": "^1.0.1", + "functional-red-black-tree": "^1.0.1", + "merkle-patricia-tree": "^2.3.2", + "rustbn.js": "~0.2.0", + "safe-buffer": "^5.1.1" + }, + "dependencies": { + "ethereumjs-block": { + "version": "2.2.2", + "dev": true, + "requires": { + "async": "^2.0.1", + "ethereumjs-common": "^1.5.0", + "ethereumjs-tx": "^2.1.1", + "ethereumjs-util": "^5.0.0", + "merkle-patricia-tree": "^2.1.2" + }, + "dependencies": { + "ethereumjs-util": { + "version": "5.2.1", + "dev": true, + "requires": { + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "^0.1.3", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1" + } + } + } + }, + "ethereumjs-tx": { + "version": "2.1.2", + "dev": true, + "requires": { + "ethereumjs-common": "^1.5.0", + "ethereumjs-util": "^6.0.0" + } + }, + "ethereumjs-util": { + "version": "6.2.1", + "dev": true, + "requires": { + "@types/bn.js": "^4.11.3", + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "0.1.6", + "rlp": "^2.2.3" + } + } + } + }, + "isarray": { + "version": "0.0.1", + "dev": true + }, + "level-codec": { + "version": "7.0.1", + "dev": true + }, + "level-errors": { + "version": "1.0.5", + "dev": true, + "requires": { + "errno": "~0.1.1" + } + }, + "level-iterator-stream": { + "version": "1.3.1", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "level-errors": "^1.0.3", + "readable-stream": "^1.0.33", + "xtend": "^4.0.0" + }, + "dependencies": { + "readable-stream": { + "version": "1.1.14", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + } + } + }, + "level-ws": { + "version": "0.0.0", + "dev": true, + "requires": { + "readable-stream": "~1.0.15", + "xtend": "~2.1.1" + }, + "dependencies": { + "readable-stream": { + "version": "1.0.34", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "xtend": { + "version": "2.1.2", + "dev": true, + "requires": { + "object-keys": "~0.4.0" + } + } + } + }, + "levelup": { + "version": "1.3.9", + "dev": true, + "requires": { + "deferred-leveldown": "~1.2.1", + "level-codec": "~7.0.0", + "level-errors": "~1.0.3", + "level-iterator-stream": "~1.3.0", + "prr": "~1.0.1", + "semver": "~5.4.1", + "xtend": "~4.0.0" + } + }, + "ltgt": { + "version": "2.2.1", + "dev": true + }, + "memdown": { + "version": "1.4.1", + "dev": true, + "requires": { + "abstract-leveldown": "~2.7.1", + "functional-red-black-tree": "^1.0.1", + "immediate": "^3.2.3", + "inherits": "~2.0.1", + "ltgt": "~2.2.0", + "safe-buffer": "~5.1.1" + }, + "dependencies": { + "abstract-leveldown": { + "version": "2.7.2", + "dev": true, + "requires": { + "xtend": "~4.0.0" + } + } + } + }, + "merkle-patricia-tree": { + "version": "2.3.2", + "dev": true, + "requires": { + "async": "^1.4.2", + "ethereumjs-util": "^5.0.0", + "level-ws": "0.0.0", + "levelup": "^1.2.1", + "memdown": "^1.0.0", + "readable-stream": "^2.0.0", + "rlp": "^2.0.0", + "semaphore": ">=1.0.1" + }, + "dependencies": { + "async": { + "version": "1.5.2", + "dev": true + } + } + }, + "object-keys": { + "version": "0.4.0", + "dev": true + }, + "safe-buffer": { + "version": "5.1.2", + "dev": true + }, + "semver": { + "version": "5.4.1", + "dev": true + }, + "string_decoder": { + "version": "0.10.31", + "dev": true + } + } + }, + "eth-lib": { + "version": "0.1.29", + "dev": true, + "optional": true, + "requires": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "nano-json-stream-parser": "^0.1.2", + "servify": "^0.1.12", + "ws": "^3.0.0", + "xhr-request-promise": "^0.1.2" + } + }, + "eth-query": { + "version": "2.1.2", + "dev": true, + "requires": { + "json-rpc-random-id": "^1.0.0", + "xtend": "^4.0.1" + } + }, + "eth-sig-util": { + "version": "3.0.0", + "dev": true, + "requires": { + "buffer": "^5.2.1", + "elliptic": "^6.4.0", + "ethereumjs-abi": "0.6.5", + "ethereumjs-util": "^5.1.1", + "tweetnacl": "^1.0.0", + "tweetnacl-util": "^0.15.0" + }, + "dependencies": { + "ethereumjs-abi": { + "version": "0.6.5", + "dev": true, + "requires": { + "bn.js": "^4.10.0", + "ethereumjs-util": "^4.3.0" + }, + "dependencies": { + "ethereumjs-util": { + "version": "4.5.1", + "dev": true, + "requires": { + "bn.js": "^4.8.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "rlp": "^2.0.0" + } + } + } + }, + "ethereumjs-util": { + "version": "5.2.1", + "dev": true, + "requires": { + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "^0.1.3", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1" + } + } + } + }, + "eth-tx-summary": { + "version": "3.2.4", + "dev": true, + "requires": { + "async": "^2.1.2", + "clone": "^2.0.0", + "concat-stream": "^1.5.1", + "end-of-stream": "^1.1.0", + "eth-query": "^2.0.2", + "ethereumjs-block": "^1.4.1", + "ethereumjs-tx": "^1.1.1", + "ethereumjs-util": "^5.0.1", + "ethereumjs-vm": "^2.6.0", + "through2": "^2.0.3" + }, + "dependencies": { + "abstract-leveldown": { + "version": "2.6.3", + "dev": true, + "requires": { + "xtend": "~4.0.0" + } + }, + "deferred-leveldown": { + "version": "1.2.2", + "dev": true, + "requires": { + "abstract-leveldown": "~2.6.0" + } + }, + "ethereumjs-account": { + "version": "2.0.5", + "dev": true, + "requires": { + "ethereumjs-util": "^5.0.0", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1" + } + }, + "ethereumjs-block": { + "version": "1.7.1", + "dev": true, + "requires": { + "async": "^2.0.1", + "ethereum-common": "0.2.0", + "ethereumjs-tx": "^1.2.2", + "ethereumjs-util": "^5.0.0", + "merkle-patricia-tree": "^2.1.2" + }, + "dependencies": { + "ethereum-common": { + "version": "0.2.0", + "dev": true + } + } + }, + "ethereumjs-tx": { + "version": "1.3.7", + "dev": true, + "requires": { + "ethereum-common": "^0.0.18", + "ethereumjs-util": "^5.0.0" + } + }, + "ethereumjs-util": { + "version": "5.2.1", + "dev": true, + "requires": { + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "^0.1.3", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1" + } + }, + "ethereumjs-vm": { + "version": "2.6.0", + "dev": true, + "requires": { + "async": "^2.1.2", + "async-eventemitter": "^0.2.2", + "ethereumjs-account": "^2.0.3", + "ethereumjs-block": "~2.2.0", + "ethereumjs-common": "^1.1.0", + "ethereumjs-util": "^6.0.0", + "fake-merkle-patricia-tree": "^1.0.1", + "functional-red-black-tree": "^1.0.1", + "merkle-patricia-tree": "^2.3.2", + "rustbn.js": "~0.2.0", + "safe-buffer": "^5.1.1" + }, + "dependencies": { + "ethereumjs-block": { + "version": "2.2.2", + "dev": true, + "requires": { + "async": "^2.0.1", + "ethereumjs-common": "^1.5.0", + "ethereumjs-tx": "^2.1.1", + "ethereumjs-util": "^5.0.0", + "merkle-patricia-tree": "^2.1.2" + }, + "dependencies": { + "ethereumjs-util": { + "version": "5.2.1", + "dev": true, + "requires": { + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "^0.1.3", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1" + } + } + } + }, + "ethereumjs-tx": { + "version": "2.1.2", + "dev": true, + "requires": { + "ethereumjs-common": "^1.5.0", + "ethereumjs-util": "^6.0.0" + } + }, + "ethereumjs-util": { + "version": "6.2.1", + "dev": true, + "requires": { + "@types/bn.js": "^4.11.3", + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "0.1.6", + "rlp": "^2.2.3" + } + } + } + }, + "isarray": { + "version": "0.0.1", + "dev": true + }, + "level-codec": { + "version": "7.0.1", + "dev": true + }, + "level-errors": { + "version": "1.0.5", + "dev": true, + "requires": { + "errno": "~0.1.1" + } + }, + "level-iterator-stream": { + "version": "1.3.1", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "level-errors": "^1.0.3", + "readable-stream": "^1.0.33", + "xtend": "^4.0.0" + }, + "dependencies": { + "readable-stream": { + "version": "1.1.14", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + } + } + }, + "level-ws": { + "version": "0.0.0", + "dev": true, + "requires": { + "readable-stream": "~1.0.15", + "xtend": "~2.1.1" + }, + "dependencies": { + "readable-stream": { + "version": "1.0.34", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "xtend": { + "version": "2.1.2", + "dev": true, + "requires": { + "object-keys": "~0.4.0" + } + } + } + }, + "levelup": { + "version": "1.3.9", + "dev": true, + "requires": { + "deferred-leveldown": "~1.2.1", + "level-codec": "~7.0.0", + "level-errors": "~1.0.3", + "level-iterator-stream": "~1.3.0", + "prr": "~1.0.1", + "semver": "~5.4.1", + "xtend": "~4.0.0" + } + }, + "ltgt": { + "version": "2.2.1", + "dev": true + }, + "memdown": { + "version": "1.4.1", + "dev": true, + "requires": { + "abstract-leveldown": "~2.7.1", + "functional-red-black-tree": "^1.0.1", + "immediate": "^3.2.3", + "inherits": "~2.0.1", + "ltgt": "~2.2.0", + "safe-buffer": "~5.1.1" + }, + "dependencies": { + "abstract-leveldown": { + "version": "2.7.2", + "dev": true, + "requires": { + "xtend": "~4.0.0" + } + } + } + }, + "merkle-patricia-tree": { + "version": "2.3.2", + "dev": true, + "requires": { + "async": "^1.4.2", + "ethereumjs-util": "^5.0.0", + "level-ws": "0.0.0", + "levelup": "^1.2.1", + "memdown": "^1.0.0", + "readable-stream": "^2.0.0", + "rlp": "^2.0.0", + "semaphore": ">=1.0.1" + }, + "dependencies": { + "async": { + "version": "1.5.2", + "dev": true + } + } + }, + "object-keys": { + "version": "0.4.0", + "dev": true + }, + "safe-buffer": { + "version": "5.1.2", + "dev": true + }, + "semver": { + "version": "5.4.1", + "dev": true + }, + "string_decoder": { + "version": "0.10.31", + "dev": true + } + } + }, + "ethashjs": { + "version": "0.0.8", + "dev": true, + "requires": { + "async": "^2.1.2", + "buffer-xor": "^2.0.1", + "ethereumjs-util": "^7.0.2", + "miller-rabin": "^4.0.0" + }, + "dependencies": { + "bn.js": { + "version": "5.1.3", + "dev": true + }, + "buffer-xor": { + "version": "2.0.2", + "dev": true, + "requires": { + "safe-buffer": "^5.1.1" + } + }, + "ethereumjs-util": { + "version": "7.0.7", + "dev": true, + "requires": { + "@types/bn.js": "^4.11.3", + "bn.js": "^5.1.2", + "create-hash": "^1.1.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "0.1.6", + "rlp": "^2.2.4" + } + } + } + }, + "ethereum-bloom-filters": { + "version": "1.0.7", + "dev": true, + "optional": true, + "requires": { + "js-sha3": "^0.8.0" + }, + "dependencies": { + "js-sha3": { + "version": "0.8.0", + "dev": true, + "optional": true + } + } + }, + "ethereum-common": { + "version": "0.0.18", + "dev": true + }, + "ethereum-cryptography": { + "version": "0.1.3", + "dev": true, + "requires": { + "@types/pbkdf2": "^3.0.0", + "@types/secp256k1": "^4.0.1", + "blakejs": "^1.1.0", + "browserify-aes": "^1.2.0", + "bs58check": "^2.1.2", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "hash.js": "^1.1.7", + "keccak": "^3.0.0", + "pbkdf2": "^3.0.17", + "randombytes": "^2.1.0", + "safe-buffer": "^5.1.2", + "scrypt-js": "^3.0.0", + "secp256k1": "^4.0.1", + "setimmediate": "^1.0.5" + } + }, + "ethereumjs-abi": { + "version": "0.6.8", + "dev": true, + "requires": { + "bn.js": "^4.11.8", + "ethereumjs-util": "^6.0.0" + } + }, + "ethereumjs-account": { + "version": "3.0.0", + "dev": true, + "requires": { + "ethereumjs-util": "^6.0.0", + "rlp": "^2.2.1", + "safe-buffer": "^5.1.1" + } + }, + "ethereumjs-block": { + "version": "2.2.2", + "dev": true, + "requires": { + "async": "^2.0.1", + "ethereumjs-common": "^1.5.0", + "ethereumjs-tx": "^2.1.1", + "ethereumjs-util": "^5.0.0", + "merkle-patricia-tree": "^2.1.2" + }, + "dependencies": { + "abstract-leveldown": { + "version": "2.6.3", + "dev": true, + "requires": { + "xtend": "~4.0.0" + } + }, + "deferred-leveldown": { + "version": "1.2.2", + "dev": true, + "requires": { + "abstract-leveldown": "~2.6.0" + } + }, + "ethereumjs-util": { + "version": "5.2.1", + "dev": true, + "requires": { + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "^0.1.3", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1" + } + }, + "isarray": { + "version": "0.0.1", + "dev": true + }, + "level-codec": { + "version": "7.0.1", + "dev": true + }, + "level-errors": { + "version": "1.0.5", + "dev": true, + "requires": { + "errno": "~0.1.1" + } + }, + "level-iterator-stream": { + "version": "1.3.1", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "level-errors": "^1.0.3", + "readable-stream": "^1.0.33", + "xtend": "^4.0.0" + }, + "dependencies": { + "readable-stream": { + "version": "1.1.14", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + } + } + }, + "level-ws": { + "version": "0.0.0", + "dev": true, + "requires": { + "readable-stream": "~1.0.15", + "xtend": "~2.1.1" + }, + "dependencies": { + "readable-stream": { + "version": "1.0.34", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "xtend": { + "version": "2.1.2", + "dev": true, + "requires": { + "object-keys": "~0.4.0" + } + } + } + }, + "levelup": { + "version": "1.3.9", + "dev": true, + "requires": { + "deferred-leveldown": "~1.2.1", + "level-codec": "~7.0.0", + "level-errors": "~1.0.3", + "level-iterator-stream": "~1.3.0", + "prr": "~1.0.1", + "semver": "~5.4.1", + "xtend": "~4.0.0" + } + }, + "ltgt": { + "version": "2.2.1", + "dev": true + }, + "memdown": { + "version": "1.4.1", + "dev": true, + "requires": { + "abstract-leveldown": "~2.7.1", + "functional-red-black-tree": "^1.0.1", + "immediate": "^3.2.3", + "inherits": "~2.0.1", + "ltgt": "~2.2.0", + "safe-buffer": "~5.1.1" + }, + "dependencies": { + "abstract-leveldown": { + "version": "2.7.2", + "dev": true, + "requires": { + "xtend": "~4.0.0" + } + } + } + }, + "merkle-patricia-tree": { + "version": "2.3.2", + "dev": true, + "requires": { + "async": "^1.4.2", + "ethereumjs-util": "^5.0.0", + "level-ws": "0.0.0", + "levelup": "^1.2.1", + "memdown": "^1.0.0", + "readable-stream": "^2.0.0", + "rlp": "^2.0.0", + "semaphore": ">=1.0.1" + }, + "dependencies": { + "async": { + "version": "1.5.2", + "dev": true + } + } + }, + "object-keys": { + "version": "0.4.0", + "dev": true + }, + "safe-buffer": { + "version": "5.1.2", + "dev": true + }, + "semver": { + "version": "5.4.1", + "dev": true + }, + "string_decoder": { + "version": "0.10.31", + "dev": true + } + } + }, + "ethereumjs-blockchain": { + "version": "4.0.4", + "dev": true, + "requires": { + "async": "^2.6.1", + "ethashjs": "~0.0.7", + "ethereumjs-block": "~2.2.2", + "ethereumjs-common": "^1.5.0", + "ethereumjs-util": "^6.1.0", + "flow-stoplight": "^1.0.0", + "level-mem": "^3.0.1", + "lru-cache": "^5.1.1", + "rlp": "^2.2.2", + "semaphore": "^1.1.0" + } + }, + "ethereumjs-common": { + "version": "1.5.0", + "dev": true + }, + "ethereumjs-tx": { + "version": "2.1.2", + "dev": true, + "requires": { + "ethereumjs-common": "^1.5.0", + "ethereumjs-util": "^6.0.0" + } + }, + "ethereumjs-util": { + "version": "6.2.1", + "dev": true, + "requires": { + "@types/bn.js": "^4.11.3", + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "0.1.6", + "rlp": "^2.2.3" + } + }, + "ethereumjs-vm": { + "version": "4.2.0", + "dev": true, + "requires": { + "async": "^2.1.2", + "async-eventemitter": "^0.2.2", + "core-js-pure": "^3.0.1", + "ethereumjs-account": "^3.0.0", + "ethereumjs-block": "^2.2.2", + "ethereumjs-blockchain": "^4.0.3", + "ethereumjs-common": "^1.5.0", + "ethereumjs-tx": "^2.1.2", + "ethereumjs-util": "^6.2.0", + "fake-merkle-patricia-tree": "^1.0.1", + "functional-red-black-tree": "^1.0.1", + "merkle-patricia-tree": "^2.3.2", + "rustbn.js": "~0.2.0", + "safe-buffer": "^5.1.1", + "util.promisify": "^1.0.0" + }, + "dependencies": { + "abstract-leveldown": { + "version": "2.6.3", + "dev": true, + "requires": { + "xtend": "~4.0.0" + } + }, + "deferred-leveldown": { + "version": "1.2.2", + "dev": true, + "requires": { + "abstract-leveldown": "~2.6.0" + } + }, + "isarray": { + "version": "0.0.1", + "dev": true + }, + "level-codec": { + "version": "7.0.1", + "dev": true + }, + "level-errors": { + "version": "1.0.5", + "dev": true, + "requires": { + "errno": "~0.1.1" + } + }, + "level-iterator-stream": { + "version": "1.3.1", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "level-errors": "^1.0.3", + "readable-stream": "^1.0.33", + "xtend": "^4.0.0" + }, + "dependencies": { + "readable-stream": { + "version": "1.1.14", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + } + } + }, + "level-ws": { + "version": "0.0.0", + "dev": true, + "requires": { + "readable-stream": "~1.0.15", + "xtend": "~2.1.1" + }, + "dependencies": { + "readable-stream": { + "version": "1.0.34", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "xtend": { + "version": "2.1.2", + "dev": true, + "requires": { + "object-keys": "~0.4.0" + } + } + } + }, + "levelup": { + "version": "1.3.9", + "dev": true, + "requires": { + "deferred-leveldown": "~1.2.1", + "level-codec": "~7.0.0", + "level-errors": "~1.0.3", + "level-iterator-stream": "~1.3.0", + "prr": "~1.0.1", + "semver": "~5.4.1", + "xtend": "~4.0.0" + } + }, + "ltgt": { + "version": "2.2.1", + "dev": true + }, + "memdown": { + "version": "1.4.1", + "dev": true, + "requires": { + "abstract-leveldown": "~2.7.1", + "functional-red-black-tree": "^1.0.1", + "immediate": "^3.2.3", + "inherits": "~2.0.1", + "ltgt": "~2.2.0", + "safe-buffer": "~5.1.1" + }, + "dependencies": { + "abstract-leveldown": { + "version": "2.7.2", + "dev": true, + "requires": { + "xtend": "~4.0.0" + } + } + } + }, + "merkle-patricia-tree": { + "version": "2.3.2", + "dev": true, + "requires": { + "async": "^1.4.2", + "ethereumjs-util": "^5.0.0", + "level-ws": "0.0.0", + "levelup": "^1.2.1", + "memdown": "^1.0.0", + "readable-stream": "^2.0.0", + "rlp": "^2.0.0", + "semaphore": ">=1.0.1" + }, + "dependencies": { + "async": { + "version": "1.5.2", + "dev": true + }, + "ethereumjs-util": { + "version": "5.2.1", + "dev": true, + "requires": { + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "^0.1.3", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1" + } + } + } + }, + "object-keys": { + "version": "0.4.0", + "dev": true + }, + "safe-buffer": { + "version": "5.1.2", + "dev": true + }, + "semver": { + "version": "5.4.1", + "dev": true + }, + "string_decoder": { + "version": "0.10.31", + "dev": true + } + } + }, + "ethereumjs-wallet": { + "version": "0.6.5", + "dev": true, + "optional": true, + "requires": { + "aes-js": "^3.1.1", + "bs58check": "^2.1.2", + "ethereum-cryptography": "^0.1.3", + "ethereumjs-util": "^6.0.0", + "randombytes": "^2.0.6", + "safe-buffer": "^5.1.2", + "scryptsy": "^1.2.1", + "utf8": "^3.0.0", + "uuid": "^3.3.2" + } + }, + "ethjs-unit": { + "version": "0.1.6", + "dev": true, + "optional": true, + "requires": { + "bn.js": "4.11.6", + "number-to-bn": "1.7.0" + }, + "dependencies": { + "bn.js": { + "version": "4.11.6", + "dev": true, + "optional": true + } + } + }, + "ethjs-util": { + "version": "0.1.6", + "dev": true, + "requires": { + "is-hex-prefixed": "1.0.0", + "strip-hex-prefix": "1.0.0" + } + }, + "eventemitter3": { + "version": "4.0.4", + "dev": true, + "optional": true + }, + "events": { + "version": "3.2.0", + "dev": true + }, + "evp_bytestokey": { + "version": "1.0.3", + "dev": true, + "requires": { + "md5.js": "^1.3.4", + "safe-buffer": "^5.1.1" + } + }, + "expand-brackets": { + "version": "2.1.4", + "dev": true, + "requires": { + "debug": "^2.3.3", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "posix-character-classes": "^0.1.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "define-property": { + "version": "0.2.5", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-buffer": { + "version": "1.1.6", + "dev": true + }, + "is-data-descriptor": { + "version": "0.1.4", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-descriptor": { + "version": "0.1.6", + "dev": true, + "requires": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + } + }, + "is-extendable": { + "version": "0.1.1", + "dev": true + }, + "kind-of": { + "version": "5.1.0", + "dev": true + }, + "ms": { + "version": "2.0.0", + "dev": true + } + } + }, + "express": { + "version": "4.17.1", + "dev": true, + "optional": true, + "requires": { + "accepts": "~1.3.7", + "array-flatten": "1.1.1", + "body-parser": "1.19.0", + "content-disposition": "0.5.3", + "content-type": "~1.0.4", + "cookie": "0.4.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "~1.1.2", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "~1.1.2", + "fresh": "0.5.2", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.5", + "qs": "6.7.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.1.2", + "send": "0.17.1", + "serve-static": "1.14.1", + "setprototypeof": "1.1.1", + "statuses": "~1.5.0", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "dev": true, + "optional": true, + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "dev": true, + "optional": true + }, + "qs": { + "version": "6.7.0", + "dev": true, + "optional": true + }, + "safe-buffer": { + "version": "5.1.2", + "dev": true, + "optional": true + } + } + }, + "ext": { + "version": "1.4.0", + "dev": true, + "requires": { + "type": "^2.0.0" + }, + "dependencies": { + "type": { + "version": "2.1.0", + "dev": true + } + } + }, + "extend": { + "version": "3.0.2", + "dev": true + }, + "extend-shallow": { + "version": "3.0.2", + "dev": true, + "requires": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + } + }, + "extglob": { + "version": "2.0.4", + "dev": true, + "requires": { + "array-unique": "^0.3.2", + "define-property": "^1.0.0", + "expand-brackets": "^2.1.4", + "extend-shallow": "^2.0.1", + "fragment-cache": "^0.2.1", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "dev": true, + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + }, + "is-extendable": { + "version": "0.1.1", + "dev": true + } + } + }, + "extsprintf": { + "version": "1.3.0", + "dev": true + }, + "fake-merkle-patricia-tree": { + "version": "1.0.1", + "dev": true, + "requires": { + "checkpoint-store": "^1.1.0" + } + }, + "fast-deep-equal": { + "version": "3.1.3", + "dev": true + }, + "fast-json-stable-stringify": { + "version": "2.1.0", + "dev": true + }, + "fetch-ponyfill": { + "version": "4.1.0", + "dev": true, + "requires": { + "node-fetch": "~1.7.1" + }, + "dependencies": { + "is-stream": { + "version": "1.1.0", + "dev": true + }, + "node-fetch": { + "version": "1.7.3", + "dev": true, + "requires": { + "encoding": "^0.1.11", + "is-stream": "^1.0.1" + } + } + } + }, + "finalhandler": { + "version": "1.1.2", + "dev": true, + "optional": true, + "requires": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "statuses": "~1.5.0", + "unpipe": "~1.0.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "dev": true, + "optional": true, + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "dev": true, + "optional": true + } + } + }, + "find-yarn-workspace-root": { + "version": "1.2.1", + "dev": true, + "requires": { + "fs-extra": "^4.0.3", + "micromatch": "^3.1.4" + }, + "dependencies": { + "braces": { + "version": "2.3.2", + "dev": true, + "requires": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "fill-range": { + "version": "4.0.0", + "dev": true, + "requires": { + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "fs-extra": { + "version": "4.0.3", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "is-buffer": { + "version": "1.1.6", + "dev": true + }, + "is-extendable": { + "version": "0.1.1", + "dev": true + }, + "is-number": { + "version": "3.0.0", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "micromatch": { + "version": "3.1.10", + "dev": true, + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + } + }, + "to-regex-range": { + "version": "2.1.1", + "dev": true, + "requires": { + "is-number": "^3.0.0", + "repeat-string": "^1.6.1" + } + } + } + }, + "flow-stoplight": { + "version": "1.0.0", + "dev": true + }, + "for-each": { + "version": "0.3.3", + "dev": true, + "requires": { + "is-callable": "^1.1.3" + } + }, + "for-in": { + "version": "1.0.2", + "dev": true + }, + "forever-agent": { + "version": "0.6.1", + "dev": true + }, + "form-data": { + "version": "2.3.3", + "dev": true, + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + } + }, + "forwarded": { + "version": "0.1.2", + "dev": true, + "optional": true + }, + "fragment-cache": { + "version": "0.2.1", + "dev": true, + "requires": { + "map-cache": "^0.2.2" + } + }, + "fresh": { + "version": "0.5.2", + "dev": true, + "optional": true + }, + "fs-extra": { + "version": "7.0.1", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "fs.realpath": { + "version": "1.0.0", + "dev": true + }, + "function-bind": { + "version": "1.1.1", + "dev": true + }, + "functional-red-black-tree": { + "version": "1.0.1", + "dev": true + }, + "get-intrinsic": { + "version": "1.0.2", + "dev": true, + "requires": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1" + } + }, + "get-stream": { + "version": "5.2.0", + "dev": true, + "optional": true, + "requires": { + "pump": "^3.0.0" + } + }, + "get-value": { + "version": "2.0.6", + "dev": true + }, + "getpass": { + "version": "0.1.7", + "dev": true, + "requires": { + "assert-plus": "^1.0.0" + } + }, + "glob": { + "version": "7.1.3", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "global": { + "version": "4.4.0", + "dev": true, + "requires": { + "min-document": "^2.19.0", + "process": "^0.11.10" + } + }, + "got": { + "version": "9.6.0", + "dev": true, + "optional": true, + "requires": { + "@sindresorhus/is": "^0.14.0", + "@szmarczak/http-timer": "^1.1.2", + "cacheable-request": "^6.0.0", + "decompress-response": "^3.3.0", + "duplexer3": "^0.1.4", + "get-stream": "^4.1.0", + "lowercase-keys": "^1.0.1", + "mimic-response": "^1.0.1", + "p-cancelable": "^1.0.0", + "to-readable-stream": "^1.0.0", + "url-parse-lax": "^3.0.0" + }, + "dependencies": { + "get-stream": { + "version": "4.1.0", + "dev": true, + "optional": true, + "requires": { + "pump": "^3.0.0" + } + } + } + }, + "graceful-fs": { + "version": "4.2.4", + "dev": true + }, + "har-schema": { + "version": "2.0.0", + "dev": true + }, + "har-validator": { + "version": "5.1.5", + "dev": true, + "requires": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + } + }, + "has": { + "version": "1.0.3", + "dev": true, + "requires": { + "function-bind": "^1.1.1" + } + }, + "has-ansi": { + "version": "2.0.0", + "dev": true, + "requires": { + "ansi-regex": "^2.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "2.1.1", + "dev": true + } + } + }, + "has-flag": { + "version": "3.0.0", + "dev": true + }, + "has-symbol-support-x": { + "version": "1.4.2", + "dev": true, + "optional": true + }, + "has-symbols": { + "version": "1.0.1", + "dev": true + }, + "has-to-string-tag-x": { + "version": "1.4.1", + "dev": true, + "optional": true, + "requires": { + "has-symbol-support-x": "^1.4.1" + } + }, + "has-value": { + "version": "1.0.0", + "dev": true, + "requires": { + "get-value": "^2.0.6", + "has-values": "^1.0.0", + "isobject": "^3.0.0" + } + }, + "has-values": { + "version": "1.0.0", + "dev": true, + "requires": { + "is-number": "^3.0.0", + "kind-of": "^4.0.0" + }, + "dependencies": { + "is-buffer": { + "version": "1.1.6", + "dev": true + }, + "is-number": { + "version": "3.0.0", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "kind-of": { + "version": "4.0.0", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "hash-base": { + "version": "3.1.0", + "dev": true, + "requires": { + "inherits": "^2.0.4", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + }, + "dependencies": { + "readable-stream": { + "version": "3.6.0", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + } + } + }, + "hash.js": { + "version": "1.1.7", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.1" + } + }, + "heap": { + "version": "0.2.6", + "dev": true + }, + "hmac-drbg": { + "version": "1.0.1", + "dev": true, + "requires": { + "hash.js": "^1.0.3", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "home-or-tmp": { + "version": "2.0.0", + "dev": true, + "requires": { + "os-homedir": "^1.0.0", + "os-tmpdir": "^1.0.1" + } + }, + "http-cache-semantics": { + "version": "4.1.0", + "dev": true, + "optional": true + }, + "http-errors": { + "version": "1.7.2", + "dev": true, + "optional": true, + "requires": { + "depd": "~1.1.2", + "inherits": "2.0.3", + "setprototypeof": "1.1.1", + "statuses": ">= 1.5.0 < 2", + "toidentifier": "1.0.0" + }, + "dependencies": { + "inherits": { + "version": "2.0.3", + "dev": true, + "optional": true + } + } + }, + "http-https": { + "version": "1.0.0", + "dev": true, + "optional": true + }, + "http-signature": { + "version": "1.2.0", + "dev": true, + "requires": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + } + }, + "iconv-lite": { + "version": "0.4.24", + "dev": true, + "optional": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + }, + "idna-uts46-hx": { + "version": "2.3.1", + "dev": true, + "optional": true, + "requires": { + "punycode": "2.1.0" + }, + "dependencies": { + "punycode": { + "version": "2.1.0", + "dev": true, + "optional": true + } + } + }, + "ieee754": { + "version": "1.2.1", + "dev": true + }, + "immediate": { + "version": "3.2.3", + "dev": true + }, + "inflight": { + "version": "1.0.6", + "dev": true, + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.4", + "dev": true + }, + "invariant": { + "version": "2.2.4", + "dev": true, + "requires": { + "loose-envify": "^1.0.0" + } + }, + "ipaddr.js": { + "version": "1.9.1", + "dev": true, + "optional": true + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-arguments": { + "version": "1.1.0", + "dev": true, + "requires": { + "call-bind": "^1.0.0" + } + }, + "is-callable": { + "version": "1.2.2", + "dev": true + }, + "is-ci": { + "version": "2.0.0", + "dev": true, + "requires": { + "ci-info": "^2.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-date-object": { + "version": "1.0.2", + "dev": true + }, + "is-descriptor": { + "version": "1.0.2", + "dev": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + }, + "is-extendable": { + "version": "1.0.1", + "dev": true, + "requires": { + "is-plain-object": "^2.0.4" + } + }, + "is-finite": { + "version": "1.1.0", + "dev": true + }, + "is-fn": { + "version": "1.0.0", + "dev": true + }, + "is-function": { + "version": "1.0.2", + "dev": true + }, + "is-hex-prefixed": { + "version": "1.0.0", + "dev": true + }, + "is-negative-zero": { + "version": "2.0.1", + "dev": true + }, + "is-object": { + "version": "1.0.2", + "dev": true, + "optional": true + }, + "is-plain-obj": { + "version": "1.1.0", + "dev": true, + "optional": true + }, + "is-plain-object": { + "version": "2.0.4", + "dev": true, + "requires": { + "isobject": "^3.0.1" + } + }, + "is-regex": { + "version": "1.1.1", + "dev": true, + "requires": { + "has-symbols": "^1.0.1" + } + }, + "is-retry-allowed": { + "version": "1.2.0", + "dev": true, + "optional": true + }, + "is-symbol": { + "version": "1.0.3", + "dev": true, + "requires": { + "has-symbols": "^1.0.1" + } + }, + "is-typedarray": { + "version": "1.0.0", + "dev": true + }, + "is-windows": { + "version": "1.0.2", + "dev": true + }, + "isarray": { + "version": "1.0.0", + "dev": true + }, + "isexe": { + "version": "2.0.0", + "dev": true + }, + "isobject": { + "version": "3.0.1", + "dev": true + }, + "isstream": { + "version": "0.1.2", + "dev": true + }, + "isurl": { + "version": "1.0.0", + "dev": true, + "optional": true, + "requires": { + "has-to-string-tag-x": "^1.2.0", + "is-object": "^1.0.1" + } + }, + "js-sha3": { + "version": "0.5.7", + "dev": true, + "optional": true + }, + "js-tokens": { + "version": "4.0.0", + "dev": true + }, + "jsbn": { + "version": "0.1.1", + "dev": true + }, + "json-buffer": { + "version": "3.0.0", + "dev": true, + "optional": true + }, + "json-rpc-engine": { + "version": "3.8.0", + "dev": true, + "requires": { + "async": "^2.0.1", + "babel-preset-env": "^1.7.0", + "babelify": "^7.3.0", + "json-rpc-error": "^2.0.0", + "promise-to-callback": "^1.0.0", + "safe-event-emitter": "^1.0.1" + } + }, + "json-rpc-error": { + "version": "2.0.0", + "dev": true, + "requires": { + "inherits": "^2.0.1" + } + }, + "json-rpc-random-id": { + "version": "1.0.1", + "dev": true + }, + "json-schema": { + "version": "0.2.3", + "dev": true + }, + "json-schema-traverse": { + "version": "0.4.1", + "dev": true + }, + "json-stable-stringify": { + "version": "1.0.1", + "dev": true, + "requires": { + "jsonify": "~0.0.0" + } + }, + "json-stringify-safe": { + "version": "5.0.1", + "dev": true + }, + "jsonfile": { + "version": "4.0.0", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6" + } + }, + "jsonify": { + "version": "0.0.0", + "dev": true + }, + "jsprim": { + "version": "1.4.1", + "dev": true, + "requires": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.2.3", + "verror": "1.10.0" + } + }, + "keccak": { + "version": "3.0.1", + "bundled": true, + "dev": true, + "requires": { + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0" + } + }, + "keyv": { + "version": "3.1.0", + "dev": true, + "optional": true, + "requires": { + "json-buffer": "3.0.0" + } + }, + "kind-of": { + "version": "6.0.3", + "dev": true + }, + "klaw-sync": { + "version": "6.0.0", + "dev": true, + "requires": { + "graceful-fs": "^4.1.11" + } + }, + "level-codec": { + "version": "9.0.2", + "dev": true, + "requires": { + "buffer": "^5.6.0" + } + }, + "level-errors": { + "version": "2.0.1", + "dev": true, + "requires": { + "errno": "~0.1.1" + } + }, + "level-iterator-stream": { + "version": "2.0.3", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "readable-stream": "^2.0.5", + "xtend": "^4.0.0" + } + }, + "level-mem": { + "version": "3.0.1", + "dev": true, + "requires": { + "level-packager": "~4.0.0", + "memdown": "~3.0.0" + }, + "dependencies": { + "abstract-leveldown": { + "version": "5.0.0", + "dev": true, + "requires": { + "xtend": "~4.0.0" + } + }, + "ltgt": { + "version": "2.2.1", + "dev": true + }, + "memdown": { + "version": "3.0.0", + "dev": true, + "requires": { + "abstract-leveldown": "~5.0.0", + "functional-red-black-tree": "~1.0.1", + "immediate": "~3.2.3", + "inherits": "~2.0.1", + "ltgt": "~2.2.0", + "safe-buffer": "~5.1.1" + } + }, + "safe-buffer": { + "version": "5.1.2", + "dev": true + } + } + }, + "level-packager": { + "version": "4.0.1", + "dev": true, + "requires": { + "encoding-down": "~5.0.0", + "levelup": "^3.0.0" + } + }, + "level-post": { + "version": "1.0.7", + "dev": true, + "requires": { + "ltgt": "^2.1.2" + } + }, + "level-sublevel": { + "version": "6.6.4", + "dev": true, + "requires": { + "bytewise": "~1.1.0", + "level-codec": "^9.0.0", + "level-errors": "^2.0.0", + "level-iterator-stream": "^2.0.3", + "ltgt": "~2.1.1", + "pull-defer": "^0.2.2", + "pull-level": "^2.0.3", + "pull-stream": "^3.6.8", + "typewiselite": "~1.0.0", + "xtend": "~4.0.0" + } + }, + "level-ws": { + "version": "1.0.0", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "readable-stream": "^2.2.8", + "xtend": "^4.0.1" + } + }, + "levelup": { + "version": "3.1.1", + "dev": true, + "requires": { + "deferred-leveldown": "~4.0.0", + "level-errors": "~2.0.0", + "level-iterator-stream": "~3.0.0", + "xtend": "~4.0.0" + }, + "dependencies": { + "level-iterator-stream": { + "version": "3.0.1", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "readable-stream": "^2.3.6", + "xtend": "^4.0.0" + } + } + } + }, + "lodash": { + "version": "4.17.20", + "dev": true + }, + "looper": { + "version": "2.0.0", + "dev": true + }, + "loose-envify": { + "version": "1.4.0", + "dev": true, + "requires": { + "js-tokens": "^3.0.0 || ^4.0.0" + } + }, + "lowercase-keys": { + "version": "1.0.1", + "dev": true, + "optional": true + }, + "lru-cache": { + "version": "5.1.1", + "dev": true, + "requires": { + "yallist": "^3.0.2" + } + }, + "ltgt": { + "version": "2.1.3", + "dev": true + }, + "map-cache": { + "version": "0.2.2", + "dev": true + }, + "map-visit": { + "version": "1.0.0", + "dev": true, + "requires": { + "object-visit": "^1.0.0" + } + }, + "md5.js": { + "version": "1.3.5", + "dev": true, + "requires": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "media-typer": { + "version": "0.3.0", + "dev": true, + "optional": true + }, + "merge-descriptors": { + "version": "1.0.1", + "dev": true, + "optional": true + }, + "merkle-patricia-tree": { + "version": "3.0.0", + "dev": true, + "requires": { + "async": "^2.6.1", + "ethereumjs-util": "^5.2.0", + "level-mem": "^3.0.1", + "level-ws": "^1.0.0", + "readable-stream": "^3.0.6", + "rlp": "^2.0.0", + "semaphore": ">=1.0.1" + }, + "dependencies": { + "ethereumjs-util": { + "version": "5.2.1", + "dev": true, + "requires": { + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "^0.1.3", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1" + } + }, + "readable-stream": { + "version": "3.6.0", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + } + } + }, + "methods": { + "version": "1.1.2", + "dev": true, + "optional": true + }, + "miller-rabin": { + "version": "4.0.1", + "dev": true, + "requires": { + "bn.js": "^4.0.0", + "brorand": "^1.0.1" + } + }, + "mime": { + "version": "1.6.0", + "dev": true, + "optional": true + }, + "mime-db": { + "version": "1.45.0", + "dev": true + }, + "mime-types": { + "version": "2.1.28", + "dev": true, + "requires": { + "mime-db": "1.45.0" + } + }, + "mimic-response": { + "version": "1.0.1", + "dev": true, + "optional": true + }, + "min-document": { + "version": "2.19.0", + "dev": true, + "requires": { + "dom-walk": "^0.1.0" + } + }, + "minimalistic-assert": { + "version": "1.0.1", + "dev": true + }, + "minimalistic-crypto-utils": { + "version": "1.0.1", + "dev": true + }, + "minimatch": { + "version": "3.0.4", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "minimist": { + "version": "1.2.5", + "dev": true + }, + "minizlib": { + "version": "1.3.3", + "dev": true, + "optional": true, + "requires": { + "minipass": "^2.9.0" + }, + "dependencies": { + "minipass": { + "version": "2.9.0", + "dev": true, + "optional": true, + "requires": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + } + } + }, + "mixin-deep": { + "version": "1.3.2", + "dev": true, + "requires": { + "for-in": "^1.0.2", + "is-extendable": "^1.0.1" + } + }, + "mkdirp": { + "version": "0.5.5", + "dev": true, + "requires": { + "minimist": "^1.2.5" + } + }, + "mkdirp-promise": { + "version": "5.0.1", + "dev": true, + "optional": true, + "requires": { + "mkdirp": "*" + } + }, + "mock-fs": { + "version": "4.13.0", + "dev": true, + "optional": true + }, + "ms": { + "version": "2.1.3", + "dev": true + }, + "multibase": { + "version": "0.6.1", + "dev": true, + "optional": true, + "requires": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + }, + "multicodec": { + "version": "0.5.7", + "dev": true, + "optional": true, + "requires": { + "varint": "^5.0.0" + } + }, + "multihashes": { + "version": "0.4.21", + "dev": true, + "optional": true, + "requires": { + "buffer": "^5.5.0", + "multibase": "^0.7.0", + "varint": "^5.0.0" + }, + "dependencies": { + "multibase": { + "version": "0.7.0", + "dev": true, + "optional": true, + "requires": { + "base-x": "^3.0.8", + "buffer": "^5.5.0" + } + } + } + }, + "nano-json-stream-parser": { + "version": "0.1.2", + "dev": true, + "optional": true + }, + "nanomatch": { + "version": "1.2.13", + "dev": true, + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "fragment-cache": "^0.2.1", + "is-windows": "^1.0.2", + "kind-of": "^6.0.2", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + } + }, + "negotiator": { + "version": "0.6.2", + "dev": true, + "optional": true + }, + "next-tick": { + "version": "1.0.0", + "dev": true + }, + "nice-try": { + "version": "1.0.5", + "dev": true + }, + "node-addon-api": { + "version": "2.0.2", + "bundled": true, + "dev": true + }, + "node-fetch": { + "version": "2.1.2", + "dev": true + }, + "node-gyp-build": { + "version": "4.2.3", + "bundled": true, + "dev": true + }, + "normalize-url": { + "version": "4.5.0", + "dev": true, + "optional": true + }, + "number-to-bn": { + "version": "1.7.0", + "dev": true, + "optional": true, + "requires": { + "bn.js": "4.11.6", + "strip-hex-prefix": "1.0.0" + }, + "dependencies": { + "bn.js": { + "version": "4.11.6", + "dev": true, + "optional": true + } + } + }, + "oauth-sign": { + "version": "0.9.0", + "dev": true + }, + "object-assign": { + "version": "4.1.1", + "dev": true + }, + "object-copy": { + "version": "0.1.0", + "dev": true, + "requires": { + "copy-descriptor": "^0.1.0", + "define-property": "^0.2.5", + "kind-of": "^3.0.3" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + } + }, + "is-buffer": { + "version": "1.1.6", + "dev": true + }, + "is-data-descriptor": { + "version": "0.1.4", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + } + }, + "is-descriptor": { + "version": "0.1.6", + "dev": true, + "requires": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + }, + "dependencies": { + "kind-of": { + "version": "5.1.0", + "dev": true + } + } + }, + "kind-of": { + "version": "3.2.2", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "object-inspect": { + "version": "1.9.0", + "dev": true + }, + "object-is": { + "version": "1.1.4", + "dev": true, + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3" + } + }, + "object-keys": { + "version": "1.1.1", + "dev": true + }, + "object-visit": { + "version": "1.0.1", + "dev": true, + "requires": { + "isobject": "^3.0.0" + } + }, + "object.assign": { + "version": "4.1.2", + "dev": true, + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" + } + }, + "object.getownpropertydescriptors": { + "version": "2.1.1", + "dev": true, + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.1" + } + }, + "object.pick": { + "version": "1.3.0", + "dev": true, + "requires": { + "isobject": "^3.0.1" + } + }, + "oboe": { + "version": "2.1.4", + "dev": true, + "optional": true, + "requires": { + "http-https": "^1.0.0" + } + }, + "on-finished": { + "version": "2.3.0", + "dev": true, + "optional": true, + "requires": { + "ee-first": "1.1.1" + } + }, + "once": { + "version": "1.4.0", + "dev": true, + "requires": { + "wrappy": "1" + } + }, + "os-homedir": { + "version": "1.0.2", + "dev": true + }, + "os-tmpdir": { + "version": "1.0.2", + "dev": true + }, + "p-cancelable": { + "version": "1.1.0", + "dev": true, + "optional": true + }, + "p-timeout": { + "version": "1.2.1", + "dev": true, + "optional": true, + "requires": { + "p-finally": "^1.0.0" + }, + "dependencies": { + "p-finally": { + "version": "1.0.0", + "dev": true, + "optional": true + } + } + }, + "parse-asn1": { + "version": "5.1.6", + "dev": true, + "optional": true, + "requires": { + "asn1.js": "^5.2.0", + "browserify-aes": "^1.0.0", + "evp_bytestokey": "^1.0.0", + "pbkdf2": "^3.0.3", + "safe-buffer": "^5.1.1" + } + }, + "parse-headers": { + "version": "2.0.3", + "dev": true + }, + "parseurl": { + "version": "1.3.3", + "dev": true, + "optional": true + }, + "pascalcase": { + "version": "0.1.1", + "dev": true + }, + "patch-package": { + "version": "6.2.2", + "dev": true, + "requires": { + "@yarnpkg/lockfile": "^1.1.0", + "chalk": "^2.4.2", + "cross-spawn": "^6.0.5", + "find-yarn-workspace-root": "^1.2.1", + "fs-extra": "^7.0.1", + "is-ci": "^2.0.0", + "klaw-sync": "^6.0.0", + "minimist": "^1.2.0", + "rimraf": "^2.6.3", + "semver": "^5.6.0", + "slash": "^2.0.0", + "tmp": "^0.0.33" + }, + "dependencies": { + "cross-spawn": { + "version": "6.0.5", + "dev": true, + "requires": { + "nice-try": "^1.0.4", + "path-key": "^2.0.1", + "semver": "^5.5.0", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + } + }, + "path-key": { + "version": "2.0.1", + "dev": true + }, + "semver": { + "version": "5.7.1", + "dev": true + }, + "shebang-command": { + "version": "1.2.0", + "dev": true, + "requires": { + "shebang-regex": "^1.0.0" + } + }, + "shebang-regex": { + "version": "1.0.0", + "dev": true + }, + "slash": { + "version": "2.0.0", + "dev": true + }, + "tmp": { + "version": "0.0.33", + "dev": true, + "requires": { + "os-tmpdir": "~1.0.2" + } + }, + "which": { + "version": "1.3.1", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + } + } + }, + "path-is-absolute": { + "version": "1.0.1", + "dev": true + }, + "path-parse": { + "version": "1.0.6", + "dev": true + }, + "path-to-regexp": { + "version": "0.1.7", + "dev": true, + "optional": true + }, + "pbkdf2": { + "version": "3.1.1", + "dev": true, + "requires": { + "create-hash": "^1.1.2", + "create-hmac": "^1.1.4", + "ripemd160": "^2.0.1", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, + "performance-now": { + "version": "2.1.0", + "dev": true + }, + "posix-character-classes": { + "version": "0.1.1", + "dev": true + }, + "precond": { + "version": "0.2.3", + "dev": true + }, + "prepend-http": { + "version": "2.0.0", + "dev": true, + "optional": true + }, + "private": { + "version": "0.1.8", + "dev": true + }, + "process": { + "version": "0.11.10", + "dev": true + }, + "process-nextick-args": { + "version": "2.0.1", + "dev": true + }, + "promise-to-callback": { + "version": "1.0.0", + "dev": true, + "requires": { + "is-fn": "^1.0.0", + "set-immediate-shim": "^1.0.1" + } + }, + "proxy-addr": { + "version": "2.0.6", + "dev": true, + "optional": true, + "requires": { + "forwarded": "~0.1.2", + "ipaddr.js": "1.9.1" + } + }, + "prr": { + "version": "1.0.1", + "dev": true + }, + "pseudomap": { + "version": "1.0.2", + "dev": true + }, + "psl": { + "version": "1.8.0", + "dev": true + }, + "public-encrypt": { + "version": "4.0.3", + "dev": true, + "optional": true, + "requires": { + "bn.js": "^4.1.0", + "browserify-rsa": "^4.0.0", + "create-hash": "^1.1.0", + "parse-asn1": "^5.0.0", + "randombytes": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "pull-cat": { + "version": "1.1.11", + "dev": true + }, + "pull-defer": { + "version": "0.2.3", + "dev": true + }, + "pull-level": { + "version": "2.0.4", + "dev": true, + "requires": { + "level-post": "^1.0.7", + "pull-cat": "^1.1.9", + "pull-live": "^1.0.1", + "pull-pushable": "^2.0.0", + "pull-stream": "^3.4.0", + "pull-window": "^2.1.4", + "stream-to-pull-stream": "^1.7.1" + } + }, + "pull-live": { + "version": "1.0.1", + "dev": true, + "requires": { + "pull-cat": "^1.1.9", + "pull-stream": "^3.4.0" + } + }, + "pull-pushable": { + "version": "2.2.0", + "dev": true + }, + "pull-stream": { + "version": "3.6.14", + "dev": true + }, + "pull-window": { + "version": "2.1.4", + "dev": true, + "requires": { + "looper": "^2.0.0" + } + }, + "pump": { + "version": "3.0.0", + "dev": true, + "optional": true, + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "punycode": { + "version": "2.1.1", + "dev": true + }, + "qs": { + "version": "6.5.2", + "dev": true + }, + "query-string": { + "version": "5.1.1", + "dev": true, + "optional": true, + "requires": { + "decode-uri-component": "^0.2.0", + "object-assign": "^4.1.0", + "strict-uri-encode": "^1.0.0" + } + }, + "randombytes": { + "version": "2.1.0", + "dev": true, + "requires": { + "safe-buffer": "^5.1.0" + } + }, + "randomfill": { + "version": "1.0.4", + "dev": true, + "optional": true, + "requires": { + "randombytes": "^2.0.5", + "safe-buffer": "^5.1.0" + } + }, + "range-parser": { + "version": "1.2.1", + "dev": true, + "optional": true + }, + "raw-body": { + "version": "2.4.0", + "dev": true, + "optional": true, + "requires": { + "bytes": "3.1.0", + "http-errors": "1.7.2", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + } + }, + "readable-stream": { + "version": "2.3.7", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + }, + "dependencies": { + "safe-buffer": { + "version": "5.1.2", + "dev": true + } + } + }, + "regenerate": { + "version": "1.4.2", + "dev": true + }, + "regenerator-runtime": { + "version": "0.11.1", + "dev": true + }, + "regenerator-transform": { + "version": "0.10.1", + "dev": true, + "requires": { + "babel-runtime": "^6.18.0", + "babel-types": "^6.19.0", + "private": "^0.1.6" + } + }, + "regex-not": { + "version": "1.0.2", + "dev": true, + "requires": { + "extend-shallow": "^3.0.2", + "safe-regex": "^1.1.0" + } + }, + "regexp.prototype.flags": { + "version": "1.3.0", + "dev": true, + "requires": { + "define-properties": "^1.1.3", + "es-abstract": "^1.17.0-next.1" + }, + "dependencies": { + "es-abstract": { + "version": "1.17.7", + "dev": true, + "requires": { + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1", + "is-callable": "^1.2.2", + "is-regex": "^1.1.1", + "object-inspect": "^1.8.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.1", + "string.prototype.trimend": "^1.0.1", + "string.prototype.trimstart": "^1.0.1" + } + } + } + }, + "regexpu-core": { + "version": "2.0.0", + "dev": true, + "requires": { + "regenerate": "^1.2.1", + "regjsgen": "^0.2.0", + "regjsparser": "^0.1.4" + } + }, + "regjsgen": { + "version": "0.2.0", + "dev": true + }, + "regjsparser": { + "version": "0.1.5", + "dev": true, + "requires": { + "jsesc": "~0.5.0" + }, + "dependencies": { + "jsesc": { + "version": "0.5.0", + "dev": true + } + } + }, + "repeat-element": { + "version": "1.1.3", + "dev": true + }, + "repeat-string": { + "version": "1.6.1", + "dev": true + }, + "repeating": { + "version": "2.0.1", + "dev": true, + "requires": { + "is-finite": "^1.0.0" + } + }, + "request": { + "version": "2.88.2", + "dev": true, + "requires": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + } + }, + "resolve-url": { + "version": "0.2.1", + "dev": true + }, + "responselike": { + "version": "1.0.2", + "dev": true, + "optional": true, + "requires": { + "lowercase-keys": "^1.0.0" + } + }, + "resumer": { + "version": "0.0.0", + "dev": true, + "requires": { + "through": "~2.3.4" + } + }, + "ret": { + "version": "0.1.15", + "dev": true + }, + "rimraf": { + "version": "2.6.3", + "dev": true, + "requires": { + "glob": "^7.1.3" + } + }, + "ripemd160": { + "version": "2.0.2", + "dev": true, + "requires": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1" + } + }, + "rlp": { + "version": "2.2.6", + "dev": true, + "requires": { + "bn.js": "^4.11.1" + } + }, + "rustbn.js": { + "version": "0.2.0", + "dev": true + }, + "safe-buffer": { + "version": "5.2.1", + "dev": true + }, + "safe-event-emitter": { + "version": "1.0.1", + "dev": true, + "requires": { + "events": "^3.0.0" + } + }, + "safe-regex": { + "version": "1.1.0", + "dev": true, + "requires": { + "ret": "~0.1.10" + } + }, + "safer-buffer": { + "version": "2.1.2", + "dev": true + }, + "scrypt-js": { + "version": "3.0.1", + "dev": true + }, + "scryptsy": { + "version": "1.2.1", + "dev": true, + "optional": true, + "requires": { + "pbkdf2": "^3.0.3" + } + }, + "secp256k1": { + "version": "4.0.2", + "dev": true, + "requires": { + "elliptic": "^6.5.2", + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0" + } + }, + "seedrandom": { + "version": "3.0.1", + "dev": true + }, + "semaphore": { + "version": "1.1.0", + "dev": true + }, + "send": { + "version": "0.17.1", + "dev": true, + "optional": true, + "requires": { + "debug": "2.6.9", + "depd": "~1.1.2", + "destroy": "~1.0.4", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "~1.7.2", + "mime": "1.6.0", + "ms": "2.1.1", + "on-finished": "~2.3.0", + "range-parser": "~1.2.1", + "statuses": "~1.5.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "dev": true, + "optional": true, + "requires": { + "ms": "2.0.0" + }, + "dependencies": { + "ms": { + "version": "2.0.0", + "dev": true, + "optional": true + } + } + }, + "ms": { + "version": "2.1.1", + "dev": true, + "optional": true + } + } + }, + "serve-static": { + "version": "1.14.1", + "dev": true, + "optional": true, + "requires": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.17.1" + } + }, + "servify": { + "version": "0.1.12", + "dev": true, + "optional": true, + "requires": { + "body-parser": "^1.16.0", + "cors": "^2.8.1", + "express": "^4.14.0", + "request": "^2.79.0", + "xhr": "^2.3.3" + } + }, + "set-immediate-shim": { + "version": "1.0.1", + "dev": true + }, + "set-value": { + "version": "2.0.1", + "dev": true, + "requires": { + "extend-shallow": "^2.0.1", + "is-extendable": "^0.1.1", + "is-plain-object": "^2.0.3", + "split-string": "^3.0.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + }, + "is-extendable": { + "version": "0.1.1", + "dev": true + } + } + }, + "setimmediate": { + "version": "1.0.5", + "dev": true + }, + "setprototypeof": { + "version": "1.1.1", + "dev": true, + "optional": true + }, + "sha.js": { + "version": "2.4.11", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "simple-concat": { + "version": "1.0.1", + "dev": true, + "optional": true + }, + "simple-get": { + "version": "2.8.1", + "dev": true, + "optional": true, + "requires": { + "decompress-response": "^3.3.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" + } + }, + "snapdragon": { + "version": "0.8.2", + "dev": true, + "requires": { + "base": "^0.11.1", + "debug": "^2.2.0", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "map-cache": "^0.2.2", + "source-map": "^0.5.6", + "source-map-resolve": "^0.5.0", + "use": "^3.1.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "define-property": { + "version": "0.2.5", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-buffer": { + "version": "1.1.6", + "dev": true + }, + "is-data-descriptor": { + "version": "0.1.4", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-descriptor": { + "version": "0.1.6", + "dev": true, + "requires": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + } + }, + "is-extendable": { + "version": "0.1.1", + "dev": true + }, + "kind-of": { + "version": "5.1.0", + "dev": true + }, + "ms": { + "version": "2.0.0", + "dev": true + } + } + }, + "snapdragon-node": { + "version": "2.1.1", + "dev": true, + "requires": { + "define-property": "^1.0.0", + "isobject": "^3.0.0", + "snapdragon-util": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "dev": true, + "requires": { + "is-descriptor": "^1.0.0" + } + } + } + }, + "snapdragon-util": { + "version": "3.0.1", + "dev": true, + "requires": { + "kind-of": "^3.2.0" + }, + "dependencies": { + "is-buffer": { + "version": "1.1.6", + "dev": true + }, + "kind-of": { + "version": "3.2.2", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "source-map": { + "version": "0.5.7", + "dev": true + }, + "source-map-resolve": { + "version": "0.5.3", + "dev": true, + "requires": { + "atob": "^2.1.2", + "decode-uri-component": "^0.2.0", + "resolve-url": "^0.2.1", + "source-map-url": "^0.4.0", + "urix": "^0.1.0" + } + }, + "source-map-support": { + "version": "0.5.12", + "dev": true, + "requires": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "dev": true + } + } + }, + "source-map-url": { + "version": "0.4.0", + "dev": true + }, + "split-string": { + "version": "3.1.0", + "dev": true, + "requires": { + "extend-shallow": "^3.0.0" + } + }, + "sshpk": { + "version": "1.16.1", + "dev": true, + "requires": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "dependencies": { + "tweetnacl": { + "version": "0.14.5", + "dev": true + } + } + }, + "static-extend": { + "version": "0.1.2", + "dev": true, + "requires": { + "define-property": "^0.2.5", + "object-copy": "^0.1.0" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-buffer": { + "version": "1.1.6", + "dev": true + }, + "is-data-descriptor": { + "version": "0.1.4", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-descriptor": { + "version": "0.1.6", + "dev": true, + "requires": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + } + }, + "kind-of": { + "version": "5.1.0", + "dev": true + } + } + }, + "statuses": { + "version": "1.5.0", + "dev": true, + "optional": true + }, + "stream-to-pull-stream": { + "version": "1.7.3", + "dev": true, + "requires": { + "looper": "^3.0.0", + "pull-stream": "^3.2.3" + }, + "dependencies": { + "looper": { + "version": "3.0.0", + "dev": true + } + } + }, + "strict-uri-encode": { + "version": "1.1.0", + "dev": true, + "optional": true + }, + "string_decoder": { + "version": "1.1.1", + "dev": true, + "requires": { + "safe-buffer": "~5.1.0" + }, + "dependencies": { + "safe-buffer": { + "version": "5.1.2", + "dev": true + } + } + }, + "string.prototype.trim": { + "version": "1.2.3", + "dev": true, + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "es-abstract": "^1.18.0-next.1" + } + }, + "string.prototype.trimend": { + "version": "1.0.3", + "dev": true, + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3" + } + }, + "string.prototype.trimstart": { + "version": "1.0.3", + "dev": true, + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3" + } + }, + "strip-hex-prefix": { + "version": "1.0.0", + "dev": true, + "requires": { + "is-hex-prefixed": "1.0.0" + } + }, + "supports-color": { + "version": "5.5.0", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + }, + "swarm-js": { + "version": "0.1.40", + "dev": true, + "optional": true, + "requires": { + "bluebird": "^3.5.0", + "buffer": "^5.0.5", + "eth-lib": "^0.1.26", + "fs-extra": "^4.0.2", + "got": "^7.1.0", + "mime-types": "^2.1.16", + "mkdirp-promise": "^5.0.1", + "mock-fs": "^4.1.0", + "setimmediate": "^1.0.5", + "tar": "^4.0.2", + "xhr-request": "^1.0.1" + }, + "dependencies": { + "fs-extra": { + "version": "4.0.3", + "dev": true, + "optional": true, + "requires": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "get-stream": { + "version": "3.0.0", + "dev": true, + "optional": true + }, + "got": { + "version": "7.1.0", + "dev": true, + "optional": true, + "requires": { + "decompress-response": "^3.2.0", + "duplexer3": "^0.1.4", + "get-stream": "^3.0.0", + "is-plain-obj": "^1.1.0", + "is-retry-allowed": "^1.0.0", + "is-stream": "^1.0.0", + "isurl": "^1.0.0-alpha5", + "lowercase-keys": "^1.0.0", + "p-cancelable": "^0.3.0", + "p-timeout": "^1.1.1", + "safe-buffer": "^5.0.1", + "timed-out": "^4.0.0", + "url-parse-lax": "^1.0.0", + "url-to-options": "^1.0.1" + } + }, + "is-stream": { + "version": "1.1.0", + "dev": true, + "optional": true + }, + "p-cancelable": { + "version": "0.3.0", + "dev": true, + "optional": true + }, + "prepend-http": { + "version": "1.0.4", + "dev": true, + "optional": true + }, + "url-parse-lax": { + "version": "1.0.0", + "dev": true, + "optional": true, + "requires": { + "prepend-http": "^1.0.1" + } + } + } + }, + "tape": { + "version": "4.13.3", + "dev": true, + "requires": { + "deep-equal": "~1.1.1", + "defined": "~1.0.0", + "dotignore": "~0.1.2", + "for-each": "~0.3.3", + "function-bind": "~1.1.1", + "glob": "~7.1.6", + "has": "~1.0.3", + "inherits": "~2.0.4", + "is-regex": "~1.0.5", + "minimist": "~1.2.5", + "object-inspect": "~1.7.0", + "resolve": "~1.17.0", + "resumer": "~0.0.0", + "string.prototype.trim": "~1.2.1", + "through": "~2.3.8" + }, + "dependencies": { + "glob": { + "version": "7.1.6", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "is-regex": { + "version": "1.0.5", + "dev": true, + "requires": { + "has": "^1.0.3" + } + }, + "object-inspect": { + "version": "1.7.0", + "dev": true + }, + "resolve": { + "version": "1.17.0", + "dev": true, + "requires": { + "path-parse": "^1.0.6" + } + } + } + }, + "tar": { + "version": "4.4.13", + "dev": true, + "optional": true, + "requires": { + "chownr": "^1.1.1", + "fs-minipass": "^1.2.5", + "minipass": "^2.8.6", + "minizlib": "^1.2.1", + "mkdirp": "^0.5.0", + "safe-buffer": "^5.1.2", + "yallist": "^3.0.3" + }, + "dependencies": { + "fs-minipass": { + "version": "1.2.7", + "dev": true, + "optional": true, + "requires": { + "minipass": "^2.6.0" + } + }, + "minipass": { + "version": "2.9.0", + "dev": true, + "optional": true, + "requires": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + } + } + }, + "through": { + "version": "2.3.8", + "dev": true + }, + "through2": { + "version": "2.0.5", + "dev": true, + "requires": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + }, + "timed-out": { + "version": "4.0.1", + "dev": true, + "optional": true + }, + "tmp": { + "version": "0.1.0", + "dev": true, + "requires": { + "rimraf": "^2.6.3" + } + }, + "to-object-path": { + "version": "0.3.0", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "is-buffer": { + "version": "1.1.6", + "dev": true + }, + "kind-of": { + "version": "3.2.2", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "to-readable-stream": { + "version": "1.0.0", + "dev": true, + "optional": true + }, + "to-regex": { + "version": "3.0.2", + "dev": true, + "requires": { + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "regex-not": "^1.0.2", + "safe-regex": "^1.1.0" + } + }, + "toidentifier": { + "version": "1.0.0", + "dev": true, + "optional": true + }, + "tough-cookie": { + "version": "2.5.0", + "dev": true, + "requires": { + "psl": "^1.1.28", + "punycode": "^2.1.1" + } + }, + "trim-right": { + "version": "1.0.1", + "dev": true + }, + "tunnel-agent": { + "version": "0.6.0", + "dev": true, + "requires": { + "safe-buffer": "^5.0.1" + } + }, + "tweetnacl": { + "version": "1.0.3", + "dev": true + }, + "tweetnacl-util": { + "version": "0.15.1", + "dev": true + }, + "type": { + "version": "1.2.0", + "dev": true + }, + "type-is": { + "version": "1.6.18", + "dev": true, + "optional": true, + "requires": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + } + }, + "typedarray": { + "version": "0.0.6", + "dev": true + }, + "typedarray-to-buffer": { + "version": "3.1.5", + "dev": true, + "requires": { + "is-typedarray": "^1.0.0" + } + }, + "typewise": { + "version": "1.0.3", + "dev": true, + "requires": { + "typewise-core": "^1.2.0" + } + }, + "typewise-core": { + "version": "1.2.0", + "dev": true + }, + "typewiselite": { + "version": "1.0.0", + "dev": true + }, + "ultron": { + "version": "1.1.1", + "dev": true, + "optional": true + }, + "underscore": { + "version": "1.9.1", + "dev": true, + "optional": true + }, + "union-value": { + "version": "1.0.1", + "dev": true, + "requires": { + "arr-union": "^3.1.0", + "get-value": "^2.0.6", + "is-extendable": "^0.1.1", + "set-value": "^2.0.1" + }, + "dependencies": { + "is-extendable": { + "version": "0.1.1", + "dev": true + } + } + }, + "universalify": { + "version": "0.1.2", + "dev": true + }, + "unorm": { + "version": "1.6.0", + "dev": true + }, + "unpipe": { + "version": "1.0.0", + "dev": true, + "optional": true + }, + "unset-value": { + "version": "1.0.0", + "dev": true, + "requires": { + "has-value": "^0.3.1", + "isobject": "^3.0.0" + }, + "dependencies": { + "has-value": { + "version": "0.3.1", + "dev": true, + "requires": { + "get-value": "^2.0.3", + "has-values": "^0.1.4", + "isobject": "^2.0.0" + }, + "dependencies": { + "isobject": { + "version": "2.1.0", + "dev": true, + "requires": { + "isarray": "1.0.0" + } + } + } + }, + "has-values": { + "version": "0.1.4", + "dev": true + } + } + }, + "uri-js": { + "version": "4.4.1", + "dev": true, + "requires": { + "punycode": "^2.1.0" + } + }, + "urix": { + "version": "0.1.0", + "dev": true + }, + "url-parse-lax": { + "version": "3.0.0", + "dev": true, + "optional": true, + "requires": { + "prepend-http": "^2.0.0" + } + }, + "url-set-query": { + "version": "1.0.0", + "dev": true, + "optional": true + }, + "url-to-options": { + "version": "1.0.1", + "dev": true, + "optional": true + }, + "use": { + "version": "3.1.1", + "dev": true + }, + "utf-8-validate": { + "version": "5.0.4", + "dev": true, + "requires": { + "node-gyp-build": "^4.2.0" + } + }, + "utf8": { + "version": "3.0.0", + "dev": true, + "optional": true + }, + "util-deprecate": { + "version": "1.0.2", + "dev": true + }, + "util.promisify": { + "version": "1.1.1", + "dev": true, + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "for-each": "^0.3.3", + "has-symbols": "^1.0.1", + "object.getownpropertydescriptors": "^2.1.1" + } + }, + "utils-merge": { + "version": "1.0.1", + "dev": true, + "optional": true + }, + "uuid": { + "version": "3.4.0", + "dev": true + }, + "varint": { + "version": "5.0.2", + "dev": true, + "optional": true + }, + "vary": { + "version": "1.1.2", + "dev": true, + "optional": true + }, + "verror": { + "version": "1.10.0", + "dev": true, + "requires": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "web3": { + "version": "1.2.11", + "dev": true, + "optional": true, + "requires": { + "web3-bzz": "1.2.11", + "web3-core": "1.2.11", + "web3-eth": "1.2.11", + "web3-eth-personal": "1.2.11", + "web3-net": "1.2.11", + "web3-shh": "1.2.11", + "web3-utils": "1.2.11" + } + }, + "web3-bzz": { + "version": "1.2.11", + "dev": true, + "optional": true, + "requires": { + "@types/node": "^12.12.6", + "got": "9.6.0", + "swarm-js": "^0.1.40", + "underscore": "1.9.1" + }, + "dependencies": { + "@types/node": { + "version": "12.19.12", + "dev": true, + "optional": true + } + } + }, + "web3-core": { + "version": "1.2.11", + "dev": true, + "optional": true, + "requires": { + "@types/bn.js": "^4.11.5", + "@types/node": "^12.12.6", + "bignumber.js": "^9.0.0", + "web3-core-helpers": "1.2.11", + "web3-core-method": "1.2.11", + "web3-core-requestmanager": "1.2.11", + "web3-utils": "1.2.11" + }, + "dependencies": { + "@types/node": { + "version": "12.19.12", + "dev": true, + "optional": true + } + } + }, + "web3-core-helpers": { + "version": "1.2.11", + "dev": true, + "optional": true, + "requires": { + "underscore": "1.9.1", + "web3-eth-iban": "1.2.11", + "web3-utils": "1.2.11" + } + }, + "web3-core-method": { + "version": "1.2.11", + "dev": true, + "optional": true, + "requires": { + "@ethersproject/transactions": "^5.0.0-beta.135", + "underscore": "1.9.1", + "web3-core-helpers": "1.2.11", + "web3-core-promievent": "1.2.11", + "web3-core-subscriptions": "1.2.11", + "web3-utils": "1.2.11" + } + }, + "web3-core-promievent": { + "version": "1.2.11", + "dev": true, + "optional": true, + "requires": { + "eventemitter3": "4.0.4" + } + }, + "web3-core-requestmanager": { + "version": "1.2.11", + "dev": true, + "optional": true, + "requires": { + "underscore": "1.9.1", + "web3-core-helpers": "1.2.11", + "web3-providers-http": "1.2.11", + "web3-providers-ipc": "1.2.11", + "web3-providers-ws": "1.2.11" + } + }, + "web3-core-subscriptions": { + "version": "1.2.11", + "dev": true, + "optional": true, + "requires": { + "eventemitter3": "4.0.4", + "underscore": "1.9.1", + "web3-core-helpers": "1.2.11" + } + }, + "web3-eth": { + "version": "1.2.11", + "dev": true, + "optional": true, + "requires": { + "underscore": "1.9.1", + "web3-core": "1.2.11", + "web3-core-helpers": "1.2.11", + "web3-core-method": "1.2.11", + "web3-core-subscriptions": "1.2.11", + "web3-eth-abi": "1.2.11", + "web3-eth-accounts": "1.2.11", + "web3-eth-contract": "1.2.11", + "web3-eth-ens": "1.2.11", + "web3-eth-iban": "1.2.11", + "web3-eth-personal": "1.2.11", + "web3-net": "1.2.11", + "web3-utils": "1.2.11" + } + }, + "web3-eth-abi": { + "version": "1.2.11", + "dev": true, + "optional": true, + "requires": { + "@ethersproject/abi": "5.0.0-beta.153", + "underscore": "1.9.1", + "web3-utils": "1.2.11" + } + }, + "web3-eth-accounts": { + "version": "1.2.11", + "dev": true, + "optional": true, + "requires": { + "crypto-browserify": "3.12.0", + "eth-lib": "0.2.8", + "ethereumjs-common": "^1.3.2", + "ethereumjs-tx": "^2.1.1", + "scrypt-js": "^3.0.1", + "underscore": "1.9.1", + "uuid": "3.3.2", + "web3-core": "1.2.11", + "web3-core-helpers": "1.2.11", + "web3-core-method": "1.2.11", + "web3-utils": "1.2.11" + }, + "dependencies": { + "eth-lib": { + "version": "0.2.8", + "dev": true, + "optional": true, + "requires": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "xhr-request-promise": "^0.1.2" + } + }, + "uuid": { + "version": "3.3.2", + "dev": true, + "optional": true + } + } + }, + "web3-eth-contract": { + "version": "1.2.11", + "dev": true, + "optional": true, + "requires": { + "@types/bn.js": "^4.11.5", + "underscore": "1.9.1", + "web3-core": "1.2.11", + "web3-core-helpers": "1.2.11", + "web3-core-method": "1.2.11", + "web3-core-promievent": "1.2.11", + "web3-core-subscriptions": "1.2.11", + "web3-eth-abi": "1.2.11", + "web3-utils": "1.2.11" + } + }, + "web3-eth-ens": { + "version": "1.2.11", + "dev": true, + "optional": true, + "requires": { + "content-hash": "^2.5.2", + "eth-ens-namehash": "2.0.8", + "underscore": "1.9.1", + "web3-core": "1.2.11", + "web3-core-helpers": "1.2.11", + "web3-core-promievent": "1.2.11", + "web3-eth-abi": "1.2.11", + "web3-eth-contract": "1.2.11", + "web3-utils": "1.2.11" + } + }, + "web3-eth-iban": { + "version": "1.2.11", + "dev": true, + "optional": true, + "requires": { + "bn.js": "^4.11.9", + "web3-utils": "1.2.11" + } + }, + "web3-eth-personal": { + "version": "1.2.11", + "dev": true, + "optional": true, + "requires": { + "@types/node": "^12.12.6", + "web3-core": "1.2.11", + "web3-core-helpers": "1.2.11", + "web3-core-method": "1.2.11", + "web3-net": "1.2.11", + "web3-utils": "1.2.11" + }, + "dependencies": { + "@types/node": { + "version": "12.19.12", + "dev": true, + "optional": true + } + } + }, + "web3-net": { + "version": "1.2.11", + "dev": true, + "optional": true, + "requires": { + "web3-core": "1.2.11", + "web3-core-method": "1.2.11", + "web3-utils": "1.2.11" + } + }, + "web3-provider-engine": { + "version": "14.2.1", + "dev": true, + "requires": { + "async": "^2.5.0", + "backoff": "^2.5.0", + "clone": "^2.0.0", + "cross-fetch": "^2.1.0", + "eth-block-tracker": "^3.0.0", + "eth-json-rpc-infura": "^3.1.0", + "eth-sig-util": "3.0.0", + "ethereumjs-block": "^1.2.2", + "ethereumjs-tx": "^1.2.0", + "ethereumjs-util": "^5.1.5", + "ethereumjs-vm": "^2.3.4", + "json-rpc-error": "^2.0.0", + "json-stable-stringify": "^1.0.1", + "promise-to-callback": "^1.0.0", + "readable-stream": "^2.2.9", + "request": "^2.85.0", + "semaphore": "^1.0.3", + "ws": "^5.1.1", + "xhr": "^2.2.0", + "xtend": "^4.0.1" + }, + "dependencies": { + "abstract-leveldown": { + "version": "2.6.3", + "dev": true, + "requires": { + "xtend": "~4.0.0" + } + }, + "deferred-leveldown": { + "version": "1.2.2", + "dev": true, + "requires": { + "abstract-leveldown": "~2.6.0" + } + }, + "eth-sig-util": { + "version": "1.4.2", + "dev": true, + "requires": { + "ethereumjs-abi": "git+https://github.com/ethereumjs/ethereumjs-abi.git", + "ethereumjs-util": "^5.1.1" + } + }, + "ethereumjs-account": { + "version": "2.0.5", + "dev": true, + "requires": { + "ethereumjs-util": "^5.0.0", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1" + } + }, + "ethereumjs-block": { + "version": "1.7.1", + "dev": true, + "requires": { + "async": "^2.0.1", + "ethereum-common": "0.2.0", + "ethereumjs-tx": "^1.2.2", + "ethereumjs-util": "^5.0.0", + "merkle-patricia-tree": "^2.1.2" + }, + "dependencies": { + "ethereum-common": { + "version": "0.2.0", + "dev": true + } + } + }, + "ethereumjs-tx": { + "version": "1.3.7", + "dev": true, + "requires": { + "ethereum-common": "^0.0.18", + "ethereumjs-util": "^5.0.0" + } + }, + "ethereumjs-util": { + "version": "5.2.1", + "dev": true, + "requires": { + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "^0.1.3", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1" + } + }, + "ethereumjs-vm": { + "version": "2.6.0", + "dev": true, + "requires": { + "async": "^2.1.2", + "async-eventemitter": "^0.2.2", + "ethereumjs-account": "^2.0.3", + "ethereumjs-block": "~2.2.0", + "ethereumjs-common": "^1.1.0", + "ethereumjs-util": "^6.0.0", + "fake-merkle-patricia-tree": "^1.0.1", + "functional-red-black-tree": "^1.0.1", + "merkle-patricia-tree": "^2.3.2", + "rustbn.js": "~0.2.0", + "safe-buffer": "^5.1.1" + }, + "dependencies": { + "ethereumjs-block": { + "version": "2.2.2", + "dev": true, + "requires": { + "async": "^2.0.1", + "ethereumjs-common": "^1.5.0", + "ethereumjs-tx": "^2.1.1", + "ethereumjs-util": "^5.0.0", + "merkle-patricia-tree": "^2.1.2" + }, + "dependencies": { + "ethereumjs-util": { + "version": "5.2.1", + "dev": true, + "requires": { + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "^0.1.3", + "rlp": "^2.0.0", + "safe-buffer": "^5.1.1" + } + } + } + }, + "ethereumjs-tx": { + "version": "2.1.2", + "dev": true, + "requires": { + "ethereumjs-common": "^1.5.0", + "ethereumjs-util": "^6.0.0" + } + }, + "ethereumjs-util": { + "version": "6.2.1", + "dev": true, + "requires": { + "@types/bn.js": "^4.11.3", + "bn.js": "^4.11.0", + "create-hash": "^1.1.2", + "elliptic": "^6.5.2", + "ethereum-cryptography": "^0.1.3", + "ethjs-util": "0.1.6", + "rlp": "^2.2.3" + } + } + } + }, + "isarray": { + "version": "0.0.1", + "dev": true + }, + "level-codec": { + "version": "7.0.1", + "dev": true + }, + "level-errors": { + "version": "1.0.5", + "dev": true, + "requires": { + "errno": "~0.1.1" + } + }, + "level-iterator-stream": { + "version": "1.3.1", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "level-errors": "^1.0.3", + "readable-stream": "^1.0.33", + "xtend": "^4.0.0" + }, + "dependencies": { + "readable-stream": { + "version": "1.1.14", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + } + } + }, + "level-ws": { + "version": "0.0.0", + "dev": true, + "requires": { + "readable-stream": "~1.0.15", + "xtend": "~2.1.1" + }, + "dependencies": { + "readable-stream": { + "version": "1.0.34", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "xtend": { + "version": "2.1.2", + "dev": true, + "requires": { + "object-keys": "~0.4.0" + } + } + } + }, + "levelup": { + "version": "1.3.9", + "dev": true, + "requires": { + "deferred-leveldown": "~1.2.1", + "level-codec": "~7.0.0", + "level-errors": "~1.0.3", + "level-iterator-stream": "~1.3.0", + "prr": "~1.0.1", + "semver": "~5.4.1", + "xtend": "~4.0.0" + } + }, + "ltgt": { + "version": "2.2.1", + "dev": true + }, + "memdown": { + "version": "1.4.1", + "dev": true, + "requires": { + "abstract-leveldown": "~2.7.1", + "functional-red-black-tree": "^1.0.1", + "immediate": "^3.2.3", + "inherits": "~2.0.1", + "ltgt": "~2.2.0", + "safe-buffer": "~5.1.1" + }, + "dependencies": { + "abstract-leveldown": { + "version": "2.7.2", + "dev": true, + "requires": { + "xtend": "~4.0.0" + } + } + } + }, + "merkle-patricia-tree": { + "version": "2.3.2", + "dev": true, + "requires": { + "async": "^1.4.2", + "ethereumjs-util": "^5.0.0", + "level-ws": "0.0.0", + "levelup": "^1.2.1", + "memdown": "^1.0.0", + "readable-stream": "^2.0.0", + "rlp": "^2.0.0", + "semaphore": ">=1.0.1" + }, + "dependencies": { + "async": { + "version": "1.5.2", + "dev": true + } + } + }, + "object-keys": { + "version": "0.4.0", + "dev": true + }, + "safe-buffer": { + "version": "5.1.2", + "dev": true + }, + "semver": { + "version": "5.4.1", + "dev": true + }, + "string_decoder": { + "version": "0.10.31", + "dev": true + }, + "ws": { + "version": "5.2.2", + "dev": true, + "requires": { + "async-limiter": "~1.0.0" + } + } + } + }, + "web3-providers-http": { + "version": "1.2.11", + "dev": true, + "optional": true, + "requires": { + "web3-core-helpers": "1.2.11", + "xhr2-cookies": "1.1.0" + } + }, + "web3-providers-ipc": { + "version": "1.2.11", + "dev": true, + "optional": true, + "requires": { + "oboe": "2.1.4", + "underscore": "1.9.1", + "web3-core-helpers": "1.2.11" + } + }, + "web3-providers-ws": { + "version": "1.2.11", + "dev": true, + "optional": true, + "requires": { + "eventemitter3": "4.0.4", + "underscore": "1.9.1", + "web3-core-helpers": "1.2.11", + "websocket": "^1.0.31" + } + }, + "web3-shh": { + "version": "1.2.11", + "dev": true, + "optional": true, + "requires": { + "web3-core": "1.2.11", + "web3-core-method": "1.2.11", + "web3-core-subscriptions": "1.2.11", + "web3-net": "1.2.11" + } + }, + "web3-utils": { + "version": "1.2.11", + "dev": true, + "optional": true, + "requires": { + "bn.js": "^4.11.9", + "eth-lib": "0.2.8", + "ethereum-bloom-filters": "^1.0.6", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "underscore": "1.9.1", + "utf8": "3.0.0" + }, + "dependencies": { + "eth-lib": { + "version": "0.2.8", + "dev": true, + "optional": true, + "requires": { + "bn.js": "^4.11.6", + "elliptic": "^6.4.0", + "xhr-request-promise": "^0.1.2" + } + } + } + }, + "websocket": { + "version": "1.0.32", + "dev": true, + "requires": { + "bufferutil": "^4.0.1", + "debug": "^2.2.0", + "es5-ext": "^0.10.50", + "typedarray-to-buffer": "^3.1.5", + "utf-8-validate": "^5.0.2", + "yaeti": "^0.0.6" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "dev": true + } + } + }, + "whatwg-fetch": { + "version": "2.0.4", + "dev": true + }, + "wrappy": { + "version": "1.0.2", + "dev": true + }, + "ws": { + "version": "3.3.3", + "dev": true, + "optional": true, + "requires": { + "async-limiter": "~1.0.0", + "safe-buffer": "~5.1.0", + "ultron": "~1.1.0" + }, + "dependencies": { + "safe-buffer": { + "version": "5.1.2", + "dev": true, + "optional": true + } + } + }, + "xhr": { + "version": "2.6.0", + "dev": true, + "requires": { + "global": "~4.4.0", + "is-function": "^1.0.1", + "parse-headers": "^2.0.0", + "xtend": "^4.0.0" + } + }, + "xhr-request": { + "version": "1.1.0", + "dev": true, + "optional": true, + "requires": { + "buffer-to-arraybuffer": "^0.0.5", + "object-assign": "^4.1.1", + "query-string": "^5.0.1", + "simple-get": "^2.7.0", + "timed-out": "^4.0.1", + "url-set-query": "^1.0.0", + "xhr": "^2.0.4" + } + }, + "xhr-request-promise": { + "version": "0.1.3", + "dev": true, + "optional": true, + "requires": { + "xhr-request": "^1.1.0" + } + }, + "xhr2-cookies": { + "version": "1.1.0", + "dev": true, + "optional": true, + "requires": { + "cookiejar": "^2.1.1" + } + }, + "xtend": { + "version": "4.0.2", + "dev": true + }, + "yaeti": { + "version": "0.0.6", + "dev": true + }, + "yallist": { + "version": "3.1.1", + "dev": true + } + } + }, + "get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" + }, + "get-func-name": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", + "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=", + "dev": true + }, + "get-intrinsic": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", + "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", + "requires": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1" + } + }, + "get-port": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/get-port/-/get-port-3.2.0.tgz", + "integrity": "sha1-3Xzn3hh8Bsi/NTeWrHHgmfCYDrw=" + }, + "get-symbol-description": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", + "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "requires": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.1" + } + }, + "getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "requires": { + "assert-plus": "^1.0.0" + } + }, + "glob": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", + "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "requires": { + "is-glob": "^4.0.1" + } + }, + "graceful-fs": { + "version": "4.2.9", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.9.tgz", + "integrity": "sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==" + }, + "growl": { + "version": "1.10.5", + "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz", + "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==" + }, + "har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=" + }, + "har-validator": { + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", + "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", + "requires": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + } + }, + "hardhat": { + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/hardhat/-/hardhat-2.9.1.tgz", + "integrity": "sha512-q0AkYXV7R26RzyAkHGQRhhQjk508pseVvH3wSwZwwPUbvA+tjl0vMIrD4aFQDonRXkrnXX4+5KglozzjSd0//Q==", + "requires": { + "@ethereumjs/block": "^3.6.0", + "@ethereumjs/blockchain": "^5.5.0", + "@ethereumjs/common": "^2.6.0", + "@ethereumjs/tx": "^3.4.0", + "@ethereumjs/vm": "^5.6.0", + "@ethersproject/abi": "^5.1.2", + "@metamask/eth-sig-util": "^4.0.0", + "@sentry/node": "^5.18.1", + "@solidity-parser/parser": "^0.14.1", + "@types/bn.js": "^5.1.0", + "@types/lru-cache": "^5.1.0", + "abort-controller": "^3.0.0", + "adm-zip": "^0.4.16", + "aggregate-error": "^3.0.0", + "ansi-escapes": "^4.3.0", + "chalk": "^2.4.2", + "chokidar": "^3.4.0", + "ci-info": "^2.0.0", + "debug": "^4.1.1", + "enquirer": "^2.3.0", + "env-paths": "^2.2.0", + "ethereum-cryptography": "^0.1.2", + "ethereumjs-abi": "^0.6.8", + "ethereumjs-util": "^7.1.3", + "find-up": "^2.1.0", + "fp-ts": "1.19.3", + "fs-extra": "^7.0.1", + "glob": "^7.1.3", + "immutable": "^4.0.0-rc.12", + "io-ts": "1.10.4", + "lodash": "^4.17.11", + "merkle-patricia-tree": "^4.2.2", + "mnemonist": "^0.38.0", + "mocha": "^9.2.0", + "p-map": "^4.0.0", + "qs": "^6.7.0", + "raw-body": "^2.4.1", + "resolve": "1.17.0", + "semver": "^6.3.0", + "slash": "^3.0.0", + "solc": "0.7.3", + "source-map-support": "^0.5.13", + "stacktrace-parser": "^0.1.10", + "true-case-path": "^2.2.1", + "tsort": "0.0.1", + "undici": "^4.14.1", + "uuid": "^8.3.2", + "ws": "^7.4.6" + } + }, + "hardhat-ethers": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/hardhat-ethers/-/hardhat-ethers-1.0.1.tgz", + "integrity": "sha512-zS7VPEwlYwIbMZG/PTDM9pF1cagmxNGxA6hLCOFQt/wYPDWgw5eUQNchi9fRbd+k6ZIgm3UypsjK60Qqlx7Ogw==" + }, + "hardhat-gas-reporter": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/hardhat-gas-reporter/-/hardhat-gas-reporter-1.0.8.tgz", + "integrity": "sha512-1G5thPnnhcwLHsFnl759f2tgElvuwdkzxlI65fC9PwxYMEe9cmjkVAAWTf3/3y8uP6ZSPiUiOW8PgZnykmZe0g==", + "requires": { + "array-uniq": "1.0.3", + "eth-gas-reporter": "^0.2.24", + "sha1": "^1.1.1" + } + }, + "has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "requires": { + "function-bind": "^1.1.1" + } + }, + "has-bigints": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz", + "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "has-symbols": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==" + }, + "has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "requires": { + "has-symbols": "^1.0.2" + } + }, + "hash-base": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", + "integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", + "requires": { + "inherits": "^2.0.4", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + } + }, + "hash.js": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", + "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", + "requires": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.1" + } + }, + "he": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==" + }, + "hmac-drbg": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", + "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", + "requires": { + "hash.js": "^1.0.3", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true + }, + "http-basic": { + "version": "8.1.3", + "resolved": "https://registry.npmjs.org/http-basic/-/http-basic-8.1.3.tgz", + "integrity": "sha512-/EcDMwJZh3mABI2NhGfHOGOeOZITqfkEO4p/xK+l3NpyncIHUQBoMvCSF/b5GqvKtySC2srL/GGG3+EtlqlmCw==", + "requires": { + "caseless": "^0.12.0", + "concat-stream": "^1.6.2", + "http-response-object": "^3.0.1", + "parse-cache-control": "^1.0.1" + } + }, + "http-errors": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", + "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", + "requires": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + } + }, + "http-response-object": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/http-response-object/-/http-response-object-3.0.2.tgz", + "integrity": "sha512-bqX0XTF6fnXSQcEJ2Iuyr75yVakyjIDCqroJQ/aHfSdlM743Cwqoi2nDYMzLGWUcuTWGWy8AAvOKXTfiv6q9RA==", + "requires": { + "@types/node": "^10.0.3" + }, + "dependencies": { + "@types/node": { + "version": "10.17.60", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.60.tgz", + "integrity": "sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw==" + } + } + }, + "http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "requires": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + } + }, + "https-proxy-agent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", + "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", + "requires": { + "agent-base": "6", + "debug": "4" + } + }, + "iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + }, + "idna-uts46-hx": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/idna-uts46-hx/-/idna-uts46-hx-2.3.1.tgz", + "integrity": "sha512-PWoF9Keq6laYdIRwwCdhTPl60xRqAloYNMQLiyUnG42VjT53oW07BXIRM+NK7eQjzXjAk2gUvX9caRxlnF9TAA==", + "dev": true, + "requires": { + "punycode": "2.1.0" + }, + "dependencies": { + "punycode": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.0.tgz", + "integrity": "sha1-X4Y+3Im5bbCQdLrXlHvwkFbKTn0=", + "dev": true + } + } + }, + "ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" + }, + "immediate": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.3.0.tgz", + "integrity": "sha512-HR7EVodfFUdQCTIeySw+WDRFJlPcLOJbXfwwZ7Oom6tjsvZ3bOkCDJHehQC3nxJrv7+f9XecwazynjU8e4Vw3Q==" + }, + "immutable": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.0.0.tgz", + "integrity": "sha512-zIE9hX70qew5qTUjSS7wi1iwj/l7+m54KWU247nhM3v806UdGj1yDndXj+IOYxxtW9zyLI+xqFNZjTuDaLUqFw==" + }, + "indent-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", + "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==" + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "internal-slot": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", + "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", + "requires": { + "get-intrinsic": "^1.1.0", + "has": "^1.0.3", + "side-channel": "^1.0.4" + } + }, + "invert-kv": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", + "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=", + "dev": true + }, + "io-ts": { + "version": "1.10.4", + "resolved": "https://registry.npmjs.org/io-ts/-/io-ts-1.10.4.tgz", + "integrity": "sha512-b23PteSnYXSONJ6JQXRAlvJhuw8KOtkqa87W4wDtvMrud/DTJd5X+NpOOI+O/zZwVq6v0VLAaJ+1EDViKEuN9g==", + "requires": { + "fp-ts": "^1.0.0" + } + }, + "is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", + "dev": true + }, + "is-bigint": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "requires": { + "has-bigints": "^1.0.1" + } + }, + "is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "requires": { + "binary-extensions": "^2.0.0" + } + }, + "is-boolean-object": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "requires": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + } + }, + "is-buffer": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz", + "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==" + }, + "is-callable": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz", + "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==" + }, + "is-ci": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", + "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==", + "dev": true, + "requires": { + "ci-info": "^2.0.0" + } + }, + "is-date-object": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", + "dev": true + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=" + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" + }, + "is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "requires": { + "is-extglob": "^2.1.1" + } + }, + "is-hex-prefixed": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-hex-prefixed/-/is-hex-prefixed-1.0.0.tgz", + "integrity": "sha1-fY035q135dEnFIkTxXPggtd39VQ=" + }, + "is-negative-zero": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", + "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==" + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" + }, + "is-number-object": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.6.tgz", + "integrity": "sha512-bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g==", + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-plain-obj": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", + "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==" + }, + "is-regex": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "requires": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + } + }, + "is-shared-array-buffer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz", + "integrity": "sha512-IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA==" + }, + "is-string": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-symbol": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "requires": { + "has-symbols": "^1.0.2" + } + }, + "is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" + }, + "is-unicode-supported": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==" + }, + "is-url": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/is-url/-/is-url-1.2.4.tgz", + "integrity": "sha512-ITvGim8FhRiYe4IQ5uHSkj7pVaPDrCTkNd3yq3cV7iZAcJdHTUMPMEHcqSOy9xZ9qFenQCvi+2wjH9a1nXqHww==", + "dev": true + }, + "is-utf8": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", + "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=", + "dev": true + }, + "is-weakref": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", + "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "requires": { + "call-bind": "^1.0.2" + } + }, + "is-wsl": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "dev": true, + "requires": { + "is-docker": "^2.0.0" + } + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + }, + "isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" + }, + "isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" + }, + "js-sha3": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", + "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==" + }, + "js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "requires": { + "argparse": "^2.0.1" + } + }, + "jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=" + }, + "json-schema": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz", + "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==" + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + }, + "json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" + }, + "jsonfile": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", + "requires": { + "graceful-fs": "^4.1.6" + } + }, + "jsprim": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz", + "integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==", + "requires": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.4.0", + "verror": "1.10.0" + } + }, + "keccak": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/keccak/-/keccak-3.0.2.tgz", + "integrity": "sha512-PyKKjkH53wDMLGrvmRGSNWgmSxZOUqbnXwKL9tmgbFYA1iAYqW21kfR7mZXV0MlESiefxQQE9X9fTa3X+2MPDQ==", + "requires": { + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0", + "readable-stream": "^3.6.0" + } + }, + "klaw": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/klaw/-/klaw-1.3.1.tgz", + "integrity": "sha1-QIhDO0azsbolnXh4XY6W9zugJDk=", + "requires": { + "graceful-fs": "^4.1.9" + } + }, + "klaw-sync": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/klaw-sync/-/klaw-sync-6.0.0.tgz", + "integrity": "sha512-nIeuVSzdCCs6TDPTqI8w1Yre34sSq7AkZ4B3sfOBbI2CgVSB4Du4aLQijFU2+lhAFCwt9+42Hel6lQNIv6AntQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.11" + } + }, + "lcid": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", + "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", + "dev": true, + "requires": { + "invert-kv": "^1.0.0" + } + }, + "level-codec": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/level-codec/-/level-codec-9.0.2.tgz", + "integrity": "sha512-UyIwNb1lJBChJnGfjmO0OR+ezh2iVu1Kas3nvBS/BzGnx79dv6g7unpKIDNPMhfdTEGoc7mC8uAu51XEtX+FHQ==", + "requires": { + "buffer": "^5.6.0" + } + }, + "level-concat-iterator": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/level-concat-iterator/-/level-concat-iterator-2.0.1.tgz", + "integrity": "sha512-OTKKOqeav2QWcERMJR7IS9CUo1sHnke2C0gkSmcR7QuEtFNLLzHQAvnMw8ykvEcv0Qtkg0p7FOwP1v9e5Smdcw==" + }, + "level-errors": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/level-errors/-/level-errors-2.0.1.tgz", + "integrity": "sha512-UVprBJXite4gPS+3VznfgDSU8PTRuVX0NXwoWW50KLxd2yw4Y1t2JUR5In1itQnudZqRMT9DlAM3Q//9NCjCFw==", + "requires": { + "errno": "~0.1.1" + } + }, + "level-iterator-stream": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/level-iterator-stream/-/level-iterator-stream-4.0.2.tgz", + "integrity": "sha512-ZSthfEqzGSOMWoUGhTXdX9jv26d32XJuHz/5YnuHZzH6wldfWMOVwI9TBtKcya4BKTyTt3XVA0A3cF3q5CY30Q==", + "requires": { + "inherits": "^2.0.4", + "readable-stream": "^3.4.0", + "xtend": "^4.0.2" + } + }, + "level-mem": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/level-mem/-/level-mem-5.0.1.tgz", + "integrity": "sha512-qd+qUJHXsGSFoHTziptAKXoLX87QjR7v2KMbqncDXPxQuCdsQlzmyX+gwrEHhlzn08vkf8TyipYyMmiC6Gobzg==", + "requires": { + "level-packager": "^5.0.3", + "memdown": "^5.0.0" + } + }, + "level-packager": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/level-packager/-/level-packager-5.1.1.tgz", + "integrity": "sha512-HMwMaQPlTC1IlcwT3+swhqf/NUO+ZhXVz6TY1zZIIZlIR0YSn8GtAAWmIvKjNY16ZkEg/JcpAuQskxsXqC0yOQ==", + "requires": { + "encoding-down": "^6.3.0", + "levelup": "^4.3.2" + } + }, + "level-supports": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/level-supports/-/level-supports-1.0.1.tgz", + "integrity": "sha512-rXM7GYnW8gsl1vedTJIbzOrRv85c/2uCMpiiCzO2fndd06U/kUXEEU9evYn4zFggBOg36IsBW8LzqIpETwwQzg==", + "requires": { + "xtend": "^4.0.2" + } + }, + "level-ws": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/level-ws/-/level-ws-2.0.0.tgz", + "integrity": "sha512-1iv7VXx0G9ec1isqQZ7y5LmoZo/ewAsyDHNA8EFDW5hqH2Kqovm33nSFkSdnLLAK+I5FlT+lo5Cw9itGe+CpQA==", + "requires": { + "inherits": "^2.0.3", + "readable-stream": "^3.1.0", + "xtend": "^4.0.1" + } + }, + "levelup": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/levelup/-/levelup-4.4.0.tgz", + "integrity": "sha512-94++VFO3qN95cM/d6eBXvd894oJE0w3cInq9USsyQzzoJxmiYzPAocNcuGCPGGjoXqDVJcr3C1jzt1TSjyaiLQ==", + "requires": { + "deferred-leveldown": "~5.3.0", + "level-errors": "~2.0.0", + "level-iterator-stream": "~4.0.0", + "level-supports": "~1.0.0", + "xtend": "~4.0.0" + } + }, + "load-json-file": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", + "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0", + "strip-bom": "^2.0.0" + } + }, + "locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "requires": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + } + }, + "lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + }, + "lodash.assign": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.assign/-/lodash.assign-4.2.0.tgz", + "integrity": "sha1-DZnzzNem0mHRm9rrkkUAXShYCOc=", + "dev": true + }, + "log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "requires": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "loupe": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.4.tgz", + "integrity": "sha512-OvKfgCC2Ndby6aSTREl5aCCPTNIzlDfQZvZxNUrBrihDhL3xcrYegTblhmEiCrg2kKQz4XsFIaemE5BF4ybSaQ==", + "dev": true, + "requires": { + "get-func-name": "^2.0.0" + } + }, + "lru_map": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/lru_map/-/lru_map-0.3.3.tgz", + "integrity": "sha1-tcg1G5Rky9dQM1p5ZQoOwOVhGN0=" + }, + "lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "requires": { + "yallist": "^3.0.2" + } + }, + "ltgt": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ltgt/-/ltgt-2.2.1.tgz", + "integrity": "sha1-81ypHEk/e3PaDgdJUwTxezH4fuU=" + }, + "markdown-table": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-1.1.3.tgz", + "integrity": "sha512-1RUZVgQlpJSPWYbFSpmudq5nHY1doEIv89gBtF0s4gW1GF2XorxcA/70M5vq7rLv0a6mhOUccRsqkwhwLCIQ2Q==" + }, + "mcl-wasm": { + "version": "0.7.9", + "resolved": "https://registry.npmjs.org/mcl-wasm/-/mcl-wasm-0.7.9.tgz", + "integrity": "sha512-iJIUcQWA88IJB/5L15GnJVnSQJmf/YaxxV6zRavv83HILHaJQb6y0iFyDMdDO0gN8X37tdxmAOrH/P8B6RB8sQ==" + }, + "md5.js": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", + "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", + "requires": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "memdown": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/memdown/-/memdown-5.1.0.tgz", + "integrity": "sha512-B3J+UizMRAlEArDjWHTMmadet+UKwHd3UjMgGBkZcKAxAYVPS9o0Yeiha4qvz7iGiL2Sb3igUft6p7nbFWctpw==", + "requires": { + "abstract-leveldown": "~6.2.1", + "functional-red-black-tree": "~1.0.1", + "immediate": "~3.2.3", + "inherits": "~2.0.1", + "ltgt": "~2.2.0", + "safe-buffer": "~5.2.0" + }, + "dependencies": { + "abstract-leveldown": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/abstract-leveldown/-/abstract-leveldown-6.2.3.tgz", + "integrity": "sha512-BsLm5vFMRUrrLeCcRc+G0t2qOaTzpoJQLOubq2XM72eNpjF5UdU5o/5NvlNhx95XHcAvcl8OMXr4mlg/fRgUXQ==", + "requires": { + "buffer": "^5.5.0", + "immediate": "^3.2.3", + "level-concat-iterator": "~2.0.0", + "level-supports": "~1.0.0", + "xtend": "~4.0.0" + } + }, + "immediate": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.2.3.tgz", + "integrity": "sha1-0UD6j2FGWb1lQSMwl92qwlzdmRw=" + } + } + }, + "memorystream": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/memorystream/-/memorystream-0.3.1.tgz", + "integrity": "sha1-htcJCzDORV1j+64S3aUaR93K+bI=" + }, + "merkle-patricia-tree": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/merkle-patricia-tree/-/merkle-patricia-tree-4.2.3.tgz", + "integrity": "sha512-S4xevdXl5KvdBGgUxhQcxoep0onqXiIhzfwZp4M78kIuJH3Pu9o9IUgqhzSFOR2ykLO6t265026Xb6PY0q2UFQ==", + "requires": { + "@types/levelup": "^4.3.0", + "ethereumjs-util": "^7.1.4", + "level-mem": "^5.0.1", + "level-ws": "^2.0.0", + "readable-stream": "^3.6.0", + "semaphore-async-await": "^1.5.1" + } + }, + "micromatch": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", + "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "dev": true, + "requires": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + } + }, + "miller-rabin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", + "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", + "requires": { + "bn.js": "^4.0.0", + "brorand": "^1.0.1" + } + }, + "mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==" + }, + "mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "requires": { + "mime-db": "1.52.0" + } + }, + "minimalistic-assert": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" + }, + "minimalistic-crypto-utils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", + "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=" + }, + "minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "minimist": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" + }, + "mkdirp": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", + "requires": { + "minimist": "^1.2.5" + } + }, + "mnemonist": { + "version": "0.38.5", + "resolved": "https://registry.npmjs.org/mnemonist/-/mnemonist-0.38.5.tgz", + "integrity": "sha512-bZTFT5rrPKtPJxj8KSV0WkPyNxl72vQepqqVUAW2ARUpUSF2qXMB6jZj7hW5/k7C1rtpzqbD/IIbJwLXUjCHeg==", + "requires": { + "obliterator": "^2.0.0" + } + }, + "mocha": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-9.2.2.tgz", + "integrity": "sha512-L6XC3EdwT6YrIk0yXpavvLkn8h+EU+Y5UcCHKECyMbdUIxyMuZj4bX4U9e1nvnvUUvQVsV2VHQr5zLdcUkhW/g==", + "requires": { + "@ungap/promise-all-settled": "1.1.2", + "ansi-colors": "4.1.1", + "browser-stdout": "1.3.1", + "chokidar": "3.5.3", + "debug": "4.3.3", + "diff": "5.0.0", + "escape-string-regexp": "4.0.0", + "find-up": "5.0.0", + "glob": "7.2.0", + "growl": "1.10.5", + "he": "1.2.0", + "js-yaml": "4.1.0", + "log-symbols": "4.1.0", + "minimatch": "4.2.1", + "ms": "2.1.3", + "nanoid": "3.3.1", + "serialize-javascript": "6.0.0", + "strip-json-comments": "3.1.1", + "supports-color": "8.1.1", + "which": "2.0.2", + "workerpool": "6.2.0", + "yargs": "16.2.0", + "yargs-parser": "20.2.4", + "yargs-unparser": "2.0.0" + }, + "dependencies": { + "escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==" + }, + "find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "requires": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + } + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" + }, + "locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "requires": { + "p-locate": "^5.0.0" + } + }, + "minimatch": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-4.2.1.tgz", + "integrity": "sha512-9Uq1ChtSZO+Mxa/CL1eGizn2vRn3MlLgzhT0Iz8zaY8NdvxvB0d5QdPFmCKf7JKA9Lerx5vRrnwO03jsSfGG9g==", + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + }, + "p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "requires": { + "yocto-queue": "^0.1.0" + } + }, + "p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "requires": { + "p-limit": "^3.0.2" + } + }, + "path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==" + }, + "supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "nan": { + "version": "2.15.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.15.0.tgz", + "integrity": "sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ==" + }, + "nanoid": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.1.tgz", + "integrity": "sha512-n6Vs/3KGyxPQd6uO0eH4Bv0ojGSUvuLlIHtC3Y0kEO23YRge8H9x1GCzLn28YX0H66pMkxuaeESFq4tKISKwdw==" + }, + "nice-try": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", + "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", + "dev": true + }, + "node-addon-api": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-2.0.2.tgz", + "integrity": "sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA==" + }, + "node-environment-flags": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/node-environment-flags/-/node-environment-flags-1.0.6.tgz", + "integrity": "sha512-5Evy2epuL+6TM0lCQGpFIj6KwiEsGh1SrHUhTbNX+sLbBtjidPZFAnVK9y5yU1+h//RitLbRHTIMyxQPtxMdHw==", + "requires": { + "object.getownpropertydescriptors": "^2.0.3", + "semver": "^5.7.0" + }, + "dependencies": { + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + } + } + }, + "node-fetch": { + "version": "2.6.7", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", + "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "dev": true, + "requires": { + "whatwg-url": "^5.0.0" + } + }, + "node-gyp-build": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.3.0.tgz", + "integrity": "sha512-iWjXZvmboq0ja1pUGULQBexmxq8CV4xBhX7VDOTbL7ZR4FOowwY/VOtRxBN/yKxmdGoIp4j5ysNT4u3S2pDQ3Q==" + }, + "nofilter": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/nofilter/-/nofilter-3.1.0.tgz", + "integrity": "sha512-l2NNj07e9afPnhAhvgVrCD/oy2Ai1yfLpuo3EpiO1jFTsB4sFz6oIfAfSZyQzVpkZQ9xS8ZS5g1jCBgq4Hwo0g==", + "dev": true + }, + "normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "requires": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + }, + "dependencies": { + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + } + } + }, + "normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==" + }, + "number-is-nan": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", + "dev": true + }, + "number-to-bn": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/number-to-bn/-/number-to-bn-1.7.0.tgz", + "integrity": "sha1-uzYjWS9+X54AMLGXe9QaDFP+HqA=", + "dev": true, + "requires": { + "bn.js": "4.11.6", + "strip-hex-prefix": "1.0.0" + }, + "dependencies": { + "bn.js": { + "version": "4.11.6", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", + "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=", + "dev": true + } + } + }, + "oauth-sign": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==" + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + }, + "object-inspect": { + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.0.tgz", + "integrity": "sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g==" + }, + "object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==" + }, + "object.assign": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz", + "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==", + "requires": { + "define-properties": "^1.1.2", + "function-bind": "^1.1.1", + "has-symbols": "^1.0.0", + "object-keys": "^1.0.11" + } + }, + "object.getownpropertydescriptors": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.3.tgz", + "integrity": "sha512-VdDoCwvJI4QdC6ndjpqFmoL3/+HxffFBbcJzKi5hwLLqqx3mdbedRpfZDdK0SrOSauj8X4GzBvnDZl4vTN7dOw==", + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.1" + } + }, + "obliterator": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/obliterator/-/obliterator-2.0.2.tgz", + "integrity": "sha512-g0TrA7SbUggROhDPK8cEu/qpItwH2LSKcNl4tlfBNT54XY+nOsqrs0Q68h1V9b3HOSpIWv15jb1lax2hAggdIg==" + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "requires": { + "wrappy": "1" + } + }, + "open": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/open/-/open-7.4.2.tgz", + "integrity": "sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q==", + "dev": true, + "requires": { + "is-docker": "^2.0.0", + "is-wsl": "^2.1.1" + } + }, + "os-locale": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", + "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=", + "dev": true, + "requires": { + "lcid": "^1.0.0" + } + }, + "os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=" + }, + "p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "requires": { + "p-try": "^1.0.0" + } + }, + "p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "requires": { + "p-limit": "^1.1.0" + } + }, + "p-map": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", + "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", + "requires": { + "aggregate-error": "^3.0.0" + } + }, + "p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=" + }, + "parse-cache-control": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parse-cache-control/-/parse-cache-control-1.0.1.tgz", + "integrity": "sha1-juqz5U+laSD+Fro493+iGqzC104=" + }, + "parse-json": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", + "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", + "dev": true, + "requires": { + "error-ex": "^1.2.0" + } + }, + "patch-package": { + "version": "6.4.7", + "resolved": "https://registry.npmjs.org/patch-package/-/patch-package-6.4.7.tgz", + "integrity": "sha512-S0vh/ZEafZ17hbhgqdnpunKDfzHQibQizx9g8yEf5dcVk3KOflOfdufRXQX8CSEkyOQwuM/bNz1GwKvFj54kaQ==", + "dev": true, + "requires": { + "@yarnpkg/lockfile": "^1.1.0", + "chalk": "^2.4.2", + "cross-spawn": "^6.0.5", + "find-yarn-workspace-root": "^2.0.0", + "fs-extra": "^7.0.1", + "is-ci": "^2.0.0", + "klaw-sync": "^6.0.0", + "minimist": "^1.2.0", + "open": "^7.4.2", + "rimraf": "^2.6.3", + "semver": "^5.6.0", + "slash": "^2.0.0", + "tmp": "^0.0.33" + }, + "dependencies": { + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + }, + "slash": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", + "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==", + "dev": true + } + } + }, + "path-browserify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", + "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==", + "dev": true + }, + "path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=" + }, + "path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" + }, + "path-key": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", + "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", + "dev": true + }, + "path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" + }, + "path-type": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", + "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" + } + }, + "pathval": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", + "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", + "dev": true + }, + "pbkdf2": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz", + "integrity": "sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA==", + "requires": { + "create-hash": "^1.1.2", + "create-hmac": "^1.1.4", + "ripemd160": "^2.0.1", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, + "performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" + }, + "picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==" + }, + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + }, + "pinkie": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", + "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=", + "dev": true + }, + "pinkie-promise": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", + "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", + "dev": true, + "requires": { + "pinkie": "^2.0.0" + } + }, + "postinstall-postinstall": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/postinstall-postinstall/-/postinstall-postinstall-2.1.0.tgz", + "integrity": "sha512-7hQX6ZlZXIoRiWNrbMQaLzUUfH+sSx39u8EJ9HYuDc1kLo9IXKWjM5RSquZN1ad5GnH8CGFM78fsAAQi3OKEEQ==", + "dev": true + }, + "prettier": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.6.2.tgz", + "integrity": "sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew==", + "dev": true + }, + "printj": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/printj/-/printj-1.3.1.tgz", + "integrity": "sha512-GA3TdL8szPK4AQ2YnOe/b+Y1jUFwmmGMMK/qbY7VcE3Z7FU8JstbKiKRzO6CIiAKPhTO8m01NoQ0V5f3jc4OGg==" + }, + "process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" + }, + "promise": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/promise/-/promise-8.1.0.tgz", + "integrity": "sha512-W04AqnILOL/sPRXziNicCjSNRruLAuIHEOVBazepu0545DDNGYHz7ar9ZgZ1fMU8/MA4mVxp5rkBWRi6OXIy3Q==", + "requires": { + "asap": "~2.0.6" + } + }, + "proper-lockfile": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/proper-lockfile/-/proper-lockfile-4.1.2.tgz", + "integrity": "sha512-TjNPblN4BwAWMXU8s9AEz4JmQxnD1NNL7bNOY/AKUzyamc379FWASUhc/K1pL2noVb+XmZKLL68cjzLsiOAMaA==", + "dev": true, + "requires": { + "graceful-fs": "^4.2.4", + "retry": "^0.12.0", + "signal-exit": "^3.0.2" + } + }, + "prr": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", + "integrity": "sha1-0/wRS6BplaRexok/SEzrHXj19HY=" + }, + "psl": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==" + }, + "punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" + }, + "qs": { + "version": "6.10.3", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.3.tgz", + "integrity": "sha512-wr7M2E0OFRfIfJZjKGieI8lBKb7fRCH4Fv5KNPEs7gJ8jadvotdsS08PzOKR7opXhZ/Xkjtt3WF9g38drmyRqQ==", + "requires": { + "side-channel": "^1.0.4" + } + }, + "querystring": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", + "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", + "dev": true + }, + "randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "requires": { + "safe-buffer": "^5.1.0" + } + }, + "raw-body": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz", + "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==", + "requires": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + } + }, + "read-pkg": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", + "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", + "dev": true, + "requires": { + "load-json-file": "^1.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^1.0.0" + } + }, + "read-pkg-up": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", + "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", + "dev": true, + "requires": { + "find-up": "^1.0.0", + "read-pkg": "^1.0.0" + }, + "dependencies": { + "find-up": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", + "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", + "dev": true, + "requires": { + "path-exists": "^2.0.0", + "pinkie-promise": "^2.0.0" + } + }, + "path-exists": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", + "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", + "dev": true, + "requires": { + "pinkie-promise": "^2.0.0" + } + } + } + }, + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + }, + "readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "requires": { + "picomatch": "^2.2.1" + } + }, + "req-cwd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/req-cwd/-/req-cwd-2.0.0.tgz", + "integrity": "sha1-1AgrTURZgDZkD7c93qAe1T20nrw=", + "requires": { + "req-from": "^2.0.0" + } + }, + "req-from": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/req-from/-/req-from-2.0.0.tgz", + "integrity": "sha1-10GI5H+TeW9Kpx327jWuaJ8+DnA=", + "requires": { + "resolve-from": "^3.0.0" + } + }, + "request": { + "version": "2.88.2", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", + "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", + "requires": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "dependencies": { + "qs": { + "version": "6.5.3", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.3.tgz", + "integrity": "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==" + }, + "uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" + } + } + }, + "request-promise-core": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.4.tgz", + "integrity": "sha512-TTbAfBBRdWD7aNNOoVOBH4pN/KigV6LyapYNNlAPA8JwbovRti1E88m3sYAwsLi5ryhPKsE9APwnjFTgdUjTpw==", + "requires": { + "lodash": "^4.17.19" + } + }, + "request-promise-native": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/request-promise-native/-/request-promise-native-1.0.9.tgz", + "integrity": "sha512-wcW+sIUiWnKgNY0dqCpOZkUbF/I+YPi+f09JZIDa39Ec+q82CpSYniDp+ISgTTbKmnpJWASeJBPZmoxH84wt3g==", + "requires": { + "request-promise-core": "1.1.4", + "stealthy-require": "^1.1.1", + "tough-cookie": "^2.3.3" + } + }, + "require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=" + }, + "require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==" + }, + "require-main-filename": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", + "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==" + }, + "resolve": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz", + "integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==", + "requires": { + "path-parse": "^1.0.6" + } + }, + "resolve-from": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", + "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=" + }, + "retry": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", + "integrity": "sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs=", + "dev": true + }, + "rimraf": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "requires": { + "glob": "^7.1.3" + } + }, + "ripemd160": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", + "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", + "requires": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1" + } + }, + "rlp": { + "version": "2.2.7", + "resolved": "https://registry.npmjs.org/rlp/-/rlp-2.2.7.tgz", + "integrity": "sha512-d5gdPmgQ0Z+AklL2NVXr/IoSjNZFfTVvQWzL/AM2AOcSzYP2xjlb0AC8YyCLc41MSNf6P6QVtjgPdmVtzb+4lQ==", + "requires": { + "bn.js": "^5.2.0" + }, + "dependencies": { + "bn.js": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz", + "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==" + } + } + }, + "rustbn.js": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/rustbn.js/-/rustbn.js-0.2.0.tgz", + "integrity": "sha512-4VlvkRUuCJvr2J6Y0ImW7NvTCriMi7ErOAqWk1y69vAdoNIzCF3yPmgeNzx+RQTLEDFq5sHfscn1MwHxP9hNfA==" + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "scrypt-js": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/scrypt-js/-/scrypt-js-3.0.1.tgz", + "integrity": "sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA==" + }, + "secp256k1": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-4.0.3.tgz", + "integrity": "sha512-NLZVf+ROMxwtEj3Xa562qgv2BK5e2WNmXPiOdVIPLgs6lyTzMvBq0aWTYMI5XCP9jZMVKOcqZLw/Wc4vDkuxhA==", + "requires": { + "elliptic": "^6.5.4", + "node-addon-api": "^2.0.0", + "node-gyp-build": "^4.2.0" + } + }, + "semaphore-async-await": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/semaphore-async-await/-/semaphore-async-await-1.5.1.tgz", + "integrity": "sha1-hXvvXjZEYBykuVcLh+nfXKEpdPo=" + }, + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" + }, + "serialize-javascript": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", + "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", + "requires": { + "randombytes": "^2.1.0" + } + }, + "set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=" + }, + "setimmediate": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=" + }, + "setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" + }, + "sha.js": { + "version": "2.4.11", + "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", + "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", + "requires": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "sha1": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/sha1/-/sha1-1.1.1.tgz", + "integrity": "sha1-rdqnqTFo85PxnrKxUJFhjicA+Eg=", + "requires": { + "charenc": ">= 0.0.1", + "crypt": ">= 0.0.1" + } + }, + "shebang-command": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", + "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", + "dev": true, + "requires": { + "shebang-regex": "^1.0.0" + } + }, + "shebang-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", + "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", + "dev": true + }, + "side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "requires": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + } + }, + "signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "dev": true + }, + "slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==" + }, + "solc": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/solc/-/solc-0.7.3.tgz", + "integrity": "sha512-GAsWNAjGzIDg7VxzP6mPjdurby3IkGCjQcM8GFYZT6RyaoUZKmMU6Y7YwG+tFGhv7dwZ8rmR4iwFDrrD99JwqA==", + "requires": { + "command-exists": "^1.2.8", + "commander": "3.0.2", + "follow-redirects": "^1.12.1", + "fs-extra": "^0.30.0", + "js-sha3": "0.8.0", + "memorystream": "^0.3.1", + "require-from-string": "^2.0.0", + "semver": "^5.5.0", + "tmp": "0.0.33" + }, + "dependencies": { + "fs-extra": { + "version": "0.30.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-0.30.0.tgz", + "integrity": "sha1-8jP/zAjU2n1DLapEl3aYnbHfk/A=", + "requires": { + "graceful-fs": "^4.1.2", + "jsonfile": "^2.1.0", + "klaw": "^1.0.0", + "path-is-absolute": "^1.0.0", + "rimraf": "^2.2.8" + } + }, + "jsonfile": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", + "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", + "requires": { + "graceful-fs": "^4.1.6" + } + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + } + } + }, + "solidity-ast": { + "version": "0.4.30", + "resolved": "https://registry.npmjs.org/solidity-ast/-/solidity-ast-0.4.30.tgz", + "integrity": "sha512-3xsQIbZEPx6w7+sQokuOvk1RkMb5GIpuK0GblQDIH6IAkU4+uyJQVJIRNP+8KwhzkViwRKq0hS4zLqQNLKpxOA==", + "dev": true + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" + }, + "source-map-support": { + "version": "0.5.21", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "requires": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "spdx-correct": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", + "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", + "dev": true, + "requires": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-exceptions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", + "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", + "dev": true + }, + "spdx-expression-parse": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "dev": true, + "requires": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-license-ids": { + "version": "3.0.11", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.11.tgz", + "integrity": "sha512-Ctl2BrFiM0X3MANYgj3CkygxhRmr9mi6xhejbdO960nF6EDJApTYpn0BQnDKlnNBULKiCN1n3w9EBkHK8ZWg+g==", + "dev": true + }, + "sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" + }, + "sshpk": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.17.0.tgz", + "integrity": "sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ==", + "requires": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + }, + "dependencies": { + "tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" + } + } + }, + "stacktrace-parser": { + "version": "0.1.10", + "resolved": "https://registry.npmjs.org/stacktrace-parser/-/stacktrace-parser-0.1.10.tgz", + "integrity": "sha512-KJP1OCML99+8fhOHxwwzyWrlUuVX5GQ0ZpJTd1DFXhdkrvg1szxfHhawXUZ3g9TkXORQd4/WG68jMlQZ2p8wlg==", + "requires": { + "type-fest": "^0.7.1" + }, + "dependencies": { + "type-fest": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.7.1.tgz", + "integrity": "sha512-Ne2YiiGN8bmrmJJEuTWTLJR32nh/JdL1+PSicowtNb0WFpn59GK8/lfD61bVtzguz7b3PBt74nxpv/Pw5po5Rg==" + } + } + }, + "statuses": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", + "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==" + }, + "stealthy-require": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/stealthy-require/-/stealthy-require-1.1.1.tgz", + "integrity": "sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks=" + }, + "string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "requires": { + "safe-buffer": "~5.2.0" + } + }, + "string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, + "string.prototype.trimend": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", + "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==", + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + } + }, + "string.prototype.trimstart": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz", + "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==", + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "strip-bom": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", + "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", + "dev": true, + "requires": { + "is-utf8": "^0.2.0" + } + }, + "strip-hex-prefix": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/strip-hex-prefix/-/strip-hex-prefix-1.0.0.tgz", + "integrity": "sha1-DF8VX+8RUTczd96du1iNoFUA428=", + "requires": { + "is-hex-prefixed": "1.0.0" + } + }, + "strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==" + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + }, + "sync-request": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/sync-request/-/sync-request-6.1.0.tgz", + "integrity": "sha512-8fjNkrNlNCrVc/av+Jn+xxqfCjYaBoHqCsDz6mt030UMxJGr+GSfCV1dQt2gRtlL63+VPidwDVLr7V2OcTSdRw==", + "requires": { + "http-response-object": "^3.0.1", + "sync-rpc": "^1.2.1", + "then-request": "^6.0.0" + } + }, + "sync-rpc": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/sync-rpc/-/sync-rpc-1.3.6.tgz", + "integrity": "sha512-J8jTXuZzRlvU7HemDgHi3pGnh/rkoqR/OZSjhTyyZrEkkYQbk7Z33AXp37mkPfPpfdOuj7Ex3H/TJM1z48uPQw==", + "requires": { + "get-port": "^3.1.0" + } + }, + "test-value": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/test-value/-/test-value-2.1.0.tgz", + "integrity": "sha1-Edpv9nDzRxpztiXKTz/c97t0gpE=", + "dev": true, + "requires": { + "array-back": "^1.0.3", + "typical": "^2.6.0" + }, + "dependencies": { + "array-back": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-1.0.4.tgz", + "integrity": "sha1-ZEun8JX3/898Q7Xw3DnTwfA8Bjs=", + "dev": true, + "requires": { + "typical": "^2.6.0" + } + } + } + }, + "testrpc": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/testrpc/-/testrpc-0.0.1.tgz", + "integrity": "sha512-afH1hO+SQ/VPlmaLUFj2636QMeDvPCeQMc/9RBMW0IfjNe9gFD9Ra3ShqYkB7py0do1ZcCna/9acHyzTJ+GcNA==", + "dev": true + }, + "then-request": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/then-request/-/then-request-6.0.2.tgz", + "integrity": "sha512-3ZBiG7JvP3wbDzA9iNY5zJQcHL4jn/0BWtXIkagfz7QgOL/LqjCEOBQuJNZfu0XYnv5JhKh+cDxCPM4ILrqruA==", + "requires": { + "@types/concat-stream": "^1.6.0", + "@types/form-data": "0.0.33", + "@types/node": "^8.0.0", + "@types/qs": "^6.2.31", + "caseless": "~0.12.0", + "concat-stream": "^1.6.0", + "form-data": "^2.2.0", + "http-basic": "^8.1.1", + "http-response-object": "^3.0.1", + "promise": "^8.0.0", + "qs": "^6.4.0" + }, + "dependencies": { + "@types/node": { + "version": "8.10.66", + "resolved": "https://registry.npmjs.org/@types/node/-/node-8.10.66.tgz", + "integrity": "sha512-tktOkFUA4kXx2hhhrB8bIFb5TbwzS4uOhKEmwiD+NoiL0qtP2OQ9mFldbgD4dV1djrlBYP6eBuQZiWjuHUpqFw==" + } + } + }, + "tmp": { + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", + "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", + "requires": { + "os-tmpdir": "~1.0.2" + } + }, + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "requires": { + "is-number": "^7.0.0" + } + }, + "toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==" + }, + "tough-cookie": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", + "requires": { + "psl": "^1.1.28", + "punycode": "^2.1.1" + } + }, + "tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=", + "dev": true + }, + "true-case-path": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/true-case-path/-/true-case-path-2.2.1.tgz", + "integrity": "sha512-0z3j8R7MCjy10kc/g+qg7Ln3alJTodw9aDuVWZa3uiWqfuBMKeAeP2ocWcxoyM3D73yz3Jt/Pu4qPr4wHSdB/Q==" + }, + "ts-essentials": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/ts-essentials/-/ts-essentials-1.0.4.tgz", + "integrity": "sha512-q3N1xS4vZpRouhYHDPwO0bDW3EZ6SK9CrrDHxi/D6BPReSjpVgWIOpLS2o0gSBZm+7q/wyKp6RVM1AeeW7uyfQ==", + "dev": true + }, + "ts-generator": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/ts-generator/-/ts-generator-0.1.1.tgz", + "integrity": "sha512-N+ahhZxTLYu1HNTQetwWcx3so8hcYbkKBHTr4b4/YgObFTIKkOSSsaa+nal12w8mfrJAyzJfETXawbNjSfP2gQ==", + "dev": true, + "requires": { + "@types/mkdirp": "^0.5.2", + "@types/prettier": "^2.1.1", + "@types/resolve": "^0.0.8", + "chalk": "^2.4.1", + "glob": "^7.1.2", + "mkdirp": "^0.5.1", + "prettier": "^2.1.2", + "resolve": "^1.8.1", + "ts-essentials": "^1.0.0" + } + }, + "tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + }, + "tsort": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/tsort/-/tsort-0.0.1.tgz", + "integrity": "sha1-4igPXoF/i/QnVlf9D5rr1E9aJ4Y=" + }, + "tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "requires": { + "safe-buffer": "^5.0.1" + } + }, + "tweetnacl": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.3.tgz", + "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==" + }, + "tweetnacl-util": { + "version": "0.15.1", + "resolved": "https://registry.npmjs.org/tweetnacl-util/-/tweetnacl-util-0.15.1.tgz", + "integrity": "sha512-RKJBIj8lySrShN4w6i/BonWp2Z/uxwC3h4y7xsRrpP59ZboCd0GpEVsOnMDYLMmKBpYhb5TgHzZXy7wTfYFBRw==" + }, + "type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "dev": true + }, + "type-fest": { + "version": "0.21.3", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", + "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==" + }, + "typechain": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/typechain/-/typechain-3.0.0.tgz", + "integrity": "sha512-ft4KVmiN3zH4JUFu2WJBrwfHeDf772Tt2d8bssDTo/YcckKW2D+OwFrHXRC6hJvO3mHjFQTihoMV6fJOi0Hngg==", + "dev": true, + "requires": { + "command-line-args": "^4.0.7", + "debug": "^4.1.1", + "fs-extra": "^7.0.0", + "js-sha3": "^0.8.0", + "lodash": "^4.17.15", + "ts-essentials": "^6.0.3", + "ts-generator": "^0.1.1" + }, + "dependencies": { + "ts-essentials": { + "version": "6.0.7", + "resolved": "https://registry.npmjs.org/ts-essentials/-/ts-essentials-6.0.7.tgz", + "integrity": "sha512-2E4HIIj4tQJlIHuATRHayv0EfMGK3ris/GRk1E3CFnsZzeNV+hUmelbaTZHLtXaZppM5oLhHRtO04gINC4Jusw==", + "dev": true, + "requires": {} + } + } + }, + "typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=" + }, + "typescript": { + "version": "4.6.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.6.3.tgz", + "integrity": "sha512-yNIatDa5iaofVozS/uQJEl3JRWLKKGJKh6Yaiv0GLGSuhpFJe7P3SbHZ8/yjAHRQwKRoA6YZqlfjXWmVzoVSMw==", + "dev": true, + "peer": true + }, + "typical": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/typical/-/typical-2.6.1.tgz", + "integrity": "sha1-XAgOXWYcu+OCWdLnCjxyU+hziB0=", + "dev": true + }, + "unbox-primitive": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz", + "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==", + "requires": { + "function-bind": "^1.1.1", + "has-bigints": "^1.0.1", + "has-symbols": "^1.0.2", + "which-boxed-primitive": "^1.0.2" + } + }, + "undici": { + "version": "4.15.1", + "resolved": "https://registry.npmjs.org/undici/-/undici-4.15.1.tgz", + "integrity": "sha512-h8LJybhMKD09IyQZoQadNtIR/GmugVhTOVREunJrpV6RStriKBFdSVoFzEzTihwXi/27DIBO+Z0OGF+Mzfi0lA==" + }, + "universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==" + }, + "unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=" + }, + "uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "requires": { + "punycode": "^2.1.0" + } + }, + "url": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", + "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=", + "dev": true, + "requires": { + "punycode": "1.3.2", + "querystring": "0.2.0" + }, + "dependencies": { + "punycode": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", + "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=", + "dev": true + } + } + }, + "utf8": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/utf8/-/utf8-3.0.0.tgz", + "integrity": "sha512-E8VjFIQ/TyQgp+TZfS6l8yp/xWppSAHzidGiRrqe4bK4XP9pTRyKFgGJpO3SN7zdX4DeomTrwaseCHovfpFcqQ==", + "dev": true + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + }, + "uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==" + }, + "validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, + "requires": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, + "verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "requires": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "web3-utils": { + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.7.1.tgz", + "integrity": "sha512-fef0EsqMGJUgiHPdX+KN9okVWshbIumyJPmR+btnD1HgvoXijKEkuKBv0OmUqjbeqmLKP2/N9EiXKJel5+E1Dw==", + "dev": true, + "requires": { + "bn.js": "^4.11.9", + "ethereum-bloom-filters": "^1.0.6", + "ethereumjs-util": "^7.1.0", + "ethjs-unit": "0.1.6", + "number-to-bn": "1.7.0", + "randombytes": "^2.1.0", + "utf8": "3.0.0" + } + }, + "webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=", + "dev": true + }, + "whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=", + "dev": true, + "requires": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, + "which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "requires": { + "isexe": "^2.0.0" + } + }, + "which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "requires": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + } + }, + "which-module": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", + "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=" + }, + "wide-align": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", + "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", + "requires": { + "string-width": "^1.0.2 || 2" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=" + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=" + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "requires": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + } + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "requires": { + "ansi-regex": "^3.0.0" + } + } + } + }, + "window-size": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.2.0.tgz", + "integrity": "sha1-tDFbtCFKPXBY6+7okuE/ok2YsHU=", + "dev": true + }, + "workerpool": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.0.tgz", + "integrity": "sha512-Rsk5qQHJ9eowMH28Jwhe8HEbmdYDX4lwoMWshiCXugjtHqMD9ZbiqSDLxcsfdqsETPzVUtX5s1Z5kStiIM6l4A==" + }, + "wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "requires": { + "color-convert": "^2.0.1" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + } + } + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" + }, + "ws": { + "version": "7.4.6", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz", + "integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==", + "requires": {} + }, + "xmlhttprequest": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/xmlhttprequest/-/xmlhttprequest-1.8.0.tgz", + "integrity": "sha1-Z/4HXFwk/vOfnWX197f+dRcZaPw=" + }, + "xtend": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==" + }, + "y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==" + }, + "yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==" + }, + "yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "requires": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + } + }, + "yargs-parser": { + "version": "20.2.4", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", + "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==" + }, + "yargs-unparser": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", + "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", + "requires": { + "camelcase": "^6.0.0", + "decamelize": "^4.0.0", + "flat": "^5.0.2", + "is-plain-obj": "^2.1.0" + } + }, + "yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==" + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 00000000..00e298fc --- /dev/null +++ b/package.json @@ -0,0 +1,19 @@ +{ + "name": "hardhat-project", + "devDependencies": { + "@nomiclabs/hardhat-ethers": "^2.0.5", + "@nomiclabs/hardhat-waffle": "^2.0.3", + "@openzeppelin/hardhat-upgrades": "^1.14.0", + "chai": "^4.3.6", + "ethereum-waffle": "^3.4.0", + "ethers": "^5.5.4", + "hardhat": "^2.8.4", + "mocha": "^9.2.2" + }, + "dependencies": { + "@nomiclabs/hardhat-etherscan": "^3.0.1", + "@openzeppelin/contracts": "^4.5.0", + "hardhat-ethers": "^1.0.1", + "hardhat-gas-reporter": "^1.0.8" + } +} diff --git a/scripts/0_setStorageLive.js b/scripts/0_setStorageLive.js new file mode 100644 index 00000000..e7cca985 --- /dev/null +++ b/scripts/0_setStorageLive.js @@ -0,0 +1,49 @@ +const { ethers } = require("hardhat"); +const { expect } = require("chai"); +const Settings = require("../config/settings.json"); +const dsDeployData = require("../artifacts/contracts/dataStorage.sol/dataStorage.json"); +require("dotenv").config(); + +// Set the storage live and seal the pool. +async function setStorageLive() { + + let networkIndex = Settings.networkIndex; + let admin; + let provider; + + const dsAddress = Settings.dataStorageAddress; + + // LocalHost + if (networkIndex === 0) { + provider = ethers.providers.getDefaultProvider("http://localhost:8545"); + admin = new ethers.Wallet(process.env.HARDHAT_PRIVATE_KEY, provider); + } + + // Ropsten + if (networkIndex === 1) { + provider = new ethers.providers.AlchemyProvider("ropsten", process.env.ALCHEMY_ROPSTEN_KEY) + admin = new ethers.Wallet(process.env.PRIVATE_KEY, provider); + } + + console.log("Setting the storage live with: ", admin.address); + const ds = new ethers.Contract( + dsAddress, + dsDeployData.abi, + admin + ); + + // Set the Pool Settings + await ds.connect(admin).setStorageLive(); + + + console.log("Storage is now live and the contract network is sealed."); +} + + + +setStorageLive() + .then(() => process.exit(0)) + .catch((error) => { + console.error(error); + process.exit(1); + }); \ No newline at end of file diff --git a/scripts/1_settings.js b/scripts/1_settings.js new file mode 100644 index 00000000..68cbe4b5 --- /dev/null +++ b/scripts/1_settings.js @@ -0,0 +1,71 @@ +const { ethers } = require("hardhat"); +const { expect } = require("chai"); +const Settings = require("../config/settings.json"); +const pbDeployData = require("../artifacts/contracts/PoolBase.sol/PoolBase.json"); +require("dotenv").config(); + +// Setup the pool settings. +async function setup() { + + let networkIndex = Settings.networkIndex; + let admin; + let provider; + let pbContract; + + const pbAddress = Settings.poolBaseAddress; + let poolMaxSize = ethers.utils.parseEther(Settings.poolMaxEtherSize); + let rewardsInterval = ethers.BigNumber.from(Settings.rewardsInterval); + let rewardsInterest = ethers.BigNumber.from(Settings.rewardsInterest); + let contrLimit = ethers.utils.parseEther(Settings.contrLimit); + let minContr = ethers.utils.parseEther(Settings.minContr); + + // LocalHost + if (networkIndex === 0) { + provider = ethers.providers.getDefaultProvider("http://localhost:8545"); + admin = new ethers.Wallet(process.env.HARDHAT_PRIVATE_KEY, provider); + } + + // Ropsten + if (networkIndex === 1) { + provider = new ethers.providers.AlchemyProvider("ropsten", process.env.ALCHEMY_ROPSTEN_KEY) + admin = new ethers.Wallet(process.env.PRIVATE_KEY, provider); + } + + console.log("Setting up the pool settings with: ", admin.address); + const pb = new ethers.Contract( + pbAddress, + pbDeployData.abi, + admin + ); + + // Set the Pool Settings + let gasLimit = ethers.BigNumber.from("100000"); // AVG consumption estimated around 50k. Just to be sure... + await pb.connect(admin).setPoolMaxSize(poolMaxSize, {gasLimit: gasLimit}); + await pb.connect(admin).setRewardsInterval(rewardsInterval, {gasLimit: gasLimit}); + await pb.connect(admin).setRewardsInterest(rewardsInterest, {gasLimit: gasLimit}); + await pb.connect(admin).setContributionLimit(contrLimit, {gasLimit: gasLimit}); + await pb.connect(admin).setMinContribution(minContr, {gasLimit: gasLimit}); + + // Check that the settings were applied + let getPoolMaxSize = await pb.getPoolMaxSize(); + let getRewardsInterval = await pb.connect(admin).getRewardsInterval(); + let getRewardsInterest = await pb.connect(admin).getRewardsInterest(); + let getContLimit = await pb.connect(admin).getContributionLimit(); + let getMinContr = await pb.connect(admin).getMinContribution(); + + expect(getPoolMaxSize).to.be.eq(poolMaxSize); + expect(getRewardsInterval).to.be.eq(rewardsInterval); + expect(getRewardsInterest).to.be.eq(rewardsInterest); + expect(getContLimit).to.be.eq(contrLimit); + expect(getMinContr).to.be.eq(minContr); + console.log("All settings were applied successfully."); +} + + + +setup() + .then(() => process.exit(0)) + .catch((error) => { + console.error(error); + process.exit(1); + }); \ No newline at end of file diff --git a/scripts/2_setPoolLive.js b/scripts/2_setPoolLive.js new file mode 100644 index 00000000..070eeaea --- /dev/null +++ b/scripts/2_setPoolLive.js @@ -0,0 +1,54 @@ +const { ethers } = require("hardhat"); +const { expect } = require("chai"); +const Settings = require("../config/settings.json"); +const pbDeployData = require("../artifacts/contracts/PoolBase.sol/PoolBase.json"); +require("dotenv").config(); + +// Sets the pool live and open to new deposits / withdrawals. +async function setLive() { + + let networkIndex = Settings.networkIndex; + let admin; + let provider; + + const pbAddress = Settings.poolBaseAddress; + + // LocalHost + if (networkIndex === 0) { + provider = ethers.providers.getDefaultProvider("http://localhost:8545"); + admin = new ethers.Wallet(process.env.HARDHAT_PRIVATE_KEY, provider); + } + + // Ropsten + if (networkIndex === 1) { + provider = new ethers.providers.AlchemyProvider("ropsten", process.env.ALCHEMY_ROPSTEN_KEY) + admin = new ethers.Wallet(process.env.PRIVATE_KEY, provider); + } + + console.log("Setting the pool Live with: ", admin.address); + + const pb = new ethers.Contract( + pbAddress, + pbDeployData.abi, + admin + ); + + // Set the Pool Live + let gasLimit = ethers.BigNumber.from("100000"); + await pb.connect(admin).setPoolLive(true, {gasLimit: gasLimit}); + + // Check that the settings were applied + let getPoolStatus = await pb.getPoolState(); + + expect(getPoolStatus).to.be.true; + console.log("The pool is now live."); +} + + + +setLive() + .then(() => process.exit(0)) + .catch((error) => { + console.error(error); + process.exit(1); + }); \ No newline at end of file diff --git a/scripts/3_setPoolPaused.js b/scripts/3_setPoolPaused.js new file mode 100644 index 00000000..66140694 --- /dev/null +++ b/scripts/3_setPoolPaused.js @@ -0,0 +1,52 @@ +const { ethers } = require("hardhat"); +const { expect } = require("chai"); +const Settings = require("../config/settings.json"); +const pbDeployData = require("../artifacts/contracts/PoolBase.sol/PoolBase.json"); +require("dotenv").config(); + +// Pauses the pool to enable rewards injection and state variables modification. +async function setPaused() { + + let networkIndex = Settings.networkIndex; + let admin; + let provider; + + const pbAddress = Settings.poolBaseAddress; + + // LocalHost + if (networkIndex === 0) { + provider = ethers.providers.getDefaultProvider("http://localhost:8545"); + admin = new ethers.Wallet(process.env.HARDHAT_PRIVATE_KEY, provider); + } + + // Ropsten + if (networkIndex === 1) { + provider = new ethers.providers.AlchemyProvider("ropsten", process.env.ALCHEMY_ROPSTEN_KEY) + admin = new ethers.Wallet(process.env.PRIVATE_KEY, provider); + } + + console.log("Pausing pool with: ", admin.address); + + const pb = new ethers.Contract( + pbAddress, + pbDeployData.abi, + admin + ); + + // Set the Pool Paused + let gasLimit = ethers.BigNumber.from("100000"); + await pb.connect(admin).setPoolLive(false, {gasLimit: gasLimit}); + + // Check that the settings were applied + let getPoolStatus = await pb.getPoolState(); + + expect(getPoolStatus).to.be.false; + console.log("The pool is now paused."); +} + +setPaused() + .then(() => process.exit(0)) + .catch((error) => { + console.error(error); + process.exit(1); + }); \ No newline at end of file diff --git a/scripts/4_deposit.js b/scripts/4_deposit.js new file mode 100644 index 00000000..c31f688f --- /dev/null +++ b/scripts/4_deposit.js @@ -0,0 +1,66 @@ +const { ethers } = require("hardhat"); +const { expect } = require("chai"); +const Settings = require("../config/settings.json"); +const pcDeployData = require("../artifacts/contracts/PoolClient.sol/PoolClient.json"); +const tbDeployData = require("../artifacts/contracts/TokenBalances.sol/TokenBalances.json"); +require("dotenv").config(); + +// Deposits ether in exchange of rwEther. +async function depositEth() { + + let networkIndex = Settings.networkIndex; + let etherDeposit = "0.2"; + let admin; + let provider; + + const pcAddress = Settings.poolClientAddress; + const tbAddress = Settings.tokenBalancesAddress; + + // LocalHost + if (networkIndex === 0) { + provider = ethers.providers.getDefaultProvider("http://localhost:8545"); + admin = new ethers.Wallet(process.env.HARDHAT_PRIVATE_KEY, provider); + } + + // Ropsten + if (networkIndex === 1) { + provider = new ethers.providers.AlchemyProvider("ropsten", process.env.ALCHEMY_ROPSTEN_KEY) + admin = new ethers.Wallet(process.env.PRIVATE_KEY, provider); + } + + console.log("Staking ether with: ", admin.address); + + const pc = new ethers.Contract( + pcAddress, + pcDeployData.abi, + admin + ); + + const tb = new ethers.Contract( + tbAddress, + tbDeployData.abi, + admin + ); + + // Deposit of the ethers (just for testing the rewards injection script purposes). + let previousStakedEth = await tb.getTotalEtherStaked(); + let etherToDeposit = ethers.utils.parseEther(etherDeposit); + console.log(`Trying to stake ${ethers.utils.formatEther(etherToDeposit)} ether....`); + + let gasLimit = ethers.BigNumber.from("250000"); + let deposit = await pc.connect(admin).deposit({value: etherToDeposit, gasLimit: gasLimit}); + deposit.wait(); + + let currentStakedEth = await tb.getTotalEtherStaked(); + + expect(previousStakedEth.add(etherToDeposit)).to.be.eq(currentStakedEth); + + console.log(`Staked ${ethers.utils.formatEther(etherToDeposit)} ether successfully into the pool.`); +} + +depositEth() + .then(() => process.exit(0)) + .catch((error) => { + console.error(error); + process.exit(1); + }); \ No newline at end of file diff --git a/scripts/5_injectRewards.js b/scripts/5_injectRewards.js new file mode 100644 index 00000000..d238c5fa --- /dev/null +++ b/scripts/5_injectRewards.js @@ -0,0 +1,84 @@ +const { ethers } = require("hardhat"); +const { expect } = require("chai"); +const Settings = require("../config/settings.json"); +const pcDeployData = require("../artifacts/contracts/PoolClient.sol/PoolClient.json"); +const tbDeployData = require("../artifacts/contracts/TokenBalances.sol/TokenBalances.json"); +const pbDeployData = require("../artifacts/contracts/PoolBase.sol/PoolBase.json"); +require("dotenv").config(); + +// Injects rewards. +async function injectRewards() { + + let networkIndex = Settings.networkIndex; + let admin; + let provider; + + const pcAddress = Settings.poolClientAddress; + const tbAddress = Settings.tokenBalancesAddress; + const pbAddress = Settings.poolBaseAddress; + + // LocalHost + if (networkIndex === 0) { + provider = ethers.providers.getDefaultProvider("http://localhost:8545"); + admin = new ethers.Wallet(process.env.HARDHAT_PRIVATE_KEY, provider); + } + + // Ropsten + if (networkIndex === 1) { + provider = new ethers.providers.AlchemyProvider("ropsten", process.env.ALCHEMY_ROPSTEN_KEY) + admin = new ethers.Wallet(process.env.PRIVATE_KEY, provider); + } + + console.log("Injecting rewards with: ", admin.address); + + const pc = new ethers.Contract( + pcAddress, + pcDeployData.abi, + admin + ); + + const tb = new ethers.Contract( + tbAddress, + tbDeployData.abi, + admin + ); + + const pb = new ethers.Contract( + pbAddress, + pbDeployData.abi, + admin + ); + + // if the pool is live, it needs to be set as paused. + let getPoolStatus = await pb.getPoolState(); + if (getPoolStatus) { + await pb.connect(admin).setPoolLive(false); + } + + // Calculating the rewards to inject + await pc.connect(admin).calculateRewards(); + let calculatedRew = await pc.getRewardsToInject(); + console.log(`${ethers.utils.formatEther(calculatedRew)} ether to be injected.`); + + // Calculate the rewards injected so far + let previousInjetions = await tb.getTotalRewardsInjected(); + + // Inject the rewards + await pc.connect(admin).rewardsInjector({value: calculatedRew}); + + // Check that the actions were applied + let currentInjection = await tb.getTotalRewardsInjected(); + + expect(previousInjetions.add(calculatedRew)).to.be.eq(currentInjection); + calculatedRew = ethers.utils.formatEther(calculatedRew); + let currentPoolSize = ethers.utils.formatEther(await tb.getTotalEtherStaked()); + console.log(`Injected ${calculatedRew} ether successfully into the pool.`); + console.log(`The pool currently has ${currentPoolSize} ether locked.`); +} + +injectRewards() + .then(() => process.exit(0)) + .catch((error) => { + console.error(error); + process.exit(1); + }); \ No newline at end of file diff --git a/scripts/6_getEtherLocked.js b/scripts/6_getEtherLocked.js new file mode 100644 index 00000000..7628d0e3 --- /dev/null +++ b/scripts/6_getEtherLocked.js @@ -0,0 +1,60 @@ +const { ethers } = require("hardhat"); +const { expect } = require("chai"); +const Settings = require("../config/settings.json"); + +const tbDeployData = require("../artifacts/contracts/TokenBalances.sol/TokenBalances.json"); +const pvDeployData = require("../artifacts/contracts/PoolVault.sol/PoolVault.json"); +require("dotenv").config(); + +// Get the current Pool Balance. +async function getPoolBalance() { + + let networkIndex = Settings.networkIndex; + let admin; + let provider; + + const tbAddress = Settings.tokenBalancesAddress; + const pvAddress = Settings.poolVaultAddress; + + // LocalHost + if (networkIndex === 0) { + provider = ethers.providers.getDefaultProvider("http://localhost:8545"); + admin = new ethers.Wallet(process.env.HARDHAT_PRIVATE_KEY, provider); + } + + // Ropsten + if (networkIndex === 1) { + provider = new ethers.providers.AlchemyProvider("ropsten", process.env.ALCHEMY_ROPSTEN_KEY) + admin = new ethers.Wallet(process.env.PRIVATE_KEY, provider); + } + + console.log("Querying the current staking pool balance..."); + + tb = new ethers.Contract( + tbAddress, + tbDeployData.abi, + admin + ); + + pv = new ethers.Contract( + pvAddress, + pvDeployData.abi, + admin + ); + + // Querying both the state variable of the pool and the data directly from the provider (must be the same). + let getContractBalance = await provider.getBalance(pvAddress); + let stakedBalance = await tb.getTotalEtherStaked(); + + // Checking that both state variables get the same value. + expect(getContractBalance).to.be.eq(stakedBalance); + getContractBalance = ethers.utils.formatEther(getContractBalance); + console.log(`The staking pool currently has a balance of ${getContractBalance} ether.`); +} + +getPoolBalance() + .then(() => process.exit(0)) + .catch((error) => { + console.error(error); + process.exit(1); + }); \ No newline at end of file diff --git a/scripts/99_evm_increaseTime.js b/scripts/99_evm_increaseTime.js new file mode 100644 index 00000000..c9f7bbfd --- /dev/null +++ b/scripts/99_evm_increaseTime.js @@ -0,0 +1,28 @@ +const { ethers } = require("hardhat"); + +const Settings = require("../config/settings.json"); +require("dotenv").config(); + +// Injects rewards. +async function increaseTime() { + + let networkIndex = Settings.networkIndex; + let provider; + let daysToIncrease = 7; + + // LocalHost + if (networkIndex === 0) { + provider = ethers.providers.getDefaultProvider("http://localhost:8545"); + } + + console.log(`Increasing ${daysToIncrease} days on the hardhat node`); + await ethers.provider.send("evm_increaseTime", [daysToIncrease * 24 * 60 * 60]); + +} + +increaseTime() + .then(() => process.exit(0)) + .catch((error) => { + console.error(error); + process.exit(1); + }); \ No newline at end of file diff --git a/scripts/deploy.js b/scripts/deploy.js new file mode 100644 index 00000000..25f4edd0 --- /dev/null +++ b/scripts/deploy.js @@ -0,0 +1,55 @@ +const { ethers } = require("hardhat"); + +async function main() { + const [deployer] = await ethers.getSigners(); + + console.log("Deploying contracts with the account:", deployer.address); + let deployerBalance = ethers.utils.formatEther(await deployer.getBalance()); + + console.log(`Account balance: ${deployerBalance} ETH`); + + const DS = await ethers.getContractFactory("DataStorage"); + const ds = await DS.deploy(); + await ds.deployed(); + + // Deploying TokenBalances Contract (tb): + const TB = await ethers.getContractFactory("TokenBalances"); + const tb = await TB.deploy(ds.address); + await tb.deployed(); + + // Deploying rwETHToken Contract (rwETH): + const rwETH = await ethers.getContractFactory("rwETHToken"); + const rweth = await rwETH.deploy(ds.address); + await rweth.deployed(); + + // Deploying PoolVault Contract (pv): + const PV = await ethers.getContractFactory("PoolVault"); + const pv = await PV.deploy(ds.address); + await pv.deployed(); + + + // Deploying PoolClient Contract (pc): + const PC = await ethers.getContractFactory("PoolClient"); + const pc = await PC.deploy(ds.address); + await pc.deployed(); + + // Deploying PoolBase Contract (pb): + const PB = await ethers.getContractFactory("PoolBase"); + const pb = await PB.deploy(ds.address); + await pb.deployed(); + + contracts = [ds, pb, tb, rweth, pv, pc]; + contractNames = ["DataStorage", "PoolBase", "TokenBalances", "rwETHToken", "PoolVault", "PoolClient"]; + + for (let index = 0; index < contracts.length; index++) { + console.log(`${contractNames[index]} deployed with address: `, contracts[index].address); + } + +} + +main() + .then(() => process.exit(0)) + .catch((error) => { + console.error(error); + process.exit(1); + }); \ No newline at end of file diff --git a/test/poolTests.js b/test/poolTests.js new file mode 100644 index 00000000..2515194e --- /dev/null +++ b/test/poolTests.js @@ -0,0 +1,550 @@ +const { expect, assert } = require("chai"); +const { ethers } = require("hardhat"); + +describe("Staking Pool Network", function () { + // Environmental variables to be used among the tests. + let provider; + let contracts, contractsAddresses; + let contractNames; + let walletAccounts, walletAddresses; + + let poolMaxSize; + let rewardsInterval; + let rewardsInterest; + let contrLimit; + let minContr; + + beforeEach(async() => { + + [admin, userA, userB, nonUser, manager] = await ethers.getSigners(); + provider = ethers.providers.getDefaultProvider("http://localhost:8545"); + + walletAccounts = [admin, userA, userB, nonUser, manager]; + walletAddresses = await Promise.all(walletAccounts.map(async(item) => { + return await item.getAddress(); + })); + + // Contract deployments. + // Deploying DataStorage Contract (ds) + DS = await ethers.getContractFactory("DataStorage"); + ds = await DS.deploy(); + await ds.deployed(); + + // Deploying TokenBalances Contract (tb): + TB = await ethers.getContractFactory("TokenBalances"); + tb = await TB.deploy(ds.address); + await tb.deployed(); + + // Deploying rwETHToken Contract (rwETH): + rwETH = await ethers.getContractFactory("rwETHToken"); + rweth = await rwETH.deploy(ds.address); + await rweth.deployed(); + + // Deploying PoolVault Contract (pv): + PV = await ethers.getContractFactory("PoolVault"); + pv = await PV.deploy(ds.address); + await pv.deployed(); + + // Deploying PoolClient Contract (pc): + PC = await ethers.getContractFactory("PoolClient"); + pc = await PC.deploy(ds.address); + await pc.deployed(); + + // Deploying PoolBase Contract (pb): + PB = await ethers.getContractFactory("PoolBase"); + pb = await PB.deploy(ds.address); + await pb.deployed(); + + contracts = [ds, pb, tb, rweth, pv, pc]; + contractsAddresses = (contracts.map((item) => {return item.address;})); + contractNames = ["DataStorage", "PoolBase", "TokenBalances", "rwETHToken", "PoolVault", "PoolClient"]; + + // console.log("DataStorage Deployed to: ", ds.address); + // console.log("PoolBase Deployed to: ", pb.address); + // console.log("TokenBalances Deployed to: ", tb.address); + // console.log("rwETHToken Deployed to: ", rweth.address); + // console.log("PoolVault Deployed to: ", pv.address); + // console.log("PoolClient Deployed to: ", pc.address); + }); + + describe("Contract Addresses & Existances", function () { + + it("Should have stored each contract address & existance on DataStorage", async function () { + for (let index = 0; index < contracts.length; index++) { + // console.log(contractNames[index], contractsAddresses[index]); + // solidityKeccak256 condenses the keccak256 + abi.encodePacked implementation of Solidity. + let boolStorageTag = ethers.utils.solidityKeccak256(["string", "address"], ["contract_exists", contractsAddresses[index]]); + let addressStorageTag = ethers.utils.solidityKeccak256(["string", "string"], ["contract_address", contractNames[index]]); + + expect(await ds.getBoolStorage(boolStorageTag)).to.be.true; + expect(await ds.getAddressStorage(addressStorageTag)).to.be.eq(contractsAddresses[index]); + } + }); + }); + + describe("DataStorage Contract", function () { + + it("Should allow only the guardian (admin) to set the storage live", async function () { + for (let index = 1; index < walletAccounts.length; index++) { + expect(ds.connect(walletAccounts[index]).setStorageLive()).to.be.reverted; + } + await ds.connect(admin).setStorageLive(); + expect(await ds.getStorageStatus()).to.be.true; + }); + + it("Should allow just the pool contracts to set values once the storage is live", async function () { + await ds.connect(admin).setStorageLive(); + // Testing arbitrary tags and values. The goal is to get the call reverted. + let arbitraryTag = ethers.utils.solidityKeccak256(["string", "string"], ["arbitrary", "tag"]); + let arbitraryVal = ethers.BigNumber.from("15"); + for (let index = 0; index < walletAccounts.length; index++) { + expect(ds.connect(walletAccounts[index]).setUintStorage(arbitraryTag, arbitraryVal)).to.be.revertedWith("The contract address or sender is invalid."); + expect(ds.connect(walletAccounts[index]).increaseUintStorage(arbitraryTag, 1)).to.be.revertedWith("The contract address or sender is invalid."); + expect(ds.connect(walletAccounts[index]).decreaseUintStorage(arbitraryTag, 1)).to.be.revertedWith("The contract address or sender is invalid."); + expect(ds.connect(walletAccounts[index]).setBoolStorage(arbitraryTag, true)).to.be.revertedWith("The contract address or sender is invalid."); + expect(ds.connect(walletAccounts[index]).setAddressStorage(arbitraryTag, walletAddresses[0])).to.be.revertedWith("The contract address or sender is invalid."); + + expect(ds.connect(walletAccounts[index]).deleteUintStorage(arbitraryTag)).to.be.revertedWith("The contract address or sender is invalid."); + expect(ds.connect(walletAccounts[index]).deleteBoolStorage(arbitraryTag)).to.be.revertedWith("The contract address or sender is invalid."); + expect(ds.connect(walletAccounts[index]).deleteAddressStorage(arbitraryTag)).to.be.revertedWith("The contract address or sender is invalid."); + } + // Test via the built-in functions that retrieve data from DataStorage. Testing each variable type container. + // PoolBase: Set variables to test that differ with the default values. + poolMaxSize = ethers.utils.parseEther("1000"); + await pb.connect(admin).setPoolMaxSize(poolMaxSize); + await pb.connect(admin).setPoolLive(true); + expect(await pb.getPoolBaseAddress()).to.be.eq(contractsAddresses[1]); + expect(await pb.getPoolState()).to.be.true; + expect(await pb.getPoolMaxSize()).to.be.eq(poolMaxSize); + // PoolClient: Call a getter. Checking non reversal. + expect(await pc.connect(admin).getRewardsToInject()).to.be.eq(0); + expect(await pc.getPoolClientAddress()).to.be.eq(contractsAddresses[5]); + // PoolVault: Call a getter. Checking non reversal. + expect(await pv.poolEtherSize()).to.be.eq(0); + expect(await pv.getPoolVaultAddress()).to.be.eq(contractsAddresses[4]); + // rwETHToken : Call a getter. Checking non reversal. + expect(await rweth.getRwETHTokenAddress()).to.be.eq(contractsAddresses[3]); + // TokenBalances : Call a getter. Checking non reversal. + expect(await tb.getTokenBalancesAddress()).to.be.eq(contractsAddresses[2]); + expect(await tb.getTotalEtherStaked()).to.be.eq(0); + }); + + }); + + describe("PoolBase Contract", function () { + + beforeEach(async () => { + // Set the contract network. Allow only network contracts to communicate each other. + await ds.connect(admin).setStorageLive(); + expect(await ds.getStorageStatus()).to.be.true; + }) + + describe("Setting Environmental Variables", function () { + + it("Should allow only the Admin on first place to setup the settings of the pool", async function () { + // Set base pool variables to test other behaviors. + poolMaxSize = ethers.utils.parseEther("1000"); + rewardsInterval = ethers.BigNumber.from("7"); // (days) + rewardsInterest = ethers.BigNumber.from("1000"); + contrLimit = ethers.utils.parseEther("5"); + minContr = ethers.utils.parseEther("0.1"); + + + expect(pb.connect(nonUser).setPoolMaxSize(poolMaxSize)).to.be.reverted; + expect(pb.connect(nonUser).setRewardsInterval(rewardsInterval)).to.be.reverted; + expect(pb.connect(nonUser).setRewardsInterest(rewardsInterest)).to.be.reverted; + expect(pb.connect(nonUser).setContributionLimit(contrLimit)).to.be.reverted; + expect(pb.connect(nonUser).setMinContribution(minContr)).to.be.reverted; + + await pb.connect(admin).setPoolMaxSize(poolMaxSize); + await pb.connect(admin).setRewardsInterval(rewardsInterval); + await pb.connect(admin).setRewardsInterest(rewardsInterest); + await pb.connect(admin).setContributionLimit(contrLimit); + await pb.connect(admin).setMinContribution(minContr); + + expect(await pb.getPoolMaxSize()).to.be.eq(poolMaxSize); + expect(await pb.getRewardsInterval()).to.be.eq(rewardsInterval); + expect(await pb.getRewardsInterest()).to.be.eq(rewardsInterest); + expect(await pb.getContributionLimit()).to.be.eq(contrLimit); + expect(await pb.getMinContribution()).to.be.eq(minContr); + + }); + + it("Should allow the Admin to add and remove Managers", async function () { + //Expecting reversion for all nonAdmin users while granting role. + for (let index = 1; index < walletAccounts.length; index++) { + for (let subIndex = 1; subIndex <= walletAccounts.length; subIndex++) { + expect(pb.connect(walletAccounts[index]).addPoolManager(walletAddresses[subIndex])).to.be.reverted; + } + } + let poolManagerRole = await pb.POOL_MANAGER(); + await pb.connect(admin).addPoolManager(walletAddresses[4]); + expect(await pb.hasRole(poolManagerRole, walletAddresses[4])).to.be.true; + + await pb.connect(admin).removePoolManager(walletAddresses[4]); + expect(await pb.hasRole(poolManagerRole, walletAddresses[4])).to.be.false; + }); + + it("Should allow Managers to setup the settings of the pool", async function () { + // Set base pool variables to test other behaviors. + poolMaxSize = ethers.utils.parseEther("1000"); + rewardsInterval = ethers.BigNumber.from("7"); // (days) + rewardsInterest = ethers.BigNumber.from("1000"); + contrLimit = ethers.utils.parseEther("5"); + minContr = ethers.utils.parseEther("0.1"); + + let poolManagerRole = await pb.POOL_MANAGER(); + await pb.connect(admin).addPoolManager(walletAddresses[4]); + expect(await pb.hasRole(poolManagerRole, walletAddresses[4])).to.be.true; + + await pb.connect(manager).setPoolMaxSize(poolMaxSize); + await pb.connect(manager).setRewardsInterval(rewardsInterval); + await pb.connect(manager).setRewardsInterest(rewardsInterest); + await pb.connect(manager).setContributionLimit(contrLimit); + await pb.connect(manager).setMinContribution(minContr); + + expect(await pb.getPoolMaxSize()).to.be.eq(poolMaxSize); + expect(await pb.getRewardsInterval()).to.be.eq(rewardsInterval); + expect(await pb.getRewardsInterest()).to.be.eq(rewardsInterest); + expect(await pb.getContributionLimit()).to.be.eq(contrLimit); + expect(await pb.getMinContribution()).to.be.eq(minContr); + }); + + }); + + + }); + + describe("Staking, Unstaking, rwETH Token and PoolVault Interactions", function () { + let arbitratyDeposit; + + beforeEach(async () =>{ + // Set base pool variables to test other behaviors. + poolMaxSize = ethers.utils.parseEther("1000"); + rewardsInterval = ethers.BigNumber.from("7"); // (days) + rewardsInterest = ethers.BigNumber.from("1000"); + contrLimit = ethers.utils.parseEther("5"); + minContr = ethers.utils.parseEther("0.1"); + + // Set the contract network. Allow only network contracts to communicate each other. + await ds.connect(admin).setStorageLive(); + expect(await ds.getStorageStatus()).to.be.true; + }); + + it("Deposit should revert if the depositCompliance is not satisfied", async function () { + arbitratyDeposit = ethers.utils.parseEther("0.5"); + + rewardsInterval = ethers.BigNumber.from("7"); // (days) + rewardsInterest = ethers.BigNumber.from("1000"); + contrLimit = ethers.utils.parseEther("0.4"); + minContr = ethers.utils.parseEther("0.6"); + + poolMaxSize = ethers.utils.parseEther("0.4"); + + // Reversals: + // Days Interval + expect(pc.connect(userA).deposit({value: arbitratyDeposit})).to.be.revertedWith("The team needs to set a reward interval."); + await pb.connect(admin).setRewardsInterval(rewardsInterval); + + // Rewards Ratio + expect(pc.connect(userA).deposit({value: arbitratyDeposit})).to.be.revertedWith("The team needs to set a reward ratio."); + await pb.connect(admin).setRewardsInterest(rewardsInterest); + + // Contribution Limit Set + expect(pc.connect(userA).deposit({value: arbitratyDeposit})).to.be.revertedWith("The team needs to set a contribution limit."); + await pb.connect(admin).setContributionLimit(contrLimit); + + // Contribution Limit Excess + expect(pc.connect(userA).deposit({value: arbitratyDeposit})).to.be.revertedWith("Max. current contribution limit exceeded."); + let newLimit = ethers.utils.parseEther("10"); + await pb.connect(admin).setContributionLimit(newLimit); + + // Min Contr. Limit + await pb.connect(admin).setMinContribution(minContr); + expect(pc.connect(userA).deposit({value: arbitratyDeposit})).to.be.revertedWith("Value to deposit needs to be higher than the current minimum contribution limit."); + let newMin = ethers.utils.parseEther("0.1"); + await pb.connect(admin).setMinContribution(newMin); + + // Max. Pool Size + await pb.connect(admin).setPoolMaxSize(poolMaxSize); + expect(pc.connect(userA).deposit({value: arbitratyDeposit})).to.be.revertedWith("Max. Pool size overflow with that amount of deposit."); + let newPoolSize = ethers.utils.parseEther("100"); + await pb.connect(admin).setPoolMaxSize(newPoolSize); + + // Pause + expect(pc.connect(userA).deposit({value: arbitratyDeposit})).to.be.revertedWith("The pool is currently paused"); + await pb.connect(admin).setPoolLive(true); + + // Check that the ETH balance deducts from UserA (just checking that the call goes through the modifier). + // This estimation does not consider the gas spent (thus the rounding). + arbitratyDeposit = ethers.utils.parseEther("1"); + let userAInitialBalance = ethers.utils.formatEther(await provider.getBalance(walletAddresses[1])); + userAInitialBalance = Math.round(Number(userAInitialBalance)); + + let formatedDeposit = ethers.utils.formatEther(arbitratyDeposit); + formatedDeposit = Math.round(Number(formatedDeposit)); + + await pc.connect(userA).deposit({value: arbitratyDeposit}); + + let userAFinalBalance = ethers.utils.formatEther(await provider.getBalance(walletAddresses[1])); + userAFinalBalance = Math.round(Number(userAFinalBalance)); + + expect((userAInitialBalance-formatedDeposit)).to.be.eq(userAFinalBalance); + }); + + it("Should mint 1:1 rwETH on first deposit", async function () { + await pb.connect(admin).setPoolMaxSize(poolMaxSize); + await pb.connect(admin).setRewardsInterval(rewardsInterval); + await pb.connect(admin).setRewardsInterest(rewardsInterest); + await pb.connect(admin).setContributionLimit(contrLimit); + await pb.connect(admin).setMinContribution(minContr); + await pb.connect(admin).setPoolLive(true); + + // Pool Empty (1:1 exchange rate). + arbitratyDeposit = ethers.utils.parseEther("1"); + await pc.connect(walletAccounts[1]).deposit({value: arbitratyDeposit}); + expect(await rweth.balanceOf(walletAddresses[1])).to.be.eq(arbitratyDeposit) + }); + + it("Should allow only the team to calculate and inject rewards", async function () { + await pb.connect(admin).setPoolMaxSize(poolMaxSize); + await pb.connect(admin).setRewardsInterval(rewardsInterval); + await pb.connect(admin).setRewardsInterest(rewardsInterest); + await pb.connect(admin).setContributionLimit(contrLimit); + await pb.connect(admin).setMinContribution(minContr); + await pb.connect(admin).setPoolLive(true); + + // Pool Empty (1:1 exchange rate). Generate a pool balance of 1 ether. UserA deposits. + arbitratyDeposit = ethers.utils.parseEther("1"); + await pc.connect(walletAccounts[1]).deposit({value: arbitratyDeposit}); + expect(await rweth.balanceOf(walletAddresses[1])).to.be.eq(arbitratyDeposit) + + // The team injects rewards and then userB comes to invest. + // Adding Manager + let poolManagerRole = await pb.POOL_MANAGER(); + await pc.connect(admin).addPoolManager(walletAddresses[4]); + await pb.connect(admin).addPoolManager(walletAddresses[4]); + assert.isTrue(await pc.hasRole(poolManagerRole, walletAddresses[4]) , "Caller lacks manager permissions"); + + // Checking non-team reversal (admin, first array item; manager, last one). + for (let index = 1; index < walletAccounts.length-1; index++) { + expect(pc.connect(walletAccounts[index]).calculateRewards()).to.be.reverted; + } + + expect(pc.connect(walletAccounts[4]).calculateRewards()).to.be.revertedWith("The pool is currently live."); + await pb.connect(walletAccounts[4]).setPoolLive(false); + + // Checking the rewards calculus + await pc.connect(walletAccounts[4]).calculateRewards(); + let rewardsToInject = await pc.connect(walletAccounts[4]).getRewardsToInject(); + let etherStaked = await tb.getTotalEtherStaked(); + let decimals = (ethers.BigNumber.from("10")).pow(6) + let rewardsCalculated = etherStaked.mul(rewardsInterest).div(decimals); + expect(rewardsToInject).to.be.eq(rewardsCalculated); + + // Testing injection reversal + await pb.connect(walletAccounts[4]).setPoolLive(true); + expect(pc.connect(walletAccounts[4]).rewardsInjector({value: rewardsToInject})).to.be.revertedWith("The pool is currently live."); + await pb.connect(walletAccounts[4]).setPoolLive(false); + expect(pc.connect(walletAccounts[4]).rewardsInjector({value: 1})).to.be.revertedWith("Invalid ether interest injected."); + + // Inject Rewards + await pc.connect(walletAccounts[4]).rewardsInjector({value: rewardsToInject}); + // Check total_ether_staked Storage State + // Tokenflow: User --> PoolClient --> PoolVault + etherStaked = await tb.getTotalEtherStaked(); + let vaultBalance = await provider.getBalance(contractsAddresses[4]); // Balance of PoolVault + let clientBalance = await provider.getBalance(contractsAddresses[5]); // Balance of PoolClient + expect(arbitratyDeposit.add(rewardsToInject)).to.be.eq(etherStaked); + expect(arbitratyDeposit.add(rewardsToInject)).to.be.eq(vaultBalance); + expect(0).to.be.eq(clientBalance); + + }); + + it("Should reprice rwETH on deposit after rewards injection", async function () { + await pb.connect(admin).setPoolMaxSize(poolMaxSize); + await pb.connect(admin).setRewardsInterval(rewardsInterval); + await pb.connect(admin).setRewardsInterest(rewardsInterest); + await pb.connect(admin).setContributionLimit(contrLimit); + await pb.connect(admin).setMinContribution(minContr); + await pb.connect(admin).setPoolLive(true); + + // Pool Empty (1:1 exchange rate). Generate a pool balance of 1 ether. UserA deposits. + arbitratyDeposit = ethers.utils.parseEther("1"); + await pc.connect(walletAccounts[1]).deposit({value: arbitratyDeposit}); + + // The team injects rewards and then userB comes to invest. + // Adding Manager + let poolManagerRole = await pb.POOL_MANAGER(); + await pc.connect(admin).addPoolManager(walletAddresses[4]); + await pb.connect(admin).addPoolManager(walletAddresses[4]); + await pb.connect(walletAccounts[4]).setPoolLive(false); + + // Checking the rewards calculus + await pc.connect(walletAccounts[4]).calculateRewards(); + let rewardsToInject = await pc.connect(walletAccounts[4]).getRewardsToInject(); + let etherStaked = await tb.getTotalEtherStaked(); + let decimals = (ethers.BigNumber.from("10")).pow(6) + let rewardsCalculated = etherStaked.mul(rewardsInterest).div(decimals); + expect(rewardsToInject).to.be.eq(rewardsCalculated); + + // Inject Rewards + await pc.connect(walletAccounts[4]).rewardsInjector({value: rewardsToInject}); + + /* + Once the rewards are injected, the repricing system starts to work when userB deposits. + With the repricing, the time on which each user deposits and withdraws depends + on the exchange rate of the reward token. Thus, if the user B wants to deposit and withdraw + at this moment, he will only lose gas fees and no interests will be perceived. + */ + await pb.connect(walletAccounts[4]).setPoolLive(true); + arbitratyDeposit = ethers.utils.parseEther("2"); // + await pc.connect(walletAccounts[2]).deposit({value: arbitratyDeposit}); + // expect(await rweth.balanceOf(walletAddresses[2])).to.be.eq(arbitratyDeposit) // This wont work because there is no 1:1 ex rate anymore, + let rwCalculated = await rweth.calcRwEthValue(arbitratyDeposit); + expect(await rweth.balanceOf(walletAddresses[2])).to.be.eq(rwCalculated); + }); + + it("Should allow each user to withdraw their funds and interests (if applies)", async function () { + await pb.connect(admin).setPoolMaxSize(poolMaxSize); + await pb.connect(admin).setRewardsInterval(rewardsInterval); + await pb.connect(admin).setRewardsInterest(rewardsInterest); + await pb.connect(admin).setContributionLimit(contrLimit); + await pb.connect(admin).setMinContribution(minContr); + await pb.connect(admin).setPoolLive(true); + + // Fill the pool with deposits. + let userADeposit = ethers.utils.parseEther("1"); + let userBDeposit = ethers.utils.parseEther("3"); + await pc.connect(walletAccounts[1]).deposit({value: userADeposit}); + await pc.connect(walletAccounts[2]).deposit({value: userBDeposit}); + + // Inject interests. + await pb.connect(walletAccounts[0]).setPoolLive(false); + await pc.connect(walletAccounts[0]).calculateRewards(); + let rewardsToInject = await pc.connect(walletAccounts[0]).getRewardsToInject(); + await pc.connect(walletAccounts[0]).rewardsInjector({value: rewardsToInject}); + + await pb.connect(walletAccounts[0]).setPoolLive(true); + + // UserA invests again (gets repriced rwEth back). + let initialABalance = await rweth.balanceOf(walletAddresses[1]); + userADeposit = ethers.utils.parseEther("2"); + await pc.connect(walletAccounts[1]).deposit({value: userADeposit}); + let finalABalance = await rweth.balanceOf(walletAddresses[1]); + let rwCalculated = await rweth.calcRwEthValue(userADeposit); + expect(finalABalance.sub(initialABalance)).to.be.eq(rwCalculated); // UserA already had a rewardETH balance from before. + + // UserB withdraws ether and their interests (due to repricing). + let hugeAmount = ethers.utils.parseEther("100"); + expect(pc.connect(walletAccounts[2]).withdraw(hugeAmount)).to.be.revertedWith("You don't have that amount of tokens on your account."); + + let initialBalance, totalRwSupply0, contractRwSupplyControl0, userEtherBal0; + let etherWithdawal, calcFinalEthBal; + let finalBalance, totalRwSupply1, contractRwSupplyControl1, userEtherBal1; + + // Process withdawals of every user that invested. + for (let index = 1; index <= 2; index++) { + // initial states + initialBalance = await rweth.balanceOf(walletAddresses[index]); + totalRwSupply0 = await rweth.totalSupply(); + contractRwSupplyControl0 = await tb.getTotalrwEthSupply(); + userEtherBal0 = await provider.getBalance(walletAddresses[index]); + + // Calculate the amount of ether that the UserB will get back. Gas fees are rounded. + etherWithdawal = await rweth.calcEthValue(initialBalance); + calcFinalEthBal = ethers.utils.formatEther((userEtherBal0.add(etherWithdawal))); + calcFinalEthBal = Math.round(calcFinalEthBal); + + expect(pc.connect(walletAccounts[index]).withdraw(initialBalance)).to.be.revertedWith("Reverted: Client lacks allowance to perform this action."); + // User provides Allowance (e.g via Dapp) to PoolClient to transfer his tokens. + await rweth.connect(walletAccounts[index]).approve(contractsAddresses[5], initialBalance); + await pc.connect(walletAccounts[index]).withdraw(initialBalance); + + // final states + finalBalance = await rweth.balanceOf(walletAddresses[index]); + totalRwSupply1 = await rweth.totalSupply(); + contractRwSupplyControl1 = await tb.getTotalrwEthSupply(); + userEtherBal1 = ethers.utils.formatEther(await provider.getBalance(walletAddresses[index])); + userEtherBal1 = Math.round(userEtherBal1); + + // Try to withdraw again (Checking reversals if the user decides to call the function again...) + await rweth.connect(walletAccounts[index]).approve(contractsAddresses[5], initialBalance); // Making a token-amount reversal instead of an allowance one. + expect(pc.connect(walletAccounts[index]).withdraw(initialBalance)).to.be.revertedWith("You don't have that amount of tokens on your account."); + + expect(finalBalance).to.be.eq(0); + expect(totalRwSupply0.sub(totalRwSupply1)).to.be.eq(initialBalance); + expect(contractRwSupplyControl0.sub(contractRwSupplyControl1)).to.be.eq(initialBalance); + expect(userEtherBal1).to.be.eq(calcFinalEthBal); + } + + }); + + it("Should allow a nonUser to recieve rwEth from userB and withdraw ether", async function () { + await pb.connect(admin).setPoolMaxSize(poolMaxSize); + await pb.connect(admin).setRewardsInterval(rewardsInterval); + await pb.connect(admin).setRewardsInterest(rewardsInterest); + await pb.connect(admin).setContributionLimit(contrLimit); + await pb.connect(admin).setMinContribution(minContr); + await pb.connect(admin).setPoolLive(true); + + // Fill the pool with deposits. + let userADeposit = ethers.utils.parseEther("1"); + let userBDeposit = ethers.utils.parseEther("3"); + await pc.connect(walletAccounts[1]).deposit({value: userADeposit}); + await pc.connect(walletAccounts[2]).deposit({value: userBDeposit}); + + // Inject interests. + await pb.connect(walletAccounts[0]).setPoolLive(false); + await pc.connect(walletAccounts[0]).calculateRewards(); + let rewardsToInject = await pc.connect(walletAccounts[0]).getRewardsToInject(); + await pc.connect(walletAccounts[0]).rewardsInjector({value: rewardsToInject}); + await pb.connect(walletAccounts[0]).setPoolLive(true); + + // User B transfers some rwEther to nonUser + let initB = await rweth.balanceOf(walletAddresses[2]); + let initC = await rweth.balanceOf(walletAddresses[3]); + let userBTransfer = ethers.utils.parseEther("1"); + + await rweth.connect(walletAccounts[2]).transfer(walletAddresses[3], userBTransfer); //Returns true if the txn goes through. + + let finalB = await rweth.balanceOf(walletAddresses[2]); + let finalC = await rweth.balanceOf(walletAddresses[3]); + + expect(finalC.sub(userBTransfer)).to.be.eq(initC); + expect(finalB.add(userBTransfer)).to.be.eq(initB); + + // Checking 3 status while checking out + // initial states + let initialBalance = await rweth.balanceOf(walletAddresses[3]); + let totalRwSupply0 = await rweth.totalSupply(); + let contractRwSupplyControl0 = await tb.getTotalrwEthSupply(); + let userEtherBal0 = await provider.getBalance(walletAddresses[3]); + + // Calculate the amount of ether that the UserB will get back. Gas fees are rounded. + let etherWithdawal = await rweth.calcEthValue(initialBalance); + let calcFinalEthBal = ethers.utils.formatEther((userEtherBal0.add(etherWithdawal))); + calcFinalEthBal = Math.round(calcFinalEthBal); + + expect(pc.connect(walletAccounts[3]).withdraw(initialBalance)).to.be.revertedWith("Reverted: Client lacks allowance to perform this action."); + // User provides Allowance (e.g via Dapp) to PoolClient to transfer his tokens. + await rweth.connect(walletAccounts[3]).approve(contractsAddresses[5], initialBalance); + await pc.connect(walletAccounts[3]).withdraw(initialBalance); + + // final states + let finalBalance = await rweth.balanceOf(walletAddresses[3]); + let totalRwSupply1 = await rweth.totalSupply(); + let contractRwSupplyControl1 = await tb.getTotalrwEthSupply(); + let userEtherBal1 = ethers.utils.formatEther(await provider.getBalance(walletAddresses[3])); + userEtherBal1 = Math.round(userEtherBal1); + + expect(finalBalance).to.be.eq(0); + expect(totalRwSupply0.sub(totalRwSupply1)).to.be.eq(initialBalance); + expect(contractRwSupplyControl0.sub(contractRwSupplyControl1)).to.be.eq(initialBalance); + expect(userEtherBal1).to.be.eq(calcFinalEthBal); + }) + }); + + + +});