@venusprotocol/oracle 1.4.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/utils/math/SafeCast.sol/SafeCast.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/utils/math/SafeMath.sol/SafeMath.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/SignedMath.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol/PausableUpgradeable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.dbg.json +1 -1
- package/artifacts/build-info/3965bb4348b0cd9f8e1c6653863ba2c7.json +1 -0
- package/artifacts/build-info/74e7c40ef8c9d7273f9e994ec1da9646.json +1 -0
- package/artifacts/contracts/PriceOracle.sol/PriceOracle.dbg.json +1 -1
- package/artifacts/contracts/ResilientOracle.sol/ResilientOracle.dbg.json +1 -1
- package/artifacts/contracts/interfaces/AggregatorV2V3Interface.sol/AggregatorV2V3Interface.dbg.json +1 -1
- package/artifacts/contracts/interfaces/BEP20Interface.sol/BEP20Interface.dbg.json +1 -1
- package/artifacts/contracts/interfaces/FeedRegistryInterface.sol/FeedRegistryInterface.dbg.json +1 -1
- package/artifacts/contracts/interfaces/OracleInterface.sol/BoundValidatorInterface.dbg.json +1 -1
- package/artifacts/contracts/interfaces/OracleInterface.sol/OracleInterface.dbg.json +1 -1
- package/artifacts/contracts/interfaces/OracleInterface.sol/ResilientOracleInterface.dbg.json +1 -1
- package/artifacts/contracts/interfaces/OracleInterface.sol/TwapInterface.dbg.json +1 -1
- package/artifacts/contracts/interfaces/PythInterface.sol/AbstractPyth.dbg.json +1 -1
- package/artifacts/contracts/interfaces/PythInterface.sol/IPyth.dbg.json +1 -1
- package/artifacts/contracts/interfaces/PythInterface.sol/PythStructs.dbg.json +1 -1
- package/artifacts/contracts/interfaces/VBep20Interface.sol/VBep20Interface.dbg.json +1 -1
- package/artifacts/contracts/libraries/PancakeLibrary.sol/FixedPoint.dbg.json +1 -1
- package/artifacts/contracts/libraries/PancakeLibrary.sol/IPancakePair.dbg.json +1 -1
- package/artifacts/contracts/libraries/PancakeLibrary.sol/PancakeOracleLibrary.dbg.json +1 -1
- package/artifacts/contracts/oracles/BinanceOracle.sol/BinanceOracle.dbg.json +1 -1
- package/artifacts/contracts/oracles/BoundValidator.sol/BoundValidator.dbg.json +1 -1
- package/artifacts/contracts/oracles/ChainlinkOracle.sol/ChainlinkOracle.dbg.json +1 -1
- package/artifacts/contracts/oracles/PythOracle.sol/PythOracle.dbg.json +1 -1
- package/artifacts/contracts/oracles/TwapOracle.sol/TwapOracle.dbg.json +1 -1
- package/artifacts/contracts/oracles/mocks/MockBinanceFeedRegistry.sol/MockBinanceFeedRegistry.dbg.json +1 -1
- package/artifacts/contracts/oracles/mocks/MockBinanceOracle.sol/MockBinanceOracle.dbg.json +1 -1
- package/artifacts/contracts/oracles/mocks/MockChainlinkOracle.sol/MockChainlinkOracle.dbg.json +1 -1
- package/artifacts/contracts/oracles/mocks/MockChainlinkOracle.sol/MockChainlinkOracle.json +2 -2
- package/artifacts/contracts/oracles/mocks/MockPythOracle.sol/MockPythOracle.dbg.json +1 -1
- package/artifacts/contracts/oracles/mocks/MockPythOracle.sol/MockPythOracle.json +2 -2
- package/artifacts/contracts/oracles/mocks/MockTwapOracle.sol/MockTwapOracle.dbg.json +1 -1
- package/artifacts/contracts/test/BEP20Harness.sol/BEP20Harness.dbg.json +1 -1
- package/artifacts/contracts/test/MockPyth.sol/MockPyth.dbg.json +1 -1
- package/artifacts/contracts/test/MockSimpleOracle.sol/MockBoundValidator.dbg.json +1 -1
- package/artifacts/contracts/test/MockSimpleOracle.sol/MockSimpleOracle.dbg.json +1 -1
- package/artifacts/contracts/test/MockV3Aggregator.sol/MockV3Aggregator.dbg.json +1 -1
- package/artifacts/contracts/test/PancakePairHarness.sol/Math.dbg.json +1 -1
- package/artifacts/contracts/test/PancakePairHarness.sol/PancakePairHarness.dbg.json +1 -1
- package/artifacts/contracts/test/PancakePairHarness.sol/UQ112x112.dbg.json +1 -1
- package/artifacts/contracts/test/VBEP20Harness.sol/VBEP20Harness.dbg.json +1 -1
- package/artifacts/hardhat/console.sol/console.dbg.json +4 -0
- package/artifacts/hardhat/console.sol/console.json +10 -0
- package/contracts/oracles/mocks/MockChainlinkOracle.sol +3 -1
- package/contracts/oracles/mocks/MockPythOracle.sol +2 -1
- package/deploy/2-configure-feeds.d.ts.map +1 -1
- package/deploy/2-configure-feeds.js +63 -28
- package/deploy/2-configure-feeds.js.map +1 -1
- package/package.json +1 -1
- package/artifacts/build-info/2fde13baf96aae3a4a0595eaa19cc540.json +0 -1
- package/artifacts/build-info/442613ba0e31d357bb61ad07d3e9ccb5.json +0 -1
- package/artifacts/build-info/4d2af5803ee95a57ec9aace7ed32201c.json +0 -1
- package/artifacts/build-info/99d7aae43e9eacb55ec69b3cd6d3a70b.json +0 -1
- package/artifacts/build-info/e79aa95060bbee82bc36063535db4019.json +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"id":"99d7aae43e9eacb55ec69b3cd6d3a70b","_format":"hh-sol-build-info-1","solcVersion":"0.8.13","solcLongVersion":"0.8.13+commit.abaa5c0e","input":{"language":"Solidity","sources":{"contracts/ResilientOracle.sol":{"content":"// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.0;\npragma experimental ABIEncoderV2;\n\nimport \"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol\";\nimport \"@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol\";\nimport \"./interfaces/VBep20Interface.sol\";\nimport \"./interfaces/OracleInterface.sol\";\n\ncontract ResilientOracle is OwnableUpgradeable, PausableUpgradeable, ResilientOracleInterface {\n uint256 public constant INVALID_PRICE = 0;\n\n BoundValidatorInterface public boundValidator;\n\n /**\n * @dev oracle role, we have 3 roles at the moment\n * MAIN: The most trustworthy price source\n * PIVOT: Not so trustworthy price source, used as a loose sanity checker\n * FALLBACK: The backup source when main oracle price is invalidated\n */\n enum OracleRole {\n MAIN,\n PIVOT,\n FALLBACK\n }\n\n struct TokenConfig {\n /// @notice asset address\n address asset;\n /// @notice `oracles` stores the oracles in the order of: [main, pivot, fallback],\n /// it can be indexed with enum OracleRole value\n address[3] oracles;\n /// @notice `enableFlagsForOracles` stores the oracle enable statuses\n /// for each oracle in the same order as `oracles`\n bool[3] enableFlagsForOracles;\n }\n\n mapping(address => TokenConfig) private tokenConfigs;\n\n event GlobalEnable(bool indexed isEnable);\n event TokenConfigAdded(\n address indexed asset,\n address indexed mainOracle,\n address indexed pivotOracle,\n address fallbackOracle\n );\n event OracleSet(address indexed asset, address indexed oracle, uint256 indexed role);\n event OracleEnabled(address indexed asset, uint256 indexed role, bool indexed enable);\n\n modifier notNullAddress(address someone) {\n require(someone != address(0), \"can't be zero address\");\n _;\n }\n\n /**\n * @notice Check whether token config exist by checking whether vToken is zero address\n * @dev vToken can't be set to zero, so it's suitable to be used to check\n * @param asset asset address\n */\n modifier checkTokenConfigExistance(address asset) {\n require(tokenConfigs[asset].asset != address(0), \"token config must exist\");\n _;\n }\n\n function initialize(BoundValidatorInterface _boundValidator) public initializer {\n require(address(_boundValidator) != address(0), \"invaliud bound validator address\");\n boundValidator = _boundValidator;\n\n __Ownable_init();\n __Pausable_init();\n }\n\n /**\n * @notice Pause protocol\n */\n function pause() external onlyOwner {\n _pause();\n }\n\n /**\n * @notice Unpause protocol\n */\n function unpause() external onlyOwner {\n _unpause();\n }\n\n /**\n * @dev Get token config by vToken address\n * @param vToken vtoken address\n */\n function getTokenConfig(address vToken) external view returns (TokenConfig memory) {\n address asset = VBep20Interface(vToken).underlying();\n return tokenConfigs[asset];\n }\n\n /**\n * @notice Get oracle & enabling status by vToken address\n * @param vToken vtoken address\n * @param role oracle role\n */\n function getOracle(address vToken, OracleRole role) public view returns (address oracle, bool enabled) {\n address asset = VBep20Interface(vToken).underlying();\n oracle = tokenConfigs[asset].oracles[uint256(role)];\n enabled = tokenConfigs[asset].enableFlagsForOracles[uint256(role)];\n }\n\n /**\n * @notice Batch set token configs\n * @param tokenConfigs_ token config array\n */\n function setTokenConfigs(TokenConfig[] memory tokenConfigs_) external onlyOwner {\n require(tokenConfigs_.length != 0, \"length can't be 0\");\n for (uint256 i = 0; i < tokenConfigs_.length; i++) {\n setTokenConfig(tokenConfigs_[i]);\n }\n }\n\n /**\n * @notice Set single token configs, vToken MUST HAVE NOT be added before, and main oracle MUST NOT be zero address\n * @param tokenConfig token config struct\n */\n function setTokenConfig(TokenConfig memory tokenConfig)\n public\n onlyOwner\n notNullAddress(tokenConfig.asset)\n notNullAddress(tokenConfig.oracles[uint256(OracleRole.MAIN)])\n {\n tokenConfigs[tokenConfig.asset] = tokenConfig;\n emit TokenConfigAdded(\n tokenConfig.asset,\n tokenConfig.oracles[uint256(OracleRole.MAIN)],\n tokenConfig.oracles[uint256(OracleRole.PIVOT)],\n tokenConfig.oracles[uint256(OracleRole.FALLBACK)]\n );\n }\n\n /**\n * @notice Set oracle of any type for the input vToken, input vToken MUST exist\n * @param asset asset address\n * @param oracle oracle address\n * @param role oracle role\n */\n function setOracle(\n address asset,\n address oracle,\n OracleRole role\n ) external onlyOwner notNullAddress(asset) checkTokenConfigExistance(asset) {\n require(!(oracle == address(0) && role == OracleRole.MAIN), \"can't set zero address to main oracle\");\n tokenConfigs[asset].oracles[uint256(role)] = oracle;\n emit OracleSet(asset, oracle, uint256(role));\n }\n\n /**\n * @notice Enable/disable oracle for the input vToken, input vToken MUST exist\n * @param asset asset address\n * @param role oracle role\n * @param enable expected status\n */\n function enableOracle(\n address asset,\n OracleRole role,\n bool enable\n ) external onlyOwner notNullAddress(asset) checkTokenConfigExistance(asset) {\n tokenConfigs[asset].enableFlagsForOracles[uint256(role)] = enable;\n emit OracleEnabled(asset, uint256(role), enable);\n }\n\n /**\n * @notice Currently it calls the updateTwap\n * @param vToken vToken address\n */\n function updatePrice(address vToken) external override {\n (address pivotOracle, bool pivotOracleEnabled) = getOracle(vToken, OracleRole.PIVOT);\n if (pivotOracle != address(0) && pivotOracleEnabled) {\n //if PIVOT oracle is PythOrcle it will revert so we need to catch the revert\n try TwapInterface(pivotOracle).updateTwap(vToken) returns (uint256 _price) {} catch {}\n }\n }\n\n /**\n * @notice Get price of underlying asset of the input vToken, check flow:\n * - check the global pausing status\n * - check price from main oracle against pivot oracle\n * - check price from fallback oracle against pivot oracle or main oracle if fails\n * @param vToken vToken address\n * @return price USD price in 18 decimals\n */\n function getUnderlyingPrice(address vToken) external view override returns (uint256) {\n require(!paused(), \"resilient oracle is paused\");\n\n uint256 price = _getMainOraclePrice(vToken);\n if (price == INVALID_PRICE) {\n price = _getFallbackOraclePrice(vToken);\n }\n\n require(price != INVALID_PRICE, \"invalid resilient oracle price\");\n return price;\n }\n\n /**\n * @notice This function won't revert when price is 0, because the fallback oracle may come to play later\n * @param vToken vToken address\n * @return price USD price in 18 decimals\n */\n function _getMainOraclePrice(address vToken) internal view returns (uint256) {\n uint256 price = INVALID_PRICE;\n\n (address mainOracle, bool mainOracleEnabled) = getOracle(vToken, OracleRole.MAIN);\n if (mainOracleEnabled && mainOracle != address(0)) {\n try OracleInterface(mainOracle).getUnderlyingPrice(vToken) returns (uint256 mainOraclePrice) {\n price = mainOraclePrice;\n\n (address pivotOracle, bool pivotOracleEnabled) = getOracle(vToken, OracleRole.PIVOT);\n\n if (pivotOracleEnabled && pivotOracle != address(0)) {\n try OracleInterface(pivotOracle).getUnderlyingPrice(vToken) returns (uint256 pivotPrice) {\n if (pivotPrice != INVALID_PRICE) {\n bool isPriceValid = boundValidator.validatePriceWithAnchorPrice(vToken, price, pivotPrice);\n if (!isPriceValid) {\n return INVALID_PRICE;\n }\n }\n } catch {}\n }\n } catch {}\n }\n\n return price;\n }\n\n /**\n * @notice This function won't revert when price is 0, because the getUnderlyingPrice checks if pirce is > 0\n * @param vToken vToken address\n * @return price USD price in 18 decimals\n */\n function _getFallbackOraclePrice(address vToken) internal view returns (uint256) {\n uint256 price = INVALID_PRICE;\n bool compareWithMain = false;\n\n (address fallbackOracle, bool fallbackEnabled) = getOracle(vToken, OracleRole.FALLBACK);\n if (fallbackEnabled && fallbackOracle != address(0)) {\n try OracleInterface(fallbackOracle).getUnderlyingPrice(vToken) returns (uint256 fallbackOraclePrice) {\n price = fallbackOraclePrice;\n\n (address pivotOracle, bool pivotOracleEnabled) = getOracle(vToken, OracleRole.PIVOT);\n if (pivotOracleEnabled && pivotOracle != address(0)) {\n try OracleInterface(pivotOracle).getUnderlyingPrice(vToken) returns (uint256 pivotPrice) {\n if (pivotPrice != INVALID_PRICE) {\n bool isPriceValid = boundValidator.validatePriceWithAnchorPrice(vToken, price, pivotPrice);\n if (!isPriceValid) {\n compareWithMain = true;\n }\n } else {\n compareWithMain = true;\n }\n } catch {\n compareWithMain = true;\n }\n } else {\n compareWithMain = true;\n }\n } catch {}\n }\n\n if (compareWithMain) {\n (address mainOracle, bool mainOracleEnabled) = getOracle(vToken, OracleRole.MAIN);\n if (mainOracleEnabled && mainOracle != address(0)) {\n try OracleInterface(mainOracle).getUnderlyingPrice(vToken) returns (uint256 mainOraclePrice) {\n bool isPriceValid = boundValidator.validatePriceWithAnchorPrice(vToken, price, mainOraclePrice);\n if (!isPriceValid) {\n return INVALID_PRICE;\n } else {\n price = mainOraclePrice;\n }\n } catch {\n price = INVALID_PRICE;\n }\n } else {\n price = INVALID_PRICE;\n }\n }\n\n return price;\n }\n}\n"},"contracts/interfaces/VBep20Interface.sol":{"content":"// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.0;\n\nimport \"./BEP20Interface.sol\";\n\ninterface VBep20Interface is BEP20Interface {\n /**\n * @notice Underlying asset for this VToken\n */\n function underlying() external view returns (address);\n}\n"},"contracts/interfaces/OracleInterface.sol":{"content":"// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.0;\npragma experimental ABIEncoderV2;\n\ninterface OracleInterface {\n function getUnderlyingPrice(address vToken) external view returns (uint256);\n}\n\ninterface ResilientOracleInterface is OracleInterface {\n function updatePrice(address vToken) external;\n}\n\ninterface TwapInterface is OracleInterface {\n function updateTwap(address vToken) external returns (uint256);\n}\n\ninterface BoundValidatorInterface {\n function validatePriceWithAnchorPrice(\n address vToken,\n uint256 reporterPrice,\n uint256 anchorPrice\n ) external view returns (bool);\n}\n"},"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)\n\npragma solidity ^0.8.0;\n\nimport \"../utils/ContextUpgradeable.sol\";\nimport \"../proxy/utils/Initializable.sol\";\n\n/**\n * @dev Contract module which provides a basic access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * By default, the owner account will be the one that deploys the contract. This\n * can later be changed with {transferOwnership}.\n *\n * This module is used through inheritance. It will make available the modifier\n * `onlyOwner`, which can be applied to your functions to restrict their use to\n * the owner.\n */\nabstract contract OwnableUpgradeable is Initializable, ContextUpgradeable {\n address private _owner;\n\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n /**\n * @dev Initializes the contract setting the deployer as the initial owner.\n */\n function __Ownable_init() internal onlyInitializing {\n __Ownable_init_unchained();\n }\n\n function __Ownable_init_unchained() internal onlyInitializing {\n _transferOwnership(_msgSender());\n }\n\n /**\n * @dev Throws if called by any account other than the owner.\n */\n modifier onlyOwner() {\n _checkOwner();\n _;\n }\n\n /**\n * @dev Returns the address of the current owner.\n */\n function owner() public view virtual returns (address) {\n return _owner;\n }\n\n /**\n * @dev Throws if the sender is not the owner.\n */\n function _checkOwner() internal view virtual {\n require(owner() == _msgSender(), \"Ownable: caller is not the owner\");\n }\n\n /**\n * @dev Leaves the contract without owner. It will not be possible to call\n * `onlyOwner` functions anymore. Can only be called by the current owner.\n *\n * NOTE: Renouncing ownership will leave the contract without an owner,\n * thereby removing any functionality that is only available to the owner.\n */\n function renounceOwnership() public virtual onlyOwner {\n _transferOwnership(address(0));\n }\n\n /**\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\n * Can only be called by the current owner.\n */\n function transferOwnership(address newOwner) public virtual onlyOwner {\n require(newOwner != address(0), \"Ownable: new owner is the zero address\");\n _transferOwnership(newOwner);\n }\n\n /**\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\n * Internal function without access restriction.\n */\n function _transferOwnership(address newOwner) internal virtual {\n address oldOwner = _owner;\n _owner = newOwner;\n emit OwnershipTransferred(oldOwner, newOwner);\n }\n\n /**\n * @dev This empty reserved space is put in place to allow future versions to add new\n * variables without shifting down storage in the inheritance chain.\n * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\n */\n uint256[49] private __gap;\n}\n"},"@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)\n\npragma solidity ^0.8.0;\n\nimport \"../utils/ContextUpgradeable.sol\";\nimport \"../proxy/utils/Initializable.sol\";\n\n/**\n * @dev Contract module which allows children to implement an emergency stop\n * mechanism that can be triggered by an authorized account.\n *\n * This module is used through inheritance. It will make available the\n * modifiers `whenNotPaused` and `whenPaused`, which can be applied to\n * the functions of your contract. Note that they will not be pausable by\n * simply including this module, only once the modifiers are put in place.\n */\nabstract contract PausableUpgradeable is Initializable, ContextUpgradeable {\n /**\n * @dev Emitted when the pause is triggered by `account`.\n */\n event Paused(address account);\n\n /**\n * @dev Emitted when the pause is lifted by `account`.\n */\n event Unpaused(address account);\n\n bool private _paused;\n\n /**\n * @dev Initializes the contract in unpaused state.\n */\n function __Pausable_init() internal onlyInitializing {\n __Pausable_init_unchained();\n }\n\n function __Pausable_init_unchained() internal onlyInitializing {\n _paused = false;\n }\n\n /**\n * @dev Modifier to make a function callable only when the contract is not paused.\n *\n * Requirements:\n *\n * - The contract must not be paused.\n */\n modifier whenNotPaused() {\n _requireNotPaused();\n _;\n }\n\n /**\n * @dev Modifier to make a function callable only when the contract is paused.\n *\n * Requirements:\n *\n * - The contract must be paused.\n */\n modifier whenPaused() {\n _requirePaused();\n _;\n }\n\n /**\n * @dev Returns true if the contract is paused, and false otherwise.\n */\n function paused() public view virtual returns (bool) {\n return _paused;\n }\n\n /**\n * @dev Throws if the contract is paused.\n */\n function _requireNotPaused() internal view virtual {\n require(!paused(), \"Pausable: paused\");\n }\n\n /**\n * @dev Throws if the contract is not paused.\n */\n function _requirePaused() internal view virtual {\n require(paused(), \"Pausable: not paused\");\n }\n\n /**\n * @dev Triggers stopped state.\n *\n * Requirements:\n *\n * - The contract must not be paused.\n */\n function _pause() internal virtual whenNotPaused {\n _paused = true;\n emit Paused(_msgSender());\n }\n\n /**\n * @dev Returns to normal state.\n *\n * Requirements:\n *\n * - The contract must be paused.\n */\n function _unpause() internal virtual whenPaused {\n _paused = false;\n emit Unpaused(_msgSender());\n }\n\n /**\n * @dev This empty reserved space is put in place to allow future versions to add new\n * variables without shifting down storage in the inheritance chain.\n * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\n */\n uint256[49] private __gap;\n}\n"},"contracts/interfaces/BEP20Interface.sol":{"content":"// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.0;\n\ninterface BEP20Interface {\n /**\n * @dev Returns the amount of tokens in existence.\n */\n function totalSupply() external view returns (uint256);\n\n /**\n * @dev Returns the token decimals.\n */\n function decimals() external view returns (uint8);\n\n /**\n * @dev Returns the token symbol.\n */\n function symbol() external view returns (string memory);\n\n /**\n * @dev Returns the token name.\n */\n function name() external view returns (string memory);\n\n /**\n * @dev Returns the bep token owner.\n */\n function getOwner() external view returns (address);\n\n /**\n * @dev Returns the amount of tokens owned by `account`.\n */\n function balanceOf(address account) external view returns (uint256);\n\n /**\n * @dev Moves `amount` tokens from the caller's account to `recipient`.\n *\n * Returns a boolean value indicating whether the operation succeeded.\n *\n * Emits a {Transfer} event.\n */\n function transfer(address recipient, uint256 amount) external returns (bool);\n\n /**\n * @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 *\n * This value changes when {approve} or {transferFrom} are called.\n */\n function allowance(address _owner, address spender) external view returns (uint256);\n\n /**\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\n *\n * Returns a boolean value indicating whether the operation succeeded.\n *\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 *\n * Emits an {Approval} event.\n */\n function approve(address spender, uint256 amount) external returns (bool);\n\n /**\n * @dev Moves `amount` tokens from `sender` to `recipient` using the\n * allowance mechanism. `amount` is then deducted from the caller's\n * allowance.\n *\n * Returns a boolean value indicating whether the operation succeeded.\n *\n * Emits a {Transfer} event.\n */\n function transferFrom(\n address sender,\n address recipient,\n uint256 amount\n ) external returns (bool);\n\n /**\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\n * another (`to`).\n *\n * Note that `value` may be zero.\n */\n event Transfer(address indexed from, address indexed to, uint256 value);\n\n /**\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n * a call to {approve}. `value` is the new allowance.\n */\n event Approval(address indexed owner, address indexed spender, uint256 value);\n}\n"},"@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\n\npragma solidity ^0.8.0;\nimport \"../proxy/utils/Initializable.sol\";\n\n/**\n * @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 *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract ContextUpgradeable is Initializable {\n function __Context_init() internal onlyInitializing {\n }\n\n function __Context_init_unchained() internal onlyInitializing {\n }\n function _msgSender() internal view virtual returns (address) {\n return msg.sender;\n }\n\n function _msgData() internal view virtual returns (bytes calldata) {\n return msg.data;\n }\n\n /**\n * @dev This empty reserved space is put in place to allow future versions to add new\n * variables without shifting down storage in the inheritance chain.\n * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\n */\n uint256[50] private __gap;\n}\n"},"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.7.0) (proxy/utils/Initializable.sol)\n\npragma solidity ^0.8.2;\n\nimport \"../../utils/AddressUpgradeable.sol\";\n\n/**\n * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\n * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an\n * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\n * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\n *\n * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be\n * reused. This mechanism prevents re-execution of each \"step\" but allows the creation of new initialization steps in\n * case an upgrade adds a module that needs to be initialized.\n *\n * For example:\n *\n * [.hljs-theme-light.nopadding]\n * ```\n * contract MyToken is ERC20Upgradeable {\n * function initialize() initializer public {\n * __ERC20_init(\"MyToken\", \"MTK\");\n * }\n * }\n * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {\n * function initializeV2() reinitializer(2) public {\n * __ERC20Permit_init(\"MyToken\");\n * }\n * }\n * ```\n *\n * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\n * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.\n *\n * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\n * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\n *\n * [CAUTION]\n * ====\n * Avoid leaving a contract uninitialized.\n *\n * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation\n * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke\n * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:\n *\n * [.hljs-theme-light.nopadding]\n * ```\n * /// @custom:oz-upgrades-unsafe-allow constructor\n * constructor() {\n * _disableInitializers();\n * }\n * ```\n * ====\n */\nabstract contract Initializable {\n /**\n * @dev Indicates that the contract has been initialized.\n * @custom:oz-retyped-from bool\n */\n uint8 private _initialized;\n\n /**\n * @dev Indicates that the contract is in the process of being initialized.\n */\n bool private _initializing;\n\n /**\n * @dev Triggered when the contract has been initialized or reinitialized.\n */\n event Initialized(uint8 version);\n\n /**\n * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,\n * `onlyInitializing` functions can be used to initialize parent contracts. Equivalent to `reinitializer(1)`.\n */\n modifier initializer() {\n bool isTopLevelCall = !_initializing;\n require(\n (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),\n \"Initializable: contract is already initialized\"\n );\n _initialized = 1;\n if (isTopLevelCall) {\n _initializing = true;\n }\n _;\n if (isTopLevelCall) {\n _initializing = false;\n emit Initialized(1);\n }\n }\n\n /**\n * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the\n * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be\n * used to initialize parent contracts.\n *\n * `initializer` is equivalent to `reinitializer(1)`, so a reinitializer may be used after the original\n * initialization step. This is essential to configure modules that are added through upgrades and that require\n * initialization.\n *\n * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in\n * a contract, executing them in the right order is up to the developer or operator.\n */\n modifier reinitializer(uint8 version) {\n require(!_initializing && _initialized < version, \"Initializable: contract is already initialized\");\n _initialized = version;\n _initializing = true;\n _;\n _initializing = false;\n emit Initialized(version);\n }\n\n /**\n * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the\n * {initializer} and {reinitializer} modifiers, directly or indirectly.\n */\n modifier onlyInitializing() {\n require(_initializing, \"Initializable: contract is not initializing\");\n _;\n }\n\n /**\n * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.\n * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized\n * to any version. It is recommended to use this to lock implementation contracts that are designed to be called\n * through proxies.\n */\n function _disableInitializers() internal virtual {\n require(!_initializing, \"Initializable: contract is initializing\");\n if (_initialized < type(uint8).max) {\n _initialized = type(uint8).max;\n emit Initialized(type(uint8).max);\n }\n }\n}\n"},"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)\n\npragma solidity ^0.8.1;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary AddressUpgradeable {\n /**\n * @dev Returns true if `account` is a contract.\n *\n * [IMPORTANT]\n * ====\n * It is unsafe to assume that an address for which this function returns\n * false is an externally-owned account (EOA) and not a contract.\n *\n * Among others, `isContract` will return false for the following\n * types of addresses:\n *\n * - an externally-owned account\n * - a contract in construction\n * - an address where a contract will be created\n * - an address where a contract lived, but was destroyed\n * ====\n *\n * [IMPORTANT]\n * ====\n * You shouldn't rely on `isContract` to protect against flash loan attacks!\n *\n * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\n * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\n * constructor.\n * ====\n */\n function isContract(address account) internal view returns (bool) {\n // This method relies on extcodesize/address.code.length, which returns 0\n // for contracts in construction, since the code is only stored at the end\n // of the constructor execution.\n\n return account.code.length > 0;\n }\n\n /**\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n * `recipient`, forwarding all available gas and reverting on errors.\n *\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\n * imposed by `transfer`, making them unable to receive funds via\n * `transfer`. {sendValue} removes this limitation.\n *\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n *\n * IMPORTANT: because control is transferred to `recipient`, care must be\n * taken to not create reentrancy vulnerabilities. Consider using\n * {ReentrancyGuard} or the\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n */\n function sendValue(address payable recipient, uint256 amount) internal {\n require(address(this).balance >= amount, \"Address: insufficient balance\");\n\n (bool success, ) = recipient.call{value: amount}(\"\");\n require(success, \"Address: unable to send value, recipient may have reverted\");\n }\n\n /**\n * @dev Performs a Solidity function call using a low level `call`. A\n * plain `call` is an unsafe replacement for a function call: use this\n * function instead.\n *\n * If `target` reverts with a revert reason, it is bubbled up by this\n * function (like regular Solidity function calls).\n *\n * Returns the raw returned data. To convert to the expected return value,\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n *\n * Requirements:\n *\n * - `target` must be a contract.\n * - calling `target` with `data` must not revert.\n *\n * _Available since v3.1._\n */\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionCall(target, data, \"Address: low-level call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n * `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCall(\n address target,\n bytes memory data,\n string memory errorMessage\n ) internal returns (bytes memory) {\n return functionCallWithValue(target, data, 0, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but also transferring `value` wei to `target`.\n *\n * Requirements:\n *\n * - the calling contract must have an ETH balance of at least `value`.\n * - the called Solidity function must be `payable`.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(\n address target,\n bytes memory data,\n uint256 value\n ) internal returns (bytes memory) {\n return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n * with `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(\n address target,\n bytes memory data,\n uint256 value,\n string memory errorMessage\n ) internal returns (bytes memory) {\n require(address(this).balance >= value, \"Address: insufficient balance for call\");\n require(isContract(target), \"Address: call to non-contract\");\n\n (bool success, bytes memory returndata) = target.call{value: value}(data);\n return verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n return functionStaticCall(target, data, \"Address: low-level static call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(\n address target,\n bytes memory data,\n string memory errorMessage\n ) internal view returns (bytes memory) {\n require(isContract(target), \"Address: static call to non-contract\");\n\n (bool success, bytes memory returndata) = target.staticcall(data);\n return verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the\n * revert reason using the provided one.\n *\n * _Available since v4.3._\n */\n function verifyCallResult(\n bool success,\n bytes memory returndata,\n string memory errorMessage\n ) internal pure returns (bytes memory) {\n if (success) {\n return returndata;\n } else {\n // Look for revert reason and bubble it up if present\n if (returndata.length > 0) {\n // The easiest way to bubble the revert reason is using memory via assembly\n /// @solidity memory-safe-assembly\n assembly {\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n }\n } else {\n revert(errorMessage);\n }\n }\n }\n}\n"}},"settings":{"optimizer":{"enabled":true,"runs":200},"outputSelection":{"*":{"*":["storageLayout","abi","evm.bytecode","evm.deployedBytecode","evm.methodIdentifiers","metadata","devdoc","userdoc","evm.gasEstimates"],"":["ast"]}},"metadata":{"useLiteralContent":true}}},"output":{"errors":[{"component":"general","errorCode":"5667","formattedMessage":"Warning: Unused try/catch parameter. Remove or comment out the variable name to silence this warning.\n --> contracts/ResilientOracle.sol:176:72:\n |\n176 | try TwapInterface(pivotOracle).updateTwap(vToken) returns (uint256 _price) {} catch {}\n | ^^^^^^^^^^^^^^\n\n","message":"Unused try/catch parameter. Remove or comment out the variable name to silence this warning.","severity":"warning","sourceLocation":{"end":6261,"file":"contracts/ResilientOracle.sol","start":6247},"type":"Warning"}],"sources":{"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol":{"ast":{"absolutePath":"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol","exportedSymbols":{"AddressUpgradeable":[652],"ContextUpgradeable":[694],"Initializable":[282],"OwnableUpgradeable":[131]},"id":132,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":1,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"102:23:0"},{"absolutePath":"@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol","file":"../utils/ContextUpgradeable.sol","id":2,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":132,"sourceUnit":695,"src":"127:41:0","symbolAliases":[],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol","file":"../proxy/utils/Initializable.sol","id":3,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":132,"sourceUnit":283,"src":"169:42:0","symbolAliases":[],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":5,"name":"Initializable","nodeType":"IdentifierPath","referencedDeclaration":282,"src":"748:13:0"},"id":6,"nodeType":"InheritanceSpecifier","src":"748:13:0"},{"baseName":{"id":7,"name":"ContextUpgradeable","nodeType":"IdentifierPath","referencedDeclaration":694,"src":"763:18:0"},"id":8,"nodeType":"InheritanceSpecifier","src":"763:18:0"}],"canonicalName":"OwnableUpgradeable","contractDependencies":[],"contractKind":"contract","documentation":{"id":4,"nodeType":"StructuredDocumentation","src":"213:494:0","text":" @dev Contract module which provides a basic access control mechanism, where\n there is an account (an owner) that can be granted exclusive access to\n specific functions.\n By default, the owner account will be the one that deploys the contract. This\n can later be changed with {transferOwnership}.\n This module is used through inheritance. It will make available the modifier\n `onlyOwner`, which can be applied to your functions to restrict their use to\n the owner."},"fullyImplemented":true,"id":131,"linearizedBaseContracts":[131,694,282],"name":"OwnableUpgradeable","nameLocation":"726:18:0","nodeType":"ContractDefinition","nodes":[{"constant":false,"id":10,"mutability":"mutable","name":"_owner","nameLocation":"804:6:0","nodeType":"VariableDeclaration","scope":131,"src":"788:22:0","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":9,"name":"address","nodeType":"ElementaryTypeName","src":"788:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"private"},{"anonymous":false,"eventSelector":"8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0","id":16,"name":"OwnershipTransferred","nameLocation":"823:20:0","nodeType":"EventDefinition","parameters":{"id":15,"nodeType":"ParameterList","parameters":[{"constant":false,"id":12,"indexed":true,"mutability":"mutable","name":"previousOwner","nameLocation":"860:13:0","nodeType":"VariableDeclaration","scope":16,"src":"844:29:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":11,"name":"address","nodeType":"ElementaryTypeName","src":"844:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":14,"indexed":true,"mutability":"mutable","name":"newOwner","nameLocation":"891:8:0","nodeType":"VariableDeclaration","scope":16,"src":"875:24:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":13,"name":"address","nodeType":"ElementaryTypeName","src":"875:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"843:57:0"},"src":"817:84:0"},{"body":{"id":25,"nodeType":"Block","src":"1055:43:0","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":22,"name":"__Ownable_init_unchained","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":37,"src":"1065:24:0","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$__$returns$__$","typeString":"function ()"}},"id":23,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1065:26:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":24,"nodeType":"ExpressionStatement","src":"1065:26:0"}]},"documentation":{"id":17,"nodeType":"StructuredDocumentation","src":"907:91:0","text":" @dev Initializes the contract setting the deployer as the initial owner."},"id":26,"implemented":true,"kind":"function","modifiers":[{"id":20,"kind":"modifierInvocation","modifierName":{"id":19,"name":"onlyInitializing","nodeType":"IdentifierPath","referencedDeclaration":245,"src":"1038:16:0"},"nodeType":"ModifierInvocation","src":"1038:16:0"}],"name":"__Ownable_init","nameLocation":"1012:14:0","nodeType":"FunctionDefinition","parameters":{"id":18,"nodeType":"ParameterList","parameters":[],"src":"1026:2:0"},"returnParameters":{"id":21,"nodeType":"ParameterList","parameters":[],"src":"1055:0:0"},"scope":131,"src":"1003:95:0","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":36,"nodeType":"Block","src":"1166:49:0","statements":[{"expression":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"id":32,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":679,"src":"1195:10:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":33,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1195:12:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":31,"name":"_transferOwnership","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":125,"src":"1176:18:0","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":34,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1176:32:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":35,"nodeType":"ExpressionStatement","src":"1176:32:0"}]},"id":37,"implemented":true,"kind":"function","modifiers":[{"id":29,"kind":"modifierInvocation","modifierName":{"id":28,"name":"onlyInitializing","nodeType":"IdentifierPath","referencedDeclaration":245,"src":"1149:16:0"},"nodeType":"ModifierInvocation","src":"1149:16:0"}],"name":"__Ownable_init_unchained","nameLocation":"1113:24:0","nodeType":"FunctionDefinition","parameters":{"id":27,"nodeType":"ParameterList","parameters":[],"src":"1137:2:0"},"returnParameters":{"id":30,"nodeType":"ParameterList","parameters":[],"src":"1166:0:0"},"scope":131,"src":"1104:111:0","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":44,"nodeType":"Block","src":"1324:41:0","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":40,"name":"_checkOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":68,"src":"1334:11:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$__$","typeString":"function () view"}},"id":41,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1334:13:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":42,"nodeType":"ExpressionStatement","src":"1334:13:0"},{"id":43,"nodeType":"PlaceholderStatement","src":"1357:1:0"}]},"documentation":{"id":38,"nodeType":"StructuredDocumentation","src":"1221:77:0","text":" @dev Throws if called by any account other than the owner."},"id":45,"name":"onlyOwner","nameLocation":"1312:9:0","nodeType":"ModifierDefinition","parameters":{"id":39,"nodeType":"ParameterList","parameters":[],"src":"1321:2:0"},"src":"1303:62:0","virtual":false,"visibility":"internal"},{"body":{"id":53,"nodeType":"Block","src":"1496:30:0","statements":[{"expression":{"id":51,"name":"_owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10,"src":"1513:6:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":50,"id":52,"nodeType":"Return","src":"1506:13:0"}]},"documentation":{"id":46,"nodeType":"StructuredDocumentation","src":"1371:65:0","text":" @dev Returns the address of the current owner."},"functionSelector":"8da5cb5b","id":54,"implemented":true,"kind":"function","modifiers":[],"name":"owner","nameLocation":"1450:5:0","nodeType":"FunctionDefinition","parameters":{"id":47,"nodeType":"ParameterList","parameters":[],"src":"1455:2:0"},"returnParameters":{"id":50,"nodeType":"ParameterList","parameters":[{"constant":false,"id":49,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":54,"src":"1487:7:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":48,"name":"address","nodeType":"ElementaryTypeName","src":"1487:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1486:9:0"},"scope":131,"src":"1441:85:0","stateMutability":"view","virtual":true,"visibility":"public"},{"body":{"id":67,"nodeType":"Block","src":"1644:85:0","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":63,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[],"expression":{"argumentTypes":[],"id":59,"name":"owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":54,"src":"1662:5:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":60,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1662:7:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[],"expression":{"argumentTypes":[],"id":61,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":679,"src":"1673:10:0","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":62,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1673:12:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1662:23:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572","id":64,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1687:34:0","typeDescriptions":{"typeIdentifier":"t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe","typeString":"literal_string \"Ownable: caller is not the owner\""},"value":"Ownable: caller is not the owner"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe","typeString":"literal_string \"Ownable: caller is not the owner\""}],"id":58,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"1654:7:0","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":65,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1654:68:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":66,"nodeType":"ExpressionStatement","src":"1654:68:0"}]},"documentation":{"id":55,"nodeType":"StructuredDocumentation","src":"1532:62:0","text":" @dev Throws if the sender is not the owner."},"id":68,"implemented":true,"kind":"function","modifiers":[],"name":"_checkOwner","nameLocation":"1608:11:0","nodeType":"FunctionDefinition","parameters":{"id":56,"nodeType":"ParameterList","parameters":[],"src":"1619:2:0"},"returnParameters":{"id":57,"nodeType":"ParameterList","parameters":[],"src":"1644:0:0"},"scope":131,"src":"1599:130:0","stateMutability":"view","virtual":true,"visibility":"internal"},{"body":{"id":81,"nodeType":"Block","src":"2125:47:0","statements":[{"expression":{"arguments":[{"arguments":[{"hexValue":"30","id":77,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2162:1:0","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":76,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2154:7:0","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":75,"name":"address","nodeType":"ElementaryTypeName","src":"2154:7:0","typeDescriptions":{}}},"id":78,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2154:10:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":74,"name":"_transferOwnership","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":125,"src":"2135:18:0","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":79,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2135:30:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":80,"nodeType":"ExpressionStatement","src":"2135:30:0"}]},"documentation":{"id":69,"nodeType":"StructuredDocumentation","src":"1735:331:0","text":" @dev Leaves the contract without owner. It will not be possible to call\n `onlyOwner` functions anymore. Can only be called by the current owner.\n NOTE: Renouncing ownership will leave the contract without an owner,\n thereby removing any functionality that is only available to the owner."},"functionSelector":"715018a6","id":82,"implemented":true,"kind":"function","modifiers":[{"id":72,"kind":"modifierInvocation","modifierName":{"id":71,"name":"onlyOwner","nodeType":"IdentifierPath","referencedDeclaration":45,"src":"2115:9:0"},"nodeType":"ModifierInvocation","src":"2115:9:0"}],"name":"renounceOwnership","nameLocation":"2080:17:0","nodeType":"FunctionDefinition","parameters":{"id":70,"nodeType":"ParameterList","parameters":[],"src":"2097:2:0"},"returnParameters":{"id":73,"nodeType":"ParameterList","parameters":[],"src":"2125:0:0"},"scope":131,"src":"2071:101:0","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"body":{"id":104,"nodeType":"Block","src":"2391:128:0","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":96,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":91,"name":"newOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":85,"src":"2409:8:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":94,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2429:1:0","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"}],"id":93,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2421:7:0","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":92,"name":"address","nodeType":"ElementaryTypeName","src":"2421:7:0","typeDescriptions":{}}},"id":95,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2421:10:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2409:22:0","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373","id":97,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2433:40:0","typeDescriptions":{"typeIdentifier":"t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe","typeString":"literal_string \"Ownable: new owner is the zero address\""},"value":"Ownable: new owner is the zero address"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe","typeString":"literal_string \"Ownable: new owner is the zero address\""}],"id":90,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"2401:7:0","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":98,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2401:73:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":99,"nodeType":"ExpressionStatement","src":"2401:73:0"},{"expression":{"arguments":[{"id":101,"name":"newOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":85,"src":"2503:8:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":100,"name":"_transferOwnership","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":125,"src":"2484:18:0","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":102,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2484:28:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":103,"nodeType":"ExpressionStatement","src":"2484:28:0"}]},"documentation":{"id":83,"nodeType":"StructuredDocumentation","src":"2178:138:0","text":" @dev Transfers ownership of the contract to a new account (`newOwner`).\n Can only be called by the current owner."},"functionSelector":"f2fde38b","id":105,"implemented":true,"kind":"function","modifiers":[{"id":88,"kind":"modifierInvocation","modifierName":{"id":87,"name":"onlyOwner","nodeType":"IdentifierPath","referencedDeclaration":45,"src":"2381:9:0"},"nodeType":"ModifierInvocation","src":"2381:9:0"}],"name":"transferOwnership","nameLocation":"2330:17:0","nodeType":"FunctionDefinition","parameters":{"id":86,"nodeType":"ParameterList","parameters":[{"constant":false,"id":85,"mutability":"mutable","name":"newOwner","nameLocation":"2356:8:0","nodeType":"VariableDeclaration","scope":105,"src":"2348:16:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":84,"name":"address","nodeType":"ElementaryTypeName","src":"2348:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2347:18:0"},"returnParameters":{"id":89,"nodeType":"ParameterList","parameters":[],"src":"2391:0:0"},"scope":131,"src":"2321:198:0","stateMutability":"nonpayable","virtual":true,"visibility":"public"},{"body":{"id":124,"nodeType":"Block","src":"2736:124:0","statements":[{"assignments":[112],"declarations":[{"constant":false,"id":112,"mutability":"mutable","name":"oldOwner","nameLocation":"2754:8:0","nodeType":"VariableDeclaration","scope":124,"src":"2746:16:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":111,"name":"address","nodeType":"ElementaryTypeName","src":"2746:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":114,"initialValue":{"id":113,"name":"_owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10,"src":"2765:6:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"2746:25:0"},{"expression":{"id":117,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":115,"name":"_owner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":10,"src":"2781:6:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":116,"name":"newOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":108,"src":"2790:8:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2781:17:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":118,"nodeType":"ExpressionStatement","src":"2781:17:0"},{"eventCall":{"arguments":[{"id":120,"name":"oldOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":112,"src":"2834:8:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":121,"name":"newOwner","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":108,"src":"2844:8:0","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"id":119,"name":"OwnershipTransferred","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":16,"src":"2813:20:0","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$returns$__$","typeString":"function (address,address)"}},"id":122,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2813:40:0","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":123,"nodeType":"EmitStatement","src":"2808:45:0"}]},"documentation":{"id":106,"nodeType":"StructuredDocumentation","src":"2525:143:0","text":" @dev Transfers ownership of the contract to a new account (`newOwner`).\n Internal function without access restriction."},"id":125,"implemented":true,"kind":"function","modifiers":[],"name":"_transferOwnership","nameLocation":"2682:18:0","nodeType":"FunctionDefinition","parameters":{"id":109,"nodeType":"ParameterList","parameters":[{"constant":false,"id":108,"mutability":"mutable","name":"newOwner","nameLocation":"2709:8:0","nodeType":"VariableDeclaration","scope":125,"src":"2701:16:0","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":107,"name":"address","nodeType":"ElementaryTypeName","src":"2701:7:0","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2700:18:0"},"returnParameters":{"id":110,"nodeType":"ParameterList","parameters":[],"src":"2736:0:0"},"scope":131,"src":"2673:187:0","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"constant":false,"documentation":{"id":126,"nodeType":"StructuredDocumentation","src":"2866:254:0","text":" @dev This empty reserved space is put in place to allow future versions to add new\n variables without shifting down storage in the inheritance chain.\n See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps"},"id":130,"mutability":"mutable","name":"__gap","nameLocation":"3145:5:0","nodeType":"VariableDeclaration","scope":131,"src":"3125:25:0","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$49_storage","typeString":"uint256[49]"},"typeName":{"baseType":{"id":127,"name":"uint256","nodeType":"ElementaryTypeName","src":"3125:7:0","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":129,"length":{"hexValue":"3439","id":128,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3133:2:0","typeDescriptions":{"typeIdentifier":"t_rational_49_by_1","typeString":"int_const 49"},"value":"49"},"nodeType":"ArrayTypeName","src":"3125:11:0","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$49_storage_ptr","typeString":"uint256[49]"}},"visibility":"private"}],"scope":132,"src":"708:2445:0","usedErrors":[]}],"src":"102:3052:0"},"id":0},"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol":{"ast":{"absolutePath":"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol","exportedSymbols":{"AddressUpgradeable":[652],"Initializable":[282]},"id":283,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":133,"literals":["solidity","^","0.8",".2"],"nodeType":"PragmaDirective","src":"113:23:1"},{"absolutePath":"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol","file":"../../utils/AddressUpgradeable.sol","id":134,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":283,"sourceUnit":653,"src":"138:44:1","symbolAliases":[],"unitAlias":""},{"abstract":true,"baseContracts":[],"canonicalName":"Initializable","contractDependencies":[],"contractKind":"contract","documentation":{"id":135,"nodeType":"StructuredDocumentation","src":"184:2198:1","text":" @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\n behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an\n external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\n function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\n The initialization functions use a version number. Once a version number is used, it is consumed and cannot be\n reused. This mechanism prevents re-execution of each \"step\" but allows the creation of new initialization steps in\n case an upgrade adds a module that needs to be initialized.\n For example:\n [.hljs-theme-light.nopadding]\n ```\n contract MyToken is ERC20Upgradeable {\n function initialize() initializer public {\n __ERC20_init(\"MyToken\", \"MTK\");\n }\n }\n contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {\n function initializeV2() reinitializer(2) public {\n __ERC20Permit_init(\"MyToken\");\n }\n }\n ```\n TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\n possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.\n CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\n that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\n [CAUTION]\n ====\n Avoid leaving a contract uninitialized.\n An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation\n contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke\n the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:\n [.hljs-theme-light.nopadding]\n ```\n /// @custom:oz-upgrades-unsafe-allow constructor\n constructor() {\n _disableInitializers();\n }\n ```\n ===="},"fullyImplemented":true,"id":282,"linearizedBaseContracts":[282],"name":"Initializable","nameLocation":"2401:13:1","nodeType":"ContractDefinition","nodes":[{"constant":false,"documentation":{"id":136,"nodeType":"StructuredDocumentation","src":"2421:109:1","text":" @dev Indicates that the contract has been initialized.\n @custom:oz-retyped-from bool"},"id":138,"mutability":"mutable","name":"_initialized","nameLocation":"2549:12:1","nodeType":"VariableDeclaration","scope":282,"src":"2535:26:1","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":137,"name":"uint8","nodeType":"ElementaryTypeName","src":"2535:5:1","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"private"},{"constant":false,"documentation":{"id":139,"nodeType":"StructuredDocumentation","src":"2568:91:1","text":" @dev Indicates that the contract is in the process of being initialized."},"id":141,"mutability":"mutable","name":"_initializing","nameLocation":"2677:13:1","nodeType":"VariableDeclaration","scope":282,"src":"2664:26:1","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":140,"name":"bool","nodeType":"ElementaryTypeName","src":"2664:4:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"private"},{"anonymous":false,"documentation":{"id":142,"nodeType":"StructuredDocumentation","src":"2697:90:1","text":" @dev Triggered when the contract has been initialized or reinitialized."},"eventSelector":"7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498","id":146,"name":"Initialized","nameLocation":"2798:11:1","nodeType":"EventDefinition","parameters":{"id":145,"nodeType":"ParameterList","parameters":[{"constant":false,"id":144,"indexed":false,"mutability":"mutable","name":"version","nameLocation":"2816:7:1","nodeType":"VariableDeclaration","scope":146,"src":"2810:13:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":143,"name":"uint8","nodeType":"ElementaryTypeName","src":"2810:5:1","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"2809:15:1"},"src":"2792:33:1"},{"body":{"id":201,"nodeType":"Block","src":"3101:483:1","statements":[{"assignments":[150],"declarations":[{"constant":false,"id":150,"mutability":"mutable","name":"isTopLevelCall","nameLocation":"3116:14:1","nodeType":"VariableDeclaration","scope":201,"src":"3111:19:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":149,"name":"bool","nodeType":"ElementaryTypeName","src":"3111:4:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":153,"initialValue":{"id":152,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"3133:14:1","subExpression":{"id":151,"name":"_initializing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":141,"src":"3134:13:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"VariableDeclarationStatement","src":"3111:36:1"},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":174,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"components":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":159,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":155,"name":"isTopLevelCall","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":150,"src":"3179:14:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":158,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":156,"name":"_initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":138,"src":"3197:12:1","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"hexValue":"31","id":157,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3212:1:1","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"3197:16:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3179:34:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":160,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3178:36:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"||","rightExpression":{"components":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":172,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":168,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"3219:45:1","subExpression":{"arguments":[{"arguments":[{"id":165,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"3258:4:1","typeDescriptions":{"typeIdentifier":"t_contract$_Initializable_$282","typeString":"contract Initializable"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_Initializable_$282","typeString":"contract Initializable"}],"id":164,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3250:7:1","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":163,"name":"address","nodeType":"ElementaryTypeName","src":"3250:7:1","typeDescriptions":{}}},"id":166,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3250:13:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"id":161,"name":"AddressUpgradeable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":652,"src":"3220:18:1","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_AddressUpgradeable_$652_$","typeString":"type(library AddressUpgradeable)"}},"id":162,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"isContract","nodeType":"MemberAccess","referencedDeclaration":427,"src":"3220:29:1","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_bool_$","typeString":"function (address) view returns (bool)"}},"id":167,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3220:44:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":171,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":169,"name":"_initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":138,"src":"3268:12:1","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"hexValue":"31","id":170,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3284:1:1","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"3268:17:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3219:66:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":173,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"3218:68:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3178:108:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a6564","id":175,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"3300:48:1","typeDescriptions":{"typeIdentifier":"t_stringliteral_7a2a4e26842155ea933fe6eb6e3137eb5a296dcdf55721c552be7b4c3cc23759","typeString":"literal_string \"Initializable: contract is already initialized\""},"value":"Initializable: contract is already initialized"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_7a2a4e26842155ea933fe6eb6e3137eb5a296dcdf55721c552be7b4c3cc23759","typeString":"literal_string \"Initializable: contract is already initialized\""}],"id":154,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"3157:7:1","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":176,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3157:201:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":177,"nodeType":"ExpressionStatement","src":"3157:201:1"},{"expression":{"id":180,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":178,"name":"_initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":138,"src":"3368:12:1","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"31","id":179,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3383:1:1","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"},"src":"3368:16:1","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"id":181,"nodeType":"ExpressionStatement","src":"3368:16:1"},{"condition":{"id":182,"name":"isTopLevelCall","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":150,"src":"3398:14:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":188,"nodeType":"IfStatement","src":"3394:65:1","trueBody":{"id":187,"nodeType":"Block","src":"3414:45:1","statements":[{"expression":{"id":185,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":183,"name":"_initializing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":141,"src":"3428:13:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"74727565","id":184,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"3444:4:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"src":"3428:20:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":186,"nodeType":"ExpressionStatement","src":"3428:20:1"}]}},{"id":189,"nodeType":"PlaceholderStatement","src":"3468:1:1"},{"condition":{"id":190,"name":"isTopLevelCall","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":150,"src":"3483:14:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":200,"nodeType":"IfStatement","src":"3479:99:1","trueBody":{"id":199,"nodeType":"Block","src":"3499:79:1","statements":[{"expression":{"id":193,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":191,"name":"_initializing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":141,"src":"3513:13:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"66616c7365","id":192,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"3529:5:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},"src":"3513:21:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":194,"nodeType":"ExpressionStatement","src":"3513:21:1"},{"eventCall":{"arguments":[{"hexValue":"31","id":196,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3565:1:1","typeDescriptions":{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"},"value":"1"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_rational_1_by_1","typeString":"int_const 1"}],"id":195,"name":"Initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":146,"src":"3553:11:1","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint8_$returns$__$","typeString":"function (uint8)"}},"id":197,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3553:14:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":198,"nodeType":"EmitStatement","src":"3548:19:1"}]}}]},"documentation":{"id":147,"nodeType":"StructuredDocumentation","src":"2831:242:1","text":" @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,\n `onlyInitializing` functions can be used to initialize parent contracts. Equivalent to `reinitializer(1)`."},"id":202,"name":"initializer","nameLocation":"3087:11:1","nodeType":"ModifierDefinition","parameters":{"id":148,"nodeType":"ParameterList","parameters":[],"src":"3098:2:1"},"src":"3078:506:1","virtual":false,"visibility":"internal"},{"body":{"id":234,"nodeType":"Block","src":"4399:255:1","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":213,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":209,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"4417:14:1","subExpression":{"id":208,"name":"_initializing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":141,"src":"4418:13:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":212,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":210,"name":"_initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":138,"src":"4435:12:1","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"id":211,"name":"version","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":205,"src":"4450:7:1","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"4435:22:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"4417:40:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a6564","id":214,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"4459:48:1","typeDescriptions":{"typeIdentifier":"t_stringliteral_7a2a4e26842155ea933fe6eb6e3137eb5a296dcdf55721c552be7b4c3cc23759","typeString":"literal_string \"Initializable: contract is already initialized\""},"value":"Initializable: contract is already initialized"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_7a2a4e26842155ea933fe6eb6e3137eb5a296dcdf55721c552be7b4c3cc23759","typeString":"literal_string \"Initializable: contract is already initialized\""}],"id":207,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"4409:7:1","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":215,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"4409:99:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":216,"nodeType":"ExpressionStatement","src":"4409:99:1"},{"expression":{"id":219,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":217,"name":"_initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":138,"src":"4518:12:1","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":218,"name":"version","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":205,"src":"4533:7:1","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"4518:22:1","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"id":220,"nodeType":"ExpressionStatement","src":"4518:22:1"},{"expression":{"id":223,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":221,"name":"_initializing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":141,"src":"4550:13:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"74727565","id":222,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"4566:4:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"src":"4550:20:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":224,"nodeType":"ExpressionStatement","src":"4550:20:1"},{"id":225,"nodeType":"PlaceholderStatement","src":"4580:1:1"},{"expression":{"id":228,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":226,"name":"_initializing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":141,"src":"4591:13:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"66616c7365","id":227,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"4607:5:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},"src":"4591:21:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":229,"nodeType":"ExpressionStatement","src":"4591:21:1"},{"eventCall":{"arguments":[{"id":231,"name":"version","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":205,"src":"4639:7:1","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":230,"name":"Initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":146,"src":"4627:11:1","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint8_$returns$__$","typeString":"function (uint8)"}},"id":232,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"4627:20:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":233,"nodeType":"EmitStatement","src":"4622:25:1"}]},"documentation":{"id":203,"nodeType":"StructuredDocumentation","src":"3590:766:1","text":" @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the\n contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be\n used to initialize parent contracts.\n `initializer` is equivalent to `reinitializer(1)`, so a reinitializer may be used after the original\n initialization step. This is essential to configure modules that are added through upgrades and that require\n initialization.\n Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in\n a contract, executing them in the right order is up to the developer or operator."},"id":235,"name":"reinitializer","nameLocation":"4370:13:1","nodeType":"ModifierDefinition","parameters":{"id":206,"nodeType":"ParameterList","parameters":[{"constant":false,"id":205,"mutability":"mutable","name":"version","nameLocation":"4390:7:1","nodeType":"VariableDeclaration","scope":235,"src":"4384:13:1","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":204,"name":"uint8","nodeType":"ElementaryTypeName","src":"4384:5:1","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"4383:15:1"},"src":"4361:293:1","virtual":false,"visibility":"internal"},{"body":{"id":244,"nodeType":"Block","src":"4892:97:1","statements":[{"expression":{"arguments":[{"id":239,"name":"_initializing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":141,"src":"4910:13:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"496e697469616c697a61626c653a20636f6e7472616374206973206e6f7420696e697469616c697a696e67","id":240,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"4925:45:1","typeDescriptions":{"typeIdentifier":"t_stringliteral_d688db918bb9dd50354922faa108595679886fe9ff08046ad1ffe30aaea55f8b","typeString":"literal_string \"Initializable: contract is not initializing\""},"value":"Initializable: contract is not initializing"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_d688db918bb9dd50354922faa108595679886fe9ff08046ad1ffe30aaea55f8b","typeString":"literal_string \"Initializable: contract is not initializing\""}],"id":238,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"4902:7:1","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":241,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"4902:69:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":242,"nodeType":"ExpressionStatement","src":"4902:69:1"},{"id":243,"nodeType":"PlaceholderStatement","src":"4981:1:1"}]},"documentation":{"id":236,"nodeType":"StructuredDocumentation","src":"4660:199:1","text":" @dev Modifier to protect an initialization function so that it can only be invoked by functions with the\n {initializer} and {reinitializer} modifiers, directly or indirectly."},"id":245,"name":"onlyInitializing","nameLocation":"4873:16:1","nodeType":"ModifierDefinition","parameters":{"id":237,"nodeType":"ParameterList","parameters":[],"src":"4889:2:1"},"src":"4864:125:1","virtual":false,"visibility":"internal"},{"body":{"id":280,"nodeType":"Block","src":"5437:230:1","statements":[{"expression":{"arguments":[{"id":251,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"5455:14:1","subExpression":{"id":250,"name":"_initializing","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":141,"src":"5456:13:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"496e697469616c697a61626c653a20636f6e747261637420697320696e697469616c697a696e67","id":252,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"5471:41:1","typeDescriptions":{"typeIdentifier":"t_stringliteral_a53f5879e7518078ff19b2e3d6b41e757a87364ec6872787feb45bfc41131d1a","typeString":"literal_string \"Initializable: contract is initializing\""},"value":"Initializable: contract is initializing"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_a53f5879e7518078ff19b2e3d6b41e757a87364ec6872787feb45bfc41131d1a","typeString":"literal_string \"Initializable: contract is initializing\""}],"id":249,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"5447:7:1","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":253,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5447:66:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":254,"nodeType":"ExpressionStatement","src":"5447:66:1"},{"condition":{"commonType":{"typeIdentifier":"t_uint8","typeString":"uint8"},"id":261,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":255,"name":"_initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":138,"src":"5527:12:1","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"arguments":[{"id":258,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5547:5:1","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":257,"name":"uint8","nodeType":"ElementaryTypeName","src":"5547:5:1","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"}],"id":256,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"5542:4:1","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":259,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5542:11:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint8","typeString":"type(uint8)"}},"id":260,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberName":"max","nodeType":"MemberAccess","src":"5542:15:1","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"5527:30:1","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":279,"nodeType":"IfStatement","src":"5523:138:1","trueBody":{"id":278,"nodeType":"Block","src":"5559:102:1","statements":[{"expression":{"id":268,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":262,"name":"_initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":138,"src":"5573:12:1","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"expression":{"arguments":[{"id":265,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5593:5:1","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":264,"name":"uint8","nodeType":"ElementaryTypeName","src":"5593:5:1","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"}],"id":263,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"5588:4:1","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":266,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5588:11:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint8","typeString":"type(uint8)"}},"id":267,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberName":"max","nodeType":"MemberAccess","src":"5588:15:1","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"src":"5573:30:1","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"id":269,"nodeType":"ExpressionStatement","src":"5573:30:1"},{"eventCall":{"arguments":[{"expression":{"arguments":[{"id":273,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5639:5:1","typeDescriptions":{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"},"typeName":{"id":272,"name":"uint8","nodeType":"ElementaryTypeName","src":"5639:5:1","typeDescriptions":{}}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_type$_t_uint8_$","typeString":"type(uint8)"}],"id":271,"name":"type","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-27,"src":"5634:4:1","typeDescriptions":{"typeIdentifier":"t_function_metatype_pure$__$returns$__$","typeString":"function () pure"}},"id":274,"isConstant":false,"isLValue":false,"isPure":true,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5634:11:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_magic_meta_type_t_uint8","typeString":"type(uint8)"}},"id":275,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberName":"max","nodeType":"MemberAccess","src":"5634:15:1","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_uint8","typeString":"uint8"}],"id":270,"name":"Initialized","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":146,"src":"5622:11:1","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_uint8_$returns$__$","typeString":"function (uint8)"}},"id":276,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5622:28:1","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":277,"nodeType":"EmitStatement","src":"5617:33:1"}]}}]},"documentation":{"id":246,"nodeType":"StructuredDocumentation","src":"4995:388:1","text":" @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.\n Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized\n to any version. It is recommended to use this to lock implementation contracts that are designed to be called\n through proxies."},"id":281,"implemented":true,"kind":"function","modifiers":[],"name":"_disableInitializers","nameLocation":"5397:20:1","nodeType":"FunctionDefinition","parameters":{"id":247,"nodeType":"ParameterList","parameters":[],"src":"5417:2:1"},"returnParameters":{"id":248,"nodeType":"ParameterList","parameters":[],"src":"5437:0:1"},"scope":282,"src":"5388:279:1","stateMutability":"nonpayable","virtual":true,"visibility":"internal"}],"scope":283,"src":"2383:3286:1","usedErrors":[]}],"src":"113:5557:1"},"id":1},"@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol":{"ast":{"absolutePath":"@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol","exportedSymbols":{"AddressUpgradeable":[652],"ContextUpgradeable":[694],"Initializable":[282],"PausableUpgradeable":[409]},"id":410,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":284,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"105:23:2"},{"absolutePath":"@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol","file":"../utils/ContextUpgradeable.sol","id":285,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":410,"sourceUnit":695,"src":"130:41:2","symbolAliases":[],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol","file":"../proxy/utils/Initializable.sol","id":286,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":410,"sourceUnit":283,"src":"172:42:2","symbolAliases":[],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":288,"name":"Initializable","nodeType":"IdentifierPath","referencedDeclaration":282,"src":"697:13:2"},"id":289,"nodeType":"InheritanceSpecifier","src":"697:13:2"},{"baseName":{"id":290,"name":"ContextUpgradeable","nodeType":"IdentifierPath","referencedDeclaration":694,"src":"712:18:2"},"id":291,"nodeType":"InheritanceSpecifier","src":"712:18:2"}],"canonicalName":"PausableUpgradeable","contractDependencies":[],"contractKind":"contract","documentation":{"id":287,"nodeType":"StructuredDocumentation","src":"216:439:2","text":" @dev Contract module which allows children to implement an emergency stop\n mechanism that can be triggered by an authorized account.\n This module is used through inheritance. It will make available the\n modifiers `whenNotPaused` and `whenPaused`, which can be applied to\n the functions of your contract. Note that they will not be pausable by\n simply including this module, only once the modifiers are put in place."},"fullyImplemented":true,"id":409,"linearizedBaseContracts":[409,694,282],"name":"PausableUpgradeable","nameLocation":"674:19:2","nodeType":"ContractDefinition","nodes":[{"anonymous":false,"documentation":{"id":292,"nodeType":"StructuredDocumentation","src":"737:73:2","text":" @dev Emitted when the pause is triggered by `account`."},"eventSelector":"62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258","id":296,"name":"Paused","nameLocation":"821:6:2","nodeType":"EventDefinition","parameters":{"id":295,"nodeType":"ParameterList","parameters":[{"constant":false,"id":294,"indexed":false,"mutability":"mutable","name":"account","nameLocation":"836:7:2","nodeType":"VariableDeclaration","scope":296,"src":"828:15:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":293,"name":"address","nodeType":"ElementaryTypeName","src":"828:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"827:17:2"},"src":"815:30:2"},{"anonymous":false,"documentation":{"id":297,"nodeType":"StructuredDocumentation","src":"851:70:2","text":" @dev Emitted when the pause is lifted by `account`."},"eventSelector":"5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa","id":301,"name":"Unpaused","nameLocation":"932:8:2","nodeType":"EventDefinition","parameters":{"id":300,"nodeType":"ParameterList","parameters":[{"constant":false,"id":299,"indexed":false,"mutability":"mutable","name":"account","nameLocation":"949:7:2","nodeType":"VariableDeclaration","scope":301,"src":"941:15:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":298,"name":"address","nodeType":"ElementaryTypeName","src":"941:7:2","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"940:17:2"},"src":"926:32:2"},{"constant":false,"id":303,"mutability":"mutable","name":"_paused","nameLocation":"977:7:2","nodeType":"VariableDeclaration","scope":409,"src":"964:20:2","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":302,"name":"bool","nodeType":"ElementaryTypeName","src":"964:4:2","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"private"},{"body":{"id":312,"nodeType":"Block","src":"1116:44:2","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":309,"name":"__Pausable_init_unchained","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":323,"src":"1126:25:2","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$__$returns$__$","typeString":"function ()"}},"id":310,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1126:27:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":311,"nodeType":"ExpressionStatement","src":"1126:27:2"}]},"documentation":{"id":304,"nodeType":"StructuredDocumentation","src":"991:67:2","text":" @dev Initializes the contract in unpaused state."},"id":313,"implemented":true,"kind":"function","modifiers":[{"id":307,"kind":"modifierInvocation","modifierName":{"id":306,"name":"onlyInitializing","nodeType":"IdentifierPath","referencedDeclaration":245,"src":"1099:16:2"},"nodeType":"ModifierInvocation","src":"1099:16:2"}],"name":"__Pausable_init","nameLocation":"1072:15:2","nodeType":"FunctionDefinition","parameters":{"id":305,"nodeType":"ParameterList","parameters":[],"src":"1087:2:2"},"returnParameters":{"id":308,"nodeType":"ParameterList","parameters":[],"src":"1116:0:2"},"scope":409,"src":"1063:97:2","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":322,"nodeType":"Block","src":"1229:32:2","statements":[{"expression":{"id":320,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":318,"name":"_paused","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":303,"src":"1239:7:2","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"66616c7365","id":319,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"1249:5:2","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},"src":"1239:15:2","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":321,"nodeType":"ExpressionStatement","src":"1239:15:2"}]},"id":323,"implemented":true,"kind":"function","modifiers":[{"id":316,"kind":"modifierInvocation","modifierName":{"id":315,"name":"onlyInitializing","nodeType":"IdentifierPath","referencedDeclaration":245,"src":"1212:16:2"},"nodeType":"ModifierInvocation","src":"1212:16:2"}],"name":"__Pausable_init_unchained","nameLocation":"1175:25:2","nodeType":"FunctionDefinition","parameters":{"id":314,"nodeType":"ParameterList","parameters":[],"src":"1200:2:2"},"returnParameters":{"id":317,"nodeType":"ParameterList","parameters":[],"src":"1229:0:2"},"scope":409,"src":"1166:95:2","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":330,"nodeType":"Block","src":"1472:47:2","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":326,"name":"_requireNotPaused","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":360,"src":"1482:17:2","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$__$","typeString":"function () view"}},"id":327,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1482:19:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":328,"nodeType":"ExpressionStatement","src":"1482:19:2"},{"id":329,"nodeType":"PlaceholderStatement","src":"1511:1:2"}]},"documentation":{"id":324,"nodeType":"StructuredDocumentation","src":"1267:175:2","text":" @dev Modifier to make a function callable only when the contract is not paused.\n Requirements:\n - The contract must not be paused."},"id":331,"name":"whenNotPaused","nameLocation":"1456:13:2","nodeType":"ModifierDefinition","parameters":{"id":325,"nodeType":"ParameterList","parameters":[],"src":"1469:2:2"},"src":"1447:72:2","virtual":false,"visibility":"internal"},{"body":{"id":338,"nodeType":"Block","src":"1719:44:2","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":334,"name":"_requirePaused","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":371,"src":"1729:14:2","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$__$","typeString":"function () view"}},"id":335,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1729:16:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":336,"nodeType":"ExpressionStatement","src":"1729:16:2"},{"id":337,"nodeType":"PlaceholderStatement","src":"1755:1:2"}]},"documentation":{"id":332,"nodeType":"StructuredDocumentation","src":"1525:167:2","text":" @dev Modifier to make a function callable only when the contract is paused.\n Requirements:\n - The contract must be paused."},"id":339,"name":"whenPaused","nameLocation":"1706:10:2","nodeType":"ModifierDefinition","parameters":{"id":333,"nodeType":"ParameterList","parameters":[],"src":"1716:2:2"},"src":"1697:66:2","virtual":false,"visibility":"internal"},{"body":{"id":347,"nodeType":"Block","src":"1911:31:2","statements":[{"expression":{"id":345,"name":"_paused","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":303,"src":"1928:7:2","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":344,"id":346,"nodeType":"Return","src":"1921:14:2"}]},"documentation":{"id":340,"nodeType":"StructuredDocumentation","src":"1769:84:2","text":" @dev Returns true if the contract is paused, and false otherwise."},"functionSelector":"5c975abb","id":348,"implemented":true,"kind":"function","modifiers":[],"name":"paused","nameLocation":"1867:6:2","nodeType":"FunctionDefinition","parameters":{"id":341,"nodeType":"ParameterList","parameters":[],"src":"1873:2:2"},"returnParameters":{"id":344,"nodeType":"ParameterList","parameters":[{"constant":false,"id":343,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":348,"src":"1905:4:2","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":342,"name":"bool","nodeType":"ElementaryTypeName","src":"1905:4:2","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1904:6:2"},"scope":409,"src":"1858:84:2","stateMutability":"view","virtual":true,"visibility":"public"},{"body":{"id":359,"nodeType":"Block","src":"2061:55:2","statements":[{"expression":{"arguments":[{"id":355,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"2079:9:2","subExpression":{"arguments":[],"expression":{"argumentTypes":[],"id":353,"name":"paused","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":348,"src":"2080:6:2","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_bool_$","typeString":"function () view returns (bool)"}},"id":354,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2080:8:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"5061757361626c653a20706175736564","id":356,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2090:18:2","typeDescriptions":{"typeIdentifier":"t_stringliteral_68571e1369f7a6dcdcd736cb0343b35a58ed0f64d245c2ed839c98d412744f8a","typeString":"literal_string \"Pausable: paused\""},"value":"Pausable: paused"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_68571e1369f7a6dcdcd736cb0343b35a58ed0f64d245c2ed839c98d412744f8a","typeString":"literal_string \"Pausable: paused\""}],"id":352,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"2071:7:2","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":357,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2071:38:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":358,"nodeType":"ExpressionStatement","src":"2071:38:2"}]},"documentation":{"id":349,"nodeType":"StructuredDocumentation","src":"1948:57:2","text":" @dev Throws if the contract is paused."},"id":360,"implemented":true,"kind":"function","modifiers":[],"name":"_requireNotPaused","nameLocation":"2019:17:2","nodeType":"FunctionDefinition","parameters":{"id":350,"nodeType":"ParameterList","parameters":[],"src":"2036:2:2"},"returnParameters":{"id":351,"nodeType":"ParameterList","parameters":[],"src":"2061:0:2"},"scope":409,"src":"2010:106:2","stateMutability":"view","virtual":true,"visibility":"internal"},{"body":{"id":370,"nodeType":"Block","src":"2236:58:2","statements":[{"expression":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"id":365,"name":"paused","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":348,"src":"2254:6:2","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_bool_$","typeString":"function () view returns (bool)"}},"id":366,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2254:8:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"5061757361626c653a206e6f7420706175736564","id":367,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2264:22:2","typeDescriptions":{"typeIdentifier":"t_stringliteral_0d1d997348c4b502650619e51f7d09f80514d98b6993be5051d07f703984619a","typeString":"literal_string \"Pausable: not paused\""},"value":"Pausable: not paused"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_0d1d997348c4b502650619e51f7d09f80514d98b6993be5051d07f703984619a","typeString":"literal_string \"Pausable: not paused\""}],"id":364,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"2246:7:2","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":368,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2246:41:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":369,"nodeType":"ExpressionStatement","src":"2246:41:2"}]},"documentation":{"id":361,"nodeType":"StructuredDocumentation","src":"2122:61:2","text":" @dev Throws if the contract is not paused."},"id":371,"implemented":true,"kind":"function","modifiers":[],"name":"_requirePaused","nameLocation":"2197:14:2","nodeType":"FunctionDefinition","parameters":{"id":362,"nodeType":"ParameterList","parameters":[],"src":"2211:2:2"},"returnParameters":{"id":363,"nodeType":"ParameterList","parameters":[],"src":"2236:0:2"},"scope":409,"src":"2188:106:2","stateMutability":"view","virtual":true,"visibility":"internal"},{"body":{"id":386,"nodeType":"Block","src":"2478:66:2","statements":[{"expression":{"id":379,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":377,"name":"_paused","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":303,"src":"2488:7:2","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"74727565","id":378,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"2498:4:2","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"src":"2488:14:2","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":380,"nodeType":"ExpressionStatement","src":"2488:14:2"},{"eventCall":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"id":382,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":679,"src":"2524:10:2","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":383,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2524:12:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":381,"name":"Paused","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":296,"src":"2517:6:2","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":384,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2517:20:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":385,"nodeType":"EmitStatement","src":"2512:25:2"}]},"documentation":{"id":372,"nodeType":"StructuredDocumentation","src":"2300:124:2","text":" @dev Triggers stopped state.\n Requirements:\n - The contract must not be paused."},"id":387,"implemented":true,"kind":"function","modifiers":[{"id":375,"kind":"modifierInvocation","modifierName":{"id":374,"name":"whenNotPaused","nodeType":"IdentifierPath","referencedDeclaration":331,"src":"2464:13:2"},"nodeType":"ModifierInvocation","src":"2464:13:2"}],"name":"_pause","nameLocation":"2438:6:2","nodeType":"FunctionDefinition","parameters":{"id":373,"nodeType":"ParameterList","parameters":[],"src":"2444:2:2"},"returnParameters":{"id":376,"nodeType":"ParameterList","parameters":[],"src":"2478:0:2"},"scope":409,"src":"2429:115:2","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"body":{"id":402,"nodeType":"Block","src":"2724:69:2","statements":[{"expression":{"id":395,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":393,"name":"_paused","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":303,"src":"2734:7:2","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"66616c7365","id":394,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"2744:5:2","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},"src":"2734:15:2","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":396,"nodeType":"ExpressionStatement","src":"2734:15:2"},{"eventCall":{"arguments":[{"arguments":[],"expression":{"argumentTypes":[],"id":398,"name":"_msgSender","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":679,"src":"2773:10:2","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_address_$","typeString":"function () view returns (address)"}},"id":399,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2773:12:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":397,"name":"Unpaused","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":301,"src":"2764:8:2","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$returns$__$","typeString":"function (address)"}},"id":400,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2764:22:2","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":401,"nodeType":"EmitStatement","src":"2759:27:2"}]},"documentation":{"id":388,"nodeType":"StructuredDocumentation","src":"2550:121:2","text":" @dev Returns to normal state.\n Requirements:\n - The contract must be paused."},"id":403,"implemented":true,"kind":"function","modifiers":[{"id":391,"kind":"modifierInvocation","modifierName":{"id":390,"name":"whenPaused","nodeType":"IdentifierPath","referencedDeclaration":339,"src":"2713:10:2"},"nodeType":"ModifierInvocation","src":"2713:10:2"}],"name":"_unpause","nameLocation":"2685:8:2","nodeType":"FunctionDefinition","parameters":{"id":389,"nodeType":"ParameterList","parameters":[],"src":"2693:2:2"},"returnParameters":{"id":392,"nodeType":"ParameterList","parameters":[],"src":"2724:0:2"},"scope":409,"src":"2676:117:2","stateMutability":"nonpayable","virtual":true,"visibility":"internal"},{"constant":false,"documentation":{"id":404,"nodeType":"StructuredDocumentation","src":"2799:254:2","text":" @dev This empty reserved space is put in place to allow future versions to add new\n variables without shifting down storage in the inheritance chain.\n See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps"},"id":408,"mutability":"mutable","name":"__gap","nameLocation":"3078:5:2","nodeType":"VariableDeclaration","scope":409,"src":"3058:25:2","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$49_storage","typeString":"uint256[49]"},"typeName":{"baseType":{"id":405,"name":"uint256","nodeType":"ElementaryTypeName","src":"3058:7:2","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":407,"length":{"hexValue":"3439","id":406,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3066:2:2","typeDescriptions":{"typeIdentifier":"t_rational_49_by_1","typeString":"int_const 49"},"value":"49"},"nodeType":"ArrayTypeName","src":"3058:11:2","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$49_storage_ptr","typeString":"uint256[49]"}},"visibility":"private"}],"scope":410,"src":"656:2430:2","usedErrors":[]}],"src":"105:2982:2"},"id":2},"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol":{"ast":{"absolutePath":"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol","exportedSymbols":{"AddressUpgradeable":[652]},"id":653,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":411,"literals":["solidity","^","0.8",".1"],"nodeType":"PragmaDirective","src":"101:23:3"},{"abstract":false,"baseContracts":[],"canonicalName":"AddressUpgradeable","contractDependencies":[],"contractKind":"library","documentation":{"id":412,"nodeType":"StructuredDocumentation","src":"126:67:3","text":" @dev Collection of functions related to the address type"},"fullyImplemented":true,"id":652,"linearizedBaseContracts":[652],"name":"AddressUpgradeable","nameLocation":"202:18:3","nodeType":"ContractDefinition","nodes":[{"body":{"id":426,"nodeType":"Block","src":"1252:254:3","statements":[{"expression":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":424,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"expression":{"id":420,"name":"account","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":415,"src":"1476:7:3","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":421,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"code","nodeType":"MemberAccess","src":"1476:12:3","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":422,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"length","nodeType":"MemberAccess","src":"1476:19:3","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":423,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1498:1:3","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"1476:23:3","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"functionReturnParameters":419,"id":425,"nodeType":"Return","src":"1469:30:3"}]},"documentation":{"id":413,"nodeType":"StructuredDocumentation","src":"227:954:3","text":" @dev Returns true if `account` is a contract.\n [IMPORTANT]\n ====\n It is unsafe to assume that an address for which this function returns\n false is an externally-owned account (EOA) and not a contract.\n Among others, `isContract` will return false for the following\n types of addresses:\n - an externally-owned account\n - a contract in construction\n - an address where a contract will be created\n - an address where a contract lived, but was destroyed\n ====\n [IMPORTANT]\n ====\n You shouldn't rely on `isContract` to protect against flash loan attacks!\n Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\n like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\n constructor.\n ===="},"id":427,"implemented":true,"kind":"function","modifiers":[],"name":"isContract","nameLocation":"1195:10:3","nodeType":"FunctionDefinition","parameters":{"id":416,"nodeType":"ParameterList","parameters":[{"constant":false,"id":415,"mutability":"mutable","name":"account","nameLocation":"1214:7:3","nodeType":"VariableDeclaration","scope":427,"src":"1206:15:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":414,"name":"address","nodeType":"ElementaryTypeName","src":"1206:7:3","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1205:17:3"},"returnParameters":{"id":419,"nodeType":"ParameterList","parameters":[{"constant":false,"id":418,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":427,"src":"1246:4:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":417,"name":"bool","nodeType":"ElementaryTypeName","src":"1246:4:3","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1245:6:3"},"scope":652,"src":"1186:320:3","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":460,"nodeType":"Block","src":"2494:241:3","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":442,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"arguments":[{"id":438,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"2520:4:3","typeDescriptions":{"typeIdentifier":"t_contract$_AddressUpgradeable_$652","typeString":"library AddressUpgradeable"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_AddressUpgradeable_$652","typeString":"library AddressUpgradeable"}],"id":437,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2512:7:3","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":436,"name":"address","nodeType":"ElementaryTypeName","src":"2512:7:3","typeDescriptions":{}}},"id":439,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2512:13:3","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":440,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"balance","nodeType":"MemberAccess","src":"2512:21:3","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"id":441,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":432,"src":"2537:6:3","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"2512:31:3","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"416464726573733a20696e73756666696369656e742062616c616e6365","id":443,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2545:31:3","typeDescriptions":{"typeIdentifier":"t_stringliteral_5597a22abd0ef5332f8053862eb236db7590f17e2b93a53f63a103becfb561f9","typeString":"literal_string \"Address: insufficient balance\""},"value":"Address: insufficient balance"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_5597a22abd0ef5332f8053862eb236db7590f17e2b93a53f63a103becfb561f9","typeString":"literal_string \"Address: insufficient balance\""}],"id":435,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"2504:7:3","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":444,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2504:73:3","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":445,"nodeType":"ExpressionStatement","src":"2504:73:3"},{"assignments":[447,null],"declarations":[{"constant":false,"id":447,"mutability":"mutable","name":"success","nameLocation":"2594:7:3","nodeType":"VariableDeclaration","scope":460,"src":"2589:12:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":446,"name":"bool","nodeType":"ElementaryTypeName","src":"2589:4:3","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},null],"id":454,"initialValue":{"arguments":[{"hexValue":"","id":452,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2637:2:3","typeDescriptions":{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""},"value":""}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""}],"expression":{"argumentTypes":[{"typeIdentifier":"t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470","typeString":"literal_string \"\""}],"expression":{"id":448,"name":"recipient","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":430,"src":"2607:9:3","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"}},"id":449,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"call","nodeType":"MemberAccess","src":"2607:14:3","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":451,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"names":["value"],"nodeType":"FunctionCallOptions","options":[{"id":450,"name":"amount","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":432,"src":"2629:6:3","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"src":"2607:29:3","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":453,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2607:33:3","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"VariableDeclarationStatement","src":"2588:52:3"},{"expression":{"arguments":[{"id":456,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":447,"src":"2658:7:3","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564","id":457,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2667:60:3","typeDescriptions":{"typeIdentifier":"t_stringliteral_51ddaa38748c0a1144620fb5bfe8edab31ea437571ad591a7734bbfd0429aeae","typeString":"literal_string \"Address: unable to send value, recipient may have reverted\""},"value":"Address: unable to send value, recipient may have reverted"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_51ddaa38748c0a1144620fb5bfe8edab31ea437571ad591a7734bbfd0429aeae","typeString":"literal_string \"Address: unable to send value, recipient may have reverted\""}],"id":455,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"2650:7:3","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":458,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2650:78:3","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":459,"nodeType":"ExpressionStatement","src":"2650:78:3"}]},"documentation":{"id":428,"nodeType":"StructuredDocumentation","src":"1512:906:3","text":" @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]."},"id":461,"implemented":true,"kind":"function","modifiers":[],"name":"sendValue","nameLocation":"2432:9:3","nodeType":"FunctionDefinition","parameters":{"id":433,"nodeType":"ParameterList","parameters":[{"constant":false,"id":430,"mutability":"mutable","name":"recipient","nameLocation":"2458:9:3","nodeType":"VariableDeclaration","scope":461,"src":"2442:25:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"},"typeName":{"id":429,"name":"address","nodeType":"ElementaryTypeName","src":"2442:15:3","stateMutability":"payable","typeDescriptions":{"typeIdentifier":"t_address_payable","typeString":"address payable"}},"visibility":"internal"},{"constant":false,"id":432,"mutability":"mutable","name":"amount","nameLocation":"2477:6:3","nodeType":"VariableDeclaration","scope":461,"src":"2469:14:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":431,"name":"uint256","nodeType":"ElementaryTypeName","src":"2469:7:3","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2441:43:3"},"returnParameters":{"id":434,"nodeType":"ParameterList","parameters":[],"src":"2494:0:3"},"scope":652,"src":"2423:312:3","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":477,"nodeType":"Block","src":"3566:84:3","statements":[{"expression":{"arguments":[{"id":472,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":464,"src":"3596:6:3","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":473,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":466,"src":"3604:4:3","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"416464726573733a206c6f772d6c6576656c2063616c6c206661696c6564","id":474,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"3610:32:3","typeDescriptions":{"typeIdentifier":"t_stringliteral_24d7ab5d382116e64324f19950ca9340b8af1ddeb09a8d026e0a3c6a01dcc9df","typeString":"literal_string \"Address: low-level call failed\""},"value":"Address: low-level call failed"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_stringliteral_24d7ab5d382116e64324f19950ca9340b8af1ddeb09a8d026e0a3c6a01dcc9df","typeString":"literal_string \"Address: low-level call failed\""}],"id":471,"name":"functionCall","nodeType":"Identifier","overloadedDeclarations":[478,498],"referencedDeclaration":498,"src":"3583:12:3","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (address,bytes memory,string memory) returns (bytes memory)"}},"id":475,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3583:60:3","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":470,"id":476,"nodeType":"Return","src":"3576:67:3"}]},"documentation":{"id":462,"nodeType":"StructuredDocumentation","src":"2741:731:3","text":" @dev Performs a Solidity function call using a low level `call`. A\n plain `call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason, it is bubbled up by this\n function (like regular Solidity function calls).\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert.\n _Available since v3.1._"},"id":478,"implemented":true,"kind":"function","modifiers":[],"name":"functionCall","nameLocation":"3486:12:3","nodeType":"FunctionDefinition","parameters":{"id":467,"nodeType":"ParameterList","parameters":[{"constant":false,"id":464,"mutability":"mutable","name":"target","nameLocation":"3507:6:3","nodeType":"VariableDeclaration","scope":478,"src":"3499:14:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":463,"name":"address","nodeType":"ElementaryTypeName","src":"3499:7:3","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":466,"mutability":"mutable","name":"data","nameLocation":"3528:4:3","nodeType":"VariableDeclaration","scope":478,"src":"3515:17:3","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":465,"name":"bytes","nodeType":"ElementaryTypeName","src":"3515:5:3","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"3498:35:3"},"returnParameters":{"id":470,"nodeType":"ParameterList","parameters":[{"constant":false,"id":469,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":478,"src":"3552:12:3","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":468,"name":"bytes","nodeType":"ElementaryTypeName","src":"3552:5:3","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"3551:14:3"},"scope":652,"src":"3477:173:3","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":497,"nodeType":"Block","src":"4019:76:3","statements":[{"expression":{"arguments":[{"id":491,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":481,"src":"4058:6:3","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":492,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":483,"src":"4066:4:3","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"30","id":493,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"4072:1:3","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},{"id":494,"name":"errorMessage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":485,"src":"4075:12:3","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":490,"name":"functionCallWithValue","nodeType":"Identifier","overloadedDeclarations":[518,568],"referencedDeclaration":568,"src":"4036:21:3","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (address,bytes memory,uint256,string memory) returns (bytes memory)"}},"id":495,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"4036:52:3","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":489,"id":496,"nodeType":"Return","src":"4029:59:3"}]},"documentation":{"id":479,"nodeType":"StructuredDocumentation","src":"3656:211:3","text":" @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._"},"id":498,"implemented":true,"kind":"function","modifiers":[],"name":"functionCall","nameLocation":"3881:12:3","nodeType":"FunctionDefinition","parameters":{"id":486,"nodeType":"ParameterList","parameters":[{"constant":false,"id":481,"mutability":"mutable","name":"target","nameLocation":"3911:6:3","nodeType":"VariableDeclaration","scope":498,"src":"3903:14:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":480,"name":"address","nodeType":"ElementaryTypeName","src":"3903:7:3","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":483,"mutability":"mutable","name":"data","nameLocation":"3940:4:3","nodeType":"VariableDeclaration","scope":498,"src":"3927:17:3","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":482,"name":"bytes","nodeType":"ElementaryTypeName","src":"3927:5:3","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":485,"mutability":"mutable","name":"errorMessage","nameLocation":"3968:12:3","nodeType":"VariableDeclaration","scope":498,"src":"3954:26:3","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":484,"name":"string","nodeType":"ElementaryTypeName","src":"3954:6:3","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"3893:93:3"},"returnParameters":{"id":489,"nodeType":"ParameterList","parameters":[{"constant":false,"id":488,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":498,"src":"4005:12:3","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":487,"name":"bytes","nodeType":"ElementaryTypeName","src":"4005:5:3","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4004:14:3"},"scope":652,"src":"3872:223:3","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":517,"nodeType":"Block","src":"4600:111:3","statements":[{"expression":{"arguments":[{"id":511,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":501,"src":"4639:6:3","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":512,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":503,"src":"4647:4:3","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":513,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":505,"src":"4653:5:3","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"hexValue":"416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564","id":514,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"4660:43:3","typeDescriptions":{"typeIdentifier":"t_stringliteral_88a4a0b5e975840320a0475d4027005235904fdb5ece94df156f3d717cb2dbfc","typeString":"literal_string \"Address: low-level call with value failed\""},"value":"Address: low-level call with value failed"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_stringliteral_88a4a0b5e975840320a0475d4027005235904fdb5ece94df156f3d717cb2dbfc","typeString":"literal_string \"Address: low-level call with value failed\""}],"id":510,"name":"functionCallWithValue","nodeType":"Identifier","overloadedDeclarations":[518,568],"referencedDeclaration":568,"src":"4617:21:3","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (address,bytes memory,uint256,string memory) returns (bytes memory)"}},"id":515,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"4617:87:3","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":509,"id":516,"nodeType":"Return","src":"4610:94:3"}]},"documentation":{"id":499,"nodeType":"StructuredDocumentation","src":"4101:351:3","text":" @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`.\n _Available since v3.1._"},"id":518,"implemented":true,"kind":"function","modifiers":[],"name":"functionCallWithValue","nameLocation":"4466:21:3","nodeType":"FunctionDefinition","parameters":{"id":506,"nodeType":"ParameterList","parameters":[{"constant":false,"id":501,"mutability":"mutable","name":"target","nameLocation":"4505:6:3","nodeType":"VariableDeclaration","scope":518,"src":"4497:14:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":500,"name":"address","nodeType":"ElementaryTypeName","src":"4497:7:3","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":503,"mutability":"mutable","name":"data","nameLocation":"4534:4:3","nodeType":"VariableDeclaration","scope":518,"src":"4521:17:3","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":502,"name":"bytes","nodeType":"ElementaryTypeName","src":"4521:5:3","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":505,"mutability":"mutable","name":"value","nameLocation":"4556:5:3","nodeType":"VariableDeclaration","scope":518,"src":"4548:13:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":504,"name":"uint256","nodeType":"ElementaryTypeName","src":"4548:7:3","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"4487:80:3"},"returnParameters":{"id":509,"nodeType":"ParameterList","parameters":[{"constant":false,"id":508,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":518,"src":"4586:12:3","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":507,"name":"bytes","nodeType":"ElementaryTypeName","src":"4586:5:3","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"4585:14:3"},"scope":652,"src":"4457:254:3","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":567,"nodeType":"Block","src":"5138:320:3","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":539,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"arguments":[{"id":535,"name":"this","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-28,"src":"5164:4:3","typeDescriptions":{"typeIdentifier":"t_contract$_AddressUpgradeable_$652","typeString":"library AddressUpgradeable"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_AddressUpgradeable_$652","typeString":"library AddressUpgradeable"}],"id":534,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5156:7:3","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":533,"name":"address","nodeType":"ElementaryTypeName","src":"5156:7:3","typeDescriptions":{}}},"id":536,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5156:13:3","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":537,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"balance","nodeType":"MemberAccess","src":"5156:21:3","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">=","rightExpression":{"id":538,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":525,"src":"5181:5:3","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"5156:30:3","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c","id":540,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"5188:40:3","typeDescriptions":{"typeIdentifier":"t_stringliteral_565f1a77334fc4792800921178c71e4521acffab18ff9e7885b49377ee80ab4c","typeString":"literal_string \"Address: insufficient balance for call\""},"value":"Address: insufficient balance for call"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_565f1a77334fc4792800921178c71e4521acffab18ff9e7885b49377ee80ab4c","typeString":"literal_string \"Address: insufficient balance for call\""}],"id":532,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"5148:7:3","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":541,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5148:81:3","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":542,"nodeType":"ExpressionStatement","src":"5148:81:3"},{"expression":{"arguments":[{"arguments":[{"id":545,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":521,"src":"5258:6:3","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":544,"name":"isContract","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":427,"src":"5247:10:3","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_bool_$","typeString":"function (address) view returns (bool)"}},"id":546,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5247:18:3","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374","id":547,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"5267:31:3","typeDescriptions":{"typeIdentifier":"t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad","typeString":"literal_string \"Address: call to non-contract\""},"value":"Address: call to non-contract"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad","typeString":"literal_string \"Address: call to non-contract\""}],"id":543,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"5239:7:3","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":548,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5239:60:3","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":549,"nodeType":"ExpressionStatement","src":"5239:60:3"},{"assignments":[551,553],"declarations":[{"constant":false,"id":551,"mutability":"mutable","name":"success","nameLocation":"5316:7:3","nodeType":"VariableDeclaration","scope":567,"src":"5311:12:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":550,"name":"bool","nodeType":"ElementaryTypeName","src":"5311:4:3","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":553,"mutability":"mutable","name":"returndata","nameLocation":"5338:10:3","nodeType":"VariableDeclaration","scope":567,"src":"5325:23:3","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":552,"name":"bytes","nodeType":"ElementaryTypeName","src":"5325:5:3","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":560,"initialValue":{"arguments":[{"id":558,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":523,"src":"5378:4:3","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":554,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":521,"src":"5352:6:3","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":555,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"call","nodeType":"MemberAccess","src":"5352:11:3","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":557,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"names":["value"],"nodeType":"FunctionCallOptions","options":[{"id":556,"name":"value","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":525,"src":"5371:5:3","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"src":"5352:25:3","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":559,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5352:31:3","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"VariableDeclarationStatement","src":"5310:73:3"},{"expression":{"arguments":[{"id":562,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":551,"src":"5417:7:3","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":563,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":553,"src":"5426:10:3","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":564,"name":"errorMessage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":527,"src":"5438:12:3","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":561,"name":"verifyCallResult","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":651,"src":"5400:16:3","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (bool,bytes memory,string memory) pure returns (bytes memory)"}},"id":565,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5400:51:3","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":531,"id":566,"nodeType":"Return","src":"5393:58:3"}]},"documentation":{"id":519,"nodeType":"StructuredDocumentation","src":"4717:237:3","text":" @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n with `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._"},"id":568,"implemented":true,"kind":"function","modifiers":[],"name":"functionCallWithValue","nameLocation":"4968:21:3","nodeType":"FunctionDefinition","parameters":{"id":528,"nodeType":"ParameterList","parameters":[{"constant":false,"id":521,"mutability":"mutable","name":"target","nameLocation":"5007:6:3","nodeType":"VariableDeclaration","scope":568,"src":"4999:14:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":520,"name":"address","nodeType":"ElementaryTypeName","src":"4999:7:3","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":523,"mutability":"mutable","name":"data","nameLocation":"5036:4:3","nodeType":"VariableDeclaration","scope":568,"src":"5023:17:3","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":522,"name":"bytes","nodeType":"ElementaryTypeName","src":"5023:5:3","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":525,"mutability":"mutable","name":"value","nameLocation":"5058:5:3","nodeType":"VariableDeclaration","scope":568,"src":"5050:13:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":524,"name":"uint256","nodeType":"ElementaryTypeName","src":"5050:7:3","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":527,"mutability":"mutable","name":"errorMessage","nameLocation":"5087:12:3","nodeType":"VariableDeclaration","scope":568,"src":"5073:26:3","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":526,"name":"string","nodeType":"ElementaryTypeName","src":"5073:6:3","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"4989:116:3"},"returnParameters":{"id":531,"nodeType":"ParameterList","parameters":[{"constant":false,"id":530,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":568,"src":"5124:12:3","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":529,"name":"bytes","nodeType":"ElementaryTypeName","src":"5124:5:3","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5123:14:3"},"scope":652,"src":"4959:499:3","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":584,"nodeType":"Block","src":"5735:97:3","statements":[{"expression":{"arguments":[{"id":579,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":571,"src":"5771:6:3","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":580,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":573,"src":"5779:4:3","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"hexValue":"416464726573733a206c6f772d6c6576656c207374617469632063616c6c206661696c6564","id":581,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"5785:39:3","typeDescriptions":{"typeIdentifier":"t_stringliteral_90ec82aa826a536a4cbfae44ecfa384680faa9a4b77344bce96aa761ad904df0","typeString":"literal_string \"Address: low-level static call failed\""},"value":"Address: low-level static call failed"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_stringliteral_90ec82aa826a536a4cbfae44ecfa384680faa9a4b77344bce96aa761ad904df0","typeString":"literal_string \"Address: low-level static call failed\""}],"id":578,"name":"functionStaticCall","nodeType":"Identifier","overloadedDeclarations":[585,620],"referencedDeclaration":620,"src":"5752:18:3","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (address,bytes memory,string memory) view returns (bytes memory)"}},"id":582,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5752:73:3","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":577,"id":583,"nodeType":"Return","src":"5745:80:3"}]},"documentation":{"id":569,"nodeType":"StructuredDocumentation","src":"5464:166:3","text":" @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._"},"id":585,"implemented":true,"kind":"function","modifiers":[],"name":"functionStaticCall","nameLocation":"5644:18:3","nodeType":"FunctionDefinition","parameters":{"id":574,"nodeType":"ParameterList","parameters":[{"constant":false,"id":571,"mutability":"mutable","name":"target","nameLocation":"5671:6:3","nodeType":"VariableDeclaration","scope":585,"src":"5663:14:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":570,"name":"address","nodeType":"ElementaryTypeName","src":"5663:7:3","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":573,"mutability":"mutable","name":"data","nameLocation":"5692:4:3","nodeType":"VariableDeclaration","scope":585,"src":"5679:17:3","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":572,"name":"bytes","nodeType":"ElementaryTypeName","src":"5679:5:3","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5662:35:3"},"returnParameters":{"id":577,"nodeType":"ParameterList","parameters":[{"constant":false,"id":576,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":585,"src":"5721:12:3","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":575,"name":"bytes","nodeType":"ElementaryTypeName","src":"5721:5:3","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"5720:14:3"},"scope":652,"src":"5635:197:3","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":619,"nodeType":"Block","src":"6174:228:3","statements":[{"expression":{"arguments":[{"arguments":[{"id":599,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":588,"src":"6203:6:3","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":598,"name":"isContract","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":427,"src":"6192:10:3","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_bool_$","typeString":"function (address) view returns (bool)"}},"id":600,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"6192:18:3","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"416464726573733a207374617469632063616c6c20746f206e6f6e2d636f6e7472616374","id":601,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"6212:38:3","typeDescriptions":{"typeIdentifier":"t_stringliteral_c79cc78e4f16ce3933a42b84c73868f93bb4a59c031a0acf576679de98c608a9","typeString":"literal_string \"Address: static call to non-contract\""},"value":"Address: static call to non-contract"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_c79cc78e4f16ce3933a42b84c73868f93bb4a59c031a0acf576679de98c608a9","typeString":"literal_string \"Address: static call to non-contract\""}],"id":597,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"6184:7:3","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":602,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"6184:67:3","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":603,"nodeType":"ExpressionStatement","src":"6184:67:3"},{"assignments":[605,607],"declarations":[{"constant":false,"id":605,"mutability":"mutable","name":"success","nameLocation":"6268:7:3","nodeType":"VariableDeclaration","scope":619,"src":"6263:12:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":604,"name":"bool","nodeType":"ElementaryTypeName","src":"6263:4:3","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":607,"mutability":"mutable","name":"returndata","nameLocation":"6290:10:3","nodeType":"VariableDeclaration","scope":619,"src":"6277:23:3","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":606,"name":"bytes","nodeType":"ElementaryTypeName","src":"6277:5:3","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"id":612,"initialValue":{"arguments":[{"id":610,"name":"data","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":590,"src":"6322:4:3","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}],"expression":{"id":608,"name":"target","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":588,"src":"6304:6:3","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":609,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"staticcall","nodeType":"MemberAccess","src":"6304:17:3","typeDescriptions":{"typeIdentifier":"t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$","typeString":"function (bytes memory) view returns (bool,bytes memory)"}},"id":611,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"6304:23:3","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_bool_$_t_bytes_memory_ptr_$","typeString":"tuple(bool,bytes memory)"}},"nodeType":"VariableDeclarationStatement","src":"6262:65:3"},{"expression":{"arguments":[{"id":614,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":605,"src":"6361:7:3","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"id":615,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":607,"src":"6370:10:3","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},{"id":616,"name":"errorMessage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":592,"src":"6382:12:3","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"},{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":613,"name":"verifyCallResult","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":651,"src":"6344:16:3","typeDescriptions":{"typeIdentifier":"t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$","typeString":"function (bool,bytes memory,string memory) pure returns (bytes memory)"}},"id":617,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"6344:51:3","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":596,"id":618,"nodeType":"Return","src":"6337:58:3"}]},"documentation":{"id":586,"nodeType":"StructuredDocumentation","src":"5838:173:3","text":" @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._"},"id":620,"implemented":true,"kind":"function","modifiers":[],"name":"functionStaticCall","nameLocation":"6025:18:3","nodeType":"FunctionDefinition","parameters":{"id":593,"nodeType":"ParameterList","parameters":[{"constant":false,"id":588,"mutability":"mutable","name":"target","nameLocation":"6061:6:3","nodeType":"VariableDeclaration","scope":620,"src":"6053:14:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":587,"name":"address","nodeType":"ElementaryTypeName","src":"6053:7:3","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":590,"mutability":"mutable","name":"data","nameLocation":"6090:4:3","nodeType":"VariableDeclaration","scope":620,"src":"6077:17:3","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":589,"name":"bytes","nodeType":"ElementaryTypeName","src":"6077:5:3","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":592,"mutability":"mutable","name":"errorMessage","nameLocation":"6118:12:3","nodeType":"VariableDeclaration","scope":620,"src":"6104:26:3","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":591,"name":"string","nodeType":"ElementaryTypeName","src":"6104:6:3","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"6043:93:3"},"returnParameters":{"id":596,"nodeType":"ParameterList","parameters":[{"constant":false,"id":595,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":620,"src":"6160:12:3","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":594,"name":"bytes","nodeType":"ElementaryTypeName","src":"6160:5:3","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"6159:14:3"},"scope":652,"src":"6016:386:3","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":650,"nodeType":"Block","src":"6782:582:3","statements":[{"condition":{"id":632,"name":"success","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":623,"src":"6796:7:3","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":648,"nodeType":"Block","src":"6853:505:3","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":639,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":636,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":625,"src":"6937:10:3","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"id":637,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"length","nodeType":"MemberAccess","src":"6937:17:3","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":">","rightExpression":{"hexValue":"30","id":638,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6957:1:3","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"6937:21:3","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":646,"nodeType":"Block","src":"7295:53:3","statements":[{"expression":{"arguments":[{"id":643,"name":"errorMessage","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":627,"src":"7320:12:3","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_string_memory_ptr","typeString":"string memory"}],"id":642,"name":"revert","nodeType":"Identifier","overloadedDeclarations":[-19,-19],"referencedDeclaration":-19,"src":"7313:6:3","typeDescriptions":{"typeIdentifier":"t_function_revert_pure$_t_string_memory_ptr_$returns$__$","typeString":"function (string memory) pure"}},"id":644,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"7313:20:3","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":645,"nodeType":"ExpressionStatement","src":"7313:20:3"}]},"id":647,"nodeType":"IfStatement","src":"6933:415:3","trueBody":{"id":641,"nodeType":"Block","src":"6960:329:3","statements":[{"AST":{"nodeType":"YulBlock","src":"7130:145:3","statements":[{"nodeType":"YulVariableDeclaration","src":"7152:40:3","value":{"arguments":[{"name":"returndata","nodeType":"YulIdentifier","src":"7181:10:3"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"7175:5:3"},"nodeType":"YulFunctionCall","src":"7175:17:3"},"variables":[{"name":"returndata_size","nodeType":"YulTypedName","src":"7156:15:3","type":""}]},{"expression":{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7224:2:3","type":"","value":"32"},{"name":"returndata","nodeType":"YulIdentifier","src":"7228:10:3"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7220:3:3"},"nodeType":"YulFunctionCall","src":"7220:19:3"},{"name":"returndata_size","nodeType":"YulIdentifier","src":"7241:15:3"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"7213:6:3"},"nodeType":"YulFunctionCall","src":"7213:44:3"},"nodeType":"YulExpressionStatement","src":"7213:44:3"}]},"documentation":"@solidity memory-safe-assembly","evmVersion":"london","externalReferences":[{"declaration":625,"isOffset":false,"isSlot":false,"src":"7181:10:3","valueSize":1},{"declaration":625,"isOffset":false,"isSlot":false,"src":"7228:10:3","valueSize":1}],"id":640,"nodeType":"InlineAssembly","src":"7121:154:3"}]}}]},"id":649,"nodeType":"IfStatement","src":"6792:566:3","trueBody":{"id":635,"nodeType":"Block","src":"6805:42:3","statements":[{"expression":{"id":633,"name":"returndata","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":625,"src":"6826:10:3","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes memory"}},"functionReturnParameters":631,"id":634,"nodeType":"Return","src":"6819:17:3"}]}}]},"documentation":{"id":621,"nodeType":"StructuredDocumentation","src":"6408:209:3","text":" @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the\n revert reason using the provided one.\n _Available since v4.3._"},"id":651,"implemented":true,"kind":"function","modifiers":[],"name":"verifyCallResult","nameLocation":"6631:16:3","nodeType":"FunctionDefinition","parameters":{"id":628,"nodeType":"ParameterList","parameters":[{"constant":false,"id":623,"mutability":"mutable","name":"success","nameLocation":"6662:7:3","nodeType":"VariableDeclaration","scope":651,"src":"6657:12:3","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":622,"name":"bool","nodeType":"ElementaryTypeName","src":"6657:4:3","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"},{"constant":false,"id":625,"mutability":"mutable","name":"returndata","nameLocation":"6692:10:3","nodeType":"VariableDeclaration","scope":651,"src":"6679:23:3","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":624,"name":"bytes","nodeType":"ElementaryTypeName","src":"6679:5:3","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"},{"constant":false,"id":627,"mutability":"mutable","name":"errorMessage","nameLocation":"6726:12:3","nodeType":"VariableDeclaration","scope":651,"src":"6712:26:3","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":626,"name":"string","nodeType":"ElementaryTypeName","src":"6712:6:3","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"6647:97:3"},"returnParameters":{"id":631,"nodeType":"ParameterList","parameters":[{"constant":false,"id":630,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":651,"src":"6768:12:3","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_bytes_memory_ptr","typeString":"bytes"},"typeName":{"id":629,"name":"bytes","nodeType":"ElementaryTypeName","src":"6768:5:3","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"6767:14:3"},"scope":652,"src":"6622:742:3","stateMutability":"pure","virtual":false,"visibility":"internal"}],"scope":653,"src":"194:7172:3","usedErrors":[]}],"src":"101:7266:3"},"id":3},"@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol":{"ast":{"absolutePath":"@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol","exportedSymbols":{"AddressUpgradeable":[652],"ContextUpgradeable":[694],"Initializable":[282]},"id":695,"license":"MIT","nodeType":"SourceUnit","nodes":[{"id":654,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"86:23:4"},{"absolutePath":"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol","file":"../proxy/utils/Initializable.sol","id":655,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":695,"sourceUnit":283,"src":"110:42:4","symbolAliases":[],"unitAlias":""},{"abstract":true,"baseContracts":[{"baseName":{"id":657,"name":"Initializable","nodeType":"IdentifierPath","referencedDeclaration":282,"src":"691:13:4"},"id":658,"nodeType":"InheritanceSpecifier","src":"691:13:4"}],"canonicalName":"ContextUpgradeable","contractDependencies":[],"contractKind":"contract","documentation":{"id":656,"nodeType":"StructuredDocumentation","src":"154:496:4","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":694,"linearizedBaseContracts":[694,282],"name":"ContextUpgradeable","nameLocation":"669:18:4","nodeType":"ContractDefinition","nodes":[{"body":{"id":663,"nodeType":"Block","src":"763:7:4","statements":[]},"id":664,"implemented":true,"kind":"function","modifiers":[{"id":661,"kind":"modifierInvocation","modifierName":{"id":660,"name":"onlyInitializing","nodeType":"IdentifierPath","referencedDeclaration":245,"src":"746:16:4"},"nodeType":"ModifierInvocation","src":"746:16:4"}],"name":"__Context_init","nameLocation":"720:14:4","nodeType":"FunctionDefinition","parameters":{"id":659,"nodeType":"ParameterList","parameters":[],"src":"734:2:4"},"returnParameters":{"id":662,"nodeType":"ParameterList","parameters":[],"src":"763:0:4"},"scope":694,"src":"711:59:4","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":669,"nodeType":"Block","src":"838:7:4","statements":[]},"id":670,"implemented":true,"kind":"function","modifiers":[{"id":667,"kind":"modifierInvocation","modifierName":{"id":666,"name":"onlyInitializing","nodeType":"IdentifierPath","referencedDeclaration":245,"src":"821:16:4"},"nodeType":"ModifierInvocation","src":"821:16:4"}],"name":"__Context_init_unchained","nameLocation":"785:24:4","nodeType":"FunctionDefinition","parameters":{"id":665,"nodeType":"ParameterList","parameters":[],"src":"809:2:4"},"returnParameters":{"id":668,"nodeType":"ParameterList","parameters":[],"src":"838:0:4"},"scope":694,"src":"776:69:4","stateMutability":"nonpayable","virtual":false,"visibility":"internal"},{"body":{"id":678,"nodeType":"Block","src":"912:34:4","statements":[{"expression":{"expression":{"id":675,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"929:3:4","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":676,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"sender","nodeType":"MemberAccess","src":"929:10:4","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"functionReturnParameters":674,"id":677,"nodeType":"Return","src":"922:17:4"}]},"id":679,"implemented":true,"kind":"function","modifiers":[],"name":"_msgSender","nameLocation":"859:10:4","nodeType":"FunctionDefinition","parameters":{"id":671,"nodeType":"ParameterList","parameters":[],"src":"869:2:4"},"returnParameters":{"id":674,"nodeType":"ParameterList","parameters":[{"constant":false,"id":673,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":679,"src":"903:7:4","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":672,"name":"address","nodeType":"ElementaryTypeName","src":"903:7:4","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"902:9:4"},"scope":694,"src":"850:96:4","stateMutability":"view","virtual":true,"visibility":"internal"},{"body":{"id":687,"nodeType":"Block","src":"1019:32:4","statements":[{"expression":{"expression":{"id":684,"name":"msg","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":-15,"src":"1036:3:4","typeDescriptions":{"typeIdentifier":"t_magic_message","typeString":"msg"}},"id":685,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"data","nodeType":"MemberAccess","src":"1036:8:4","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes calldata"}},"functionReturnParameters":683,"id":686,"nodeType":"Return","src":"1029:15:4"}]},"id":688,"implemented":true,"kind":"function","modifiers":[],"name":"_msgData","nameLocation":"961:8:4","nodeType":"FunctionDefinition","parameters":{"id":680,"nodeType":"ParameterList","parameters":[],"src":"969:2:4"},"returnParameters":{"id":683,"nodeType":"ParameterList","parameters":[{"constant":false,"id":682,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":688,"src":"1003:14:4","stateVariable":false,"storageLocation":"calldata","typeDescriptions":{"typeIdentifier":"t_bytes_calldata_ptr","typeString":"bytes"},"typeName":{"id":681,"name":"bytes","nodeType":"ElementaryTypeName","src":"1003:5:4","typeDescriptions":{"typeIdentifier":"t_bytes_storage_ptr","typeString":"bytes"}},"visibility":"internal"}],"src":"1002:16:4"},"scope":694,"src":"952:99:4","stateMutability":"view","virtual":true,"visibility":"internal"},{"constant":false,"documentation":{"id":689,"nodeType":"StructuredDocumentation","src":"1057:254:4","text":" @dev This empty reserved space is put in place to allow future versions to add new\n variables without shifting down storage in the inheritance chain.\n See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps"},"id":693,"mutability":"mutable","name":"__gap","nameLocation":"1336:5:4","nodeType":"VariableDeclaration","scope":694,"src":"1316:25:4","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$50_storage","typeString":"uint256[50]"},"typeName":{"baseType":{"id":690,"name":"uint256","nodeType":"ElementaryTypeName","src":"1316:7:4","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":692,"length":{"hexValue":"3530","id":691,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1324:2:4","typeDescriptions":{"typeIdentifier":"t_rational_50_by_1","typeString":"int_const 50"},"value":"50"},"nodeType":"ArrayTypeName","src":"1316:11:4","typeDescriptions":{"typeIdentifier":"t_array$_t_uint256_$50_storage_ptr","typeString":"uint256[50]"}},"visibility":"private"}],"scope":695,"src":"651:693:4","usedErrors":[]}],"src":"86:1259:4"},"id":4},"contracts/ResilientOracle.sol":{"ast":{"absolutePath":"contracts/ResilientOracle.sol","exportedSymbols":{"AddressUpgradeable":[652],"BEP20Interface":[1606],"BoundValidatorInterface":[1647],"ContextUpgradeable":[694],"Initializable":[282],"OracleInterface":[1617],"OwnableUpgradeable":[131],"PausableUpgradeable":[409],"ResilientOracle":[1505],"ResilientOracleInterface":[1625],"TwapInterface":[1635],"VBep20Interface":[1659]},"id":1506,"license":"UNLICENSED","nodeType":"SourceUnit","nodes":[{"id":696,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"39:23:5"},{"id":697,"literals":["experimental","ABIEncoderV2"],"nodeType":"PragmaDirective","src":"63:33:5"},{"absolutePath":"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol","file":"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol","id":698,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1506,"sourceUnit":132,"src":"98:75:5","symbolAliases":[],"unitAlias":""},{"absolutePath":"@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol","file":"@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol","id":699,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1506,"sourceUnit":410,"src":"174:78:5","symbolAliases":[],"unitAlias":""},{"absolutePath":"contracts/interfaces/VBep20Interface.sol","file":"./interfaces/VBep20Interface.sol","id":700,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1506,"sourceUnit":1660,"src":"253:42:5","symbolAliases":[],"unitAlias":""},{"absolutePath":"contracts/interfaces/OracleInterface.sol","file":"./interfaces/OracleInterface.sol","id":701,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1506,"sourceUnit":1648,"src":"296:42:5","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":702,"name":"OwnableUpgradeable","nodeType":"IdentifierPath","referencedDeclaration":131,"src":"368:18:5"},"id":703,"nodeType":"InheritanceSpecifier","src":"368:18:5"},{"baseName":{"id":704,"name":"PausableUpgradeable","nodeType":"IdentifierPath","referencedDeclaration":409,"src":"388:19:5"},"id":705,"nodeType":"InheritanceSpecifier","src":"388:19:5"},{"baseName":{"id":706,"name":"ResilientOracleInterface","nodeType":"IdentifierPath","referencedDeclaration":1625,"src":"409:24:5"},"id":707,"nodeType":"InheritanceSpecifier","src":"409:24:5"}],"canonicalName":"ResilientOracle","contractDependencies":[],"contractKind":"contract","fullyImplemented":true,"id":1505,"linearizedBaseContracts":[1505,1625,1617,409,131,694,282],"name":"ResilientOracle","nameLocation":"349:15:5","nodeType":"ContractDefinition","nodes":[{"constant":true,"functionSelector":"4bf39cba","id":710,"mutability":"constant","name":"INVALID_PRICE","nameLocation":"464:13:5","nodeType":"VariableDeclaration","scope":1505,"src":"440:41:5","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":708,"name":"uint256","nodeType":"ElementaryTypeName","src":"440:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"value":{"hexValue":"30","id":709,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"480:1:5","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"visibility":"public"},{"constant":false,"functionSelector":"33d33494","id":713,"mutability":"mutable","name":"boundValidator","nameLocation":"519:14:5","nodeType":"VariableDeclaration","scope":1505,"src":"488:45:5","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_BoundValidatorInterface_$1647","typeString":"contract BoundValidatorInterface"},"typeName":{"id":712,"nodeType":"UserDefinedTypeName","pathNode":{"id":711,"name":"BoundValidatorInterface","nodeType":"IdentifierPath","referencedDeclaration":1647,"src":"488:23:5"},"referencedDeclaration":1647,"src":"488:23:5","typeDescriptions":{"typeIdentifier":"t_contract$_BoundValidatorInterface_$1647","typeString":"contract BoundValidatorInterface"}},"visibility":"public"},{"canonicalName":"ResilientOracle.OracleRole","id":717,"members":[{"id":714,"name":"MAIN","nameLocation":"835:4:5","nodeType":"EnumValue","src":"835:4:5"},{"id":715,"name":"PIVOT","nameLocation":"849:5:5","nodeType":"EnumValue","src":"849:5:5"},{"id":716,"name":"FALLBACK","nameLocation":"864:8:5","nodeType":"EnumValue","src":"864:8:5"}],"name":"OracleRole","nameLocation":"814:10:5","nodeType":"EnumDefinition","src":"809:69:5"},{"canonicalName":"ResilientOracle.TokenConfig","id":731,"members":[{"constant":false,"id":720,"mutability":"mutable","name":"asset","nameLocation":"955:5:5","nodeType":"VariableDeclaration","scope":731,"src":"947:13:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":719,"name":"address","nodeType":"ElementaryTypeName","src":"947:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":725,"mutability":"mutable","name":"oracles","nameLocation":"1129:7:5","nodeType":"VariableDeclaration","scope":731,"src":"1118:18:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$3_storage_ptr","typeString":"address[3]"},"typeName":{"baseType":{"id":722,"name":"address","nodeType":"ElementaryTypeName","src":"1118:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":724,"length":{"hexValue":"33","id":723,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1126:1:5","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"nodeType":"ArrayTypeName","src":"1118:10:5","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$3_storage_ptr","typeString":"address[3]"}},"visibility":"internal"},{"constant":false,"id":730,"mutability":"mutable","name":"enableFlagsForOracles","nameLocation":"1291:21:5","nodeType":"VariableDeclaration","scope":731,"src":"1283:29:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_array$_t_bool_$3_storage_ptr","typeString":"bool[3]"},"typeName":{"baseType":{"id":727,"name":"bool","nodeType":"ElementaryTypeName","src":"1283:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":729,"length":{"hexValue":"33","id":728,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1288:1:5","typeDescriptions":{"typeIdentifier":"t_rational_3_by_1","typeString":"int_const 3"},"value":"3"},"nodeType":"ArrayTypeName","src":"1283:7:5","typeDescriptions":{"typeIdentifier":"t_array$_t_bool_$3_storage_ptr","typeString":"bool[3]"}},"visibility":"internal"}],"name":"TokenConfig","nameLocation":"891:11:5","nodeType":"StructDefinition","scope":1505,"src":"884:435:5","visibility":"public"},{"constant":false,"id":736,"mutability":"mutable","name":"tokenConfigs","nameLocation":"1365:12:5","nodeType":"VariableDeclaration","scope":1505,"src":"1325:52:5","stateVariable":true,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_struct$_TokenConfig_$731_storage_$","typeString":"mapping(address => struct ResilientOracle.TokenConfig)"},"typeName":{"id":735,"keyType":{"id":732,"name":"address","nodeType":"ElementaryTypeName","src":"1333:7:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Mapping","src":"1325:31:5","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_struct$_TokenConfig_$731_storage_$","typeString":"mapping(address => struct ResilientOracle.TokenConfig)"},"valueType":{"id":734,"nodeType":"UserDefinedTypeName","pathNode":{"id":733,"name":"TokenConfig","nodeType":"IdentifierPath","referencedDeclaration":731,"src":"1344:11:5"},"referencedDeclaration":731,"src":"1344:11:5","typeDescriptions":{"typeIdentifier":"t_struct$_TokenConfig_$731_storage_ptr","typeString":"struct ResilientOracle.TokenConfig"}}},"visibility":"private"},{"anonymous":false,"eventSelector":"ead766a1f29d52d04c42617ffc9fa113ac39c896db72e9e2bb13c2bd7856cf7d","id":740,"name":"GlobalEnable","nameLocation":"1390:12:5","nodeType":"EventDefinition","parameters":{"id":739,"nodeType":"ParameterList","parameters":[{"constant":false,"id":738,"indexed":true,"mutability":"mutable","name":"isEnable","nameLocation":"1416:8:5","nodeType":"VariableDeclaration","scope":740,"src":"1403:21:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":737,"name":"bool","nodeType":"ElementaryTypeName","src":"1403:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1402:23:5"},"src":"1384:42:5"},{"anonymous":false,"eventSelector":"a51ad01e2270c314a7b78f0c60fe66c723f2d06c121d63fcdce776e654878fc1","id":750,"name":"TokenConfigAdded","nameLocation":"1437:16:5","nodeType":"EventDefinition","parameters":{"id":749,"nodeType":"ParameterList","parameters":[{"constant":false,"id":742,"indexed":true,"mutability":"mutable","name":"asset","nameLocation":"1479:5:5","nodeType":"VariableDeclaration","scope":750,"src":"1463:21:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":741,"name":"address","nodeType":"ElementaryTypeName","src":"1463:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":744,"indexed":true,"mutability":"mutable","name":"mainOracle","nameLocation":"1510:10:5","nodeType":"VariableDeclaration","scope":750,"src":"1494:26:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":743,"name":"address","nodeType":"ElementaryTypeName","src":"1494:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":746,"indexed":true,"mutability":"mutable","name":"pivotOracle","nameLocation":"1546:11:5","nodeType":"VariableDeclaration","scope":750,"src":"1530:27:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":745,"name":"address","nodeType":"ElementaryTypeName","src":"1530:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":748,"indexed":false,"mutability":"mutable","name":"fallbackOracle","nameLocation":"1575:14:5","nodeType":"VariableDeclaration","scope":750,"src":"1567:22:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":747,"name":"address","nodeType":"ElementaryTypeName","src":"1567:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1453:142:5"},"src":"1431:165:5"},{"anonymous":false,"eventSelector":"ea681d3efb830ef032a9c29a7215b5ceeeb546250d2c463dbf87817aecda1bf1","id":758,"name":"OracleSet","nameLocation":"1607:9:5","nodeType":"EventDefinition","parameters":{"id":757,"nodeType":"ParameterList","parameters":[{"constant":false,"id":752,"indexed":true,"mutability":"mutable","name":"asset","nameLocation":"1633:5:5","nodeType":"VariableDeclaration","scope":758,"src":"1617:21:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":751,"name":"address","nodeType":"ElementaryTypeName","src":"1617:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":754,"indexed":true,"mutability":"mutable","name":"oracle","nameLocation":"1656:6:5","nodeType":"VariableDeclaration","scope":758,"src":"1640:22:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":753,"name":"address","nodeType":"ElementaryTypeName","src":"1640:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":756,"indexed":true,"mutability":"mutable","name":"role","nameLocation":"1680:4:5","nodeType":"VariableDeclaration","scope":758,"src":"1664:20:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":755,"name":"uint256","nodeType":"ElementaryTypeName","src":"1664:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1616:69:5"},"src":"1601:85:5"},{"anonymous":false,"eventSelector":"cf3cad1ec87208efbde5d82a0557484a78d4182c3ad16926a5463bc1f7234b3d","id":766,"name":"OracleEnabled","nameLocation":"1697:13:5","nodeType":"EventDefinition","parameters":{"id":765,"nodeType":"ParameterList","parameters":[{"constant":false,"id":760,"indexed":true,"mutability":"mutable","name":"asset","nameLocation":"1727:5:5","nodeType":"VariableDeclaration","scope":766,"src":"1711:21:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":759,"name":"address","nodeType":"ElementaryTypeName","src":"1711:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":762,"indexed":true,"mutability":"mutable","name":"role","nameLocation":"1750:4:5","nodeType":"VariableDeclaration","scope":766,"src":"1734:20:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":761,"name":"uint256","nodeType":"ElementaryTypeName","src":"1734:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":764,"indexed":true,"mutability":"mutable","name":"enable","nameLocation":"1769:6:5","nodeType":"VariableDeclaration","scope":766,"src":"1756:19:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":763,"name":"bool","nodeType":"ElementaryTypeName","src":"1756:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1710:66:5"},"src":"1691:86:5"},{"body":{"id":781,"nodeType":"Block","src":"1824:83:5","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":776,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":771,"name":"someone","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":768,"src":"1842:7:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":774,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"1861:1:5","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":773,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"1853:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":772,"name":"address","nodeType":"ElementaryTypeName","src":"1853:7:5","typeDescriptions":{}}},"id":775,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1853:10:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"1842:21:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"63616e2774206265207a65726f2061646472657373","id":777,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"1865:23:5","typeDescriptions":{"typeIdentifier":"t_stringliteral_4793c2d6e615a200d995dd9ad0db45f00df0789bc148a42df7526d2509d0f296","typeString":"literal_string \"can't be zero address\""},"value":"can't be zero address"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_4793c2d6e615a200d995dd9ad0db45f00df0789bc148a42df7526d2509d0f296","typeString":"literal_string \"can't be zero address\""}],"id":770,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"1834:7:5","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":778,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"1834:55:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":779,"nodeType":"ExpressionStatement","src":"1834:55:5"},{"id":780,"nodeType":"PlaceholderStatement","src":"1899:1:5"}]},"id":782,"name":"notNullAddress","nameLocation":"1792:14:5","nodeType":"ModifierDefinition","parameters":{"id":769,"nodeType":"ParameterList","parameters":[{"constant":false,"id":768,"mutability":"mutable","name":"someone","nameLocation":"1815:7:5","nodeType":"VariableDeclaration","scope":782,"src":"1807:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":767,"name":"address","nodeType":"ElementaryTypeName","src":"1807:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1806:17:5"},"src":"1783:124:5","virtual":false,"visibility":"internal"},{"body":{"id":801,"nodeType":"Block","src":"2182:103:5","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":796,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"baseExpression":{"id":788,"name":"tokenConfigs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":736,"src":"2200:12:5","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_struct$_TokenConfig_$731_storage_$","typeString":"mapping(address => struct ResilientOracle.TokenConfig storage ref)"}},"id":790,"indexExpression":{"id":789,"name":"asset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":785,"src":"2213:5:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"2200:19:5","typeDescriptions":{"typeIdentifier":"t_struct$_TokenConfig_$731_storage","typeString":"struct ResilientOracle.TokenConfig storage ref"}},"id":791,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"asset","nodeType":"MemberAccess","referencedDeclaration":720,"src":"2200:25:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":794,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2237:1:5","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":793,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2229:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":792,"name":"address","nodeType":"ElementaryTypeName","src":"2229:7:5","typeDescriptions":{}}},"id":795,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2229:10:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2200:39:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"746f6b656e20636f6e666967206d757374206578697374","id":797,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2241:25:5","typeDescriptions":{"typeIdentifier":"t_stringliteral_649a0ba5df30129af38854c5145b90047eb942e20a1b0378189629f4b3edaf67","typeString":"literal_string \"token config must exist\""},"value":"token config must exist"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_649a0ba5df30129af38854c5145b90047eb942e20a1b0378189629f4b3edaf67","typeString":"literal_string \"token config must exist\""}],"id":787,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"2192:7:5","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":798,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2192:75:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":799,"nodeType":"ExpressionStatement","src":"2192:75:5"},{"id":800,"nodeType":"PlaceholderStatement","src":"2277:1:5"}]},"documentation":{"id":783,"nodeType":"StructuredDocumentation","src":"1913:214:5","text":" @notice Check whether token config exist by checking whether vToken is zero address\n @dev vToken can't be set to zero, so it's suitable to be used to check\n @param asset asset address"},"id":802,"name":"checkTokenConfigExistance","nameLocation":"2141:25:5","nodeType":"ModifierDefinition","parameters":{"id":786,"nodeType":"ParameterList","parameters":[{"constant":false,"id":785,"mutability":"mutable","name":"asset","nameLocation":"2175:5:5","nodeType":"VariableDeclaration","scope":802,"src":"2167:13:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":784,"name":"address","nodeType":"ElementaryTypeName","src":"2167:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2166:15:5"},"src":"2132:153:5","virtual":false,"visibility":"internal"},{"body":{"id":833,"nodeType":"Block","src":"2371:196:5","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":819,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"arguments":[{"id":813,"name":"_boundValidator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":805,"src":"2397:15:5","typeDescriptions":{"typeIdentifier":"t_contract$_BoundValidatorInterface_$1647","typeString":"contract BoundValidatorInterface"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_contract$_BoundValidatorInterface_$1647","typeString":"contract BoundValidatorInterface"}],"id":812,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2389:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":811,"name":"address","nodeType":"ElementaryTypeName","src":"2389:7:5","typeDescriptions":{}}},"id":814,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2389:24:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":817,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"2425:1:5","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":816,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"2417:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":815,"name":"address","nodeType":"ElementaryTypeName","src":"2417:7:5","typeDescriptions":{}}},"id":818,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2417:10:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"2389:38:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"696e76616c69756420626f756e642076616c696461746f722061646472657373","id":820,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"2429:34:5","typeDescriptions":{"typeIdentifier":"t_stringliteral_5cff57de2c01f1bd106f9cb3aecf8d0cf734f0622f1b2fae35f690c4737c3143","typeString":"literal_string \"invaliud bound validator address\""},"value":"invaliud bound validator address"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_5cff57de2c01f1bd106f9cb3aecf8d0cf734f0622f1b2fae35f690c4737c3143","typeString":"literal_string \"invaliud bound validator address\""}],"id":810,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"2381:7:5","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":821,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2381:83:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":822,"nodeType":"ExpressionStatement","src":"2381:83:5"},{"expression":{"id":825,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":823,"name":"boundValidator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":713,"src":"2474:14:5","typeDescriptions":{"typeIdentifier":"t_contract$_BoundValidatorInterface_$1647","typeString":"contract BoundValidatorInterface"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":824,"name":"_boundValidator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":805,"src":"2491:15:5","typeDescriptions":{"typeIdentifier":"t_contract$_BoundValidatorInterface_$1647","typeString":"contract BoundValidatorInterface"}},"src":"2474:32:5","typeDescriptions":{"typeIdentifier":"t_contract$_BoundValidatorInterface_$1647","typeString":"contract BoundValidatorInterface"}},"id":826,"nodeType":"ExpressionStatement","src":"2474:32:5"},{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":827,"name":"__Ownable_init","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":26,"src":"2517:14:5","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$__$returns$__$","typeString":"function ()"}},"id":828,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2517:16:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":829,"nodeType":"ExpressionStatement","src":"2517:16:5"},{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":830,"name":"__Pausable_init","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":313,"src":"2543:15:5","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$__$returns$__$","typeString":"function ()"}},"id":831,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2543:17:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":832,"nodeType":"ExpressionStatement","src":"2543:17:5"}]},"functionSelector":"c4d66de8","id":834,"implemented":true,"kind":"function","modifiers":[{"id":808,"kind":"modifierInvocation","modifierName":{"id":807,"name":"initializer","nodeType":"IdentifierPath","referencedDeclaration":202,"src":"2359:11:5"},"nodeType":"ModifierInvocation","src":"2359:11:5"}],"name":"initialize","nameLocation":"2300:10:5","nodeType":"FunctionDefinition","parameters":{"id":806,"nodeType":"ParameterList","parameters":[{"constant":false,"id":805,"mutability":"mutable","name":"_boundValidator","nameLocation":"2335:15:5","nodeType":"VariableDeclaration","scope":834,"src":"2311:39:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_contract$_BoundValidatorInterface_$1647","typeString":"contract BoundValidatorInterface"},"typeName":{"id":804,"nodeType":"UserDefinedTypeName","pathNode":{"id":803,"name":"BoundValidatorInterface","nodeType":"IdentifierPath","referencedDeclaration":1647,"src":"2311:23:5"},"referencedDeclaration":1647,"src":"2311:23:5","typeDescriptions":{"typeIdentifier":"t_contract$_BoundValidatorInterface_$1647","typeString":"contract BoundValidatorInterface"}},"visibility":"internal"}],"src":"2310:41:5"},"returnParameters":{"id":809,"nodeType":"ParameterList","parameters":[],"src":"2371:0:5"},"scope":1505,"src":"2291:276:5","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"body":{"id":843,"nodeType":"Block","src":"2655:25:5","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":840,"name":"_pause","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":387,"src":"2665:6:5","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$__$returns$__$","typeString":"function ()"}},"id":841,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2665:8:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":842,"nodeType":"ExpressionStatement","src":"2665:8:5"}]},"documentation":{"id":835,"nodeType":"StructuredDocumentation","src":"2573:41:5","text":" @notice Pause protocol"},"functionSelector":"8456cb59","id":844,"implemented":true,"kind":"function","modifiers":[{"id":838,"kind":"modifierInvocation","modifierName":{"id":837,"name":"onlyOwner","nodeType":"IdentifierPath","referencedDeclaration":45,"src":"2645:9:5"},"nodeType":"ModifierInvocation","src":"2645:9:5"}],"name":"pause","nameLocation":"2628:5:5","nodeType":"FunctionDefinition","parameters":{"id":836,"nodeType":"ParameterList","parameters":[],"src":"2633:2:5"},"returnParameters":{"id":839,"nodeType":"ParameterList","parameters":[],"src":"2655:0:5"},"scope":1505,"src":"2619:61:5","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":853,"nodeType":"Block","src":"2772:27:5","statements":[{"expression":{"arguments":[],"expression":{"argumentTypes":[],"id":850,"name":"_unpause","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":403,"src":"2782:8:5","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$__$returns$__$","typeString":"function ()"}},"id":851,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"2782:10:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":852,"nodeType":"ExpressionStatement","src":"2782:10:5"}]},"documentation":{"id":845,"nodeType":"StructuredDocumentation","src":"2686:43:5","text":" @notice Unpause protocol"},"functionSelector":"3f4ba83a","id":854,"implemented":true,"kind":"function","modifiers":[{"id":848,"kind":"modifierInvocation","modifierName":{"id":847,"name":"onlyOwner","nodeType":"IdentifierPath","referencedDeclaration":45,"src":"2762:9:5"},"nodeType":"ModifierInvocation","src":"2762:9:5"}],"name":"unpause","nameLocation":"2743:7:5","nodeType":"FunctionDefinition","parameters":{"id":846,"nodeType":"ParameterList","parameters":[],"src":"2750:2:5"},"returnParameters":{"id":849,"nodeType":"ParameterList","parameters":[],"src":"2772:0:5"},"scope":1505,"src":"2734:65:5","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":875,"nodeType":"Block","src":"2987:105:5","statements":[{"assignments":[864],"declarations":[{"constant":false,"id":864,"mutability":"mutable","name":"asset","nameLocation":"3005:5:5","nodeType":"VariableDeclaration","scope":875,"src":"2997:13:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":863,"name":"address","nodeType":"ElementaryTypeName","src":"2997:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":870,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":866,"name":"vToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":857,"src":"3029:6:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":865,"name":"VBep20Interface","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1659,"src":"3013:15:5","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_VBep20Interface_$1659_$","typeString":"type(contract VBep20Interface)"}},"id":867,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3013:23:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_VBep20Interface_$1659","typeString":"contract VBep20Interface"}},"id":868,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"underlying","nodeType":"MemberAccess","referencedDeclaration":1658,"src":"3013:34:5","typeDescriptions":{"typeIdentifier":"t_function_external_view$__$returns$_t_address_$","typeString":"function () view external returns (address)"}},"id":869,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3013:36:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"2997:52:5"},{"expression":{"baseExpression":{"id":871,"name":"tokenConfigs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":736,"src":"3066:12:5","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_struct$_TokenConfig_$731_storage_$","typeString":"mapping(address => struct ResilientOracle.TokenConfig storage ref)"}},"id":873,"indexExpression":{"id":872,"name":"asset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":864,"src":"3079:5:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3066:19:5","typeDescriptions":{"typeIdentifier":"t_struct$_TokenConfig_$731_storage","typeString":"struct ResilientOracle.TokenConfig storage ref"}},"functionReturnParameters":862,"id":874,"nodeType":"Return","src":"3059:26:5"}]},"documentation":{"id":855,"nodeType":"StructuredDocumentation","src":"2805:94:5","text":" @dev Get token config by vToken address\n @param vToken vtoken address"},"functionSelector":"cb67e3b1","id":876,"implemented":true,"kind":"function","modifiers":[],"name":"getTokenConfig","nameLocation":"2913:14:5","nodeType":"FunctionDefinition","parameters":{"id":858,"nodeType":"ParameterList","parameters":[{"constant":false,"id":857,"mutability":"mutable","name":"vToken","nameLocation":"2936:6:5","nodeType":"VariableDeclaration","scope":876,"src":"2928:14:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":856,"name":"address","nodeType":"ElementaryTypeName","src":"2928:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2927:16:5"},"returnParameters":{"id":862,"nodeType":"ParameterList","parameters":[{"constant":false,"id":861,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":876,"src":"2967:18:5","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_TokenConfig_$731_memory_ptr","typeString":"struct ResilientOracle.TokenConfig"},"typeName":{"id":860,"nodeType":"UserDefinedTypeName","pathNode":{"id":859,"name":"TokenConfig","nodeType":"IdentifierPath","referencedDeclaration":731,"src":"2967:11:5"},"referencedDeclaration":731,"src":"2967:11:5","typeDescriptions":{"typeIdentifier":"t_struct$_TokenConfig_$731_storage_ptr","typeString":"struct ResilientOracle.TokenConfig"}},"visibility":"internal"}],"src":"2966:20:5"},"scope":1505,"src":"2904:188:5","stateMutability":"view","virtual":false,"visibility":"external"},{"body":{"id":921,"nodeType":"Block","src":"3346:206:5","statements":[{"assignments":[890],"declarations":[{"constant":false,"id":890,"mutability":"mutable","name":"asset","nameLocation":"3364:5:5","nodeType":"VariableDeclaration","scope":921,"src":"3356:13:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":889,"name":"address","nodeType":"ElementaryTypeName","src":"3356:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"id":896,"initialValue":{"arguments":[],"expression":{"argumentTypes":[],"expression":{"arguments":[{"id":892,"name":"vToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":879,"src":"3388:6:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":891,"name":"VBep20Interface","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1659,"src":"3372:15:5","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_VBep20Interface_$1659_$","typeString":"type(contract VBep20Interface)"}},"id":893,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3372:23:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_VBep20Interface_$1659","typeString":"contract VBep20Interface"}},"id":894,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"underlying","nodeType":"MemberAccess","referencedDeclaration":1658,"src":"3372:34:5","typeDescriptions":{"typeIdentifier":"t_function_external_view$__$returns$_t_address_$","typeString":"function () view external returns (address)"}},"id":895,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3372:36:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"VariableDeclarationStatement","src":"3356:52:5"},{"expression":{"id":907,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":897,"name":"oracle","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":885,"src":"3418:6:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"baseExpression":{"expression":{"baseExpression":{"id":898,"name":"tokenConfigs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":736,"src":"3427:12:5","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_struct$_TokenConfig_$731_storage_$","typeString":"mapping(address => struct ResilientOracle.TokenConfig storage ref)"}},"id":900,"indexExpression":{"id":899,"name":"asset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":890,"src":"3440:5:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3427:19:5","typeDescriptions":{"typeIdentifier":"t_struct$_TokenConfig_$731_storage","typeString":"struct ResilientOracle.TokenConfig storage ref"}},"id":901,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"oracles","nodeType":"MemberAccess","referencedDeclaration":725,"src":"3427:27:5","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$3_storage","typeString":"address[3] storage ref"}},"id":906,"indexExpression":{"arguments":[{"id":904,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":882,"src":"3463:4:5","typeDescriptions":{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}],"id":903,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3455:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":902,"name":"uint256","nodeType":"ElementaryTypeName","src":"3455:7:5","typeDescriptions":{}}},"id":905,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3455:13:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3427:42:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"3418:51:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":908,"nodeType":"ExpressionStatement","src":"3418:51:5"},{"expression":{"id":919,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":909,"name":"enabled","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":887,"src":"3479:7:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"baseExpression":{"expression":{"baseExpression":{"id":910,"name":"tokenConfigs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":736,"src":"3489:12:5","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_struct$_TokenConfig_$731_storage_$","typeString":"mapping(address => struct ResilientOracle.TokenConfig storage ref)"}},"id":912,"indexExpression":{"id":911,"name":"asset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":890,"src":"3502:5:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3489:19:5","typeDescriptions":{"typeIdentifier":"t_struct$_TokenConfig_$731_storage","typeString":"struct ResilientOracle.TokenConfig storage ref"}},"id":913,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"enableFlagsForOracles","nodeType":"MemberAccess","referencedDeclaration":730,"src":"3489:41:5","typeDescriptions":{"typeIdentifier":"t_array$_t_bool_$3_storage","typeString":"bool[3] storage ref"}},"id":918,"indexExpression":{"arguments":[{"id":916,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":882,"src":"3539:4:5","typeDescriptions":{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}],"id":915,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"3531:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":914,"name":"uint256","nodeType":"ElementaryTypeName","src":"3531:7:5","typeDescriptions":{}}},"id":917,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3531:13:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3489:56:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"3479:66:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":920,"nodeType":"ExpressionStatement","src":"3479:66:5"}]},"documentation":{"id":877,"nodeType":"StructuredDocumentation","src":"3098:140:5","text":" @notice Get oracle & enabling status by vToken address\n @param vToken vtoken address\n @param role oracle role"},"functionSelector":"8b855da4","id":922,"implemented":true,"kind":"function","modifiers":[],"name":"getOracle","nameLocation":"3252:9:5","nodeType":"FunctionDefinition","parameters":{"id":883,"nodeType":"ParameterList","parameters":[{"constant":false,"id":879,"mutability":"mutable","name":"vToken","nameLocation":"3270:6:5","nodeType":"VariableDeclaration","scope":922,"src":"3262:14:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":878,"name":"address","nodeType":"ElementaryTypeName","src":"3262:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":882,"mutability":"mutable","name":"role","nameLocation":"3289:4:5","nodeType":"VariableDeclaration","scope":922,"src":"3278:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"},"typeName":{"id":881,"nodeType":"UserDefinedTypeName","pathNode":{"id":880,"name":"OracleRole","nodeType":"IdentifierPath","referencedDeclaration":717,"src":"3278:10:5"},"referencedDeclaration":717,"src":"3278:10:5","typeDescriptions":{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}},"visibility":"internal"}],"src":"3261:33:5"},"returnParameters":{"id":888,"nodeType":"ParameterList","parameters":[{"constant":false,"id":885,"mutability":"mutable","name":"oracle","nameLocation":"3324:6:5","nodeType":"VariableDeclaration","scope":922,"src":"3316:14:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":884,"name":"address","nodeType":"ElementaryTypeName","src":"3316:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":887,"mutability":"mutable","name":"enabled","nameLocation":"3337:7:5","nodeType":"VariableDeclaration","scope":922,"src":"3332:12:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":886,"name":"bool","nodeType":"ElementaryTypeName","src":"3332:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"3315:30:5"},"scope":1505,"src":"3243:309:5","stateMutability":"view","virtual":false,"visibility":"public"},{"body":{"id":959,"nodeType":"Block","src":"3740:189:5","statements":[{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":936,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"expression":{"id":933,"name":"tokenConfigs_","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":927,"src":"3758:13:5","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_TokenConfig_$731_memory_ptr_$dyn_memory_ptr","typeString":"struct ResilientOracle.TokenConfig memory[] memory"}},"id":934,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"length","nodeType":"MemberAccess","src":"3758:20:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"hexValue":"30","id":935,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3782:1:5","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"src":"3758:25:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"6c656e6774682063616e27742062652030","id":937,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"3785:19:5","typeDescriptions":{"typeIdentifier":"t_stringliteral_2bcde6d36e25ff80edf1e7b323425b7fef87f9e0a4cccb1475b35b230048c1ed","typeString":"literal_string \"length can't be 0\""},"value":"length can't be 0"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_2bcde6d36e25ff80edf1e7b323425b7fef87f9e0a4cccb1475b35b230048c1ed","typeString":"literal_string \"length can't be 0\""}],"id":932,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"3750:7:5","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":938,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3750:55:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":939,"nodeType":"ExpressionStatement","src":"3750:55:5"},{"body":{"id":957,"nodeType":"Block","src":"3866:57:5","statements":[{"expression":{"arguments":[{"baseExpression":{"id":952,"name":"tokenConfigs_","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":927,"src":"3895:13:5","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_TokenConfig_$731_memory_ptr_$dyn_memory_ptr","typeString":"struct ResilientOracle.TokenConfig memory[] memory"}},"id":954,"indexExpression":{"id":953,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":941,"src":"3909:1:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"3895:16:5","typeDescriptions":{"typeIdentifier":"t_struct$_TokenConfig_$731_memory_ptr","typeString":"struct ResilientOracle.TokenConfig memory"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_struct$_TokenConfig_$731_memory_ptr","typeString":"struct ResilientOracle.TokenConfig memory"}],"id":951,"name":"setTokenConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1020,"src":"3880:14:5","typeDescriptions":{"typeIdentifier":"t_function_internal_nonpayable$_t_struct$_TokenConfig_$731_memory_ptr_$returns$__$","typeString":"function (struct ResilientOracle.TokenConfig memory)"}},"id":955,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"3880:32:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":956,"nodeType":"ExpressionStatement","src":"3880:32:5"}]},"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":947,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":944,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":941,"src":"3835:1:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"<","rightExpression":{"expression":{"id":945,"name":"tokenConfigs_","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":927,"src":"3839:13:5","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_TokenConfig_$731_memory_ptr_$dyn_memory_ptr","typeString":"struct ResilientOracle.TokenConfig memory[] memory"}},"id":946,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"length","nodeType":"MemberAccess","src":"3839:20:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"3835:24:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":958,"initializationExpression":{"assignments":[941],"declarations":[{"constant":false,"id":941,"mutability":"mutable","name":"i","nameLocation":"3828:1:5","nodeType":"VariableDeclaration","scope":958,"src":"3820:9:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":940,"name":"uint256","nodeType":"ElementaryTypeName","src":"3820:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":943,"initialValue":{"hexValue":"30","id":942,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"3832:1:5","typeDescriptions":{"typeIdentifier":"t_rational_0_by_1","typeString":"int_const 0"},"value":"0"},"nodeType":"VariableDeclarationStatement","src":"3820:13:5"},"loopExpression":{"expression":{"id":949,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"++","prefix":false,"src":"3861:3:5","subExpression":{"id":948,"name":"i","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":941,"src":"3861:1:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":950,"nodeType":"ExpressionStatement","src":"3861:3:5"},"nodeType":"ForStatement","src":"3815:108:5"}]},"documentation":{"id":923,"nodeType":"StructuredDocumentation","src":"3558:97:5","text":" @notice Batch set token configs\n @param tokenConfigs_ token config array"},"functionSelector":"2cfa3871","id":960,"implemented":true,"kind":"function","modifiers":[{"id":930,"kind":"modifierInvocation","modifierName":{"id":929,"name":"onlyOwner","nodeType":"IdentifierPath","referencedDeclaration":45,"src":"3730:9:5"},"nodeType":"ModifierInvocation","src":"3730:9:5"}],"name":"setTokenConfigs","nameLocation":"3669:15:5","nodeType":"FunctionDefinition","parameters":{"id":928,"nodeType":"ParameterList","parameters":[{"constant":false,"id":927,"mutability":"mutable","name":"tokenConfigs_","nameLocation":"3706:13:5","nodeType":"VariableDeclaration","scope":960,"src":"3685:34:5","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_TokenConfig_$731_memory_ptr_$dyn_memory_ptr","typeString":"struct ResilientOracle.TokenConfig[]"},"typeName":{"baseType":{"id":925,"nodeType":"UserDefinedTypeName","pathNode":{"id":924,"name":"TokenConfig","nodeType":"IdentifierPath","referencedDeclaration":731,"src":"3685:11:5"},"referencedDeclaration":731,"src":"3685:11:5","typeDescriptions":{"typeIdentifier":"t_struct$_TokenConfig_$731_storage_ptr","typeString":"struct ResilientOracle.TokenConfig"}},"id":926,"nodeType":"ArrayTypeName","src":"3685:13:5","typeDescriptions":{"typeIdentifier":"t_array$_t_struct$_TokenConfig_$731_storage_$dyn_storage_ptr","typeString":"struct ResilientOracle.TokenConfig[]"}},"visibility":"internal"}],"src":"3684:36:5"},"returnParameters":{"id":931,"nodeType":"ParameterList","parameters":[],"src":"3740:0:5"},"scope":1505,"src":"3660:269:5","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":1019,"nodeType":"Block","src":"4322:316:5","statements":[{"expression":{"id":988,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"id":983,"name":"tokenConfigs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":736,"src":"4332:12:5","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_struct$_TokenConfig_$731_storage_$","typeString":"mapping(address => struct ResilientOracle.TokenConfig storage ref)"}},"id":986,"indexExpression":{"expression":{"id":984,"name":"tokenConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":964,"src":"4345:11:5","typeDescriptions":{"typeIdentifier":"t_struct$_TokenConfig_$731_memory_ptr","typeString":"struct ResilientOracle.TokenConfig memory"}},"id":985,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"asset","nodeType":"MemberAccess","referencedDeclaration":720,"src":"4345:17:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"4332:31:5","typeDescriptions":{"typeIdentifier":"t_struct$_TokenConfig_$731_storage","typeString":"struct ResilientOracle.TokenConfig storage ref"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":987,"name":"tokenConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":964,"src":"4366:11:5","typeDescriptions":{"typeIdentifier":"t_struct$_TokenConfig_$731_memory_ptr","typeString":"struct ResilientOracle.TokenConfig memory"}},"src":"4332:45:5","typeDescriptions":{"typeIdentifier":"t_struct$_TokenConfig_$731_storage","typeString":"struct ResilientOracle.TokenConfig storage ref"}},"id":989,"nodeType":"ExpressionStatement","src":"4332:45:5"},{"eventCall":{"arguments":[{"expression":{"id":991,"name":"tokenConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":964,"src":"4422:11:5","typeDescriptions":{"typeIdentifier":"t_struct$_TokenConfig_$731_memory_ptr","typeString":"struct ResilientOracle.TokenConfig memory"}},"id":992,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"asset","nodeType":"MemberAccess","referencedDeclaration":720,"src":"4422:17:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"baseExpression":{"expression":{"id":993,"name":"tokenConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":964,"src":"4453:11:5","typeDescriptions":{"typeIdentifier":"t_struct$_TokenConfig_$731_memory_ptr","typeString":"struct ResilientOracle.TokenConfig memory"}},"id":994,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"oracles","nodeType":"MemberAccess","referencedDeclaration":725,"src":"4453:19:5","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$3_memory_ptr","typeString":"address[3] memory"}},"id":1000,"indexExpression":{"arguments":[{"expression":{"id":997,"name":"OracleRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":717,"src":"4481:10:5","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_OracleRole_$717_$","typeString":"type(enum ResilientOracle.OracleRole)"}},"id":998,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberName":"MAIN","nodeType":"MemberAccess","referencedDeclaration":714,"src":"4481:15:5","typeDescriptions":{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}],"id":996,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4473:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":995,"name":"uint256","nodeType":"ElementaryTypeName","src":"4473:7:5","typeDescriptions":{}}},"id":999,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"4473:24:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"4453:45:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"baseExpression":{"expression":{"id":1001,"name":"tokenConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":964,"src":"4512:11:5","typeDescriptions":{"typeIdentifier":"t_struct$_TokenConfig_$731_memory_ptr","typeString":"struct ResilientOracle.TokenConfig memory"}},"id":1002,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"oracles","nodeType":"MemberAccess","referencedDeclaration":725,"src":"4512:19:5","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$3_memory_ptr","typeString":"address[3] memory"}},"id":1008,"indexExpression":{"arguments":[{"expression":{"id":1005,"name":"OracleRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":717,"src":"4540:10:5","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_OracleRole_$717_$","typeString":"type(enum ResilientOracle.OracleRole)"}},"id":1006,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberName":"PIVOT","nodeType":"MemberAccess","referencedDeclaration":715,"src":"4540:16:5","typeDescriptions":{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}],"id":1004,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4532:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":1003,"name":"uint256","nodeType":"ElementaryTypeName","src":"4532:7:5","typeDescriptions":{}}},"id":1007,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"4532:25:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"4512:46:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"baseExpression":{"expression":{"id":1009,"name":"tokenConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":964,"src":"4572:11:5","typeDescriptions":{"typeIdentifier":"t_struct$_TokenConfig_$731_memory_ptr","typeString":"struct ResilientOracle.TokenConfig memory"}},"id":1010,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"oracles","nodeType":"MemberAccess","referencedDeclaration":725,"src":"4572:19:5","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$3_memory_ptr","typeString":"address[3] memory"}},"id":1016,"indexExpression":{"arguments":[{"expression":{"id":1013,"name":"OracleRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":717,"src":"4600:10:5","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_OracleRole_$717_$","typeString":"type(enum ResilientOracle.OracleRole)"}},"id":1014,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberName":"FALLBACK","nodeType":"MemberAccess","referencedDeclaration":716,"src":"4600:19:5","typeDescriptions":{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}],"id":1012,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4592:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":1011,"name":"uint256","nodeType":"ElementaryTypeName","src":"4592:7:5","typeDescriptions":{}}},"id":1015,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"4592:28:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"4572:49:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"}],"id":990,"name":"TokenConfigAdded","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":750,"src":"4392:16:5","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_address_$_t_address_$returns$__$","typeString":"function (address,address,address,address)"}},"id":1017,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"4392:239:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1018,"nodeType":"EmitStatement","src":"4387:244:5"}]},"documentation":{"id":961,"nodeType":"StructuredDocumentation","src":"3935:177:5","text":" @notice Set single token configs, vToken MUST HAVE NOT be added before, and main oracle MUST NOT be zero address\n @param tokenConfig token config struct"},"functionSelector":"333a21b0","id":1020,"implemented":true,"kind":"function","modifiers":[{"id":967,"kind":"modifierInvocation","modifierName":{"id":966,"name":"onlyOwner","nodeType":"IdentifierPath","referencedDeclaration":45,"src":"4196:9:5"},"nodeType":"ModifierInvocation","src":"4196:9:5"},{"arguments":[{"expression":{"id":969,"name":"tokenConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":964,"src":"4229:11:5","typeDescriptions":{"typeIdentifier":"t_struct$_TokenConfig_$731_memory_ptr","typeString":"struct ResilientOracle.TokenConfig memory"}},"id":970,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"asset","nodeType":"MemberAccess","referencedDeclaration":720,"src":"4229:17:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":971,"kind":"modifierInvocation","modifierName":{"id":968,"name":"notNullAddress","nodeType":"IdentifierPath","referencedDeclaration":782,"src":"4214:14:5"},"nodeType":"ModifierInvocation","src":"4214:33:5"},{"arguments":[{"baseExpression":{"expression":{"id":973,"name":"tokenConfig","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":964,"src":"4271:11:5","typeDescriptions":{"typeIdentifier":"t_struct$_TokenConfig_$731_memory_ptr","typeString":"struct ResilientOracle.TokenConfig memory"}},"id":974,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"oracles","nodeType":"MemberAccess","referencedDeclaration":725,"src":"4271:19:5","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$3_memory_ptr","typeString":"address[3] memory"}},"id":980,"indexExpression":{"arguments":[{"expression":{"id":977,"name":"OracleRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":717,"src":"4299:10:5","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_OracleRole_$717_$","typeString":"type(enum ResilientOracle.OracleRole)"}},"id":978,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberName":"MAIN","nodeType":"MemberAccess","referencedDeclaration":714,"src":"4299:15:5","typeDescriptions":{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}],"id":976,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"4291:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":975,"name":"uint256","nodeType":"ElementaryTypeName","src":"4291:7:5","typeDescriptions":{}}},"id":979,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"4291:24:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"4271:45:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":981,"kind":"modifierInvocation","modifierName":{"id":972,"name":"notNullAddress","nodeType":"IdentifierPath","referencedDeclaration":782,"src":"4256:14:5"},"nodeType":"ModifierInvocation","src":"4256:61:5"}],"name":"setTokenConfig","nameLocation":"4126:14:5","nodeType":"FunctionDefinition","parameters":{"id":965,"nodeType":"ParameterList","parameters":[{"constant":false,"id":964,"mutability":"mutable","name":"tokenConfig","nameLocation":"4160:11:5","nodeType":"VariableDeclaration","scope":1020,"src":"4141:30:5","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_struct$_TokenConfig_$731_memory_ptr","typeString":"struct ResilientOracle.TokenConfig"},"typeName":{"id":963,"nodeType":"UserDefinedTypeName","pathNode":{"id":962,"name":"TokenConfig","nodeType":"IdentifierPath","referencedDeclaration":731,"src":"4141:11:5"},"referencedDeclaration":731,"src":"4141:11:5","typeDescriptions":{"typeIdentifier":"t_struct$_TokenConfig_$731_storage_ptr","typeString":"struct ResilientOracle.TokenConfig"}},"visibility":"internal"}],"src":"4140:32:5"},"returnParameters":{"id":982,"nodeType":"ParameterList","parameters":[],"src":"4322:0:5"},"scope":1505,"src":"4117:521:5","stateMutability":"nonpayable","virtual":false,"visibility":"public"},{"body":{"id":1077,"nodeType":"Block","src":"5016:232:5","statements":[{"expression":{"arguments":[{"id":1052,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"5034:50:5","subExpression":{"components":[{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":1050,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1045,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1040,"name":"oracle","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1025,"src":"5036:6:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"arguments":[{"hexValue":"30","id":1043,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"5054:1:5","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":1042,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5046:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1041,"name":"address","nodeType":"ElementaryTypeName","src":"5046:7:5","typeDescriptions":{}}},"id":1044,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5046:10:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"5036:20:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"},"id":1049,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1046,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1028,"src":"5060:4:5","typeDescriptions":{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"expression":{"id":1047,"name":"OracleRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":717,"src":"5068:10:5","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_OracleRole_$717_$","typeString":"type(enum ResilientOracle.OracleRole)"}},"id":1048,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberName":"MAIN","nodeType":"MemberAccess","referencedDeclaration":714,"src":"5068:15:5","typeDescriptions":{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}},"src":"5060:23:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"5036:47:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"id":1051,"isConstant":false,"isInlineArray":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"TupleExpression","src":"5035:49:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"63616e277420736574207a65726f206164647265737320746f206d61696e206f7261636c65","id":1053,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"5086:39:5","typeDescriptions":{"typeIdentifier":"t_stringliteral_2bd7f3e324856b3efda8ceaed8290812766704969ef515d198dcc42765e37ae1","typeString":"literal_string \"can't set zero address to main oracle\""},"value":"can't set zero address to main oracle"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_2bd7f3e324856b3efda8ceaed8290812766704969ef515d198dcc42765e37ae1","typeString":"literal_string \"can't set zero address to main oracle\""}],"id":1039,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"5026:7:5","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":1054,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5026:100:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1055,"nodeType":"ExpressionStatement","src":"5026:100:5"},{"expression":{"id":1066,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"expression":{"baseExpression":{"id":1056,"name":"tokenConfigs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":736,"src":"5136:12:5","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_struct$_TokenConfig_$731_storage_$","typeString":"mapping(address => struct ResilientOracle.TokenConfig storage ref)"}},"id":1058,"indexExpression":{"id":1057,"name":"asset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1023,"src":"5149:5:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"5136:19:5","typeDescriptions":{"typeIdentifier":"t_struct$_TokenConfig_$731_storage","typeString":"struct ResilientOracle.TokenConfig storage ref"}},"id":1059,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"oracles","nodeType":"MemberAccess","referencedDeclaration":725,"src":"5136:27:5","typeDescriptions":{"typeIdentifier":"t_array$_t_address_$3_storage","typeString":"address[3] storage ref"}},"id":1064,"indexExpression":{"arguments":[{"id":1062,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1028,"src":"5172:4:5","typeDescriptions":{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}],"id":1061,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5164:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":1060,"name":"uint256","nodeType":"ElementaryTypeName","src":"5164:7:5","typeDescriptions":{}}},"id":1063,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5164:13:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5136:42:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":1065,"name":"oracle","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1025,"src":"5181:6:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"5136:51:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"id":1067,"nodeType":"ExpressionStatement","src":"5136:51:5"},{"eventCall":{"arguments":[{"id":1069,"name":"asset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1023,"src":"5212:5:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1070,"name":"oracle","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1025,"src":"5219:6:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"id":1073,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1028,"src":"5235:4:5","typeDescriptions":{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}],"id":1072,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5227:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":1071,"name":"uint256","nodeType":"ElementaryTypeName","src":"5227:7:5","typeDescriptions":{}}},"id":1074,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5227:13:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"id":1068,"name":"OracleSet","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":758,"src":"5202:9:5","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$","typeString":"function (address,address,uint256)"}},"id":1075,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5202:39:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1076,"nodeType":"EmitStatement","src":"5197:44:5"}]},"documentation":{"id":1021,"nodeType":"StructuredDocumentation","src":"4644:196:5","text":" @notice Set oracle of any type for the input vToken, input vToken MUST exist\n @param asset asset address\n @param oracle oracle address\n @param role oracle role"},"functionSelector":"a6b1344a","id":1078,"implemented":true,"kind":"function","modifiers":[{"id":1031,"kind":"modifierInvocation","modifierName":{"id":1030,"name":"onlyOwner","nodeType":"IdentifierPath","referencedDeclaration":45,"src":"4951:9:5"},"nodeType":"ModifierInvocation","src":"4951:9:5"},{"arguments":[{"id":1033,"name":"asset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1023,"src":"4976:5:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":1034,"kind":"modifierInvocation","modifierName":{"id":1032,"name":"notNullAddress","nodeType":"IdentifierPath","referencedDeclaration":782,"src":"4961:14:5"},"nodeType":"ModifierInvocation","src":"4961:21:5"},{"arguments":[{"id":1036,"name":"asset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1023,"src":"5009:5:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":1037,"kind":"modifierInvocation","modifierName":{"id":1035,"name":"checkTokenConfigExistance","nodeType":"IdentifierPath","referencedDeclaration":802,"src":"4983:25:5"},"nodeType":"ModifierInvocation","src":"4983:32:5"}],"name":"setOracle","nameLocation":"4854:9:5","nodeType":"FunctionDefinition","parameters":{"id":1029,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1023,"mutability":"mutable","name":"asset","nameLocation":"4881:5:5","nodeType":"VariableDeclaration","scope":1078,"src":"4873:13:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1022,"name":"address","nodeType":"ElementaryTypeName","src":"4873:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1025,"mutability":"mutable","name":"oracle","nameLocation":"4904:6:5","nodeType":"VariableDeclaration","scope":1078,"src":"4896:14:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1024,"name":"address","nodeType":"ElementaryTypeName","src":"4896:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1028,"mutability":"mutable","name":"role","nameLocation":"4931:4:5","nodeType":"VariableDeclaration","scope":1078,"src":"4920:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"},"typeName":{"id":1027,"nodeType":"UserDefinedTypeName","pathNode":{"id":1026,"name":"OracleRole","nodeType":"IdentifierPath","referencedDeclaration":717,"src":"4920:10:5"},"referencedDeclaration":717,"src":"4920:10:5","typeDescriptions":{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}},"visibility":"internal"}],"src":"4863:78:5"},"returnParameters":{"id":1038,"nodeType":"ParameterList","parameters":[],"src":"5016:0:5"},"scope":1505,"src":"4845:403:5","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"body":{"id":1118,"nodeType":"Block","src":"5626:140:5","statements":[{"expression":{"id":1107,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"baseExpression":{"expression":{"baseExpression":{"id":1097,"name":"tokenConfigs","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":736,"src":"5636:12:5","typeDescriptions":{"typeIdentifier":"t_mapping$_t_address_$_t_struct$_TokenConfig_$731_storage_$","typeString":"mapping(address => struct ResilientOracle.TokenConfig storage ref)"}},"id":1099,"indexExpression":{"id":1098,"name":"asset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1081,"src":"5649:5:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"nodeType":"IndexAccess","src":"5636:19:5","typeDescriptions":{"typeIdentifier":"t_struct$_TokenConfig_$731_storage","typeString":"struct ResilientOracle.TokenConfig storage ref"}},"id":1100,"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":false,"memberName":"enableFlagsForOracles","nodeType":"MemberAccess","referencedDeclaration":730,"src":"5636:41:5","typeDescriptions":{"typeIdentifier":"t_array$_t_bool_$3_storage","typeString":"bool[3] storage ref"}},"id":1105,"indexExpression":{"arguments":[{"id":1103,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1084,"src":"5686:4:5","typeDescriptions":{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}],"id":1102,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5678:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":1101,"name":"uint256","nodeType":"ElementaryTypeName","src":"5678:7:5","typeDescriptions":{}}},"id":1104,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5678:13:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"isConstant":false,"isLValue":true,"isPure":false,"lValueRequested":true,"nodeType":"IndexAccess","src":"5636:56:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":1106,"name":"enable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1086,"src":"5695:6:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"5636:65:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1108,"nodeType":"ExpressionStatement","src":"5636:65:5"},{"eventCall":{"arguments":[{"id":1110,"name":"asset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1081,"src":"5730:5:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"arguments":[{"id":1113,"name":"role","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1084,"src":"5745:4:5","typeDescriptions":{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}],"id":1112,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"5737:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_uint256_$","typeString":"type(uint256)"},"typeName":{"id":1111,"name":"uint256","nodeType":"ElementaryTypeName","src":"5737:7:5","typeDescriptions":{}}},"id":1114,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5737:13:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":1115,"name":"enable","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1086,"src":"5752:6:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_bool","typeString":"bool"}],"id":1109,"name":"OracleEnabled","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":766,"src":"5716:13:5","typeDescriptions":{"typeIdentifier":"t_function_event_nonpayable$_t_address_$_t_uint256_$_t_bool_$returns$__$","typeString":"function (address,uint256,bool)"}},"id":1116,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5716:43:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1117,"nodeType":"EmitStatement","src":"5711:48:5"}]},"documentation":{"id":1079,"nodeType":"StructuredDocumentation","src":"5254:196:5","text":" @notice Enable/disable oracle for the input vToken, input vToken MUST exist\n @param asset asset address\n @param role oracle role\n @param enable expected status"},"functionSelector":"4b932b8f","id":1119,"implemented":true,"kind":"function","modifiers":[{"id":1089,"kind":"modifierInvocation","modifierName":{"id":1088,"name":"onlyOwner","nodeType":"IdentifierPath","referencedDeclaration":45,"src":"5561:9:5"},"nodeType":"ModifierInvocation","src":"5561:9:5"},{"arguments":[{"id":1091,"name":"asset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1081,"src":"5586:5:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":1092,"kind":"modifierInvocation","modifierName":{"id":1090,"name":"notNullAddress","nodeType":"IdentifierPath","referencedDeclaration":782,"src":"5571:14:5"},"nodeType":"ModifierInvocation","src":"5571:21:5"},{"arguments":[{"id":1094,"name":"asset","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1081,"src":"5619:5:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"id":1095,"kind":"modifierInvocation","modifierName":{"id":1093,"name":"checkTokenConfigExistance","nodeType":"IdentifierPath","referencedDeclaration":802,"src":"5593:25:5"},"nodeType":"ModifierInvocation","src":"5593:32:5"}],"name":"enableOracle","nameLocation":"5464:12:5","nodeType":"FunctionDefinition","parameters":{"id":1087,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1081,"mutability":"mutable","name":"asset","nameLocation":"5494:5:5","nodeType":"VariableDeclaration","scope":1119,"src":"5486:13:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1080,"name":"address","nodeType":"ElementaryTypeName","src":"5486:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1084,"mutability":"mutable","name":"role","nameLocation":"5520:4:5","nodeType":"VariableDeclaration","scope":1119,"src":"5509:15:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"},"typeName":{"id":1083,"nodeType":"UserDefinedTypeName","pathNode":{"id":1082,"name":"OracleRole","nodeType":"IdentifierPath","referencedDeclaration":717,"src":"5509:10:5"},"referencedDeclaration":717,"src":"5509:10:5","typeDescriptions":{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}},"visibility":"internal"},{"constant":false,"id":1086,"mutability":"mutable","name":"enable","nameLocation":"5539:6:5","nodeType":"VariableDeclaration","scope":1119,"src":"5534:11:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1085,"name":"bool","nodeType":"ElementaryTypeName","src":"5534:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"5476:75:5"},"returnParameters":{"id":1096,"nodeType":"ParameterList","parameters":[],"src":"5626:0:5"},"scope":1505,"src":"5455:311:5","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[1624],"body":{"id":1160,"nodeType":"Block","src":"5928:362:5","statements":[{"assignments":[1127,1129],"declarations":[{"constant":false,"id":1127,"mutability":"mutable","name":"pivotOracle","nameLocation":"5947:11:5","nodeType":"VariableDeclaration","scope":1160,"src":"5939:19:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1126,"name":"address","nodeType":"ElementaryTypeName","src":"5939:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1129,"mutability":"mutable","name":"pivotOracleEnabled","nameLocation":"5965:18:5","nodeType":"VariableDeclaration","scope":1160,"src":"5960:23:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1128,"name":"bool","nodeType":"ElementaryTypeName","src":"5960:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":1135,"initialValue":{"arguments":[{"id":1131,"name":"vToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1122,"src":"5997:6:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":1132,"name":"OracleRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":717,"src":"6005:10:5","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_OracleRole_$717_$","typeString":"type(enum ResilientOracle.OracleRole)"}},"id":1133,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberName":"PIVOT","nodeType":"MemberAccess","referencedDeclaration":715,"src":"6005:16:5","typeDescriptions":{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}],"id":1130,"name":"getOracle","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":922,"src":"5987:9:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_enum$_OracleRole_$717_$returns$_t_address_$_t_bool_$","typeString":"function (address,enum ResilientOracle.OracleRole) view returns (address,bool)"}},"id":1134,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"5987:35:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_bool_$","typeString":"tuple(address,bool)"}},"nodeType":"VariableDeclarationStatement","src":"5938:84:5"},{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":1143,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1141,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1136,"name":"pivotOracle","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1127,"src":"6036:11:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":1139,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"6059:1:5","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":1138,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"6051:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1137,"name":"address","nodeType":"ElementaryTypeName","src":"6051:7:5","typeDescriptions":{}}},"id":1140,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"6051:10:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"6036:25:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"id":1142,"name":"pivotOracleEnabled","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1129,"src":"6065:18:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"6036:47:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1159,"nodeType":"IfStatement","src":"6032:252:5","trueBody":{"id":1158,"nodeType":"Block","src":"6085:199:5","statements":[{"clauses":[{"block":{"id":1153,"nodeType":"Block","src":"6263:2:5","statements":[]},"errorName":"","id":1154,"nodeType":"TryCatchClause","parameters":{"id":1152,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1151,"mutability":"mutable","name":"_price","nameLocation":"6255:6:5","nodeType":"VariableDeclaration","scope":1154,"src":"6247:14:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1150,"name":"uint256","nodeType":"ElementaryTypeName","src":"6247:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6246:16:5"},"src":"6238:27:5"},{"block":{"id":1155,"nodeType":"Block","src":"6272:2:5","statements":[]},"errorName":"","id":1156,"nodeType":"TryCatchClause","src":"6266:8:5"}],"externalCall":{"arguments":[{"id":1148,"name":"vToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1122,"src":"6230:6:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"arguments":[{"id":1145,"name":"pivotOracle","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1127,"src":"6206:11:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":1144,"name":"TwapInterface","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1635,"src":"6192:13:5","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_TwapInterface_$1635_$","typeString":"type(contract TwapInterface)"}},"id":1146,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"6192:26:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_TwapInterface_$1635","typeString":"contract TwapInterface"}},"id":1147,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"updateTwap","nodeType":"MemberAccess","referencedDeclaration":1634,"src":"6192:37:5","typeDescriptions":{"typeIdentifier":"t_function_external_nonpayable$_t_address_$returns$_t_uint256_$","typeString":"function (address) external returns (uint256)"}},"id":1149,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"6192:45:5","tryCall":true,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1157,"nodeType":"TryStatement","src":"6188:86:5"}]}}]},"documentation":{"id":1120,"nodeType":"StructuredDocumentation","src":"5772:96:5","text":" @notice Currently it calls the updateTwap\n @param vToken vToken address"},"functionSelector":"96e85ced","id":1161,"implemented":true,"kind":"function","modifiers":[],"name":"updatePrice","nameLocation":"5882:11:5","nodeType":"FunctionDefinition","overrides":{"id":1124,"nodeType":"OverrideSpecifier","overrides":[],"src":"5919:8:5"},"parameters":{"id":1123,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1122,"mutability":"mutable","name":"vToken","nameLocation":"5902:6:5","nodeType":"VariableDeclaration","scope":1161,"src":"5894:14:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1121,"name":"address","nodeType":"ElementaryTypeName","src":"5894:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"5893:16:5"},"returnParameters":{"id":1125,"nodeType":"ParameterList","parameters":[],"src":"5928:0:5"},"scope":1505,"src":"5873:417:5","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"baseFunctions":[1616],"body":{"id":1203,"nodeType":"Block","src":"6744:318:5","statements":[{"expression":{"arguments":[{"id":1173,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"6762:9:5","subExpression":{"arguments":[],"expression":{"argumentTypes":[],"id":1171,"name":"paused","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":348,"src":"6763:6:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$__$returns$_t_bool_$","typeString":"function () view returns (bool)"}},"id":1172,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"6763:8:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"726573696c69656e74206f7261636c6520697320706175736564","id":1174,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"6773:28:5","typeDescriptions":{"typeIdentifier":"t_stringliteral_a96a5ab9a405164cd7206849fabc60771c50663034e032cee61ce87d40e776ee","typeString":"literal_string \"resilient oracle is paused\""},"value":"resilient oracle is paused"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_a96a5ab9a405164cd7206849fabc60771c50663034e032cee61ce87d40e776ee","typeString":"literal_string \"resilient oracle is paused\""}],"id":1170,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"6754:7:5","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":1175,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"6754:48:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1176,"nodeType":"ExpressionStatement","src":"6754:48:5"},{"assignments":[1178],"declarations":[{"constant":false,"id":1178,"mutability":"mutable","name":"price","nameLocation":"6821:5:5","nodeType":"VariableDeclaration","scope":1203,"src":"6813:13:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1177,"name":"uint256","nodeType":"ElementaryTypeName","src":"6813:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":1182,"initialValue":{"arguments":[{"id":1180,"name":"vToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1164,"src":"6849:6:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":1179,"name":"_getMainOraclePrice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1311,"src":"6829:19:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view returns (uint256)"}},"id":1181,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"6829:27:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"6813:43:5"},{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1185,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1183,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1178,"src":"6870:5:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"==","rightExpression":{"id":1184,"name":"INVALID_PRICE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":710,"src":"6879:13:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6870:22:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1193,"nodeType":"IfStatement","src":"6866:92:5","trueBody":{"id":1192,"nodeType":"Block","src":"6894:64:5","statements":[{"expression":{"id":1190,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":1186,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1178,"src":"6908:5:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"arguments":[{"id":1188,"name":"vToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1164,"src":"6940:6:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":1187,"name":"_getFallbackOraclePrice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1504,"src":"6916:23:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view returns (uint256)"}},"id":1189,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"6916:31:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6908:39:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1191,"nodeType":"ExpressionStatement","src":"6908:39:5"}]}},{"expression":{"arguments":[{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1197,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1195,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1178,"src":"6976:5:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":1196,"name":"INVALID_PRICE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":710,"src":"6985:13:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"6976:22:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},{"hexValue":"696e76616c696420726573696c69656e74206f7261636c65207072696365","id":1198,"isConstant":false,"isLValue":false,"isPure":true,"kind":"string","lValueRequested":false,"nodeType":"Literal","src":"7000:32:5","typeDescriptions":{"typeIdentifier":"t_stringliteral_599276927d57b3c895a99d3d2c96f953e4db80fc017144bddcab2e3187f5e277","typeString":"literal_string \"invalid resilient oracle price\""},"value":"invalid resilient oracle price"}],"expression":{"argumentTypes":[{"typeIdentifier":"t_bool","typeString":"bool"},{"typeIdentifier":"t_stringliteral_599276927d57b3c895a99d3d2c96f953e4db80fc017144bddcab2e3187f5e277","typeString":"literal_string \"invalid resilient oracle price\""}],"id":1194,"name":"require","nodeType":"Identifier","overloadedDeclarations":[-18,-18],"referencedDeclaration":-18,"src":"6968:7:5","typeDescriptions":{"typeIdentifier":"t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$","typeString":"function (bool,string memory) pure"}},"id":1199,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"6968:65:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$__$","typeString":"tuple()"}},"id":1200,"nodeType":"ExpressionStatement","src":"6968:65:5"},{"expression":{"id":1201,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1178,"src":"7050:5:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":1169,"id":1202,"nodeType":"Return","src":"7043:12:5"}]},"documentation":{"id":1162,"nodeType":"StructuredDocumentation","src":"6296:358:5","text":" @notice Get price of underlying asset of the input vToken, check flow:\n - check the global pausing status\n - check price from main oracle against pivot oracle\n - check price from fallback oracle against pivot oracle or main oracle if fails\n @param vToken vToken address\n @return price USD price in 18 decimals"},"functionSelector":"fc57d4df","id":1204,"implemented":true,"kind":"function","modifiers":[],"name":"getUnderlyingPrice","nameLocation":"6668:18:5","nodeType":"FunctionDefinition","overrides":{"id":1166,"nodeType":"OverrideSpecifier","overrides":[],"src":"6717:8:5"},"parameters":{"id":1165,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1164,"mutability":"mutable","name":"vToken","nameLocation":"6695:6:5","nodeType":"VariableDeclaration","scope":1204,"src":"6687:14:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1163,"name":"address","nodeType":"ElementaryTypeName","src":"6687:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"6686:16:5"},"returnParameters":{"id":1169,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1168,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1204,"src":"6735:7:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1167,"name":"uint256","nodeType":"ElementaryTypeName","src":"6735:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"6734:9:5"},"scope":1505,"src":"6659:403:5","stateMutability":"view","virtual":false,"visibility":"external"},{"body":{"id":1310,"nodeType":"Block","src":"7353:1076:5","statements":[{"assignments":[1213],"declarations":[{"constant":false,"id":1213,"mutability":"mutable","name":"price","nameLocation":"7371:5:5","nodeType":"VariableDeclaration","scope":1310,"src":"7363:13:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1212,"name":"uint256","nodeType":"ElementaryTypeName","src":"7363:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":1215,"initialValue":{"id":1214,"name":"INVALID_PRICE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":710,"src":"7379:13:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"7363:29:5"},{"assignments":[1217,1219],"declarations":[{"constant":false,"id":1217,"mutability":"mutable","name":"mainOracle","nameLocation":"7412:10:5","nodeType":"VariableDeclaration","scope":1310,"src":"7404:18:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1216,"name":"address","nodeType":"ElementaryTypeName","src":"7404:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1219,"mutability":"mutable","name":"mainOracleEnabled","nameLocation":"7429:17:5","nodeType":"VariableDeclaration","scope":1310,"src":"7424:22:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1218,"name":"bool","nodeType":"ElementaryTypeName","src":"7424:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":1225,"initialValue":{"arguments":[{"id":1221,"name":"vToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1207,"src":"7460:6:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":1222,"name":"OracleRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":717,"src":"7468:10:5","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_OracleRole_$717_$","typeString":"type(enum ResilientOracle.OracleRole)"}},"id":1223,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberName":"MAIN","nodeType":"MemberAccess","referencedDeclaration":714,"src":"7468:15:5","typeDescriptions":{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}],"id":1220,"name":"getOracle","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":922,"src":"7450:9:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_enum$_OracleRole_$717_$returns$_t_address_$_t_bool_$","typeString":"function (address,enum ResilientOracle.OracleRole) view returns (address,bool)"}},"id":1224,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"7450:34:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_bool_$","typeString":"tuple(address,bool)"}},"nodeType":"VariableDeclarationStatement","src":"7403:81:5"},{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":1233,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1226,"name":"mainOracleEnabled","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1219,"src":"7498:17:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1232,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1227,"name":"mainOracle","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1217,"src":"7519:10:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":1230,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7541:1:5","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":1229,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7533:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1228,"name":"address","nodeType":"ElementaryTypeName","src":"7533:7:5","typeDescriptions":{}}},"id":1231,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"7533:10:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"7519:24:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"7498:45:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1307,"nodeType":"IfStatement","src":"7494:906:5","trueBody":{"id":1306,"nodeType":"Block","src":"7545:855:5","statements":[{"clauses":[{"block":{"id":1301,"nodeType":"Block","src":"7652:729:5","statements":[{"expression":{"id":1245,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":1243,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1213,"src":"7670:5:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":1244,"name":"mainOraclePrice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1241,"src":"7678:15:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"7670:23:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1246,"nodeType":"ExpressionStatement","src":"7670:23:5"},{"assignments":[1248,1250],"declarations":[{"constant":false,"id":1248,"mutability":"mutable","name":"pivotOracle","nameLocation":"7721:11:5","nodeType":"VariableDeclaration","scope":1301,"src":"7713:19:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1247,"name":"address","nodeType":"ElementaryTypeName","src":"7713:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1250,"mutability":"mutable","name":"pivotOracleEnabled","nameLocation":"7739:18:5","nodeType":"VariableDeclaration","scope":1301,"src":"7734:23:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1249,"name":"bool","nodeType":"ElementaryTypeName","src":"7734:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":1256,"initialValue":{"arguments":[{"id":1252,"name":"vToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1207,"src":"7771:6:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":1253,"name":"OracleRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":717,"src":"7779:10:5","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_OracleRole_$717_$","typeString":"type(enum ResilientOracle.OracleRole)"}},"id":1254,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberName":"PIVOT","nodeType":"MemberAccess","referencedDeclaration":715,"src":"7779:16:5","typeDescriptions":{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}],"id":1251,"name":"getOracle","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":922,"src":"7761:9:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_enum$_OracleRole_$717_$returns$_t_address_$_t_bool_$","typeString":"function (address,enum ResilientOracle.OracleRole) view returns (address,bool)"}},"id":1255,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"7761:35:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_bool_$","typeString":"tuple(address,bool)"}},"nodeType":"VariableDeclarationStatement","src":"7712:84:5"},{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":1264,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1257,"name":"pivotOracleEnabled","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1250,"src":"7819:18:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1263,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1258,"name":"pivotOracle","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1248,"src":"7841:11:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":1261,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"7864:1:5","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":1260,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"7856:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1259,"name":"address","nodeType":"ElementaryTypeName","src":"7856:7:5","typeDescriptions":{}}},"id":1262,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"7856:10:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"7841:25:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"7819:47:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1300,"nodeType":"IfStatement","src":"7815:552:5","trueBody":{"id":1299,"nodeType":"Block","src":"7868:499:5","statements":[{"clauses":[{"block":{"id":1294,"nodeType":"Block","src":"7979:361:5","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1276,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1274,"name":"pivotPrice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1272,"src":"8009:10:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":1275,"name":"INVALID_PRICE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":710,"src":"8023:13:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"8009:27:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1293,"nodeType":"IfStatement","src":"8005:313:5","trueBody":{"id":1292,"nodeType":"Block","src":"8038:280:5","statements":[{"assignments":[1278],"declarations":[{"constant":false,"id":1278,"mutability":"mutable","name":"isPriceValid","nameLocation":"8073:12:5","nodeType":"VariableDeclaration","scope":1292,"src":"8068:17:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1277,"name":"bool","nodeType":"ElementaryTypeName","src":"8068:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":1285,"initialValue":{"arguments":[{"id":1281,"name":"vToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1207,"src":"8132:6:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1282,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1213,"src":"8140:5:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":1283,"name":"pivotPrice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1272,"src":"8147:10:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":1279,"name":"boundValidator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":713,"src":"8088:14:5","typeDescriptions":{"typeIdentifier":"t_contract$_BoundValidatorInterface_$1647","typeString":"contract BoundValidatorInterface"}},"id":1280,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"validatePriceWithAnchorPrice","nodeType":"MemberAccess","referencedDeclaration":1646,"src":"8088:43:5","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_address_$_t_uint256_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,uint256,uint256) view external returns (bool)"}},"id":1284,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"8088:70:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"VariableDeclarationStatement","src":"8068:90:5"},{"condition":{"id":1287,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"8192:13:5","subExpression":{"id":1286,"name":"isPriceValid","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1278,"src":"8193:12:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1291,"nodeType":"IfStatement","src":"8188:104:5","trueBody":{"id":1290,"nodeType":"Block","src":"8207:85:5","statements":[{"expression":{"id":1288,"name":"INVALID_PRICE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":710,"src":"8248:13:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":1211,"id":1289,"nodeType":"Return","src":"8241:20:5"}]}}]}}]},"errorName":"","id":1295,"nodeType":"TryCatchClause","parameters":{"id":1273,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1272,"mutability":"mutable","name":"pivotPrice","nameLocation":"7967:10:5","nodeType":"VariableDeclaration","scope":1295,"src":"7959:18:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1271,"name":"uint256","nodeType":"ElementaryTypeName","src":"7959:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7958:20:5"},"src":"7950:390:5"},{"block":{"id":1296,"nodeType":"Block","src":"8347:2:5","statements":[]},"errorName":"","id":1297,"nodeType":"TryCatchClause","src":"8341:8:5"}],"externalCall":{"arguments":[{"id":1269,"name":"vToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1207,"src":"7942:6:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"arguments":[{"id":1266,"name":"pivotOracle","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1248,"src":"7910:11:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":1265,"name":"OracleInterface","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1617,"src":"7894:15:5","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_OracleInterface_$1617_$","typeString":"type(contract OracleInterface)"}},"id":1267,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"7894:28:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_OracleInterface_$1617","typeString":"contract OracleInterface"}},"id":1268,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"getUnderlyingPrice","nodeType":"MemberAccess","referencedDeclaration":1616,"src":"7894:47:5","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view external returns (uint256)"}},"id":1270,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"7894:55:5","tryCall":true,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1298,"nodeType":"TryStatement","src":"7890:459:5"}]}}]},"errorName":"","id":1302,"nodeType":"TryCatchClause","parameters":{"id":1242,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1241,"mutability":"mutable","name":"mainOraclePrice","nameLocation":"7635:15:5","nodeType":"VariableDeclaration","scope":1302,"src":"7627:23:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1240,"name":"uint256","nodeType":"ElementaryTypeName","src":"7627:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7626:25:5"},"src":"7618:763:5"},{"block":{"id":1303,"nodeType":"Block","src":"8388:2:5","statements":[]},"errorName":"","id":1304,"nodeType":"TryCatchClause","src":"8382:8:5"}],"externalCall":{"arguments":[{"id":1238,"name":"vToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1207,"src":"7610:6:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"arguments":[{"id":1235,"name":"mainOracle","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1217,"src":"7579:10:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":1234,"name":"OracleInterface","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1617,"src":"7563:15:5","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_OracleInterface_$1617_$","typeString":"type(contract OracleInterface)"}},"id":1236,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"7563:27:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_OracleInterface_$1617","typeString":"contract OracleInterface"}},"id":1237,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"getUnderlyingPrice","nodeType":"MemberAccess","referencedDeclaration":1616,"src":"7563:46:5","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view external returns (uint256)"}},"id":1239,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"7563:54:5","tryCall":true,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1305,"nodeType":"TryStatement","src":"7559:831:5"}]}},{"expression":{"id":1308,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1213,"src":"8417:5:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":1211,"id":1309,"nodeType":"Return","src":"8410:12:5"}]},"documentation":{"id":1205,"nodeType":"StructuredDocumentation","src":"7068:203:5","text":" @notice This function won't revert when price is 0, because the fallback oracle may come to play later\n @param vToken vToken address\n @return price USD price in 18 decimals"},"id":1311,"implemented":true,"kind":"function","modifiers":[],"name":"_getMainOraclePrice","nameLocation":"7285:19:5","nodeType":"FunctionDefinition","parameters":{"id":1208,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1207,"mutability":"mutable","name":"vToken","nameLocation":"7313:6:5","nodeType":"VariableDeclaration","scope":1311,"src":"7305:14:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1206,"name":"address","nodeType":"ElementaryTypeName","src":"7305:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"7304:16:5"},"returnParameters":{"id":1211,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1210,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1311,"src":"7344:7:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1209,"name":"uint256","nodeType":"ElementaryTypeName","src":"7344:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"7343:9:5"},"scope":1505,"src":"7276:1153:5","stateMutability":"view","virtual":false,"visibility":"internal"},{"body":{"id":1503,"nodeType":"Block","src":"8727:2136:5","statements":[{"assignments":[1320],"declarations":[{"constant":false,"id":1320,"mutability":"mutable","name":"price","nameLocation":"8745:5:5","nodeType":"VariableDeclaration","scope":1503,"src":"8737:13:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1319,"name":"uint256","nodeType":"ElementaryTypeName","src":"8737:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"id":1322,"initialValue":{"id":1321,"name":"INVALID_PRICE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":710,"src":"8753:13:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"VariableDeclarationStatement","src":"8737:29:5"},{"assignments":[1324],"declarations":[{"constant":false,"id":1324,"mutability":"mutable","name":"compareWithMain","nameLocation":"8781:15:5","nodeType":"VariableDeclaration","scope":1503,"src":"8776:20:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1323,"name":"bool","nodeType":"ElementaryTypeName","src":"8776:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":1326,"initialValue":{"hexValue":"66616c7365","id":1325,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"8799:5:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"false"},"nodeType":"VariableDeclarationStatement","src":"8776:28:5"},{"assignments":[1328,1330],"declarations":[{"constant":false,"id":1328,"mutability":"mutable","name":"fallbackOracle","nameLocation":"8824:14:5","nodeType":"VariableDeclaration","scope":1503,"src":"8816:22:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1327,"name":"address","nodeType":"ElementaryTypeName","src":"8816:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1330,"mutability":"mutable","name":"fallbackEnabled","nameLocation":"8845:15:5","nodeType":"VariableDeclaration","scope":1503,"src":"8840:20:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1329,"name":"bool","nodeType":"ElementaryTypeName","src":"8840:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":1336,"initialValue":{"arguments":[{"id":1332,"name":"vToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1314,"src":"8874:6:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":1333,"name":"OracleRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":717,"src":"8882:10:5","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_OracleRole_$717_$","typeString":"type(enum ResilientOracle.OracleRole)"}},"id":1334,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberName":"FALLBACK","nodeType":"MemberAccess","referencedDeclaration":716,"src":"8882:19:5","typeDescriptions":{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}],"id":1331,"name":"getOracle","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":922,"src":"8864:9:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_enum$_OracleRole_$717_$returns$_t_address_$_t_bool_$","typeString":"function (address,enum ResilientOracle.OracleRole) view returns (address,bool)"}},"id":1335,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"8864:38:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_bool_$","typeString":"tuple(address,bool)"}},"nodeType":"VariableDeclarationStatement","src":"8815:87:5"},{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":1344,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1337,"name":"fallbackEnabled","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1330,"src":"8916:15:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1343,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1338,"name":"fallbackOracle","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1328,"src":"8935:14:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":1341,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"8961:1:5","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":1340,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"8953:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1339,"name":"address","nodeType":"ElementaryTypeName","src":"8953:7:5","typeDescriptions":{}}},"id":1342,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"8953:10:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"8935:28:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"8916:47:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1434,"nodeType":"IfStatement","src":"8912:1144:5","trueBody":{"id":1433,"nodeType":"Block","src":"8965:1091:5","statements":[{"clauses":[{"block":{"id":1428,"nodeType":"Block","src":"9080:957:5","statements":[{"expression":{"id":1356,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":1354,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1320,"src":"9098:5:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":1355,"name":"fallbackOraclePrice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1352,"src":"9106:19:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"9098:27:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1357,"nodeType":"ExpressionStatement","src":"9098:27:5"},{"assignments":[1359,1361],"declarations":[{"constant":false,"id":1359,"mutability":"mutable","name":"pivotOracle","nameLocation":"9153:11:5","nodeType":"VariableDeclaration","scope":1428,"src":"9145:19:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1358,"name":"address","nodeType":"ElementaryTypeName","src":"9145:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1361,"mutability":"mutable","name":"pivotOracleEnabled","nameLocation":"9171:18:5","nodeType":"VariableDeclaration","scope":1428,"src":"9166:23:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1360,"name":"bool","nodeType":"ElementaryTypeName","src":"9166:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":1367,"initialValue":{"arguments":[{"id":1363,"name":"vToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1314,"src":"9203:6:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":1364,"name":"OracleRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":717,"src":"9211:10:5","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_OracleRole_$717_$","typeString":"type(enum ResilientOracle.OracleRole)"}},"id":1365,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberName":"PIVOT","nodeType":"MemberAccess","referencedDeclaration":715,"src":"9211:16:5","typeDescriptions":{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}],"id":1362,"name":"getOracle","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":922,"src":"9193:9:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_enum$_OracleRole_$717_$returns$_t_address_$_t_bool_$","typeString":"function (address,enum ResilientOracle.OracleRole) view returns (address,bool)"}},"id":1366,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"9193:35:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_bool_$","typeString":"tuple(address,bool)"}},"nodeType":"VariableDeclarationStatement","src":"9144:84:5"},{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":1375,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1368,"name":"pivotOracleEnabled","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1361,"src":"9250:18:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1374,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1369,"name":"pivotOracle","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1359,"src":"9272:11:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":1372,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"9295:1:5","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":1371,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"9287:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1370,"name":"address","nodeType":"ElementaryTypeName","src":"9287:7:5","typeDescriptions":{}}},"id":1373,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"9287:10:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"9272:25:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"9250:47:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":1426,"nodeType":"Block","src":"9960:63:5","statements":[{"expression":{"id":1424,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":1422,"name":"compareWithMain","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1324,"src":"9982:15:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"74727565","id":1423,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"10000:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"src":"9982:22:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1425,"nodeType":"ExpressionStatement","src":"9982:22:5"}]},"id":1427,"nodeType":"IfStatement","src":"9246:777:5","trueBody":{"id":1421,"nodeType":"Block","src":"9299:655:5","statements":[{"clauses":[{"block":{"id":1412,"nodeType":"Block","src":"9410:448:5","statements":[{"condition":{"commonType":{"typeIdentifier":"t_uint256","typeString":"uint256"},"id":1387,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1385,"name":"pivotPrice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1383,"src":"9440:10:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"id":1386,"name":"INVALID_PRICE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":710,"src":"9454:13:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"9440:27:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":1410,"nodeType":"Block","src":"9757:79:5","statements":[{"expression":{"id":1408,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":1406,"name":"compareWithMain","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1324,"src":"9787:15:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"74727565","id":1407,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"9805:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"src":"9787:22:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1409,"nodeType":"ExpressionStatement","src":"9787:22:5"}]},"id":1411,"nodeType":"IfStatement","src":"9436:400:5","trueBody":{"id":1405,"nodeType":"Block","src":"9469:282:5","statements":[{"assignments":[1389],"declarations":[{"constant":false,"id":1389,"mutability":"mutable","name":"isPriceValid","nameLocation":"9504:12:5","nodeType":"VariableDeclaration","scope":1405,"src":"9499:17:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1388,"name":"bool","nodeType":"ElementaryTypeName","src":"9499:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":1396,"initialValue":{"arguments":[{"id":1392,"name":"vToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1314,"src":"9563:6:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1393,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1320,"src":"9571:5:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":1394,"name":"pivotPrice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1383,"src":"9578:10:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":1390,"name":"boundValidator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":713,"src":"9519:14:5","typeDescriptions":{"typeIdentifier":"t_contract$_BoundValidatorInterface_$1647","typeString":"contract BoundValidatorInterface"}},"id":1391,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"validatePriceWithAnchorPrice","nodeType":"MemberAccess","referencedDeclaration":1646,"src":"9519:43:5","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_address_$_t_uint256_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,uint256,uint256) view external returns (bool)"}},"id":1395,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"9519:70:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"VariableDeclarationStatement","src":"9499:90:5"},{"condition":{"id":1398,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"9623:13:5","subExpression":{"id":1397,"name":"isPriceValid","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1389,"src":"9624:12:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1404,"nodeType":"IfStatement","src":"9619:106:5","trueBody":{"id":1403,"nodeType":"Block","src":"9638:87:5","statements":[{"expression":{"id":1401,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":1399,"name":"compareWithMain","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1324,"src":"9672:15:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"74727565","id":1400,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"9690:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"src":"9672:22:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1402,"nodeType":"ExpressionStatement","src":"9672:22:5"}]}}]}}]},"errorName":"","id":1413,"nodeType":"TryCatchClause","parameters":{"id":1384,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1383,"mutability":"mutable","name":"pivotPrice","nameLocation":"9398:10:5","nodeType":"VariableDeclaration","scope":1413,"src":"9390:18:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1382,"name":"uint256","nodeType":"ElementaryTypeName","src":"9390:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"9389:20:5"},"src":"9381:477:5"},{"block":{"id":1418,"nodeType":"Block","src":"9865:71:5","statements":[{"expression":{"id":1416,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":1414,"name":"compareWithMain","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1324,"src":"9891:15:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"hexValue":"74727565","id":1415,"isConstant":false,"isLValue":false,"isPure":true,"kind":"bool","lValueRequested":false,"nodeType":"Literal","src":"9909:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"value":"true"},"src":"9891:22:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1417,"nodeType":"ExpressionStatement","src":"9891:22:5"}]},"errorName":"","id":1419,"nodeType":"TryCatchClause","src":"9859:77:5"}],"externalCall":{"arguments":[{"id":1380,"name":"vToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1314,"src":"9373:6:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"arguments":[{"id":1377,"name":"pivotOracle","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1359,"src":"9341:11:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":1376,"name":"OracleInterface","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1617,"src":"9325:15:5","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_OracleInterface_$1617_$","typeString":"type(contract OracleInterface)"}},"id":1378,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"9325:28:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_OracleInterface_$1617","typeString":"contract OracleInterface"}},"id":1379,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"getUnderlyingPrice","nodeType":"MemberAccess","referencedDeclaration":1616,"src":"9325:47:5","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view external returns (uint256)"}},"id":1381,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"9325:55:5","tryCall":true,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1420,"nodeType":"TryStatement","src":"9321:615:5"}]}}]},"errorName":"","id":1429,"nodeType":"TryCatchClause","parameters":{"id":1353,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1352,"mutability":"mutable","name":"fallbackOraclePrice","nameLocation":"9059:19:5","nodeType":"VariableDeclaration","scope":1429,"src":"9051:27:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1351,"name":"uint256","nodeType":"ElementaryTypeName","src":"9051:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"9050:29:5"},"src":"9042:995:5"},{"block":{"id":1430,"nodeType":"Block","src":"10044:2:5","statements":[]},"errorName":"","id":1431,"nodeType":"TryCatchClause","src":"10038:8:5"}],"externalCall":{"arguments":[{"id":1349,"name":"vToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1314,"src":"9034:6:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"arguments":[{"id":1346,"name":"fallbackOracle","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1328,"src":"8999:14:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":1345,"name":"OracleInterface","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1617,"src":"8983:15:5","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_OracleInterface_$1617_$","typeString":"type(contract OracleInterface)"}},"id":1347,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"8983:31:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_OracleInterface_$1617","typeString":"contract OracleInterface"}},"id":1348,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"getUnderlyingPrice","nodeType":"MemberAccess","referencedDeclaration":1616,"src":"8983:50:5","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view external returns (uint256)"}},"id":1350,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"8983:58:5","tryCall":true,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1432,"nodeType":"TryStatement","src":"8979:1067:5"}]}},{"condition":{"id":1435,"name":"compareWithMain","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1324,"src":"10070:15:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"id":1500,"nodeType":"IfStatement","src":"10066:768:5","trueBody":{"id":1499,"nodeType":"Block","src":"10087:747:5","statements":[{"assignments":[1437,1439],"declarations":[{"constant":false,"id":1437,"mutability":"mutable","name":"mainOracle","nameLocation":"10110:10:5","nodeType":"VariableDeclaration","scope":1499,"src":"10102:18:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1436,"name":"address","nodeType":"ElementaryTypeName","src":"10102:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1439,"mutability":"mutable","name":"mainOracleEnabled","nameLocation":"10127:17:5","nodeType":"VariableDeclaration","scope":1499,"src":"10122:22:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1438,"name":"bool","nodeType":"ElementaryTypeName","src":"10122:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":1445,"initialValue":{"arguments":[{"id":1441,"name":"vToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1314,"src":"10158:6:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"expression":{"id":1442,"name":"OracleRole","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":717,"src":"10166:10:5","typeDescriptions":{"typeIdentifier":"t_type$_t_enum$_OracleRole_$717_$","typeString":"type(enum ResilientOracle.OracleRole)"}},"id":1443,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"memberName":"MAIN","nodeType":"MemberAccess","referencedDeclaration":714,"src":"10166:15:5","typeDescriptions":{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_enum$_OracleRole_$717","typeString":"enum ResilientOracle.OracleRole"}],"id":1440,"name":"getOracle","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":922,"src":"10148:9:5","typeDescriptions":{"typeIdentifier":"t_function_internal_view$_t_address_$_t_enum$_OracleRole_$717_$returns$_t_address_$_t_bool_$","typeString":"function (address,enum ResilientOracle.OracleRole) view returns (address,bool)"}},"id":1444,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"10148:34:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_tuple$_t_address_$_t_bool_$","typeString":"tuple(address,bool)"}},"nodeType":"VariableDeclarationStatement","src":"10101:81:5"},{"condition":{"commonType":{"typeIdentifier":"t_bool","typeString":"bool"},"id":1453,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1446,"name":"mainOracleEnabled","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1439,"src":"10200:17:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"BinaryOperation","operator":"&&","rightExpression":{"commonType":{"typeIdentifier":"t_address","typeString":"address"},"id":1452,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftExpression":{"id":1447,"name":"mainOracle","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1437,"src":"10221:10:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"nodeType":"BinaryOperation","operator":"!=","rightExpression":{"arguments":[{"hexValue":"30","id":1450,"isConstant":false,"isLValue":false,"isPure":true,"kind":"number","lValueRequested":false,"nodeType":"Literal","src":"10243:1:5","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":1449,"isConstant":false,"isLValue":false,"isPure":true,"lValueRequested":false,"nodeType":"ElementaryTypeNameExpression","src":"10235:7:5","typeDescriptions":{"typeIdentifier":"t_type$_t_address_$","typeString":"type(address)"},"typeName":{"id":1448,"name":"address","nodeType":"ElementaryTypeName","src":"10235:7:5","typeDescriptions":{}}},"id":1451,"isConstant":false,"isLValue":false,"isPure":true,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"10235:10:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"src":"10221:24:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"src":"10200:45:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":1497,"nodeType":"Block","src":"10770:54:5","statements":[{"expression":{"id":1495,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":1493,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1320,"src":"10788:5:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":1494,"name":"INVALID_PRICE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":710,"src":"10796:13:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10788:21:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1496,"nodeType":"ExpressionStatement","src":"10788:21:5"}]},"id":1498,"nodeType":"IfStatement","src":"10196:628:5","trueBody":{"id":1492,"nodeType":"Block","src":"10247:517:5","statements":[{"clauses":[{"block":{"id":1483,"nodeType":"Block","src":"10358:323:5","statements":[{"assignments":[1464],"declarations":[{"constant":false,"id":1464,"mutability":"mutable","name":"isPriceValid","nameLocation":"10385:12:5","nodeType":"VariableDeclaration","scope":1483,"src":"10380:17:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1463,"name":"bool","nodeType":"ElementaryTypeName","src":"10380:4:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"id":1471,"initialValue":{"arguments":[{"id":1467,"name":"vToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1314,"src":"10444:6:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},{"id":1468,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1320,"src":"10452:5:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},{"id":1469,"name":"mainOraclePrice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1461,"src":"10459:15:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"},{"typeIdentifier":"t_uint256","typeString":"uint256"},{"typeIdentifier":"t_uint256","typeString":"uint256"}],"expression":{"id":1465,"name":"boundValidator","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":713,"src":"10400:14:5","typeDescriptions":{"typeIdentifier":"t_contract$_BoundValidatorInterface_$1647","typeString":"contract BoundValidatorInterface"}},"id":1466,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"validatePriceWithAnchorPrice","nodeType":"MemberAccess","referencedDeclaration":1646,"src":"10400:43:5","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_address_$_t_uint256_$_t_uint256_$returns$_t_bool_$","typeString":"function (address,uint256,uint256) view external returns (bool)"}},"id":1470,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"10400:75:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"nodeType":"VariableDeclarationStatement","src":"10380:95:5"},{"condition":{"id":1473,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"nodeType":"UnaryOperation","operator":"!","prefix":true,"src":"10501:13:5","subExpression":{"id":1472,"name":"isPriceValid","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1464,"src":"10502:12:5","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"falseBody":{"id":1481,"nodeType":"Block","src":"10591:72:5","statements":[{"expression":{"id":1479,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":1477,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1320,"src":"10617:5:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":1478,"name":"mainOraclePrice","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1461,"src":"10625:15:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10617:23:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1480,"nodeType":"ExpressionStatement","src":"10617:23:5"}]},"id":1482,"nodeType":"IfStatement","src":"10497:166:5","trueBody":{"id":1476,"nodeType":"Block","src":"10516:69:5","statements":[{"expression":{"id":1474,"name":"INVALID_PRICE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":710,"src":"10549:13:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":1318,"id":1475,"nodeType":"Return","src":"10542:20:5"}]}}]},"errorName":"","id":1484,"nodeType":"TryCatchClause","parameters":{"id":1462,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1461,"mutability":"mutable","name":"mainOraclePrice","nameLocation":"10341:15:5","nodeType":"VariableDeclaration","scope":1484,"src":"10333:23:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1460,"name":"uint256","nodeType":"ElementaryTypeName","src":"10333:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"10332:25:5"},"src":"10324:357:5"},{"block":{"id":1489,"nodeType":"Block","src":"10688:62:5","statements":[{"expression":{"id":1487,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"leftHandSide":{"id":1485,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1320,"src":"10710:5:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"nodeType":"Assignment","operator":"=","rightHandSide":{"id":1486,"name":"INVALID_PRICE","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":710,"src":"10718:13:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"src":"10710:21:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1488,"nodeType":"ExpressionStatement","src":"10710:21:5"}]},"errorName":"","id":1490,"nodeType":"TryCatchClause","src":"10682:68:5"}],"externalCall":{"arguments":[{"id":1458,"name":"vToken","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1314,"src":"10316:6:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"expression":{"arguments":[{"id":1455,"name":"mainOracle","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1437,"src":"10285:10:5","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}}],"expression":{"argumentTypes":[{"typeIdentifier":"t_address","typeString":"address"}],"id":1454,"name":"OracleInterface","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1617,"src":"10269:15:5","typeDescriptions":{"typeIdentifier":"t_type$_t_contract$_OracleInterface_$1617_$","typeString":"type(contract OracleInterface)"}},"id":1456,"isConstant":false,"isLValue":false,"isPure":false,"kind":"typeConversion","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"10269:27:5","tryCall":false,"typeDescriptions":{"typeIdentifier":"t_contract$_OracleInterface_$1617","typeString":"contract OracleInterface"}},"id":1457,"isConstant":false,"isLValue":false,"isPure":false,"lValueRequested":false,"memberName":"getUnderlyingPrice","nodeType":"MemberAccess","referencedDeclaration":1616,"src":"10269:46:5","typeDescriptions":{"typeIdentifier":"t_function_external_view$_t_address_$returns$_t_uint256_$","typeString":"function (address) view external returns (uint256)"}},"id":1459,"isConstant":false,"isLValue":false,"isPure":false,"kind":"functionCall","lValueRequested":false,"names":[],"nodeType":"FunctionCall","src":"10269:54:5","tryCall":true,"typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"id":1491,"nodeType":"TryStatement","src":"10265:485:5"}]}}]}},{"expression":{"id":1501,"name":"price","nodeType":"Identifier","overloadedDeclarations":[],"referencedDeclaration":1320,"src":"10851:5:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"functionReturnParameters":1318,"id":1502,"nodeType":"Return","src":"10844:12:5"}]},"documentation":{"id":1312,"nodeType":"StructuredDocumentation","src":"8435:206:5","text":" @notice This function won't revert when price is 0, because the getUnderlyingPrice checks if pirce is > 0\n @param vToken vToken address\n @return price USD price in 18 decimals"},"id":1504,"implemented":true,"kind":"function","modifiers":[],"name":"_getFallbackOraclePrice","nameLocation":"8655:23:5","nodeType":"FunctionDefinition","parameters":{"id":1315,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1314,"mutability":"mutable","name":"vToken","nameLocation":"8687:6:5","nodeType":"VariableDeclaration","scope":1504,"src":"8679:14:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1313,"name":"address","nodeType":"ElementaryTypeName","src":"8679:7:5","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"8678:16:5"},"returnParameters":{"id":1318,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1317,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1504,"src":"8718:7:5","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1316,"name":"uint256","nodeType":"ElementaryTypeName","src":"8718:7:5","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"8717:9:5"},"scope":1505,"src":"8646:2217:5","stateMutability":"view","virtual":false,"visibility":"internal"}],"scope":1506,"src":"340:10525:5","usedErrors":[]}],"src":"39:10827:5"},"id":5},"contracts/interfaces/BEP20Interface.sol":{"ast":{"absolutePath":"contracts/interfaces/BEP20Interface.sol","exportedSymbols":{"BEP20Interface":[1606]},"id":1607,"license":"UNLICENSED","nodeType":"SourceUnit","nodes":[{"id":1507,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"39:23:6"},{"abstract":false,"baseContracts":[],"canonicalName":"BEP20Interface","contractDependencies":[],"contractKind":"interface","fullyImplemented":false,"id":1606,"linearizedBaseContracts":[1606],"name":"BEP20Interface","nameLocation":"74:14:6","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":1508,"nodeType":"StructuredDocumentation","src":"95:66:6","text":" @dev Returns the amount of tokens in existence."},"functionSelector":"18160ddd","id":1513,"implemented":false,"kind":"function","modifiers":[],"name":"totalSupply","nameLocation":"175:11:6","nodeType":"FunctionDefinition","parameters":{"id":1509,"nodeType":"ParameterList","parameters":[],"src":"186:2:6"},"returnParameters":{"id":1512,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1511,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1513,"src":"212:7:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1510,"name":"uint256","nodeType":"ElementaryTypeName","src":"212:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"211:9:6"},"scope":1606,"src":"166:55:6","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1514,"nodeType":"StructuredDocumentation","src":"227:51:6","text":" @dev Returns the token decimals."},"functionSelector":"313ce567","id":1519,"implemented":false,"kind":"function","modifiers":[],"name":"decimals","nameLocation":"292:8:6","nodeType":"FunctionDefinition","parameters":{"id":1515,"nodeType":"ParameterList","parameters":[],"src":"300:2:6"},"returnParameters":{"id":1518,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1517,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1519,"src":"326:5:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":1516,"name":"uint8","nodeType":"ElementaryTypeName","src":"326:5:6","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"325:7:6"},"scope":1606,"src":"283:50:6","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1520,"nodeType":"StructuredDocumentation","src":"339:49:6","text":" @dev Returns the token symbol."},"functionSelector":"95d89b41","id":1525,"implemented":false,"kind":"function","modifiers":[],"name":"symbol","nameLocation":"402:6:6","nodeType":"FunctionDefinition","parameters":{"id":1521,"nodeType":"ParameterList","parameters":[],"src":"408:2:6"},"returnParameters":{"id":1524,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1523,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1525,"src":"434:13:6","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":1522,"name":"string","nodeType":"ElementaryTypeName","src":"434:6:6","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"433:15:6"},"scope":1606,"src":"393:56:6","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1526,"nodeType":"StructuredDocumentation","src":"455:47:6","text":" @dev Returns the token name."},"functionSelector":"06fdde03","id":1531,"implemented":false,"kind":"function","modifiers":[],"name":"name","nameLocation":"516:4:6","nodeType":"FunctionDefinition","parameters":{"id":1527,"nodeType":"ParameterList","parameters":[],"src":"520:2:6"},"returnParameters":{"id":1530,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1529,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1531,"src":"546:13:6","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":1528,"name":"string","nodeType":"ElementaryTypeName","src":"546:6:6","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"545:15:6"},"scope":1606,"src":"507:54:6","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1532,"nodeType":"StructuredDocumentation","src":"567:52:6","text":" @dev Returns the bep token owner."},"functionSelector":"893d20e8","id":1537,"implemented":false,"kind":"function","modifiers":[],"name":"getOwner","nameLocation":"633:8:6","nodeType":"FunctionDefinition","parameters":{"id":1533,"nodeType":"ParameterList","parameters":[],"src":"641:2:6"},"returnParameters":{"id":1536,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1535,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1537,"src":"667:7:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1534,"name":"address","nodeType":"ElementaryTypeName","src":"667:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"666:9:6"},"scope":1606,"src":"624:52:6","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1538,"nodeType":"StructuredDocumentation","src":"682:72:6","text":" @dev Returns the amount of tokens owned by `account`."},"functionSelector":"70a08231","id":1545,"implemented":false,"kind":"function","modifiers":[],"name":"balanceOf","nameLocation":"768:9:6","nodeType":"FunctionDefinition","parameters":{"id":1541,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1540,"mutability":"mutable","name":"account","nameLocation":"786:7:6","nodeType":"VariableDeclaration","scope":1545,"src":"778:15:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1539,"name":"address","nodeType":"ElementaryTypeName","src":"778:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"777:17:6"},"returnParameters":{"id":1544,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1543,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1545,"src":"818:7:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1542,"name":"uint256","nodeType":"ElementaryTypeName","src":"818:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"817:9:6"},"scope":1606,"src":"759:68:6","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1546,"nodeType":"StructuredDocumentation","src":"833:209:6","text":" @dev Moves `amount` tokens from the caller's account to `recipient`.\n Returns a boolean value indicating whether the operation succeeded.\n Emits a {Transfer} event."},"functionSelector":"a9059cbb","id":1555,"implemented":false,"kind":"function","modifiers":[],"name":"transfer","nameLocation":"1056:8:6","nodeType":"FunctionDefinition","parameters":{"id":1551,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1548,"mutability":"mutable","name":"recipient","nameLocation":"1073:9:6","nodeType":"VariableDeclaration","scope":1555,"src":"1065:17:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1547,"name":"address","nodeType":"ElementaryTypeName","src":"1065:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1550,"mutability":"mutable","name":"amount","nameLocation":"1092:6:6","nodeType":"VariableDeclaration","scope":1555,"src":"1084:14:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1549,"name":"uint256","nodeType":"ElementaryTypeName","src":"1084:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1064:35:6"},"returnParameters":{"id":1554,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1553,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1555,"src":"1118:4:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1552,"name":"bool","nodeType":"ElementaryTypeName","src":"1118:4:6","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"1117:6:6"},"scope":1606,"src":"1047:77:6","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1556,"nodeType":"StructuredDocumentation","src":"1130:264:6","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":1565,"implemented":false,"kind":"function","modifiers":[],"name":"allowance","nameLocation":"1408:9:6","nodeType":"FunctionDefinition","parameters":{"id":1561,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1558,"mutability":"mutable","name":"_owner","nameLocation":"1426:6:6","nodeType":"VariableDeclaration","scope":1565,"src":"1418:14:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1557,"name":"address","nodeType":"ElementaryTypeName","src":"1418:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1560,"mutability":"mutable","name":"spender","nameLocation":"1442:7:6","nodeType":"VariableDeclaration","scope":1565,"src":"1434:15:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1559,"name":"address","nodeType":"ElementaryTypeName","src":"1434:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1417:33:6"},"returnParameters":{"id":1564,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1563,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1565,"src":"1474:7:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1562,"name":"uint256","nodeType":"ElementaryTypeName","src":"1474:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1473:9:6"},"scope":1606,"src":"1399:84:6","stateMutability":"view","virtual":false,"visibility":"external"},{"documentation":{"id":1566,"nodeType":"StructuredDocumentation","src":"1489:642:6","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":1575,"implemented":false,"kind":"function","modifiers":[],"name":"approve","nameLocation":"2145:7:6","nodeType":"FunctionDefinition","parameters":{"id":1571,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1568,"mutability":"mutable","name":"spender","nameLocation":"2161:7:6","nodeType":"VariableDeclaration","scope":1575,"src":"2153:15:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1567,"name":"address","nodeType":"ElementaryTypeName","src":"2153:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1570,"mutability":"mutable","name":"amount","nameLocation":"2178:6:6","nodeType":"VariableDeclaration","scope":1575,"src":"2170:14:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1569,"name":"uint256","nodeType":"ElementaryTypeName","src":"2170:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2152:33:6"},"returnParameters":{"id":1574,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1573,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1575,"src":"2204:4:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1572,"name":"bool","nodeType":"ElementaryTypeName","src":"2204:4:6","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2203:6:6"},"scope":1606,"src":"2136:74:6","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"documentation":{"id":1576,"nodeType":"StructuredDocumentation","src":"2216:296:6","text":" @dev Moves `amount` tokens from `sender` to `recipient` 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":1587,"implemented":false,"kind":"function","modifiers":[],"name":"transferFrom","nameLocation":"2526:12:6","nodeType":"FunctionDefinition","parameters":{"id":1583,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1578,"mutability":"mutable","name":"sender","nameLocation":"2556:6:6","nodeType":"VariableDeclaration","scope":1587,"src":"2548:14:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1577,"name":"address","nodeType":"ElementaryTypeName","src":"2548:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1580,"mutability":"mutable","name":"recipient","nameLocation":"2580:9:6","nodeType":"VariableDeclaration","scope":1587,"src":"2572:17:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1579,"name":"address","nodeType":"ElementaryTypeName","src":"2572:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1582,"mutability":"mutable","name":"amount","nameLocation":"2607:6:6","nodeType":"VariableDeclaration","scope":1587,"src":"2599:14:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1581,"name":"uint256","nodeType":"ElementaryTypeName","src":"2599:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2538:81:6"},"returnParameters":{"id":1586,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1585,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1587,"src":"2638:4:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1584,"name":"bool","nodeType":"ElementaryTypeName","src":"2638:4:6","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"2637:6:6"},"scope":1606,"src":"2517:127:6","stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"anonymous":false,"documentation":{"id":1588,"nodeType":"StructuredDocumentation","src":"2650:158:6","text":" @dev Emitted when `value` tokens are moved from one account (`from`) to\n another (`to`).\n Note that `value` may be zero."},"eventSelector":"ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef","id":1596,"name":"Transfer","nameLocation":"2819:8:6","nodeType":"EventDefinition","parameters":{"id":1595,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1590,"indexed":true,"mutability":"mutable","name":"from","nameLocation":"2844:4:6","nodeType":"VariableDeclaration","scope":1596,"src":"2828:20:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1589,"name":"address","nodeType":"ElementaryTypeName","src":"2828:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1592,"indexed":true,"mutability":"mutable","name":"to","nameLocation":"2866:2:6","nodeType":"VariableDeclaration","scope":1596,"src":"2850:18:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1591,"name":"address","nodeType":"ElementaryTypeName","src":"2850:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1594,"indexed":false,"mutability":"mutable","name":"value","nameLocation":"2878:5:6","nodeType":"VariableDeclaration","scope":1596,"src":"2870:13:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1593,"name":"uint256","nodeType":"ElementaryTypeName","src":"2870:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2827:57:6"},"src":"2813:72:6"},{"anonymous":false,"documentation":{"id":1597,"nodeType":"StructuredDocumentation","src":"2891:148:6","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."},"eventSelector":"8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925","id":1605,"name":"Approval","nameLocation":"3050:8:6","nodeType":"EventDefinition","parameters":{"id":1604,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1599,"indexed":true,"mutability":"mutable","name":"owner","nameLocation":"3075:5:6","nodeType":"VariableDeclaration","scope":1605,"src":"3059:21:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1598,"name":"address","nodeType":"ElementaryTypeName","src":"3059:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1601,"indexed":true,"mutability":"mutable","name":"spender","nameLocation":"3098:7:6","nodeType":"VariableDeclaration","scope":1605,"src":"3082:23:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1600,"name":"address","nodeType":"ElementaryTypeName","src":"3082:7:6","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1603,"indexed":false,"mutability":"mutable","name":"value","nameLocation":"3115:5:6","nodeType":"VariableDeclaration","scope":1605,"src":"3107:13:6","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1602,"name":"uint256","nodeType":"ElementaryTypeName","src":"3107:7:6","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3058:63:6"},"src":"3044:78:6"}],"scope":1607,"src":"64:3060:6","usedErrors":[]}],"src":"39:3086:6"},"id":6},"contracts/interfaces/OracleInterface.sol":{"ast":{"absolutePath":"contracts/interfaces/OracleInterface.sol","exportedSymbols":{"BoundValidatorInterface":[1647],"OracleInterface":[1617],"ResilientOracleInterface":[1625],"TwapInterface":[1635]},"id":1648,"license":"UNLICENSED","nodeType":"SourceUnit","nodes":[{"id":1608,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"39:23:7"},{"id":1609,"literals":["experimental","ABIEncoderV2"],"nodeType":"PragmaDirective","src":"63:33:7"},{"abstract":false,"baseContracts":[],"canonicalName":"OracleInterface","contractDependencies":[],"contractKind":"interface","fullyImplemented":false,"id":1617,"linearizedBaseContracts":[1617],"name":"OracleInterface","nameLocation":"108:15:7","nodeType":"ContractDefinition","nodes":[{"functionSelector":"fc57d4df","id":1616,"implemented":false,"kind":"function","modifiers":[],"name":"getUnderlyingPrice","nameLocation":"139:18:7","nodeType":"FunctionDefinition","parameters":{"id":1612,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1611,"mutability":"mutable","name":"vToken","nameLocation":"166:6:7","nodeType":"VariableDeclaration","scope":1616,"src":"158:14:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1610,"name":"address","nodeType":"ElementaryTypeName","src":"158:7:7","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"157:16:7"},"returnParameters":{"id":1615,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1614,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1616,"src":"197:7:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1613,"name":"uint256","nodeType":"ElementaryTypeName","src":"197:7:7","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"196:9:7"},"scope":1617,"src":"130:76:7","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":1648,"src":"98:110:7","usedErrors":[]},{"abstract":false,"baseContracts":[{"baseName":{"id":1618,"name":"OracleInterface","nodeType":"IdentifierPath","referencedDeclaration":1617,"src":"248:15:7"},"id":1619,"nodeType":"InheritanceSpecifier","src":"248:15:7"}],"canonicalName":"ResilientOracleInterface","contractDependencies":[],"contractKind":"interface","fullyImplemented":false,"id":1625,"linearizedBaseContracts":[1625,1617],"name":"ResilientOracleInterface","nameLocation":"220:24:7","nodeType":"ContractDefinition","nodes":[{"functionSelector":"96e85ced","id":1624,"implemented":false,"kind":"function","modifiers":[],"name":"updatePrice","nameLocation":"279:11:7","nodeType":"FunctionDefinition","parameters":{"id":1622,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1621,"mutability":"mutable","name":"vToken","nameLocation":"299:6:7","nodeType":"VariableDeclaration","scope":1624,"src":"291:14:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1620,"name":"address","nodeType":"ElementaryTypeName","src":"291:7:7","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"290:16:7"},"returnParameters":{"id":1623,"nodeType":"ParameterList","parameters":[],"src":"315:0:7"},"scope":1625,"src":"270:46:7","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":1648,"src":"210:108:7","usedErrors":[]},{"abstract":false,"baseContracts":[{"baseName":{"id":1626,"name":"OracleInterface","nodeType":"IdentifierPath","referencedDeclaration":1617,"src":"347:15:7"},"id":1627,"nodeType":"InheritanceSpecifier","src":"347:15:7"}],"canonicalName":"TwapInterface","contractDependencies":[],"contractKind":"interface","fullyImplemented":false,"id":1635,"linearizedBaseContracts":[1635,1617],"name":"TwapInterface","nameLocation":"330:13:7","nodeType":"ContractDefinition","nodes":[{"functionSelector":"725068a5","id":1634,"implemented":false,"kind":"function","modifiers":[],"name":"updateTwap","nameLocation":"378:10:7","nodeType":"FunctionDefinition","parameters":{"id":1630,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1629,"mutability":"mutable","name":"vToken","nameLocation":"397:6:7","nodeType":"VariableDeclaration","scope":1634,"src":"389:14:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1628,"name":"address","nodeType":"ElementaryTypeName","src":"389:7:7","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"388:16:7"},"returnParameters":{"id":1633,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1632,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1634,"src":"423:7:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1631,"name":"uint256","nodeType":"ElementaryTypeName","src":"423:7:7","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"422:9:7"},"scope":1635,"src":"369:63:7","stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"scope":1648,"src":"320:114:7","usedErrors":[]},{"abstract":false,"baseContracts":[],"canonicalName":"BoundValidatorInterface","contractDependencies":[],"contractKind":"interface","fullyImplemented":false,"id":1647,"linearizedBaseContracts":[1647],"name":"BoundValidatorInterface","nameLocation":"446:23:7","nodeType":"ContractDefinition","nodes":[{"functionSelector":"97c7033e","id":1646,"implemented":false,"kind":"function","modifiers":[],"name":"validatePriceWithAnchorPrice","nameLocation":"485:28:7","nodeType":"FunctionDefinition","parameters":{"id":1642,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1637,"mutability":"mutable","name":"vToken","nameLocation":"531:6:7","nodeType":"VariableDeclaration","scope":1646,"src":"523:14:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1636,"name":"address","nodeType":"ElementaryTypeName","src":"523:7:7","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":1639,"mutability":"mutable","name":"reporterPrice","nameLocation":"555:13:7","nodeType":"VariableDeclaration","scope":1646,"src":"547:21:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1638,"name":"uint256","nodeType":"ElementaryTypeName","src":"547:7:7","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"},{"constant":false,"id":1641,"mutability":"mutable","name":"anchorPrice","nameLocation":"586:11:7","nodeType":"VariableDeclaration","scope":1646,"src":"578:19:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":1640,"name":"uint256","nodeType":"ElementaryTypeName","src":"578:7:7","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"513:90:7"},"returnParameters":{"id":1645,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1644,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1646,"src":"627:4:7","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":1643,"name":"bool","nodeType":"ElementaryTypeName","src":"627:4:7","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"626:6:7"},"scope":1647,"src":"476:157:7","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":1648,"src":"436:199:7","usedErrors":[]}],"src":"39:597:7"},"id":7},"contracts/interfaces/VBep20Interface.sol":{"ast":{"absolutePath":"contracts/interfaces/VBep20Interface.sol","exportedSymbols":{"BEP20Interface":[1606],"VBep20Interface":[1659]},"id":1660,"license":"UNLICENSED","nodeType":"SourceUnit","nodes":[{"id":1649,"literals":["solidity","^","0.8",".0"],"nodeType":"PragmaDirective","src":"39:23:8"},{"absolutePath":"contracts/interfaces/BEP20Interface.sol","file":"./BEP20Interface.sol","id":1650,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":1660,"sourceUnit":1607,"src":"64:30:8","symbolAliases":[],"unitAlias":""},{"abstract":false,"baseContracts":[{"baseName":{"id":1651,"name":"BEP20Interface","nodeType":"IdentifierPath","referencedDeclaration":1606,"src":"125:14:8"},"id":1652,"nodeType":"InheritanceSpecifier","src":"125:14:8"}],"canonicalName":"VBep20Interface","contractDependencies":[],"contractKind":"interface","fullyImplemented":false,"id":1659,"linearizedBaseContracts":[1659,1606],"name":"VBep20Interface","nameLocation":"106:15:8","nodeType":"ContractDefinition","nodes":[{"documentation":{"id":1653,"nodeType":"StructuredDocumentation","src":"146:59:8","text":" @notice Underlying asset for this VToken"},"functionSelector":"6f307dc3","id":1658,"implemented":false,"kind":"function","modifiers":[],"name":"underlying","nameLocation":"219:10:8","nodeType":"FunctionDefinition","parameters":{"id":1654,"nodeType":"ParameterList","parameters":[],"src":"229:2:8"},"returnParameters":{"id":1657,"nodeType":"ParameterList","parameters":[{"constant":false,"id":1656,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":1658,"src":"255:7:8","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":1655,"name":"address","nodeType":"ElementaryTypeName","src":"255:7:8","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"254:9:8"},"scope":1659,"src":"210:54:8","stateMutability":"view","virtual":false,"visibility":"external"}],"scope":1660,"src":"96:170:8","usedErrors":[]}],"src":"39:228:8"},"id":8}},"contracts":{"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol":{"OwnableUpgradeable":{"abi":[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}],"devdoc":{"details":"Contract module which provides a basic access control mechanism, where there is an account (an owner) that can be granted exclusive access to specific functions. By default, the owner account will be the one that deploys the contract. This can later be changed with {transferOwnership}. This module is used through inheritance. It will make available the modifier `onlyOwner`, which can be applied to your functions to restrict their use to the owner.","kind":"dev","methods":{"owner()":{"details":"Returns the address of the current owner."},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."}},"stateVariables":{"__gap":{"details":"This empty reserved space is put in place to allow future versions to add new variables without shifting down storage in the inheritance chain. See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps"}},"version":1},"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"gasEstimates":null,"methodIdentifiers":{"owner()":"8da5cb5b","renounceOwnership()":"715018a6","transferOwnership(address)":"f2fde38b"}},"metadata":"{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Contract module which provides a basic access control mechanism, where there is an account (an owner) that can be granted exclusive access to specific functions. By default, the owner account will be the one that deploys the contract. This can later be changed with {transferOwnership}. This module is used through inheritance. It will make available the modifier `onlyOwner`, which can be applied to your functions to restrict their use to the owner.\",\"kind\":\"dev\",\"methods\":{\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"stateVariables\":{\"__gap\":{\"details\":\"This empty reserved space is put in place to allow future versions to add new variables without shifting down storage in the inheritance chain. See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol\":\"OwnableUpgradeable\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../utils/ContextUpgradeable.sol\\\";\\nimport \\\"../proxy/utils/Initializable.sol\\\";\\n\\n/**\\n * @dev Contract module which provides a basic access control mechanism, where\\n * there is an account (an owner) that can be granted exclusive access to\\n * specific functions.\\n *\\n * By default, the owner account will be the one that deploys the contract. This\\n * can later be changed with {transferOwnership}.\\n *\\n * This module is used through inheritance. It will make available the modifier\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\n * the owner.\\n */\\nabstract contract OwnableUpgradeable is Initializable, ContextUpgradeable {\\n address private _owner;\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /**\\n * @dev Initializes the contract setting the deployer as the initial owner.\\n */\\n function __Ownable_init() internal onlyInitializing {\\n __Ownable_init_unchained();\\n }\\n\\n function __Ownable_init_unchained() internal onlyInitializing {\\n _transferOwnership(_msgSender());\\n }\\n\\n /**\\n * @dev Throws if called by any account other than the owner.\\n */\\n modifier onlyOwner() {\\n _checkOwner();\\n _;\\n }\\n\\n /**\\n * @dev Returns the address of the current owner.\\n */\\n function owner() public view virtual returns (address) {\\n return _owner;\\n }\\n\\n /**\\n * @dev Throws if the sender is not the owner.\\n */\\n function _checkOwner() internal view virtual {\\n require(owner() == _msgSender(), \\\"Ownable: caller is not the owner\\\");\\n }\\n\\n /**\\n * @dev Leaves the contract without owner. It will not be possible to call\\n * `onlyOwner` functions anymore. Can only be called by the current owner.\\n *\\n * NOTE: Renouncing ownership will leave the contract without an owner,\\n * thereby removing any functionality that is only available to the owner.\\n */\\n function renounceOwnership() public virtual onlyOwner {\\n _transferOwnership(address(0));\\n }\\n\\n /**\\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n * Can only be called by the current owner.\\n */\\n function transferOwnership(address newOwner) public virtual onlyOwner {\\n require(newOwner != address(0), \\\"Ownable: new owner is the zero address\\\");\\n _transferOwnership(newOwner);\\n }\\n\\n /**\\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n * Internal function without access restriction.\\n */\\n function _transferOwnership(address newOwner) internal virtual {\\n address oldOwner = _owner;\\n _owner = newOwner;\\n emit OwnershipTransferred(oldOwner, newOwner);\\n }\\n\\n /**\\n * @dev This empty reserved space is put in place to allow future versions to add new\\n * variables without shifting down storage in the inheritance chain.\\n * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\\n */\\n uint256[49] private __gap;\\n}\\n\",\"keccak256\":\"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (proxy/utils/Initializable.sol)\\n\\npragma solidity ^0.8.2;\\n\\nimport \\\"../../utils/AddressUpgradeable.sol\\\";\\n\\n/**\\n * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\\n * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an\\n * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\\n * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\\n *\\n * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be\\n * reused. This mechanism prevents re-execution of each \\\"step\\\" but allows the creation of new initialization steps in\\n * case an upgrade adds a module that needs to be initialized.\\n *\\n * For example:\\n *\\n * [.hljs-theme-light.nopadding]\\n * ```\\n * contract MyToken is ERC20Upgradeable {\\n * function initialize() initializer public {\\n * __ERC20_init(\\\"MyToken\\\", \\\"MTK\\\");\\n * }\\n * }\\n * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {\\n * function initializeV2() reinitializer(2) public {\\n * __ERC20Permit_init(\\\"MyToken\\\");\\n * }\\n * }\\n * ```\\n *\\n * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\\n * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.\\n *\\n * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\\n * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\\n *\\n * [CAUTION]\\n * ====\\n * Avoid leaving a contract uninitialized.\\n *\\n * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation\\n * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke\\n * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:\\n *\\n * [.hljs-theme-light.nopadding]\\n * ```\\n * /// @custom:oz-upgrades-unsafe-allow constructor\\n * constructor() {\\n * _disableInitializers();\\n * }\\n * ```\\n * ====\\n */\\nabstract contract Initializable {\\n /**\\n * @dev Indicates that the contract has been initialized.\\n * @custom:oz-retyped-from bool\\n */\\n uint8 private _initialized;\\n\\n /**\\n * @dev Indicates that the contract is in the process of being initialized.\\n */\\n bool private _initializing;\\n\\n /**\\n * @dev Triggered when the contract has been initialized or reinitialized.\\n */\\n event Initialized(uint8 version);\\n\\n /**\\n * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,\\n * `onlyInitializing` functions can be used to initialize parent contracts. Equivalent to `reinitializer(1)`.\\n */\\n modifier initializer() {\\n bool isTopLevelCall = !_initializing;\\n require(\\n (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),\\n \\\"Initializable: contract is already initialized\\\"\\n );\\n _initialized = 1;\\n if (isTopLevelCall) {\\n _initializing = true;\\n }\\n _;\\n if (isTopLevelCall) {\\n _initializing = false;\\n emit Initialized(1);\\n }\\n }\\n\\n /**\\n * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the\\n * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be\\n * used to initialize parent contracts.\\n *\\n * `initializer` is equivalent to `reinitializer(1)`, so a reinitializer may be used after the original\\n * initialization step. This is essential to configure modules that are added through upgrades and that require\\n * initialization.\\n *\\n * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in\\n * a contract, executing them in the right order is up to the developer or operator.\\n */\\n modifier reinitializer(uint8 version) {\\n require(!_initializing && _initialized < version, \\\"Initializable: contract is already initialized\\\");\\n _initialized = version;\\n _initializing = true;\\n _;\\n _initializing = false;\\n emit Initialized(version);\\n }\\n\\n /**\\n * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the\\n * {initializer} and {reinitializer} modifiers, directly or indirectly.\\n */\\n modifier onlyInitializing() {\\n require(_initializing, \\\"Initializable: contract is not initializing\\\");\\n _;\\n }\\n\\n /**\\n * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.\\n * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized\\n * to any version. It is recommended to use this to lock implementation contracts that are designed to be called\\n * through proxies.\\n */\\n function _disableInitializers() internal virtual {\\n require(!_initializing, \\\"Initializable: contract is initializing\\\");\\n if (_initialized < type(uint8).max) {\\n _initialized = type(uint8).max;\\n emit Initialized(type(uint8).max);\\n }\\n }\\n}\\n\",\"keccak256\":\"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.1;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary AddressUpgradeable {\\n /**\\n * @dev Returns true if `account` is a contract.\\n *\\n * [IMPORTANT]\\n * ====\\n * It is unsafe to assume that an address for which this function returns\\n * false is an externally-owned account (EOA) and not a contract.\\n *\\n * Among others, `isContract` will return false for the following\\n * types of addresses:\\n *\\n * - an externally-owned account\\n * - a contract in construction\\n * - an address where a contract will be created\\n * - an address where a contract lived, but was destroyed\\n * ====\\n *\\n * [IMPORTANT]\\n * ====\\n * You shouldn't rely on `isContract` to protect against flash loan attacks!\\n *\\n * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\n * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\n * constructor.\\n * ====\\n */\\n function isContract(address account) internal view returns (bool) {\\n // This method relies on extcodesize/address.code.length, which returns 0\\n // for contracts in construction, since the code is only stored at the end\\n // of the constructor execution.\\n\\n return account.code.length > 0;\\n }\\n\\n /**\\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n * `recipient`, forwarding all available gas and reverting on errors.\\n *\\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n * imposed by `transfer`, making them unable to receive funds via\\n * `transfer`. {sendValue} removes this limitation.\\n *\\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n *\\n * IMPORTANT: because control is transferred to `recipient`, care must be\\n * taken to not create reentrancy vulnerabilities. Consider using\\n * {ReentrancyGuard} or the\\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n */\\n function sendValue(address payable recipient, uint256 amount) internal {\\n require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n }\\n\\n /**\\n * @dev Performs a Solidity function call using a low level `call`. A\\n * plain `call` is an unsafe replacement for a function call: use this\\n * function instead.\\n *\\n * If `target` reverts with a revert reason, it is bubbled up by this\\n * function (like regular Solidity function calls).\\n *\\n * Returns the raw returned data. To convert to the expected return value,\\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n *\\n * Requirements:\\n *\\n * - `target` must be a contract.\\n * - calling `target` with `data` must not revert.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionCall(target, data, \\\"Address: low-level call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n * `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but also transferring `value` wei to `target`.\\n *\\n * Requirements:\\n *\\n * - the calling contract must have an ETH balance of at least `value`.\\n * - the called Solidity function must be `payable`.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n * with `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n require(isContract(target), \\\"Address: call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.call{value: value}(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal view returns (bytes memory) {\\n require(isContract(target), \\\"Address: static call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.staticcall(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the\\n * revert reason using the provided one.\\n *\\n * _Available since v4.3._\\n */\\n function verifyCallResult(\\n bool success,\\n bytes memory returndata,\\n string memory errorMessage\\n ) internal pure returns (bytes memory) {\\n if (success) {\\n return returndata;\\n } else {\\n // Look for revert reason and bubble it up if present\\n if (returndata.length > 0) {\\n // The easiest way to bubble the revert reason is using memory via assembly\\n /// @solidity memory-safe-assembly\\n assembly {\\n let returndata_size := mload(returndata)\\n revert(add(32, returndata), returndata_size)\\n }\\n } else {\\n revert(errorMessage);\\n }\\n }\\n }\\n}\\n\",\"keccak256\":\"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\n\\npragma solidity ^0.8.0;\\nimport \\\"../proxy/utils/Initializable.sol\\\";\\n\\n/**\\n * @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 *\\n * This contract is only required for intermediate, library-like contracts.\\n */\\nabstract contract ContextUpgradeable is Initializable {\\n function __Context_init() internal onlyInitializing {\\n }\\n\\n function __Context_init_unchained() internal onlyInitializing {\\n }\\n function _msgSender() internal view virtual returns (address) {\\n return msg.sender;\\n }\\n\\n function _msgData() internal view virtual returns (bytes calldata) {\\n return msg.data;\\n }\\n\\n /**\\n * @dev This empty reserved space is put in place to allow future versions to add new\\n * variables without shifting down storage in the inheritance chain.\\n * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\\n */\\n uint256[50] private __gap;\\n}\\n\",\"keccak256\":\"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149\",\"license\":\"MIT\"}},\"version\":1}","storageLayout":{"storage":[{"astId":138,"contract":"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:OwnableUpgradeable","label":"_initialized","offset":0,"slot":"0","type":"t_uint8"},{"astId":141,"contract":"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:OwnableUpgradeable","label":"_initializing","offset":1,"slot":"0","type":"t_bool"},{"astId":693,"contract":"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:OwnableUpgradeable","label":"__gap","offset":0,"slot":"1","type":"t_array(t_uint256)50_storage"},{"astId":10,"contract":"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:OwnableUpgradeable","label":"_owner","offset":0,"slot":"51","type":"t_address"},{"astId":130,"contract":"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:OwnableUpgradeable","label":"__gap","offset":0,"slot":"52","type":"t_array(t_uint256)49_storage"}],"types":{"t_address":{"encoding":"inplace","label":"address","numberOfBytes":"20"},"t_array(t_uint256)49_storage":{"base":"t_uint256","encoding":"inplace","label":"uint256[49]","numberOfBytes":"1568"},"t_array(t_uint256)50_storage":{"base":"t_uint256","encoding":"inplace","label":"uint256[50]","numberOfBytes":"1600"},"t_bool":{"encoding":"inplace","label":"bool","numberOfBytes":"1"},"t_uint256":{"encoding":"inplace","label":"uint256","numberOfBytes":"32"},"t_uint8":{"encoding":"inplace","label":"uint8","numberOfBytes":"1"}}},"userdoc":{"kind":"user","methods":{},"version":1}}},"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol":{"Initializable":{"abi":[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"}],"devdoc":{"custom:oz-upgrades-unsafe-allow":"constructor constructor() { _disableInitializers(); } ``` ====","details":"This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. The initialization functions use a version number. Once a version number is used, it is consumed and cannot be reused. This mechanism prevents re-execution of each \"step\" but allows the creation of new initialization steps in case an upgrade adds a module that needs to be initialized. For example: [.hljs-theme-light.nopadding] ``` contract MyToken is ERC20Upgradeable { function initialize() initializer public { __ERC20_init(\"MyToken\", \"MTK\"); } } contract MyTokenV2 is MyToken, ERC20PermitUpgradeable { function initializeV2() reinitializer(2) public { __ERC20Permit_init(\"MyToken\"); } } ``` TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. [CAUTION] ==== Avoid leaving a contract uninitialized. An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke the {_disableInitializers} function in the constructor to automatically lock it when it is deployed: [.hljs-theme-light.nopadding] ```","events":{"Initialized(uint8)":{"details":"Triggered when the contract has been initialized or reinitialized."}},"kind":"dev","methods":{},"stateVariables":{"_initialized":{"custom:oz-retyped-from":"bool","details":"Indicates that the contract has been initialized."},"_initializing":{"details":"Indicates that the contract is in the process of being initialized."}},"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.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"}],\"devdoc\":{\"custom:oz-upgrades-unsafe-allow\":\"constructor constructor() { _disableInitializers(); } ``` ====\",\"details\":\"This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. The initialization functions use a version number. Once a version number is used, it is consumed and cannot be reused. This mechanism prevents re-execution of each \\\"step\\\" but allows the creation of new initialization steps in case an upgrade adds a module that needs to be initialized. For example: [.hljs-theme-light.nopadding] ``` contract MyToken is ERC20Upgradeable { function initialize() initializer public { __ERC20_init(\\\"MyToken\\\", \\\"MTK\\\"); } } contract MyTokenV2 is MyToken, ERC20PermitUpgradeable { function initializeV2() reinitializer(2) public { __ERC20Permit_init(\\\"MyToken\\\"); } } ``` TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. [CAUTION] ==== Avoid leaving a contract uninitialized. An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke the {_disableInitializers} function in the constructor to automatically lock it when it is deployed: [.hljs-theme-light.nopadding] ```\",\"events\":{\"Initialized(uint8)\":{\"details\":\"Triggered when the contract has been initialized or reinitialized.\"}},\"kind\":\"dev\",\"methods\":{},\"stateVariables\":{\"_initialized\":{\"custom:oz-retyped-from\":\"bool\",\"details\":\"Indicates that the contract has been initialized.\"},\"_initializing\":{\"details\":\"Indicates that the contract is in the process of being initialized.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol\":\"Initializable\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (proxy/utils/Initializable.sol)\\n\\npragma solidity ^0.8.2;\\n\\nimport \\\"../../utils/AddressUpgradeable.sol\\\";\\n\\n/**\\n * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\\n * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an\\n * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\\n * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\\n *\\n * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be\\n * reused. This mechanism prevents re-execution of each \\\"step\\\" but allows the creation of new initialization steps in\\n * case an upgrade adds a module that needs to be initialized.\\n *\\n * For example:\\n *\\n * [.hljs-theme-light.nopadding]\\n * ```\\n * contract MyToken is ERC20Upgradeable {\\n * function initialize() initializer public {\\n * __ERC20_init(\\\"MyToken\\\", \\\"MTK\\\");\\n * }\\n * }\\n * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {\\n * function initializeV2() reinitializer(2) public {\\n * __ERC20Permit_init(\\\"MyToken\\\");\\n * }\\n * }\\n * ```\\n *\\n * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\\n * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.\\n *\\n * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\\n * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\\n *\\n * [CAUTION]\\n * ====\\n * Avoid leaving a contract uninitialized.\\n *\\n * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation\\n * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke\\n * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:\\n *\\n * [.hljs-theme-light.nopadding]\\n * ```\\n * /// @custom:oz-upgrades-unsafe-allow constructor\\n * constructor() {\\n * _disableInitializers();\\n * }\\n * ```\\n * ====\\n */\\nabstract contract Initializable {\\n /**\\n * @dev Indicates that the contract has been initialized.\\n * @custom:oz-retyped-from bool\\n */\\n uint8 private _initialized;\\n\\n /**\\n * @dev Indicates that the contract is in the process of being initialized.\\n */\\n bool private _initializing;\\n\\n /**\\n * @dev Triggered when the contract has been initialized or reinitialized.\\n */\\n event Initialized(uint8 version);\\n\\n /**\\n * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,\\n * `onlyInitializing` functions can be used to initialize parent contracts. Equivalent to `reinitializer(1)`.\\n */\\n modifier initializer() {\\n bool isTopLevelCall = !_initializing;\\n require(\\n (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),\\n \\\"Initializable: contract is already initialized\\\"\\n );\\n _initialized = 1;\\n if (isTopLevelCall) {\\n _initializing = true;\\n }\\n _;\\n if (isTopLevelCall) {\\n _initializing = false;\\n emit Initialized(1);\\n }\\n }\\n\\n /**\\n * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the\\n * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be\\n * used to initialize parent contracts.\\n *\\n * `initializer` is equivalent to `reinitializer(1)`, so a reinitializer may be used after the original\\n * initialization step. This is essential to configure modules that are added through upgrades and that require\\n * initialization.\\n *\\n * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in\\n * a contract, executing them in the right order is up to the developer or operator.\\n */\\n modifier reinitializer(uint8 version) {\\n require(!_initializing && _initialized < version, \\\"Initializable: contract is already initialized\\\");\\n _initialized = version;\\n _initializing = true;\\n _;\\n _initializing = false;\\n emit Initialized(version);\\n }\\n\\n /**\\n * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the\\n * {initializer} and {reinitializer} modifiers, directly or indirectly.\\n */\\n modifier onlyInitializing() {\\n require(_initializing, \\\"Initializable: contract is not initializing\\\");\\n _;\\n }\\n\\n /**\\n * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.\\n * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized\\n * to any version. It is recommended to use this to lock implementation contracts that are designed to be called\\n * through proxies.\\n */\\n function _disableInitializers() internal virtual {\\n require(!_initializing, \\\"Initializable: contract is initializing\\\");\\n if (_initialized < type(uint8).max) {\\n _initialized = type(uint8).max;\\n emit Initialized(type(uint8).max);\\n }\\n }\\n}\\n\",\"keccak256\":\"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.1;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary AddressUpgradeable {\\n /**\\n * @dev Returns true if `account` is a contract.\\n *\\n * [IMPORTANT]\\n * ====\\n * It is unsafe to assume that an address for which this function returns\\n * false is an externally-owned account (EOA) and not a contract.\\n *\\n * Among others, `isContract` will return false for the following\\n * types of addresses:\\n *\\n * - an externally-owned account\\n * - a contract in construction\\n * - an address where a contract will be created\\n * - an address where a contract lived, but was destroyed\\n * ====\\n *\\n * [IMPORTANT]\\n * ====\\n * You shouldn't rely on `isContract` to protect against flash loan attacks!\\n *\\n * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\n * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\n * constructor.\\n * ====\\n */\\n function isContract(address account) internal view returns (bool) {\\n // This method relies on extcodesize/address.code.length, which returns 0\\n // for contracts in construction, since the code is only stored at the end\\n // of the constructor execution.\\n\\n return account.code.length > 0;\\n }\\n\\n /**\\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n * `recipient`, forwarding all available gas and reverting on errors.\\n *\\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n * imposed by `transfer`, making them unable to receive funds via\\n * `transfer`. {sendValue} removes this limitation.\\n *\\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n *\\n * IMPORTANT: because control is transferred to `recipient`, care must be\\n * taken to not create reentrancy vulnerabilities. Consider using\\n * {ReentrancyGuard} or the\\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n */\\n function sendValue(address payable recipient, uint256 amount) internal {\\n require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n }\\n\\n /**\\n * @dev Performs a Solidity function call using a low level `call`. A\\n * plain `call` is an unsafe replacement for a function call: use this\\n * function instead.\\n *\\n * If `target` reverts with a revert reason, it is bubbled up by this\\n * function (like regular Solidity function calls).\\n *\\n * Returns the raw returned data. To convert to the expected return value,\\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n *\\n * Requirements:\\n *\\n * - `target` must be a contract.\\n * - calling `target` with `data` must not revert.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionCall(target, data, \\\"Address: low-level call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n * `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but also transferring `value` wei to `target`.\\n *\\n * Requirements:\\n *\\n * - the calling contract must have an ETH balance of at least `value`.\\n * - the called Solidity function must be `payable`.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n * with `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n require(isContract(target), \\\"Address: call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.call{value: value}(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal view returns (bytes memory) {\\n require(isContract(target), \\\"Address: static call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.staticcall(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the\\n * revert reason using the provided one.\\n *\\n * _Available since v4.3._\\n */\\n function verifyCallResult(\\n bool success,\\n bytes memory returndata,\\n string memory errorMessage\\n ) internal pure returns (bytes memory) {\\n if (success) {\\n return returndata;\\n } else {\\n // Look for revert reason and bubble it up if present\\n if (returndata.length > 0) {\\n // The easiest way to bubble the revert reason is using memory via assembly\\n /// @solidity memory-safe-assembly\\n assembly {\\n let returndata_size := mload(returndata)\\n revert(add(32, returndata), returndata_size)\\n }\\n } else {\\n revert(errorMessage);\\n }\\n }\\n }\\n}\\n\",\"keccak256\":\"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3\",\"license\":\"MIT\"}},\"version\":1}","storageLayout":{"storage":[{"astId":138,"contract":"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:Initializable","label":"_initialized","offset":0,"slot":"0","type":"t_uint8"},{"astId":141,"contract":"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:Initializable","label":"_initializing","offset":1,"slot":"0","type":"t_bool"}],"types":{"t_bool":{"encoding":"inplace","label":"bool","numberOfBytes":"1"},"t_uint8":{"encoding":"inplace","label":"uint8","numberOfBytes":"1"}}},"userdoc":{"kind":"user","methods":{},"version":1}}},"@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol":{"PausableUpgradeable":{"abi":[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}],"devdoc":{"details":"Contract module which allows children to implement an emergency stop mechanism that can be triggered by an authorized account. This module is used through inheritance. It will make available the modifiers `whenNotPaused` and `whenPaused`, which can be applied to the functions of your contract. Note that they will not be pausable by simply including this module, only once the modifiers are put in place.","events":{"Paused(address)":{"details":"Emitted when the pause is triggered by `account`."},"Unpaused(address)":{"details":"Emitted when the pause is lifted by `account`."}},"kind":"dev","methods":{"paused()":{"details":"Returns true if the contract is paused, and false otherwise."}},"stateVariables":{"__gap":{"details":"This empty reserved space is put in place to allow future versions to add new variables without shifting down storage in the inheritance chain. See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps"}},"version":1},"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"","opcodes":"","sourceMap":""},"gasEstimates":null,"methodIdentifiers":{"paused()":"5c975abb"}},"metadata":"{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Contract module which allows children to implement an emergency stop mechanism that can be triggered by an authorized account. This module is used through inheritance. It will make available the modifiers `whenNotPaused` and `whenPaused`, which can be applied to the functions of your contract. Note that they will not be pausable by simply including this module, only once the modifiers are put in place.\",\"events\":{\"Paused(address)\":{\"details\":\"Emitted when the pause is triggered by `account`.\"},\"Unpaused(address)\":{\"details\":\"Emitted when the pause is lifted by `account`.\"}},\"kind\":\"dev\",\"methods\":{\"paused()\":{\"details\":\"Returns true if the contract is paused, and false otherwise.\"}},\"stateVariables\":{\"__gap\":{\"details\":\"This empty reserved space is put in place to allow future versions to add new variables without shifting down storage in the inheritance chain. See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol\":\"PausableUpgradeable\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (proxy/utils/Initializable.sol)\\n\\npragma solidity ^0.8.2;\\n\\nimport \\\"../../utils/AddressUpgradeable.sol\\\";\\n\\n/**\\n * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\\n * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an\\n * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\\n * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\\n *\\n * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be\\n * reused. This mechanism prevents re-execution of each \\\"step\\\" but allows the creation of new initialization steps in\\n * case an upgrade adds a module that needs to be initialized.\\n *\\n * For example:\\n *\\n * [.hljs-theme-light.nopadding]\\n * ```\\n * contract MyToken is ERC20Upgradeable {\\n * function initialize() initializer public {\\n * __ERC20_init(\\\"MyToken\\\", \\\"MTK\\\");\\n * }\\n * }\\n * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {\\n * function initializeV2() reinitializer(2) public {\\n * __ERC20Permit_init(\\\"MyToken\\\");\\n * }\\n * }\\n * ```\\n *\\n * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\\n * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.\\n *\\n * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\\n * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\\n *\\n * [CAUTION]\\n * ====\\n * Avoid leaving a contract uninitialized.\\n *\\n * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation\\n * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke\\n * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:\\n *\\n * [.hljs-theme-light.nopadding]\\n * ```\\n * /// @custom:oz-upgrades-unsafe-allow constructor\\n * constructor() {\\n * _disableInitializers();\\n * }\\n * ```\\n * ====\\n */\\nabstract contract Initializable {\\n /**\\n * @dev Indicates that the contract has been initialized.\\n * @custom:oz-retyped-from bool\\n */\\n uint8 private _initialized;\\n\\n /**\\n * @dev Indicates that the contract is in the process of being initialized.\\n */\\n bool private _initializing;\\n\\n /**\\n * @dev Triggered when the contract has been initialized or reinitialized.\\n */\\n event Initialized(uint8 version);\\n\\n /**\\n * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,\\n * `onlyInitializing` functions can be used to initialize parent contracts. Equivalent to `reinitializer(1)`.\\n */\\n modifier initializer() {\\n bool isTopLevelCall = !_initializing;\\n require(\\n (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),\\n \\\"Initializable: contract is already initialized\\\"\\n );\\n _initialized = 1;\\n if (isTopLevelCall) {\\n _initializing = true;\\n }\\n _;\\n if (isTopLevelCall) {\\n _initializing = false;\\n emit Initialized(1);\\n }\\n }\\n\\n /**\\n * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the\\n * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be\\n * used to initialize parent contracts.\\n *\\n * `initializer` is equivalent to `reinitializer(1)`, so a reinitializer may be used after the original\\n * initialization step. This is essential to configure modules that are added through upgrades and that require\\n * initialization.\\n *\\n * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in\\n * a contract, executing them in the right order is up to the developer or operator.\\n */\\n modifier reinitializer(uint8 version) {\\n require(!_initializing && _initialized < version, \\\"Initializable: contract is already initialized\\\");\\n _initialized = version;\\n _initializing = true;\\n _;\\n _initializing = false;\\n emit Initialized(version);\\n }\\n\\n /**\\n * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the\\n * {initializer} and {reinitializer} modifiers, directly or indirectly.\\n */\\n modifier onlyInitializing() {\\n require(_initializing, \\\"Initializable: contract is not initializing\\\");\\n _;\\n }\\n\\n /**\\n * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.\\n * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized\\n * to any version. It is recommended to use this to lock implementation contracts that are designed to be called\\n * through proxies.\\n */\\n function _disableInitializers() internal virtual {\\n require(!_initializing, \\\"Initializable: contract is initializing\\\");\\n if (_initialized < type(uint8).max) {\\n _initialized = type(uint8).max;\\n emit Initialized(type(uint8).max);\\n }\\n }\\n}\\n\",\"keccak256\":\"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../utils/ContextUpgradeable.sol\\\";\\nimport \\\"../proxy/utils/Initializable.sol\\\";\\n\\n/**\\n * @dev Contract module which allows children to implement an emergency stop\\n * mechanism that can be triggered by an authorized account.\\n *\\n * This module is used through inheritance. It will make available the\\n * modifiers `whenNotPaused` and `whenPaused`, which can be applied to\\n * the functions of your contract. Note that they will not be pausable by\\n * simply including this module, only once the modifiers are put in place.\\n */\\nabstract contract PausableUpgradeable is Initializable, ContextUpgradeable {\\n /**\\n * @dev Emitted when the pause is triggered by `account`.\\n */\\n event Paused(address account);\\n\\n /**\\n * @dev Emitted when the pause is lifted by `account`.\\n */\\n event Unpaused(address account);\\n\\n bool private _paused;\\n\\n /**\\n * @dev Initializes the contract in unpaused state.\\n */\\n function __Pausable_init() internal onlyInitializing {\\n __Pausable_init_unchained();\\n }\\n\\n function __Pausable_init_unchained() internal onlyInitializing {\\n _paused = false;\\n }\\n\\n /**\\n * @dev Modifier to make a function callable only when the contract is not paused.\\n *\\n * Requirements:\\n *\\n * - The contract must not be paused.\\n */\\n modifier whenNotPaused() {\\n _requireNotPaused();\\n _;\\n }\\n\\n /**\\n * @dev Modifier to make a function callable only when the contract is paused.\\n *\\n * Requirements:\\n *\\n * - The contract must be paused.\\n */\\n modifier whenPaused() {\\n _requirePaused();\\n _;\\n }\\n\\n /**\\n * @dev Returns true if the contract is paused, and false otherwise.\\n */\\n function paused() public view virtual returns (bool) {\\n return _paused;\\n }\\n\\n /**\\n * @dev Throws if the contract is paused.\\n */\\n function _requireNotPaused() internal view virtual {\\n require(!paused(), \\\"Pausable: paused\\\");\\n }\\n\\n /**\\n * @dev Throws if the contract is not paused.\\n */\\n function _requirePaused() internal view virtual {\\n require(paused(), \\\"Pausable: not paused\\\");\\n }\\n\\n /**\\n * @dev Triggers stopped state.\\n *\\n * Requirements:\\n *\\n * - The contract must not be paused.\\n */\\n function _pause() internal virtual whenNotPaused {\\n _paused = true;\\n emit Paused(_msgSender());\\n }\\n\\n /**\\n * @dev Returns to normal state.\\n *\\n * Requirements:\\n *\\n * - The contract must be paused.\\n */\\n function _unpause() internal virtual whenPaused {\\n _paused = false;\\n emit Unpaused(_msgSender());\\n }\\n\\n /**\\n * @dev This empty reserved space is put in place to allow future versions to add new\\n * variables without shifting down storage in the inheritance chain.\\n * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\\n */\\n uint256[49] private __gap;\\n}\\n\",\"keccak256\":\"0x40c636b4572ff5f1dc50cf22097e93c0723ee14eff87e99ac2b02636eeca1250\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.1;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary AddressUpgradeable {\\n /**\\n * @dev Returns true if `account` is a contract.\\n *\\n * [IMPORTANT]\\n * ====\\n * It is unsafe to assume that an address for which this function returns\\n * false is an externally-owned account (EOA) and not a contract.\\n *\\n * Among others, `isContract` will return false for the following\\n * types of addresses:\\n *\\n * - an externally-owned account\\n * - a contract in construction\\n * - an address where a contract will be created\\n * - an address where a contract lived, but was destroyed\\n * ====\\n *\\n * [IMPORTANT]\\n * ====\\n * You shouldn't rely on `isContract` to protect against flash loan attacks!\\n *\\n * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\n * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\n * constructor.\\n * ====\\n */\\n function isContract(address account) internal view returns (bool) {\\n // This method relies on extcodesize/address.code.length, which returns 0\\n // for contracts in construction, since the code is only stored at the end\\n // of the constructor execution.\\n\\n return account.code.length > 0;\\n }\\n\\n /**\\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n * `recipient`, forwarding all available gas and reverting on errors.\\n *\\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n * imposed by `transfer`, making them unable to receive funds via\\n * `transfer`. {sendValue} removes this limitation.\\n *\\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n *\\n * IMPORTANT: because control is transferred to `recipient`, care must be\\n * taken to not create reentrancy vulnerabilities. Consider using\\n * {ReentrancyGuard} or the\\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n */\\n function sendValue(address payable recipient, uint256 amount) internal {\\n require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n }\\n\\n /**\\n * @dev Performs a Solidity function call using a low level `call`. A\\n * plain `call` is an unsafe replacement for a function call: use this\\n * function instead.\\n *\\n * If `target` reverts with a revert reason, it is bubbled up by this\\n * function (like regular Solidity function calls).\\n *\\n * Returns the raw returned data. To convert to the expected return value,\\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n *\\n * Requirements:\\n *\\n * - `target` must be a contract.\\n * - calling `target` with `data` must not revert.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionCall(target, data, \\\"Address: low-level call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n * `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but also transferring `value` wei to `target`.\\n *\\n * Requirements:\\n *\\n * - the calling contract must have an ETH balance of at least `value`.\\n * - the called Solidity function must be `payable`.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n * with `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n require(isContract(target), \\\"Address: call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.call{value: value}(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal view returns (bytes memory) {\\n require(isContract(target), \\\"Address: static call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.staticcall(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the\\n * revert reason using the provided one.\\n *\\n * _Available since v4.3._\\n */\\n function verifyCallResult(\\n bool success,\\n bytes memory returndata,\\n string memory errorMessage\\n ) internal pure returns (bytes memory) {\\n if (success) {\\n return returndata;\\n } else {\\n // Look for revert reason and bubble it up if present\\n if (returndata.length > 0) {\\n // The easiest way to bubble the revert reason is using memory via assembly\\n /// @solidity memory-safe-assembly\\n assembly {\\n let returndata_size := mload(returndata)\\n revert(add(32, returndata), returndata_size)\\n }\\n } else {\\n revert(errorMessage);\\n }\\n }\\n }\\n}\\n\",\"keccak256\":\"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\n\\npragma solidity ^0.8.0;\\nimport \\\"../proxy/utils/Initializable.sol\\\";\\n\\n/**\\n * @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 *\\n * This contract is only required for intermediate, library-like contracts.\\n */\\nabstract contract ContextUpgradeable is Initializable {\\n function __Context_init() internal onlyInitializing {\\n }\\n\\n function __Context_init_unchained() internal onlyInitializing {\\n }\\n function _msgSender() internal view virtual returns (address) {\\n return msg.sender;\\n }\\n\\n function _msgData() internal view virtual returns (bytes calldata) {\\n return msg.data;\\n }\\n\\n /**\\n * @dev This empty reserved space is put in place to allow future versions to add new\\n * variables without shifting down storage in the inheritance chain.\\n * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\\n */\\n uint256[50] private __gap;\\n}\\n\",\"keccak256\":\"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149\",\"license\":\"MIT\"}},\"version\":1}","storageLayout":{"storage":[{"astId":138,"contract":"@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol:PausableUpgradeable","label":"_initialized","offset":0,"slot":"0","type":"t_uint8"},{"astId":141,"contract":"@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol:PausableUpgradeable","label":"_initializing","offset":1,"slot":"0","type":"t_bool"},{"astId":693,"contract":"@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol:PausableUpgradeable","label":"__gap","offset":0,"slot":"1","type":"t_array(t_uint256)50_storage"},{"astId":303,"contract":"@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol:PausableUpgradeable","label":"_paused","offset":0,"slot":"51","type":"t_bool"},{"astId":408,"contract":"@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol:PausableUpgradeable","label":"__gap","offset":0,"slot":"52","type":"t_array(t_uint256)49_storage"}],"types":{"t_array(t_uint256)49_storage":{"base":"t_uint256","encoding":"inplace","label":"uint256[49]","numberOfBytes":"1568"},"t_array(t_uint256)50_storage":{"base":"t_uint256","encoding":"inplace","label":"uint256[50]","numberOfBytes":"1600"},"t_bool":{"encoding":"inplace","label":"bool","numberOfBytes":"1"},"t_uint256":{"encoding":"inplace","label":"uint256","numberOfBytes":"32"},"t_uint8":{"encoding":"inplace","label":"uint8","numberOfBytes":"1"}}},"userdoc":{"kind":"user","methods":{},"version":1}}},"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol":{"AddressUpgradeable":{"abi":[],"devdoc":{"details":"Collection of functions related to the address type","kind":"dev","methods":{},"version":1},"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212208aede7638ac7f31d69de24eb0803b64ec7d591beaa62f76c52c08852696bbcf664736f6c634300080d0033","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 DUP11 0xED 0xE7 PUSH4 0x8AC7F31D PUSH10 0xDE24EB0803B64EC7D591 0xBE 0xAA PUSH3 0xF76C52 0xC0 DUP9 MSTORE PUSH10 0x6BBCF664736F6C634300 ADDMOD 0xD STOP CALLER ","sourceMap":"194:7172:3:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;194:7172:3;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{},"generatedSources":[],"immutableReferences":{},"linkReferences":{},"object":"73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212208aede7638ac7f31d69de24eb0803b64ec7d591beaa62f76c52c08852696bbcf664736f6c634300080d0033","opcodes":"PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 DUP11 0xED 0xE7 PUSH4 0x8AC7F31D PUSH10 0xDE24EB0803B64EC7D591 0xBE 0xAA PUSH3 0xF76C52 0xC0 DUP9 MSTORE PUSH10 0x6BBCF664736F6C634300 ADDMOD 0xD STOP CALLER ","sourceMap":"194:7172:3:-:0;;;;;;;;"},"gasEstimates":{"creation":{"codeDepositCost":"17200","executionCost":"103","totalCost":"17303"},"internal":{"functionCall(address,bytes memory)":"infinite","functionCall(address,bytes memory,string memory)":"infinite","functionCallWithValue(address,bytes memory,uint256)":"infinite","functionCallWithValue(address,bytes memory,uint256,string memory)":"infinite","functionStaticCall(address,bytes memory)":"infinite","functionStaticCall(address,bytes memory,string memory)":"infinite","isContract(address)":"infinite","sendValue(address payable,uint256)":"infinite","verifyCallResult(bool,bytes memory,string memory)":"infinite"}},"methodIdentifiers":{}},"metadata":"{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Collection of functions related to the address type\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol\":\"AddressUpgradeable\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.1;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary AddressUpgradeable {\\n /**\\n * @dev Returns true if `account` is a contract.\\n *\\n * [IMPORTANT]\\n * ====\\n * It is unsafe to assume that an address for which this function returns\\n * false is an externally-owned account (EOA) and not a contract.\\n *\\n * Among others, `isContract` will return false for the following\\n * types of addresses:\\n *\\n * - an externally-owned account\\n * - a contract in construction\\n * - an address where a contract will be created\\n * - an address where a contract lived, but was destroyed\\n * ====\\n *\\n * [IMPORTANT]\\n * ====\\n * You shouldn't rely on `isContract` to protect against flash loan attacks!\\n *\\n * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\n * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\n * constructor.\\n * ====\\n */\\n function isContract(address account) internal view returns (bool) {\\n // This method relies on extcodesize/address.code.length, which returns 0\\n // for contracts in construction, since the code is only stored at the end\\n // of the constructor execution.\\n\\n return account.code.length > 0;\\n }\\n\\n /**\\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n * `recipient`, forwarding all available gas and reverting on errors.\\n *\\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n * imposed by `transfer`, making them unable to receive funds via\\n * `transfer`. {sendValue} removes this limitation.\\n *\\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n *\\n * IMPORTANT: because control is transferred to `recipient`, care must be\\n * taken to not create reentrancy vulnerabilities. Consider using\\n * {ReentrancyGuard} or the\\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n */\\n function sendValue(address payable recipient, uint256 amount) internal {\\n require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n }\\n\\n /**\\n * @dev Performs a Solidity function call using a low level `call`. A\\n * plain `call` is an unsafe replacement for a function call: use this\\n * function instead.\\n *\\n * If `target` reverts with a revert reason, it is bubbled up by this\\n * function (like regular Solidity function calls).\\n *\\n * Returns the raw returned data. To convert to the expected return value,\\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n *\\n * Requirements:\\n *\\n * - `target` must be a contract.\\n * - calling `target` with `data` must not revert.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionCall(target, data, \\\"Address: low-level call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n * `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but also transferring `value` wei to `target`.\\n *\\n * Requirements:\\n *\\n * - the calling contract must have an ETH balance of at least `value`.\\n * - the called Solidity function must be `payable`.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n * with `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n require(isContract(target), \\\"Address: call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.call{value: value}(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal view returns (bytes memory) {\\n require(isContract(target), \\\"Address: static call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.staticcall(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the\\n * revert reason using the provided one.\\n *\\n * _Available since v4.3._\\n */\\n function verifyCallResult(\\n bool success,\\n bytes memory returndata,\\n string memory errorMessage\\n ) internal pure returns (bytes memory) {\\n if (success) {\\n return returndata;\\n } else {\\n // Look for revert reason and bubble it up if present\\n if (returndata.length > 0) {\\n // The easiest way to bubble the revert reason is using memory via assembly\\n /// @solidity memory-safe-assembly\\n assembly {\\n let returndata_size := mload(returndata)\\n revert(add(32, returndata), returndata_size)\\n }\\n } else {\\n revert(errorMessage);\\n }\\n }\\n }\\n}\\n\",\"keccak256\":\"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3\",\"license\":\"MIT\"}},\"version\":1}","storageLayout":{"storage":[],"types":null},"userdoc":{"kind":"user","methods":{},"version":1}}},"@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol":{"ContextUpgradeable":{"abi":[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"}],"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":{},"stateVariables":{"__gap":{"details":"This empty reserved space is put in place to allow future versions to add new variables without shifting down storage in the inheritance chain. See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps"}},"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.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"}],\"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\":{},\"stateVariables\":{\"__gap\":{\"details\":\"This empty reserved space is put in place to allow future versions to add new variables without shifting down storage in the inheritance chain. See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol\":\"ContextUpgradeable\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (proxy/utils/Initializable.sol)\\n\\npragma solidity ^0.8.2;\\n\\nimport \\\"../../utils/AddressUpgradeable.sol\\\";\\n\\n/**\\n * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\\n * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an\\n * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\\n * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\\n *\\n * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be\\n * reused. This mechanism prevents re-execution of each \\\"step\\\" but allows the creation of new initialization steps in\\n * case an upgrade adds a module that needs to be initialized.\\n *\\n * For example:\\n *\\n * [.hljs-theme-light.nopadding]\\n * ```\\n * contract MyToken is ERC20Upgradeable {\\n * function initialize() initializer public {\\n * __ERC20_init(\\\"MyToken\\\", \\\"MTK\\\");\\n * }\\n * }\\n * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {\\n * function initializeV2() reinitializer(2) public {\\n * __ERC20Permit_init(\\\"MyToken\\\");\\n * }\\n * }\\n * ```\\n *\\n * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\\n * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.\\n *\\n * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\\n * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\\n *\\n * [CAUTION]\\n * ====\\n * Avoid leaving a contract uninitialized.\\n *\\n * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation\\n * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke\\n * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:\\n *\\n * [.hljs-theme-light.nopadding]\\n * ```\\n * /// @custom:oz-upgrades-unsafe-allow constructor\\n * constructor() {\\n * _disableInitializers();\\n * }\\n * ```\\n * ====\\n */\\nabstract contract Initializable {\\n /**\\n * @dev Indicates that the contract has been initialized.\\n * @custom:oz-retyped-from bool\\n */\\n uint8 private _initialized;\\n\\n /**\\n * @dev Indicates that the contract is in the process of being initialized.\\n */\\n bool private _initializing;\\n\\n /**\\n * @dev Triggered when the contract has been initialized or reinitialized.\\n */\\n event Initialized(uint8 version);\\n\\n /**\\n * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,\\n * `onlyInitializing` functions can be used to initialize parent contracts. Equivalent to `reinitializer(1)`.\\n */\\n modifier initializer() {\\n bool isTopLevelCall = !_initializing;\\n require(\\n (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),\\n \\\"Initializable: contract is already initialized\\\"\\n );\\n _initialized = 1;\\n if (isTopLevelCall) {\\n _initializing = true;\\n }\\n _;\\n if (isTopLevelCall) {\\n _initializing = false;\\n emit Initialized(1);\\n }\\n }\\n\\n /**\\n * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the\\n * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be\\n * used to initialize parent contracts.\\n *\\n * `initializer` is equivalent to `reinitializer(1)`, so a reinitializer may be used after the original\\n * initialization step. This is essential to configure modules that are added through upgrades and that require\\n * initialization.\\n *\\n * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in\\n * a contract, executing them in the right order is up to the developer or operator.\\n */\\n modifier reinitializer(uint8 version) {\\n require(!_initializing && _initialized < version, \\\"Initializable: contract is already initialized\\\");\\n _initialized = version;\\n _initializing = true;\\n _;\\n _initializing = false;\\n emit Initialized(version);\\n }\\n\\n /**\\n * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the\\n * {initializer} and {reinitializer} modifiers, directly or indirectly.\\n */\\n modifier onlyInitializing() {\\n require(_initializing, \\\"Initializable: contract is not initializing\\\");\\n _;\\n }\\n\\n /**\\n * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.\\n * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized\\n * to any version. It is recommended to use this to lock implementation contracts that are designed to be called\\n * through proxies.\\n */\\n function _disableInitializers() internal virtual {\\n require(!_initializing, \\\"Initializable: contract is initializing\\\");\\n if (_initialized < type(uint8).max) {\\n _initialized = type(uint8).max;\\n emit Initialized(type(uint8).max);\\n }\\n }\\n}\\n\",\"keccak256\":\"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.1;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary AddressUpgradeable {\\n /**\\n * @dev Returns true if `account` is a contract.\\n *\\n * [IMPORTANT]\\n * ====\\n * It is unsafe to assume that an address for which this function returns\\n * false is an externally-owned account (EOA) and not a contract.\\n *\\n * Among others, `isContract` will return false for the following\\n * types of addresses:\\n *\\n * - an externally-owned account\\n * - a contract in construction\\n * - an address where a contract will be created\\n * - an address where a contract lived, but was destroyed\\n * ====\\n *\\n * [IMPORTANT]\\n * ====\\n * You shouldn't rely on `isContract` to protect against flash loan attacks!\\n *\\n * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\n * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\n * constructor.\\n * ====\\n */\\n function isContract(address account) internal view returns (bool) {\\n // This method relies on extcodesize/address.code.length, which returns 0\\n // for contracts in construction, since the code is only stored at the end\\n // of the constructor execution.\\n\\n return account.code.length > 0;\\n }\\n\\n /**\\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n * `recipient`, forwarding all available gas and reverting on errors.\\n *\\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n * imposed by `transfer`, making them unable to receive funds via\\n * `transfer`. {sendValue} removes this limitation.\\n *\\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n *\\n * IMPORTANT: because control is transferred to `recipient`, care must be\\n * taken to not create reentrancy vulnerabilities. Consider using\\n * {ReentrancyGuard} or the\\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n */\\n function sendValue(address payable recipient, uint256 amount) internal {\\n require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n }\\n\\n /**\\n * @dev Performs a Solidity function call using a low level `call`. A\\n * plain `call` is an unsafe replacement for a function call: use this\\n * function instead.\\n *\\n * If `target` reverts with a revert reason, it is bubbled up by this\\n * function (like regular Solidity function calls).\\n *\\n * Returns the raw returned data. To convert to the expected return value,\\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n *\\n * Requirements:\\n *\\n * - `target` must be a contract.\\n * - calling `target` with `data` must not revert.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionCall(target, data, \\\"Address: low-level call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n * `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but also transferring `value` wei to `target`.\\n *\\n * Requirements:\\n *\\n * - the calling contract must have an ETH balance of at least `value`.\\n * - the called Solidity function must be `payable`.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n * with `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n require(isContract(target), \\\"Address: call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.call{value: value}(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal view returns (bytes memory) {\\n require(isContract(target), \\\"Address: static call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.staticcall(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the\\n * revert reason using the provided one.\\n *\\n * _Available since v4.3._\\n */\\n function verifyCallResult(\\n bool success,\\n bytes memory returndata,\\n string memory errorMessage\\n ) internal pure returns (bytes memory) {\\n if (success) {\\n return returndata;\\n } else {\\n // Look for revert reason and bubble it up if present\\n if (returndata.length > 0) {\\n // The easiest way to bubble the revert reason is using memory via assembly\\n /// @solidity memory-safe-assembly\\n assembly {\\n let returndata_size := mload(returndata)\\n revert(add(32, returndata), returndata_size)\\n }\\n } else {\\n revert(errorMessage);\\n }\\n }\\n }\\n}\\n\",\"keccak256\":\"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\n\\npragma solidity ^0.8.0;\\nimport \\\"../proxy/utils/Initializable.sol\\\";\\n\\n/**\\n * @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 *\\n * This contract is only required for intermediate, library-like contracts.\\n */\\nabstract contract ContextUpgradeable is Initializable {\\n function __Context_init() internal onlyInitializing {\\n }\\n\\n function __Context_init_unchained() internal onlyInitializing {\\n }\\n function _msgSender() internal view virtual returns (address) {\\n return msg.sender;\\n }\\n\\n function _msgData() internal view virtual returns (bytes calldata) {\\n return msg.data;\\n }\\n\\n /**\\n * @dev This empty reserved space is put in place to allow future versions to add new\\n * variables without shifting down storage in the inheritance chain.\\n * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\\n */\\n uint256[50] private __gap;\\n}\\n\",\"keccak256\":\"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149\",\"license\":\"MIT\"}},\"version\":1}","storageLayout":{"storage":[{"astId":138,"contract":"@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:ContextUpgradeable","label":"_initialized","offset":0,"slot":"0","type":"t_uint8"},{"astId":141,"contract":"@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:ContextUpgradeable","label":"_initializing","offset":1,"slot":"0","type":"t_bool"},{"astId":693,"contract":"@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:ContextUpgradeable","label":"__gap","offset":0,"slot":"1","type":"t_array(t_uint256)50_storage"}],"types":{"t_array(t_uint256)50_storage":{"base":"t_uint256","encoding":"inplace","label":"uint256[50]","numberOfBytes":"1600"},"t_bool":{"encoding":"inplace","label":"bool","numberOfBytes":"1"},"t_uint256":{"encoding":"inplace","label":"uint256","numberOfBytes":"32"},"t_uint8":{"encoding":"inplace","label":"uint8","numberOfBytes":"1"}}},"userdoc":{"kind":"user","methods":{},"version":1}}},"contracts/ResilientOracle.sol":{"ResilientOracle":{"abi":[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bool","name":"isEnable","type":"bool"}],"name":"GlobalEnable","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"asset","type":"address"},{"indexed":true,"internalType":"uint256","name":"role","type":"uint256"},{"indexed":true,"internalType":"bool","name":"enable","type":"bool"}],"name":"OracleEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"asset","type":"address"},{"indexed":true,"internalType":"address","name":"oracle","type":"address"},{"indexed":true,"internalType":"uint256","name":"role","type":"uint256"}],"name":"OracleSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"asset","type":"address"},{"indexed":true,"internalType":"address","name":"mainOracle","type":"address"},{"indexed":true,"internalType":"address","name":"pivotOracle","type":"address"},{"indexed":false,"internalType":"address","name":"fallbackOracle","type":"address"}],"name":"TokenConfigAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"INVALID_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"boundValidator","outputs":[{"internalType":"contract BoundValidatorInterface","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"},{"internalType":"enum ResilientOracle.OracleRole","name":"role","type":"uint8"},{"internalType":"bool","name":"enable","type":"bool"}],"name":"enableOracle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"vToken","type":"address"},{"internalType":"enum ResilientOracle.OracleRole","name":"role","type":"uint8"}],"name":"getOracle","outputs":[{"internalType":"address","name":"oracle","type":"address"},{"internalType":"bool","name":"enabled","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"vToken","type":"address"}],"name":"getTokenConfig","outputs":[{"components":[{"internalType":"address","name":"asset","type":"address"},{"internalType":"address[3]","name":"oracles","type":"address[3]"},{"internalType":"bool[3]","name":"enableFlagsForOracles","type":"bool[3]"}],"internalType":"struct ResilientOracle.TokenConfig","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"vToken","type":"address"}],"name":"getUnderlyingPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract BoundValidatorInterface","name":"_boundValidator","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"},{"internalType":"address","name":"oracle","type":"address"},{"internalType":"enum ResilientOracle.OracleRole","name":"role","type":"uint8"}],"name":"setOracle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"asset","type":"address"},{"internalType":"address[3]","name":"oracles","type":"address[3]"},{"internalType":"bool[3]","name":"enableFlagsForOracles","type":"bool[3]"}],"internalType":"struct ResilientOracle.TokenConfig","name":"tokenConfig","type":"tuple"}],"name":"setTokenConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"asset","type":"address"},{"internalType":"address[3]","name":"oracles","type":"address[3]"},{"internalType":"bool[3]","name":"enableFlagsForOracles","type":"bool[3]"}],"internalType":"struct ResilientOracle.TokenConfig[]","name":"tokenConfigs_","type":"tuple[]"}],"name":"setTokenConfigs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"vToken","type":"address"}],"name":"updatePrice","outputs":[],"stateMutability":"nonpayable","type":"function"}],"devdoc":{"kind":"dev","methods":{"enableOracle(address,uint8,bool)":{"params":{"asset":"asset address","enable":"expected status","role":"oracle role"}},"getOracle(address,uint8)":{"params":{"role":"oracle role","vToken":"vtoken address"}},"getTokenConfig(address)":{"details":"Get token config by vToken address","params":{"vToken":"vtoken address"}},"getUnderlyingPrice(address)":{"params":{"vToken":"vToken address"},"returns":{"_0":"price USD price in 18 decimals"}},"owner()":{"details":"Returns the address of the current owner."},"paused()":{"details":"Returns true if the contract is paused, and false otherwise."},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner."},"setOracle(address,address,uint8)":{"params":{"asset":"asset address","oracle":"oracle address","role":"oracle role"}},"setTokenConfig((address,address[3],bool[3]))":{"params":{"tokenConfig":"token config struct"}},"setTokenConfigs((address,address[3],bool[3])[])":{"params":{"tokenConfigs_":"token config array"}},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"updatePrice(address)":{"params":{"vToken":"vToken address"}}},"version":1},"evm":{"bytecode":{"functionDebugData":{},"generatedSources":[],"linkReferences":{},"object":"608060405234801561001057600080fd5b50611b1b806100206000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c80638456cb59116100a2578063a6b1344a11610071578063a6b1344a14610215578063c4d66de814610228578063cb67e3b11461023b578063f2fde38b1461025b578063fc57d4df1461026e57600080fd5b80638456cb59146101b75780638b855da4146101bf5780638da5cb5b146101f157806396e85ced1461020257600080fd5b80634b932b8f116100de5780634b932b8f146101705780634bf39cba146101835780635c975abb14610199578063715018a6146101af57600080fd5b80632cfa387114610110578063333a21b01461012557806333d33494146101385780633f4ba83a14610168575b600080fd5b61012361011e366004611781565b610281565b005b610123610133366004611831565b610317565b60975461014b906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b610123610433565b61012361017e366004611868565b610445565b61018b600081565b60405190815260200161015f565b60655460ff16604051901515815260200161015f565b610123610585565b610123610597565b6101d26101cd3660046118b1565b6105a7565b604080516001600160a01b03909316835290151560208301520161015f565b6033546001600160a01b031661014b565b6101236102103660046118e6565b6106b2565b610123610223366004611903565b61074f565b6101236102363660046118e6565b61091b565b61024e6102493660046118e6565b610aa5565b60405161015f919061194a565b6101236102693660046118e6565b610be0565b61018b61027c3660046118e6565b610c59565b610289610d25565b80516000036102d35760405162461bcd60e51b815260206004820152601160248201527006c656e6774682063616e2774206265203607c1b60448201526064015b60405180910390fd5b60005b8151811015610313576103018282815181106102f4576102f46119c5565b6020026020010151610317565b8061030b816119db565b9150506102d6565b5050565b61031f610d25565b80516001600160a01b0381166103475760405162461bcd60e51b81526004016102ca90611a02565b6020820151516001600160a01b0381166103735760405162461bcd60e51b81526004016102ca90611a02565b82516001600160a01b039081166000908152609860209081526040909120855181546001600160a01b03191693169290921782558401518491906103bd90600183019060036114b1565b5060408201516103d39060048301906003611509565b505050602083810151808201518151865160409384015193516001600160a01b039485168152928416949184169316917fa51ad01e2270c314a7b78f0c60fe66c723f2d06c121d63fcdce776e654878fc1910160405180910390a4505050565b61043b610d25565b610443610d7f565b565b61044d610d25565b826001600160a01b0381166104745760405162461bcd60e51b81526004016102ca90611a02565b6001600160a01b038085166000908152609860205260409020548591166104d75760405162461bcd60e51b81526020600482015260176024820152761d1bdad95b8818dbdb999a59c81b5d5cdd08195e1a5cdd604a1b60448201526064016102ca565b6001600160a01b0385166000908152609860205260409020839060040185600281111561050657610506611a31565b60038110610516576105166119c5565b602091828204019190066101000a81548160ff02191690831515021790555082151584600281111561054a5761054a611a31565b6040516001600160a01b038816907fcf3cad1ec87208efbde5d82a0557484a78d4182c3ad16926a5463bc1f7234b3d90600090a45050505050565b61058d610d25565b6104436000610dd1565b61059f610d25565b610443610e23565b6000806000846001600160a01b0316636f307dc36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060e9190611a47565b6001600160a01b038116600090815260986020526040902090915060010184600281111561063e5761063e611a31565b6003811061064e5761064e6119c5565b01546001600160a01b0382811660009081526098602052604090209116935060040184600281111561068257610682611a31565b60038110610692576106926119c5565b602091828204019190069054906101000a900460ff169150509250929050565b6000806106c08360016105a7565b90925090506001600160a01b038216158015906106da5750805b1561074a5760405163725068a560e01b81526001600160a01b03848116600483015283169063725068a5906024016020604051808303816000875af1925050508015610743575060408051601f3d908101601f1916820190925261074091810190611a64565b60015b1561074a57505b505050565b610757610d25565b826001600160a01b03811661077e5760405162461bcd60e51b81526004016102ca90611a02565b6001600160a01b038085166000908152609860205260409020548591166107e15760405162461bcd60e51b81526020600482015260176024820152761d1bdad95b8818dbdb999a59c81b5d5cdd08195e1a5cdd604a1b60448201526064016102ca565b6001600160a01b0384161580156108095750600083600281111561080757610807611a31565b145b156108645760405162461bcd60e51b815260206004820152602560248201527f63616e277420736574207a65726f206164647265737320746f206d61696e206f6044820152647261636c6560d81b60648201526084016102ca565b6001600160a01b0385166000908152609860205260409020849060010184600281111561089357610893611a31565b600381106108a3576108a36119c5565b0180546001600160a01b0319166001600160a01b03929092169190911790558260028111156108d4576108d4611a31565b846001600160a01b0316866001600160a01b03167fea681d3efb830ef032a9c29a7215b5ceeeb546250d2c463dbf87817aecda1bf160405160405180910390a45050505050565b600054610100900460ff161580801561093b5750600054600160ff909116105b806109555750303b158015610955575060005460ff166001145b6109b85760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016102ca565b6000805460ff1916600117905580156109db576000805461ff0019166101001790555b6001600160a01b038216610a315760405162461bcd60e51b815260206004820181905260248201527f696e76616c69756420626f756e642076616c696461746f72206164647265737360448201526064016102ca565b609780546001600160a01b0319166001600160a01b038416179055610a54610e60565b610a5c610e8f565b8015610313576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b610aad611596565b6000826001600160a01b0316636f307dc36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610aed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b119190611a47565b6001600160a01b03818116600090815260986020908152604091829020825160608082018552825490951681528351948501938490529495509290840191600184019060039082845b81546001600160a01b03168152600190910190602001808311610b5a575050509183525050604080516060810191829052602090920191906004840190600390826000855b825461010083900a900460ff161515815260206001928301818104948501949093039092029101808411610b9f579050505050505081525050915050919050565b610be8610d25565b6001600160a01b038116610c4d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102ca565b610c5681610dd1565b50565b6000610c6760655460ff1690565b15610cb45760405162461bcd60e51b815260206004820152601a60248201527f726573696c69656e74206f7261636c652069732070617573656400000000000060448201526064016102ca565b6000610cbf83610ebe565b905080610cd257610ccf83611093565b90505b80610d1f5760405162461bcd60e51b815260206004820152601e60248201527f696e76616c696420726573696c69656e74206f7261636c65207072696365000060448201526064016102ca565b92915050565b6033546001600160a01b031633146104435760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102ca565b610d876113bf565b6065805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610e2b611408565b6065805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610db43390565b600054610100900460ff16610e875760405162461bcd60e51b81526004016102ca90611a7d565b61044361144e565b600054610100900460ff16610eb65760405162461bcd60e51b81526004016102ca90611a7d565b61044361147e565b6000808080610ecd85826105a7565b91509150808015610ee657506001600160a01b03821615155b1561108a5760405163fc57d4df60e01b81526001600160a01b03868116600483015283169063fc57d4df90602401602060405180830381865afa925050508015610f4d575060408051601f3d908101601f19168201909252610f4a91810190611a64565b60015b1561108a57809350600080610f638860016105a7565b91509150808015610f7c57506001600160a01b03821615155b156110865760405163fc57d4df60e01b81526001600160a01b03898116600483015283169063fc57d4df90602401602060405180830381865afa925050508015610fe3575060408051601f3d908101601f19168201909252610fe091810190611a64565b60015b1561108657801561108457609754604051634be3819f60e11b81526001600160a01b038b81166004830152602482018a90526044820184905260009216906397c7033e90606401602060405180830381865afa158015611047573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106b9190611ac8565b905080611082575060009998505050505050505050565b505b505b5050505b50909392505050565b6000808080806110a48660026105a7565b915091508080156110bd57506001600160a01b03821615155b156112705760405163fc57d4df60e01b81526001600160a01b03878116600483015283169063fc57d4df90602401602060405180830381865afa925050508015611124575060408051601f3d908101601f1916820190925261112191810190611a64565b60015b156112705780945060008061113a8960016105a7565b9150915080801561115357506001600160a01b03821615155b156112675760405163fc57d4df60e01b81526001600160a01b038a8116600483015283169063fc57d4df90602401602060405180830381865afa9250505080156111ba575060408051601f3d908101601f191682019092526111b791810190611a64565b60015b6111c7576001955061126c565b801561125c57609754604051634be3819f60e11b81526001600160a01b038c81166004830152602482018b90526044820184905260009216906397c7033e90606401602060405180830381865afa158015611226573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061124a9190611ac8565b90508061125657600197505b50611261565b600196505b5061126c565b600195505b5050505b82156113b5576000806112848860006105a7565b9150915080801561129d57506001600160a01b03821615155b156113ad5760405163fc57d4df60e01b81526001600160a01b03898116600483015283169063fc57d4df90602401602060405180830381865afa925050508015611304575060408051601f3d908101601f1916820190925261130191810190611a64565b60015b61131157600095506113b2565b609754604051634be3819f60e11b81526001600160a01b038b81166004830152602482018a90526044820184905260009216906397c7033e90606401602060405180830381865afa15801561136a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138e9190611ac8565b9050806113a5575060009998505050505050505050565b5095506113b2565b600095505b50505b5091949350505050565b60655460ff166104435760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016102ca565b60655460ff16156104435760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016102ca565b600054610100900460ff166114755760405162461bcd60e51b81526004016102ca90611a7d565b61044333610dd1565b600054610100900460ff166114a55760405162461bcd60e51b81526004016102ca90611a7d565b6065805460ff19169055565b82600381019282156114f9579160200282015b828111156114f957825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906114c4565b506115059291506115cb565b5090565b6001830191839082156114f95791602002820160005b8382111561155c57835183826101000a81548160ff021916908315150217905550926020019260010160208160000104928301926001030261151f565b80156115895782816101000a81549060ff021916905560010160208160000104928301926001030261155c565b50506115059291506115cb565b604051806060016040528060006001600160a01b031681526020016115b96115e0565b81526020016115c66115e0565b905290565b5b8082111561150557600081556001016115cc565b60405180606001604052806003906020820280368337509192915050565b634e487b7160e01b600052604160045260246000fd5b6040516060810167ffffffffffffffff81118282101715611637576116376115fe565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715611666576116666115fe565b604052919050565b6001600160a01b0381168114610c5657600080fd5b8015158114610c5657600080fd5b600082601f8301126116a257600080fd5b6116aa611614565b8060608401858111156116bc57600080fd5b845b818110156116df5780356116d181611683565b8452602093840193016116be565b509095945050505050565b600060e082840312156116fc57600080fd5b611704611614565b905081356117118161166e565b81526020603f8301841361172457600080fd5b61172c611614565b80608085018681111561173e57600080fd5b8386015b818110156117625780356117558161166e565b8452928401928401611742565b5081848601526117728782611691565b60408601525050505092915050565b6000602080838503121561179457600080fd5b823567ffffffffffffffff808211156117ac57600080fd5b818501915085601f8301126117c057600080fd5b8135818111156117d2576117d26115fe565b6117e0848260051b0161163d565b818152848101925060e09182028401850191888311156117ff57600080fd5b938501935b828510156118255761181689866116ea565b84529384019392850192611804565b50979650505050505050565b600060e0828403121561184357600080fd5b61184d83836116ea565b9392505050565b80356003811061186357600080fd5b919050565b60008060006060848603121561187d57600080fd5b83356118888161166e565b925061189660208501611854565b915060408401356118a681611683565b809150509250925092565b600080604083850312156118c457600080fd5b82356118cf8161166e565b91506118dd60208401611854565b90509250929050565b6000602082840312156118f857600080fd5b813561184d8161166e565b60008060006060848603121561191857600080fd5b83356119238161166e565b925060208401356119338161166e565b915061194160408501611854565b90509250925092565b81516001600160a01b03908116825260208084015160e0840192919081850160005b600381101561198b57825185168252918301919083019060010161196c565b505050604085015191506080840160005b60038110156119bb57835115158252928201929082019060010161199c565b5050505092915050565b634e487b7160e01b600052603260045260246000fd5b6000600182016119fb57634e487b7160e01b600052601160045260246000fd5b5060010190565b60208082526015908201527463616e2774206265207a65726f206164647265737360581b604082015260600190565b634e487b7160e01b600052602160045260246000fd5b600060208284031215611a5957600080fd5b815161184d8161166e565b600060208284031215611a7657600080fd5b5051919050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b600060208284031215611ada57600080fd5b815161184d8161168356fea26469706673582212209ebf42cfcd47cc15dd406a17cc9cce641b4591e19c5811aad70915dc353013b564736f6c634300080d0033","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1B1B DUP1 PUSH2 0x20 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 0x10B JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x8456CB59 GT PUSH2 0xA2 JUMPI DUP1 PUSH4 0xA6B1344A GT PUSH2 0x71 JUMPI DUP1 PUSH4 0xA6B1344A EQ PUSH2 0x215 JUMPI DUP1 PUSH4 0xC4D66DE8 EQ PUSH2 0x228 JUMPI DUP1 PUSH4 0xCB67E3B1 EQ PUSH2 0x23B JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0x25B JUMPI DUP1 PUSH4 0xFC57D4DF EQ PUSH2 0x26E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x8456CB59 EQ PUSH2 0x1B7 JUMPI DUP1 PUSH4 0x8B855DA4 EQ PUSH2 0x1BF JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x1F1 JUMPI DUP1 PUSH4 0x96E85CED EQ PUSH2 0x202 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x4B932B8F GT PUSH2 0xDE JUMPI DUP1 PUSH4 0x4B932B8F EQ PUSH2 0x170 JUMPI DUP1 PUSH4 0x4BF39CBA EQ PUSH2 0x183 JUMPI DUP1 PUSH4 0x5C975ABB EQ PUSH2 0x199 JUMPI DUP1 PUSH4 0x715018A6 EQ PUSH2 0x1AF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x2CFA3871 EQ PUSH2 0x110 JUMPI DUP1 PUSH4 0x333A21B0 EQ PUSH2 0x125 JUMPI DUP1 PUSH4 0x33D33494 EQ PUSH2 0x138 JUMPI DUP1 PUSH4 0x3F4BA83A EQ PUSH2 0x168 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x123 PUSH2 0x11E CALLDATASIZE PUSH1 0x4 PUSH2 0x1781 JUMP JUMPDEST PUSH2 0x281 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x123 PUSH2 0x133 CALLDATASIZE PUSH1 0x4 PUSH2 0x1831 JUMP JUMPDEST PUSH2 0x317 JUMP JUMPDEST PUSH1 0x97 SLOAD PUSH2 0x14B SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 JUMP 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 0x123 PUSH2 0x433 JUMP JUMPDEST PUSH2 0x123 PUSH2 0x17E CALLDATASIZE PUSH1 0x4 PUSH2 0x1868 JUMP JUMPDEST PUSH2 0x445 JUMP JUMPDEST PUSH2 0x18B PUSH1 0x0 DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x15F JUMP JUMPDEST PUSH1 0x65 SLOAD PUSH1 0xFF AND PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x15F JUMP JUMPDEST PUSH2 0x123 PUSH2 0x585 JUMP JUMPDEST PUSH2 0x123 PUSH2 0x597 JUMP JUMPDEST PUSH2 0x1D2 PUSH2 0x1CD CALLDATASIZE PUSH1 0x4 PUSH2 0x18B1 JUMP JUMPDEST PUSH2 0x5A7 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP4 AND DUP4 MSTORE SWAP1 ISZERO ISZERO PUSH1 0x20 DUP4 ADD MSTORE ADD PUSH2 0x15F JUMP JUMPDEST PUSH1 0x33 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x14B JUMP JUMPDEST PUSH2 0x123 PUSH2 0x210 CALLDATASIZE PUSH1 0x4 PUSH2 0x18E6 JUMP JUMPDEST PUSH2 0x6B2 JUMP JUMPDEST PUSH2 0x123 PUSH2 0x223 CALLDATASIZE PUSH1 0x4 PUSH2 0x1903 JUMP JUMPDEST PUSH2 0x74F JUMP JUMPDEST PUSH2 0x123 PUSH2 0x236 CALLDATASIZE PUSH1 0x4 PUSH2 0x18E6 JUMP JUMPDEST PUSH2 0x91B JUMP JUMPDEST PUSH2 0x24E PUSH2 0x249 CALLDATASIZE PUSH1 0x4 PUSH2 0x18E6 JUMP JUMPDEST PUSH2 0xAA5 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x15F SWAP2 SWAP1 PUSH2 0x194A JUMP JUMPDEST PUSH2 0x123 PUSH2 0x269 CALLDATASIZE PUSH1 0x4 PUSH2 0x18E6 JUMP JUMPDEST PUSH2 0xBE0 JUMP JUMPDEST PUSH2 0x18B PUSH2 0x27C CALLDATASIZE PUSH1 0x4 PUSH2 0x18E6 JUMP JUMPDEST PUSH2 0xC59 JUMP JUMPDEST PUSH2 0x289 PUSH2 0xD25 JUMP JUMPDEST DUP1 MLOAD PUSH1 0x0 SUB PUSH2 0x2D3 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x11 PUSH1 0x24 DUP3 ADD MSTORE PUSH17 0x6C656E6774682063616E2774206265203 PUSH1 0x7C SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 JUMPDEST DUP2 MLOAD DUP2 LT ISZERO PUSH2 0x313 JUMPI PUSH2 0x301 DUP3 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x2F4 JUMPI PUSH2 0x2F4 PUSH2 0x19C5 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH2 0x317 JUMP JUMPDEST DUP1 PUSH2 0x30B DUP2 PUSH2 0x19DB JUMP JUMPDEST SWAP2 POP POP PUSH2 0x2D6 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH2 0x31F PUSH2 0xD25 JUMP JUMPDEST DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0x347 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x2CA SWAP1 PUSH2 0x1A02 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD MLOAD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0x373 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x2CA SWAP1 PUSH2 0x1A02 JUMP JUMPDEST DUP3 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x98 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 DUP6 MLOAD DUP2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP4 AND SWAP3 SWAP1 SWAP3 OR DUP3 SSTORE DUP5 ADD MLOAD DUP5 SWAP2 SWAP1 PUSH2 0x3BD SWAP1 PUSH1 0x1 DUP4 ADD SWAP1 PUSH1 0x3 PUSH2 0x14B1 JUMP JUMPDEST POP PUSH1 0x40 DUP3 ADD MLOAD PUSH2 0x3D3 SWAP1 PUSH1 0x4 DUP4 ADD SWAP1 PUSH1 0x3 PUSH2 0x1509 JUMP JUMPDEST POP POP POP PUSH1 0x20 DUP4 DUP2 ADD MLOAD DUP1 DUP3 ADD MLOAD DUP2 MLOAD DUP7 MLOAD PUSH1 0x40 SWAP4 DUP5 ADD MLOAD SWAP4 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP5 DUP6 AND DUP2 MSTORE SWAP3 DUP5 AND SWAP5 SWAP2 DUP5 AND SWAP4 AND SWAP2 PUSH32 0xA51AD01E2270C314A7B78F0C60FE66C723F2D06C121D63FCDCE776E654878FC1 SWAP2 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP POP JUMP JUMPDEST PUSH2 0x43B PUSH2 0xD25 JUMP JUMPDEST PUSH2 0x443 PUSH2 0xD7F JUMP JUMPDEST JUMP JUMPDEST PUSH2 0x44D PUSH2 0xD25 JUMP JUMPDEST DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0x474 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x2CA SWAP1 PUSH2 0x1A02 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x98 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP6 SWAP2 AND PUSH2 0x4D7 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x17 PUSH1 0x24 DUP3 ADD MSTORE PUSH23 0x1D1BDAD95B8818DBDB999A59C81B5D5CDD08195E1A5CDD PUSH1 0x4A SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2CA JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x98 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP4 SWAP1 PUSH1 0x4 ADD DUP6 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x506 JUMPI PUSH2 0x506 PUSH2 0x1A31 JUMP JUMPDEST PUSH1 0x3 DUP2 LT PUSH2 0x516 JUMPI PUSH2 0x516 PUSH2 0x19C5 JUMP JUMPDEST PUSH1 0x20 SWAP2 DUP3 DUP3 DIV ADD SWAP2 SWAP1 MOD PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 ISZERO ISZERO MUL OR SWAP1 SSTORE POP DUP3 ISZERO ISZERO DUP5 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x54A JUMPI PUSH2 0x54A PUSH2 0x1A31 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP9 AND SWAP1 PUSH32 0xCF3CAD1EC87208EFBDE5D82A0557484A78D4182C3AD16926A5463BC1F7234B3D SWAP1 PUSH1 0x0 SWAP1 LOG4 POP POP POP POP POP JUMP JUMPDEST PUSH2 0x58D PUSH2 0xD25 JUMP JUMPDEST PUSH2 0x443 PUSH1 0x0 PUSH2 0xDD1 JUMP JUMPDEST PUSH2 0x59F PUSH2 0xD25 JUMP JUMPDEST PUSH2 0x443 PUSH2 0xE23 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x6F307DC3 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 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x5EA 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 0x60E SWAP2 SWAP1 PUSH2 0x1A47 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x98 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SWAP1 SWAP2 POP PUSH1 0x1 ADD DUP5 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x63E JUMPI PUSH2 0x63E PUSH2 0x1A31 JUMP JUMPDEST PUSH1 0x3 DUP2 LT PUSH2 0x64E JUMPI PUSH2 0x64E PUSH2 0x19C5 JUMP JUMPDEST ADD SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x98 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SWAP2 AND SWAP4 POP PUSH1 0x4 ADD DUP5 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x682 JUMPI PUSH2 0x682 PUSH2 0x1A31 JUMP JUMPDEST PUSH1 0x3 DUP2 LT PUSH2 0x692 JUMPI PUSH2 0x692 PUSH2 0x19C5 JUMP JUMPDEST PUSH1 0x20 SWAP2 DUP3 DUP3 DIV ADD SWAP2 SWAP1 MOD SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x6C0 DUP4 PUSH1 0x1 PUSH2 0x5A7 JUMP JUMPDEST SWAP1 SWAP3 POP SWAP1 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND ISZERO DUP1 ISZERO SWAP1 PUSH2 0x6DA JUMPI POP DUP1 JUMPDEST ISZERO PUSH2 0x74A JUMPI PUSH1 0x40 MLOAD PUSH4 0x725068A5 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE DUP4 AND SWAP1 PUSH4 0x725068A5 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL SWAP3 POP POP POP DUP1 ISZERO PUSH2 0x743 JUMPI POP PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F RETURNDATASIZE SWAP1 DUP2 ADD PUSH1 0x1F NOT AND DUP3 ADD SWAP1 SWAP3 MSTORE PUSH2 0x740 SWAP2 DUP2 ADD SWAP1 PUSH2 0x1A64 JUMP JUMPDEST PUSH1 0x1 JUMPDEST ISZERO PUSH2 0x74A JUMPI POP JUMPDEST POP POP POP JUMP JUMPDEST PUSH2 0x757 PUSH2 0xD25 JUMP JUMPDEST DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0x77E JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x2CA SWAP1 PUSH2 0x1A02 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x98 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP6 SWAP2 AND PUSH2 0x7E1 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x17 PUSH1 0x24 DUP3 ADD MSTORE PUSH23 0x1D1BDAD95B8818DBDB999A59C81B5D5CDD08195E1A5CDD PUSH1 0x4A SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2CA JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND ISZERO DUP1 ISZERO PUSH2 0x809 JUMPI POP PUSH1 0x0 DUP4 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x807 JUMPI PUSH2 0x807 PUSH2 0x1A31 JUMP JUMPDEST EQ JUMPDEST ISZERO PUSH2 0x864 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 0x63616E277420736574207A65726F206164647265737320746F206D61696E206F PUSH1 0x44 DUP3 ADD MSTORE PUSH5 0x7261636C65 PUSH1 0xD8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x2CA JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x98 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP5 SWAP1 PUSH1 0x1 ADD DUP5 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x893 JUMPI PUSH2 0x893 PUSH2 0x1A31 JUMP JUMPDEST PUSH1 0x3 DUP2 LT PUSH2 0x8A3 JUMPI PUSH2 0x8A3 PUSH2 0x19C5 JUMP JUMPDEST ADD 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 DUP3 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x8D4 JUMPI PUSH2 0x8D4 PUSH2 0x1A31 JUMP JUMPDEST DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP7 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0xEA681D3EFB830EF032A9C29A7215B5CEEEB546250D2C463DBF87817AECDA1BF1 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0xFF AND ISZERO DUP1 DUP1 ISZERO PUSH2 0x93B JUMPI POP PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0xFF SWAP1 SWAP2 AND LT JUMPDEST DUP1 PUSH2 0x955 JUMPI POP ADDRESS EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x955 JUMPI POP PUSH1 0x0 SLOAD PUSH1 0xFF AND PUSH1 0x1 EQ JUMPDEST PUSH2 0x9B8 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x496E697469616C697A61626C653A20636F6E747261637420697320616C726561 PUSH1 0x44 DUP3 ADD MSTORE PUSH14 0x191E481A5B9A5D1A585B1A5E9959 PUSH1 0x92 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x2CA JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE DUP1 ISZERO PUSH2 0x9DB JUMPI PUSH1 0x0 DUP1 SLOAD PUSH2 0xFF00 NOT AND PUSH2 0x100 OR SWAP1 SSTORE JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0xA31 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 0x696E76616C69756420626F756E642076616C696461746F722061646472657373 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2CA JUMP JUMPDEST PUSH1 0x97 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND OR SWAP1 SSTORE PUSH2 0xA54 PUSH2 0xE60 JUMP JUMPDEST PUSH2 0xA5C PUSH2 0xE8F JUMP JUMPDEST DUP1 ISZERO PUSH2 0x313 JUMPI PUSH1 0x0 DUP1 SLOAD PUSH2 0xFF00 NOT AND SWAP1 SSTORE PUSH1 0x40 MLOAD PUSH1 0x1 DUP2 MSTORE PUSH32 0x7F26B83FF96E1F2B6A682F133852F6798A09C465DA95921460CEFB3847402498 SWAP1 PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP POP JUMP JUMPDEST PUSH2 0xAAD PUSH2 0x1596 JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x6F307DC3 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 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xAED 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 0xB11 SWAP2 SWAP1 PUSH2 0x1A47 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x98 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP2 DUP3 SWAP1 KECCAK256 DUP3 MLOAD PUSH1 0x60 DUP1 DUP3 ADD DUP6 MSTORE DUP3 SLOAD SWAP1 SWAP6 AND DUP2 MSTORE DUP4 MLOAD SWAP5 DUP6 ADD SWAP4 DUP5 SWAP1 MSTORE SWAP5 SWAP6 POP SWAP3 SWAP1 DUP5 ADD SWAP2 PUSH1 0x1 DUP5 ADD SWAP1 PUSH1 0x3 SWAP1 DUP3 DUP5 JUMPDEST DUP2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x1 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0xB5A JUMPI POP POP POP SWAP2 DUP4 MSTORE POP POP PUSH1 0x40 DUP1 MLOAD PUSH1 0x60 DUP2 ADD SWAP2 DUP3 SWAP1 MSTORE PUSH1 0x20 SWAP1 SWAP3 ADD SWAP2 SWAP1 PUSH1 0x4 DUP5 ADD SWAP1 PUSH1 0x3 SWAP1 DUP3 PUSH1 0x0 DUP6 JUMPDEST DUP3 SLOAD PUSH2 0x100 DUP4 SWAP1 EXP SWAP1 DIV PUSH1 0xFF AND ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 PUSH1 0x1 SWAP3 DUP4 ADD DUP2 DUP2 DIV SWAP5 DUP6 ADD SWAP5 SWAP1 SWAP4 SUB SWAP1 SWAP3 MUL SWAP2 ADD DUP1 DUP5 GT PUSH2 0xB9F JUMPI SWAP1 POP POP POP POP POP POP DUP2 MSTORE POP POP SWAP2 POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xBE8 PUSH2 0xD25 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0xC4D 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 0x4F776E61626C653A206E6577206F776E657220697320746865207A65726F2061 PUSH1 0x44 DUP3 ADD MSTORE PUSH6 0x646472657373 PUSH1 0xD0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x2CA JUMP JUMPDEST PUSH2 0xC56 DUP2 PUSH2 0xDD1 JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xC67 PUSH1 0x65 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST ISZERO PUSH2 0xCB4 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1A PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x726573696C69656E74206F7261636C6520697320706175736564000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2CA JUMP JUMPDEST PUSH1 0x0 PUSH2 0xCBF DUP4 PUSH2 0xEBE JUMP JUMPDEST SWAP1 POP DUP1 PUSH2 0xCD2 JUMPI PUSH2 0xCCF DUP4 PUSH2 0x1093 JUMP JUMPDEST SWAP1 POP JUMPDEST DUP1 PUSH2 0xD1F JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x696E76616C696420726573696C69656E74206F7261636C652070726963650000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2CA JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x33 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x443 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 0x4F776E61626C653A2063616C6C6572206973206E6F7420746865206F776E6572 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2CA JUMP JUMPDEST PUSH2 0xD87 PUSH2 0x13BF JUMP JUMPDEST PUSH1 0x65 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE PUSH32 0x5DB9EE0A495BF2E6FF9C91A7834C1BA4FDD244A5E8AA4E537BD38AEAE4B073AA CALLER JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 JUMP JUMPDEST PUSH1 0x33 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 DUP2 AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT DUP4 AND DUP2 OR SWAP1 SWAP4 SSTORE PUSH1 0x40 MLOAD SWAP2 AND SWAP2 SWAP1 DUP3 SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 PUSH1 0x0 SWAP1 LOG3 POP POP JUMP JUMPDEST PUSH2 0xE2B PUSH2 0x1408 JUMP JUMPDEST PUSH1 0x65 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH32 0x62E78CEA01BEE320CD4E420270B5EA74000D11B0C9F74754EBDBFC544B05A258 PUSH2 0xDB4 CALLER SWAP1 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0xFF AND PUSH2 0xE87 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x2CA SWAP1 PUSH2 0x1A7D JUMP JUMPDEST PUSH2 0x443 PUSH2 0x144E JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0xFF AND PUSH2 0xEB6 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x2CA SWAP1 PUSH2 0x1A7D JUMP JUMPDEST PUSH2 0x443 PUSH2 0x147E JUMP JUMPDEST PUSH1 0x0 DUP1 DUP1 DUP1 PUSH2 0xECD DUP6 DUP3 PUSH2 0x5A7 JUMP JUMPDEST SWAP2 POP SWAP2 POP DUP1 DUP1 ISZERO PUSH2 0xEE6 JUMPI POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND ISZERO ISZERO JUMPDEST ISZERO PUSH2 0x108A JUMPI PUSH1 0x40 MLOAD PUSH4 0xFC57D4DF PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE DUP4 AND SWAP1 PUSH4 0xFC57D4DF SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL SWAP3 POP POP POP DUP1 ISZERO PUSH2 0xF4D JUMPI POP PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F RETURNDATASIZE SWAP1 DUP2 ADD PUSH1 0x1F NOT AND DUP3 ADD SWAP1 SWAP3 MSTORE PUSH2 0xF4A SWAP2 DUP2 ADD SWAP1 PUSH2 0x1A64 JUMP JUMPDEST PUSH1 0x1 JUMPDEST ISZERO PUSH2 0x108A JUMPI DUP1 SWAP4 POP PUSH1 0x0 DUP1 PUSH2 0xF63 DUP9 PUSH1 0x1 PUSH2 0x5A7 JUMP JUMPDEST SWAP2 POP SWAP2 POP DUP1 DUP1 ISZERO PUSH2 0xF7C JUMPI POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND ISZERO ISZERO JUMPDEST ISZERO PUSH2 0x1086 JUMPI PUSH1 0x40 MLOAD PUSH4 0xFC57D4DF PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP10 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE DUP4 AND SWAP1 PUSH4 0xFC57D4DF SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL SWAP3 POP POP POP DUP1 ISZERO PUSH2 0xFE3 JUMPI POP PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F RETURNDATASIZE SWAP1 DUP2 ADD PUSH1 0x1F NOT AND DUP3 ADD SWAP1 SWAP3 MSTORE PUSH2 0xFE0 SWAP2 DUP2 ADD SWAP1 PUSH2 0x1A64 JUMP JUMPDEST PUSH1 0x1 JUMPDEST ISZERO PUSH2 0x1086 JUMPI DUP1 ISZERO PUSH2 0x1084 JUMPI PUSH1 0x97 SLOAD PUSH1 0x40 MLOAD PUSH4 0x4BE3819F PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP12 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE PUSH1 0x24 DUP3 ADD DUP11 SWAP1 MSTORE PUSH1 0x44 DUP3 ADD DUP5 SWAP1 MSTORE PUSH1 0x0 SWAP3 AND SWAP1 PUSH4 0x97C7033E SWAP1 PUSH1 0x64 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1047 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 0x106B SWAP2 SWAP1 PUSH2 0x1AC8 JUMP JUMPDEST SWAP1 POP DUP1 PUSH2 0x1082 JUMPI POP PUSH1 0x0 SWAP10 SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST POP JUMPDEST POP JUMPDEST POP POP POP JUMPDEST POP SWAP1 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP1 DUP1 DUP1 PUSH2 0x10A4 DUP7 PUSH1 0x2 PUSH2 0x5A7 JUMP JUMPDEST SWAP2 POP SWAP2 POP DUP1 DUP1 ISZERO PUSH2 0x10BD JUMPI POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND ISZERO ISZERO JUMPDEST ISZERO PUSH2 0x1270 JUMPI PUSH1 0x40 MLOAD PUSH4 0xFC57D4DF PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE DUP4 AND SWAP1 PUSH4 0xFC57D4DF SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL SWAP3 POP POP POP DUP1 ISZERO PUSH2 0x1124 JUMPI POP PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F RETURNDATASIZE SWAP1 DUP2 ADD PUSH1 0x1F NOT AND DUP3 ADD SWAP1 SWAP3 MSTORE PUSH2 0x1121 SWAP2 DUP2 ADD SWAP1 PUSH2 0x1A64 JUMP JUMPDEST PUSH1 0x1 JUMPDEST ISZERO PUSH2 0x1270 JUMPI DUP1 SWAP5 POP PUSH1 0x0 DUP1 PUSH2 0x113A DUP10 PUSH1 0x1 PUSH2 0x5A7 JUMP JUMPDEST SWAP2 POP SWAP2 POP DUP1 DUP1 ISZERO PUSH2 0x1153 JUMPI POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND ISZERO ISZERO JUMPDEST ISZERO PUSH2 0x1267 JUMPI PUSH1 0x40 MLOAD PUSH4 0xFC57D4DF PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP11 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE DUP4 AND SWAP1 PUSH4 0xFC57D4DF SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL SWAP3 POP POP POP DUP1 ISZERO PUSH2 0x11BA JUMPI POP PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F RETURNDATASIZE SWAP1 DUP2 ADD PUSH1 0x1F NOT AND DUP3 ADD SWAP1 SWAP3 MSTORE PUSH2 0x11B7 SWAP2 DUP2 ADD SWAP1 PUSH2 0x1A64 JUMP JUMPDEST PUSH1 0x1 JUMPDEST PUSH2 0x11C7 JUMPI PUSH1 0x1 SWAP6 POP PUSH2 0x126C JUMP JUMPDEST DUP1 ISZERO PUSH2 0x125C JUMPI PUSH1 0x97 SLOAD PUSH1 0x40 MLOAD PUSH4 0x4BE3819F PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP13 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE PUSH1 0x24 DUP3 ADD DUP12 SWAP1 MSTORE PUSH1 0x44 DUP3 ADD DUP5 SWAP1 MSTORE PUSH1 0x0 SWAP3 AND SWAP1 PUSH4 0x97C7033E SWAP1 PUSH1 0x64 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1226 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 0x124A SWAP2 SWAP1 PUSH2 0x1AC8 JUMP JUMPDEST SWAP1 POP DUP1 PUSH2 0x1256 JUMPI PUSH1 0x1 SWAP8 POP JUMPDEST POP PUSH2 0x1261 JUMP JUMPDEST PUSH1 0x1 SWAP7 POP JUMPDEST POP PUSH2 0x126C JUMP JUMPDEST PUSH1 0x1 SWAP6 POP JUMPDEST POP POP POP JUMPDEST DUP3 ISZERO PUSH2 0x13B5 JUMPI PUSH1 0x0 DUP1 PUSH2 0x1284 DUP9 PUSH1 0x0 PUSH2 0x5A7 JUMP JUMPDEST SWAP2 POP SWAP2 POP DUP1 DUP1 ISZERO PUSH2 0x129D JUMPI POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND ISZERO ISZERO JUMPDEST ISZERO PUSH2 0x13AD JUMPI PUSH1 0x40 MLOAD PUSH4 0xFC57D4DF PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP10 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE DUP4 AND SWAP1 PUSH4 0xFC57D4DF SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL SWAP3 POP POP POP DUP1 ISZERO PUSH2 0x1304 JUMPI POP PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F RETURNDATASIZE SWAP1 DUP2 ADD PUSH1 0x1F NOT AND DUP3 ADD SWAP1 SWAP3 MSTORE PUSH2 0x1301 SWAP2 DUP2 ADD SWAP1 PUSH2 0x1A64 JUMP JUMPDEST PUSH1 0x1 JUMPDEST PUSH2 0x1311 JUMPI PUSH1 0x0 SWAP6 POP PUSH2 0x13B2 JUMP JUMPDEST PUSH1 0x97 SLOAD PUSH1 0x40 MLOAD PUSH4 0x4BE3819F PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP12 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE PUSH1 0x24 DUP3 ADD DUP11 SWAP1 MSTORE PUSH1 0x44 DUP3 ADD DUP5 SWAP1 MSTORE PUSH1 0x0 SWAP3 AND SWAP1 PUSH4 0x97C7033E SWAP1 PUSH1 0x64 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x136A 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 0x138E SWAP2 SWAP1 PUSH2 0x1AC8 JUMP JUMPDEST SWAP1 POP DUP1 PUSH2 0x13A5 JUMPI POP PUSH1 0x0 SWAP10 SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST POP SWAP6 POP PUSH2 0x13B2 JUMP JUMPDEST PUSH1 0x0 SWAP6 POP JUMPDEST POP POP JUMPDEST POP SWAP2 SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x65 SLOAD PUSH1 0xFF AND PUSH2 0x443 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x14 PUSH1 0x24 DUP3 ADD MSTORE PUSH20 0x14185D5CD8589B194E881B9BDD081C185D5CD959 PUSH1 0x62 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2CA JUMP JUMPDEST PUSH1 0x65 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x443 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x10 PUSH1 0x24 DUP3 ADD MSTORE PUSH16 0x14185D5CD8589B194E881C185D5CD959 PUSH1 0x82 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2CA JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0xFF AND PUSH2 0x1475 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x2CA SWAP1 PUSH2 0x1A7D JUMP JUMPDEST PUSH2 0x443 CALLER PUSH2 0xDD1 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0xFF AND PUSH2 0x14A5 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x2CA SWAP1 PUSH2 0x1A7D JUMP JUMPDEST PUSH1 0x65 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE JUMP JUMPDEST DUP3 PUSH1 0x3 DUP2 ADD SWAP3 DUP3 ISZERO PUSH2 0x14F9 JUMPI SWAP2 PUSH1 0x20 MUL DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x14F9 JUMPI DUP3 MLOAD DUP3 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND OR DUP3 SSTORE PUSH1 0x20 SWAP1 SWAP3 ADD SWAP2 PUSH1 0x1 SWAP1 SWAP2 ADD SWAP1 PUSH2 0x14C4 JUMP JUMPDEST POP PUSH2 0x1505 SWAP3 SWAP2 POP PUSH2 0x15CB JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x1 DUP4 ADD SWAP2 DUP4 SWAP1 DUP3 ISZERO PUSH2 0x14F9 JUMPI SWAP2 PUSH1 0x20 MUL DUP3 ADD PUSH1 0x0 JUMPDEST DUP4 DUP3 GT ISZERO PUSH2 0x155C JUMPI DUP4 MLOAD DUP4 DUP3 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 ISZERO ISZERO MUL OR SWAP1 SSTORE POP SWAP3 PUSH1 0x20 ADD SWAP3 PUSH1 0x1 ADD PUSH1 0x20 DUP2 PUSH1 0x0 ADD DIV SWAP3 DUP4 ADD SWAP3 PUSH1 0x1 SUB MUL PUSH2 0x151F JUMP JUMPDEST DUP1 ISZERO PUSH2 0x1589 JUMPI DUP3 DUP2 PUSH2 0x100 EXP DUP2 SLOAD SWAP1 PUSH1 0xFF MUL NOT AND SWAP1 SSTORE PUSH1 0x1 ADD PUSH1 0x20 DUP2 PUSH1 0x0 ADD DIV SWAP3 DUP4 ADD SWAP3 PUSH1 0x1 SUB MUL PUSH2 0x155C JUMP JUMPDEST POP POP PUSH2 0x1505 SWAP3 SWAP2 POP PUSH2 0x15CB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x15B9 PUSH2 0x15E0 JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x15C6 PUSH2 0x15E0 JUMP JUMPDEST SWAP1 MSTORE SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x1505 JUMPI PUSH1 0x0 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x15CC JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x3 SWAP1 PUSH1 0x20 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY POP SWAP2 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 PUSH1 0x40 MLOAD PUSH1 0x60 DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x1637 JUMPI PUSH2 0x1637 PUSH2 0x15FE JUMP JUMPDEST PUSH1 0x40 MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1F DUP3 ADD PUSH1 0x1F NOT AND DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x1666 JUMPI PUSH2 0x1666 PUSH2 0x15FE JUMP JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0xC56 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0xC56 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x16A2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x16AA PUSH2 0x1614 JUMP JUMPDEST DUP1 PUSH1 0x60 DUP5 ADD DUP6 DUP2 GT ISZERO PUSH2 0x16BC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x16DF JUMPI DUP1 CALLDATALOAD PUSH2 0x16D1 DUP2 PUSH2 0x1683 JUMP JUMPDEST DUP5 MSTORE PUSH1 0x20 SWAP4 DUP5 ADD SWAP4 ADD PUSH2 0x16BE JUMP JUMPDEST POP SWAP1 SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0xE0 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x16FC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1704 PUSH2 0x1614 JUMP JUMPDEST SWAP1 POP DUP2 CALLDATALOAD PUSH2 0x1711 DUP2 PUSH2 0x166E JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 PUSH1 0x3F DUP4 ADD DUP5 SGT PUSH2 0x1724 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x172C PUSH2 0x1614 JUMP JUMPDEST DUP1 PUSH1 0x80 DUP6 ADD DUP7 DUP2 GT ISZERO PUSH2 0x173E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 DUP7 ADD JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x1762 JUMPI DUP1 CALLDATALOAD PUSH2 0x1755 DUP2 PUSH2 0x166E JUMP JUMPDEST DUP5 MSTORE SWAP3 DUP5 ADD SWAP3 DUP5 ADD PUSH2 0x1742 JUMP JUMPDEST POP DUP2 DUP5 DUP7 ADD MSTORE PUSH2 0x1772 DUP8 DUP3 PUSH2 0x1691 JUMP JUMPDEST PUSH1 0x40 DUP7 ADD MSTORE POP POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP1 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1794 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x17AC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 DUP6 ADD SWAP2 POP DUP6 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x17C0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD DUP2 DUP2 GT ISZERO PUSH2 0x17D2 JUMPI PUSH2 0x17D2 PUSH2 0x15FE JUMP JUMPDEST PUSH2 0x17E0 DUP5 DUP3 PUSH1 0x5 SHL ADD PUSH2 0x163D JUMP JUMPDEST DUP2 DUP2 MSTORE DUP5 DUP2 ADD SWAP3 POP PUSH1 0xE0 SWAP2 DUP3 MUL DUP5 ADD DUP6 ADD SWAP2 DUP9 DUP4 GT ISZERO PUSH2 0x17FF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 DUP6 ADD SWAP4 JUMPDEST DUP3 DUP6 LT ISZERO PUSH2 0x1825 JUMPI PUSH2 0x1816 DUP10 DUP7 PUSH2 0x16EA JUMP JUMPDEST DUP5 MSTORE SWAP4 DUP5 ADD SWAP4 SWAP3 DUP6 ADD SWAP3 PUSH2 0x1804 JUMP JUMPDEST POP SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0xE0 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1843 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x184D DUP4 DUP4 PUSH2 0x16EA JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x3 DUP2 LT PUSH2 0x1863 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x187D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 CALLDATALOAD PUSH2 0x1888 DUP2 PUSH2 0x166E JUMP JUMPDEST SWAP3 POP PUSH2 0x1896 PUSH1 0x20 DUP6 ADD PUSH2 0x1854 JUMP JUMPDEST SWAP2 POP PUSH1 0x40 DUP5 ADD CALLDATALOAD PUSH2 0x18A6 DUP2 PUSH2 0x1683 JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x18C4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH2 0x18CF DUP2 PUSH2 0x166E JUMP JUMPDEST SWAP2 POP PUSH2 0x18DD PUSH1 0x20 DUP5 ADD PUSH2 0x1854 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x18F8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x184D DUP2 PUSH2 0x166E JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x1918 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 CALLDATALOAD PUSH2 0x1923 DUP2 PUSH2 0x166E JUMP JUMPDEST SWAP3 POP PUSH1 0x20 DUP5 ADD CALLDATALOAD PUSH2 0x1933 DUP2 PUSH2 0x166E JUMP JUMPDEST SWAP2 POP PUSH2 0x1941 PUSH1 0x40 DUP6 ADD PUSH2 0x1854 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND DUP3 MSTORE PUSH1 0x20 DUP1 DUP5 ADD MLOAD PUSH1 0xE0 DUP5 ADD SWAP3 SWAP2 SWAP1 DUP2 DUP6 ADD PUSH1 0x0 JUMPDEST PUSH1 0x3 DUP2 LT ISZERO PUSH2 0x198B JUMPI DUP3 MLOAD DUP6 AND DUP3 MSTORE SWAP2 DUP4 ADD SWAP2 SWAP1 DUP4 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x196C JUMP JUMPDEST POP POP POP PUSH1 0x40 DUP6 ADD MLOAD SWAP2 POP PUSH1 0x80 DUP5 ADD PUSH1 0x0 JUMPDEST PUSH1 0x3 DUP2 LT ISZERO PUSH2 0x19BB JUMPI DUP4 MLOAD ISZERO ISZERO DUP3 MSTORE SWAP3 DUP3 ADD SWAP3 SWAP1 DUP3 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x199C JUMP JUMPDEST POP POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1 DUP3 ADD PUSH2 0x19FB JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x1 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x15 SWAP1 DUP3 ADD MSTORE PUSH21 0x63616E2774206265207A65726F2061646472657373 PUSH1 0x58 SHL PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1A59 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x184D DUP2 PUSH2 0x166E JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1A76 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2B SWAP1 DUP3 ADD MSTORE PUSH32 0x496E697469616C697A61626C653A20636F6E7472616374206973206E6F742069 PUSH1 0x40 DUP3 ADD MSTORE PUSH11 0x6E697469616C697A696E67 PUSH1 0xA8 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1ADA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x184D DUP2 PUSH2 0x1683 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 SWAP15 0xBF TIMESTAMP 0xCF 0xCD SELFBALANCE 0xCC ISZERO 0xDD BLOCKHASH PUSH11 0x17CC9CCE641B4591E19C58 GT 0xAA 0xD7 MULMOD ISZERO 0xDC CALLDATALOAD ADDRESS SGT 0xB5 PUSH5 0x736F6C6343 STOP ADDMOD 0xD STOP CALLER ","sourceMap":"340:10525:5:-:0;;;;;;;;;;;;;;;;;;;"},"deployedBytecode":{"functionDebugData":{"@INVALID_PRICE_710":{"entryPoint":null,"id":710,"parameterSlots":0,"returnSlots":0},"@__Ownable_init_26":{"entryPoint":3680,"id":26,"parameterSlots":0,"returnSlots":0},"@__Ownable_init_unchained_37":{"entryPoint":5198,"id":37,"parameterSlots":0,"returnSlots":0},"@__Pausable_init_313":{"entryPoint":3727,"id":313,"parameterSlots":0,"returnSlots":0},"@__Pausable_init_unchained_323":{"entryPoint":5246,"id":323,"parameterSlots":0,"returnSlots":0},"@_checkOwner_68":{"entryPoint":3365,"id":68,"parameterSlots":0,"returnSlots":0},"@_getFallbackOraclePrice_1504":{"entryPoint":4243,"id":1504,"parameterSlots":1,"returnSlots":1},"@_getMainOraclePrice_1311":{"entryPoint":3774,"id":1311,"parameterSlots":1,"returnSlots":1},"@_msgSender_679":{"entryPoint":null,"id":679,"parameterSlots":0,"returnSlots":1},"@_pause_387":{"entryPoint":3619,"id":387,"parameterSlots":0,"returnSlots":0},"@_requireNotPaused_360":{"entryPoint":5128,"id":360,"parameterSlots":0,"returnSlots":0},"@_requirePaused_371":{"entryPoint":5055,"id":371,"parameterSlots":0,"returnSlots":0},"@_transferOwnership_125":{"entryPoint":3537,"id":125,"parameterSlots":1,"returnSlots":0},"@_unpause_403":{"entryPoint":3455,"id":403,"parameterSlots":0,"returnSlots":0},"@boundValidator_713":{"entryPoint":null,"id":713,"parameterSlots":0,"returnSlots":0},"@enableOracle_1119":{"entryPoint":1093,"id":1119,"parameterSlots":3,"returnSlots":0},"@getOracle_922":{"entryPoint":1447,"id":922,"parameterSlots":2,"returnSlots":2},"@getTokenConfig_876":{"entryPoint":2725,"id":876,"parameterSlots":1,"returnSlots":1},"@getUnderlyingPrice_1204":{"entryPoint":3161,"id":1204,"parameterSlots":1,"returnSlots":1},"@initialize_834":{"entryPoint":2331,"id":834,"parameterSlots":1,"returnSlots":0},"@isContract_427":{"entryPoint":null,"id":427,"parameterSlots":1,"returnSlots":1},"@owner_54":{"entryPoint":null,"id":54,"parameterSlots":0,"returnSlots":1},"@pause_844":{"entryPoint":1431,"id":844,"parameterSlots":0,"returnSlots":0},"@paused_348":{"entryPoint":null,"id":348,"parameterSlots":0,"returnSlots":1},"@renounceOwnership_82":{"entryPoint":1413,"id":82,"parameterSlots":0,"returnSlots":0},"@setOracle_1078":{"entryPoint":1871,"id":1078,"parameterSlots":3,"returnSlots":0},"@setTokenConfig_1020":{"entryPoint":791,"id":1020,"parameterSlots":1,"returnSlots":0},"@setTokenConfigs_960":{"entryPoint":641,"id":960,"parameterSlots":1,"returnSlots":0},"@transferOwnership_105":{"entryPoint":3040,"id":105,"parameterSlots":1,"returnSlots":0},"@unpause_854":{"entryPoint":1075,"id":854,"parameterSlots":0,"returnSlots":0},"@updatePrice_1161":{"entryPoint":1714,"id":1161,"parameterSlots":1,"returnSlots":0},"abi_decode_array_bool":{"entryPoint":5777,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_enum_OracleRole":{"entryPoint":6228,"id":null,"parameterSlots":1,"returnSlots":1},"abi_decode_struct_TokenConfig":{"entryPoint":5866,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_address":{"entryPoint":6374,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_address_fromMemory":{"entryPoint":6727,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_addresst_addresst_enum$_OracleRole_$717":{"entryPoint":6403,"id":null,"parameterSlots":2,"returnSlots":3},"abi_decode_tuple_t_addresst_enum$_OracleRole_$717":{"entryPoint":6321,"id":null,"parameterSlots":2,"returnSlots":2},"abi_decode_tuple_t_addresst_enum$_OracleRole_$717t_bool":{"entryPoint":6248,"id":null,"parameterSlots":2,"returnSlots":3},"abi_decode_tuple_t_array$_t_struct$_TokenConfig_$731_memory_ptr_$dyn_memory_ptr":{"entryPoint":6017,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_bool_fromMemory":{"entryPoint":6856,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_contract$_BoundValidatorInterface_$1647":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_struct$_TokenConfig_$731_memory_ptr":{"entryPoint":6193,"id":null,"parameterSlots":2,"returnSlots":1},"abi_decode_tuple_t_uint256_fromMemory":{"entryPoint":6756,"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_address_t_bool__to_t_address_t_bool__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":3,"returnSlots":1},"abi_encode_tuple_t_address_t_uint256_t_uint256__to_t_address_t_uint256_t_uint256__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":4,"returnSlots":1},"abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_contract$_BoundValidatorInterface_$1647__to_t_address__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_rational_1_by_1__to_t_uint8__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_stringliteral_0d1d997348c4b502650619e51f7d09f80514d98b6993be5051d07f703984619a__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_2bcde6d36e25ff80edf1e7b323425b7fef87f9e0a4cccb1475b35b230048c1ed__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_2bd7f3e324856b3efda8ceaed8290812766704969ef515d198dcc42765e37ae1__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_4793c2d6e615a200d995dd9ad0db45f00df0789bc148a42df7526d2509d0f296__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":6658,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_599276927d57b3c895a99d3d2c96f953e4db80fc017144bddcab2e3187f5e277__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_5cff57de2c01f1bd106f9cb3aecf8d0cf734f0622f1b2fae35f690c4737c3143__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_649a0ba5df30129af38854c5145b90047eb942e20a1b0378189629f4b3edaf67__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_68571e1369f7a6dcdcd736cb0343b35a58ed0f64d245c2ed839c98d412744f8a__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_7a2a4e26842155ea933fe6eb6e3137eb5a296dcdf55721c552be7b4c3cc23759__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_a96a5ab9a405164cd7206849fabc60771c50663034e032cee61ce87d40e776ee__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_stringliteral_d688db918bb9dd50354922faa108595679886fe9ff08046ad1ffe30aaea55f8b__to_t_string_memory_ptr__fromStack_reversed":{"entryPoint":6781,"id":null,"parameterSlots":1,"returnSlots":1},"abi_encode_tuple_t_struct$_TokenConfig_$731_memory_ptr__to_t_struct$_TokenConfig_$731_memory_ptr__fromStack_reversed":{"entryPoint":6474,"id":null,"parameterSlots":2,"returnSlots":1},"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed":{"entryPoint":null,"id":null,"parameterSlots":2,"returnSlots":1},"allocate_memory":{"entryPoint":5693,"id":null,"parameterSlots":1,"returnSlots":1},"allocate_memory_2493":{"entryPoint":5652,"id":null,"parameterSlots":0,"returnSlots":1},"allocate_memory_3564":{"entryPoint":null,"id":null,"parameterSlots":0,"returnSlots":1},"increment_t_uint256":{"entryPoint":6619,"id":null,"parameterSlots":1,"returnSlots":1},"panic_error_0x21":{"entryPoint":6705,"id":null,"parameterSlots":0,"returnSlots":0},"panic_error_0x32":{"entryPoint":6597,"id":null,"parameterSlots":0,"returnSlots":0},"panic_error_0x41":{"entryPoint":5630,"id":null,"parameterSlots":0,"returnSlots":0},"validator_revert_address":{"entryPoint":5742,"id":null,"parameterSlots":1,"returnSlots":0},"validator_revert_bool":{"entryPoint":5763,"id":null,"parameterSlots":1,"returnSlots":0}},"generatedSources":[{"ast":{"nodeType":"YulBlock","src":"0:14664:9","statements":[{"nodeType":"YulBlock","src":"6:3:9","statements":[]},{"body":{"nodeType":"YulBlock","src":"46:95:9","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"63:1:9","type":"","value":"0"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"70:3:9","type":"","value":"224"},{"kind":"number","nodeType":"YulLiteral","src":"75:10:9","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"66:3:9"},"nodeType":"YulFunctionCall","src":"66:20:9"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"56:6:9"},"nodeType":"YulFunctionCall","src":"56:31:9"},"nodeType":"YulExpressionStatement","src":"56:31:9"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"103:1:9","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"106:4:9","type":"","value":"0x41"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"96:6:9"},"nodeType":"YulFunctionCall","src":"96:15:9"},"nodeType":"YulExpressionStatement","src":"96:15:9"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"127:1:9","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"130:4:9","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"120:6:9"},"nodeType":"YulFunctionCall","src":"120:15:9"},"nodeType":"YulExpressionStatement","src":"120:15:9"}]},"name":"panic_error_0x41","nodeType":"YulFunctionDefinition","src":"14:127:9"},{"body":{"nodeType":"YulBlock","src":"192:207:9","statements":[{"nodeType":"YulAssignment","src":"202:19:9","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"218:2:9","type":"","value":"64"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"212:5:9"},"nodeType":"YulFunctionCall","src":"212:9:9"},"variableNames":[{"name":"memPtr","nodeType":"YulIdentifier","src":"202:6:9"}]},{"nodeType":"YulVariableDeclaration","src":"230:35:9","value":{"arguments":[{"name":"memPtr","nodeType":"YulIdentifier","src":"252:6:9"},{"kind":"number","nodeType":"YulLiteral","src":"260:4:9","type":"","value":"0x60"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"248:3:9"},"nodeType":"YulFunctionCall","src":"248:17:9"},"variables":[{"name":"newFreePtr","nodeType":"YulTypedName","src":"234:10:9","type":""}]},{"body":{"nodeType":"YulBlock","src":"340:22:9","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x41","nodeType":"YulIdentifier","src":"342:16:9"},"nodeType":"YulFunctionCall","src":"342:18:9"},"nodeType":"YulExpressionStatement","src":"342:18:9"}]},"condition":{"arguments":[{"arguments":[{"name":"newFreePtr","nodeType":"YulIdentifier","src":"283:10:9"},{"kind":"number","nodeType":"YulLiteral","src":"295:18:9","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"280:2:9"},"nodeType":"YulFunctionCall","src":"280:34:9"},{"arguments":[{"name":"newFreePtr","nodeType":"YulIdentifier","src":"319:10:9"},{"name":"memPtr","nodeType":"YulIdentifier","src":"331:6:9"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"316:2:9"},"nodeType":"YulFunctionCall","src":"316:22:9"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"277:2:9"},"nodeType":"YulFunctionCall","src":"277:62:9"},"nodeType":"YulIf","src":"274:88:9"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"378:2:9","type":"","value":"64"},{"name":"newFreePtr","nodeType":"YulIdentifier","src":"382:10:9"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"371:6:9"},"nodeType":"YulFunctionCall","src":"371:22:9"},"nodeType":"YulExpressionStatement","src":"371:22:9"}]},"name":"allocate_memory_2493","nodeType":"YulFunctionDefinition","returnVariables":[{"name":"memPtr","nodeType":"YulTypedName","src":"181:6:9","type":""}],"src":"146:253:9"},{"body":{"nodeType":"YulBlock","src":"450:205:9","statements":[{"nodeType":"YulAssignment","src":"460:19:9","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"476:2:9","type":"","value":"64"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"470:5:9"},"nodeType":"YulFunctionCall","src":"470:9:9"},"variableNames":[{"name":"memPtr","nodeType":"YulIdentifier","src":"460:6:9"}]},{"nodeType":"YulVariableDeclaration","src":"488:33:9","value":{"arguments":[{"name":"memPtr","nodeType":"YulIdentifier","src":"510:6:9"},{"kind":"number","nodeType":"YulLiteral","src":"518:2:9","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"506:3:9"},"nodeType":"YulFunctionCall","src":"506:15:9"},"variables":[{"name":"newFreePtr","nodeType":"YulTypedName","src":"492:10:9","type":""}]},{"body":{"nodeType":"YulBlock","src":"596:22:9","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x41","nodeType":"YulIdentifier","src":"598:16:9"},"nodeType":"YulFunctionCall","src":"598:18:9"},"nodeType":"YulExpressionStatement","src":"598:18:9"}]},"condition":{"arguments":[{"arguments":[{"name":"newFreePtr","nodeType":"YulIdentifier","src":"539:10:9"},{"kind":"number","nodeType":"YulLiteral","src":"551:18:9","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"536:2:9"},"nodeType":"YulFunctionCall","src":"536:34:9"},{"arguments":[{"name":"newFreePtr","nodeType":"YulIdentifier","src":"575:10:9"},{"name":"memPtr","nodeType":"YulIdentifier","src":"587:6:9"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"572:2:9"},"nodeType":"YulFunctionCall","src":"572:22:9"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"533:2:9"},"nodeType":"YulFunctionCall","src":"533:62:9"},"nodeType":"YulIf","src":"530:88:9"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"634:2:9","type":"","value":"64"},{"name":"newFreePtr","nodeType":"YulIdentifier","src":"638:10:9"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"627:6:9"},"nodeType":"YulFunctionCall","src":"627:22:9"},"nodeType":"YulExpressionStatement","src":"627:22:9"}]},"name":"allocate_memory_3564","nodeType":"YulFunctionDefinition","returnVariables":[{"name":"memPtr","nodeType":"YulTypedName","src":"439:6:9","type":""}],"src":"404:251:9"},{"body":{"nodeType":"YulBlock","src":"705:230:9","statements":[{"nodeType":"YulAssignment","src":"715:19:9","value":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"731:2:9","type":"","value":"64"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"725:5:9"},"nodeType":"YulFunctionCall","src":"725:9:9"},"variableNames":[{"name":"memPtr","nodeType":"YulIdentifier","src":"715:6:9"}]},{"nodeType":"YulVariableDeclaration","src":"743:58:9","value":{"arguments":[{"name":"memPtr","nodeType":"YulIdentifier","src":"765:6:9"},{"arguments":[{"arguments":[{"name":"size","nodeType":"YulIdentifier","src":"781:4:9"},{"kind":"number","nodeType":"YulLiteral","src":"787:2:9","type":"","value":"31"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"777:3:9"},"nodeType":"YulFunctionCall","src":"777:13:9"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"796:2:9","type":"","value":"31"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"792:3:9"},"nodeType":"YulFunctionCall","src":"792:7:9"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"773:3:9"},"nodeType":"YulFunctionCall","src":"773:27:9"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"761:3:9"},"nodeType":"YulFunctionCall","src":"761:40:9"},"variables":[{"name":"newFreePtr","nodeType":"YulTypedName","src":"747:10:9","type":""}]},{"body":{"nodeType":"YulBlock","src":"876:22:9","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x41","nodeType":"YulIdentifier","src":"878:16:9"},"nodeType":"YulFunctionCall","src":"878:18:9"},"nodeType":"YulExpressionStatement","src":"878:18:9"}]},"condition":{"arguments":[{"arguments":[{"name":"newFreePtr","nodeType":"YulIdentifier","src":"819:10:9"},{"kind":"number","nodeType":"YulLiteral","src":"831:18:9","type":"","value":"0xffffffffffffffff"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"816:2:9"},"nodeType":"YulFunctionCall","src":"816:34:9"},{"arguments":[{"name":"newFreePtr","nodeType":"YulIdentifier","src":"855:10:9"},{"name":"memPtr","nodeType":"YulIdentifier","src":"867:6:9"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"852:2:9"},"nodeType":"YulFunctionCall","src":"852:22:9"}],"functionName":{"name":"or","nodeType":"YulIdentifier","src":"813:2:9"},"nodeType":"YulFunctionCall","src":"813:62:9"},"nodeType":"YulIf","src":"810:88:9"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"914:2:9","type":"","value":"64"},{"name":"newFreePtr","nodeType":"YulIdentifier","src":"918:10:9"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"907:6:9"},"nodeType":"YulFunctionCall","src":"907:22:9"},"nodeType":"YulExpressionStatement","src":"907:22:9"}]},"name":"allocate_memory","nodeType":"YulFunctionDefinition","parameters":[{"name":"size","nodeType":"YulTypedName","src":"685:4:9","type":""}],"returnVariables":[{"name":"memPtr","nodeType":"YulTypedName","src":"694:6:9","type":""}],"src":"660:275:9"},{"body":{"nodeType":"YulBlock","src":"985:86:9","statements":[{"body":{"nodeType":"YulBlock","src":"1049:16:9","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1058:1:9","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1061:1:9","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1051:6:9"},"nodeType":"YulFunctionCall","src":"1051:12:9"},"nodeType":"YulExpressionStatement","src":"1051:12:9"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"1008:5:9"},{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"1019:5:9"},{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1034:3:9","type":"","value":"160"},{"kind":"number","nodeType":"YulLiteral","src":"1039:1:9","type":"","value":"1"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"1030:3:9"},"nodeType":"YulFunctionCall","src":"1030:11:9"},{"kind":"number","nodeType":"YulLiteral","src":"1043:1:9","type":"","value":"1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"1026:3:9"},"nodeType":"YulFunctionCall","src":"1026:19:9"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"1015:3:9"},"nodeType":"YulFunctionCall","src":"1015:31:9"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"1005:2:9"},"nodeType":"YulFunctionCall","src":"1005:42:9"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"998:6:9"},"nodeType":"YulFunctionCall","src":"998:50:9"},"nodeType":"YulIf","src":"995:70:9"}]},"name":"validator_revert_address","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"974:5:9","type":""}],"src":"940:131:9"},{"body":{"nodeType":"YulBlock","src":"1118:76:9","statements":[{"body":{"nodeType":"YulBlock","src":"1172:16:9","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1181:1:9","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1184:1:9","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1174:6:9"},"nodeType":"YulFunctionCall","src":"1174:12:9"},"nodeType":"YulExpressionStatement","src":"1174:12:9"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"1141:5:9"},{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"1162:5:9"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"1155:6:9"},"nodeType":"YulFunctionCall","src":"1155:13:9"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"1148:6:9"},"nodeType":"YulFunctionCall","src":"1148:21:9"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"1138:2:9"},"nodeType":"YulFunctionCall","src":"1138:32:9"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"1131:6:9"},"nodeType":"YulFunctionCall","src":"1131:40:9"},"nodeType":"YulIf","src":"1128:60:9"}]},"name":"validator_revert_bool","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"1107:5:9","type":""}],"src":"1076:118:9"},{"body":{"nodeType":"YulBlock","src":"1256:496:9","statements":[{"body":{"nodeType":"YulBlock","src":"1305:16:9","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1314:1:9","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1317:1:9","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1307:6:9"},"nodeType":"YulFunctionCall","src":"1307:12:9"},"nodeType":"YulExpressionStatement","src":"1307:12:9"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"1284:6:9"},{"kind":"number","nodeType":"YulLiteral","src":"1292:4:9","type":"","value":"0x1f"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1280:3:9"},"nodeType":"YulFunctionCall","src":"1280:17:9"},{"name":"end","nodeType":"YulIdentifier","src":"1299:3:9"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"1276:3:9"},"nodeType":"YulFunctionCall","src":"1276:27:9"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"1269:6:9"},"nodeType":"YulFunctionCall","src":"1269:35:9"},"nodeType":"YulIf","src":"1266:55:9"},{"nodeType":"YulVariableDeclaration","src":"1330:33:9","value":{"arguments":[],"functionName":{"name":"allocate_memory_3564","nodeType":"YulIdentifier","src":"1341:20:9"},"nodeType":"YulFunctionCall","src":"1341:22:9"},"variables":[{"name":"dst","nodeType":"YulTypedName","src":"1334:3:9","type":""}]},{"nodeType":"YulVariableDeclaration","src":"1372:16:9","value":{"name":"dst","nodeType":"YulIdentifier","src":"1385:3:9"},"variables":[{"name":"dst_1","nodeType":"YulTypedName","src":"1376:5:9","type":""}]},{"nodeType":"YulVariableDeclaration","src":"1397:29:9","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"1415:6:9"},{"kind":"number","nodeType":"YulLiteral","src":"1423:2:9","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1411:3:9"},"nodeType":"YulFunctionCall","src":"1411:15:9"},"variables":[{"name":"srcEnd","nodeType":"YulTypedName","src":"1401:6:9","type":""}]},{"body":{"nodeType":"YulBlock","src":"1454:16:9","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1463:1:9","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1466:1:9","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1456:6:9"},"nodeType":"YulFunctionCall","src":"1456:12:9"},"nodeType":"YulExpressionStatement","src":"1456:12:9"}]},"condition":{"arguments":[{"name":"srcEnd","nodeType":"YulIdentifier","src":"1441:6:9"},{"name":"end","nodeType":"YulIdentifier","src":"1449:3:9"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"1438:2:9"},"nodeType":"YulFunctionCall","src":"1438:15:9"},"nodeType":"YulIf","src":"1435:35:9"},{"nodeType":"YulVariableDeclaration","src":"1479:17:9","value":{"name":"offset","nodeType":"YulIdentifier","src":"1490:6:9"},"variables":[{"name":"src","nodeType":"YulTypedName","src":"1483:3:9","type":""}]},{"body":{"nodeType":"YulBlock","src":"1563:160:9","statements":[{"nodeType":"YulVariableDeclaration","src":"1577:30:9","value":{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"1603:3:9"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"1590:12:9"},"nodeType":"YulFunctionCall","src":"1590:17:9"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"1581:5:9","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"1642:5:9"}],"functionName":{"name":"validator_revert_bool","nodeType":"YulIdentifier","src":"1620:21:9"},"nodeType":"YulFunctionCall","src":"1620:28:9"},"nodeType":"YulExpressionStatement","src":"1620:28:9"},{"expression":{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"1668:3:9"},{"name":"value","nodeType":"YulIdentifier","src":"1673:5:9"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"1661:6:9"},"nodeType":"YulFunctionCall","src":"1661:18:9"},"nodeType":"YulExpressionStatement","src":"1661:18:9"},{"nodeType":"YulAssignment","src":"1692:21:9","value":{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"1703:3:9"},{"kind":"number","nodeType":"YulLiteral","src":"1708:4:9","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1699:3:9"},"nodeType":"YulFunctionCall","src":"1699:14:9"},"variableNames":[{"name":"dst","nodeType":"YulIdentifier","src":"1692:3:9"}]}]},"condition":{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"1516:3:9"},{"name":"srcEnd","nodeType":"YulIdentifier","src":"1521:6:9"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"1513:2:9"},"nodeType":"YulFunctionCall","src":"1513:15:9"},"nodeType":"YulForLoop","post":{"nodeType":"YulBlock","src":"1529:25:9","statements":[{"nodeType":"YulAssignment","src":"1531:21:9","value":{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"1542:3:9"},{"kind":"number","nodeType":"YulLiteral","src":"1547:4:9","type":"","value":"0x20"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"1538:3:9"},"nodeType":"YulFunctionCall","src":"1538:14:9"},"variableNames":[{"name":"src","nodeType":"YulIdentifier","src":"1531:3:9"}]}]},"pre":{"nodeType":"YulBlock","src":"1509:3:9","statements":[]},"src":"1505:218:9"},{"nodeType":"YulAssignment","src":"1732:14:9","value":{"name":"dst_1","nodeType":"YulIdentifier","src":"1741:5:9"},"variableNames":[{"name":"array","nodeType":"YulIdentifier","src":"1732:5:9"}]}]},"name":"abi_decode_array_bool","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nodeType":"YulTypedName","src":"1230:6:9","type":""},{"name":"end","nodeType":"YulTypedName","src":"1238:3:9","type":""}],"returnVariables":[{"name":"array","nodeType":"YulTypedName","src":"1246:5:9","type":""}],"src":"1199:553:9"},{"body":{"nodeType":"YulBlock","src":"1825:842:9","statements":[{"body":{"nodeType":"YulBlock","src":"1869:16:9","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"1878:1:9","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"1881:1:9","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"1871:6:9"},"nodeType":"YulFunctionCall","src":"1871:12:9"},"nodeType":"YulExpressionStatement","src":"1871:12:9"}]},"condition":{"arguments":[{"arguments":[{"name":"end","nodeType":"YulIdentifier","src":"1846:3:9"},{"name":"headStart","nodeType":"YulIdentifier","src":"1851:9:9"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"1842:3:9"},"nodeType":"YulFunctionCall","src":"1842:19:9"},{"kind":"number","nodeType":"YulLiteral","src":"1863:4:9","type":"","value":"0xe0"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"1838:3:9"},"nodeType":"YulFunctionCall","src":"1838:30:9"},"nodeType":"YulIf","src":"1835:50:9"},{"nodeType":"YulAssignment","src":"1894:31:9","value":{"arguments":[],"functionName":{"name":"allocate_memory_2493","nodeType":"YulIdentifier","src":"1903:20:9"},"nodeType":"YulFunctionCall","src":"1903:22:9"},"variableNames":[{"name":"value","nodeType":"YulIdentifier","src":"1894:5:9"}]},{"nodeType":"YulVariableDeclaration","src":"1934:38:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"1962:9:9"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"1949:12:9"},"nodeType":"YulFunctionCall","src":"1949:23:9"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"1938:7:9","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"2006:7:9"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"1981:24:9"},"nodeType":"YulFunctionCall","src":"1981:33:9"},"nodeType":"YulExpressionStatement","src":"1981:33:9"},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"2030:5:9"},{"name":"value_1","nodeType":"YulIdentifier","src":"2037:7:9"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2023:6:9"},"nodeType":"YulFunctionCall","src":"2023:22:9"},"nodeType":"YulExpressionStatement","src":"2023:22:9"},{"nodeType":"YulVariableDeclaration","src":"2054:12:9","value":{"kind":"number","nodeType":"YulLiteral","src":"2064:2:9","type":"","value":"32"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"2058:2:9","type":""}]},{"body":{"nodeType":"YulBlock","src":"2115:16:9","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2124:1:9","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"2127:1:9","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"2117:6:9"},"nodeType":"YulFunctionCall","src":"2117:12:9"},"nodeType":"YulExpressionStatement","src":"2117:12:9"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2093:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"2104:2:9","type":"","value":"63"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2089:3:9"},"nodeType":"YulFunctionCall","src":"2089:18:9"},{"name":"end","nodeType":"YulIdentifier","src":"2109:3:9"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"2085:3:9"},"nodeType":"YulFunctionCall","src":"2085:28:9"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"2078:6:9"},"nodeType":"YulFunctionCall","src":"2078:36:9"},"nodeType":"YulIf","src":"2075:56:9"},{"nodeType":"YulVariableDeclaration","src":"2140:33:9","value":{"arguments":[],"functionName":{"name":"allocate_memory_3564","nodeType":"YulIdentifier","src":"2151:20:9"},"nodeType":"YulFunctionCall","src":"2151:22:9"},"variables":[{"name":"dst","nodeType":"YulTypedName","src":"2144:3:9","type":""}]},{"nodeType":"YulVariableDeclaration","src":"2182:16:9","value":{"name":"dst","nodeType":"YulIdentifier","src":"2195:3:9"},"variables":[{"name":"dst_1","nodeType":"YulTypedName","src":"2186:5:9","type":""}]},{"nodeType":"YulVariableDeclaration","src":"2207:33:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2225:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"2236:3:9","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2221:3:9"},"nodeType":"YulFunctionCall","src":"2221:19:9"},"variables":[{"name":"srcEnd","nodeType":"YulTypedName","src":"2211:6:9","type":""}]},{"body":{"nodeType":"YulBlock","src":"2268:16:9","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2277:1:9","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"2280:1:9","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"2270:6:9"},"nodeType":"YulFunctionCall","src":"2270:12:9"},"nodeType":"YulExpressionStatement","src":"2270:12:9"}]},"condition":{"arguments":[{"name":"srcEnd","nodeType":"YulIdentifier","src":"2255:6:9"},{"name":"end","nodeType":"YulIdentifier","src":"2263:3:9"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"2252:2:9"},"nodeType":"YulFunctionCall","src":"2252:15:9"},"nodeType":"YulIf","src":"2249:35:9"},{"nodeType":"YulVariableDeclaration","src":"2293:29:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2308:9:9"},{"name":"_1","nodeType":"YulIdentifier","src":"2319:2:9"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2304:3:9"},"nodeType":"YulFunctionCall","src":"2304:18:9"},"variables":[{"name":"src","nodeType":"YulTypedName","src":"2297:3:9","type":""}]},{"body":{"nodeType":"YulBlock","src":"2387:167:9","statements":[{"nodeType":"YulVariableDeclaration","src":"2401:32:9","value":{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"2429:3:9"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"2416:12:9"},"nodeType":"YulFunctionCall","src":"2416:17:9"},"variables":[{"name":"value_2","nodeType":"YulTypedName","src":"2405:7:9","type":""}]},{"expression":{"arguments":[{"name":"value_2","nodeType":"YulIdentifier","src":"2471:7:9"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"2446:24:9"},"nodeType":"YulFunctionCall","src":"2446:33:9"},"nodeType":"YulExpressionStatement","src":"2446:33:9"},{"expression":{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"2499:3:9"},{"name":"value_2","nodeType":"YulIdentifier","src":"2504:7:9"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2492:6:9"},"nodeType":"YulFunctionCall","src":"2492:20:9"},"nodeType":"YulExpressionStatement","src":"2492:20:9"},{"nodeType":"YulAssignment","src":"2525:19:9","value":{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"2536:3:9"},{"name":"_1","nodeType":"YulIdentifier","src":"2541:2:9"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2532:3:9"},"nodeType":"YulFunctionCall","src":"2532:12:9"},"variableNames":[{"name":"dst","nodeType":"YulIdentifier","src":"2525:3:9"}]}]},"condition":{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"2342:3:9"},{"name":"srcEnd","nodeType":"YulIdentifier","src":"2347:6:9"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"2339:2:9"},"nodeType":"YulFunctionCall","src":"2339:15:9"},"nodeType":"YulForLoop","post":{"nodeType":"YulBlock","src":"2355:23:9","statements":[{"nodeType":"YulAssignment","src":"2357:19:9","value":{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"2368:3:9"},{"name":"_1","nodeType":"YulIdentifier","src":"2373:2:9"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2364:3:9"},"nodeType":"YulFunctionCall","src":"2364:12:9"},"variableNames":[{"name":"src","nodeType":"YulIdentifier","src":"2357:3:9"}]}]},"pre":{"nodeType":"YulBlock","src":"2335:3:9","statements":[]},"src":"2331:223:9"},{"expression":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"2574:5:9"},{"name":"_1","nodeType":"YulIdentifier","src":"2581:2:9"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2570:3:9"},"nodeType":"YulFunctionCall","src":"2570:14:9"},{"name":"dst_1","nodeType":"YulIdentifier","src":"2586:5:9"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2563:6:9"},"nodeType":"YulFunctionCall","src":"2563:29:9"},"nodeType":"YulExpressionStatement","src":"2563:29:9"},{"expression":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"2612:5:9"},{"kind":"number","nodeType":"YulLiteral","src":"2619:4:9","type":"","value":"0x40"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"2608:3:9"},"nodeType":"YulFunctionCall","src":"2608:16:9"},{"arguments":[{"name":"srcEnd","nodeType":"YulIdentifier","src":"2648:6:9"},{"name":"end","nodeType":"YulIdentifier","src":"2656:3:9"}],"functionName":{"name":"abi_decode_array_bool","nodeType":"YulIdentifier","src":"2626:21:9"},"nodeType":"YulFunctionCall","src":"2626:34:9"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"2601:6:9"},"nodeType":"YulFunctionCall","src":"2601:60:9"},"nodeType":"YulExpressionStatement","src":"2601:60:9"}]},"name":"abi_decode_struct_TokenConfig","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"1796:9:9","type":""},{"name":"end","nodeType":"YulTypedName","src":"1807:3:9","type":""}],"returnVariables":[{"name":"value","nodeType":"YulTypedName","src":"1815:5:9","type":""}],"src":"1757:910:9"},{"body":{"nodeType":"YulBlock","src":"2795:888:9","statements":[{"nodeType":"YulVariableDeclaration","src":"2805:12:9","value":{"kind":"number","nodeType":"YulLiteral","src":"2815:2:9","type":"","value":"32"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"2809:2:9","type":""}]},{"body":{"nodeType":"YulBlock","src":"2862:16:9","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2871:1:9","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"2874:1:9","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"2864:6:9"},"nodeType":"YulFunctionCall","src":"2864:12:9"},"nodeType":"YulExpressionStatement","src":"2864:12:9"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"2837:7:9"},{"name":"headStart","nodeType":"YulIdentifier","src":"2846:9:9"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"2833:3:9"},"nodeType":"YulFunctionCall","src":"2833:23:9"},{"name":"_1","nodeType":"YulIdentifier","src":"2858:2:9"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"2829:3:9"},"nodeType":"YulFunctionCall","src":"2829:32:9"},"nodeType":"YulIf","src":"2826:52:9"},{"nodeType":"YulVariableDeclaration","src":"2887:37:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"2914:9:9"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"2901:12:9"},"nodeType":"YulFunctionCall","src":"2901:23:9"},"variables":[{"name":"offset","nodeType":"YulTypedName","src":"2891:6:9","type":""}]},{"nodeType":"YulVariableDeclaration","src":"2933:28:9","value":{"kind":"number","nodeType":"YulLiteral","src":"2943:18:9","type":"","value":"0xffffffffffffffff"},"variables":[{"name":"_2","nodeType":"YulTypedName","src":"2937:2:9","type":""}]},{"body":{"nodeType":"YulBlock","src":"2988:16:9","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"2997:1:9","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"3000:1:9","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"2990:6:9"},"nodeType":"YulFunctionCall","src":"2990:12:9"},"nodeType":"YulExpressionStatement","src":"2990:12:9"}]},"condition":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"2976:6:9"},{"name":"_2","nodeType":"YulIdentifier","src":"2984:2:9"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"2973:2:9"},"nodeType":"YulFunctionCall","src":"2973:14:9"},"nodeType":"YulIf","src":"2970:34:9"},{"nodeType":"YulVariableDeclaration","src":"3013:32:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3027:9:9"},{"name":"offset","nodeType":"YulIdentifier","src":"3038:6:9"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3023:3:9"},"nodeType":"YulFunctionCall","src":"3023:22:9"},"variables":[{"name":"_3","nodeType":"YulTypedName","src":"3017:2:9","type":""}]},{"body":{"nodeType":"YulBlock","src":"3093:16:9","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3102:1:9","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"3105:1:9","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"3095:6:9"},"nodeType":"YulFunctionCall","src":"3095:12:9"},"nodeType":"YulExpressionStatement","src":"3095:12:9"}]},"condition":{"arguments":[{"arguments":[{"arguments":[{"name":"_3","nodeType":"YulIdentifier","src":"3072:2:9"},{"kind":"number","nodeType":"YulLiteral","src":"3076:4:9","type":"","value":"0x1f"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3068:3:9"},"nodeType":"YulFunctionCall","src":"3068:13:9"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"3083:7:9"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"3064:3:9"},"nodeType":"YulFunctionCall","src":"3064:27:9"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"3057:6:9"},"nodeType":"YulFunctionCall","src":"3057:35:9"},"nodeType":"YulIf","src":"3054:55:9"},{"nodeType":"YulVariableDeclaration","src":"3118:26:9","value":{"arguments":[{"name":"_3","nodeType":"YulIdentifier","src":"3141:2:9"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"3128:12:9"},"nodeType":"YulFunctionCall","src":"3128:16:9"},"variables":[{"name":"_4","nodeType":"YulTypedName","src":"3122:2:9","type":""}]},{"body":{"nodeType":"YulBlock","src":"3167:22:9","statements":[{"expression":{"arguments":[],"functionName":{"name":"panic_error_0x41","nodeType":"YulIdentifier","src":"3169:16:9"},"nodeType":"YulFunctionCall","src":"3169:18:9"},"nodeType":"YulExpressionStatement","src":"3169:18:9"}]},"condition":{"arguments":[{"name":"_4","nodeType":"YulIdentifier","src":"3159:2:9"},{"name":"_2","nodeType":"YulIdentifier","src":"3163:2:9"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"3156:2:9"},"nodeType":"YulFunctionCall","src":"3156:10:9"},"nodeType":"YulIf","src":"3153:36:9"},{"nodeType":"YulVariableDeclaration","src":"3198:47:9","value":{"arguments":[{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3233:1:9","type":"","value":"5"},{"name":"_4","nodeType":"YulIdentifier","src":"3236:2:9"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"3229:3:9"},"nodeType":"YulFunctionCall","src":"3229:10:9"},{"name":"_1","nodeType":"YulIdentifier","src":"3241:2:9"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3225:3:9"},"nodeType":"YulFunctionCall","src":"3225:19:9"}],"functionName":{"name":"allocate_memory","nodeType":"YulIdentifier","src":"3209:15:9"},"nodeType":"YulFunctionCall","src":"3209:36:9"},"variables":[{"name":"dst","nodeType":"YulTypedName","src":"3202:3:9","type":""}]},{"nodeType":"YulVariableDeclaration","src":"3254:16:9","value":{"name":"dst","nodeType":"YulIdentifier","src":"3267:3:9"},"variables":[{"name":"dst_1","nodeType":"YulTypedName","src":"3258:5:9","type":""}]},{"expression":{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"3286:3:9"},{"name":"_4","nodeType":"YulIdentifier","src":"3291:2:9"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3279:6:9"},"nodeType":"YulFunctionCall","src":"3279:15:9"},"nodeType":"YulExpressionStatement","src":"3279:15:9"},{"nodeType":"YulAssignment","src":"3303:19:9","value":{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"3314:3:9"},{"name":"_1","nodeType":"YulIdentifier","src":"3319:2:9"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3310:3:9"},"nodeType":"YulFunctionCall","src":"3310:12:9"},"variableNames":[{"name":"dst","nodeType":"YulIdentifier","src":"3303:3:9"}]},{"nodeType":"YulVariableDeclaration","src":"3331:14:9","value":{"kind":"number","nodeType":"YulLiteral","src":"3341:4:9","type":"","value":"0xe0"},"variables":[{"name":"_5","nodeType":"YulTypedName","src":"3335:2:9","type":""}]},{"nodeType":"YulVariableDeclaration","src":"3354:43:9","value":{"arguments":[{"arguments":[{"name":"_3","nodeType":"YulIdentifier","src":"3376:2:9"},{"arguments":[{"name":"_4","nodeType":"YulIdentifier","src":"3384:2:9"},{"name":"_5","nodeType":"YulIdentifier","src":"3388:2:9"}],"functionName":{"name":"mul","nodeType":"YulIdentifier","src":"3380:3:9"},"nodeType":"YulFunctionCall","src":"3380:11:9"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3372:3:9"},"nodeType":"YulFunctionCall","src":"3372:20:9"},{"name":"_1","nodeType":"YulIdentifier","src":"3394:2:9"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3368:3:9"},"nodeType":"YulFunctionCall","src":"3368:29:9"},"variables":[{"name":"srcEnd","nodeType":"YulTypedName","src":"3358:6:9","type":""}]},{"body":{"nodeType":"YulBlock","src":"3429:16:9","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3438:1:9","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"3441:1:9","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"3431:6:9"},"nodeType":"YulFunctionCall","src":"3431:12:9"},"nodeType":"YulExpressionStatement","src":"3431:12:9"}]},"condition":{"arguments":[{"name":"srcEnd","nodeType":"YulIdentifier","src":"3412:6:9"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"3420:7:9"}],"functionName":{"name":"gt","nodeType":"YulIdentifier","src":"3409:2:9"},"nodeType":"YulFunctionCall","src":"3409:19:9"},"nodeType":"YulIf","src":"3406:39:9"},{"nodeType":"YulVariableDeclaration","src":"3454:22:9","value":{"arguments":[{"name":"_3","nodeType":"YulIdentifier","src":"3469:2:9"},{"name":"_1","nodeType":"YulIdentifier","src":"3473:2:9"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3465:3:9"},"nodeType":"YulFunctionCall","src":"3465:11:9"},"variables":[{"name":"src","nodeType":"YulTypedName","src":"3458:3:9","type":""}]},{"body":{"nodeType":"YulBlock","src":"3541:112:9","statements":[{"expression":{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"3562:3:9"},{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"3597:3:9"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"3602:7:9"}],"functionName":{"name":"abi_decode_struct_TokenConfig","nodeType":"YulIdentifier","src":"3567:29:9"},"nodeType":"YulFunctionCall","src":"3567:43:9"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"3555:6:9"},"nodeType":"YulFunctionCall","src":"3555:56:9"},"nodeType":"YulExpressionStatement","src":"3555:56:9"},{"nodeType":"YulAssignment","src":"3624:19:9","value":{"arguments":[{"name":"dst","nodeType":"YulIdentifier","src":"3635:3:9"},{"name":"_1","nodeType":"YulIdentifier","src":"3640:2:9"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3631:3:9"},"nodeType":"YulFunctionCall","src":"3631:12:9"},"variableNames":[{"name":"dst","nodeType":"YulIdentifier","src":"3624:3:9"}]}]},"condition":{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"3496:3:9"},{"name":"srcEnd","nodeType":"YulIdentifier","src":"3501:6:9"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"3493:2:9"},"nodeType":"YulFunctionCall","src":"3493:15:9"},"nodeType":"YulForLoop","post":{"nodeType":"YulBlock","src":"3509:23:9","statements":[{"nodeType":"YulAssignment","src":"3511:19:9","value":{"arguments":[{"name":"src","nodeType":"YulIdentifier","src":"3522:3:9"},{"name":"_5","nodeType":"YulIdentifier","src":"3527:2:9"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"3518:3:9"},"nodeType":"YulFunctionCall","src":"3518:12:9"},"variableNames":[{"name":"src","nodeType":"YulIdentifier","src":"3511:3:9"}]}]},"pre":{"nodeType":"YulBlock","src":"3489:3:9","statements":[]},"src":"3485:168:9"},{"nodeType":"YulAssignment","src":"3662:15:9","value":{"name":"dst_1","nodeType":"YulIdentifier","src":"3672:5:9"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"3662:6:9"}]}]},"name":"abi_decode_tuple_t_array$_t_struct$_TokenConfig_$731_memory_ptr_$dyn_memory_ptr","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"2761:9:9","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"2772:7:9","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"2784:6:9","type":""}],"src":"2672:1011:9"},{"body":{"nodeType":"YulBlock","src":"3786:137:9","statements":[{"body":{"nodeType":"YulBlock","src":"3833:16:9","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"3842:1:9","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"3845:1:9","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"3835:6:9"},"nodeType":"YulFunctionCall","src":"3835:12:9"},"nodeType":"YulExpressionStatement","src":"3835:12:9"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"3807:7:9"},{"name":"headStart","nodeType":"YulIdentifier","src":"3816:9:9"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"3803:3:9"},"nodeType":"YulFunctionCall","src":"3803:23:9"},{"kind":"number","nodeType":"YulLiteral","src":"3828:3:9","type":"","value":"224"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"3799:3:9"},"nodeType":"YulFunctionCall","src":"3799:33:9"},"nodeType":"YulIf","src":"3796:53:9"},{"nodeType":"YulAssignment","src":"3858:59:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"3898:9:9"},{"name":"dataEnd","nodeType":"YulIdentifier","src":"3909:7:9"}],"functionName":{"name":"abi_decode_struct_TokenConfig","nodeType":"YulIdentifier","src":"3868:29:9"},"nodeType":"YulFunctionCall","src":"3868:49:9"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"3858:6:9"}]}]},"name":"abi_decode_tuple_t_struct$_TokenConfig_$731_memory_ptr","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"3752:9:9","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"3763:7:9","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"3775:6:9","type":""}],"src":"3688:235:9"},{"body":{"nodeType":"YulBlock","src":"4061:102:9","statements":[{"nodeType":"YulAssignment","src":"4071:26:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4083:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"4094:2:9","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4079:3:9"},"nodeType":"YulFunctionCall","src":"4079:18:9"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"4071:4:9"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4113:9:9"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"4128:6:9"},{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4144:3:9","type":"","value":"160"},{"kind":"number","nodeType":"YulLiteral","src":"4149:1:9","type":"","value":"1"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"4140:3:9"},"nodeType":"YulFunctionCall","src":"4140:11:9"},{"kind":"number","nodeType":"YulLiteral","src":"4153:1:9","type":"","value":"1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"4136:3:9"},"nodeType":"YulFunctionCall","src":"4136:19:9"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"4124:3:9"},"nodeType":"YulFunctionCall","src":"4124:32:9"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4106:6:9"},"nodeType":"YulFunctionCall","src":"4106:51:9"},"nodeType":"YulExpressionStatement","src":"4106:51:9"}]},"name":"abi_encode_tuple_t_contract$_BoundValidatorInterface_$1647__to_t_address__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"4030:9:9","type":""},{"name":"value0","nodeType":"YulTypedName","src":"4041:6:9","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"4052:4:9","type":""}],"src":"3928:235:9"},{"body":{"nodeType":"YulBlock","src":"4225:94:9","statements":[{"nodeType":"YulAssignment","src":"4235:29:9","value":{"arguments":[{"name":"offset","nodeType":"YulIdentifier","src":"4257:6:9"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"4244:12:9"},"nodeType":"YulFunctionCall","src":"4244:20:9"},"variableNames":[{"name":"value","nodeType":"YulIdentifier","src":"4235:5:9"}]},{"body":{"nodeType":"YulBlock","src":"4297:16:9","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4306:1:9","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"4309:1:9","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"4299:6:9"},"nodeType":"YulFunctionCall","src":"4299:12:9"},"nodeType":"YulExpressionStatement","src":"4299:12:9"}]},"condition":{"arguments":[{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"4286:5:9"},{"kind":"number","nodeType":"YulLiteral","src":"4293:1:9","type":"","value":"3"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"4283:2:9"},"nodeType":"YulFunctionCall","src":"4283:12:9"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"4276:6:9"},"nodeType":"YulFunctionCall","src":"4276:20:9"},"nodeType":"YulIf","src":"4273:40:9"}]},"name":"abi_decode_enum_OracleRole","nodeType":"YulFunctionDefinition","parameters":[{"name":"offset","nodeType":"YulTypedName","src":"4204:6:9","type":""}],"returnVariables":[{"name":"value","nodeType":"YulTypedName","src":"4215:5:9","type":""}],"src":"4168:151:9"},{"body":{"nodeType":"YulBlock","src":"4439:363:9","statements":[{"body":{"nodeType":"YulBlock","src":"4485:16:9","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"4494:1:9","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"4497:1:9","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"4487:6:9"},"nodeType":"YulFunctionCall","src":"4487:12:9"},"nodeType":"YulExpressionStatement","src":"4487:12:9"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"4460:7:9"},{"name":"headStart","nodeType":"YulIdentifier","src":"4469:9:9"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"4456:3:9"},"nodeType":"YulFunctionCall","src":"4456:23:9"},{"kind":"number","nodeType":"YulLiteral","src":"4481:2:9","type":"","value":"96"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"4452:3:9"},"nodeType":"YulFunctionCall","src":"4452:32:9"},"nodeType":"YulIf","src":"4449:52:9"},{"nodeType":"YulVariableDeclaration","src":"4510:36:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4536:9:9"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"4523:12:9"},"nodeType":"YulFunctionCall","src":"4523:23:9"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"4514:5:9","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"4580:5:9"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"4555:24:9"},"nodeType":"YulFunctionCall","src":"4555:31:9"},"nodeType":"YulExpressionStatement","src":"4555:31:9"},{"nodeType":"YulAssignment","src":"4595:15:9","value":{"name":"value","nodeType":"YulIdentifier","src":"4605:5:9"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"4595:6:9"}]},{"nodeType":"YulAssignment","src":"4619:56:9","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4660:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"4671:2:9","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4656:3:9"},"nodeType":"YulFunctionCall","src":"4656:18:9"}],"functionName":{"name":"abi_decode_enum_OracleRole","nodeType":"YulIdentifier","src":"4629:26:9"},"nodeType":"YulFunctionCall","src":"4629:46:9"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"4619:6:9"}]},{"nodeType":"YulVariableDeclaration","src":"4684:47:9","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4716:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"4727:2:9","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4712:3:9"},"nodeType":"YulFunctionCall","src":"4712:18:9"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"4699:12:9"},"nodeType":"YulFunctionCall","src":"4699:32:9"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"4688:7:9","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"4762:7:9"}],"functionName":{"name":"validator_revert_bool","nodeType":"YulIdentifier","src":"4740:21:9"},"nodeType":"YulFunctionCall","src":"4740:30:9"},"nodeType":"YulExpressionStatement","src":"4740:30:9"},{"nodeType":"YulAssignment","src":"4779:17:9","value":{"name":"value_1","nodeType":"YulIdentifier","src":"4789:7:9"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"4779:6:9"}]}]},"name":"abi_decode_tuple_t_addresst_enum$_OracleRole_$717t_bool","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"4389:9:9","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"4400:7:9","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"4412:6:9","type":""},{"name":"value1","nodeType":"YulTypedName","src":"4420:6:9","type":""},{"name":"value2","nodeType":"YulTypedName","src":"4428:6:9","type":""}],"src":"4324:478:9"},{"body":{"nodeType":"YulBlock","src":"4908:76:9","statements":[{"nodeType":"YulAssignment","src":"4918:26:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4930:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"4941:2:9","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"4926:3:9"},"nodeType":"YulFunctionCall","src":"4926:18:9"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"4918:4:9"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"4960:9:9"},{"name":"value0","nodeType":"YulIdentifier","src":"4971:6:9"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"4953:6:9"},"nodeType":"YulFunctionCall","src":"4953:25:9"},"nodeType":"YulExpressionStatement","src":"4953:25:9"}]},"name":"abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"4877:9:9","type":""},{"name":"value0","nodeType":"YulTypedName","src":"4888:6:9","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"4899:4:9","type":""}],"src":"4807:177:9"},{"body":{"nodeType":"YulBlock","src":"5084:92:9","statements":[{"nodeType":"YulAssignment","src":"5094:26:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5106:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"5117:2:9","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5102:3:9"},"nodeType":"YulFunctionCall","src":"5102:18:9"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"5094:4:9"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5136:9:9"},{"arguments":[{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"5161:6:9"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"5154:6:9"},"nodeType":"YulFunctionCall","src":"5154:14:9"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"5147:6:9"},"nodeType":"YulFunctionCall","src":"5147:22:9"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"5129:6:9"},"nodeType":"YulFunctionCall","src":"5129:41:9"},"nodeType":"YulExpressionStatement","src":"5129:41:9"}]},"name":"abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"5053:9:9","type":""},{"name":"value0","nodeType":"YulTypedName","src":"5064:6:9","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"5075:4:9","type":""}],"src":"4989:187:9"},{"body":{"nodeType":"YulBlock","src":"5282:242:9","statements":[{"body":{"nodeType":"YulBlock","src":"5328:16:9","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5337:1:9","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"5340:1:9","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"5330:6:9"},"nodeType":"YulFunctionCall","src":"5330:12:9"},"nodeType":"YulExpressionStatement","src":"5330:12:9"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"5303:7:9"},{"name":"headStart","nodeType":"YulIdentifier","src":"5312:9:9"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"5299:3:9"},"nodeType":"YulFunctionCall","src":"5299:23:9"},{"kind":"number","nodeType":"YulLiteral","src":"5324:2:9","type":"","value":"64"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"5295:3:9"},"nodeType":"YulFunctionCall","src":"5295:32:9"},"nodeType":"YulIf","src":"5292:52:9"},{"nodeType":"YulVariableDeclaration","src":"5353:36:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5379:9:9"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"5366:12:9"},"nodeType":"YulFunctionCall","src":"5366:23:9"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"5357:5:9","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"5423:5:9"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"5398:24:9"},"nodeType":"YulFunctionCall","src":"5398:31:9"},"nodeType":"YulExpressionStatement","src":"5398:31:9"},{"nodeType":"YulAssignment","src":"5438:15:9","value":{"name":"value","nodeType":"YulIdentifier","src":"5448:5:9"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"5438:6:9"}]},{"nodeType":"YulAssignment","src":"5462:56:9","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5503:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"5514:2:9","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5499:3:9"},"nodeType":"YulFunctionCall","src":"5499:18:9"}],"functionName":{"name":"abi_decode_enum_OracleRole","nodeType":"YulIdentifier","src":"5472:26:9"},"nodeType":"YulFunctionCall","src":"5472:46:9"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"5462:6:9"}]}]},"name":"abi_decode_tuple_t_addresst_enum$_OracleRole_$717","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"5240:9:9","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"5251:7:9","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"5263:6:9","type":""},{"name":"value1","nodeType":"YulTypedName","src":"5271:6:9","type":""}],"src":"5181:343:9"},{"body":{"nodeType":"YulBlock","src":"5652:161:9","statements":[{"nodeType":"YulAssignment","src":"5662:26:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5674:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"5685:2:9","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5670:3:9"},"nodeType":"YulFunctionCall","src":"5670:18:9"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"5662:4:9"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5704:9:9"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"5719:6:9"},{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"5735:3:9","type":"","value":"160"},{"kind":"number","nodeType":"YulLiteral","src":"5740:1:9","type":"","value":"1"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"5731:3:9"},"nodeType":"YulFunctionCall","src":"5731:11:9"},{"kind":"number","nodeType":"YulLiteral","src":"5744:1:9","type":"","value":"1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"5727:3:9"},"nodeType":"YulFunctionCall","src":"5727:19:9"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"5715:3:9"},"nodeType":"YulFunctionCall","src":"5715:32:9"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"5697:6:9"},"nodeType":"YulFunctionCall","src":"5697:51:9"},"nodeType":"YulExpressionStatement","src":"5697:51:9"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5768:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"5779:2:9","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5764:3:9"},"nodeType":"YulFunctionCall","src":"5764:18:9"},{"arguments":[{"arguments":[{"name":"value1","nodeType":"YulIdentifier","src":"5798:6:9"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"5791:6:9"},"nodeType":"YulFunctionCall","src":"5791:14:9"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"5784:6:9"},"nodeType":"YulFunctionCall","src":"5784:22:9"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"5757:6:9"},"nodeType":"YulFunctionCall","src":"5757:50:9"},"nodeType":"YulExpressionStatement","src":"5757:50:9"}]},"name":"abi_encode_tuple_t_address_t_bool__to_t_address_t_bool__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"5613:9:9","type":""},{"name":"value1","nodeType":"YulTypedName","src":"5624:6:9","type":""},{"name":"value0","nodeType":"YulTypedName","src":"5632:6:9","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"5643:4:9","type":""}],"src":"5529:284:9"},{"body":{"nodeType":"YulBlock","src":"5919:102:9","statements":[{"nodeType":"YulAssignment","src":"5929:26:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5941:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"5952:2:9","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"5937:3:9"},"nodeType":"YulFunctionCall","src":"5937:18:9"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"5929:4:9"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"5971:9:9"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"5986:6:9"},{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"6002:3:9","type":"","value":"160"},{"kind":"number","nodeType":"YulLiteral","src":"6007:1:9","type":"","value":"1"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"5998:3:9"},"nodeType":"YulFunctionCall","src":"5998:11:9"},{"kind":"number","nodeType":"YulLiteral","src":"6011:1:9","type":"","value":"1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"5994:3:9"},"nodeType":"YulFunctionCall","src":"5994:19:9"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"5982:3:9"},"nodeType":"YulFunctionCall","src":"5982:32:9"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"5964:6:9"},"nodeType":"YulFunctionCall","src":"5964:51:9"},"nodeType":"YulExpressionStatement","src":"5964:51:9"}]},"name":"abi_encode_tuple_t_address__to_t_address__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"5888:9:9","type":""},{"name":"value0","nodeType":"YulTypedName","src":"5899:6:9","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"5910:4:9","type":""}],"src":"5818:203:9"},{"body":{"nodeType":"YulBlock","src":"6096:177:9","statements":[{"body":{"nodeType":"YulBlock","src":"6142:16:9","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"6151:1:9","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"6154:1:9","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"6144:6:9"},"nodeType":"YulFunctionCall","src":"6144:12:9"},"nodeType":"YulExpressionStatement","src":"6144:12:9"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"6117:7:9"},{"name":"headStart","nodeType":"YulIdentifier","src":"6126:9:9"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"6113:3:9"},"nodeType":"YulFunctionCall","src":"6113:23:9"},{"kind":"number","nodeType":"YulLiteral","src":"6138:2:9","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"6109:3:9"},"nodeType":"YulFunctionCall","src":"6109:32:9"},"nodeType":"YulIf","src":"6106:52:9"},{"nodeType":"YulVariableDeclaration","src":"6167:36:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6193:9:9"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"6180:12:9"},"nodeType":"YulFunctionCall","src":"6180:23:9"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"6171: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","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"6062:9:9","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"6073:7:9","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"6085:6:9","type":""}],"src":"6026:247:9"},{"body":{"nodeType":"YulBlock","src":"6396:366:9","statements":[{"body":{"nodeType":"YulBlock","src":"6442:16:9","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"6451:1:9","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"6454:1:9","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"6444:6:9"},"nodeType":"YulFunctionCall","src":"6444:12:9"},"nodeType":"YulExpressionStatement","src":"6444:12:9"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"6417:7:9"},{"name":"headStart","nodeType":"YulIdentifier","src":"6426:9:9"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"6413:3:9"},"nodeType":"YulFunctionCall","src":"6413:23:9"},{"kind":"number","nodeType":"YulLiteral","src":"6438:2:9","type":"","value":"96"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"6409:3:9"},"nodeType":"YulFunctionCall","src":"6409:32:9"},"nodeType":"YulIf","src":"6406:52:9"},{"nodeType":"YulVariableDeclaration","src":"6467:36:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6493:9:9"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"6480:12:9"},"nodeType":"YulFunctionCall","src":"6480:23:9"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"6471:5:9","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"6537:5:9"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"6512:24:9"},"nodeType":"YulFunctionCall","src":"6512:31:9"},"nodeType":"YulExpressionStatement","src":"6512:31:9"},{"nodeType":"YulAssignment","src":"6552:15:9","value":{"name":"value","nodeType":"YulIdentifier","src":"6562:5:9"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"6552:6:9"}]},{"nodeType":"YulVariableDeclaration","src":"6576:47:9","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6608:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"6619:2:9","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6604:3:9"},"nodeType":"YulFunctionCall","src":"6604:18:9"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"6591:12:9"},"nodeType":"YulFunctionCall","src":"6591:32:9"},"variables":[{"name":"value_1","nodeType":"YulTypedName","src":"6580:7:9","type":""}]},{"expression":{"arguments":[{"name":"value_1","nodeType":"YulIdentifier","src":"6657:7:9"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"6632:24:9"},"nodeType":"YulFunctionCall","src":"6632:33:9"},"nodeType":"YulExpressionStatement","src":"6632:33:9"},{"nodeType":"YulAssignment","src":"6674:17:9","value":{"name":"value_1","nodeType":"YulIdentifier","src":"6684:7:9"},"variableNames":[{"name":"value1","nodeType":"YulIdentifier","src":"6674:6:9"}]},{"nodeType":"YulAssignment","src":"6700:56:9","value":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6741:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"6752:2:9","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"6737:3:9"},"nodeType":"YulFunctionCall","src":"6737:18:9"}],"functionName":{"name":"abi_decode_enum_OracleRole","nodeType":"YulIdentifier","src":"6710:26:9"},"nodeType":"YulFunctionCall","src":"6710:46:9"},"variableNames":[{"name":"value2","nodeType":"YulIdentifier","src":"6700:6:9"}]}]},"name":"abi_decode_tuple_t_addresst_addresst_enum$_OracleRole_$717","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"6346:9:9","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"6357:7:9","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"6369:6:9","type":""},{"name":"value1","nodeType":"YulTypedName","src":"6377:6:9","type":""},{"name":"value2","nodeType":"YulTypedName","src":"6385:6:9","type":""}],"src":"6278:484:9"},{"body":{"nodeType":"YulBlock","src":"6869:177:9","statements":[{"body":{"nodeType":"YulBlock","src":"6915:16:9","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"6924:1:9","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"6927:1:9","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"6917:6:9"},"nodeType":"YulFunctionCall","src":"6917:12:9"},"nodeType":"YulExpressionStatement","src":"6917:12:9"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"6890:7:9"},{"name":"headStart","nodeType":"YulIdentifier","src":"6899:9:9"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"6886:3:9"},"nodeType":"YulFunctionCall","src":"6886:23:9"},{"kind":"number","nodeType":"YulLiteral","src":"6911:2:9","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"6882:3:9"},"nodeType":"YulFunctionCall","src":"6882:32:9"},"nodeType":"YulIf","src":"6879:52:9"},{"nodeType":"YulVariableDeclaration","src":"6940:36:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"6966:9:9"}],"functionName":{"name":"calldataload","nodeType":"YulIdentifier","src":"6953:12:9"},"nodeType":"YulFunctionCall","src":"6953:23:9"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"6944:5:9","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"7010:5:9"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"6985:24:9"},"nodeType":"YulFunctionCall","src":"6985:31:9"},"nodeType":"YulExpressionStatement","src":"6985:31:9"},{"nodeType":"YulAssignment","src":"7025:15:9","value":{"name":"value","nodeType":"YulIdentifier","src":"7035:5:9"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"7025:6:9"}]}]},"name":"abi_decode_tuple_t_contract$_BoundValidatorInterface_$1647","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"6835:9:9","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"6846:7:9","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"6858:6:9","type":""}],"src":"6767:279:9"},{"body":{"nodeType":"YulBlock","src":"7208:891:9","statements":[{"nodeType":"YulAssignment","src":"7218:27:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"7230:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"7241:3:9","type":"","value":"224"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7226:3:9"},"nodeType":"YulFunctionCall","src":"7226:19:9"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"7218:4:9"}]},{"nodeType":"YulVariableDeclaration","src":"7254:29:9","value":{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"7272:3:9","type":"","value":"160"},{"kind":"number","nodeType":"YulLiteral","src":"7277:1:9","type":"","value":"1"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"7268:3:9"},"nodeType":"YulFunctionCall","src":"7268:11:9"},{"kind":"number","nodeType":"YulLiteral","src":"7281:1:9","type":"","value":"1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"7264:3:9"},"nodeType":"YulFunctionCall","src":"7264:19:9"},"variables":[{"name":"_1","nodeType":"YulTypedName","src":"7258:2:9","type":""}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"7299:9:9"},{"arguments":[{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"7320:6:9"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"7314:5:9"},"nodeType":"YulFunctionCall","src":"7314:13:9"},{"name":"_1","nodeType":"YulIdentifier","src":"7329:2:9"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"7310:3:9"},"nodeType":"YulFunctionCall","src":"7310:22:9"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"7292:6:9"},"nodeType":"YulFunctionCall","src":"7292:41:9"},"nodeType":"YulExpressionStatement","src":"7292:41:9"},{"nodeType":"YulVariableDeclaration","src":"7342:14:9","value":{"kind":"number","nodeType":"YulLiteral","src":"7352:4:9","type":"","value":"0x20"},"variables":[{"name":"_2","nodeType":"YulTypedName","src":"7346:2:9","type":""}]},{"nodeType":"YulVariableDeclaration","src":"7365:42:9","value":{"arguments":[{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"7395:6:9"},{"name":"_2","nodeType":"YulIdentifier","src":"7403:2:9"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7391:3:9"},"nodeType":"YulFunctionCall","src":"7391:15:9"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"7385:5:9"},"nodeType":"YulFunctionCall","src":"7385:22:9"},"variables":[{"name":"memberValue0","nodeType":"YulTypedName","src":"7369:12:9","type":""}]},{"nodeType":"YulVariableDeclaration","src":"7416:29:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"7431:9:9"},{"name":"_2","nodeType":"YulIdentifier","src":"7442:2:9"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7427:3:9"},"nodeType":"YulFunctionCall","src":"7427:18:9"},"variables":[{"name":"pos","nodeType":"YulTypedName","src":"7420:3:9","type":""}]},{"nodeType":"YulAssignment","src":"7454:10:9","value":{"name":"pos","nodeType":"YulIdentifier","src":"7461:3:9"},"variableNames":[{"name":"pos","nodeType":"YulIdentifier","src":"7454:3:9"}]},{"nodeType":"YulVariableDeclaration","src":"7473:26:9","value":{"name":"memberValue0","nodeType":"YulIdentifier","src":"7487:12:9"},"variables":[{"name":"srcPtr","nodeType":"YulTypedName","src":"7477:6:9","type":""}]},{"nodeType":"YulVariableDeclaration","src":"7508:10:9","value":{"kind":"number","nodeType":"YulLiteral","src":"7517:1:9","type":"","value":"0"},"variables":[{"name":"i","nodeType":"YulTypedName","src":"7512:1:9","type":""}]},{"body":{"nodeType":"YulBlock","src":"7574:129:9","statements":[{"expression":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"7595:3:9"},{"arguments":[{"arguments":[{"name":"srcPtr","nodeType":"YulIdentifier","src":"7610:6:9"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"7604:5:9"},"nodeType":"YulFunctionCall","src":"7604:13:9"},{"name":"_1","nodeType":"YulIdentifier","src":"7619:2:9"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"7600:3:9"},"nodeType":"YulFunctionCall","src":"7600:22:9"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"7588:6:9"},"nodeType":"YulFunctionCall","src":"7588:35:9"},"nodeType":"YulExpressionStatement","src":"7588:35:9"},{"nodeType":"YulAssignment","src":"7636:19:9","value":{"arguments":[{"name":"pos","nodeType":"YulIdentifier","src":"7647:3:9"},{"name":"_2","nodeType":"YulIdentifier","src":"7652:2:9"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7643:3:9"},"nodeType":"YulFunctionCall","src":"7643:12:9"},"variableNames":[{"name":"pos","nodeType":"YulIdentifier","src":"7636:3:9"}]},{"nodeType":"YulAssignment","src":"7668:25:9","value":{"arguments":[{"name":"srcPtr","nodeType":"YulIdentifier","src":"7682:6:9"},{"name":"_2","nodeType":"YulIdentifier","src":"7690:2:9"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7678:3:9"},"nodeType":"YulFunctionCall","src":"7678:15:9"},"variableNames":[{"name":"srcPtr","nodeType":"YulIdentifier","src":"7668:6:9"}]}]},"condition":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"7538:1:9"},{"kind":"number","nodeType":"YulLiteral","src":"7541:4:9","type":"","value":"0x03"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"7535:2:9"},"nodeType":"YulFunctionCall","src":"7535:11:9"},"nodeType":"YulForLoop","post":{"nodeType":"YulBlock","src":"7547:18:9","statements":[{"nodeType":"YulAssignment","src":"7549:14:9","value":{"arguments":[{"name":"i","nodeType":"YulIdentifier","src":"7558:1:9"},{"kind":"number","nodeType":"YulLiteral","src":"7561:1:9","type":"","value":"1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7554:3:9"},"nodeType":"YulFunctionCall","src":"7554:9:9"},"variableNames":[{"name":"i","nodeType":"YulIdentifier","src":"7549:1:9"}]}]},"pre":{"nodeType":"YulBlock","src":"7531:3:9","statements":[]},"src":"7527:176:9"},{"nodeType":"YulVariableDeclaration","src":"7712:46:9","value":{"arguments":[{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"7744:6:9"},{"kind":"number","nodeType":"YulLiteral","src":"7752:4:9","type":"","value":"0x40"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7740:3:9"},"nodeType":"YulFunctionCall","src":"7740:17:9"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"7734:5:9"},"nodeType":"YulFunctionCall","src":"7734:24:9"},"variables":[{"name":"memberValue0_1","nodeType":"YulTypedName","src":"7716:14:9","type":""}]},{"nodeType":"YulVariableDeclaration","src":"7767:33:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"7784:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"7795:4:9","type":"","value":"0x80"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7780:3:9"},"nodeType":"YulFunctionCall","src":"7780:20:9"},"variables":[{"name":"pos_1","nodeType":"YulTypedName","src":"7771:5:9","type":""}]},{"nodeType":"YulAssignment","src":"7809:14:9","value":{"name":"pos_1","nodeType":"YulIdentifier","src":"7818:5:9"},"variableNames":[{"name":"pos_1","nodeType":"YulIdentifier","src":"7809:5:9"}]},{"nodeType":"YulVariableDeclaration","src":"7832:30:9","value":{"name":"memberValue0_1","nodeType":"YulIdentifier","src":"7848:14:9"},"variables":[{"name":"srcPtr_1","nodeType":"YulTypedName","src":"7836:8:9","type":""}]},{"nodeType":"YulVariableDeclaration","src":"7871:12:9","value":{"kind":"number","nodeType":"YulLiteral","src":"7882:1:9","type":"","value":"0"},"variables":[{"name":"i_1","nodeType":"YulTypedName","src":"7875:3:9","type":""}]},{"body":{"nodeType":"YulBlock","src":"7945:148:9","statements":[{"expression":{"arguments":[{"name":"pos_1","nodeType":"YulIdentifier","src":"7966:5:9"},{"arguments":[{"arguments":[{"arguments":[{"name":"srcPtr_1","nodeType":"YulIdentifier","src":"7993:8:9"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"7987:5:9"},"nodeType":"YulFunctionCall","src":"7987:15:9"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"7980:6:9"},"nodeType":"YulFunctionCall","src":"7980:23:9"}],"functionName":{"name":"iszero","nodeType":"YulIdentifier","src":"7973:6:9"},"nodeType":"YulFunctionCall","src":"7973:31:9"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"7959:6:9"},"nodeType":"YulFunctionCall","src":"7959:46:9"},"nodeType":"YulExpressionStatement","src":"7959:46:9"},{"nodeType":"YulAssignment","src":"8018:23:9","value":{"arguments":[{"name":"pos_1","nodeType":"YulIdentifier","src":"8031:5:9"},{"name":"_2","nodeType":"YulIdentifier","src":"8038:2:9"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8027:3:9"},"nodeType":"YulFunctionCall","src":"8027:14:9"},"variableNames":[{"name":"pos_1","nodeType":"YulIdentifier","src":"8018:5:9"}]},{"nodeType":"YulAssignment","src":"8054:29:9","value":{"arguments":[{"name":"srcPtr_1","nodeType":"YulIdentifier","src":"8070:8:9"},{"name":"_2","nodeType":"YulIdentifier","src":"8080:2:9"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8066:3:9"},"nodeType":"YulFunctionCall","src":"8066:17:9"},"variableNames":[{"name":"srcPtr_1","nodeType":"YulIdentifier","src":"8054:8:9"}]}]},"condition":{"arguments":[{"name":"i_1","nodeType":"YulIdentifier","src":"7903:3:9"},{"kind":"number","nodeType":"YulLiteral","src":"7908:4:9","type":"","value":"0x03"}],"functionName":{"name":"lt","nodeType":"YulIdentifier","src":"7900:2:9"},"nodeType":"YulFunctionCall","src":"7900:13:9"},"nodeType":"YulForLoop","post":{"nodeType":"YulBlock","src":"7914:22:9","statements":[{"nodeType":"YulAssignment","src":"7916:18:9","value":{"arguments":[{"name":"i_1","nodeType":"YulIdentifier","src":"7927:3:9"},{"kind":"number","nodeType":"YulLiteral","src":"7932:1:9","type":"","value":"1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"7923:3:9"},"nodeType":"YulFunctionCall","src":"7923:11:9"},"variableNames":[{"name":"i_1","nodeType":"YulIdentifier","src":"7916:3:9"}]}]},"pre":{"nodeType":"YulBlock","src":"7896:3:9","statements":[]},"src":"7892:201:9"}]},"name":"abi_encode_tuple_t_struct$_TokenConfig_$731_memory_ptr__to_t_struct$_TokenConfig_$731_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"7177:9:9","type":""},{"name":"value0","nodeType":"YulTypedName","src":"7188:6:9","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"7199:4:9","type":""}],"src":"7051:1048:9"},{"body":{"nodeType":"YulBlock","src":"8278:167:9","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8295:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"8306:2:9","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"8288:6:9"},"nodeType":"YulFunctionCall","src":"8288:21:9"},"nodeType":"YulExpressionStatement","src":"8288:21:9"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8329:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"8340:2:9","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8325:3:9"},"nodeType":"YulFunctionCall","src":"8325:18:9"},{"kind":"number","nodeType":"YulLiteral","src":"8345:2:9","type":"","value":"17"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"8318:6:9"},"nodeType":"YulFunctionCall","src":"8318:30:9"},"nodeType":"YulExpressionStatement","src":"8318:30:9"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8368:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"8379:2:9","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8364:3:9"},"nodeType":"YulFunctionCall","src":"8364:18:9"},{"hexValue":"6c656e6774682063616e27742062652030","kind":"string","nodeType":"YulLiteral","src":"8384:19:9","type":"","value":"length can't be 0"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"8357:6:9"},"nodeType":"YulFunctionCall","src":"8357:47:9"},"nodeType":"YulExpressionStatement","src":"8357:47:9"},{"nodeType":"YulAssignment","src":"8413:26:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"8425:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"8436:2:9","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8421:3:9"},"nodeType":"YulFunctionCall","src":"8421:18:9"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"8413:4:9"}]}]},"name":"abi_encode_tuple_t_stringliteral_2bcde6d36e25ff80edf1e7b323425b7fef87f9e0a4cccb1475b35b230048c1ed__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"8255:9:9","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"8269:4:9","type":""}],"src":"8104:341:9"},{"body":{"nodeType":"YulBlock","src":"8482:95:9","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"8499:1:9","type":"","value":"0"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"8506:3:9","type":"","value":"224"},{"kind":"number","nodeType":"YulLiteral","src":"8511:10:9","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"8502:3:9"},"nodeType":"YulFunctionCall","src":"8502:20:9"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"8492:6:9"},"nodeType":"YulFunctionCall","src":"8492:31:9"},"nodeType":"YulExpressionStatement","src":"8492:31:9"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"8539:1:9","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"8542:4:9","type":"","value":"0x32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"8532:6:9"},"nodeType":"YulFunctionCall","src":"8532:15:9"},"nodeType":"YulExpressionStatement","src":"8532:15:9"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"8563:1:9","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"8566:4:9","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"8556:6:9"},"nodeType":"YulFunctionCall","src":"8556:15:9"},"nodeType":"YulExpressionStatement","src":"8556:15:9"}]},"name":"panic_error_0x32","nodeType":"YulFunctionDefinition","src":"8450:127:9"},{"body":{"nodeType":"YulBlock","src":"8629:185:9","statements":[{"body":{"nodeType":"YulBlock","src":"8668:111:9","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"8689:1:9","type":"","value":"0"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"8696:3:9","type":"","value":"224"},{"kind":"number","nodeType":"YulLiteral","src":"8701:10:9","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"8692:3:9"},"nodeType":"YulFunctionCall","src":"8692:20:9"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"8682:6:9"},"nodeType":"YulFunctionCall","src":"8682:31:9"},"nodeType":"YulExpressionStatement","src":"8682:31:9"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"8733:1:9","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"8736:4:9","type":"","value":"0x11"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"8726:6:9"},"nodeType":"YulFunctionCall","src":"8726:15:9"},"nodeType":"YulExpressionStatement","src":"8726:15:9"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"8761:1:9","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"8764:4:9","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"8754:6:9"},"nodeType":"YulFunctionCall","src":"8754:15:9"},"nodeType":"YulExpressionStatement","src":"8754:15:9"}]},"condition":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"8645:5:9"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"8656:1:9","type":"","value":"0"}],"functionName":{"name":"not","nodeType":"YulIdentifier","src":"8652:3:9"},"nodeType":"YulFunctionCall","src":"8652:6:9"}],"functionName":{"name":"eq","nodeType":"YulIdentifier","src":"8642:2:9"},"nodeType":"YulFunctionCall","src":"8642:17:9"},"nodeType":"YulIf","src":"8639:140:9"},{"nodeType":"YulAssignment","src":"8788:20:9","value":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"8799:5:9"},{"kind":"number","nodeType":"YulLiteral","src":"8806:1:9","type":"","value":"1"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"8795:3:9"},"nodeType":"YulFunctionCall","src":"8795:13:9"},"variableNames":[{"name":"ret","nodeType":"YulIdentifier","src":"8788:3:9"}]}]},"name":"increment_t_uint256","nodeType":"YulFunctionDefinition","parameters":[{"name":"value","nodeType":"YulTypedName","src":"8611:5:9","type":""}],"returnVariables":[{"name":"ret","nodeType":"YulTypedName","src":"8621:3:9","type":""}],"src":"8582:232:9"},{"body":{"nodeType":"YulBlock","src":"8993:171:9","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9010:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"9021:2:9","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"9003:6:9"},"nodeType":"YulFunctionCall","src":"9003:21:9"},"nodeType":"YulExpressionStatement","src":"9003:21:9"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9044:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"9055:2:9","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9040:3:9"},"nodeType":"YulFunctionCall","src":"9040:18:9"},{"kind":"number","nodeType":"YulLiteral","src":"9060:2:9","type":"","value":"21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"9033:6:9"},"nodeType":"YulFunctionCall","src":"9033:30:9"},"nodeType":"YulExpressionStatement","src":"9033:30:9"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9083:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"9094:2:9","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9079:3:9"},"nodeType":"YulFunctionCall","src":"9079:18:9"},{"hexValue":"63616e2774206265207a65726f2061646472657373","kind":"string","nodeType":"YulLiteral","src":"9099:23:9","type":"","value":"can't be zero address"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"9072:6:9"},"nodeType":"YulFunctionCall","src":"9072:51:9"},"nodeType":"YulExpressionStatement","src":"9072:51:9"},{"nodeType":"YulAssignment","src":"9132:26:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9144:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"9155:2:9","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9140:3:9"},"nodeType":"YulFunctionCall","src":"9140:18:9"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"9132:4:9"}]}]},"name":"abi_encode_tuple_t_stringliteral_4793c2d6e615a200d995dd9ad0db45f00df0789bc148a42df7526d2509d0f296__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"8970:9:9","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"8984:4:9","type":""}],"src":"8819:345:9"},{"body":{"nodeType":"YulBlock","src":"9201:95:9","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"9218:1:9","type":"","value":"0"},{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"9225:3:9","type":"","value":"224"},{"kind":"number","nodeType":"YulLiteral","src":"9230:10:9","type":"","value":"0x4e487b71"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"9221:3:9"},"nodeType":"YulFunctionCall","src":"9221:20:9"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"9211:6:9"},"nodeType":"YulFunctionCall","src":"9211:31:9"},"nodeType":"YulExpressionStatement","src":"9211:31:9"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"9258:1:9","type":"","value":"4"},{"kind":"number","nodeType":"YulLiteral","src":"9261:4:9","type":"","value":"0x21"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"9251:6:9"},"nodeType":"YulFunctionCall","src":"9251:15:9"},"nodeType":"YulExpressionStatement","src":"9251:15:9"},{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"9282:1:9","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"9285:4:9","type":"","value":"0x24"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"9275:6:9"},"nodeType":"YulFunctionCall","src":"9275:15:9"},"nodeType":"YulExpressionStatement","src":"9275:15:9"}]},"name":"panic_error_0x21","nodeType":"YulFunctionDefinition","src":"9169:127:9"},{"body":{"nodeType":"YulBlock","src":"9475:173:9","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9492:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"9503:2:9","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"9485:6:9"},"nodeType":"YulFunctionCall","src":"9485:21:9"},"nodeType":"YulExpressionStatement","src":"9485:21:9"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9526:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"9537:2:9","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9522:3:9"},"nodeType":"YulFunctionCall","src":"9522:18:9"},{"kind":"number","nodeType":"YulLiteral","src":"9542:2:9","type":"","value":"23"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"9515:6:9"},"nodeType":"YulFunctionCall","src":"9515:30:9"},"nodeType":"YulExpressionStatement","src":"9515:30:9"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9565:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"9576:2:9","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9561:3:9"},"nodeType":"YulFunctionCall","src":"9561:18:9"},{"hexValue":"746f6b656e20636f6e666967206d757374206578697374","kind":"string","nodeType":"YulLiteral","src":"9581:25:9","type":"","value":"token config must exist"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"9554:6:9"},"nodeType":"YulFunctionCall","src":"9554:53:9"},"nodeType":"YulExpressionStatement","src":"9554:53:9"},{"nodeType":"YulAssignment","src":"9616:26:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9628:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"9639:2:9","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"9624:3:9"},"nodeType":"YulFunctionCall","src":"9624:18:9"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"9616:4:9"}]}]},"name":"abi_encode_tuple_t_stringliteral_649a0ba5df30129af38854c5145b90047eb942e20a1b0378189629f4b3edaf67__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"9452:9:9","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"9466:4:9","type":""}],"src":"9301:347:9"},{"body":{"nodeType":"YulBlock","src":"9734:170:9","statements":[{"body":{"nodeType":"YulBlock","src":"9780:16:9","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"9789:1:9","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"9792:1:9","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"9782:6:9"},"nodeType":"YulFunctionCall","src":"9782:12:9"},"nodeType":"YulExpressionStatement","src":"9782:12:9"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"9755:7:9"},{"name":"headStart","nodeType":"YulIdentifier","src":"9764:9:9"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"9751:3:9"},"nodeType":"YulFunctionCall","src":"9751:23:9"},{"kind":"number","nodeType":"YulLiteral","src":"9776:2:9","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"9747:3:9"},"nodeType":"YulFunctionCall","src":"9747:32:9"},"nodeType":"YulIf","src":"9744:52:9"},{"nodeType":"YulVariableDeclaration","src":"9805:29:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"9824:9:9"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"9818:5:9"},"nodeType":"YulFunctionCall","src":"9818:16:9"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"9809:5:9","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"9868:5:9"}],"functionName":{"name":"validator_revert_address","nodeType":"YulIdentifier","src":"9843:24:9"},"nodeType":"YulFunctionCall","src":"9843:31:9"},"nodeType":"YulExpressionStatement","src":"9843:31:9"},{"nodeType":"YulAssignment","src":"9883:15:9","value":{"name":"value","nodeType":"YulIdentifier","src":"9893:5:9"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"9883:6:9"}]}]},"name":"abi_decode_tuple_t_address_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"9700:9:9","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"9711:7:9","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"9723:6:9","type":""}],"src":"9653:251:9"},{"body":{"nodeType":"YulBlock","src":"9990:103:9","statements":[{"body":{"nodeType":"YulBlock","src":"10036:16:9","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"10045:1:9","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"10048:1:9","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"10038:6:9"},"nodeType":"YulFunctionCall","src":"10038:12:9"},"nodeType":"YulExpressionStatement","src":"10038:12:9"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"10011:7:9"},{"name":"headStart","nodeType":"YulIdentifier","src":"10020:9:9"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"10007:3:9"},"nodeType":"YulFunctionCall","src":"10007:23:9"},{"kind":"number","nodeType":"YulLiteral","src":"10032:2:9","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"10003:3:9"},"nodeType":"YulFunctionCall","src":"10003:32:9"},"nodeType":"YulIf","src":"10000:52:9"},{"nodeType":"YulAssignment","src":"10061:26:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10077:9:9"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"10071:5:9"},"nodeType":"YulFunctionCall","src":"10071:16:9"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"10061:6:9"}]}]},"name":"abi_decode_tuple_t_uint256_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"9956:9:9","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"9967:7:9","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"9979:6:9","type":""}],"src":"9909:184:9"},{"body":{"nodeType":"YulBlock","src":"10272:227:9","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10289:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"10300:2:9","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"10282:6:9"},"nodeType":"YulFunctionCall","src":"10282:21:9"},"nodeType":"YulExpressionStatement","src":"10282:21:9"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10323:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"10334:2:9","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10319:3:9"},"nodeType":"YulFunctionCall","src":"10319:18:9"},{"kind":"number","nodeType":"YulLiteral","src":"10339:2:9","type":"","value":"37"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"10312:6:9"},"nodeType":"YulFunctionCall","src":"10312:30:9"},"nodeType":"YulExpressionStatement","src":"10312:30:9"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10362:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"10373:2:9","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10358:3:9"},"nodeType":"YulFunctionCall","src":"10358:18:9"},{"hexValue":"63616e277420736574207a65726f206164647265737320746f206d61696e206f","kind":"string","nodeType":"YulLiteral","src":"10378:34:9","type":"","value":"can't set zero address to main o"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"10351:6:9"},"nodeType":"YulFunctionCall","src":"10351:62:9"},"nodeType":"YulExpressionStatement","src":"10351:62:9"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10433:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"10444:2:9","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10429:3:9"},"nodeType":"YulFunctionCall","src":"10429:18:9"},{"hexValue":"7261636c65","kind":"string","nodeType":"YulLiteral","src":"10449:7:9","type":"","value":"racle"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"10422:6:9"},"nodeType":"YulFunctionCall","src":"10422:35:9"},"nodeType":"YulExpressionStatement","src":"10422:35:9"},{"nodeType":"YulAssignment","src":"10466:27:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10478:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"10489:3:9","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10474:3:9"},"nodeType":"YulFunctionCall","src":"10474:19:9"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"10466:4:9"}]}]},"name":"abi_encode_tuple_t_stringliteral_2bd7f3e324856b3efda8ceaed8290812766704969ef515d198dcc42765e37ae1__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"10249:9:9","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"10263:4:9","type":""}],"src":"10098:401:9"},{"body":{"nodeType":"YulBlock","src":"10678:236:9","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10695:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"10706:2:9","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"10688:6:9"},"nodeType":"YulFunctionCall","src":"10688:21:9"},"nodeType":"YulExpressionStatement","src":"10688:21:9"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10729:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"10740:2:9","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10725:3:9"},"nodeType":"YulFunctionCall","src":"10725:18:9"},{"kind":"number","nodeType":"YulLiteral","src":"10745:2:9","type":"","value":"46"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"10718:6:9"},"nodeType":"YulFunctionCall","src":"10718:30:9"},"nodeType":"YulExpressionStatement","src":"10718:30:9"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10768:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"10779:2:9","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10764:3:9"},"nodeType":"YulFunctionCall","src":"10764:18:9"},{"hexValue":"496e697469616c697a61626c653a20636f6e747261637420697320616c726561","kind":"string","nodeType":"YulLiteral","src":"10784:34:9","type":"","value":"Initializable: contract is alrea"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"10757:6:9"},"nodeType":"YulFunctionCall","src":"10757:62:9"},"nodeType":"YulExpressionStatement","src":"10757:62:9"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10839:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"10850:2:9","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10835:3:9"},"nodeType":"YulFunctionCall","src":"10835:18:9"},{"hexValue":"647920696e697469616c697a6564","kind":"string","nodeType":"YulLiteral","src":"10855:16:9","type":"","value":"dy initialized"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"10828:6:9"},"nodeType":"YulFunctionCall","src":"10828:44:9"},"nodeType":"YulExpressionStatement","src":"10828:44:9"},{"nodeType":"YulAssignment","src":"10881:27:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"10893:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"10904:3:9","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"10889:3:9"},"nodeType":"YulFunctionCall","src":"10889:19:9"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"10881:4:9"}]}]},"name":"abi_encode_tuple_t_stringliteral_7a2a4e26842155ea933fe6eb6e3137eb5a296dcdf55721c552be7b4c3cc23759__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"10655:9:9","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"10669:4:9","type":""}],"src":"10504:410:9"},{"body":{"nodeType":"YulBlock","src":"11093:182:9","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11110:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"11121:2:9","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"11103:6:9"},"nodeType":"YulFunctionCall","src":"11103:21:9"},"nodeType":"YulExpressionStatement","src":"11103:21:9"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11144:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"11155:2:9","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"11140:3:9"},"nodeType":"YulFunctionCall","src":"11140:18:9"},{"kind":"number","nodeType":"YulLiteral","src":"11160:2:9","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"11133:6:9"},"nodeType":"YulFunctionCall","src":"11133:30:9"},"nodeType":"YulExpressionStatement","src":"11133:30:9"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11183:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"11194:2:9","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"11179:3:9"},"nodeType":"YulFunctionCall","src":"11179:18:9"},{"hexValue":"696e76616c69756420626f756e642076616c696461746f722061646472657373","kind":"string","nodeType":"YulLiteral","src":"11199:34:9","type":"","value":"invaliud bound validator address"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"11172:6:9"},"nodeType":"YulFunctionCall","src":"11172:62:9"},"nodeType":"YulExpressionStatement","src":"11172:62:9"},{"nodeType":"YulAssignment","src":"11243:26:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11255:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"11266:2:9","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"11251:3:9"},"nodeType":"YulFunctionCall","src":"11251:18:9"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"11243:4:9"}]}]},"name":"abi_encode_tuple_t_stringliteral_5cff57de2c01f1bd106f9cb3aecf8d0cf734f0622f1b2fae35f690c4737c3143__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"11070:9:9","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"11084:4:9","type":""}],"src":"10919:356:9"},{"body":{"nodeType":"YulBlock","src":"11387:87:9","statements":[{"nodeType":"YulAssignment","src":"11397:26:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11409:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"11420:2:9","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"11405:3:9"},"nodeType":"YulFunctionCall","src":"11405:18:9"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"11397:4:9"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11439:9:9"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"11454:6:9"},{"kind":"number","nodeType":"YulLiteral","src":"11462:4:9","type":"","value":"0xff"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"11450:3:9"},"nodeType":"YulFunctionCall","src":"11450:17:9"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"11432:6:9"},"nodeType":"YulFunctionCall","src":"11432:36:9"},"nodeType":"YulExpressionStatement","src":"11432:36:9"}]},"name":"abi_encode_tuple_t_rational_1_by_1__to_t_uint8__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"11356:9:9","type":""},{"name":"value0","nodeType":"YulTypedName","src":"11367:6:9","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"11378:4:9","type":""}],"src":"11280:194:9"},{"body":{"nodeType":"YulBlock","src":"11653:228:9","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11670:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"11681:2:9","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"11663:6:9"},"nodeType":"YulFunctionCall","src":"11663:21:9"},"nodeType":"YulExpressionStatement","src":"11663:21:9"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11704:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"11715:2:9","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"11700:3:9"},"nodeType":"YulFunctionCall","src":"11700:18:9"},{"kind":"number","nodeType":"YulLiteral","src":"11720:2:9","type":"","value":"38"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"11693:6:9"},"nodeType":"YulFunctionCall","src":"11693:30:9"},"nodeType":"YulExpressionStatement","src":"11693:30:9"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11743:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"11754:2:9","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"11739:3:9"},"nodeType":"YulFunctionCall","src":"11739:18:9"},{"hexValue":"4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061","kind":"string","nodeType":"YulLiteral","src":"11759:34:9","type":"","value":"Ownable: new owner is the zero a"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"11732:6:9"},"nodeType":"YulFunctionCall","src":"11732:62:9"},"nodeType":"YulExpressionStatement","src":"11732:62:9"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11814:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"11825:2:9","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"11810:3:9"},"nodeType":"YulFunctionCall","src":"11810:18:9"},{"hexValue":"646472657373","kind":"string","nodeType":"YulLiteral","src":"11830:8:9","type":"","value":"ddress"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"11803:6:9"},"nodeType":"YulFunctionCall","src":"11803:36:9"},"nodeType":"YulExpressionStatement","src":"11803:36:9"},{"nodeType":"YulAssignment","src":"11848:27:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"11860:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"11871:3:9","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"11856:3:9"},"nodeType":"YulFunctionCall","src":"11856:19:9"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"11848:4:9"}]}]},"name":"abi_encode_tuple_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"11630:9:9","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"11644:4:9","type":""}],"src":"11479:402:9"},{"body":{"nodeType":"YulBlock","src":"12060:176:9","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12077:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"12088:2:9","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"12070:6:9"},"nodeType":"YulFunctionCall","src":"12070:21:9"},"nodeType":"YulExpressionStatement","src":"12070:21:9"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12111:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"12122:2:9","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"12107:3:9"},"nodeType":"YulFunctionCall","src":"12107:18:9"},{"kind":"number","nodeType":"YulLiteral","src":"12127:2:9","type":"","value":"26"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"12100:6:9"},"nodeType":"YulFunctionCall","src":"12100:30:9"},"nodeType":"YulExpressionStatement","src":"12100:30:9"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12150:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"12161:2:9","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"12146:3:9"},"nodeType":"YulFunctionCall","src":"12146:18:9"},{"hexValue":"726573696c69656e74206f7261636c6520697320706175736564","kind":"string","nodeType":"YulLiteral","src":"12166:28:9","type":"","value":"resilient oracle is paused"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"12139:6:9"},"nodeType":"YulFunctionCall","src":"12139:56:9"},"nodeType":"YulExpressionStatement","src":"12139:56:9"},{"nodeType":"YulAssignment","src":"12204:26:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12216:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"12227:2:9","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"12212:3:9"},"nodeType":"YulFunctionCall","src":"12212:18:9"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"12204:4:9"}]}]},"name":"abi_encode_tuple_t_stringliteral_a96a5ab9a405164cd7206849fabc60771c50663034e032cee61ce87d40e776ee__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"12037:9:9","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"12051:4:9","type":""}],"src":"11886:350:9"},{"body":{"nodeType":"YulBlock","src":"12415:180:9","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12432:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"12443:2:9","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"12425:6:9"},"nodeType":"YulFunctionCall","src":"12425:21:9"},"nodeType":"YulExpressionStatement","src":"12425:21:9"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12466:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"12477:2:9","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"12462:3:9"},"nodeType":"YulFunctionCall","src":"12462:18:9"},{"kind":"number","nodeType":"YulLiteral","src":"12482:2:9","type":"","value":"30"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"12455:6:9"},"nodeType":"YulFunctionCall","src":"12455:30:9"},"nodeType":"YulExpressionStatement","src":"12455:30:9"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12505:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"12516:2:9","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"12501:3:9"},"nodeType":"YulFunctionCall","src":"12501:18:9"},{"hexValue":"696e76616c696420726573696c69656e74206f7261636c65207072696365","kind":"string","nodeType":"YulLiteral","src":"12521:32:9","type":"","value":"invalid resilient oracle price"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"12494:6:9"},"nodeType":"YulFunctionCall","src":"12494:60:9"},"nodeType":"YulExpressionStatement","src":"12494:60:9"},{"nodeType":"YulAssignment","src":"12563:26:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12575:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"12586:2:9","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"12571:3:9"},"nodeType":"YulFunctionCall","src":"12571:18:9"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"12563:4:9"}]}]},"name":"abi_encode_tuple_t_stringliteral_599276927d57b3c895a99d3d2c96f953e4db80fc017144bddcab2e3187f5e277__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"12392:9:9","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"12406:4:9","type":""}],"src":"12241:354:9"},{"body":{"nodeType":"YulBlock","src":"12774:182:9","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12791:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"12802:2:9","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"12784:6:9"},"nodeType":"YulFunctionCall","src":"12784:21:9"},"nodeType":"YulExpressionStatement","src":"12784:21:9"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12825:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"12836:2:9","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"12821:3:9"},"nodeType":"YulFunctionCall","src":"12821:18:9"},{"kind":"number","nodeType":"YulLiteral","src":"12841:2:9","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"12814:6:9"},"nodeType":"YulFunctionCall","src":"12814:30:9"},"nodeType":"YulExpressionStatement","src":"12814:30:9"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12864:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"12875:2:9","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"12860:3:9"},"nodeType":"YulFunctionCall","src":"12860:18:9"},{"hexValue":"4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572","kind":"string","nodeType":"YulLiteral","src":"12880:34:9","type":"","value":"Ownable: caller is not the owner"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"12853:6:9"},"nodeType":"YulFunctionCall","src":"12853:62:9"},"nodeType":"YulExpressionStatement","src":"12853:62:9"},{"nodeType":"YulAssignment","src":"12924:26:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"12936:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"12947:2:9","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"12932:3:9"},"nodeType":"YulFunctionCall","src":"12932:18:9"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"12924:4:9"}]}]},"name":"abi_encode_tuple_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"12751:9:9","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"12765:4:9","type":""}],"src":"12600:356:9"},{"body":{"nodeType":"YulBlock","src":"13135:233:9","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"13152:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"13163:2:9","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13145:6:9"},"nodeType":"YulFunctionCall","src":"13145:21:9"},"nodeType":"YulExpressionStatement","src":"13145:21:9"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"13186:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"13197:2:9","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"13182:3:9"},"nodeType":"YulFunctionCall","src":"13182:18:9"},{"kind":"number","nodeType":"YulLiteral","src":"13202:2:9","type":"","value":"43"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13175:6:9"},"nodeType":"YulFunctionCall","src":"13175:30:9"},"nodeType":"YulExpressionStatement","src":"13175:30:9"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"13225:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"13236:2:9","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"13221:3:9"},"nodeType":"YulFunctionCall","src":"13221:18:9"},{"hexValue":"496e697469616c697a61626c653a20636f6e7472616374206973206e6f742069","kind":"string","nodeType":"YulLiteral","src":"13241:34:9","type":"","value":"Initializable: contract is not i"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13214:6:9"},"nodeType":"YulFunctionCall","src":"13214:62:9"},"nodeType":"YulExpressionStatement","src":"13214:62:9"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"13296:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"13307:2:9","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"13292:3:9"},"nodeType":"YulFunctionCall","src":"13292:18:9"},{"hexValue":"6e697469616c697a696e67","kind":"string","nodeType":"YulLiteral","src":"13312:13:9","type":"","value":"nitializing"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13285:6:9"},"nodeType":"YulFunctionCall","src":"13285:41:9"},"nodeType":"YulExpressionStatement","src":"13285:41:9"},{"nodeType":"YulAssignment","src":"13335:27:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"13347:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"13358:3:9","type":"","value":"128"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"13343:3:9"},"nodeType":"YulFunctionCall","src":"13343:19:9"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"13335:4:9"}]}]},"name":"abi_encode_tuple_t_stringliteral_d688db918bb9dd50354922faa108595679886fe9ff08046ad1ffe30aaea55f8b__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"13112:9:9","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"13126:4:9","type":""}],"src":"12961:407:9"},{"body":{"nodeType":"YulBlock","src":"13530:188:9","statements":[{"nodeType":"YulAssignment","src":"13540:26:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"13552:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"13563:2:9","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"13548:3:9"},"nodeType":"YulFunctionCall","src":"13548:18:9"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"13540:4:9"}]},{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"13582:9:9"},{"arguments":[{"name":"value0","nodeType":"YulIdentifier","src":"13597:6:9"},{"arguments":[{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"13613:3:9","type":"","value":"160"},{"kind":"number","nodeType":"YulLiteral","src":"13618:1:9","type":"","value":"1"}],"functionName":{"name":"shl","nodeType":"YulIdentifier","src":"13609:3:9"},"nodeType":"YulFunctionCall","src":"13609:11:9"},{"kind":"number","nodeType":"YulLiteral","src":"13622:1:9","type":"","value":"1"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"13605:3:9"},"nodeType":"YulFunctionCall","src":"13605:19:9"}],"functionName":{"name":"and","nodeType":"YulIdentifier","src":"13593:3:9"},"nodeType":"YulFunctionCall","src":"13593:32:9"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13575:6:9"},"nodeType":"YulFunctionCall","src":"13575:51:9"},"nodeType":"YulExpressionStatement","src":"13575:51:9"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"13646:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"13657:2:9","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"13642:3:9"},"nodeType":"YulFunctionCall","src":"13642:18:9"},{"name":"value1","nodeType":"YulIdentifier","src":"13662:6:9"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13635:6:9"},"nodeType":"YulFunctionCall","src":"13635:34:9"},"nodeType":"YulExpressionStatement","src":"13635:34:9"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"13689:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"13700:2:9","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"13685:3:9"},"nodeType":"YulFunctionCall","src":"13685:18:9"},{"name":"value2","nodeType":"YulIdentifier","src":"13705:6:9"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"13678:6:9"},"nodeType":"YulFunctionCall","src":"13678:34:9"},"nodeType":"YulExpressionStatement","src":"13678:34:9"}]},"name":"abi_encode_tuple_t_address_t_uint256_t_uint256__to_t_address_t_uint256_t_uint256__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"13483:9:9","type":""},{"name":"value2","nodeType":"YulTypedName","src":"13494:6:9","type":""},{"name":"value1","nodeType":"YulTypedName","src":"13502:6:9","type":""},{"name":"value0","nodeType":"YulTypedName","src":"13510:6:9","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"13521:4:9","type":""}],"src":"13373:345:9"},{"body":{"nodeType":"YulBlock","src":"13801:167:9","statements":[{"body":{"nodeType":"YulBlock","src":"13847:16:9","statements":[{"expression":{"arguments":[{"kind":"number","nodeType":"YulLiteral","src":"13856:1:9","type":"","value":"0"},{"kind":"number","nodeType":"YulLiteral","src":"13859:1:9","type":"","value":"0"}],"functionName":{"name":"revert","nodeType":"YulIdentifier","src":"13849:6:9"},"nodeType":"YulFunctionCall","src":"13849:12:9"},"nodeType":"YulExpressionStatement","src":"13849:12:9"}]},"condition":{"arguments":[{"arguments":[{"name":"dataEnd","nodeType":"YulIdentifier","src":"13822:7:9"},{"name":"headStart","nodeType":"YulIdentifier","src":"13831:9:9"}],"functionName":{"name":"sub","nodeType":"YulIdentifier","src":"13818:3:9"},"nodeType":"YulFunctionCall","src":"13818:23:9"},{"kind":"number","nodeType":"YulLiteral","src":"13843:2:9","type":"","value":"32"}],"functionName":{"name":"slt","nodeType":"YulIdentifier","src":"13814:3:9"},"nodeType":"YulFunctionCall","src":"13814:32:9"},"nodeType":"YulIf","src":"13811:52:9"},{"nodeType":"YulVariableDeclaration","src":"13872:29:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"13891:9:9"}],"functionName":{"name":"mload","nodeType":"YulIdentifier","src":"13885:5:9"},"nodeType":"YulFunctionCall","src":"13885:16:9"},"variables":[{"name":"value","nodeType":"YulTypedName","src":"13876:5:9","type":""}]},{"expression":{"arguments":[{"name":"value","nodeType":"YulIdentifier","src":"13932:5:9"}],"functionName":{"name":"validator_revert_bool","nodeType":"YulIdentifier","src":"13910:21:9"},"nodeType":"YulFunctionCall","src":"13910:28:9"},"nodeType":"YulExpressionStatement","src":"13910:28:9"},{"nodeType":"YulAssignment","src":"13947:15:9","value":{"name":"value","nodeType":"YulIdentifier","src":"13957:5:9"},"variableNames":[{"name":"value0","nodeType":"YulIdentifier","src":"13947:6:9"}]}]},"name":"abi_decode_tuple_t_bool_fromMemory","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"13767:9:9","type":""},{"name":"dataEnd","nodeType":"YulTypedName","src":"13778:7:9","type":""}],"returnVariables":[{"name":"value0","nodeType":"YulTypedName","src":"13790:6:9","type":""}],"src":"13723:245:9"},{"body":{"nodeType":"YulBlock","src":"14147:170:9","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"14164:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"14175:2:9","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"14157:6:9"},"nodeType":"YulFunctionCall","src":"14157:21:9"},"nodeType":"YulExpressionStatement","src":"14157:21:9"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"14198:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"14209:2:9","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"14194:3:9"},"nodeType":"YulFunctionCall","src":"14194:18:9"},{"kind":"number","nodeType":"YulLiteral","src":"14214:2:9","type":"","value":"20"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"14187:6:9"},"nodeType":"YulFunctionCall","src":"14187:30:9"},"nodeType":"YulExpressionStatement","src":"14187:30:9"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"14237:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"14248:2:9","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"14233:3:9"},"nodeType":"YulFunctionCall","src":"14233:18:9"},{"hexValue":"5061757361626c653a206e6f7420706175736564","kind":"string","nodeType":"YulLiteral","src":"14253:22:9","type":"","value":"Pausable: not paused"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"14226:6:9"},"nodeType":"YulFunctionCall","src":"14226:50:9"},"nodeType":"YulExpressionStatement","src":"14226:50:9"},{"nodeType":"YulAssignment","src":"14285:26:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"14297:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"14308:2:9","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"14293:3:9"},"nodeType":"YulFunctionCall","src":"14293:18:9"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"14285:4:9"}]}]},"name":"abi_encode_tuple_t_stringliteral_0d1d997348c4b502650619e51f7d09f80514d98b6993be5051d07f703984619a__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"14124:9:9","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"14138:4:9","type":""}],"src":"13973:344:9"},{"body":{"nodeType":"YulBlock","src":"14496:166:9","statements":[{"expression":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"14513:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"14524:2:9","type":"","value":"32"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"14506:6:9"},"nodeType":"YulFunctionCall","src":"14506:21:9"},"nodeType":"YulExpressionStatement","src":"14506:21:9"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"14547:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"14558:2:9","type":"","value":"32"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"14543:3:9"},"nodeType":"YulFunctionCall","src":"14543:18:9"},{"kind":"number","nodeType":"YulLiteral","src":"14563:2:9","type":"","value":"16"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"14536:6:9"},"nodeType":"YulFunctionCall","src":"14536:30:9"},"nodeType":"YulExpressionStatement","src":"14536:30:9"},{"expression":{"arguments":[{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"14586:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"14597:2:9","type":"","value":"64"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"14582:3:9"},"nodeType":"YulFunctionCall","src":"14582:18:9"},{"hexValue":"5061757361626c653a20706175736564","kind":"string","nodeType":"YulLiteral","src":"14602:18:9","type":"","value":"Pausable: paused"}],"functionName":{"name":"mstore","nodeType":"YulIdentifier","src":"14575:6:9"},"nodeType":"YulFunctionCall","src":"14575:46:9"},"nodeType":"YulExpressionStatement","src":"14575:46:9"},{"nodeType":"YulAssignment","src":"14630:26:9","value":{"arguments":[{"name":"headStart","nodeType":"YulIdentifier","src":"14642:9:9"},{"kind":"number","nodeType":"YulLiteral","src":"14653:2:9","type":"","value":"96"}],"functionName":{"name":"add","nodeType":"YulIdentifier","src":"14638:3:9"},"nodeType":"YulFunctionCall","src":"14638:18:9"},"variableNames":[{"name":"tail","nodeType":"YulIdentifier","src":"14630:4:9"}]}]},"name":"abi_encode_tuple_t_stringliteral_68571e1369f7a6dcdcd736cb0343b35a58ed0f64d245c2ed839c98d412744f8a__to_t_string_memory_ptr__fromStack_reversed","nodeType":"YulFunctionDefinition","parameters":[{"name":"headStart","nodeType":"YulTypedName","src":"14473:9:9","type":""}],"returnVariables":[{"name":"tail","nodeType":"YulTypedName","src":"14487:4:9","type":""}],"src":"14322:340:9"}]},"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 allocate_memory_2493() -> memPtr\n {\n memPtr := mload(64)\n let newFreePtr := add(memPtr, 0x60)\n if or(gt(newFreePtr, 0xffffffffffffffff), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n mstore(64, newFreePtr)\n }\n function allocate_memory_3564() -> memPtr\n {\n memPtr := mload(64)\n let newFreePtr := add(memPtr, 96)\n if or(gt(newFreePtr, 0xffffffffffffffff), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n mstore(64, newFreePtr)\n }\n function allocate_memory(size) -> memPtr\n {\n memPtr := mload(64)\n let newFreePtr := add(memPtr, and(add(size, 31), not(31)))\n if or(gt(newFreePtr, 0xffffffffffffffff), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n mstore(64, newFreePtr)\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 validator_revert_bool(value)\n {\n if iszero(eq(value, iszero(iszero(value)))) { revert(0, 0) }\n }\n function abi_decode_array_bool(offset, end) -> array\n {\n if iszero(slt(add(offset, 0x1f), end)) { revert(0, 0) }\n let dst := allocate_memory_3564()\n let dst_1 := dst\n let srcEnd := add(offset, 96)\n if gt(srcEnd, end) { revert(0, 0) }\n let src := offset\n for { } lt(src, srcEnd) { src := add(src, 0x20) }\n {\n let value := calldataload(src)\n validator_revert_bool(value)\n mstore(dst, value)\n dst := add(dst, 0x20)\n }\n array := dst_1\n }\n function abi_decode_struct_TokenConfig(headStart, end) -> value\n {\n if slt(sub(end, headStart), 0xe0) { revert(0, 0) }\n value := allocate_memory_2493()\n let value_1 := calldataload(headStart)\n validator_revert_address(value_1)\n mstore(value, value_1)\n let _1 := 32\n if iszero(slt(add(headStart, 63), end)) { revert(0, 0) }\n let dst := allocate_memory_3564()\n let dst_1 := dst\n let srcEnd := add(headStart, 128)\n if gt(srcEnd, end) { revert(0, 0) }\n let src := add(headStart, _1)\n for { } lt(src, srcEnd) { src := add(src, _1) }\n {\n let value_2 := calldataload(src)\n validator_revert_address(value_2)\n mstore(dst, value_2)\n dst := add(dst, _1)\n }\n mstore(add(value, _1), dst_1)\n mstore(add(value, 0x40), abi_decode_array_bool(srcEnd, end))\n }\n function abi_decode_tuple_t_array$_t_struct$_TokenConfig_$731_memory_ptr_$dyn_memory_ptr(headStart, dataEnd) -> value0\n {\n let _1 := 32\n if slt(sub(dataEnd, headStart), _1) { revert(0, 0) }\n let offset := calldataload(headStart)\n let _2 := 0xffffffffffffffff\n if gt(offset, _2) { revert(0, 0) }\n let _3 := add(headStart, offset)\n if iszero(slt(add(_3, 0x1f), dataEnd)) { revert(0, 0) }\n let _4 := calldataload(_3)\n if gt(_4, _2) { panic_error_0x41() }\n let dst := allocate_memory(add(shl(5, _4), _1))\n let dst_1 := dst\n mstore(dst, _4)\n dst := add(dst, _1)\n let _5 := 0xe0\n let srcEnd := add(add(_3, mul(_4, _5)), _1)\n if gt(srcEnd, dataEnd) { revert(0, 0) }\n let src := add(_3, _1)\n for { } lt(src, srcEnd) { src := add(src, _5) }\n {\n mstore(dst, abi_decode_struct_TokenConfig(src, dataEnd))\n dst := add(dst, _1)\n }\n value0 := dst_1\n }\n function abi_decode_tuple_t_struct$_TokenConfig_$731_memory_ptr(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 224) { revert(0, 0) }\n value0 := abi_decode_struct_TokenConfig(headStart, dataEnd)\n }\n function abi_encode_tuple_t_contract$_BoundValidatorInterface_$1647__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_enum_OracleRole(offset) -> value\n {\n value := calldataload(offset)\n if iszero(lt(value, 3)) { revert(0, 0) }\n }\n function abi_decode_tuple_t_addresst_enum$_OracleRole_$717t_bool(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 value1 := abi_decode_enum_OracleRole(add(headStart, 32))\n let value_1 := calldataload(add(headStart, 64))\n validator_revert_bool(value_1)\n value2 := value_1\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_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_tuple_t_addresst_enum$_OracleRole_$717(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 := abi_decode_enum_OracleRole(add(headStart, 32))\n }\n function abi_encode_tuple_t_address_t_bool__to_t_address_t_bool__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), iszero(iszero(value1)))\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_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_addresst_addresst_enum$_OracleRole_$717(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 := abi_decode_enum_OracleRole(add(headStart, 64))\n }\n function abi_decode_tuple_t_contract$_BoundValidatorInterface_$1647(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_encode_tuple_t_struct$_TokenConfig_$731_memory_ptr__to_t_struct$_TokenConfig_$731_memory_ptr__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 224)\n let _1 := sub(shl(160, 1), 1)\n mstore(headStart, and(mload(value0), _1))\n let _2 := 0x20\n let memberValue0 := mload(add(value0, _2))\n let pos := add(headStart, _2)\n pos := pos\n let srcPtr := memberValue0\n let i := 0\n for { } lt(i, 0x03) { i := add(i, 1) }\n {\n mstore(pos, and(mload(srcPtr), _1))\n pos := add(pos, _2)\n srcPtr := add(srcPtr, _2)\n }\n let memberValue0_1 := mload(add(value0, 0x40))\n let pos_1 := add(headStart, 0x80)\n pos_1 := pos_1\n let srcPtr_1 := memberValue0_1\n let i_1 := 0\n for { } lt(i_1, 0x03) { i_1 := add(i_1, 1) }\n {\n mstore(pos_1, iszero(iszero(mload(srcPtr_1))))\n pos_1 := add(pos_1, _2)\n srcPtr_1 := add(srcPtr_1, _2)\n }\n }\n function abi_encode_tuple_t_stringliteral_2bcde6d36e25ff80edf1e7b323425b7fef87f9e0a4cccb1475b35b230048c1ed__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 17)\n mstore(add(headStart, 64), \"length can't be 0\")\n tail := add(headStart, 96)\n }\n function panic_error_0x32()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x32)\n revert(0, 0x24)\n }\n function increment_t_uint256(value) -> ret\n {\n if eq(value, not(0))\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n ret := add(value, 1)\n }\n function abi_encode_tuple_t_stringliteral_4793c2d6e615a200d995dd9ad0db45f00df0789bc148a42df7526d2509d0f296__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 21)\n mstore(add(headStart, 64), \"can't be zero address\")\n tail := add(headStart, 96)\n }\n function panic_error_0x21()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x21)\n revert(0, 0x24)\n }\n function abi_encode_tuple_t_stringliteral_649a0ba5df30129af38854c5145b90047eb942e20a1b0378189629f4b3edaf67__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 23)\n mstore(add(headStart, 64), \"token config must exist\")\n tail := add(headStart, 96)\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_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_stringliteral_2bd7f3e324856b3efda8ceaed8290812766704969ef515d198dcc42765e37ae1__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), \"can't set zero address to main o\")\n mstore(add(headStart, 96), \"racle\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_7a2a4e26842155ea933fe6eb6e3137eb5a296dcdf55721c552be7b4c3cc23759__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 46)\n mstore(add(headStart, 64), \"Initializable: contract is alrea\")\n mstore(add(headStart, 96), \"dy initialized\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_5cff57de2c01f1bd106f9cb3aecf8d0cf734f0622f1b2fae35f690c4737c3143__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), \"invaliud bound validator address\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_rational_1_by_1__to_t_uint8__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, 0xff))\n }\n function abi_encode_tuple_t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe__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), \"Ownable: new owner is the zero a\")\n mstore(add(headStart, 96), \"ddress\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_stringliteral_a96a5ab9a405164cd7206849fabc60771c50663034e032cee61ce87d40e776ee__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 26)\n mstore(add(headStart, 64), \"resilient oracle is paused\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_599276927d57b3c895a99d3d2c96f953e4db80fc017144bddcab2e3187f5e277__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 30)\n mstore(add(headStart, 64), \"invalid resilient oracle price\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe__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), \"Ownable: caller is not the owner\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_d688db918bb9dd50354922faa108595679886fe9ff08046ad1ffe30aaea55f8b__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), \"Initializable: contract is not i\")\n mstore(add(headStart, 96), \"nitializing\")\n tail := add(headStart, 128)\n }\n function abi_encode_tuple_t_address_t_uint256_t_uint256__to_t_address_t_uint256_t_uint256__fromStack_reversed(headStart, value2, value1, value0) -> tail\n {\n tail := add(headStart, 96)\n mstore(headStart, and(value0, sub(shl(160, 1), 1)))\n mstore(add(headStart, 32), value1)\n mstore(add(headStart, 64), value2)\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_0d1d997348c4b502650619e51f7d09f80514d98b6993be5051d07f703984619a__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 20)\n mstore(add(headStart, 64), \"Pausable: not paused\")\n tail := add(headStart, 96)\n }\n function abi_encode_tuple_t_stringliteral_68571e1369f7a6dcdcd736cb0343b35a58ed0f64d245c2ed839c98d412744f8a__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 16)\n mstore(add(headStart, 64), \"Pausable: paused\")\n tail := add(headStart, 96)\n }\n}","id":9,"language":"Yul","name":"#utility.yul"}],"immutableReferences":{},"linkReferences":{},"object":"608060405234801561001057600080fd5b506004361061010b5760003560e01c80638456cb59116100a2578063a6b1344a11610071578063a6b1344a14610215578063c4d66de814610228578063cb67e3b11461023b578063f2fde38b1461025b578063fc57d4df1461026e57600080fd5b80638456cb59146101b75780638b855da4146101bf5780638da5cb5b146101f157806396e85ced1461020257600080fd5b80634b932b8f116100de5780634b932b8f146101705780634bf39cba146101835780635c975abb14610199578063715018a6146101af57600080fd5b80632cfa387114610110578063333a21b01461012557806333d33494146101385780633f4ba83a14610168575b600080fd5b61012361011e366004611781565b610281565b005b610123610133366004611831565b610317565b60975461014b906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b610123610433565b61012361017e366004611868565b610445565b61018b600081565b60405190815260200161015f565b60655460ff16604051901515815260200161015f565b610123610585565b610123610597565b6101d26101cd3660046118b1565b6105a7565b604080516001600160a01b03909316835290151560208301520161015f565b6033546001600160a01b031661014b565b6101236102103660046118e6565b6106b2565b610123610223366004611903565b61074f565b6101236102363660046118e6565b61091b565b61024e6102493660046118e6565b610aa5565b60405161015f919061194a565b6101236102693660046118e6565b610be0565b61018b61027c3660046118e6565b610c59565b610289610d25565b80516000036102d35760405162461bcd60e51b815260206004820152601160248201527006c656e6774682063616e2774206265203607c1b60448201526064015b60405180910390fd5b60005b8151811015610313576103018282815181106102f4576102f46119c5565b6020026020010151610317565b8061030b816119db565b9150506102d6565b5050565b61031f610d25565b80516001600160a01b0381166103475760405162461bcd60e51b81526004016102ca90611a02565b6020820151516001600160a01b0381166103735760405162461bcd60e51b81526004016102ca90611a02565b82516001600160a01b039081166000908152609860209081526040909120855181546001600160a01b03191693169290921782558401518491906103bd90600183019060036114b1565b5060408201516103d39060048301906003611509565b505050602083810151808201518151865160409384015193516001600160a01b039485168152928416949184169316917fa51ad01e2270c314a7b78f0c60fe66c723f2d06c121d63fcdce776e654878fc1910160405180910390a4505050565b61043b610d25565b610443610d7f565b565b61044d610d25565b826001600160a01b0381166104745760405162461bcd60e51b81526004016102ca90611a02565b6001600160a01b038085166000908152609860205260409020548591166104d75760405162461bcd60e51b81526020600482015260176024820152761d1bdad95b8818dbdb999a59c81b5d5cdd08195e1a5cdd604a1b60448201526064016102ca565b6001600160a01b0385166000908152609860205260409020839060040185600281111561050657610506611a31565b60038110610516576105166119c5565b602091828204019190066101000a81548160ff02191690831515021790555082151584600281111561054a5761054a611a31565b6040516001600160a01b038816907fcf3cad1ec87208efbde5d82a0557484a78d4182c3ad16926a5463bc1f7234b3d90600090a45050505050565b61058d610d25565b6104436000610dd1565b61059f610d25565b610443610e23565b6000806000846001600160a01b0316636f307dc36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060e9190611a47565b6001600160a01b038116600090815260986020526040902090915060010184600281111561063e5761063e611a31565b6003811061064e5761064e6119c5565b01546001600160a01b0382811660009081526098602052604090209116935060040184600281111561068257610682611a31565b60038110610692576106926119c5565b602091828204019190069054906101000a900460ff169150509250929050565b6000806106c08360016105a7565b90925090506001600160a01b038216158015906106da5750805b1561074a5760405163725068a560e01b81526001600160a01b03848116600483015283169063725068a5906024016020604051808303816000875af1925050508015610743575060408051601f3d908101601f1916820190925261074091810190611a64565b60015b1561074a57505b505050565b610757610d25565b826001600160a01b03811661077e5760405162461bcd60e51b81526004016102ca90611a02565b6001600160a01b038085166000908152609860205260409020548591166107e15760405162461bcd60e51b81526020600482015260176024820152761d1bdad95b8818dbdb999a59c81b5d5cdd08195e1a5cdd604a1b60448201526064016102ca565b6001600160a01b0384161580156108095750600083600281111561080757610807611a31565b145b156108645760405162461bcd60e51b815260206004820152602560248201527f63616e277420736574207a65726f206164647265737320746f206d61696e206f6044820152647261636c6560d81b60648201526084016102ca565b6001600160a01b0385166000908152609860205260409020849060010184600281111561089357610893611a31565b600381106108a3576108a36119c5565b0180546001600160a01b0319166001600160a01b03929092169190911790558260028111156108d4576108d4611a31565b846001600160a01b0316866001600160a01b03167fea681d3efb830ef032a9c29a7215b5ceeeb546250d2c463dbf87817aecda1bf160405160405180910390a45050505050565b600054610100900460ff161580801561093b5750600054600160ff909116105b806109555750303b158015610955575060005460ff166001145b6109b85760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016102ca565b6000805460ff1916600117905580156109db576000805461ff0019166101001790555b6001600160a01b038216610a315760405162461bcd60e51b815260206004820181905260248201527f696e76616c69756420626f756e642076616c696461746f72206164647265737360448201526064016102ca565b609780546001600160a01b0319166001600160a01b038416179055610a54610e60565b610a5c610e8f565b8015610313576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b610aad611596565b6000826001600160a01b0316636f307dc36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610aed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b119190611a47565b6001600160a01b03818116600090815260986020908152604091829020825160608082018552825490951681528351948501938490529495509290840191600184019060039082845b81546001600160a01b03168152600190910190602001808311610b5a575050509183525050604080516060810191829052602090920191906004840190600390826000855b825461010083900a900460ff161515815260206001928301818104948501949093039092029101808411610b9f579050505050505081525050915050919050565b610be8610d25565b6001600160a01b038116610c4d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102ca565b610c5681610dd1565b50565b6000610c6760655460ff1690565b15610cb45760405162461bcd60e51b815260206004820152601a60248201527f726573696c69656e74206f7261636c652069732070617573656400000000000060448201526064016102ca565b6000610cbf83610ebe565b905080610cd257610ccf83611093565b90505b80610d1f5760405162461bcd60e51b815260206004820152601e60248201527f696e76616c696420726573696c69656e74206f7261636c65207072696365000060448201526064016102ca565b92915050565b6033546001600160a01b031633146104435760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102ca565b610d876113bf565b6065805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610e2b611408565b6065805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610db43390565b600054610100900460ff16610e875760405162461bcd60e51b81526004016102ca90611a7d565b61044361144e565b600054610100900460ff16610eb65760405162461bcd60e51b81526004016102ca90611a7d565b61044361147e565b6000808080610ecd85826105a7565b91509150808015610ee657506001600160a01b03821615155b1561108a5760405163fc57d4df60e01b81526001600160a01b03868116600483015283169063fc57d4df90602401602060405180830381865afa925050508015610f4d575060408051601f3d908101601f19168201909252610f4a91810190611a64565b60015b1561108a57809350600080610f638860016105a7565b91509150808015610f7c57506001600160a01b03821615155b156110865760405163fc57d4df60e01b81526001600160a01b03898116600483015283169063fc57d4df90602401602060405180830381865afa925050508015610fe3575060408051601f3d908101601f19168201909252610fe091810190611a64565b60015b1561108657801561108457609754604051634be3819f60e11b81526001600160a01b038b81166004830152602482018a90526044820184905260009216906397c7033e90606401602060405180830381865afa158015611047573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106b9190611ac8565b905080611082575060009998505050505050505050565b505b505b5050505b50909392505050565b6000808080806110a48660026105a7565b915091508080156110bd57506001600160a01b03821615155b156112705760405163fc57d4df60e01b81526001600160a01b03878116600483015283169063fc57d4df90602401602060405180830381865afa925050508015611124575060408051601f3d908101601f1916820190925261112191810190611a64565b60015b156112705780945060008061113a8960016105a7565b9150915080801561115357506001600160a01b03821615155b156112675760405163fc57d4df60e01b81526001600160a01b038a8116600483015283169063fc57d4df90602401602060405180830381865afa9250505080156111ba575060408051601f3d908101601f191682019092526111b791810190611a64565b60015b6111c7576001955061126c565b801561125c57609754604051634be3819f60e11b81526001600160a01b038c81166004830152602482018b90526044820184905260009216906397c7033e90606401602060405180830381865afa158015611226573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061124a9190611ac8565b90508061125657600197505b50611261565b600196505b5061126c565b600195505b5050505b82156113b5576000806112848860006105a7565b9150915080801561129d57506001600160a01b03821615155b156113ad5760405163fc57d4df60e01b81526001600160a01b03898116600483015283169063fc57d4df90602401602060405180830381865afa925050508015611304575060408051601f3d908101601f1916820190925261130191810190611a64565b60015b61131157600095506113b2565b609754604051634be3819f60e11b81526001600160a01b038b81166004830152602482018a90526044820184905260009216906397c7033e90606401602060405180830381865afa15801561136a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138e9190611ac8565b9050806113a5575060009998505050505050505050565b5095506113b2565b600095505b50505b5091949350505050565b60655460ff166104435760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016102ca565b60655460ff16156104435760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016102ca565b600054610100900460ff166114755760405162461bcd60e51b81526004016102ca90611a7d565b61044333610dd1565b600054610100900460ff166114a55760405162461bcd60e51b81526004016102ca90611a7d565b6065805460ff19169055565b82600381019282156114f9579160200282015b828111156114f957825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906114c4565b506115059291506115cb565b5090565b6001830191839082156114f95791602002820160005b8382111561155c57835183826101000a81548160ff021916908315150217905550926020019260010160208160000104928301926001030261151f565b80156115895782816101000a81549060ff021916905560010160208160000104928301926001030261155c565b50506115059291506115cb565b604051806060016040528060006001600160a01b031681526020016115b96115e0565b81526020016115c66115e0565b905290565b5b8082111561150557600081556001016115cc565b60405180606001604052806003906020820280368337509192915050565b634e487b7160e01b600052604160045260246000fd5b6040516060810167ffffffffffffffff81118282101715611637576116376115fe565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715611666576116666115fe565b604052919050565b6001600160a01b0381168114610c5657600080fd5b8015158114610c5657600080fd5b600082601f8301126116a257600080fd5b6116aa611614565b8060608401858111156116bc57600080fd5b845b818110156116df5780356116d181611683565b8452602093840193016116be565b509095945050505050565b600060e082840312156116fc57600080fd5b611704611614565b905081356117118161166e565b81526020603f8301841361172457600080fd5b61172c611614565b80608085018681111561173e57600080fd5b8386015b818110156117625780356117558161166e565b8452928401928401611742565b5081848601526117728782611691565b60408601525050505092915050565b6000602080838503121561179457600080fd5b823567ffffffffffffffff808211156117ac57600080fd5b818501915085601f8301126117c057600080fd5b8135818111156117d2576117d26115fe565b6117e0848260051b0161163d565b818152848101925060e09182028401850191888311156117ff57600080fd5b938501935b828510156118255761181689866116ea565b84529384019392850192611804565b50979650505050505050565b600060e0828403121561184357600080fd5b61184d83836116ea565b9392505050565b80356003811061186357600080fd5b919050565b60008060006060848603121561187d57600080fd5b83356118888161166e565b925061189660208501611854565b915060408401356118a681611683565b809150509250925092565b600080604083850312156118c457600080fd5b82356118cf8161166e565b91506118dd60208401611854565b90509250929050565b6000602082840312156118f857600080fd5b813561184d8161166e565b60008060006060848603121561191857600080fd5b83356119238161166e565b925060208401356119338161166e565b915061194160408501611854565b90509250925092565b81516001600160a01b03908116825260208084015160e0840192919081850160005b600381101561198b57825185168252918301919083019060010161196c565b505050604085015191506080840160005b60038110156119bb57835115158252928201929082019060010161199c565b5050505092915050565b634e487b7160e01b600052603260045260246000fd5b6000600182016119fb57634e487b7160e01b600052601160045260246000fd5b5060010190565b60208082526015908201527463616e2774206265207a65726f206164647265737360581b604082015260600190565b634e487b7160e01b600052602160045260246000fd5b600060208284031215611a5957600080fd5b815161184d8161166e565b600060208284031215611a7657600080fd5b5051919050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b600060208284031215611ada57600080fd5b815161184d8161168356fea26469706673582212209ebf42cfcd47cc15dd406a17cc9cce641b4591e19c5811aad70915dc353013b564736f6c634300080d0033","opcodes":"PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x10B JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x8456CB59 GT PUSH2 0xA2 JUMPI DUP1 PUSH4 0xA6B1344A GT PUSH2 0x71 JUMPI DUP1 PUSH4 0xA6B1344A EQ PUSH2 0x215 JUMPI DUP1 PUSH4 0xC4D66DE8 EQ PUSH2 0x228 JUMPI DUP1 PUSH4 0xCB67E3B1 EQ PUSH2 0x23B JUMPI DUP1 PUSH4 0xF2FDE38B EQ PUSH2 0x25B JUMPI DUP1 PUSH4 0xFC57D4DF EQ PUSH2 0x26E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x8456CB59 EQ PUSH2 0x1B7 JUMPI DUP1 PUSH4 0x8B855DA4 EQ PUSH2 0x1BF JUMPI DUP1 PUSH4 0x8DA5CB5B EQ PUSH2 0x1F1 JUMPI DUP1 PUSH4 0x96E85CED EQ PUSH2 0x202 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x4B932B8F GT PUSH2 0xDE JUMPI DUP1 PUSH4 0x4B932B8F EQ PUSH2 0x170 JUMPI DUP1 PUSH4 0x4BF39CBA EQ PUSH2 0x183 JUMPI DUP1 PUSH4 0x5C975ABB EQ PUSH2 0x199 JUMPI DUP1 PUSH4 0x715018A6 EQ PUSH2 0x1AF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 PUSH4 0x2CFA3871 EQ PUSH2 0x110 JUMPI DUP1 PUSH4 0x333A21B0 EQ PUSH2 0x125 JUMPI DUP1 PUSH4 0x33D33494 EQ PUSH2 0x138 JUMPI DUP1 PUSH4 0x3F4BA83A EQ PUSH2 0x168 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x123 PUSH2 0x11E CALLDATASIZE PUSH1 0x4 PUSH2 0x1781 JUMP JUMPDEST PUSH2 0x281 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x123 PUSH2 0x133 CALLDATASIZE PUSH1 0x4 PUSH2 0x1831 JUMP JUMPDEST PUSH2 0x317 JUMP JUMPDEST PUSH1 0x97 SLOAD PUSH2 0x14B SWAP1 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 JUMP 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 0x123 PUSH2 0x433 JUMP JUMPDEST PUSH2 0x123 PUSH2 0x17E CALLDATASIZE PUSH1 0x4 PUSH2 0x1868 JUMP JUMPDEST PUSH2 0x445 JUMP JUMPDEST PUSH2 0x18B PUSH1 0x0 DUP2 JUMP JUMPDEST PUSH1 0x40 MLOAD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x15F JUMP JUMPDEST PUSH1 0x65 SLOAD PUSH1 0xFF AND PUSH1 0x40 MLOAD SWAP1 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x15F JUMP JUMPDEST PUSH2 0x123 PUSH2 0x585 JUMP JUMPDEST PUSH2 0x123 PUSH2 0x597 JUMP JUMPDEST PUSH2 0x1D2 PUSH2 0x1CD CALLDATASIZE PUSH1 0x4 PUSH2 0x18B1 JUMP JUMPDEST PUSH2 0x5A7 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP4 AND DUP4 MSTORE SWAP1 ISZERO ISZERO PUSH1 0x20 DUP4 ADD MSTORE ADD PUSH2 0x15F JUMP JUMPDEST PUSH1 0x33 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH2 0x14B JUMP JUMPDEST PUSH2 0x123 PUSH2 0x210 CALLDATASIZE PUSH1 0x4 PUSH2 0x18E6 JUMP JUMPDEST PUSH2 0x6B2 JUMP JUMPDEST PUSH2 0x123 PUSH2 0x223 CALLDATASIZE PUSH1 0x4 PUSH2 0x1903 JUMP JUMPDEST PUSH2 0x74F JUMP JUMPDEST PUSH2 0x123 PUSH2 0x236 CALLDATASIZE PUSH1 0x4 PUSH2 0x18E6 JUMP JUMPDEST PUSH2 0x91B JUMP JUMPDEST PUSH2 0x24E PUSH2 0x249 CALLDATASIZE PUSH1 0x4 PUSH2 0x18E6 JUMP JUMPDEST PUSH2 0xAA5 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x15F SWAP2 SWAP1 PUSH2 0x194A JUMP JUMPDEST PUSH2 0x123 PUSH2 0x269 CALLDATASIZE PUSH1 0x4 PUSH2 0x18E6 JUMP JUMPDEST PUSH2 0xBE0 JUMP JUMPDEST PUSH2 0x18B PUSH2 0x27C CALLDATASIZE PUSH1 0x4 PUSH2 0x18E6 JUMP JUMPDEST PUSH2 0xC59 JUMP JUMPDEST PUSH2 0x289 PUSH2 0xD25 JUMP JUMPDEST DUP1 MLOAD PUSH1 0x0 SUB PUSH2 0x2D3 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x11 PUSH1 0x24 DUP3 ADD MSTORE PUSH17 0x6C656E6774682063616E2774206265203 PUSH1 0x7C SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 JUMPDEST DUP2 MLOAD DUP2 LT ISZERO PUSH2 0x313 JUMPI PUSH2 0x301 DUP3 DUP3 DUP2 MLOAD DUP2 LT PUSH2 0x2F4 JUMPI PUSH2 0x2F4 PUSH2 0x19C5 JUMP JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD PUSH2 0x317 JUMP JUMPDEST DUP1 PUSH2 0x30B DUP2 PUSH2 0x19DB JUMP JUMPDEST SWAP2 POP POP PUSH2 0x2D6 JUMP JUMPDEST POP POP JUMP JUMPDEST PUSH2 0x31F PUSH2 0xD25 JUMP JUMPDEST DUP1 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0x347 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x2CA SWAP1 PUSH2 0x1A02 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD MLOAD MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0x373 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x2CA SWAP1 PUSH2 0x1A02 JUMP JUMPDEST DUP3 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x98 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP1 SWAP2 KECCAK256 DUP6 MLOAD DUP2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND SWAP4 AND SWAP3 SWAP1 SWAP3 OR DUP3 SSTORE DUP5 ADD MLOAD DUP5 SWAP2 SWAP1 PUSH2 0x3BD SWAP1 PUSH1 0x1 DUP4 ADD SWAP1 PUSH1 0x3 PUSH2 0x14B1 JUMP JUMPDEST POP PUSH1 0x40 DUP3 ADD MLOAD PUSH2 0x3D3 SWAP1 PUSH1 0x4 DUP4 ADD SWAP1 PUSH1 0x3 PUSH2 0x1509 JUMP JUMPDEST POP POP POP PUSH1 0x20 DUP4 DUP2 ADD MLOAD DUP1 DUP3 ADD MLOAD DUP2 MLOAD DUP7 MLOAD PUSH1 0x40 SWAP4 DUP5 ADD MLOAD SWAP4 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP5 DUP6 AND DUP2 MSTORE SWAP3 DUP5 AND SWAP5 SWAP2 DUP5 AND SWAP4 AND SWAP2 PUSH32 0xA51AD01E2270C314A7B78F0C60FE66C723F2D06C121D63FCDCE776E654878FC1 SWAP2 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP POP JUMP JUMPDEST PUSH2 0x43B PUSH2 0xD25 JUMP JUMPDEST PUSH2 0x443 PUSH2 0xD7F JUMP JUMPDEST JUMP JUMPDEST PUSH2 0x44D PUSH2 0xD25 JUMP JUMPDEST DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0x474 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x2CA SWAP1 PUSH2 0x1A02 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x98 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP6 SWAP2 AND PUSH2 0x4D7 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x17 PUSH1 0x24 DUP3 ADD MSTORE PUSH23 0x1D1BDAD95B8818DBDB999A59C81B5D5CDD08195E1A5CDD PUSH1 0x4A SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2CA JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x98 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP4 SWAP1 PUSH1 0x4 ADD DUP6 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x506 JUMPI PUSH2 0x506 PUSH2 0x1A31 JUMP JUMPDEST PUSH1 0x3 DUP2 LT PUSH2 0x516 JUMPI PUSH2 0x516 PUSH2 0x19C5 JUMP JUMPDEST PUSH1 0x20 SWAP2 DUP3 DUP3 DIV ADD SWAP2 SWAP1 MOD PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 ISZERO ISZERO MUL OR SWAP1 SSTORE POP DUP3 ISZERO ISZERO DUP5 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x54A JUMPI PUSH2 0x54A PUSH2 0x1A31 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP9 AND SWAP1 PUSH32 0xCF3CAD1EC87208EFBDE5D82A0557484A78D4182C3AD16926A5463BC1F7234B3D SWAP1 PUSH1 0x0 SWAP1 LOG4 POP POP POP POP POP JUMP JUMPDEST PUSH2 0x58D PUSH2 0xD25 JUMP JUMPDEST PUSH2 0x443 PUSH1 0x0 PUSH2 0xDD1 JUMP JUMPDEST PUSH2 0x59F PUSH2 0xD25 JUMP JUMPDEST PUSH2 0x443 PUSH2 0xE23 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x6F307DC3 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 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x5EA 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 0x60E SWAP2 SWAP1 PUSH2 0x1A47 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x98 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SWAP1 SWAP2 POP PUSH1 0x1 ADD DUP5 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x63E JUMPI PUSH2 0x63E PUSH2 0x1A31 JUMP JUMPDEST PUSH1 0x3 DUP2 LT PUSH2 0x64E JUMPI PUSH2 0x64E PUSH2 0x19C5 JUMP JUMPDEST ADD SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x98 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SWAP2 AND SWAP4 POP PUSH1 0x4 ADD DUP5 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x682 JUMPI PUSH2 0x682 PUSH2 0x1A31 JUMP JUMPDEST PUSH1 0x3 DUP2 LT PUSH2 0x692 JUMPI PUSH2 0x692 PUSH2 0x19C5 JUMP JUMPDEST PUSH1 0x20 SWAP2 DUP3 DUP3 DIV ADD SWAP2 SWAP1 MOD SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND SWAP2 POP POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH2 0x6C0 DUP4 PUSH1 0x1 PUSH2 0x5A7 JUMP JUMPDEST SWAP1 SWAP3 POP SWAP1 POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND ISZERO DUP1 ISZERO SWAP1 PUSH2 0x6DA JUMPI POP DUP1 JUMPDEST ISZERO PUSH2 0x74A JUMPI PUSH1 0x40 MLOAD PUSH4 0x725068A5 PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE DUP4 AND SWAP1 PUSH4 0x725068A5 SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 GAS CALL SWAP3 POP POP POP DUP1 ISZERO PUSH2 0x743 JUMPI POP PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F RETURNDATASIZE SWAP1 DUP2 ADD PUSH1 0x1F NOT AND DUP3 ADD SWAP1 SWAP3 MSTORE PUSH2 0x740 SWAP2 DUP2 ADD SWAP1 PUSH2 0x1A64 JUMP JUMPDEST PUSH1 0x1 JUMPDEST ISZERO PUSH2 0x74A JUMPI POP JUMPDEST POP POP POP JUMP JUMPDEST PUSH2 0x757 PUSH2 0xD25 JUMP JUMPDEST DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0x77E JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x2CA SWAP1 PUSH2 0x1A02 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP1 DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x98 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 SLOAD DUP6 SWAP2 AND PUSH2 0x7E1 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x17 PUSH1 0x24 DUP3 ADD MSTORE PUSH23 0x1D1BDAD95B8818DBDB999A59C81B5D5CDD08195E1A5CDD PUSH1 0x4A SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2CA JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND ISZERO DUP1 ISZERO PUSH2 0x809 JUMPI POP PUSH1 0x0 DUP4 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x807 JUMPI PUSH2 0x807 PUSH2 0x1A31 JUMP JUMPDEST EQ JUMPDEST ISZERO PUSH2 0x864 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 0x63616E277420736574207A65726F206164647265737320746F206D61696E206F PUSH1 0x44 DUP3 ADD MSTORE PUSH5 0x7261636C65 PUSH1 0xD8 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x2CA JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP6 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x98 PUSH1 0x20 MSTORE PUSH1 0x40 SWAP1 KECCAK256 DUP5 SWAP1 PUSH1 0x1 ADD DUP5 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x893 JUMPI PUSH2 0x893 PUSH2 0x1A31 JUMP JUMPDEST PUSH1 0x3 DUP2 LT PUSH2 0x8A3 JUMPI PUSH2 0x8A3 PUSH2 0x19C5 JUMP JUMPDEST ADD 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 DUP3 PUSH1 0x2 DUP2 GT ISZERO PUSH2 0x8D4 JUMPI PUSH2 0x8D4 PUSH2 0x1A31 JUMP JUMPDEST DUP5 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP7 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH32 0xEA681D3EFB830EF032A9C29A7215B5CEEEB546250D2C463DBF87817AECDA1BF1 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG4 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0xFF AND ISZERO DUP1 DUP1 ISZERO PUSH2 0x93B JUMPI POP PUSH1 0x0 SLOAD PUSH1 0x1 PUSH1 0xFF SWAP1 SWAP2 AND LT JUMPDEST DUP1 PUSH2 0x955 JUMPI POP ADDRESS EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x955 JUMPI POP PUSH1 0x0 SLOAD PUSH1 0xFF AND PUSH1 0x1 EQ JUMPDEST PUSH2 0x9B8 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x2E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x496E697469616C697A61626C653A20636F6E747261637420697320616C726561 PUSH1 0x44 DUP3 ADD MSTORE PUSH14 0x191E481A5B9A5D1A585B1A5E9959 PUSH1 0x92 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x2CA JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE DUP1 ISZERO PUSH2 0x9DB JUMPI PUSH1 0x0 DUP1 SLOAD PUSH2 0xFF00 NOT AND PUSH2 0x100 OR SWAP1 SSTORE JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND PUSH2 0xA31 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 0x696E76616C69756420626F756E642076616C696461746F722061646472657373 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2CA JUMP JUMPDEST PUSH1 0x97 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP5 AND OR SWAP1 SSTORE PUSH2 0xA54 PUSH2 0xE60 JUMP JUMPDEST PUSH2 0xA5C PUSH2 0xE8F JUMP JUMPDEST DUP1 ISZERO PUSH2 0x313 JUMPI PUSH1 0x0 DUP1 SLOAD PUSH2 0xFF00 NOT AND SWAP1 SSTORE PUSH1 0x40 MLOAD PUSH1 0x1 DUP2 MSTORE PUSH32 0x7F26B83FF96E1F2B6A682F133852F6798A09C465DA95921460CEFB3847402498 SWAP1 PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 POP POP JUMP JUMPDEST PUSH2 0xAAD PUSH2 0x1596 JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND PUSH4 0x6F307DC3 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 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0xAED 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 0xB11 SWAP2 SWAP1 PUSH2 0x1A47 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 DUP2 AND PUSH1 0x0 SWAP1 DUP2 MSTORE PUSH1 0x98 PUSH1 0x20 SWAP1 DUP2 MSTORE PUSH1 0x40 SWAP2 DUP3 SWAP1 KECCAK256 DUP3 MLOAD PUSH1 0x60 DUP1 DUP3 ADD DUP6 MSTORE DUP3 SLOAD SWAP1 SWAP6 AND DUP2 MSTORE DUP4 MLOAD SWAP5 DUP6 ADD SWAP4 DUP5 SWAP1 MSTORE SWAP5 SWAP6 POP SWAP3 SWAP1 DUP5 ADD SWAP2 PUSH1 0x1 DUP5 ADD SWAP1 PUSH1 0x3 SWAP1 DUP3 DUP5 JUMPDEST DUP2 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x1 SWAP1 SWAP2 ADD SWAP1 PUSH1 0x20 ADD DUP1 DUP4 GT PUSH2 0xB5A JUMPI POP POP POP SWAP2 DUP4 MSTORE POP POP PUSH1 0x40 DUP1 MLOAD PUSH1 0x60 DUP2 ADD SWAP2 DUP3 SWAP1 MSTORE PUSH1 0x20 SWAP1 SWAP3 ADD SWAP2 SWAP1 PUSH1 0x4 DUP5 ADD SWAP1 PUSH1 0x3 SWAP1 DUP3 PUSH1 0x0 DUP6 JUMPDEST DUP3 SLOAD PUSH2 0x100 DUP4 SWAP1 EXP SWAP1 DIV PUSH1 0xFF AND ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 PUSH1 0x1 SWAP3 DUP4 ADD DUP2 DUP2 DIV SWAP5 DUP6 ADD SWAP5 SWAP1 SWAP4 SUB SWAP1 SWAP3 MUL SWAP2 ADD DUP1 DUP5 GT PUSH2 0xB9F JUMPI SWAP1 POP POP POP POP POP POP DUP2 MSTORE POP POP SWAP2 POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xBE8 PUSH2 0xD25 JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND PUSH2 0xC4D 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 0x4F776E61626C653A206E6577206F776E657220697320746865207A65726F2061 PUSH1 0x44 DUP3 ADD MSTORE PUSH6 0x646472657373 PUSH1 0xD0 SHL PUSH1 0x64 DUP3 ADD MSTORE PUSH1 0x84 ADD PUSH2 0x2CA JUMP JUMPDEST PUSH2 0xC56 DUP2 PUSH2 0xDD1 JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xC67 PUSH1 0x65 SLOAD PUSH1 0xFF AND SWAP1 JUMP JUMPDEST ISZERO PUSH2 0xCB4 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1A PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x726573696C69656E74206F7261636C6520697320706175736564000000000000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2CA JUMP JUMPDEST PUSH1 0x0 PUSH2 0xCBF DUP4 PUSH2 0xEBE JUMP JUMPDEST SWAP1 POP DUP1 PUSH2 0xCD2 JUMPI PUSH2 0xCCF DUP4 PUSH2 0x1093 JUMP JUMPDEST SWAP1 POP JUMPDEST DUP1 PUSH2 0xD1F JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x1E PUSH1 0x24 DUP3 ADD MSTORE PUSH32 0x696E76616C696420726573696C69656E74206F7261636C652070726963650000 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2CA JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x33 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND CALLER EQ PUSH2 0x443 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 0x4F776E61626C653A2063616C6C6572206973206E6F7420746865206F776E6572 PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2CA JUMP JUMPDEST PUSH2 0xD87 PUSH2 0x13BF JUMP JUMPDEST PUSH1 0x65 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE PUSH32 0x5DB9EE0A495BF2E6FF9C91A7834C1BA4FDD244A5E8AA4E537BD38AEAE4B073AA CALLER JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG1 JUMP JUMPDEST PUSH1 0x33 DUP1 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP4 DUP2 AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT DUP4 AND DUP2 OR SWAP1 SWAP4 SSTORE PUSH1 0x40 MLOAD SWAP2 AND SWAP2 SWAP1 DUP3 SWAP1 PUSH32 0x8BE0079C531659141344CD1FD0A4F28419497F9722A3DAAFE3B4186F6B6457E0 SWAP1 PUSH1 0x0 SWAP1 LOG3 POP POP JUMP JUMPDEST PUSH2 0xE2B PUSH2 0x1408 JUMP JUMPDEST PUSH1 0x65 DUP1 SLOAD PUSH1 0xFF NOT AND PUSH1 0x1 OR SWAP1 SSTORE PUSH32 0x62E78CEA01BEE320CD4E420270B5EA74000D11B0C9F74754EBDBFC544B05A258 PUSH2 0xDB4 CALLER SWAP1 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0xFF AND PUSH2 0xE87 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x2CA SWAP1 PUSH2 0x1A7D JUMP JUMPDEST PUSH2 0x443 PUSH2 0x144E JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0xFF AND PUSH2 0xEB6 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x2CA SWAP1 PUSH2 0x1A7D JUMP JUMPDEST PUSH2 0x443 PUSH2 0x147E JUMP JUMPDEST PUSH1 0x0 DUP1 DUP1 DUP1 PUSH2 0xECD DUP6 DUP3 PUSH2 0x5A7 JUMP JUMPDEST SWAP2 POP SWAP2 POP DUP1 DUP1 ISZERO PUSH2 0xEE6 JUMPI POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND ISZERO ISZERO JUMPDEST ISZERO PUSH2 0x108A JUMPI PUSH1 0x40 MLOAD PUSH4 0xFC57D4DF PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP7 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE DUP4 AND SWAP1 PUSH4 0xFC57D4DF SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL SWAP3 POP POP POP DUP1 ISZERO PUSH2 0xF4D JUMPI POP PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F RETURNDATASIZE SWAP1 DUP2 ADD PUSH1 0x1F NOT AND DUP3 ADD SWAP1 SWAP3 MSTORE PUSH2 0xF4A SWAP2 DUP2 ADD SWAP1 PUSH2 0x1A64 JUMP JUMPDEST PUSH1 0x1 JUMPDEST ISZERO PUSH2 0x108A JUMPI DUP1 SWAP4 POP PUSH1 0x0 DUP1 PUSH2 0xF63 DUP9 PUSH1 0x1 PUSH2 0x5A7 JUMP JUMPDEST SWAP2 POP SWAP2 POP DUP1 DUP1 ISZERO PUSH2 0xF7C JUMPI POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND ISZERO ISZERO JUMPDEST ISZERO PUSH2 0x1086 JUMPI PUSH1 0x40 MLOAD PUSH4 0xFC57D4DF PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP10 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE DUP4 AND SWAP1 PUSH4 0xFC57D4DF SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL SWAP3 POP POP POP DUP1 ISZERO PUSH2 0xFE3 JUMPI POP PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F RETURNDATASIZE SWAP1 DUP2 ADD PUSH1 0x1F NOT AND DUP3 ADD SWAP1 SWAP3 MSTORE PUSH2 0xFE0 SWAP2 DUP2 ADD SWAP1 PUSH2 0x1A64 JUMP JUMPDEST PUSH1 0x1 JUMPDEST ISZERO PUSH2 0x1086 JUMPI DUP1 ISZERO PUSH2 0x1084 JUMPI PUSH1 0x97 SLOAD PUSH1 0x40 MLOAD PUSH4 0x4BE3819F PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP12 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE PUSH1 0x24 DUP3 ADD DUP11 SWAP1 MSTORE PUSH1 0x44 DUP3 ADD DUP5 SWAP1 MSTORE PUSH1 0x0 SWAP3 AND SWAP1 PUSH4 0x97C7033E SWAP1 PUSH1 0x64 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1047 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 0x106B SWAP2 SWAP1 PUSH2 0x1AC8 JUMP JUMPDEST SWAP1 POP DUP1 PUSH2 0x1082 JUMPI POP PUSH1 0x0 SWAP10 SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST POP JUMPDEST POP JUMPDEST POP POP POP JUMPDEST POP SWAP1 SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP1 DUP1 DUP1 PUSH2 0x10A4 DUP7 PUSH1 0x2 PUSH2 0x5A7 JUMP JUMPDEST SWAP2 POP SWAP2 POP DUP1 DUP1 ISZERO PUSH2 0x10BD JUMPI POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND ISZERO ISZERO JUMPDEST ISZERO PUSH2 0x1270 JUMPI PUSH1 0x40 MLOAD PUSH4 0xFC57D4DF PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP8 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE DUP4 AND SWAP1 PUSH4 0xFC57D4DF SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL SWAP3 POP POP POP DUP1 ISZERO PUSH2 0x1124 JUMPI POP PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F RETURNDATASIZE SWAP1 DUP2 ADD PUSH1 0x1F NOT AND DUP3 ADD SWAP1 SWAP3 MSTORE PUSH2 0x1121 SWAP2 DUP2 ADD SWAP1 PUSH2 0x1A64 JUMP JUMPDEST PUSH1 0x1 JUMPDEST ISZERO PUSH2 0x1270 JUMPI DUP1 SWAP5 POP PUSH1 0x0 DUP1 PUSH2 0x113A DUP10 PUSH1 0x1 PUSH2 0x5A7 JUMP JUMPDEST SWAP2 POP SWAP2 POP DUP1 DUP1 ISZERO PUSH2 0x1153 JUMPI POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND ISZERO ISZERO JUMPDEST ISZERO PUSH2 0x1267 JUMPI PUSH1 0x40 MLOAD PUSH4 0xFC57D4DF PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP11 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE DUP4 AND SWAP1 PUSH4 0xFC57D4DF SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL SWAP3 POP POP POP DUP1 ISZERO PUSH2 0x11BA JUMPI POP PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F RETURNDATASIZE SWAP1 DUP2 ADD PUSH1 0x1F NOT AND DUP3 ADD SWAP1 SWAP3 MSTORE PUSH2 0x11B7 SWAP2 DUP2 ADD SWAP1 PUSH2 0x1A64 JUMP JUMPDEST PUSH1 0x1 JUMPDEST PUSH2 0x11C7 JUMPI PUSH1 0x1 SWAP6 POP PUSH2 0x126C JUMP JUMPDEST DUP1 ISZERO PUSH2 0x125C JUMPI PUSH1 0x97 SLOAD PUSH1 0x40 MLOAD PUSH4 0x4BE3819F PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP13 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE PUSH1 0x24 DUP3 ADD DUP12 SWAP1 MSTORE PUSH1 0x44 DUP3 ADD DUP5 SWAP1 MSTORE PUSH1 0x0 SWAP3 AND SWAP1 PUSH4 0x97C7033E SWAP1 PUSH1 0x64 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1226 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 0x124A SWAP2 SWAP1 PUSH2 0x1AC8 JUMP JUMPDEST SWAP1 POP DUP1 PUSH2 0x1256 JUMPI PUSH1 0x1 SWAP8 POP JUMPDEST POP PUSH2 0x1261 JUMP JUMPDEST PUSH1 0x1 SWAP7 POP JUMPDEST POP PUSH2 0x126C JUMP JUMPDEST PUSH1 0x1 SWAP6 POP JUMPDEST POP POP POP JUMPDEST DUP3 ISZERO PUSH2 0x13B5 JUMPI PUSH1 0x0 DUP1 PUSH2 0x1284 DUP9 PUSH1 0x0 PUSH2 0x5A7 JUMP JUMPDEST SWAP2 POP SWAP2 POP DUP1 DUP1 ISZERO PUSH2 0x129D JUMPI POP PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP3 AND ISZERO ISZERO JUMPDEST ISZERO PUSH2 0x13AD JUMPI PUSH1 0x40 MLOAD PUSH4 0xFC57D4DF PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP10 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE DUP4 AND SWAP1 PUSH4 0xFC57D4DF SWAP1 PUSH1 0x24 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL SWAP3 POP POP POP DUP1 ISZERO PUSH2 0x1304 JUMPI POP PUSH1 0x40 DUP1 MLOAD PUSH1 0x1F RETURNDATASIZE SWAP1 DUP2 ADD PUSH1 0x1F NOT AND DUP3 ADD SWAP1 SWAP3 MSTORE PUSH2 0x1301 SWAP2 DUP2 ADD SWAP1 PUSH2 0x1A64 JUMP JUMPDEST PUSH1 0x1 JUMPDEST PUSH2 0x1311 JUMPI PUSH1 0x0 SWAP6 POP PUSH2 0x13B2 JUMP JUMPDEST PUSH1 0x97 SLOAD PUSH1 0x40 MLOAD PUSH4 0x4BE3819F PUSH1 0xE1 SHL DUP2 MSTORE PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP12 DUP2 AND PUSH1 0x4 DUP4 ADD MSTORE PUSH1 0x24 DUP3 ADD DUP11 SWAP1 MSTORE PUSH1 0x44 DUP3 ADD DUP5 SWAP1 MSTORE PUSH1 0x0 SWAP3 AND SWAP1 PUSH4 0x97C7033E SWAP1 PUSH1 0x64 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x136A 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 0x138E SWAP2 SWAP1 PUSH2 0x1AC8 JUMP JUMPDEST SWAP1 POP DUP1 PUSH2 0x13A5 JUMPI POP PUSH1 0x0 SWAP10 SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST POP SWAP6 POP PUSH2 0x13B2 JUMP JUMPDEST PUSH1 0x0 SWAP6 POP JUMPDEST POP POP JUMPDEST POP SWAP2 SWAP5 SWAP4 POP POP POP POP JUMP JUMPDEST PUSH1 0x65 SLOAD PUSH1 0xFF AND PUSH2 0x443 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x14 PUSH1 0x24 DUP3 ADD MSTORE PUSH20 0x14185D5CD8589B194E881B9BDD081C185D5CD959 PUSH1 0x62 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2CA JUMP JUMPDEST PUSH1 0x65 SLOAD PUSH1 0xFF AND ISZERO PUSH2 0x443 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x20 PUSH1 0x4 DUP3 ADD MSTORE PUSH1 0x10 PUSH1 0x24 DUP3 ADD MSTORE PUSH16 0x14185D5CD8589B194E881C185D5CD959 PUSH1 0x82 SHL PUSH1 0x44 DUP3 ADD MSTORE PUSH1 0x64 ADD PUSH2 0x2CA JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0xFF AND PUSH2 0x1475 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x2CA SWAP1 PUSH2 0x1A7D JUMP JUMPDEST PUSH2 0x443 CALLER PUSH2 0xDD1 JUMP JUMPDEST PUSH1 0x0 SLOAD PUSH2 0x100 SWAP1 DIV PUSH1 0xFF AND PUSH2 0x14A5 JUMPI PUSH1 0x40 MLOAD PUSH3 0x461BCD PUSH1 0xE5 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x2CA SWAP1 PUSH2 0x1A7D JUMP JUMPDEST PUSH1 0x65 DUP1 SLOAD PUSH1 0xFF NOT AND SWAP1 SSTORE JUMP JUMPDEST DUP3 PUSH1 0x3 DUP2 ADD SWAP3 DUP3 ISZERO PUSH2 0x14F9 JUMPI SWAP2 PUSH1 0x20 MUL DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH2 0x14F9 JUMPI DUP3 MLOAD DUP3 SLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB NOT AND PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 SWAP2 AND OR DUP3 SSTORE PUSH1 0x20 SWAP1 SWAP3 ADD SWAP2 PUSH1 0x1 SWAP1 SWAP2 ADD SWAP1 PUSH2 0x14C4 JUMP JUMPDEST POP PUSH2 0x1505 SWAP3 SWAP2 POP PUSH2 0x15CB JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH1 0x1 DUP4 ADD SWAP2 DUP4 SWAP1 DUP3 ISZERO PUSH2 0x14F9 JUMPI SWAP2 PUSH1 0x20 MUL DUP3 ADD PUSH1 0x0 JUMPDEST DUP4 DUP3 GT ISZERO PUSH2 0x155C JUMPI DUP4 MLOAD DUP4 DUP3 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 ISZERO ISZERO MUL OR SWAP1 SSTORE POP SWAP3 PUSH1 0x20 ADD SWAP3 PUSH1 0x1 ADD PUSH1 0x20 DUP2 PUSH1 0x0 ADD DIV SWAP3 DUP4 ADD SWAP3 PUSH1 0x1 SUB MUL PUSH2 0x151F JUMP JUMPDEST DUP1 ISZERO PUSH2 0x1589 JUMPI DUP3 DUP2 PUSH2 0x100 EXP DUP2 SLOAD SWAP1 PUSH1 0xFF MUL NOT AND SWAP1 SSTORE PUSH1 0x1 ADD PUSH1 0x20 DUP2 PUSH1 0x0 ADD DIV SWAP3 DUP4 ADD SWAP3 PUSH1 0x1 SUB MUL PUSH2 0x155C JUMP JUMPDEST POP POP PUSH2 0x1505 SWAP3 SWAP2 POP PUSH2 0x15CB JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x0 PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB AND DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x15B9 PUSH2 0x15E0 JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 ADD PUSH2 0x15C6 PUSH2 0x15E0 JUMP JUMPDEST SWAP1 MSTORE SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH2 0x1505 JUMPI PUSH1 0x0 DUP2 SSTORE PUSH1 0x1 ADD PUSH2 0x15CC JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 PUSH1 0x60 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x3 SWAP1 PUSH1 0x20 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY POP SWAP2 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 PUSH1 0x40 MLOAD PUSH1 0x60 DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x1637 JUMPI PUSH2 0x1637 PUSH2 0x15FE JUMP JUMPDEST PUSH1 0x40 MSTORE SWAP1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH1 0x1F DUP3 ADD PUSH1 0x1F NOT AND DUP2 ADD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP3 DUP3 LT OR ISZERO PUSH2 0x1666 JUMPI PUSH2 0x1666 PUSH2 0x15FE JUMP JUMPDEST PUSH1 0x40 MSTORE SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB DUP2 AND DUP2 EQ PUSH2 0xC56 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 ISZERO ISZERO DUP2 EQ PUSH2 0xC56 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x16A2 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x16AA PUSH2 0x1614 JUMP JUMPDEST DUP1 PUSH1 0x60 DUP5 ADD DUP6 DUP2 GT ISZERO PUSH2 0x16BC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP5 JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x16DF JUMPI DUP1 CALLDATALOAD PUSH2 0x16D1 DUP2 PUSH2 0x1683 JUMP JUMPDEST DUP5 MSTORE PUSH1 0x20 SWAP4 DUP5 ADD SWAP4 ADD PUSH2 0x16BE JUMP JUMPDEST POP SWAP1 SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0xE0 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x16FC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x1704 PUSH2 0x1614 JUMP JUMPDEST SWAP1 POP DUP2 CALLDATALOAD PUSH2 0x1711 DUP2 PUSH2 0x166E JUMP JUMPDEST DUP2 MSTORE PUSH1 0x20 PUSH1 0x3F DUP4 ADD DUP5 SGT PUSH2 0x1724 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x172C PUSH2 0x1614 JUMP JUMPDEST DUP1 PUSH1 0x80 DUP6 ADD DUP7 DUP2 GT ISZERO PUSH2 0x173E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 DUP7 ADD JUMPDEST DUP2 DUP2 LT ISZERO PUSH2 0x1762 JUMPI DUP1 CALLDATALOAD PUSH2 0x1755 DUP2 PUSH2 0x166E JUMP JUMPDEST DUP5 MSTORE SWAP3 DUP5 ADD SWAP3 DUP5 ADD PUSH2 0x1742 JUMP JUMPDEST POP DUP2 DUP5 DUP7 ADD MSTORE PUSH2 0x1772 DUP8 DUP3 PUSH2 0x1691 JUMP JUMPDEST PUSH1 0x40 DUP7 ADD MSTORE POP POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP1 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x1794 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP1 DUP3 GT ISZERO PUSH2 0x17AC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 DUP6 ADD SWAP2 POP DUP6 PUSH1 0x1F DUP4 ADD SLT PUSH2 0x17C0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD DUP2 DUP2 GT ISZERO PUSH2 0x17D2 JUMPI PUSH2 0x17D2 PUSH2 0x15FE JUMP JUMPDEST PUSH2 0x17E0 DUP5 DUP3 PUSH1 0x5 SHL ADD PUSH2 0x163D JUMP JUMPDEST DUP2 DUP2 MSTORE DUP5 DUP2 ADD SWAP3 POP PUSH1 0xE0 SWAP2 DUP3 MUL DUP5 ADD DUP6 ADD SWAP2 DUP9 DUP4 GT ISZERO PUSH2 0x17FF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP4 DUP6 ADD SWAP4 JUMPDEST DUP3 DUP6 LT ISZERO PUSH2 0x1825 JUMPI PUSH2 0x1816 DUP10 DUP7 PUSH2 0x16EA JUMP JUMPDEST DUP5 MSTORE SWAP4 DUP5 ADD SWAP4 SWAP3 DUP6 ADD SWAP3 PUSH2 0x1804 JUMP JUMPDEST POP SWAP8 SWAP7 POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0xE0 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1843 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x184D DUP4 DUP4 PUSH2 0x16EA JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST DUP1 CALLDATALOAD PUSH1 0x3 DUP2 LT PUSH2 0x1863 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x187D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 CALLDATALOAD PUSH2 0x1888 DUP2 PUSH2 0x166E JUMP JUMPDEST SWAP3 POP PUSH2 0x1896 PUSH1 0x20 DUP6 ADD PUSH2 0x1854 JUMP JUMPDEST SWAP2 POP PUSH1 0x40 DUP5 ADD CALLDATALOAD PUSH2 0x18A6 DUP2 PUSH2 0x1683 JUMP JUMPDEST DUP1 SWAP2 POP POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x40 DUP4 DUP6 SUB SLT ISZERO PUSH2 0x18C4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 CALLDATALOAD PUSH2 0x18CF DUP2 PUSH2 0x166E JUMP JUMPDEST SWAP2 POP PUSH2 0x18DD PUSH1 0x20 DUP5 ADD PUSH2 0x1854 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x18F8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 CALLDATALOAD PUSH2 0x184D DUP2 PUSH2 0x166E JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x60 DUP5 DUP7 SUB SLT ISZERO PUSH2 0x1918 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 CALLDATALOAD PUSH2 0x1923 DUP2 PUSH2 0x166E JUMP JUMPDEST SWAP3 POP PUSH1 0x20 DUP5 ADD CALLDATALOAD PUSH2 0x1933 DUP2 PUSH2 0x166E JUMP JUMPDEST SWAP2 POP PUSH2 0x1941 PUSH1 0x40 DUP6 ADD PUSH2 0x1854 JUMP JUMPDEST SWAP1 POP SWAP3 POP SWAP3 POP SWAP3 JUMP JUMPDEST DUP2 MLOAD PUSH1 0x1 PUSH1 0x1 PUSH1 0xA0 SHL SUB SWAP1 DUP2 AND DUP3 MSTORE PUSH1 0x20 DUP1 DUP5 ADD MLOAD PUSH1 0xE0 DUP5 ADD SWAP3 SWAP2 SWAP1 DUP2 DUP6 ADD PUSH1 0x0 JUMPDEST PUSH1 0x3 DUP2 LT ISZERO PUSH2 0x198B JUMPI DUP3 MLOAD DUP6 AND DUP3 MSTORE SWAP2 DUP4 ADD SWAP2 SWAP1 DUP4 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x196C JUMP JUMPDEST POP POP POP PUSH1 0x40 DUP6 ADD MLOAD SWAP2 POP PUSH1 0x80 DUP5 ADD PUSH1 0x0 JUMPDEST PUSH1 0x3 DUP2 LT ISZERO PUSH2 0x19BB JUMPI DUP4 MLOAD ISZERO ISZERO DUP3 MSTORE SWAP3 DUP3 ADD SWAP3 SWAP1 DUP3 ADD SWAP1 PUSH1 0x1 ADD PUSH2 0x199C JUMP JUMPDEST POP POP POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1 DUP3 ADD PUSH2 0x19FB JUMPI PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST POP PUSH1 0x1 ADD SWAP1 JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x15 SWAP1 DUP3 ADD MSTORE PUSH21 0x63616E2774206265207A65726F2061646472657373 PUSH1 0x58 SHL PUSH1 0x40 DUP3 ADD MSTORE PUSH1 0x60 ADD SWAP1 JUMP JUMPDEST PUSH4 0x4E487B71 PUSH1 0xE0 SHL PUSH1 0x0 MSTORE PUSH1 0x21 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1A59 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x184D DUP2 PUSH2 0x166E JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1A76 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP MLOAD SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x20 DUP1 DUP3 MSTORE PUSH1 0x2B SWAP1 DUP3 ADD MSTORE PUSH32 0x496E697469616C697A61626C653A20636F6E7472616374206973206E6F742069 PUSH1 0x40 DUP3 ADD MSTORE PUSH11 0x6E697469616C697A696E67 PUSH1 0xA8 SHL PUSH1 0x60 DUP3 ADD MSTORE PUSH1 0x80 ADD SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x1ADA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH2 0x184D DUP2 PUSH2 0x1683 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 SWAP15 0xBF TIMESTAMP 0xCF 0xCD SELFBALANCE 0xCC ISZERO 0xDD BLOCKHASH PUSH11 0x17CC9CCE641B4591E19C58 GT 0xAA 0xD7 MULMOD ISZERO 0xDC CALLDATALOAD ADDRESS SGT 0xB5 PUSH5 0x736F6C6343 STOP ADDMOD 0xD STOP CALLER ","sourceMap":"340:10525:5:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3660:269;;;;;;:::i;:::-;;:::i;:::-;;4117:521;;;;;;:::i;:::-;;:::i;488:45::-;;;;;-1:-1:-1;;;;;488:45:5;;;;;;-1:-1:-1;;;;;4124:32:9;;;4106:51;;4094:2;4079:18;488:45:5;;;;;;;;2734:65;;;:::i;5455:311::-;;;;;;:::i;:::-;;:::i;440:41::-;;480:1;440:41;;;;;4953:25:9;;;4941:2;4926:18;440:41:5;4807:177:9;1858:84:2;1928:7;;;;1858:84;;5154:14:9;;5147:22;5129:41;;5117:2;5102:18;1858:84:2;4989:187:9;2071:101:0;;;:::i;2619:61:5:-;;;:::i;3243:309::-;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;5715:32:9;;;5697:51;;5791:14;;5784:22;5779:2;5764:18;;5757:50;5670:18;3243:309:5;5529:284:9;1441:85:0;1513:6;;-1:-1:-1;;;;;1513:6:0;1441:85;;5873:417:5;;;;;;:::i;:::-;;:::i;4845:403::-;;;;;;:::i;:::-;;:::i;2291:276::-;;;;;;:::i;:::-;;:::i;2904:188::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;2321:198:0:-;;;;;;:::i;:::-;;:::i;6659:403:5:-;;;;;;:::i;:::-;;:::i;3660:269::-;1334:13:0;:11;:13::i;:::-;3758::5::1;:20;3782:1;3758:25:::0;3750:55:::1;;;::::0;-1:-1:-1;;;3750:55:5;;8306:2:9;3750:55:5::1;::::0;::::1;8288:21:9::0;8345:2;8325:18;;;8318:30;-1:-1:-1;;;8364:18:9;;;8357:47;8421:18;;3750:55:5::1;;;;;;;;;3820:9;3815:108;3839:13;:20;3835:1;:24;3815:108;;;3880:32;3895:13;3909:1;3895:16;;;;;;;;:::i;:::-;;;;;;;3880:14;:32::i;:::-;3861:3:::0;::::1;::::0;::::1;:::i;:::-;;;;3815:108;;;;3660:269:::0;:::o;4117:521::-;1334:13:0;:11;:13::i;:::-;4229:17:5;;-1:-1:-1;;;;;1842:21:5;::::1;1834:55;;;;-1:-1:-1::0;;;1834:55:5::1;;;;;;;:::i;:::-;4271:19:::2;::::0;::::2;::::0;:45;-1:-1:-1;;;;;1842:21:5;::::2;1834:55;;;;-1:-1:-1::0;;;1834:55:5::2;;;;;;;:::i;:::-;4345:17:::0;;-1:-1:-1;;;;;4332:31:5;;::::3;;::::0;;;:12:::3;:31;::::0;;;;;;;:45;;;;-1:-1:-1;;;;;;4332:45:5::3;::::0;::::3;::::0;;;::::3;::::0;;;::::3;::::0;4345:17;;4332:31;:45:::3;::::0;-1:-1:-1;4332:45:5;::::3;::::0;::::3;;:::i;:::-;-1:-1:-1::0;4332:45:5::3;::::0;::::3;::::0;::::3;::::0;::::3;::::0;::::3;::::0;::::3;;:::i;:::-;-1:-1:-1::0;;;4512:19:5::3;::::0;;::::3;::::0;:46;;::::3;::::0;4453:45;;4422:17;;4572:49;;;::::3;::::0;4392:239;;-1:-1:-1;;;;;4124:32:9;;;4106:51;;4392:239:5;;::::3;::::0;;;::::3;::::0;::::3;::::0;::::3;::::0;4079:18:9;4392:239:5::3;;;;;;;1899:1:::2;1357::0::1;4117:521:5::0;:::o;2734:65::-;1334:13:0;:11;:13::i;:::-;2782:10:5::1;:8;:10::i;:::-;2734:65::o:0;5455:311::-;1334:13:0;:11;:13::i;:::-;5586:5:5;-1:-1:-1;;;;;1842:21:5;::::1;1834:55;;;;-1:-1:-1::0;;;1834:55:5::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;2200:19:5;;::::2;2237:1;2200:19:::0;;;:12:::2;:19;::::0;;;;:25;5619:5;;2200:25:::2;2192:75;;;::::0;-1:-1:-1;;;2192:75:5;;9503:2:9;2192:75:5::2;::::0;::::2;9485:21:9::0;9542:2;9522:18;;;9515:30;-1:-1:-1;;;9561:18:9;;;9554:53;9624:18;;2192:75:5::2;9301:347:9::0;2192:75:5::2;-1:-1:-1::0;;;;;5636:19:5;::::3;;::::0;;;:12:::3;:19;::::0;;;;5695:6;;5636:41:::3;;5686:4:::0;5678:13:::3;::::0;::::3;;;;;;:::i;:::-;5636:56;;;;;;;:::i;:::-;;;;;;;;;;:65;;;;;;;;;;;;;;;;;;5752:6;5716:43;;5745:4;5737:13;;;;;;;;:::i;:::-;5716:43;::::0;-1:-1:-1;;;;;5716:43:5;::::3;::::0;::::3;::::0;;;::::3;1899:1:::2;1357::0::1;5455:311:5::0;;;:::o;2071:101:0:-;1334:13;:11;:13::i;:::-;2135:30:::1;2162:1;2135:18;:30::i;2619:61:5:-:0;1334:13:0;:11;:13::i;:::-;2665:8:5::1;:6;:8::i;3243:309::-:0;3316:14;3332:12;3356:13;3388:6;-1:-1:-1;;;;;3372:34:5;;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;3427:19:5;;;;;;:12;:19;;;;;3356:52;;-1:-1:-1;3427:27:5;;3463:4;3455:13;;;;;;;;:::i;:::-;3427:42;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;3489:19:5;;;3427:42;3489:19;;;:12;:19;;;;;3427:42;;;-1:-1:-1;3489:41:5;;3539:4;3531:13;;;;;;;;:::i;:::-;3489:56;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;3479:66;;3346:206;3243:309;;;;;:::o;5873:417::-;5939:19;5960:23;5987:35;5997:6;6005:16;5987:9;:35::i;:::-;5938:84;;-1:-1:-1;5938:84:5;-1:-1:-1;;;;;;6036:25:5;;;;;;:47;;;6065:18;6036:47;6032:252;;;6192:45;;-1:-1:-1;;;6192:45:5;;-1:-1:-1;;;;;4124:32:9;;;6192:45:5;;;4106:51:9;6192:37:5;;;;;4079:18:9;;6192:45:5;;;;;;;;;;;;;;;;;;;-1:-1:-1;6192:45:5;;;;;;;;-1:-1:-1;;6192:45:5;;;;;;;;;;;;:::i;:::-;;;6188:86;;;6238:27;6188:86;5928:362;;5873:417;:::o;4845:403::-;1334:13:0;:11;:13::i;:::-;4976:5:5;-1:-1:-1;;;;;1842:21:5;::::1;1834:55;;;;-1:-1:-1::0;;;1834:55:5::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;2200:19:5;;::::2;2237:1;2200:19:::0;;;:12:::2;:19;::::0;;;;:25;5009:5;;2200:25:::2;2192:75;;;::::0;-1:-1:-1;;;2192:75:5;;9503:2:9;2192:75:5::2;::::0;::::2;9485:21:9::0;9542:2;9522:18;;;9515:30;-1:-1:-1;;;9561:18:9;;;9554:53;9624:18;;2192:75:5::2;9301:347:9::0;2192:75:5::2;-1:-1:-1::0;;;;;5036:20:5;::::3;::::0;:47;::::3;;;-1:-1:-1::0;5068:15:5::3;5060:4;:23;;;;;;;;:::i;:::-;;5036:47;5034:50;5026:100;;;::::0;-1:-1:-1;;;5026:100:5;;10300:2:9;5026:100:5::3;::::0;::::3;10282:21:9::0;10339:2;10319:18;;;10312:30;10378:34;10358:18;;;10351:62;-1:-1:-1;;;10429:18:9;;;10422:35;10474:19;;5026:100:5::3;10098:401:9::0;5026:100:5::3;-1:-1:-1::0;;;;;5136:19:5;::::3;;::::0;;;:12:::3;:19;::::0;;;;5181:6;;5136:27:::3;;5172:4:::0;5164:13:::3;::::0;::::3;;;;;;:::i;:::-;5136:42;;;;;;;:::i;:::-;;:51:::0;;-1:-1:-1;;;;;;5136:51:5::3;-1:-1:-1::0;;;;;5136:51:5;;;::::3;::::0;;;::::3;::::0;;5235:4;5227:13:::3;::::0;::::3;;;;;;:::i;:::-;5219:6;-1:-1:-1::0;;;;;5202:39:5::3;5212:5;-1:-1:-1::0;;;;;5202:39:5::3;;;;;;;;;;;1899:1:::2;1357::0::1;4845:403:5::0;;;:::o;2291:276::-;3111:19:1;3134:13;;;;;;3133:14;;3179:34;;;;-1:-1:-1;3197:12:1;;3212:1;3197:12;;;;:16;3179:34;3178:108;;;-1:-1:-1;3258:4:1;1476:19:3;:23;;;3219:66:1;;-1:-1:-1;3268:12:1;;;;;:17;3219:66;3157:201;;;;-1:-1:-1;;;3157:201:1;;10706:2:9;3157:201:1;;;10688:21:9;10745:2;10725:18;;;10718:30;10784:34;10764:18;;;10757:62;-1:-1:-1;;;10835:18:9;;;10828:44;10889:19;;3157:201:1;10504:410:9;3157:201:1;3368:12;:16;;-1:-1:-1;;3368:16:1;3383:1;3368:16;;;3394:65;;;;3428:13;:20;;-1:-1:-1;;3428:20:1;;;;;3394:65;-1:-1:-1;;;;;2389:38:5;::::1;2381:83;;;::::0;-1:-1:-1;;;2381:83:5;;11121:2:9;2381:83:5::1;::::0;::::1;11103:21:9::0;;;11140:18;;;11133:30;11199:34;11179:18;;;11172:62;11251:18;;2381:83:5::1;10919:356:9::0;2381:83:5::1;2474:14;:32:::0;;-1:-1:-1;;;;;;2474:32:5::1;-1:-1:-1::0;;;;;2474:32:5;::::1;;::::0;;2517:16:::1;:14;:16::i;:::-;2543:17;:15;:17::i;:::-;3483:14:1::0;3479:99;;;3529:5;3513:21;;-1:-1:-1;;3513:21:1;;;3553:14;;-1:-1:-1;11432:36:9;;3553:14:1;;11420:2:9;11405:18;3553:14:1;;;;;;;3101:483;2291:276:5;:::o;2904:188::-;2967:18;;:::i;:::-;2997:13;3029:6;-1:-1:-1;;;;;3013:34:5;;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;3066:19:5;;;;;;;:12;:19;;;;;;;;;3059:26;;;;;;;;;;;;;;;;;;;;;;;;3066:19;;-1:-1:-1;3066:19:5;3059:26;;;;;;;;;;;;;;;-1:-1:-1;;;;;3059:26:5;;;;;;;;;;;;;;;-1:-1:-1;;;3059:26:5;;;-1:-1:-1;;3059:26:5;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3059:26:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2904:188;;;:::o;2321:198:0:-;1334:13;:11;:13::i;:::-;-1:-1:-1;;;;;2409:22:0;::::1;2401:73;;;::::0;-1:-1:-1;;;2401:73:0;;11681:2:9;2401:73:0::1;::::0;::::1;11663:21:9::0;11720:2;11700:18;;;11693:30;11759:34;11739:18;;;11732:62;-1:-1:-1;;;11810:18:9;;;11803:36;11856:19;;2401:73:0::1;11479:402:9::0;2401:73:0::1;2484:28;2503:8;2484:18;:28::i;:::-;2321:198:::0;:::o;6659:403:5:-;6735:7;6763:8;1928:7:2;;;;;1858:84;6763:8:5;6762:9;6754:48;;;;-1:-1:-1;;;6754:48:5;;12088:2:9;6754:48:5;;;12070:21:9;12127:2;12107:18;;;12100:30;12166:28;12146:18;;;12139:56;12212:18;;6754:48:5;11886:350:9;6754:48:5;6813:13;6829:27;6849:6;6829:19;:27::i;:::-;6813:43;-1:-1:-1;6813:43:5;6866:92;;6916:31;6940:6;6916:23;:31::i;:::-;6908:39;;6866:92;6976:5;6968:65;;;;-1:-1:-1;;;6968:65:5;;12443:2:9;6968:65:5;;;12425:21:9;12482:2;12462:18;;;12455:30;12521:32;12501:18;;;12494:60;12571:18;;6968:65:5;12241:354:9;6968:65:5;7050:5;6659:403;-1:-1:-1;;6659:403:5:o;1599:130:0:-;1513:6;;-1:-1:-1;;;;;1513:6:0;929:10:4;1662:23:0;1654:68;;;;-1:-1:-1;;;1654:68:0;;12802:2:9;1654:68:0;;;12784:21:9;;;12821:18;;;12814:30;12880:34;12860:18;;;12853:62;12932:18;;1654:68:0;12600:356:9;2676:117:2;1729:16;:14;:16::i;:::-;2734:7:::1;:15:::0;;-1:-1:-1;;2734:15:2::1;::::0;;2764:22:::1;929:10:4::0;2773:12:2::1;2764:22;::::0;-1:-1:-1;;;;;4124:32:9;;;4106:51;;4094:2;4079:18;2764:22:2::1;;;;;;;2676:117::o:0;2673:187:0:-;2765:6;;;-1:-1:-1;;;;;2781:17:0;;;-1:-1:-1;;;;;;2781:17:0;;;;;;;2813:40;;2765:6;;;2781:17;2765:6;;2813:40;;2746:16;;2813:40;2736:124;2673:187;:::o;2429:115:2:-;1482:19;:17;:19::i;:::-;2488:7:::1;:14:::0;;-1:-1:-1;;2488:14:2::1;2498:4;2488:14;::::0;;2517:20:::1;2524:12;929:10:4::0;;850:96;1003:95:0;4910:13:1;;;;;;;4902:69;;;;-1:-1:-1;;;4902:69:1;;;;;;;:::i;:::-;1065:26:0::1;:24;:26::i;1063:97:2:-:0;4910:13:1;;;;;;;4902:69;;;;-1:-1:-1;;;4902:69:1;;;;;;;:::i;:::-;1126:27:2::1;:25;:27::i;7276:1153:5:-:0;7344:7;;;;7450:34;7460:6;7344:7;7450:9;:34::i;:::-;7403:81;;;;7498:17;:45;;;;-1:-1:-1;;;;;;7519:24:5;;;;7498:45;7494:906;;;7563:54;;-1:-1:-1;;;7563:54:5;;-1:-1:-1;;;;;4124:32:9;;;7563:54:5;;;4106:51:9;7563:46:5;;;;;4079:18:9;;7563:54:5;;;;;;;;;;;;;;;;;;-1:-1:-1;7563:54:5;;;;;;;;-1:-1:-1;;7563:54:5;;;;;;;;;;;;:::i;:::-;;;7559:831;;;7678:15;7670:23;;7713:19;7734:23;7761:35;7771:6;7779:16;7761:9;:35::i;:::-;7712:84;;;;7819:18;:47;;;;-1:-1:-1;;;;;;7841:25:5;;;;7819:47;7815:552;;;7894:55;;-1:-1:-1;;;7894:55:5;;-1:-1:-1;;;;;4124:32:9;;;7894:55:5;;;4106:51:9;7894:47:5;;;;;4079:18:9;;7894:55:5;;;;;;;;;;;;;;;;;;-1:-1:-1;7894:55:5;;;;;;;;-1:-1:-1;;7894:55:5;;;;;;;;;;;;:::i;:::-;;;7890:459;;;8009:27;;8005:313;;8088:14;;:70;;-1:-1:-1;;;8088:70:5;;-1:-1:-1;;;;;13593:32:9;;;8088:70:5;;;13575:51:9;13642:18;;;13635:34;;;13685:18;;;13678:34;;;8068:17:5;;8088:14;;:43;;13548:18:9;;8088:70:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8068:90;;8193:12;8188:104;;-1:-1:-1;480:1:5;;7276:1153;-1:-1:-1;;;;;;;;;7276:1153:5:o;8188:104::-;8038:280;8005:313;7950:390;7890:459;7652:729;;7618:763;7559:831;-1:-1:-1;8417:5:5;;7276:1153;-1:-1:-1;;;7276:1153:5:o;8646:2217::-;8718:7;;;;;8864:38;8874:6;8882:19;8864:9;:38::i;:::-;8815:87;;;;8916:15;:47;;;;-1:-1:-1;;;;;;8935:28:5;;;;8916:47;8912:1144;;;8983:58;;-1:-1:-1;;;8983:58:5;;-1:-1:-1;;;;;4124:32:9;;;8983:58:5;;;4106:51:9;8983:50:5;;;;;4079:18:9;;8983:58:5;;;;;;;;;;;;;;;;;;-1:-1:-1;8983:58:5;;;;;;;;-1:-1:-1;;8983:58:5;;;;;;;;;;;;:::i;:::-;;;8979:1067;;;9106:19;9098:27;;9145:19;9166:23;9193:35;9203:6;9211:16;9193:9;:35::i;:::-;9144:84;;;;9250:18;:47;;;;-1:-1:-1;;;;;;9272:25:5;;;;9250:47;9246:777;;;9325:55;;-1:-1:-1;;;9325:55:5;;-1:-1:-1;;;;;4124:32:9;;;9325:55:5;;;4106:51:9;9325:47:5;;;;;4079:18:9;;9325:55:5;;;;;;;;;;;;;;;;;;-1:-1:-1;9325:55:5;;;;;;;;-1:-1:-1;;9325:55:5;;;;;;;;;;;;:::i;:::-;;;9321:615;;9909:4;9891:22;;9246:777;;9321:615;9440:27;;9436:400;;9519:14;;:70;;-1:-1:-1;;;9519:70:5;;-1:-1:-1;;;;;13593:32:9;;;9519:70:5;;;13575:51:9;13642:18;;;13635:34;;;13685:18;;;13678:34;;;9499:17:5;;9519:14;;:43;;13548:18:9;;9519:70:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;9499:90;;9624:12;9619:106;;9690:4;9672:22;;9619:106;9469:282;9436:400;;;9805:4;9787:22;;9436:400;9381:477;9246:777;;;10000:4;9982:22;;9246:777;9080:957;;9042:995;8979:1067;10070:15;10066:768;;;10102:18;10122:22;10148:34;10158:6;10166:15;10148:9;:34::i;:::-;10101:81;;;;10200:17;:45;;;;-1:-1:-1;;;;;;10221:24:5;;;;10200:45;10196:628;;;10269:54;;-1:-1:-1;;;10269:54:5;;-1:-1:-1;;;;;4124:32:9;;;10269:54:5;;;4106:51:9;10269:46:5;;;;;4079:18:9;;10269:54:5;;;;;;;;;;;;;;;;;;-1:-1:-1;10269:54:5;;;;;;;;-1:-1:-1;;10269:54:5;;;;;;;;;;;;:::i;:::-;;;10265:485;;480:1;10710:21;;10196:628;;10265:485;10400:14;;:75;;-1:-1:-1;;;10400:75:5;;-1:-1:-1;;;;;13593:32:9;;;10400:75:5;;;13575:51:9;13642:18;;;13635:34;;;13685:18;;;13678:34;;;10380:17:5;;10400:14;;:43;;13548:18:9;;10400:75:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;10380:95;;10502:12;10497:166;;-1:-1:-1;480:1:5;;8646:2217;-1:-1:-1;;;;;;;;;8646:2217:5:o;10497:166::-;-1:-1:-1;10625:15:5;-1:-1:-1;10196:628:5;;;480:1;10788:21;;10196:628;10087:747;;10066:768;-1:-1:-1;10851:5:5;;8646:2217;-1:-1:-1;;;;8646:2217:5:o;2188:106:2:-;1928:7;;;;2246:41;;;;-1:-1:-1;;;2246:41:2;;14175:2:9;2246:41:2;;;14157:21:9;14214:2;14194:18;;;14187:30;-1:-1:-1;;;14233:18:9;;;14226:50;14293:18;;2246:41:2;13973:344:9;2010:106:2;1928:7;;;;2079:9;2071:38;;;;-1:-1:-1;;;2071:38:2;;14524:2:9;2071:38:2;;;14506:21:9;14563:2;14543:18;;;14536:30;-1:-1:-1;;;14582:18:9;;;14575:46;14638:18;;2071:38:2;14322:340:9;1104:111:0;4910:13:1;;;;;;;4902:69;;;;-1:-1:-1;;;4902:69:1;;;;;;;:::i;:::-;1176:32:0::1;929:10:4::0;1176:18:0::1;:32::i;1166:95:2:-:0;4910:13:1;;;;;;;4902:69;;;;-1:-1:-1;;;4902:69:1;;;;;;;:::i;:::-;1239:7:2::1;:15:::0;;-1:-1:-1;;1239:15:2::1;::::0;;1166:95::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14:127:9:-;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:253;218:2;212:9;260:4;248:17;;295:18;280:34;;316:22;;;277:62;274:88;;;342:18;;:::i;:::-;378:2;371:22;146:253;:::o;660:275::-;731:2;725:9;796:2;777:13;;-1:-1:-1;;773:27:9;761:40;;831:18;816:34;;852:22;;;813:62;810:88;;;878:18;;:::i;:::-;914:2;907:22;660:275;;-1:-1:-1;660:275:9:o;940:131::-;-1:-1:-1;;;;;1015:31:9;;1005:42;;995:70;;1061:1;1058;1051:12;1076:118;1162:5;1155:13;1148:21;1141:5;1138:32;1128:60;;1184:1;1181;1174:12;1199:553;1246:5;1299:3;1292:4;1284:6;1280:17;1276:27;1266:55;;1317:1;1314;1307:12;1266:55;1341:22;;:::i;:::-;1385:3;1423:2;1415:6;1411:15;1449:3;1441:6;1438:15;1435:35;;;1466:1;1463;1456:12;1435:35;1490:6;1505:218;1521:6;1516:3;1513:15;1505:218;;;1603:3;1590:17;1620:28;1642:5;1620:28;:::i;:::-;1661:18;;1708:4;1699:14;;;;1538;1505:218;;;-1:-1:-1;1741:5:9;;1199:553;-1:-1:-1;;;;;1199:553:9:o;1757:910::-;1815:5;1863:4;1851:9;1846:3;1842:19;1838:30;1835:50;;;1881:1;1878;1871:12;1835:50;1903:22;;:::i;:::-;1894:31;;1962:9;1949:23;1981:33;2006:7;1981:33;:::i;:::-;2023:22;;2064:2;2104;2089:18;;2085:28;-1:-1:-1;2075:56:9;;2127:1;2124;2117:12;2075:56;2151:22;;:::i;:::-;2195:3;2236;2225:9;2221:19;2263:3;2255:6;2252:15;2249:35;;;2280:1;2277;2270:12;2249:35;2319:2;2308:9;2304:18;2331:223;2347:6;2342:3;2339:15;2331:223;;;2429:3;2416:17;2446:33;2471:7;2446:33;:::i;:::-;2492:20;;2532:12;;;;2364;;2331:223;;;2335:3;2586:5;2581:2;2574:5;2570:14;2563:29;2626:34;2656:3;2648:6;2626:34;:::i;:::-;2619:4;2612:5;2608:16;2601:60;;;;;1757:910;;;;:::o;2672:1011::-;2784:6;2815:2;2858;2846:9;2837:7;2833:23;2829:32;2826:52;;;2874:1;2871;2864:12;2826:52;2914:9;2901:23;2943:18;2984:2;2976:6;2973:14;2970:34;;;3000:1;2997;2990:12;2970:34;3038:6;3027:9;3023:22;3013:32;;3083:7;3076:4;3072:2;3068:13;3064:27;3054:55;;3105:1;3102;3095:12;3054:55;3141:2;3128:16;3163:2;3159;3156:10;3153:36;;;3169:18;;:::i;:::-;3209:36;3241:2;3236;3233:1;3229:10;3225:19;3209:36;:::i;:::-;3279:15;;;3310:12;;;;-1:-1:-1;3341:4:9;3380:11;;;3372:20;;3368:29;;;3409:19;;;3406:39;;;3441:1;3438;3431:12;3406:39;3465:11;;;;3485:168;3501:6;3496:3;3493:15;3485:168;;;3567:43;3602:7;3597:3;3567:43;:::i;:::-;3555:56;;3518:12;;;;3631;;;;3485:168;;;-1:-1:-1;3672:5:9;2672:1011;-1:-1:-1;;;;;;;2672:1011:9:o;3688:235::-;3775:6;3828:3;3816:9;3807:7;3803:23;3799:33;3796:53;;;3845:1;3842;3835:12;3796:53;3868:49;3909:7;3898:9;3868:49;:::i;:::-;3858:59;3688:235;-1:-1:-1;;;3688:235:9:o;4168:151::-;4244:20;;4293:1;4283:12;;4273:40;;4309:1;4306;4299:12;4273:40;4168:151;;;:::o;4324:478::-;4412:6;4420;4428;4481:2;4469:9;4460:7;4456:23;4452:32;4449:52;;;4497:1;4494;4487:12;4449:52;4536:9;4523:23;4555:31;4580:5;4555:31;:::i;:::-;4605:5;-1:-1:-1;4629:46:9;4671:2;4656:18;;4629:46;:::i;:::-;4619:56;;4727:2;4716:9;4712:18;4699:32;4740:30;4762:7;4740:30;:::i;:::-;4789:7;4779:17;;;4324:478;;;;;:::o;5181:343::-;5263:6;5271;5324:2;5312:9;5303:7;5299:23;5295:32;5292:52;;;5340:1;5337;5330:12;5292:52;5379:9;5366:23;5398:31;5423:5;5398:31;:::i;:::-;5448:5;-1:-1:-1;5472:46:9;5514:2;5499:18;;5472:46;:::i;:::-;5462:56;;5181:343;;;;;:::o;6026:247::-;6085:6;6138:2;6126:9;6117:7;6113:23;6109:32;6106:52;;;6154:1;6151;6144:12;6106:52;6193:9;6180:23;6212:31;6237:5;6212:31;:::i;6278:484::-;6369:6;6377;6385;6438:2;6426:9;6417:7;6413:23;6409:32;6406:52;;;6454:1;6451;6444:12;6406:52;6493:9;6480:23;6512:31;6537:5;6512:31;:::i;:::-;6562:5;-1:-1:-1;6619:2:9;6604:18;;6591:32;6632:33;6591:32;6632:33;:::i;:::-;6684:7;-1:-1:-1;6710:46:9;6752:2;6737:18;;6710:46;:::i;:::-;6700:56;;6278:484;;;;;:::o;7051:1048::-;7314:13;;-1:-1:-1;;;;;7310:22:9;;;7292:41;;7352:4;7391:15;;;7385:22;7241:3;7226:19;;;7264;7352:4;7427:18;;;7199:4;7527:176;7541:4;7538:1;7535:11;7527:176;;;7604:13;;7600:22;;7588:35;;7678:15;;;;7643:12;;;;7561:1;7554:9;7527:176;;;7531:3;;;7752:4;7744:6;7740:17;7734:24;7712:46;;7795:4;7784:9;7780:20;7882:1;7892:201;7908:4;7903:3;7900:13;7892:201;;;7987:15;;7980:23;7973:31;7959:46;;8066:17;;;;8027:14;;;;7932:1;7923:11;7892:201;;;7896:3;;;;7051:1048;;;;:::o;8450:127::-;8511:10;8506:3;8502:20;8499:1;8492:31;8542:4;8539:1;8532:15;8566:4;8563:1;8556:15;8582:232;8621:3;8642:17;;;8639:140;;8701:10;8696:3;8692:20;8689:1;8682:31;8736:4;8733:1;8726:15;8764:4;8761:1;8754:15;8639:140;-1:-1:-1;8806:1:9;8795:13;;8582:232::o;8819:345::-;9021:2;9003:21;;;9060:2;9040:18;;;9033:30;-1:-1:-1;;;9094:2:9;9079:18;;9072:51;9155:2;9140:18;;8819:345::o;9169:127::-;9230:10;9225:3;9221:20;9218:1;9211:31;9261:4;9258:1;9251:15;9285:4;9282:1;9275:15;9653:251;9723:6;9776:2;9764:9;9755:7;9751:23;9747:32;9744:52;;;9792:1;9789;9782:12;9744:52;9824:9;9818:16;9843:31;9868:5;9843:31;:::i;9909:184::-;9979:6;10032:2;10020:9;10011:7;10007:23;10003:32;10000:52;;;10048:1;10045;10038:12;10000:52;-1:-1:-1;10071:16:9;;9909:184;-1:-1:-1;9909:184:9:o;12961:407::-;13163:2;13145:21;;;13202:2;13182:18;;;13175:30;13241:34;13236:2;13221:18;;13214:62;-1:-1:-1;;;13307:2:9;13292:18;;13285:41;13358:3;13343:19;;12961:407::o;13723:245::-;13790:6;13843:2;13831:9;13822:7;13818:23;13814:32;13811:52;;;13859:1;13856;13849:12;13811:52;13891:9;13885:16;13910:28;13932:5;13910:28;:::i"},"gasEstimates":{"creation":{"codeDepositCost":"1387800","executionCost":"1444","totalCost":"1389244"},"external":{"INVALID_PRICE()":"240","boundValidator()":"2394","enableOracle(address,uint8,bool)":"infinite","getOracle(address,uint8)":"infinite","getTokenConfig(address)":"infinite","getUnderlyingPrice(address)":"infinite","initialize(address)":"infinite","owner()":"2387","pause()":"infinite","paused()":"2359","renounceOwnership()":"infinite","setOracle(address,address,uint8)":"infinite","setTokenConfig((address,address[3],bool[3]))":"infinite","setTokenConfigs((address,address[3],bool[3])[])":"infinite","transferOwnership(address)":"infinite","unpause()":"infinite","updatePrice(address)":"infinite"},"internal":{"_getFallbackOraclePrice(address)":"infinite","_getMainOraclePrice(address)":"infinite"}},"methodIdentifiers":{"INVALID_PRICE()":"4bf39cba","boundValidator()":"33d33494","enableOracle(address,uint8,bool)":"4b932b8f","getOracle(address,uint8)":"8b855da4","getTokenConfig(address)":"cb67e3b1","getUnderlyingPrice(address)":"fc57d4df","initialize(address)":"c4d66de8","owner()":"8da5cb5b","pause()":"8456cb59","paused()":"5c975abb","renounceOwnership()":"715018a6","setOracle(address,address,uint8)":"a6b1344a","setTokenConfig((address,address[3],bool[3]))":"333a21b0","setTokenConfigs((address,address[3],bool[3])[])":"2cfa3871","transferOwnership(address)":"f2fde38b","unpause()":"3f4ba83a","updatePrice(address)":"96e85ced"}},"metadata":"{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bool\",\"name\":\"isEnable\",\"type\":\"bool\"}],\"name\":\"GlobalEnable\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"role\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"bool\",\"name\":\"enable\",\"type\":\"bool\"}],\"name\":\"OracleEnabled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oracle\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"role\",\"type\":\"uint256\"}],\"name\":\"OracleSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"mainOracle\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"pivotOracle\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"fallbackOracle\",\"type\":\"address\"}],\"name\":\"TokenConfigAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"INVALID_PRICE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"boundValidator\",\"outputs\":[{\"internalType\":\"contract BoundValidatorInterface\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"enum ResilientOracle.OracleRole\",\"name\":\"role\",\"type\":\"uint8\"},{\"internalType\":\"bool\",\"name\":\"enable\",\"type\":\"bool\"}],\"name\":\"enableOracle\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"vToken\",\"type\":\"address\"},{\"internalType\":\"enum ResilientOracle.OracleRole\",\"name\":\"role\",\"type\":\"uint8\"}],\"name\":\"getOracle\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"oracle\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"vToken\",\"type\":\"address\"}],\"name\":\"getTokenConfig\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"address[3]\",\"name\":\"oracles\",\"type\":\"address[3]\"},{\"internalType\":\"bool[3]\",\"name\":\"enableFlagsForOracles\",\"type\":\"bool[3]\"}],\"internalType\":\"struct ResilientOracle.TokenConfig\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"vToken\",\"type\":\"address\"}],\"name\":\"getUnderlyingPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract BoundValidatorInterface\",\"name\":\"_boundValidator\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"oracle\",\"type\":\"address\"},{\"internalType\":\"enum ResilientOracle.OracleRole\",\"name\":\"role\",\"type\":\"uint8\"}],\"name\":\"setOracle\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"address[3]\",\"name\":\"oracles\",\"type\":\"address[3]\"},{\"internalType\":\"bool[3]\",\"name\":\"enableFlagsForOracles\",\"type\":\"bool[3]\"}],\"internalType\":\"struct ResilientOracle.TokenConfig\",\"name\":\"tokenConfig\",\"type\":\"tuple\"}],\"name\":\"setTokenConfig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"address[3]\",\"name\":\"oracles\",\"type\":\"address[3]\"},{\"internalType\":\"bool[3]\",\"name\":\"enableFlagsForOracles\",\"type\":\"bool[3]\"}],\"internalType\":\"struct ResilientOracle.TokenConfig[]\",\"name\":\"tokenConfigs_\",\"type\":\"tuple[]\"}],\"name\":\"setTokenConfigs\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"vToken\",\"type\":\"address\"}],\"name\":\"updatePrice\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"enableOracle(address,uint8,bool)\":{\"params\":{\"asset\":\"asset address\",\"enable\":\"expected status\",\"role\":\"oracle role\"}},\"getOracle(address,uint8)\":{\"params\":{\"role\":\"oracle role\",\"vToken\":\"vtoken address\"}},\"getTokenConfig(address)\":{\"details\":\"Get token config by vToken address\",\"params\":{\"vToken\":\"vtoken address\"}},\"getUnderlyingPrice(address)\":{\"params\":{\"vToken\":\"vToken address\"},\"returns\":{\"_0\":\"price USD price in 18 decimals\"}},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"paused()\":{\"details\":\"Returns true if the contract is paused, and false otherwise.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.\"},\"setOracle(address,address,uint8)\":{\"params\":{\"asset\":\"asset address\",\"oracle\":\"oracle address\",\"role\":\"oracle role\"}},\"setTokenConfig((address,address[3],bool[3]))\":{\"params\":{\"tokenConfig\":\"token config struct\"}},\"setTokenConfigs((address,address[3],bool[3])[])\":{\"params\":{\"tokenConfigs_\":\"token config array\"}},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"},\"updatePrice(address)\":{\"params\":{\"vToken\":\"vToken address\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"enableOracle(address,uint8,bool)\":{\"notice\":\"Enable/disable oracle for the input vToken, input vToken MUST exist\"},\"getOracle(address,uint8)\":{\"notice\":\"Get oracle & enabling status by vToken address\"},\"getUnderlyingPrice(address)\":{\"notice\":\"Get price of underlying asset of the input vToken, check flow: - check the global pausing status - check price from main oracle against pivot oracle - check price from fallback oracle against pivot oracle or main oracle if fails\"},\"pause()\":{\"notice\":\"Pause protocol\"},\"setOracle(address,address,uint8)\":{\"notice\":\"Set oracle of any type for the input vToken, input vToken MUST exist\"},\"setTokenConfig((address,address[3],bool[3]))\":{\"notice\":\"Set single token configs, vToken MUST HAVE NOT be added before, and main oracle MUST NOT be zero address\"},\"setTokenConfigs((address,address[3],bool[3])[])\":{\"notice\":\"Batch set token configs\"},\"unpause()\":{\"notice\":\"Unpause protocol\"},\"updatePrice(address)\":{\"notice\":\"Currently it calls the updateTwap\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/ResilientOracle.sol\":\"ResilientOracle\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../utils/ContextUpgradeable.sol\\\";\\nimport \\\"../proxy/utils/Initializable.sol\\\";\\n\\n/**\\n * @dev Contract module which provides a basic access control mechanism, where\\n * there is an account (an owner) that can be granted exclusive access to\\n * specific functions.\\n *\\n * By default, the owner account will be the one that deploys the contract. This\\n * can later be changed with {transferOwnership}.\\n *\\n * This module is used through inheritance. It will make available the modifier\\n * `onlyOwner`, which can be applied to your functions to restrict their use to\\n * the owner.\\n */\\nabstract contract OwnableUpgradeable is Initializable, ContextUpgradeable {\\n address private _owner;\\n\\n event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\\n\\n /**\\n * @dev Initializes the contract setting the deployer as the initial owner.\\n */\\n function __Ownable_init() internal onlyInitializing {\\n __Ownable_init_unchained();\\n }\\n\\n function __Ownable_init_unchained() internal onlyInitializing {\\n _transferOwnership(_msgSender());\\n }\\n\\n /**\\n * @dev Throws if called by any account other than the owner.\\n */\\n modifier onlyOwner() {\\n _checkOwner();\\n _;\\n }\\n\\n /**\\n * @dev Returns the address of the current owner.\\n */\\n function owner() public view virtual returns (address) {\\n return _owner;\\n }\\n\\n /**\\n * @dev Throws if the sender is not the owner.\\n */\\n function _checkOwner() internal view virtual {\\n require(owner() == _msgSender(), \\\"Ownable: caller is not the owner\\\");\\n }\\n\\n /**\\n * @dev Leaves the contract without owner. It will not be possible to call\\n * `onlyOwner` functions anymore. Can only be called by the current owner.\\n *\\n * NOTE: Renouncing ownership will leave the contract without an owner,\\n * thereby removing any functionality that is only available to the owner.\\n */\\n function renounceOwnership() public virtual onlyOwner {\\n _transferOwnership(address(0));\\n }\\n\\n /**\\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n * Can only be called by the current owner.\\n */\\n function transferOwnership(address newOwner) public virtual onlyOwner {\\n require(newOwner != address(0), \\\"Ownable: new owner is the zero address\\\");\\n _transferOwnership(newOwner);\\n }\\n\\n /**\\n * @dev Transfers ownership of the contract to a new account (`newOwner`).\\n * Internal function without access restriction.\\n */\\n function _transferOwnership(address newOwner) internal virtual {\\n address oldOwner = _owner;\\n _owner = newOwner;\\n emit OwnershipTransferred(oldOwner, newOwner);\\n }\\n\\n /**\\n * @dev This empty reserved space is put in place to allow future versions to add new\\n * variables without shifting down storage in the inheritance chain.\\n * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\\n */\\n uint256[49] private __gap;\\n}\\n\",\"keccak256\":\"0x247c62047745915c0af6b955470a72d1696ebad4352d7d3011aef1a2463cd888\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (proxy/utils/Initializable.sol)\\n\\npragma solidity ^0.8.2;\\n\\nimport \\\"../../utils/AddressUpgradeable.sol\\\";\\n\\n/**\\n * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\\n * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an\\n * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\\n * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\\n *\\n * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be\\n * reused. This mechanism prevents re-execution of each \\\"step\\\" but allows the creation of new initialization steps in\\n * case an upgrade adds a module that needs to be initialized.\\n *\\n * For example:\\n *\\n * [.hljs-theme-light.nopadding]\\n * ```\\n * contract MyToken is ERC20Upgradeable {\\n * function initialize() initializer public {\\n * __ERC20_init(\\\"MyToken\\\", \\\"MTK\\\");\\n * }\\n * }\\n * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {\\n * function initializeV2() reinitializer(2) public {\\n * __ERC20Permit_init(\\\"MyToken\\\");\\n * }\\n * }\\n * ```\\n *\\n * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\\n * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.\\n *\\n * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\\n * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\\n *\\n * [CAUTION]\\n * ====\\n * Avoid leaving a contract uninitialized.\\n *\\n * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation\\n * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke\\n * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:\\n *\\n * [.hljs-theme-light.nopadding]\\n * ```\\n * /// @custom:oz-upgrades-unsafe-allow constructor\\n * constructor() {\\n * _disableInitializers();\\n * }\\n * ```\\n * ====\\n */\\nabstract contract Initializable {\\n /**\\n * @dev Indicates that the contract has been initialized.\\n * @custom:oz-retyped-from bool\\n */\\n uint8 private _initialized;\\n\\n /**\\n * @dev Indicates that the contract is in the process of being initialized.\\n */\\n bool private _initializing;\\n\\n /**\\n * @dev Triggered when the contract has been initialized or reinitialized.\\n */\\n event Initialized(uint8 version);\\n\\n /**\\n * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,\\n * `onlyInitializing` functions can be used to initialize parent contracts. Equivalent to `reinitializer(1)`.\\n */\\n modifier initializer() {\\n bool isTopLevelCall = !_initializing;\\n require(\\n (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),\\n \\\"Initializable: contract is already initialized\\\"\\n );\\n _initialized = 1;\\n if (isTopLevelCall) {\\n _initializing = true;\\n }\\n _;\\n if (isTopLevelCall) {\\n _initializing = false;\\n emit Initialized(1);\\n }\\n }\\n\\n /**\\n * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the\\n * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be\\n * used to initialize parent contracts.\\n *\\n * `initializer` is equivalent to `reinitializer(1)`, so a reinitializer may be used after the original\\n * initialization step. This is essential to configure modules that are added through upgrades and that require\\n * initialization.\\n *\\n * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in\\n * a contract, executing them in the right order is up to the developer or operator.\\n */\\n modifier reinitializer(uint8 version) {\\n require(!_initializing && _initialized < version, \\\"Initializable: contract is already initialized\\\");\\n _initialized = version;\\n _initializing = true;\\n _;\\n _initializing = false;\\n emit Initialized(version);\\n }\\n\\n /**\\n * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the\\n * {initializer} and {reinitializer} modifiers, directly or indirectly.\\n */\\n modifier onlyInitializing() {\\n require(_initializing, \\\"Initializable: contract is not initializing\\\");\\n _;\\n }\\n\\n /**\\n * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.\\n * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized\\n * to any version. It is recommended to use this to lock implementation contracts that are designed to be called\\n * through proxies.\\n */\\n function _disableInitializers() internal virtual {\\n require(!_initializing, \\\"Initializable: contract is initializing\\\");\\n if (_initialized < type(uint8).max) {\\n _initialized = type(uint8).max;\\n emit Initialized(type(uint8).max);\\n }\\n }\\n}\\n\",\"keccak256\":\"0x0203dcadc5737d9ef2c211d6fa15d18ebc3b30dfa51903b64870b01a062b0b4e\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)\\n\\npragma solidity ^0.8.0;\\n\\nimport \\\"../utils/ContextUpgradeable.sol\\\";\\nimport \\\"../proxy/utils/Initializable.sol\\\";\\n\\n/**\\n * @dev Contract module which allows children to implement an emergency stop\\n * mechanism that can be triggered by an authorized account.\\n *\\n * This module is used through inheritance. It will make available the\\n * modifiers `whenNotPaused` and `whenPaused`, which can be applied to\\n * the functions of your contract. Note that they will not be pausable by\\n * simply including this module, only once the modifiers are put in place.\\n */\\nabstract contract PausableUpgradeable is Initializable, ContextUpgradeable {\\n /**\\n * @dev Emitted when the pause is triggered by `account`.\\n */\\n event Paused(address account);\\n\\n /**\\n * @dev Emitted when the pause is lifted by `account`.\\n */\\n event Unpaused(address account);\\n\\n bool private _paused;\\n\\n /**\\n * @dev Initializes the contract in unpaused state.\\n */\\n function __Pausable_init() internal onlyInitializing {\\n __Pausable_init_unchained();\\n }\\n\\n function __Pausable_init_unchained() internal onlyInitializing {\\n _paused = false;\\n }\\n\\n /**\\n * @dev Modifier to make a function callable only when the contract is not paused.\\n *\\n * Requirements:\\n *\\n * - The contract must not be paused.\\n */\\n modifier whenNotPaused() {\\n _requireNotPaused();\\n _;\\n }\\n\\n /**\\n * @dev Modifier to make a function callable only when the contract is paused.\\n *\\n * Requirements:\\n *\\n * - The contract must be paused.\\n */\\n modifier whenPaused() {\\n _requirePaused();\\n _;\\n }\\n\\n /**\\n * @dev Returns true if the contract is paused, and false otherwise.\\n */\\n function paused() public view virtual returns (bool) {\\n return _paused;\\n }\\n\\n /**\\n * @dev Throws if the contract is paused.\\n */\\n function _requireNotPaused() internal view virtual {\\n require(!paused(), \\\"Pausable: paused\\\");\\n }\\n\\n /**\\n * @dev Throws if the contract is not paused.\\n */\\n function _requirePaused() internal view virtual {\\n require(paused(), \\\"Pausable: not paused\\\");\\n }\\n\\n /**\\n * @dev Triggers stopped state.\\n *\\n * Requirements:\\n *\\n * - The contract must not be paused.\\n */\\n function _pause() internal virtual whenNotPaused {\\n _paused = true;\\n emit Paused(_msgSender());\\n }\\n\\n /**\\n * @dev Returns to normal state.\\n *\\n * Requirements:\\n *\\n * - The contract must be paused.\\n */\\n function _unpause() internal virtual whenPaused {\\n _paused = false;\\n emit Unpaused(_msgSender());\\n }\\n\\n /**\\n * @dev This empty reserved space is put in place to allow future versions to add new\\n * variables without shifting down storage in the inheritance chain.\\n * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\\n */\\n uint256[49] private __gap;\\n}\\n\",\"keccak256\":\"0x40c636b4572ff5f1dc50cf22097e93c0723ee14eff87e99ac2b02636eeca1250\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)\\n\\npragma solidity ^0.8.1;\\n\\n/**\\n * @dev Collection of functions related to the address type\\n */\\nlibrary AddressUpgradeable {\\n /**\\n * @dev Returns true if `account` is a contract.\\n *\\n * [IMPORTANT]\\n * ====\\n * It is unsafe to assume that an address for which this function returns\\n * false is an externally-owned account (EOA) and not a contract.\\n *\\n * Among others, `isContract` will return false for the following\\n * types of addresses:\\n *\\n * - an externally-owned account\\n * - a contract in construction\\n * - an address where a contract will be created\\n * - an address where a contract lived, but was destroyed\\n * ====\\n *\\n * [IMPORTANT]\\n * ====\\n * You shouldn't rely on `isContract` to protect against flash loan attacks!\\n *\\n * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\\n * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\\n * constructor.\\n * ====\\n */\\n function isContract(address account) internal view returns (bool) {\\n // This method relies on extcodesize/address.code.length, which returns 0\\n // for contracts in construction, since the code is only stored at the end\\n // of the constructor execution.\\n\\n return account.code.length > 0;\\n }\\n\\n /**\\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\\n * `recipient`, forwarding all available gas and reverting on errors.\\n *\\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\\n * imposed by `transfer`, making them unable to receive funds via\\n * `transfer`. {sendValue} removes this limitation.\\n *\\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\\n *\\n * IMPORTANT: because control is transferred to `recipient`, care must be\\n * taken to not create reentrancy vulnerabilities. Consider using\\n * {ReentrancyGuard} or the\\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\\n */\\n function sendValue(address payable recipient, uint256 amount) internal {\\n require(address(this).balance >= amount, \\\"Address: insufficient balance\\\");\\n\\n (bool success, ) = recipient.call{value: amount}(\\\"\\\");\\n require(success, \\\"Address: unable to send value, recipient may have reverted\\\");\\n }\\n\\n /**\\n * @dev Performs a Solidity function call using a low level `call`. A\\n * plain `call` is an unsafe replacement for a function call: use this\\n * function instead.\\n *\\n * If `target` reverts with a revert reason, it is bubbled up by this\\n * function (like regular Solidity function calls).\\n *\\n * Returns the raw returned data. To convert to the expected return value,\\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\\n *\\n * Requirements:\\n *\\n * - `target` must be a contract.\\n * - calling `target` with `data` must not revert.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\\n return functionCall(target, data, \\\"Address: low-level call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\\n * `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, 0, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but also transferring `value` wei to `target`.\\n *\\n * Requirements:\\n *\\n * - the calling contract must have an ETH balance of at least `value`.\\n * - the called Solidity function must be `payable`.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value\\n ) internal returns (bytes memory) {\\n return functionCallWithValue(target, data, value, \\\"Address: low-level call with value failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\\n * with `errorMessage` as a fallback revert reason when `target` reverts.\\n *\\n * _Available since v3.1._\\n */\\n function functionCallWithValue(\\n address target,\\n bytes memory data,\\n uint256 value,\\n string memory errorMessage\\n ) internal returns (bytes memory) {\\n require(address(this).balance >= value, \\\"Address: insufficient balance for call\\\");\\n require(isContract(target), \\\"Address: call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.call{value: value}(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\\n return functionStaticCall(target, data, \\\"Address: low-level static call failed\\\");\\n }\\n\\n /**\\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\\n * but performing a static call.\\n *\\n * _Available since v3.3._\\n */\\n function functionStaticCall(\\n address target,\\n bytes memory data,\\n string memory errorMessage\\n ) internal view returns (bytes memory) {\\n require(isContract(target), \\\"Address: static call to non-contract\\\");\\n\\n (bool success, bytes memory returndata) = target.staticcall(data);\\n return verifyCallResult(success, returndata, errorMessage);\\n }\\n\\n /**\\n * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the\\n * revert reason using the provided one.\\n *\\n * _Available since v4.3._\\n */\\n function verifyCallResult(\\n bool success,\\n bytes memory returndata,\\n string memory errorMessage\\n ) internal pure returns (bytes memory) {\\n if (success) {\\n return returndata;\\n } else {\\n // Look for revert reason and bubble it up if present\\n if (returndata.length > 0) {\\n // The easiest way to bubble the revert reason is using memory via assembly\\n /// @solidity memory-safe-assembly\\n assembly {\\n let returndata_size := mload(returndata)\\n revert(add(32, returndata), returndata_size)\\n }\\n } else {\\n revert(errorMessage);\\n }\\n }\\n }\\n}\\n\",\"keccak256\":\"0x611aa3f23e59cfdd1863c536776407b3e33d695152a266fa7cfb34440a29a8a3\",\"license\":\"MIT\"},\"@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\\n\\npragma solidity ^0.8.0;\\nimport \\\"../proxy/utils/Initializable.sol\\\";\\n\\n/**\\n * @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 *\\n * This contract is only required for intermediate, library-like contracts.\\n */\\nabstract contract ContextUpgradeable is Initializable {\\n function __Context_init() internal onlyInitializing {\\n }\\n\\n function __Context_init_unchained() internal onlyInitializing {\\n }\\n function _msgSender() internal view virtual returns (address) {\\n return msg.sender;\\n }\\n\\n function _msgData() internal view virtual returns (bytes calldata) {\\n return msg.data;\\n }\\n\\n /**\\n * @dev This empty reserved space is put in place to allow future versions to add new\\n * variables without shifting down storage in the inheritance chain.\\n * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\\n */\\n uint256[50] private __gap;\\n}\\n\",\"keccak256\":\"0x963ea7f0b48b032eef72fe3a7582edf78408d6f834115b9feadd673a4d5bd149\",\"license\":\"MIT\"},\"contracts/ResilientOracle.sol\":{\"content\":\"// SPDX-License-Identifier: UNLICENSED\\npragma solidity ^0.8.0;\\npragma experimental ABIEncoderV2;\\n\\nimport \\\"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol\\\";\\nimport \\\"@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol\\\";\\nimport \\\"./interfaces/VBep20Interface.sol\\\";\\nimport \\\"./interfaces/OracleInterface.sol\\\";\\n\\ncontract ResilientOracle is OwnableUpgradeable, PausableUpgradeable, ResilientOracleInterface {\\n uint256 public constant INVALID_PRICE = 0;\\n\\n BoundValidatorInterface public boundValidator;\\n\\n /**\\n * @dev oracle role, we have 3 roles at the moment\\n * MAIN: The most trustworthy price source\\n * PIVOT: Not so trustworthy price source, used as a loose sanity checker\\n * FALLBACK: The backup source when main oracle price is invalidated\\n */\\n enum OracleRole {\\n MAIN,\\n PIVOT,\\n FALLBACK\\n }\\n\\n struct TokenConfig {\\n /// @notice asset address\\n address asset;\\n /// @notice `oracles` stores the oracles in the order of: [main, pivot, fallback],\\n /// it can be indexed with enum OracleRole value\\n address[3] oracles;\\n /// @notice `enableFlagsForOracles` stores the oracle enable statuses\\n /// for each oracle in the same order as `oracles`\\n bool[3] enableFlagsForOracles;\\n }\\n\\n mapping(address => TokenConfig) private tokenConfigs;\\n\\n event GlobalEnable(bool indexed isEnable);\\n event TokenConfigAdded(\\n address indexed asset,\\n address indexed mainOracle,\\n address indexed pivotOracle,\\n address fallbackOracle\\n );\\n event OracleSet(address indexed asset, address indexed oracle, uint256 indexed role);\\n event OracleEnabled(address indexed asset, uint256 indexed role, bool indexed enable);\\n\\n modifier notNullAddress(address someone) {\\n require(someone != address(0), \\\"can't be zero address\\\");\\n _;\\n }\\n\\n /**\\n * @notice Check whether token config exist by checking whether vToken is zero address\\n * @dev vToken can't be set to zero, so it's suitable to be used to check\\n * @param asset asset address\\n */\\n modifier checkTokenConfigExistance(address asset) {\\n require(tokenConfigs[asset].asset != address(0), \\\"token config must exist\\\");\\n _;\\n }\\n\\n function initialize(BoundValidatorInterface _boundValidator) public initializer {\\n require(address(_boundValidator) != address(0), \\\"invaliud bound validator address\\\");\\n boundValidator = _boundValidator;\\n\\n __Ownable_init();\\n __Pausable_init();\\n }\\n\\n /**\\n * @notice Pause protocol\\n */\\n function pause() external onlyOwner {\\n _pause();\\n }\\n\\n /**\\n * @notice Unpause protocol\\n */\\n function unpause() external onlyOwner {\\n _unpause();\\n }\\n\\n /**\\n * @dev Get token config by vToken address\\n * @param vToken vtoken address\\n */\\n function getTokenConfig(address vToken) external view returns (TokenConfig memory) {\\n address asset = VBep20Interface(vToken).underlying();\\n return tokenConfigs[asset];\\n }\\n\\n /**\\n * @notice Get oracle & enabling status by vToken address\\n * @param vToken vtoken address\\n * @param role oracle role\\n */\\n function getOracle(address vToken, OracleRole role) public view returns (address oracle, bool enabled) {\\n address asset = VBep20Interface(vToken).underlying();\\n oracle = tokenConfigs[asset].oracles[uint256(role)];\\n enabled = tokenConfigs[asset].enableFlagsForOracles[uint256(role)];\\n }\\n\\n /**\\n * @notice Batch set token configs\\n * @param tokenConfigs_ token config array\\n */\\n function setTokenConfigs(TokenConfig[] memory tokenConfigs_) external onlyOwner {\\n require(tokenConfigs_.length != 0, \\\"length can't be 0\\\");\\n for (uint256 i = 0; i < tokenConfigs_.length; i++) {\\n setTokenConfig(tokenConfigs_[i]);\\n }\\n }\\n\\n /**\\n * @notice Set single token configs, vToken MUST HAVE NOT be added before, and main oracle MUST NOT be zero address\\n * @param tokenConfig token config struct\\n */\\n function setTokenConfig(TokenConfig memory tokenConfig)\\n public\\n onlyOwner\\n notNullAddress(tokenConfig.asset)\\n notNullAddress(tokenConfig.oracles[uint256(OracleRole.MAIN)])\\n {\\n tokenConfigs[tokenConfig.asset] = tokenConfig;\\n emit TokenConfigAdded(\\n tokenConfig.asset,\\n tokenConfig.oracles[uint256(OracleRole.MAIN)],\\n tokenConfig.oracles[uint256(OracleRole.PIVOT)],\\n tokenConfig.oracles[uint256(OracleRole.FALLBACK)]\\n );\\n }\\n\\n /**\\n * @notice Set oracle of any type for the input vToken, input vToken MUST exist\\n * @param asset asset address\\n * @param oracle oracle address\\n * @param role oracle role\\n */\\n function setOracle(\\n address asset,\\n address oracle,\\n OracleRole role\\n ) external onlyOwner notNullAddress(asset) checkTokenConfigExistance(asset) {\\n require(!(oracle == address(0) && role == OracleRole.MAIN), \\\"can't set zero address to main oracle\\\");\\n tokenConfigs[asset].oracles[uint256(role)] = oracle;\\n emit OracleSet(asset, oracle, uint256(role));\\n }\\n\\n /**\\n * @notice Enable/disable oracle for the input vToken, input vToken MUST exist\\n * @param asset asset address\\n * @param role oracle role\\n * @param enable expected status\\n */\\n function enableOracle(\\n address asset,\\n OracleRole role,\\n bool enable\\n ) external onlyOwner notNullAddress(asset) checkTokenConfigExistance(asset) {\\n tokenConfigs[asset].enableFlagsForOracles[uint256(role)] = enable;\\n emit OracleEnabled(asset, uint256(role), enable);\\n }\\n\\n /**\\n * @notice Currently it calls the updateTwap\\n * @param vToken vToken address\\n */\\n function updatePrice(address vToken) external override {\\n (address pivotOracle, bool pivotOracleEnabled) = getOracle(vToken, OracleRole.PIVOT);\\n if (pivotOracle != address(0) && pivotOracleEnabled) {\\n //if PIVOT oracle is PythOrcle it will revert so we need to catch the revert\\n try TwapInterface(pivotOracle).updateTwap(vToken) returns (uint256 _price) {} catch {}\\n }\\n }\\n\\n /**\\n * @notice Get price of underlying asset of the input vToken, check flow:\\n * - check the global pausing status\\n * - check price from main oracle against pivot oracle\\n * - check price from fallback oracle against pivot oracle or main oracle if fails\\n * @param vToken vToken address\\n * @return price USD price in 18 decimals\\n */\\n function getUnderlyingPrice(address vToken) external view override returns (uint256) {\\n require(!paused(), \\\"resilient oracle is paused\\\");\\n\\n uint256 price = _getMainOraclePrice(vToken);\\n if (price == INVALID_PRICE) {\\n price = _getFallbackOraclePrice(vToken);\\n }\\n\\n require(price != INVALID_PRICE, \\\"invalid resilient oracle price\\\");\\n return price;\\n }\\n\\n /**\\n * @notice This function won't revert when price is 0, because the fallback oracle may come to play later\\n * @param vToken vToken address\\n * @return price USD price in 18 decimals\\n */\\n function _getMainOraclePrice(address vToken) internal view returns (uint256) {\\n uint256 price = INVALID_PRICE;\\n\\n (address mainOracle, bool mainOracleEnabled) = getOracle(vToken, OracleRole.MAIN);\\n if (mainOracleEnabled && mainOracle != address(0)) {\\n try OracleInterface(mainOracle).getUnderlyingPrice(vToken) returns (uint256 mainOraclePrice) {\\n price = mainOraclePrice;\\n\\n (address pivotOracle, bool pivotOracleEnabled) = getOracle(vToken, OracleRole.PIVOT);\\n\\n if (pivotOracleEnabled && pivotOracle != address(0)) {\\n try OracleInterface(pivotOracle).getUnderlyingPrice(vToken) returns (uint256 pivotPrice) {\\n if (pivotPrice != INVALID_PRICE) {\\n bool isPriceValid = boundValidator.validatePriceWithAnchorPrice(vToken, price, pivotPrice);\\n if (!isPriceValid) {\\n return INVALID_PRICE;\\n }\\n }\\n } catch {}\\n }\\n } catch {}\\n }\\n\\n return price;\\n }\\n\\n /**\\n * @notice This function won't revert when price is 0, because the getUnderlyingPrice checks if pirce is > 0\\n * @param vToken vToken address\\n * @return price USD price in 18 decimals\\n */\\n function _getFallbackOraclePrice(address vToken) internal view returns (uint256) {\\n uint256 price = INVALID_PRICE;\\n bool compareWithMain = false;\\n\\n (address fallbackOracle, bool fallbackEnabled) = getOracle(vToken, OracleRole.FALLBACK);\\n if (fallbackEnabled && fallbackOracle != address(0)) {\\n try OracleInterface(fallbackOracle).getUnderlyingPrice(vToken) returns (uint256 fallbackOraclePrice) {\\n price = fallbackOraclePrice;\\n\\n (address pivotOracle, bool pivotOracleEnabled) = getOracle(vToken, OracleRole.PIVOT);\\n if (pivotOracleEnabled && pivotOracle != address(0)) {\\n try OracleInterface(pivotOracle).getUnderlyingPrice(vToken) returns (uint256 pivotPrice) {\\n if (pivotPrice != INVALID_PRICE) {\\n bool isPriceValid = boundValidator.validatePriceWithAnchorPrice(vToken, price, pivotPrice);\\n if (!isPriceValid) {\\n compareWithMain = true;\\n }\\n } else {\\n compareWithMain = true;\\n }\\n } catch {\\n compareWithMain = true;\\n }\\n } else {\\n compareWithMain = true;\\n }\\n } catch {}\\n }\\n\\n if (compareWithMain) {\\n (address mainOracle, bool mainOracleEnabled) = getOracle(vToken, OracleRole.MAIN);\\n if (mainOracleEnabled && mainOracle != address(0)) {\\n try OracleInterface(mainOracle).getUnderlyingPrice(vToken) returns (uint256 mainOraclePrice) {\\n bool isPriceValid = boundValidator.validatePriceWithAnchorPrice(vToken, price, mainOraclePrice);\\n if (!isPriceValid) {\\n return INVALID_PRICE;\\n } else {\\n price = mainOraclePrice;\\n }\\n } catch {\\n price = INVALID_PRICE;\\n }\\n } else {\\n price = INVALID_PRICE;\\n }\\n }\\n\\n return price;\\n }\\n}\\n\",\"keccak256\":\"0x1baafe42a7845930cd71f2be924c24b93f32a673c34a3dd83adc9950dedbcc18\",\"license\":\"UNLICENSED\"},\"contracts/interfaces/BEP20Interface.sol\":{\"content\":\"// SPDX-License-Identifier: UNLICENSED\\npragma solidity ^0.8.0;\\n\\ninterface BEP20Interface {\\n /**\\n * @dev Returns the amount of tokens in existence.\\n */\\n function totalSupply() external view returns (uint256);\\n\\n /**\\n * @dev Returns the token decimals.\\n */\\n function decimals() external view returns (uint8);\\n\\n /**\\n * @dev Returns the token symbol.\\n */\\n function symbol() external view returns (string memory);\\n\\n /**\\n * @dev Returns the token name.\\n */\\n function name() external view returns (string memory);\\n\\n /**\\n * @dev Returns the bep token owner.\\n */\\n function getOwner() external view returns (address);\\n\\n /**\\n * @dev Returns the amount of tokens owned by `account`.\\n */\\n function balanceOf(address account) external view returns (uint256);\\n\\n /**\\n * @dev Moves `amount` tokens from the caller's account to `recipient`.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transfer(address recipient, uint256 amount) external returns (bool);\\n\\n /**\\n * @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 *\\n * This value changes when {approve} or {transferFrom} are called.\\n */\\n function allowance(address _owner, address spender) external view returns (uint256);\\n\\n /**\\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\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 *\\n * Emits an {Approval} event.\\n */\\n function approve(address spender, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Moves `amount` tokens from `sender` to `recipient` using the\\n * allowance mechanism. `amount` is then deducted from the caller's\\n * allowance.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transferFrom(\\n address sender,\\n address recipient,\\n uint256 amount\\n ) external returns (bool);\\n\\n /**\\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n * another (`to`).\\n *\\n * Note that `value` may be zero.\\n */\\n event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n /**\\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n * a call to {approve}. `value` is the new allowance.\\n */\\n event Approval(address indexed owner, address indexed spender, uint256 value);\\n}\\n\",\"keccak256\":\"0x53aa6d0be81f26e962567f29e9a17f1b73205997c38c6c298e243ef923554c34\",\"license\":\"UNLICENSED\"},\"contracts/interfaces/OracleInterface.sol\":{\"content\":\"// SPDX-License-Identifier: UNLICENSED\\npragma solidity ^0.8.0;\\npragma experimental ABIEncoderV2;\\n\\ninterface OracleInterface {\\n function getUnderlyingPrice(address vToken) external view returns (uint256);\\n}\\n\\ninterface ResilientOracleInterface is OracleInterface {\\n function updatePrice(address vToken) external;\\n}\\n\\ninterface TwapInterface is OracleInterface {\\n function updateTwap(address vToken) external returns (uint256);\\n}\\n\\ninterface BoundValidatorInterface {\\n function validatePriceWithAnchorPrice(\\n address vToken,\\n uint256 reporterPrice,\\n uint256 anchorPrice\\n ) external view returns (bool);\\n}\\n\",\"keccak256\":\"0x474f40570a75a85caa03217fdef1646e22361ad430b0a67f51b2c038668c3836\",\"license\":\"UNLICENSED\"},\"contracts/interfaces/VBep20Interface.sol\":{\"content\":\"// SPDX-License-Identifier: UNLICENSED\\npragma solidity ^0.8.0;\\n\\nimport \\\"./BEP20Interface.sol\\\";\\n\\ninterface VBep20Interface is BEP20Interface {\\n /**\\n * @notice Underlying asset for this VToken\\n */\\n function underlying() external view returns (address);\\n}\\n\",\"keccak256\":\"0xf65bba1e926855bbe2796e061755df640fbae160c0fcbcd996087a24d8049a81\",\"license\":\"UNLICENSED\"}},\"version\":1}","storageLayout":{"storage":[{"astId":138,"contract":"contracts/ResilientOracle.sol:ResilientOracle","label":"_initialized","offset":0,"slot":"0","type":"t_uint8"},{"astId":141,"contract":"contracts/ResilientOracle.sol:ResilientOracle","label":"_initializing","offset":1,"slot":"0","type":"t_bool"},{"astId":693,"contract":"contracts/ResilientOracle.sol:ResilientOracle","label":"__gap","offset":0,"slot":"1","type":"t_array(t_uint256)50_storage"},{"astId":10,"contract":"contracts/ResilientOracle.sol:ResilientOracle","label":"_owner","offset":0,"slot":"51","type":"t_address"},{"astId":130,"contract":"contracts/ResilientOracle.sol:ResilientOracle","label":"__gap","offset":0,"slot":"52","type":"t_array(t_uint256)49_storage"},{"astId":303,"contract":"contracts/ResilientOracle.sol:ResilientOracle","label":"_paused","offset":0,"slot":"101","type":"t_bool"},{"astId":408,"contract":"contracts/ResilientOracle.sol:ResilientOracle","label":"__gap","offset":0,"slot":"102","type":"t_array(t_uint256)49_storage"},{"astId":713,"contract":"contracts/ResilientOracle.sol:ResilientOracle","label":"boundValidator","offset":0,"slot":"151","type":"t_contract(BoundValidatorInterface)1647"},{"astId":736,"contract":"contracts/ResilientOracle.sol:ResilientOracle","label":"tokenConfigs","offset":0,"slot":"152","type":"t_mapping(t_address,t_struct(TokenConfig)731_storage)"}],"types":{"t_address":{"encoding":"inplace","label":"address","numberOfBytes":"20"},"t_array(t_address)3_storage":{"base":"t_address","encoding":"inplace","label":"address[3]","numberOfBytes":"96"},"t_array(t_bool)3_storage":{"base":"t_bool","encoding":"inplace","label":"bool[3]","numberOfBytes":"32"},"t_array(t_uint256)49_storage":{"base":"t_uint256","encoding":"inplace","label":"uint256[49]","numberOfBytes":"1568"},"t_array(t_uint256)50_storage":{"base":"t_uint256","encoding":"inplace","label":"uint256[50]","numberOfBytes":"1600"},"t_bool":{"encoding":"inplace","label":"bool","numberOfBytes":"1"},"t_contract(BoundValidatorInterface)1647":{"encoding":"inplace","label":"contract BoundValidatorInterface","numberOfBytes":"20"},"t_mapping(t_address,t_struct(TokenConfig)731_storage)":{"encoding":"mapping","key":"t_address","label":"mapping(address => struct ResilientOracle.TokenConfig)","numberOfBytes":"32","value":"t_struct(TokenConfig)731_storage"},"t_struct(TokenConfig)731_storage":{"encoding":"inplace","label":"struct ResilientOracle.TokenConfig","members":[{"astId":720,"contract":"contracts/ResilientOracle.sol:ResilientOracle","label":"asset","offset":0,"slot":"0","type":"t_address"},{"astId":725,"contract":"contracts/ResilientOracle.sol:ResilientOracle","label":"oracles","offset":0,"slot":"1","type":"t_array(t_address)3_storage"},{"astId":730,"contract":"contracts/ResilientOracle.sol:ResilientOracle","label":"enableFlagsForOracles","offset":0,"slot":"4","type":"t_array(t_bool)3_storage"}],"numberOfBytes":"160"},"t_uint256":{"encoding":"inplace","label":"uint256","numberOfBytes":"32"},"t_uint8":{"encoding":"inplace","label":"uint8","numberOfBytes":"1"}}},"userdoc":{"kind":"user","methods":{"enableOracle(address,uint8,bool)":{"notice":"Enable/disable oracle for the input vToken, input vToken MUST exist"},"getOracle(address,uint8)":{"notice":"Get oracle & enabling status by vToken address"},"getUnderlyingPrice(address)":{"notice":"Get price of underlying asset of the input vToken, check flow: - check the global pausing status - check price from main oracle against pivot oracle - check price from fallback oracle against pivot oracle or main oracle if fails"},"pause()":{"notice":"Pause protocol"},"setOracle(address,address,uint8)":{"notice":"Set oracle of any type for the input vToken, input vToken MUST exist"},"setTokenConfig((address,address[3],bool[3]))":{"notice":"Set single token configs, vToken MUST HAVE NOT be added before, and main oracle MUST NOT be zero address"},"setTokenConfigs((address,address[3],bool[3])[])":{"notice":"Batch set token configs"},"unpause()":{"notice":"Unpause protocol"},"updatePrice(address)":{"notice":"Currently it calls the updateTwap"}},"version":1}}},"contracts/interfaces/BEP20Interface.sol":{"BEP20Interface":{"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":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}],"devdoc":{"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`."},"decimals()":{"details":"Returns the token decimals."},"getOwner()":{"details":"Returns the bep token owner."},"name()":{"details":"Returns the token name."},"symbol()":{"details":"Returns the token symbol."},"totalSupply()":{"details":"Returns the amount of tokens in existence."},"transfer(address,uint256)":{"details":"Moves `amount` tokens from the caller's account to `recipient`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event."},"transferFrom(address,address,uint256)":{"details":"Moves `amount` tokens from `sender` to `recipient` 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","getOwner()":"893d20e8","name()":"06fdde03","symbol()":"95d89b41","totalSupply()":"18160ddd","transfer(address,uint256)":"a9059cbb","transferFrom(address,address,uint256)":"23b872dd"}},"metadata":"{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"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\":\"getOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"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\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"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`.\"},\"decimals()\":{\"details\":\"Returns the token decimals.\"},\"getOwner()\":{\"details\":\"Returns the bep token owner.\"},\"name()\":{\"details\":\"Returns the token name.\"},\"symbol()\":{\"details\":\"Returns the token symbol.\"},\"totalSupply()\":{\"details\":\"Returns the amount of tokens in existence.\"},\"transfer(address,uint256)\":{\"details\":\"Moves `amount` tokens from the caller's account to `recipient`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Moves `amount` tokens from `sender` to `recipient` 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\":{\"contracts/interfaces/BEP20Interface.sol\":\"BEP20Interface\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/interfaces/BEP20Interface.sol\":{\"content\":\"// SPDX-License-Identifier: UNLICENSED\\npragma solidity ^0.8.0;\\n\\ninterface BEP20Interface {\\n /**\\n * @dev Returns the amount of tokens in existence.\\n */\\n function totalSupply() external view returns (uint256);\\n\\n /**\\n * @dev Returns the token decimals.\\n */\\n function decimals() external view returns (uint8);\\n\\n /**\\n * @dev Returns the token symbol.\\n */\\n function symbol() external view returns (string memory);\\n\\n /**\\n * @dev Returns the token name.\\n */\\n function name() external view returns (string memory);\\n\\n /**\\n * @dev Returns the bep token owner.\\n */\\n function getOwner() external view returns (address);\\n\\n /**\\n * @dev Returns the amount of tokens owned by `account`.\\n */\\n function balanceOf(address account) external view returns (uint256);\\n\\n /**\\n * @dev Moves `amount` tokens from the caller's account to `recipient`.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transfer(address recipient, uint256 amount) external returns (bool);\\n\\n /**\\n * @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 *\\n * This value changes when {approve} or {transferFrom} are called.\\n */\\n function allowance(address _owner, address spender) external view returns (uint256);\\n\\n /**\\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\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 *\\n * Emits an {Approval} event.\\n */\\n function approve(address spender, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Moves `amount` tokens from `sender` to `recipient` using the\\n * allowance mechanism. `amount` is then deducted from the caller's\\n * allowance.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transferFrom(\\n address sender,\\n address recipient,\\n uint256 amount\\n ) external returns (bool);\\n\\n /**\\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n * another (`to`).\\n *\\n * Note that `value` may be zero.\\n */\\n event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n /**\\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n * a call to {approve}. `value` is the new allowance.\\n */\\n event Approval(address indexed owner, address indexed spender, uint256 value);\\n}\\n\",\"keccak256\":\"0x53aa6d0be81f26e962567f29e9a17f1b73205997c38c6c298e243ef923554c34\",\"license\":\"UNLICENSED\"}},\"version\":1}","storageLayout":{"storage":[],"types":null},"userdoc":{"kind":"user","methods":{},"version":1}}},"contracts/interfaces/OracleInterface.sol":{"BoundValidatorInterface":{"abi":[{"inputs":[{"internalType":"address","name":"vToken","type":"address"},{"internalType":"uint256","name":"reporterPrice","type":"uint256"},{"internalType":"uint256","name":"anchorPrice","type":"uint256"}],"name":"validatePriceWithAnchorPrice","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":{"validatePriceWithAnchorPrice(address,uint256,uint256)":"97c7033e"}},"metadata":"{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"vToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"reporterPrice\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"anchorPrice\",\"type\":\"uint256\"}],\"name\":\"validatePriceWithAnchorPrice\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/interfaces/OracleInterface.sol\":\"BoundValidatorInterface\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/interfaces/OracleInterface.sol\":{\"content\":\"// SPDX-License-Identifier: UNLICENSED\\npragma solidity ^0.8.0;\\npragma experimental ABIEncoderV2;\\n\\ninterface OracleInterface {\\n function getUnderlyingPrice(address vToken) external view returns (uint256);\\n}\\n\\ninterface ResilientOracleInterface is OracleInterface {\\n function updatePrice(address vToken) external;\\n}\\n\\ninterface TwapInterface is OracleInterface {\\n function updateTwap(address vToken) external returns (uint256);\\n}\\n\\ninterface BoundValidatorInterface {\\n function validatePriceWithAnchorPrice(\\n address vToken,\\n uint256 reporterPrice,\\n uint256 anchorPrice\\n ) external view returns (bool);\\n}\\n\",\"keccak256\":\"0x474f40570a75a85caa03217fdef1646e22361ad430b0a67f51b2c038668c3836\",\"license\":\"UNLICENSED\"}},\"version\":1}","storageLayout":{"storage":[],"types":null},"userdoc":{"kind":"user","methods":{},"version":1}},"OracleInterface":{"abi":[{"inputs":[{"internalType":"address","name":"vToken","type":"address"}],"name":"getUnderlyingPrice","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":{"getUnderlyingPrice(address)":"fc57d4df"}},"metadata":"{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"vToken\",\"type\":\"address\"}],\"name\":\"getUnderlyingPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/interfaces/OracleInterface.sol\":\"OracleInterface\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/interfaces/OracleInterface.sol\":{\"content\":\"// SPDX-License-Identifier: UNLICENSED\\npragma solidity ^0.8.0;\\npragma experimental ABIEncoderV2;\\n\\ninterface OracleInterface {\\n function getUnderlyingPrice(address vToken) external view returns (uint256);\\n}\\n\\ninterface ResilientOracleInterface is OracleInterface {\\n function updatePrice(address vToken) external;\\n}\\n\\ninterface TwapInterface is OracleInterface {\\n function updateTwap(address vToken) external returns (uint256);\\n}\\n\\ninterface BoundValidatorInterface {\\n function validatePriceWithAnchorPrice(\\n address vToken,\\n uint256 reporterPrice,\\n uint256 anchorPrice\\n ) external view returns (bool);\\n}\\n\",\"keccak256\":\"0x474f40570a75a85caa03217fdef1646e22361ad430b0a67f51b2c038668c3836\",\"license\":\"UNLICENSED\"}},\"version\":1}","storageLayout":{"storage":[],"types":null},"userdoc":{"kind":"user","methods":{},"version":1}},"ResilientOracleInterface":{"abi":[{"inputs":[{"internalType":"address","name":"vToken","type":"address"}],"name":"getUnderlyingPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"vToken","type":"address"}],"name":"updatePrice","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":{"getUnderlyingPrice(address)":"fc57d4df","updatePrice(address)":"96e85ced"}},"metadata":"{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"vToken\",\"type\":\"address\"}],\"name\":\"getUnderlyingPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"vToken\",\"type\":\"address\"}],\"name\":\"updatePrice\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/interfaces/OracleInterface.sol\":\"ResilientOracleInterface\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/interfaces/OracleInterface.sol\":{\"content\":\"// SPDX-License-Identifier: UNLICENSED\\npragma solidity ^0.8.0;\\npragma experimental ABIEncoderV2;\\n\\ninterface OracleInterface {\\n function getUnderlyingPrice(address vToken) external view returns (uint256);\\n}\\n\\ninterface ResilientOracleInterface is OracleInterface {\\n function updatePrice(address vToken) external;\\n}\\n\\ninterface TwapInterface is OracleInterface {\\n function updateTwap(address vToken) external returns (uint256);\\n}\\n\\ninterface BoundValidatorInterface {\\n function validatePriceWithAnchorPrice(\\n address vToken,\\n uint256 reporterPrice,\\n uint256 anchorPrice\\n ) external view returns (bool);\\n}\\n\",\"keccak256\":\"0x474f40570a75a85caa03217fdef1646e22361ad430b0a67f51b2c038668c3836\",\"license\":\"UNLICENSED\"}},\"version\":1}","storageLayout":{"storage":[],"types":null},"userdoc":{"kind":"user","methods":{},"version":1}},"TwapInterface":{"abi":[{"inputs":[{"internalType":"address","name":"vToken","type":"address"}],"name":"getUnderlyingPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"vToken","type":"address"}],"name":"updateTwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":{"getUnderlyingPrice(address)":"fc57d4df","updateTwap(address)":"725068a5"}},"metadata":"{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"vToken\",\"type\":\"address\"}],\"name\":\"getUnderlyingPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"vToken\",\"type\":\"address\"}],\"name\":\"updateTwap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/interfaces/OracleInterface.sol\":\"TwapInterface\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/interfaces/OracleInterface.sol\":{\"content\":\"// SPDX-License-Identifier: UNLICENSED\\npragma solidity ^0.8.0;\\npragma experimental ABIEncoderV2;\\n\\ninterface OracleInterface {\\n function getUnderlyingPrice(address vToken) external view returns (uint256);\\n}\\n\\ninterface ResilientOracleInterface is OracleInterface {\\n function updatePrice(address vToken) external;\\n}\\n\\ninterface TwapInterface is OracleInterface {\\n function updateTwap(address vToken) external returns (uint256);\\n}\\n\\ninterface BoundValidatorInterface {\\n function validatePriceWithAnchorPrice(\\n address vToken,\\n uint256 reporterPrice,\\n uint256 anchorPrice\\n ) external view returns (bool);\\n}\\n\",\"keccak256\":\"0x474f40570a75a85caa03217fdef1646e22361ad430b0a67f51b2c038668c3836\",\"license\":\"UNLICENSED\"}},\"version\":1}","storageLayout":{"storage":[],"types":null},"userdoc":{"kind":"user","methods":{},"version":1}}},"contracts/interfaces/VBep20Interface.sol":{"VBep20Interface":{"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":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"underlying","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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`."},"decimals()":{"details":"Returns the token decimals."},"getOwner()":{"details":"Returns the bep token owner."},"name()":{"details":"Returns the token name."},"symbol()":{"details":"Returns the token symbol."},"totalSupply()":{"details":"Returns the amount of tokens in existence."},"transfer(address,uint256)":{"details":"Moves `amount` tokens from the caller's account to `recipient`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event."},"transferFrom(address,address,uint256)":{"details":"Moves `amount` tokens from `sender` to `recipient` 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","getOwner()":"893d20e8","name()":"06fdde03","symbol()":"95d89b41","totalSupply()":"18160ddd","transfer(address,uint256)":"a9059cbb","transferFrom(address,address,uint256)":"23b872dd","underlying()":"6f307dc3"}},"metadata":"{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"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\":\"getOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"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\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"underlying\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"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`.\"},\"decimals()\":{\"details\":\"Returns the token decimals.\"},\"getOwner()\":{\"details\":\"Returns the bep token owner.\"},\"name()\":{\"details\":\"Returns the token name.\"},\"symbol()\":{\"details\":\"Returns the token symbol.\"},\"totalSupply()\":{\"details\":\"Returns the amount of tokens in existence.\"},\"transfer(address,uint256)\":{\"details\":\"Moves `amount` tokens from the caller's account to `recipient`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Moves `amount` tokens from `sender` to `recipient` 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\":{\"underlying()\":{\"notice\":\"Underlying asset for this VToken\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/interfaces/VBep20Interface.sol\":\"VBep20Interface\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\",\"useLiteralContent\":true},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/interfaces/BEP20Interface.sol\":{\"content\":\"// SPDX-License-Identifier: UNLICENSED\\npragma solidity ^0.8.0;\\n\\ninterface BEP20Interface {\\n /**\\n * @dev Returns the amount of tokens in existence.\\n */\\n function totalSupply() external view returns (uint256);\\n\\n /**\\n * @dev Returns the token decimals.\\n */\\n function decimals() external view returns (uint8);\\n\\n /**\\n * @dev Returns the token symbol.\\n */\\n function symbol() external view returns (string memory);\\n\\n /**\\n * @dev Returns the token name.\\n */\\n function name() external view returns (string memory);\\n\\n /**\\n * @dev Returns the bep token owner.\\n */\\n function getOwner() external view returns (address);\\n\\n /**\\n * @dev Returns the amount of tokens owned by `account`.\\n */\\n function balanceOf(address account) external view returns (uint256);\\n\\n /**\\n * @dev Moves `amount` tokens from the caller's account to `recipient`.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transfer(address recipient, uint256 amount) external returns (bool);\\n\\n /**\\n * @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 *\\n * This value changes when {approve} or {transferFrom} are called.\\n */\\n function allowance(address _owner, address spender) external view returns (uint256);\\n\\n /**\\n * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\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 *\\n * Emits an {Approval} event.\\n */\\n function approve(address spender, uint256 amount) external returns (bool);\\n\\n /**\\n * @dev Moves `amount` tokens from `sender` to `recipient` using the\\n * allowance mechanism. `amount` is then deducted from the caller's\\n * allowance.\\n *\\n * Returns a boolean value indicating whether the operation succeeded.\\n *\\n * Emits a {Transfer} event.\\n */\\n function transferFrom(\\n address sender,\\n address recipient,\\n uint256 amount\\n ) external returns (bool);\\n\\n /**\\n * @dev Emitted when `value` tokens are moved from one account (`from`) to\\n * another (`to`).\\n *\\n * Note that `value` may be zero.\\n */\\n event Transfer(address indexed from, address indexed to, uint256 value);\\n\\n /**\\n * @dev Emitted when the allowance of a `spender` for an `owner` is set by\\n * a call to {approve}. `value` is the new allowance.\\n */\\n event Approval(address indexed owner, address indexed spender, uint256 value);\\n}\\n\",\"keccak256\":\"0x53aa6d0be81f26e962567f29e9a17f1b73205997c38c6c298e243ef923554c34\",\"license\":\"UNLICENSED\"},\"contracts/interfaces/VBep20Interface.sol\":{\"content\":\"// SPDX-License-Identifier: UNLICENSED\\npragma solidity ^0.8.0;\\n\\nimport \\\"./BEP20Interface.sol\\\";\\n\\ninterface VBep20Interface is BEP20Interface {\\n /**\\n * @notice Underlying asset for this VToken\\n */\\n function underlying() external view returns (address);\\n}\\n\",\"keccak256\":\"0xf65bba1e926855bbe2796e061755df640fbae160c0fcbcd996087a24d8049a81\",\"license\":\"UNLICENSED\"}},\"version\":1}","storageLayout":{"storage":[],"types":null},"userdoc":{"kind":"user","methods":{"underlying()":{"notice":"Underlying asset for this VToken"}},"version":1}}}}}}
|